标签属性类型修改
This commit is contained in:
@@ -323,7 +323,7 @@
|
||||
:title="Title"
|
||||
class="split-title"
|
||||
:visible="addConVisible"
|
||||
:confirm-loading="confirmLoading"
|
||||
|
||||
@ok="handleOk"
|
||||
@cancel="handleCancel"
|
||||
>
|
||||
@@ -654,7 +654,7 @@
|
||||
},
|
||||
//保存
|
||||
splitSave(){
|
||||
console.log('vallll',this.contentList)
|
||||
// console.log('vallll',this.contentList)
|
||||
// console.log('formInline',this.formInline)
|
||||
this.$refs.splitEditForm.validate(valid=>{
|
||||
if(valid){
|
||||
@@ -941,7 +941,7 @@
|
||||
})
|
||||
}
|
||||
}
|
||||
if (res.field_show_type === '1' || res.field_show_type === '2' ||
|
||||
if (res.field_show_type === '1' ||
|
||||
res.field_show_type === '8' || res.field_show_type === '9' || res.field_show_type === '10'
|
||||
|| res.field_show_type === '11') {
|
||||
rule.push({
|
||||
@@ -958,6 +958,7 @@
|
||||
// console.log('rules',this.rules)
|
||||
this.isFormInline = true
|
||||
this.confirmLoading = false
|
||||
// console.log('this.column',this.column)
|
||||
},
|
||||
getForm(callBack) {
|
||||
this.confirmLoading = true
|
||||
@@ -983,10 +984,11 @@
|
||||
})
|
||||
},
|
||||
add() {
|
||||
this.getForm()
|
||||
this.visible=true
|
||||
this.formInline = {}
|
||||
this.type = 'add'
|
||||
this.getForm()
|
||||
|
||||
},
|
||||
StandardselectionChange(value, id) {
|
||||
this.formInline[value + '_id'] = id
|
||||
|
||||
@@ -115,7 +115,7 @@
|
||||
],
|
||||
description:[
|
||||
{ required: true, message: this.$t('PleaseEnterDescription'), trigger: 'blur' },
|
||||
{ min:1, max: 300, message: this.$t('cantExeed')+'300'+this.$t('characters'), trigger: 'blur' },
|
||||
{ min:1, max: 200, message: this.$t('cantExeed')+'200'+this.$t('characters'), trigger: 'blur' },
|
||||
]
|
||||
},
|
||||
tableData:[],
|
||||
|
||||
@@ -156,7 +156,7 @@
|
||||
|
||||
],
|
||||
description:[
|
||||
{ min:1, max: 300, message: this.$t('cantExeed')+'300'+this.$t('characters'), trigger: 'blur' },
|
||||
{ min:1, max: 200, message: this.$t('cantExeed')+'200'+this.$t('characters'), trigger: 'blur' },
|
||||
]
|
||||
},
|
||||
// typeVisible:{},
|
||||
|
||||
Reference in New Issue
Block a user