From 03e602bbaee807c42a22df05f1f00c558ffe9fa0 Mon Sep 17 00:00:00 2001 From: 田源 <tianyuan@vci-tech.com> Date: 星期一, 13 一月 2025 17:27:19 +0800 Subject: [PATCH] 首页跳转日志bug --- Source/plt-web/plt-web-ui/src/views/modelingMenu/ui/Aciton/components/dialog.vue | 21 ++++++++++++++------- 1 files changed, 14 insertions(+), 7 deletions(-) diff --git a/Source/plt-web/plt-web-ui/src/views/modelingMenu/ui/Aciton/components/dialog.vue b/Source/plt-web/plt-web-ui/src/views/modelingMenu/ui/Aciton/components/dialog.vue index ed80440..47fc795 100644 --- a/Source/plt-web/plt-web-ui/src/views/modelingMenu/ui/Aciton/components/dialog.vue +++ b/Source/plt-web/plt-web-ui/src/views/modelingMenu/ui/Aciton/components/dialog.vue @@ -21,7 +21,7 @@ @node-click="nodeClick"> <span slot-scope="{ node, data }" class="el-tree-node__label"> <span> - <i class="el-icon-s-promotion"></i> + <icon-show v-if="data.icon" :name="data.icon"></icon-show> {{ (node || {}).label }} </span> </span> @@ -48,6 +48,11 @@ <el-tag :type="row.plTypeType === 'business' ? '' : 'success'"> {{ row.plTypeType === 'business' ? '涓氬姟绫诲瀷' : '閾炬帴绫诲瀷' }} </el-tag> + </template> + <template slot="plImage" slot-scope="{row}"> + <span class="avue-icon"> + <icon-show :name="row.plImage"></icon-show> + </span> </template> </avue-crud> </div> @@ -102,11 +107,11 @@ search: true }, { - label: 'C/S绫昏矾寰�', - prop: 'plCSClass', + label: '鍥炬爣', + prop: 'plImage', search: true, searchLabelWidth:120, - overHidden: true, + width:80 }, { label: 'B/S閾炬帴鍦板潃', @@ -163,6 +168,7 @@ this.dialog.loading = false; this.dialog.showDialog = false; this.$refs.tree.setCurrentKey(null); + this.$emit('cancelAction',null); }, submitDialog() { if (this.selectList.length==0) { @@ -179,8 +185,9 @@ this.$emit('updataAction', this.selectList[0]); } - this.cancelDialog(); - + this.dialog.loading = false; + this.dialog.showDialog = false; + this.$refs.tree.setCurrentKey(null); }, // 宸︿晶鏍戣姹� getTreeList(status) { @@ -240,7 +247,7 @@ this.lastIndex = newIndex; }, () => { - this.selectList = []; + this.selectList = [row]; } ); }, -- Gitblit v1.9.3