标签管理文档拆分列表
This commit is contained in:
@@ -106,12 +106,11 @@
|
||||
<a-col :span="12" v-else-if="item.field_show_type === '6'">
|
||||
<div class="box-title-text">
|
||||
<div class="title-text">
|
||||
<span class="Required" v-if="item.field_must_input == 1">*</span>
|
||||
<span class="RequireddateChange" v-if="item.field_must_input == 1">*</span>
|
||||
<span class="title-text-text" :title="item.db_field_txt">{{item.db_field_txt}}</span>
|
||||
</div>
|
||||
<a-form-model-item class="itemModel" :prop="item.db_field_name">
|
||||
<a-range-picker class="box-input" v-model="formInline[item.db_field_name]"
|
||||
:placeholder="$t('PleaseSelect')+item.db_field_txt"
|
||||
:disabled="disabled"
|
||||
@change="onChange(item.db_field_name)"></a-range-picker>
|
||||
</a-form-model-item>
|
||||
@@ -628,7 +627,7 @@
|
||||
//保存
|
||||
splitSave(){
|
||||
// console.log('vallll',this.contentList)
|
||||
// console.log('formInline',this.formInline)
|
||||
console.log('formInline',this.formInline)
|
||||
this.$refs.splitEditForm.validate(valid=>{
|
||||
if(valid){
|
||||
this.submitFlag=true
|
||||
@@ -952,8 +951,15 @@
|
||||
edit(item) {
|
||||
this.visible=true
|
||||
this.type = 'edit'
|
||||
// this.getForm(() => {
|
||||
// this.formInline=item
|
||||
// })
|
||||
this.getForm(() => {
|
||||
this.formInline=item
|
||||
getAction(this.url.getDocumentInfo, { id: item.id }).then((res) => {
|
||||
if (res.success) {
|
||||
this.formInline = res.result[0]
|
||||
}
|
||||
})
|
||||
})
|
||||
},
|
||||
add() {
|
||||
@@ -1164,4 +1170,13 @@
|
||||
text-align: center;
|
||||
}
|
||||
}
|
||||
.split-content{
|
||||
.box-input .ant-input-number-input-wrap{
|
||||
height: 30px;
|
||||
line-height: 30px;
|
||||
}
|
||||
.ant-input-number{
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user