flx:修改安全编辑问题

This commit is contained in:
X_Rian 2024-06-12 21:32:18 +08:00
parent ba7b0e85cd
commit 006a5f9ea1

View File

@ -571,7 +571,7 @@
this.getCheckPointList();
this.getIssueList();
this.getPersonList();
this.getReviewPeopleList();
// this.getReviewPeopleList();
// this.getPersonUpdateList();
this.getProgressListData()
console.log('lll', option.taskId, option.itemId)
@ -581,8 +581,15 @@
this.form.itemId = option.itemId
console.log(dateformat(new Date()), 777888)
},
watch: {
"form.regionId": {
// immediate: true,
handler(nVal) {
this.getReviewPeopleList();
// console.log("22222222222", this.reviewList)
}
}
},
methods: {
//
getBasicInfo() {
@ -646,12 +653,22 @@
method: 'post',
data: {
projectSn: this.projectSn,
enterpriseTypeId: 7,
// enterpriseTypeId: 7,
qualityRegionId: this.form.regionId,
qualityRegionBindType: 2,
isSupervisingRoleName: 1
},
success: res => {
console.log(res.result)
if (res.result.length > 0) {
this.reviewList = res.result;
//
this.reviewList.forEach((item, index) => {
// console.log("11111111", item.userId,this.form.reviewId)
if (item.userId == this.form.reviewId) {
this.reviewIndex = index
}
});
} else {
this.reviewList = [];
}
@ -864,11 +881,11 @@
}
});
//
this.reviewList.forEach((item, index) => {
if (item.userId == this.form.reviewId) {
this.reviewIndex = index
}
});
// this.reviewList.forEach((item, index) => {
// if (item.userId == this.form.reviewId) {
// this.reviewIndex = index
// }
// });
} else if (type == 2) {
console.log('选择问题描述的数据', val);
//