From 273c90be57218312f93c95dd176c2aab358a7a3c Mon Sep 17 00:00:00 2001 From: zhangqihang Date: Mon, 19 Feb 2024 17:05:46 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/keyprojects/outsourced/index.vue | 1 + .../personnelmanagement/components/edit.vue | 42 +++++++++++++++---- .../keyprojects/personnelmanagement/index.vue | 7 +++- src/views/keyprojects/units/index.vue | 2 + 4 files changed, 43 insertions(+), 9 deletions(-) diff --git a/src/views/keyprojects/outsourced/index.vue b/src/views/keyprojects/outsourced/index.vue index 1db5ae3..0490a33 100644 --- a/src/views/keyprojects/outsourced/index.vue +++ b/src/views/keyprojects/outsourced/index.vue @@ -20,6 +20,7 @@ - + - + - + - + - + - + - + - + { await ElMessageBox.confirm( - "是否将[" + NAME + "]的密码重置为 Aa@123456789 吗?", + "是否将[" + NAME + "]的密码重置为 666666 吗?", { type: "warning", } @@ -163,6 +164,7 @@ const handleDelete = async (PERSONNELMANAGEMENT_ID) => { }); await setPersonnelmanagementDelete({ PERSONNELMANAGEMENT_ID }); fnGetData(); + ElMessage.success("删除成功"); }; const batchDel = async () => { @@ -181,6 +183,8 @@ const batchDel = async () => { .join(","); await setPersonnelmanagementDeleteAll({ DATA_IDS: ids }); fnGetData(); + ElMessage.success("删除成功"); + tableRef.value.clearSelection(); }; const fnGoEdit = async (id) => { @@ -196,6 +200,7 @@ const fnGoEdit = async (id) => { const fnResetPaginationTransfer = () => { fnGetData(searchForm); + tableRef.value.clearSelection() }; const fnAdd = () => { diff --git a/src/views/keyprojects/units/index.vue b/src/views/keyprojects/units/index.vue index 6441e09..9e1b7c4 100644 --- a/src/views/keyprojects/units/index.vue +++ b/src/views/keyprojects/units/index.vue @@ -165,6 +165,7 @@ const batchDel = async (ids) => { }); await setUnitsDeleteAll({ DATA_IDS: ids }); fnGetData(); + ElMessage.success("删除成功"); }; const handleDelete = async (UNITS_ID) => { @@ -173,6 +174,7 @@ const handleDelete = async (UNITS_ID) => { }); await setUnitsDelete({ UNITS_ID }); fnGetData(); + ElMessage.success("删除成功"); };