From c8cfe2170ae543a028e35a29c83ba06a1882b278 Mon Sep 17 00:00:00 2001 From: qinoy Date: Thu, 13 Jul 2023 10:58:21 +0800 Subject: [PATCH] =?UTF-8?q?=E7=AB=AF=E5=88=B0=E7=AB=AF=E5=8A=9F=E8=83=BD?= =?UTF-8?q?=20=E5=85=A5=E5=8F=A3=E5=8A=9F=E8=83=BD=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/views/repository/RepositoryList.vue | 6 +++--- .../src/views/subprocess/SubProcess.vue | 2 ++ 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/com.actionsoft.apps.coe.pal/src/views/repository/RepositoryList.vue b/com.actionsoft.apps.coe.pal/src/views/repository/RepositoryList.vue index b084659..b60aa67 100644 --- a/com.actionsoft.apps.coe.pal/src/views/repository/RepositoryList.vue +++ b/com.actionsoft.apps.coe.pal/src/views/repository/RepositoryList.vue @@ -1058,17 +1058,17 @@ if (item.methodId !== 'process.epc'){ flag = true; } - if (item.methodId === 'process.epc' || item.methodId === 'process.flowchart'){ + if (item.methodId !== 'process.epc' && item.methodId !== 'process.flowchart'){ subProcessFooterFlag = true; } let tag = {value: item.id, label: item.name} that.subProcess.tags.push(tag); }); if (subProcessFooterFlag) { - that.subProcess.footerBtnVisible = true; - }else { that.subProcess.footerBtnVisible = false; that.subProcess.tags = []; + }else { + that.subProcess.footerBtnVisible = true; } if (flag){ that.modelConvertDialog.footerBtnVisible = false; diff --git a/com.actionsoft.apps.coe.pal/src/views/subprocess/SubProcess.vue b/com.actionsoft.apps.coe.pal/src/views/subprocess/SubProcess.vue index ee63667..dc506cc 100644 --- a/com.actionsoft.apps.coe.pal/src/views/subprocess/SubProcess.vue +++ b/com.actionsoft.apps.coe.pal/src/views/subprocess/SubProcess.vue @@ -462,8 +462,10 @@ if (this.defaultTags != null) { this.subProcessForm.processTags = [...this.defaultTags]; this.defaultTags.forEach(tag => { + this.subProcessForm.processList.push(tag.value); this.subProcessForm.defaultProcessCheckedKeys.push(tag.value); }); + console.log('this.subProcessForm.processList',this.subProcessForm.processList) } this.initData(); }