From 9a6757109b406fa0c7c1c548d9977702e6df76b6 Mon Sep 17 00:00:00 2001 From: ludc Date: 星期四, 27 七月 2023 19:42:55 +0800 Subject: [PATCH] 提交代码 --- Source/UBCS-WEB/src/components/Tree/classifyTrees.vue | 18 ++++++++++++++++++ 1 files changed, 18 insertions(+), 0 deletions(-) diff --git a/Source/UBCS-WEB/src/components/Tree/classifyTrees.vue b/Source/UBCS-WEB/src/components/Tree/classifyTrees.vue index 50f38a3..d2ceea3 100644 --- a/Source/UBCS-WEB/src/components/Tree/classifyTrees.vue +++ b/Source/UBCS-WEB/src/components/Tree/classifyTrees.vue @@ -931,6 +931,24 @@ this.crudArray=selection; gridCodeClassifyTemplateAttr({'conditionMap[classifyTemplateOid]': row.oid}).then(res => { this.ProData = res.data.data; + //鍒嗙被娉ㄥ叆鏁版嵁鏍煎紡 + this.ProData = res.data.data.map((item) => { + //濡傛灉鍒嗙被娉ㄥ叆classifyInvokeAttr涓虹┖璇存槑鏄垵濮嬬姸鎬� + if(item.classifyInvokeAttr !== ''){ + if (!item.hasOwnProperty('classifyInvokeText')) { // 妫�鏌lassifyInvokeText灞炴�ф槸鍚﹀瓨鍦� + item = { + ...item, + classifyInvokeText: { + "娉ㄥ叆绫诲瀷": item.classifyInvokeAttr, + "娉ㄥ叆绫诲瀷鍚嶇О": item.classifyInvokeAttrName, + "灞傜骇璁剧疆": item.classifyInvokeLevel, + "鏄惁鍙慨鏀�": item.classifyInvokeEditFlag + } + }; + } + } + return item; + }); }).catch(res => { this.$message.error(res) }) -- Gitblit v1.9.3