bug修改
This commit is contained in:
@@ -40,11 +40,13 @@
|
||||
</a-col>
|
||||
<a-col :span="24" v-if="isTagContent">
|
||||
<a-form-model-item :label="$t('OptionContent')" prop="dictId">
|
||||
<template>
|
||||
<a-select :placeholder="$t('PleaseSelectOptionContent')" v-model="form.dictId" @change="handleChange">
|
||||
<a-select-option v-for="(item,index) in contentOption" :key="item.id" :value="item.id">
|
||||
{{item.dictName}}
|
||||
</a-select-option>
|
||||
</a-select>
|
||||
</template>
|
||||
<!-- <j-dict-select-tag type="list" v-model="form.dictName" dictCode="" placeholder="请选择选项内容" />-->
|
||||
</a-form-model-item>
|
||||
</a-col>
|
||||
@@ -367,7 +369,16 @@
|
||||
this.form.dbIsKey='0'
|
||||
this.form.dbIsNull='1'
|
||||
this.form.dbPointLength='0'
|
||||
this.form.isShowForm='1'
|
||||
this.form.dbFieldName=this.form.dbFieldTxt
|
||||
this.contentOption.forEach(item=>{
|
||||
if(item.id==this.form.dictId){
|
||||
// console.log('11111')
|
||||
this.form.dictField=item.dictCode
|
||||
this.form.dictText=item.dictName
|
||||
}
|
||||
})
|
||||
// console.log('form',this.form)
|
||||
httpAction(httpurl,this.form,method).then((res)=>{
|
||||
if(res.success){
|
||||
this.$message.success(this.$t('OperationSuccessful'));
|
||||
|
||||
Reference in New Issue
Block a user