From 85ef9a437fe32c569b55f6e8391fdefb76780840 Mon Sep 17 00:00:00 2001 From: yaowanxin <3588231647@qq.com> Date: 星期四, 11 九月 2025 16:09:48 +0800 Subject: [PATCH] 用印管理-阅读修改,自助服务平台页面调整 --- src/views/collaborativeApproval/rpaManagement/index.vue | 16 ++++++++++------ 1 files changed, 10 insertions(+), 6 deletions(-) diff --git a/src/views/collaborativeApproval/rpaManagement/index.vue b/src/views/collaborativeApproval/rpaManagement/index.vue index 81cde62..e08104b 100644 --- a/src/views/collaborativeApproval/rpaManagement/index.vue +++ b/src/views/collaborativeApproval/rpaManagement/index.vue @@ -247,7 +247,7 @@ const openForm = (type, row) => { dialogType.value = type; dialogVisible.value = true; - + if (type === "add") { dialogTitle.value = "娣诲姞RPA"; } else { @@ -259,10 +259,10 @@ // 鎻愪氦琛ㄥ崟 const submitForm = async () => { if (!formRef.value) return; - + try { await formRef.value.validate(); - + if (dialogType.value === "add") { // 娣诲姞鏂癛PA addRpa({...form.value}).then(res => { @@ -342,9 +342,13 @@ }) .then(() => { delRpa(ids).then((res) => { - proxy.$modal.msgSuccess("鍒犻櫎鎴愬姛"); - getList(); - }) + if(res.code == 200){ + ElMessage.success("鍒犻櫎鎴愬姛"); + getList(); + } + }).catch(err => { + ElMessage.error(err.msg); + }) }) .catch(() => { proxy.$modal.msg("宸插彇娑�"); -- Gitblit v1.9.3