diff --git a/src/views/projectFront/quality/inspectionLedger.vue b/src/views/projectFront/quality/inspectionLedger.vue index 48d077fb..c0247ce3 100644 --- a/src/views/projectFront/quality/inspectionLedger.vue +++ b/src/views/projectFront/quality/inspectionLedger.vue @@ -2365,6 +2365,29 @@ export default { }; }, }, + watch: { + "addForm1.regionId": { + handler(newVal) { + console.log(newVal); + if(newVal.length == 0){ + this.reviewList = []; + }else { + this.getReviewPeopleList(this.addForm1.regionId); + } + }, + deep:true, + }, + "addForm2.regionId": { + handler(newVal) { + if(newVal.length == 0){ + this.reviewList = []; + }else { + this.getReviewPeopleList(newVal); + } + }, + deep:true, + } + }, mounted() {}, methods: { backQuestion(obj) { diff --git a/src/views/projectFront/safeSame/inspectionLedger.vue b/src/views/projectFront/safeSame/inspectionLedger.vue index 5d2d3675..444202dc 100644 --- a/src/views/projectFront/safeSame/inspectionLedger.vue +++ b/src/views/projectFront/safeSame/inspectionLedger.vue @@ -2347,6 +2347,29 @@ export default { }; }, }, + watch: { + "addForm1.regionId": { + handler(newVal) { + console.log(newVal); + if(newVal.length == 0){ + this.reviewList = []; + }else { + this.getReviewPeopleList(newVal); + } + }, + deep:true, + }, + "addForm2.regionId": { + handler(newVal) { + if(newVal.length == 0){ + this.reviewList = []; + }else { + this.getReviewPeopleList(newVal); + } + }, + deep:true, + } + }, mounted() {}, methods: { backQuestion(obj) {