diff --git a/app/view/component/flow/processFlow.html b/app/view/component/flow/processFlow.html index 458db8b..2008183 100644 --- a/app/view/component/flow/processFlow.html +++ b/app/view/component/flow/processFlow.html @@ -1,15 +1,15 @@ @@ -116,7 +116,6 @@ Vue.component("process-flow", { } }, mounted() { - this.init(); }, methods: { init() { diff --git a/app/view/component/tpl/formItemListGenerator.html b/app/view/component/tpl/formItemListGenerator.html index 6fc188b..b4af1ee 100644 --- a/app/view/component/tpl/formItemListGenerator.html +++ b/app/view/component/tpl/formItemListGenerator.html @@ -1,7 +1,7 @@ @@ -132,7 +132,11 @@ mdi-close - + + + + + @@ -163,6 +167,7 @@ {% include 'component/formItem.html' %} +{% include 'component/workflowEditorDrawer.html' %} {% include 'common/jianghuJs/fixedTableHeightV4.html' %} @@ -230,6 +235,9 @@ case 'jumpUpdateWorkflow': await this.jumpUpdateWorkflow(uiActionData); break; + case 'openWorkflowEditorDrawer': + await this.openWorkflowEditorDrawer(uiActionData); + break; default: console.error("[doUiAction] uiActionId not find", { uiActionId }); break; @@ -357,8 +365,12 @@ jumpToCreateWorkflow() { window.location.href = '/<$ ctx.app.config.appId $>/page/workflowEditor'; - } + }, // ---------- jump >>>>>>>>>> -------- + + openWorkflowEditorDrawer(item) { + this.$refs.workflowEditorDrawer.doUiAction('open', item); + } } })