From 8e990f8b60a8666989ced71386903cbbc5207ae7 Mon Sep 17 00:00:00 2001 From: limingyu Date: Thu, 9 May 2024 08:36:21 +0800 Subject: [PATCH] =?UTF-8?q?15164=20=E5=A2=9E=E5=8A=A0=E4=B8=AA=E9=83=A8?= =?UTF-8?q?=E9=97=A8=E4=B8=8B=E6=8B=89=E6=A1=86=E6=90=9C=E7=B4=A2=20?= =?UTF-8?q?=E8=A6=81=E4=B8=8D=E5=A4=AA=E5=A4=9A=E6=97=A0=E6=B3=95=E6=90=9C?= =?UTF-8?q?=E7=B4=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../checklist/components/edit.vue | 22 +++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) diff --git a/src/views/firefighting/checklist/components/edit.vue b/src/views/firefighting/checklist/components/edit.vue index 49bda77..7ac546c 100644 --- a/src/views/firefighting/checklist/components/edit.vue +++ b/src/views/firefighting/checklist/components/edit.vue @@ -235,6 +235,19 @@ + + + + + @@ -404,8 +417,10 @@ export default { POSTNAME: '', USERNAME: '', varList: [], - idListFcS: [] + idListFcS: [], + DEPARTMENT_ID: '' }, + treeDataDepart: [], pointList: [], pointCode: '', // ------------end @@ -531,7 +546,8 @@ export default { FIRE_DEVICE_TYPE_ID: this.waitFor.FIRE_DEVICE_TYPE_ID, FIRE_POINT_ID: this.waitFor.FIRE_POINT_ID, FIRE_DEVICE_CODE: this.waitFor.FIRE_DEVICE_CODE, - FIRE_REGION_ID: this.waitFor.FIRE_REGION_ID + FIRE_REGION_ID: this.waitFor.FIRE_REGION_ID, + DEPARTMENT_ID: this.waitFor.DEPARTMENT_ID } ).then((data) => { this.listLoading = false @@ -587,6 +603,7 @@ export default { this.treeData.forEach((item) => { item.isDisabled = true }) + this.treeDataDepart = JSON.parse(data.zTreeNodes) resolve() }).catch((e) => { }) @@ -828,6 +845,7 @@ export default { this.waitFor.FIRE_DEVICE_ID = '' this.waitFor.FIRE_DEVICE_CODE = '' this.waitFor.FIRE_POINT_NAME = '' + this.waitFor.DEPARTMENT_ID = '' this.pointList = [] this.getList() this.getDevice()