From f50e1f8f20d98a255044d938a7e98bfc0b18d1b0 Mon Sep 17 00:00:00 2001 From: 田源 <tianyuan@vci-tech.com> Date: 星期五, 27 十二月 2024 16:51:46 +0800 Subject: [PATCH] 业务功能模块 管理功能模块更改菜单唯一标识以及样式 操作类型管理添加按钮图标功能 系统运行监控修改为当前在线人员信息图标 --- 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 ef252e5..2d9ef85 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> + <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