From bccef675db16bc09fbb5314396a1000c14b32b80 Mon Sep 17 00:00:00 2001 From: fuliqi <fuliqi@qq.com> Date: 星期三, 12 二月 2025 15:58:32 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/master' --- src/views/flowable/task/myProcess/send/index.vue | 19 ++++++++++++++----- 1 files changed, 14 insertions(+), 5 deletions(-) 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); -- Gitblit v1.8.0