diff --git a/src/views/safetyenvironmental/inspection/components/add.vue b/src/views/safetyenvironmental/inspection/components/add.vue index 2f76f94..54407d9 100644 --- a/src/views/safetyenvironmental/inspection/components/add.vue +++ b/src/views/safetyenvironmental/inspection/components/add.vue @@ -519,8 +519,8 @@ export default { ).then((data) => { if (data.message!=null) { this.INSPECTION_DEPARTMENT_ID = '' - this.INSPECTOR_List = [] this.INSPECTION_USER_ID = '' + this.form.inspectorList.splice(i,1) this.$message.error(data.message) }else { // 获取人员列表 @@ -544,9 +544,9 @@ export default { }).catch((e) => { }) } - this.form.inspectorList = [] - this.form.inspectorList.push({ INSPECTION_INSPECTOR_ID: item.INSPECTION_INSPECTOR_ID, INSPECTION_DEPARTMENT_ID: item.INSPECTION_DEPARTMENT_ID, INSPECTION_USER_ID: '', USER_SIDE: item.USER_SIDE }) - this.INSPECTOR_List.push([]) + // this.form.inspectorList = [] + // this.form.inspectorList.push({ INSPECTION_INSPECTOR_ID: item.INSPECTION_INSPECTOR_ID, INSPECTION_DEPARTMENT_ID: item.INSPECTION_DEPARTMENT_ID, INSPECTION_USER_ID: '', USER_SIDE: item.USER_SIDE }) + // this.INSPECTOR_List.push([]) }, // 获取人员列表 getInspectorList(DEPARTMENT_ID, i) {