From 05ad8a6e2c667933b8eec043345589f54a9b65cb Mon Sep 17 00:00:00 2001 From: shanao Date: Wed, 11 Dec 2024 16:52:08 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90bug=E3=80=91=201.=20=E6=B3=95=E8=A7=84?= =?UTF-8?q?=E6=A0=87=E5=87=86=E5=BA=93=E5=BF=85=E4=BC=A0=202.=20=E8=BF=90?= =?UTF-8?q?=E8=BE=93=E4=BF=9D=E9=9A=9C=E6=9C=BA=E6=9E=84=E4=BF=A1=E6=81=AF?= =?UTF-8?q?=E7=AE=A1=E7=90=86=E9=83=A8=E5=88=86=E5=AD=97=E6=AE=B5=E4=BF=AE?= =?UTF-8?q?=E6=94=B9=E4=B8=8D=E7=94=9F=E6=95=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../emergency_knowledge/regulatory_library/index.vue | 4 +++- .../transportation_management/components/list.vue | 4 ++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/src/views/emergen_cyrescue/emergency_information/emergency_knowledge/regulatory_library/index.vue b/src/views/emergen_cyrescue/emergency_information/emergency_knowledge/regulatory_library/index.vue index 3d75ef4..e3e5f89 100644 --- a/src/views/emergen_cyrescue/emergency_information/emergency_knowledge/regulatory_library/index.vue +++ b/src/views/emergen_cyrescue/emergency_information/emergency_knowledge/regulatory_library/index.vue @@ -123,6 +123,9 @@ export default { CONTENT: [ { required: true, message: '内容不能为空', trigger: 'change' } + ], + TYPE_DIC_ID: [ + { required: true, message: '类型不能为空', trigger: 'change' } ] }, filterText: '', @@ -206,7 +209,6 @@ export default { RegulationsEdit() { this.listLoading = true this.form.FILE_URL = this.uploadfileurl - debugger requestFN( '/regulations/' + this.msg, this.form 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 4fd958c..ed260ca 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 @@ -631,6 +631,10 @@ export default { }, dataSave() { this.listLoading = true + // 解决mybatis-plus 传空过滤的问题 + this.form.ORG_TYPE = this.form.ORG_TYPE == null ? '' : this.form.ORG_TYPE + this.form.ADMINISTRATIVE_REGION = this.form.ADMINISTRATIVE_REGION == null ? '' : this.form.ADMINISTRATIVE_REGION + this.form.SUPERVISING_UNIT = this.form.SUPERVISING_UNIT == null ? '' : this.form.SUPERVISING_UNIT requestFN('/major/transportation/save', this.form).then((data) => { this.listLoading = false this.dialogFormEdit = false