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