From 95a5d8d63dff95fb9fad6a7040a0cf9b7bed9d26 Mon Sep 17 00:00:00 2001 From: liujun Date: Wed, 11 Dec 2024 13:49:19 +0800 Subject: [PATCH] =?UTF-8?q?[bug=E4=BF=AE=E5=A4=8D]=201=E3=80=81mybatis-plu?= =?UTF-8?q?s=E5=8E=BB=E9=99=A4=E8=87=AA=E5=8A=A8=E6=9B=B4=E6=96=B0?= =?UTF-8?q?=E8=A7=84=E5=88=99=202=E3=80=81=E9=A1=B5=E9=9D=A2=E6=96=B0?= =?UTF-8?q?=E5=A2=9E=E6=A0=A1=E9=AA=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../institutional_management/components/list.vue | 3 +-- .../transportation_management/components/list.vue | 6 +++--- .../emergency_plan/company_plan-check/components/list.vue | 4 ++++ 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/src/views/emergen_cyrescue/emergency_information/security_agency/institutional_management/components/list.vue b/src/views/emergen_cyrescue/emergency_information/security_agency/institutional_management/components/list.vue index 6b77f5d..e6e24d0 100644 --- a/src/views/emergen_cyrescue/emergency_information/security_agency/institutional_management/components/list.vue +++ b/src/views/emergen_cyrescue/emergency_information/security_agency/institutional_management/components/list.vue @@ -652,7 +652,6 @@ export default { } requestFN('/medicalInstitutions/detail', params).then((response) => { const data = response.data - console.log(data) this.form = { // 医疗机构名称 INSTITUTION_NAME: data.INSTITUTION_NAME, @@ -671,7 +670,7 @@ export default { // 传真 FAX: data.FAX, // 所属区域 - ADMINISTRATIVE_REGION: data.ADMINISTRATIVE_REGION, + ADMINISTRATIVE_REGION: data.ADMINISTRATIVE_REGION === '' ? null : data.ADMINISTRATIVE_REGION, // 经度 LONGITUDE: data.LONGITUDE, // 纬度 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 4317f54..2ee9a49 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 @@ -560,14 +560,14 @@ export default { console.log(data) this.form = { ORG_NAME: data.ORG_NAME, - ORG_TYPE: data.ORG_TYPE, + ORG_TYPE: data.ORG_TYPE === '' ? null : data.ORG_TYPE, ORG_TYPE_NAME: data.ORG_TYPE_NAME, ORG_LEVEL: data.ORG_LEVEL, ADDRESS: data.ADDRESS, POSTAL_CODE: data.POSTAL_CODE, SECURITY_LEVEL: data.SECURITY_LEVEL, DUTY_PHONE: data.DUTY_PHONE, - ADMINISTRATIVE_REGION: data.ADMINISTRATIVE_REGION, + ADMINISTRATIVE_REGION: data.ADMINISTRATIVE_REGION === '' ? null : data.ADMINISTRATIVE_REGION, ADMINISTRATIVE_REGION_NAME: data.ADMINISTRATIVE_REGION_NAME, LONGITUDE: data.LONGITUDE, LATITUDE: data.LATITUDE, @@ -581,7 +581,7 @@ export default { CONTACT_MOBILE_PHONE: data.CONTACT_MOBILE_PHONE, CONTACT_HOME_PHONE: data.CONTACT_HOME_PHONE, CONTACT_EMAIL: data.CONTACT_EMAIL, - SUPERVISING_UNIT: data.SUPERVISING_UNIT, + SUPERVISING_UNIT: data.SUPERVISING_UNIT === '' ? null : data.SUPERVISING_UNIT, SUPERVISING_UNIT_NAME: data.SUPERVISING_UNIT_NAME, SUPERVISING_UNIT_ADDRESS: data.SUPERVISING_UNIT_ADDRESS, COMPANY_OVERVIEW: data.COMPANY_OVERVIEW, diff --git a/src/views/emergen_cyrescue/emergency_plan/company_plan-check/components/list.vue b/src/views/emergen_cyrescue/emergency_plan/company_plan-check/components/list.vue index 28be88b..089598f 100644 --- a/src/views/emergen_cyrescue/emergency_plan/company_plan-check/components/list.vue +++ b/src/views/emergen_cyrescue/emergency_plan/company_plan-check/components/list.vue @@ -98,6 +98,10 @@ export default { this.$parent.CASE_ID = id }, setCheck() { + if (!this.AUDIT_STATUS || this.AUDIT_STATUS === ''){ + this.$message.error('请选择是否通过') + return + } this.listISLOADing = true requestFN( '/major/emergencyplan/check',