提交代码
parent
02e676c6a7
commit
eba10b7cb7
|
@ -335,7 +335,7 @@
|
|||
@change="selectQualityUser"
|
||||
>
|
||||
<el-option-group
|
||||
v-for="group in deptUserData"
|
||||
v-for="group in deptUserData2"
|
||||
:key="group.unitId + ''"
|
||||
:label="group.unitName + ' [' + group.unitTypeName + '] '"
|
||||
>
|
||||
|
@ -511,6 +511,7 @@ export default {
|
|||
checkResult: [{ required: false, message: "请选择验收结果", trigger: "blur" }],
|
||||
},
|
||||
deptUserData: [],
|
||||
deptUserData2:[],
|
||||
previewList: [],
|
||||
};
|
||||
},
|
||||
|
@ -632,6 +633,14 @@ export default {
|
|||
.then((d) => {
|
||||
this.deptUserData = d.data;
|
||||
});
|
||||
this.$api.publics
|
||||
.selectProjectUnitUser({
|
||||
unitType: "2",
|
||||
projectId: row.projectId,
|
||||
})
|
||||
.then((d) => {
|
||||
this.deptUserData2 = d.data;
|
||||
});
|
||||
},
|
||||
/** 提交按钮 */
|
||||
submitForm() {
|
||||
|
@ -680,7 +689,7 @@ export default {
|
|||
},
|
||||
/** 选择质量专员*/
|
||||
selectQualityUser(val) {
|
||||
this.deptUserData.forEach((item) => {
|
||||
this.deptUserData2.forEach((item) => {
|
||||
item.userinfoList.forEach((u) => {
|
||||
if (u.phonenumber == val) {
|
||||
this.form.qualityUserName = u.nickName + " [" + u.jobTypeName + "] ";
|
||||
|
|
|
@ -239,7 +239,7 @@
|
|||
@change="selectQualityUser"
|
||||
>
|
||||
<el-option-group
|
||||
v-for="group in deptUserData"
|
||||
v-for="group in deptUserData2"
|
||||
:key="group.unitId + ''"
|
||||
:label="group.unitName + ' [' + group.unitTypeName + '] '"
|
||||
>
|
||||
|
@ -397,6 +397,7 @@ export default {
|
|||
ywc: "已完成(0)",
|
||||
},
|
||||
deptUserData: [],
|
||||
deptUserData2:[],
|
||||
previewList: [],
|
||||
};
|
||||
},
|
||||
|
@ -450,6 +451,14 @@ export default {
|
|||
.then((d) => {
|
||||
this.deptUserData = d.data;
|
||||
});
|
||||
this.$api.publics
|
||||
.selectProjectUnitUser({
|
||||
unitType: "2",
|
||||
projectId: project.id,
|
||||
})
|
||||
.then((d) => {
|
||||
this.deptUserData2 = d.data;
|
||||
});
|
||||
},
|
||||
// 页签点击
|
||||
getList() {
|
||||
|
@ -597,7 +606,7 @@ export default {
|
|||
},
|
||||
/** 选择质量专员*/
|
||||
selectQualityUser(val) {
|
||||
this.deptUserData.forEach((item) => {
|
||||
this.deptUserData2.forEach((item) => {
|
||||
item.userinfoList.forEach((u) => {
|
||||
if (u.phonenumber == val) {
|
||||
this.form.qualityUserName = u.nickName + " [" + u.jobTypeName + "] ";
|
||||
|
|
|
@ -413,7 +413,7 @@
|
|||
@change="selectQualityUser"
|
||||
>
|
||||
<el-option-group
|
||||
v-for="group in deptUserData"
|
||||
v-for="group in deptUserData2"
|
||||
:key="group.unitId + ''"
|
||||
:label="group.unitName + ' [' + group.unitTypeName + '] '"
|
||||
>
|
||||
|
@ -585,6 +585,7 @@ export default {
|
|||
measureFiles: [{ required: false, message: "请上传测量附件", trigger: "blur" }],
|
||||
},
|
||||
deptUserData: [],
|
||||
deptUserData2:[],
|
||||
previewList: [],
|
||||
};
|
||||
},
|
||||
|
@ -715,6 +716,14 @@ export default {
|
|||
.then((d) => {
|
||||
this.deptUserData = d.data;
|
||||
});
|
||||
this.$api.publics
|
||||
.selectProjectUnitUser({
|
||||
unitType: "2",
|
||||
projectId: row.projectId,
|
||||
})
|
||||
.then((d) => {
|
||||
this.deptUserData2 = d.data;
|
||||
});
|
||||
},
|
||||
/** 提交按钮 */
|
||||
submitForm() {
|
||||
|
@ -763,7 +772,7 @@ export default {
|
|||
},
|
||||
/** 选择质量专员*/
|
||||
selectQualityUser(val) {
|
||||
this.deptUserData.forEach((item) => {
|
||||
this.deptUserData2.forEach((item) => {
|
||||
item.userinfoList.forEach((u) => {
|
||||
if (u.phonenumber == val) {
|
||||
this.form.qualityUserName = u.nickName + " [" + u.jobTypeName + "] ";
|
||||
|
|
|
@ -282,7 +282,7 @@
|
|||
@change="selectQualityUser"
|
||||
>
|
||||
<el-option-group
|
||||
v-for="group in deptUserData"
|
||||
v-for="group in deptUserData2"
|
||||
:key="group.unitId + ''"
|
||||
:label="group.unitName + ' [' + group.unitTypeName + '] '"
|
||||
>
|
||||
|
@ -437,6 +437,7 @@ export default {
|
|||
ywc: "已完成(0)",
|
||||
},
|
||||
deptUserData: [],
|
||||
deptUserData2:[],
|
||||
previewList: [],
|
||||
};
|
||||
},
|
||||
|
@ -501,6 +502,14 @@ export default {
|
|||
.then((d) => {
|
||||
this.deptUserData = d.data;
|
||||
});
|
||||
this.$api.publics
|
||||
.selectProjectUnitUser({
|
||||
unitType: "2",
|
||||
projectId: project.id,
|
||||
})
|
||||
.then((d) => {
|
||||
this.deptUserData2 = d.data;
|
||||
});
|
||||
},
|
||||
// 页签点击
|
||||
getList() {
|
||||
|
@ -648,7 +657,7 @@ export default {
|
|||
},
|
||||
/** 选择质量专员*/
|
||||
selectQualityUser(val) {
|
||||
this.deptUserData.forEach((item) => {
|
||||
this.deptUserData2.forEach((item) => {
|
||||
item.userinfoList.forEach((u) => {
|
||||
if (u.phonenumber == val) {
|
||||
this.form.qualityUserName = u.nickName + " [" + u.jobTypeName + "] ";
|
||||
|
|
Loading…
Reference in New Issue