From e88ec66539feec36614fd21a9dcfd56844ecdf7b Mon Sep 17 00:00:00 2001 From: yiwenZhou <67539158+ywywZhou@users.noreply.github.com> Date: Thu, 23 Nov 2023 09:46:54 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AD=90=E6=B5=81=E7=A8=8B=E4=BA=A4=E4=BA=92?= =?UTF-8?q?=E4=BC=98=E5=8C=96=20(#7182)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * bugfix: 线上测试问题修复 * optimization: 子流程交互优化 --- .../common/RenderForm/tags/TagInput.vue | 8 +- .../common/RenderForm/tags/TagTextarea.vue | 6 +- .../pages/task/TaskExecute/ExecuteInfo.vue | 49 ++++-- .../TaskExecute/ExecuteInfo/ExecuteRecord.vue | 2 +- .../pages/task/TaskExecute/ModifyParams.vue | 2 +- .../src/pages/task/TaskExecute/NodeTree.vue | 15 +- .../pages/task/TaskExecute/NodeTreeItem.vue | 12 +- .../pages/task/TaskExecute/TaskOperation.vue | 152 +++++++++++++----- 8 files changed, 173 insertions(+), 73 deletions(-) diff --git a/frontend/desktop/src/components/common/RenderForm/tags/TagInput.vue b/frontend/desktop/src/components/common/RenderForm/tags/TagInput.vue index 39ad5725bd..5559ddd513 100644 --- a/frontend/desktop/src/components/common/RenderForm/tags/TagInput.vue +++ b/frontend/desktop/src/components/common/RenderForm/tags/TagInput.vue @@ -171,7 +171,7 @@ const divInputDom = this.$el.querySelector('.div-input') if (divInputDom) { divInputDom.innerText = this.value - this.handleInputBlur() + this.updateInputHtml() } }) } @@ -182,7 +182,7 @@ const divInputDom = this.$el.querySelector('.div-input') divInputDom.innerText = this.value } else { - this.handleInputBlur() + this.updateInputHtml() } }, formMode (val) { @@ -190,7 +190,7 @@ this.$nextTick(() => { const divInputDom = this.$el.querySelector('.div-input') divInputDom.innerText = this.value - this.handleInputBlur() + this.updateInputHtml() }) } else { this.validate() @@ -205,7 +205,7 @@ if (divInputDom) { divInputDom.innerText = this.value if (this.render && this.value) { - this.handleInputBlur() + this.updateInputHtml() } divInputDom.addEventListener('paste', this.handlePaste) } diff --git a/frontend/desktop/src/components/common/RenderForm/tags/TagTextarea.vue b/frontend/desktop/src/components/common/RenderForm/tags/TagTextarea.vue index 0513a7e852..e32e75f5e3 100644 --- a/frontend/desktop/src/components/common/RenderForm/tags/TagTextarea.vue +++ b/frontend/desktop/src/components/common/RenderForm/tags/TagTextarea.vue @@ -138,7 +138,7 @@ const divInputDom = this.$el.querySelector('.div-input') if (divInputDom) { divInputDom.innerText = this.value - this.handleInputBlur() + this.updateInputHtml() } }) } @@ -149,7 +149,7 @@ const divInputDom = this.$el.querySelector('.div-input') divInputDom.innerText = this.value } else { - this.handleInputBlur() + this.updateInputHtml() } } }, @@ -162,7 +162,7 @@ const value = typeof this.value === 'string' ? this.value : JSON.stringify(this.value) divInputDom.innerText = value if (this.render && value) { - this.handleInputBlur() + this.updateInputHtml() } divInputDom.addEventListener('paste', this.handlePaste) } diff --git a/frontend/desktop/src/pages/task/TaskExecute/ExecuteInfo.vue b/frontend/desktop/src/pages/task/TaskExecute/ExecuteInfo.vue index 304b8d9969..87cadc8558 100644 --- a/frontend/desktop/src/pages/task/TaskExecute/ExecuteInfo.vue +++ b/frontend/desktop/src/pages/task/TaskExecute/ExecuteInfo.vue @@ -168,7 +168,7 @@ -
+