From 807374eb2bd42eac7192d2a3d4581107b4305c3c Mon Sep 17 00:00:00 2001 From: xiangpei <xiangpei@timesnew.cn> Date: 星期三, 12 二月 2025 15:43:44 +0800 Subject: [PATCH] 任务跳过加备注说明 --- src/components/Process/panel/PropertiesPanel.vue | 3 --- src/views/flowable/task/myProcess/send/index.vue | 19 ++++++++++++++----- src/views/projectProcess/components/RunProcess.vue | 2 +- 3 files changed, 15 insertions(+), 9 deletions(-) diff --git a/src/components/Process/panel/PropertiesPanel.vue b/src/components/Process/panel/PropertiesPanel.vue index e1a171f..c895056 100644 --- a/src/components/Process/panel/PropertiesPanel.vue +++ b/src/components/Process/panel/PropertiesPanel.vue @@ -63,7 +63,6 @@ this.propertyForm.name = name this.propertyForm.value = value this.saveAttribute() - this.resetList() } }, { @@ -74,7 +73,6 @@ this.propertyForm.name = name this.propertyForm.value = value this.saveAttribute() - this.resetList() } }, { @@ -85,7 +83,6 @@ this.propertyForm.name = name this.propertyForm.value = value this.saveAttribute() - this.resetList() } } ], // 鍙互閰嶇疆鐨勫睘鎬у垪琛� diff --git a/src/views/flowable/task/myProcess/send/index.vue b/src/views/flowable/task/myProcess/send/index.vue index c24832c..d4979d3 100644 --- a/src/views/flowable/task/myProcess/send/index.vue +++ b/src/views/flowable/task/myProcess/send/index.vue @@ -189,6 +189,7 @@ props: {}, data() { return { + jumpDesc: '', // 璺宠繃璇存槑 rejectLoading: false, // 椹冲洖鎸夐挳鍔犺浇 submitLoading: false, // 鎻愪氦鎸夐挳鍔犺浇 delegationButLoading: false, // 杞姙鎸夐挳鍔犺浇 @@ -276,21 +277,29 @@ methods: { // 璺宠繃浠诲姟 jumpTask() { - this.$confirm('纭畾瑕佽烦杩囨浠诲姟鍚�?', '鎻愮ず', { + this.$prompt('澶囨敞璇存槑', '纭畾瑕佽烦杩囨浠诲姟鍚�', { confirmButtonText: '纭畾', cancelButtonText: '鍙栨秷', - type: 'warning' - }).then(() => { + inputType: 'textarea' + // inputPattern: /[\w!#$%&'*+/=?^_`{|}~-]+(?:\.[\w!#$%&'*+/=?^_`{|}~-]+)*@(?:[\w](?:[\w-]*[\w])?\.)+[\w](?:[\w-]*[\w])?/, + // inputErrorMessage: '閭鏍煎紡涓嶆纭�' + }).then(({ value }) => { let jumpForm = { taskId: this.taskId, projectId: this.goBackParams.projectId, - processInsId: this.procInsId + processInsId: this.procInsId, + desc: value } taskJump(jumpForm).then(res => { this.$message.success("鎿嶄綔鎴愬姛") this.goBack() }) - }) + }).catch(() => { + this.$message({ + type: 'info', + message: '宸插彇娑堣烦杩囨搷浣�' + }); + }); }, removeDept(dept) { let index = this.delegationDeptSelect.indexOf(dept); diff --git a/src/views/projectProcess/components/RunProcess.vue b/src/views/projectProcess/components/RunProcess.vue index 0aba29b..49bf79b 100644 --- a/src/views/projectProcess/components/RunProcess.vue +++ b/src/views/projectProcess/components/RunProcess.vue @@ -94,7 +94,7 @@ :total="total" :page.sync="queryParams.currentPage" :limit.sync="queryParams.pageSize" - page-sizes="8" + :page-sizes="[8]" @pagination="getList" /> </div> -- Gitblit v1.8.0