From 25a7e88099b329ec2081d1d4e1f0bd73d1c25a11 Mon Sep 17 00:00:00 2001
From: 13937891274 <kxc0822>
Date: 星期一, 08 八月 2022 18:06:59 +0800
Subject: [PATCH] 页面修改
---
src/views/goalManagement/Incentivestandard/index.vue | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/src/views/goalManagement/Incentivestandard/index.vue b/src/views/goalManagement/Incentivestandard/index.vue
index 0629074..a8f3fed 100644
--- a/src/views/goalManagement/Incentivestandard/index.vue
+++ b/src/views/goalManagement/Incentivestandard/index.vue
@@ -144,6 +144,8 @@
};
// 删除
const onDelete = (id: number) => {
+ let arr=[]
+ arr.push(id)
ElMessageBox.confirm('确定删除所选项吗?', 'Warning', {
confirmButtonText: '确定',
cancelButtonText: '取消',
@@ -151,7 +153,7 @@
})
.then(() => {
goalManagementApi()
- .getrewardPunishmentStandardDelete(id)
+ .getrewardPunishmentStandardDelete(arr)
.then((res) => {
if (res.data.code == 200) {
ElMessage({
@@ -181,7 +183,7 @@
for (let i = 0; i < valId.length; i++) {
arr.push(valId[i].id);
}
- deletAll.value = arr.toString();
+ deletAll.value = arr;
if (val.length == 1) {
warning.value = false;
danger.value = false;
--
Gitblit v1.9.2