From d9f277335044119ab1616aa3a3058e03b20633ac Mon Sep 17 00:00:00 2001 From: yuxc <653031404@qq.com> Date: 星期四, 20 七月 2023 17:59:40 +0800 Subject: [PATCH] 1、增加ALLCODE数据保存时通过ID判断是否有重复数据如果有重复数据则报错。 --- Source/UBCS-WEB/src/components/Master/MasterTree.vue | 4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) diff --git a/Source/UBCS-WEB/src/components/Master/MasterTree.vue b/Source/UBCS-WEB/src/components/Master/MasterTree.vue index cf5f526..2a583b3 100644 --- a/Source/UBCS-WEB/src/components/Master/MasterTree.vue +++ b/Source/UBCS-WEB/src/components/Master/MasterTree.vue @@ -121,9 +121,7 @@ codeClassifyOid: this.nodeClickList.oid, functionId: 5, }).then(res => { - console.log('1-', res.data) - console.log('123-', res.data.buttons) - const flagsToDeleteBtn = ["CODEIMPORTHISTORY", "CODEBATCHADD", "CODESTARTPROCESS", "CODEEXPORT", "CODEQUERY"]; + const flagsToDeleteBtn = ["CODEIMPORTHISTORY", "CODEEXPORT", "CODEQUERY","batchApplyCode"]; //涓嶅悓鑺傜偣鏄剧ず涓嶅悓鎸夐挳 if (!res.data.leaf) { this.masterVrBtnList = res.data.buttons.filter(obj => flagsToDeleteBtn.includes(obj.uniqueFlag)); -- Gitblit v1.9.3