标签内容字典配置

This commit is contained in:
caoyang
2022-03-01 10:00:39 +08:00
parent 0f560b4fc0
commit 8569bfe0b2
@@ -175,7 +175,7 @@
], ],
}, },
typeVisible:{}, // typeVisible:{},
dicVisible:false, dicVisible:false,
dictVal:'', dictVal:'',
record: {}, record: {},
@@ -299,13 +299,14 @@
handleDicPop(record){ handleDicPop(record){
this.record=record this.record=record
if(record.attributeType=='1'){ if(record.attributeType=='1'){
this.typeVisible[record.id]=false // this.typeVisible[record.id]=false
this.dictVal='list'
this.dicVisible=true this.dicVisible=true
}else{ }else{
this.typeVisible[record.id]=false // this.typeVisible[record.id]=false
this.dicVisible=true this.dicVisible=true
this.dictVal='tree'
} }
}, },
afterDicVisibleChange(val) { afterDicVisibleChange(val) {