From 021fd8bbeca3cbf56d69482a3026dc11ccad5810 Mon Sep 17 00:00:00 2001 From: ludc Date: 星期四, 27 七月 2023 19:57:22 +0800 Subject: [PATCH] 代码提交 --- Source/UBCS-WEB/src/components/Tree/classifyTrees.vue | 26 ++++++++++++++++++++++++++ 1 files changed, 26 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..3c04f39 100644 --- a/Source/UBCS-WEB/src/components/Tree/classifyTrees.vue +++ b/Source/UBCS-WEB/src/components/Tree/classifyTrees.vue @@ -708,6 +708,14 @@ } }, methods: { + /** 瀵煎叆 */ + ImportExcel(){ + + }, + /** 瀵煎嚭 */ + ExportExcel(){ + + }, //妯℃澘绠$悊宸插彂甯冪紪杈� // checkShowEditBtn() { // this.showEditBtn = this.Formlist.some(item => item.lcStatus === 'Released'); @@ -931,6 +939,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