parent
cfdb68dafb
commit
05ad8a6e2c
|
@ -123,6 +123,9 @@ export default {
|
||||||
CONTENT: [
|
CONTENT: [
|
||||||
{ required: true, message: '内容不能为空', trigger: 'change' }
|
{ required: true, message: '内容不能为空', trigger: 'change' }
|
||||||
|
|
||||||
|
],
|
||||||
|
TYPE_DIC_ID: [
|
||||||
|
{ required: true, message: '类型不能为空', trigger: 'change' }
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
filterText: '',
|
filterText: '',
|
||||||
|
@ -206,7 +209,6 @@ export default {
|
||||||
RegulationsEdit() {
|
RegulationsEdit() {
|
||||||
this.listLoading = true
|
this.listLoading = true
|
||||||
this.form.FILE_URL = this.uploadfileurl
|
this.form.FILE_URL = this.uploadfileurl
|
||||||
debugger
|
|
||||||
requestFN(
|
requestFN(
|
||||||
'/regulations/' + this.msg,
|
'/regulations/' + this.msg,
|
||||||
this.form
|
this.form
|
||||||
|
|
|
@ -631,6 +631,10 @@ export default {
|
||||||
},
|
},
|
||||||
dataSave() {
|
dataSave() {
|
||||||
this.listLoading = true
|
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) => {
|
requestFN('/major/transportation/save', this.form).then((data) => {
|
||||||
this.listLoading = false
|
this.listLoading = false
|
||||||
this.dialogFormEdit = false
|
this.dialogFormEdit = false
|
||||||
|
|
Loading…
Reference in New Issue