From 6b493efef0914c94fe87a3e1ab71e22d661aa3e9 Mon Sep 17 00:00:00 2001 From: songwenxuan <1924103812@qq.com> Date: Fri, 23 Feb 2024 18:00:49 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E7=9B=91=E7=AE=A1=E7=AB=AF?= =?UTF-8?q?=E5=8F=91=E8=B5=B7=E5=AE=89=E5=85=A8=E7=8E=AF=E4=BF=9D=E6=A3=80?= =?UTF-8?q?=E6=9F=A5=E6=97=B6=EF=BC=8C=E5=BD=93=E9=80=89=E6=8B=A9=E7=AC=AC?= =?UTF-8?q?=E4=BA=8C=E4=B8=AA=E6=A3=80=E6=9F=A5=E4=BA=BA=E5=91=98=E6=97=B6?= =?UTF-8?q?=EF=BC=8C=E5=A6=82=E6=9E=9C=E6=98=AF=E9=94=99=E8=AF=AF=E7=9A=84?= =?UTF-8?q?=E4=BC=9A=E6=B8=85=E9=99=A4=E4=B9=8B=E5=89=8D=E9=80=89=E6=8B=A9?= =?UTF-8?q?=E7=9A=84bug=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../safetyenvironmental/inspection/components/add.vue | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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) {