diff --git a/src/components/MonitorDrawer/index.vue b/src/components/MonitorDrawer/index.vue index 16897b4..36931a3 100644 --- a/src/components/MonitorDrawer/index.vue +++ b/src/components/MonitorDrawer/index.vue @@ -33,6 +33,7 @@ let protocol = window.location.protocol let hostname = window.location.hostname; let workflowManageUrl = protocol + '//' + hostname + ':9080' + process.env.VUE_APP_WORKFLOW_MANAGE_URL + workflowManageUrl = 'http://124.223.108.21:9080/ebpm-process-manage' this.src = workflowManageUrl + '/workflow/trace/traceProcess.do?processInstanceId=' + procInstId } } diff --git a/src/views/tool/index.vue b/src/views/tool/index.vue index e9d0a2b..a3f0137 100644 --- a/src/views/tool/index.vue +++ b/src/views/tool/index.vue @@ -501,9 +501,14 @@ export default { // this.multiple = !selection.length; }, handleDetail(row){ - this.detailDrawerOpen = true - this.detailOpen = true - this.toolDetail = row + if(row.recordStatus === 'done'){ + this.detailDrawerOpen = true + this.detailOpen = true + this.toolDetail = row + } else { + let status = row.recordStatus === 'draft' ? '1' : '0' + this.handleOpen({type:'tool_release', procInstId:row.procInstId, status:status}) + } }, handleFileDownload(row){ this.fileDetailDrawerOpen = true diff --git a/src/views/workflowList/addWorkflow/tool_release.vue b/src/views/workflowList/addWorkflow/tool_release.vue index 01084af..8136466 100644 --- a/src/views/workflowList/addWorkflow/tool_release.vue +++ b/src/views/workflowList/addWorkflow/tool_release.vue @@ -2,17 +2,14 @@
-
-

审核工具

-
-
新增工具
+

工具发布

- 流程监控 - 删除 - 提交 - 保存 - 关闭 + 流程监控 + 提交 + 暂存 + 撤销 + 关闭