From 0c553fadbaa50a322fbe283ef66cd32d8d26f98b Mon Sep 17 00:00:00 2001 From: yuxc <yuxc@vci-tech.com> Date: 星期五, 29 十一月 2024 17:38:56 +0800 Subject: [PATCH] 1、获取当前业务类型下的数据权限相关信息接口。 2、保存数据权限数据接口。 3、删除数据权限接口。 4、使用当前用户的类型查询用户接口。 --- Source/plt-web/plt-web-ui/src/views/custom-ui/product.vue | 14 ++++++++++---- 1 files changed, 10 insertions(+), 4 deletions(-) diff --git a/Source/plt-web/plt-web-ui/src/views/custom-ui/product.vue b/Source/plt-web/plt-web-ui/src/views/custom-ui/product.vue index a6cd05c..108ce6e 100644 --- a/Source/plt-web/plt-web-ui/src/views/custom-ui/product.vue +++ b/Source/plt-web/plt-web-ui/src/views/custom-ui/product.vue @@ -1,6 +1,12 @@ <template> <div style="height: 720px"> <avue-tree ref="tree" v-loading="treeLoading" :data="treeData" :option="treeOption" @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> + {{ (node || {}).label }} + </span> + </span> </avue-tree> </div> </template> @@ -60,16 +66,16 @@ } }, created() { - console.log('create'); + console.log('this.dataStore',this.dataStore); }, methods: { - nodeClick(row){ + nodeClick(row) { console.log(row); this.$emit("setDataStore", { area: 'westAreaInDialog', type: 'tree', - btmType:'workcontext', - dataStore:row + btmType: 'workcontext', + dataStore: [row] }); } } -- Gitblit v1.9.3