Commit e8f6cab1 by peiqiQQQ

所属元素下拉

1 parent e0bf3e38
Showing with 8 additions and 0 deletions
...@@ -718,6 +718,12 @@ export default { ...@@ -718,6 +718,12 @@ export default {
this.set_table_height() this.set_table_height()
}, },
methods: { methods: {
// 所属元素下拉
getArchiEleList(){
this.getZuJianLeiXingSelect(null).then((res) => {
this.zuJianLeiXingSelect = res
})
},
formatterDept(row, column, cellValue, index, options) { formatterDept(row, column, cellValue, index, options) {
const obj = this[options]?.find((v) => v.value == cellValue) || {} const obj = this[options]?.find((v) => v.value == cellValue) || {}
return obj.label return obj.label
...@@ -1566,6 +1572,7 @@ export default { ...@@ -1566,6 +1572,7 @@ export default {
if (!data.archiBelongId) return if (!data.archiBelongId) return
this.archiBelongId = data.archiBelongId this.archiBelongId = data.archiBelongId
this.archiType = data.archiType this.archiType = data.archiType
this.getArchiEleList() // 所属元素下拉
// this.archiAssetTypeId = data.viewId; // this.archiAssetTypeId = data.viewId;
this.get_table() this.get_table()
}, },
...@@ -1610,6 +1617,7 @@ export default { ...@@ -1610,6 +1617,7 @@ export default {
this.treeData[0].subList = res.data this.treeData[0].subList = res.data
this.archiBelongId = res.data[0].archiBelongId this.archiBelongId = res.data[0].archiBelongId
this.archiType = res.data[0].archiType this.archiType = res.data[0].archiType
this.getArchiEleList() // 所属元素下拉
// this.archiAssetTypeId = res.data[0].viewId; // this.archiAssetTypeId = res.data[0].viewId;
this.getShangJiJieDianSelect() this.getShangJiJieDianSelect()
this.getGuanLianZiChanSelectData(null) this.getGuanLianZiChanSelectData(null)
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!