From e2d556803e3138732ffde7d3d07b0a4a9b0b7f0a Mon Sep 17 00:00:00 2001
From: batman <978517621@qq.com>
Date: Fri, 10 Mar 2023 10:33:40 +0800
Subject: [PATCH] 新修改添加页面
---
src/views/system/personShiftManage/personTimeManage/holidayTimeGroup/index.vue | 11 ++++++-----
1 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/src/views/system/personShiftManage/personTimeManage/holidayTimeGroup/index.vue b/src/views/system/personShiftManage/personTimeManage/holidayTimeGroup/index.vue
index e9e4e07..b37119d 100644
--- a/src/views/system/personShiftManage/personTimeManage/holidayTimeGroup/index.vue
+++ b/src/views/system/personShiftManage/personTimeManage/holidayTimeGroup/index.vue
@@ -282,7 +282,7 @@
if (res.data.code === '200') {
ElMessage({
type: 'success',
- message: res.data.msg
+ message: '添加成功!'
});
getListByPage();
} else {
@@ -299,7 +299,7 @@
if (res.data.code === '200') {
ElMessage({
type: 'success',
- message: res.data.msg
+ message: '修改成功!'
});
getListByPage();
} else {
@@ -323,7 +323,8 @@
if (state.chosenIndex == null) {
await addRecord(data);
} else {
- (data.id = JSON.stringify(state.addRecord.id)), await editRecord(data);
+ data.id = JSON.stringify(state.addRecord.id)
+ await editRecord(data);
}
state.dialogAddRecord = false;
} else {
@@ -338,7 +339,7 @@
if (res.data.code === '200') {
ElMessage({
type: 'success',
- message: res.data.msg
+ message: '删除成功!'
});
getListByPage();
} else {
@@ -377,7 +378,7 @@
state.deleteSetDialog = false;
ElMessage({
type: 'success',
- message: res.data.msg
+ message: '删除成功!'
});
getListByPage();
} else {
--
Gitblit v1.9.2