feat(): 数据资产详情字典会显

chao
chao 2024-04-29 16:08:33 +08:00
parent f25bfa0819
commit 3611bb2a24
1 changed files with 3 additions and 6 deletions

View File

@ -56,11 +56,7 @@
placement="left"
width="200"
trigger="hover">
<el-table :data="[
{ label: '男', value: '1' },
{ label: '女', value: '2' },
{ label: '未知', value: '0' },
]">
<el-table v-for="item in dictionaryList" v-if="(item.name + '(' + item.type + ')') === scope.row.mappingDictionary" :data="item.dataDictionaryTypeList">
<el-table-column property="label" label="字典标签"/>
<el-table-column property="value" label="字典值"/>
</el-table>
@ -199,7 +195,8 @@ export default {
detailsUpdate() {
editAssetTableDetails(this.form).then(response => {
findByAssetStructureTableIdlist(this.form.assetStructureTableId).then(res => {
this.dictionaryList = res.data;
console.log(res.data)
this.assetTableDetailsList = res.data;
this.formStatus = false;
})
})