feat(): 数据资产详情字典会显
parent
f25bfa0819
commit
3611bb2a24
|
@ -56,11 +56,7 @@
|
||||||
placement="left"
|
placement="left"
|
||||||
width="200"
|
width="200"
|
||||||
trigger="hover">
|
trigger="hover">
|
||||||
<el-table :data="[
|
<el-table v-for="item in dictionaryList" v-if="(item.name + '(' + item.type + ')') === scope.row.mappingDictionary" :data="item.dataDictionaryTypeList">
|
||||||
{ label: '男', value: '1' },
|
|
||||||
{ label: '女', value: '2' },
|
|
||||||
{ label: '未知', value: '0' },
|
|
||||||
]">
|
|
||||||
<el-table-column property="label" label="字典标签"/>
|
<el-table-column property="label" label="字典标签"/>
|
||||||
<el-table-column property="value" label="字典值"/>
|
<el-table-column property="value" label="字典值"/>
|
||||||
</el-table>
|
</el-table>
|
||||||
|
@ -199,7 +195,8 @@ export default {
|
||||||
detailsUpdate() {
|
detailsUpdate() {
|
||||||
editAssetTableDetails(this.form).then(response => {
|
editAssetTableDetails(this.form).then(response => {
|
||||||
findByAssetStructureTableIdlist(this.form.assetStructureTableId).then(res => {
|
findByAssetStructureTableIdlist(this.form.assetStructureTableId).then(res => {
|
||||||
this.dictionaryList = res.data;
|
console.log(res.data)
|
||||||
|
this.assetTableDetailsList = res.data;
|
||||||
this.formStatus = false;
|
this.formStatus = false;
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue