From 65189819a64daa1eca2a875e33ea4ae002532754 Mon Sep 17 00:00:00 2001 From: X_Rian <904416525@qq.com> Date: Fri, 7 Jun 2024 14:09:04 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/projectFront/laborManage/dataValidation.vue | 2 +- src/views/projectFront/safeSame/inspectionLedger.vue | 11 ++++++++--- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/src/views/projectFront/laborManage/dataValidation.vue b/src/views/projectFront/laborManage/dataValidation.vue index d7e5501d..90b05f7d 100644 --- a/src/views/projectFront/laborManage/dataValidation.vue +++ b/src/views/projectFront/laborManage/dataValidation.vue @@ -174,7 +174,7 @@ export default { }); // 接收消息处理 client.on("message", (topic, message) => { - // console.log(message); + console.log(message); this.getHikvisionPage(); }); // 断开发起重连 diff --git a/src/views/projectFront/safeSame/inspectionLedger.vue b/src/views/projectFront/safeSame/inspectionLedger.vue index 24858356..cfe4e583 100644 --- a/src/views/projectFront/safeSame/inspectionLedger.vue +++ b/src/views/projectFront/safeSame/inspectionLedger.vue @@ -2438,7 +2438,6 @@ export default { this.getPositionList(); this.getDescribeClassifyList(); this.getPeopleList(); - this.getReviewPeopleList(); this.getPeopleUpdateList(); this.getRoutineInspect(); this.rectifyRecordList = []; @@ -2783,6 +2782,7 @@ export default { this.addForm1.changeId = ""; } this.addForm1.regionName = text; + this.getReviewPeopleList(this.addForm1.regionId); // console.log(data.intendanceIds.split(',')) // console.log(text) if (data.intendanceIds && data.intendanceIds.split(",") > 0) { @@ -2822,6 +2822,7 @@ export default { // this.addForm2.changeId = Number(data.dutyId) // } this.addForm2.regionName = text; + this.getReviewPeopleList(this.addForm2.regionId); this.subcontractList = data.enterpriseInfos; this.crewUpdateList = []; } @@ -3090,7 +3091,7 @@ export default { this.getPositionList(); this.getDescribeClassifyList(); this.getPeopleList(); - this.getReviewPeopleList(); + // this.getPeopleUpdateList(); this.getRoutineInspect(); this.close(); @@ -3101,6 +3102,7 @@ export default { getPositionList() { let data = { projectSn: this.projectSn, + notSupervisingUnit: 1, }; getQualityRegionListApi(data).then((res) => { console.log("res=================", res); @@ -3154,10 +3156,13 @@ export default { }, //获取去整改人 通知人 检查人 核查人下拉 - getReviewPeopleList() { + getReviewPeopleList(regionId) { let data = { projectSn: this.projectSn, enterpriseTypeId: 7, + qualityRegionId: regionId[0].toString(), + qualityRegionBindType: 2, + isSupervisingRoleName: 1, }; getProjectChilderSystemUserListApi(data).then((res) => { if (res.code == 200) {