diff --git a/ruoyi-ui/src/views/project/projectChecking/index.vue b/ruoyi-ui/src/views/project/projectChecking/index.vue index 83f45b6d..68b78962 100644 --- a/ruoyi-ui/src/views/project/projectChecking/index.vue +++ b/ruoyi-ui/src/views/project/projectChecking/index.vue @@ -335,7 +335,7 @@ @change="selectQualityUser" > @@ -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 + "] "; diff --git a/ruoyi-ui/src/views/project/projectChecking/projectCheckingDrawer.vue b/ruoyi-ui/src/views/project/projectChecking/projectCheckingDrawer.vue index bd761722..6021e935 100644 --- a/ruoyi-ui/src/views/project/projectChecking/projectCheckingDrawer.vue +++ b/ruoyi-ui/src/views/project/projectChecking/projectCheckingDrawer.vue @@ -239,7 +239,7 @@ @change="selectQualityUser" > @@ -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 + "] "; diff --git a/ruoyi-ui/src/views/project/projectMeasure/index.vue b/ruoyi-ui/src/views/project/projectMeasure/index.vue index aa01248c..2c2a1a94 100644 --- a/ruoyi-ui/src/views/project/projectMeasure/index.vue +++ b/ruoyi-ui/src/views/project/projectMeasure/index.vue @@ -413,7 +413,7 @@ @change="selectQualityUser" > @@ -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 + "] "; diff --git a/ruoyi-ui/src/views/project/projectMeasure/projectMeasureDrawer.vue b/ruoyi-ui/src/views/project/projectMeasure/projectMeasureDrawer.vue index 537a1e0c..9388e6dc 100644 --- a/ruoyi-ui/src/views/project/projectMeasure/projectMeasureDrawer.vue +++ b/ruoyi-ui/src/views/project/projectMeasure/projectMeasureDrawer.vue @@ -282,7 +282,7 @@ @change="selectQualityUser" > @@ -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 + "] ";