From 4d3f7f10d422fd6eee128fa32bc48ce7b10ec09d Mon Sep 17 00:00:00 2001 From: wangting <wangting@vci-tech.com> Date: 星期二, 07 一月 2025 18:24:21 +0800 Subject: [PATCH] 属性定义参照类型改成下拉树选择,处理值域显示不正确的问题,属性名选择改为下拉搜索 --- Source/plt-web/plt-web-ui/src/views/modelingMenu/ui/Aciton/components/dialog.vue | 17 ++++++++++++----- 1 files changed, 12 insertions(+), 5 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..04e6ac3 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 @@ -49,6 +49,11 @@ {{ 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> </basic-container> @@ -102,8 +107,8 @@ search: true }, { - label: 'C/S绫昏矾寰�', - prop: 'plCSClass', + label: '鍥炬爣', + prop: 'plImage', search: true, searchLabelWidth:120, overHidden: true, @@ -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