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) => {
// console.log(message);
console.log(message);
this.getHikvisionPage();
});
//

View File

@ -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) {