From 344a3a03b3c91f3281b21cb177fc40265af7a35a Mon Sep 17 00:00:00 2001 From: odjbin <1042039504@qq.com> Date: Wed, 23 Oct 2024 23:14:56 +0800 Subject: [PATCH] =?UTF-8?q?fix=20:=20=E6=8C=89=E9=92=AE=E6=94=BE=E5=9C=A8?= =?UTF-8?q?=E5=8F=B3=E4=B8=8A=E8=A7=92=E6=B5=AE=E5=8A=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/assets/styles/index.scss | 2 +- src/components/DetailComponent/Opinion.vue | 17 +++++++------ src/components/steps/index.vue | 25 +++++++++++++------ .../implementation/detail.vue | 2 +- 4 files changed, 28 insertions(+), 18 deletions(-) diff --git a/src/assets/styles/index.scss b/src/assets/styles/index.scss index 727ad98..9fa5a86 100644 --- a/src/assets/styles/index.scss +++ b/src/assets/styles/index.scss @@ -558,7 +558,7 @@ html, body, #app, .el-container, .el-aside, .el-main { // 操作页面底部按钮 .oper-page-btn { position: fixed; - bottom: 15px; + top: 135px; right: 15px; z-index: 5; } diff --git a/src/components/DetailComponent/Opinion.vue b/src/components/DetailComponent/Opinion.vue index e63a95e..bab31ba 100644 --- a/src/components/DetailComponent/Opinion.vue +++ b/src/components/DetailComponent/Opinion.vue @@ -171,20 +171,21 @@ const back = () => { } // 驳回 const handleReject = async () => { + if (!_value.value) { + ElNotification({ + title: '提示', + message: '请填写审核意见', + type: 'warning' + }) + return +} showBackNode.value = true backNode.value = {} } //回退节点 const rollbackHandler = async () => { // const values = form.value.getValues() - if (!_value.value) { - ElNotification({ - title: '提示', - message: '请填写审核意见', - type: 'warning' - }) - return - } + const params = { taskId: props.taskId, // ...values diff --git a/src/components/steps/index.vue b/src/components/steps/index.vue index d1c928d..6eb93ea 100644 --- a/src/components/steps/index.vue +++ b/src/components/steps/index.vue @@ -2,9 +2,12 @@