This commit is contained in:
X_Rian 2024-06-07 14:09:04 +08:00
parent ed4e73ec8d
commit 65189819a6
2 changed files with 9 additions and 4 deletions

View File

@ -174,7 +174,7 @@ export default {
}); });
// //
client.on("message", (topic, message) => { client.on("message", (topic, message) => {
// console.log(message); console.log(message);
this.getHikvisionPage(); this.getHikvisionPage();
}); });
// //

View File

@ -2438,7 +2438,6 @@ export default {
this.getPositionList(); this.getPositionList();
this.getDescribeClassifyList(); this.getDescribeClassifyList();
this.getPeopleList(); this.getPeopleList();
this.getReviewPeopleList();
this.getPeopleUpdateList(); this.getPeopleUpdateList();
this.getRoutineInspect(); this.getRoutineInspect();
this.rectifyRecordList = []; this.rectifyRecordList = [];
@ -2783,6 +2782,7 @@ export default {
this.addForm1.changeId = ""; this.addForm1.changeId = "";
} }
this.addForm1.regionName = text; this.addForm1.regionName = text;
this.getReviewPeopleList(this.addForm1.regionId);
// console.log(data.intendanceIds.split(',')) // console.log(data.intendanceIds.split(','))
// console.log(text) // console.log(text)
if (data.intendanceIds && data.intendanceIds.split(",") > 0) { if (data.intendanceIds && data.intendanceIds.split(",") > 0) {
@ -2822,6 +2822,7 @@ export default {
// this.addForm2.changeId = Number(data.dutyId) // this.addForm2.changeId = Number(data.dutyId)
// } // }
this.addForm2.regionName = text; this.addForm2.regionName = text;
this.getReviewPeopleList(this.addForm2.regionId);
this.subcontractList = data.enterpriseInfos; this.subcontractList = data.enterpriseInfos;
this.crewUpdateList = []; this.crewUpdateList = [];
} }
@ -3090,7 +3091,7 @@ export default {
this.getPositionList(); this.getPositionList();
this.getDescribeClassifyList(); this.getDescribeClassifyList();
this.getPeopleList(); this.getPeopleList();
this.getReviewPeopleList();
// this.getPeopleUpdateList(); // this.getPeopleUpdateList();
this.getRoutineInspect(); this.getRoutineInspect();
this.close(); this.close();
@ -3101,6 +3102,7 @@ export default {
getPositionList() { getPositionList() {
let data = { let data = {
projectSn: this.projectSn, projectSn: this.projectSn,
notSupervisingUnit: 1,
}; };
getQualityRegionListApi(data).then((res) => { getQualityRegionListApi(data).then((res) => {
console.log("res=================", res); console.log("res=================", res);
@ -3154,10 +3156,13 @@ export default {
}, },
// //
getReviewPeopleList() { getReviewPeopleList(regionId) {
let data = { let data = {
projectSn: this.projectSn, projectSn: this.projectSn,
enterpriseTypeId: 7, enterpriseTypeId: 7,
qualityRegionId: regionId[0].toString(),
qualityRegionBindType: 2,
isSupervisingRoleName: 1,
}; };
getProjectChilderSystemUserListApi(data).then((res) => { getProjectChilderSystemUserListApi(data).then((res) => {
if (res.code == 200) { if (res.code == 200) {