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 aa52c36..b084659 100644 --- a/com.actionsoft.apps.coe.pal/src/views/repository/RepositoryList.vue +++ b/com.actionsoft.apps.coe.pal/src/views/repository/RepositoryList.vue @@ -69,11 +69,13 @@ -
+
+ + 生成端到端流程图 - 批量创建 + 批量创建 - 批量替换 + 批量替换
@@ -200,6 +202,9 @@
模型转换
+ +
生成端到端流程图
+
删除模型
@@ -294,6 +299,7 @@ 创建副本 模型转换 导出 + 生成端到端流程图 删除 取消
@@ -362,6 +368,13 @@ :visible.sync="batchReplace.visible" :methodCategory="uuid" v-on:getResult="closeBatchReplaceFn"> + + + 0) { let flag = false; + let subProcessFooterFlag = false; val.forEach(item => { if (that.modelConvertDialog.repositoryIds.indexOf(item.id) === -1){ that.modelConvertDialog.repositoryIds.push(item.id); @@ -1033,7 +1058,18 @@ if (item.methodId !== 'process.epc'){ flag = true; } + 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 = []; + } if (flag){ that.modelConvertDialog.footerBtnVisible = false; }else { @@ -1054,6 +1090,7 @@ } } else { that.showFooter = false; + that.subProcess.tags = []; for (let j = 0; j < that.tableData.length; j++) { const childNodes = that.tbody[0].childNodes; if (childNodes != undefined) { @@ -1933,6 +1970,16 @@ }, closeBatchReplaceFn() {// 关闭批量替换 this.batchReplace.visible = false; + }, + closeSubProcessFn(){ + this.subProcess.visible = false; + }, + openSubProcessFn(data) { + this.subProcess.visible = true; + if (data){ + let tag = {value: data.versionId, label: data.name}; + this.subProcess.tags.push(tag); + } } }, computed: { 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 4daa170..f286e01 100644 --- a/com.actionsoft.apps.coe.pal/src/views/subprocess/SubProcess.vue +++ b/com.actionsoft.apps.coe.pal/src/views/subprocess/SubProcess.vue @@ -10,7 +10,7 @@