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(); }