From c528dc5a1ce4d08768c37eaaa84559cceea5ea64 Mon Sep 17 00:00:00 2001
From: ludc
Date: 星期五, 22 十一月 2024 15:10:19 +0800
Subject: [PATCH] 业务类型树查询接口,返回的attributes集合中增加链接表的属性。
---
Source/plt-web/plt-web-ui/src/views/systemModel/mangeModel/index.vue | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/Source/plt-web/plt-web-ui/src/views/systemModel/mangeModel/index.vue b/Source/plt-web/plt-web-ui/src/views/systemModel/mangeModel/index.vue
index 6806f68..614abf6 100644
--- a/Source/plt-web/plt-web-ui/src/views/systemModel/mangeModel/index.vue
+++ b/Source/plt-web/plt-web-ui/src/views/systemModel/mangeModel/index.vue
@@ -7,7 +7,7 @@
@node-click="nodeClick">
<span slot-scope="{ node, data }" class="el-tree-node__label">
<span style="font-size: 15px">
- <i class="el-icon-s-promotion"></i>
+ <i :class="data.icon"></i>
{{ (node || {}).label }}
</span>
</span>
@@ -252,7 +252,8 @@
...item,
id: item.id,
name: item.name,
- leaf: !item.hasChildren
+ leaf: !item.hasChildren,
+ icon: item.source || 'el-icon-s-home'
}
}))
})
@@ -523,6 +524,7 @@
upLoadClickHandler() {
this.$refs.upload.visible = true;
},
+
handleRefreshTree(type) {
//type:add\edit\del
if (type == "del") {
--
Gitblit v1.9.3