From 8f246665b2ce3609ffb35342a5949bc52fe8da7b Mon Sep 17 00:00:00 2001 From: WenShiJun Date: Sat, 6 Jul 2024 09:43:20 +0800 Subject: [PATCH] =?UTF-8?q?=E8=BF=90=E8=BE=93=E4=BF=9D=E9=9A=9C=E6=9C=BA?= =?UTF-8?q?=E6=9E=84=E4=BF=A1=E6=81=AF=E7=AE=A1=E7=90=86=E9=A1=B5=E9=9D=A2?= =?UTF-8?q?=E9=80=BB=E8=BE=91=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/detail.vue | 17 ++---- .../components/list.vue | 58 +++++++++---------- 2 files changed, 33 insertions(+), 42 deletions(-) diff --git a/src/views/emergen_cyrescue/emergency_information/security_agency/transportation_management/components/detail.vue b/src/views/emergen_cyrescue/emergency_information/security_agency/transportation_management/components/detail.vue index 6eb2a4d..48f12e5 100644 --- a/src/views/emergen_cyrescue/emergency_information/security_agency/transportation_management/components/detail.vue +++ b/src/views/emergen_cyrescue/emergency_information/security_agency/transportation_management/components/detail.vue @@ -8,7 +8,7 @@ 返回基本信息 - + @@ -17,7 +17,7 @@ - + @@ -70,6 +70,7 @@ export default { SECURITY_LEVEL: '', DUTY_PHONE: '', ADMINISTRATIVE_REGION: '', + ADMINISTRATIVE_REGION_NAME: '', LONGITUDE: '', LATITUDE: '', EMERGENCY_TRANSPORT_MODE: '', @@ -110,7 +111,6 @@ export default { this.Id = this.$parent.CASE_ID this.getDetail(this.Id) } - this.getList() this.getTreeList() this.getDepartmentList() }, @@ -118,7 +118,6 @@ export default { goBack() { this.$parent.activeName = 'list' }, - //* *******************列表查询****************************** getTreeList() { const params = { PARENT_ID: '5a5d2809ed644aa6ba97a5240ff35484' @@ -139,11 +138,6 @@ export default { console.error('获取主管单位数据失败', e) }) }, - //* ****************************数据查看******************************* - handleDetail(id) { - this.dialogFormShow = true - this.getDetail(id) - }, getDetail(Id) { const params = { Id: Id } requestFN('/major/transportation/detail', params).then((response) => { @@ -157,6 +151,7 @@ export default { SECURITY_LEVEL: data.SECURITY_LEVEL, DUTY_PHONE: data.DUTY_PHONE, ADMINISTRATIVE_REGION: data.ADMINISTRATIVE_REGION, + ADMINISTRATIVE_REGION_NAME: data.ADMINISTRATIVE_REGION_NAME, LONGITUDE: data.LONGITUDE, LATITUDE: data.LATITUDE, EMERGENCY_TRANSPORT_MODE: data.EMERGENCY_TRANSPORT_MODE, @@ -182,10 +177,6 @@ export default { }).catch((e) => { console.error('获取详情数据失败', e) }) - }, - getQuery() { - this.$refs.multipleTable.clearSelection() - this.getList() } } } diff --git a/src/views/emergen_cyrescue/emergency_information/security_agency/transportation_management/components/list.vue b/src/views/emergen_cyrescue/emergency_information/security_agency/transportation_management/components/list.vue index c487381..df4b988 100644 --- a/src/views/emergen_cyrescue/emergency_information/security_agency/transportation_management/components/list.vue +++ b/src/views/emergen_cyrescue/emergency_information/security_agency/transportation_management/components/list.vue @@ -1,10 +1,18 @@