From 9cd6b199587ab70348acb1d54894c5ad56ead2ca Mon Sep 17 00:00:00 2001
From: "382696293@qq.com" <382696293@qq.com>
Date: Mon, 25 Dec 2023 17:14:48 +0800
Subject: [PATCH] =?UTF-8?q?=E5=BC=80=E5=90=AF/=E7=A6=81=E6=AD=A2=E6=B4=BB?=
=?UTF-8?q?=E5=8A=A8=EF=BC=8C=E5=BC=80=E5=90=AF/=E5=85=B3=E9=97=AD?=
=?UTF-8?q?=E6=89=93=E5=8D=A1=20=E6=A0=87=E9=A2=98=E4=BF=AE=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
flossom-ui/src/views/system/member/index.vue | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/flossom-ui/src/views/system/member/index.vue b/flossom-ui/src/views/system/member/index.vue
index 771b57f..d02aafb 100644
--- a/flossom-ui/src/views/system/member/index.vue
+++ b/flossom-ui/src/views/system/member/index.vue
@@ -1096,12 +1096,15 @@ export default {
// 开关打卡
openOrCloseClock(row) {
let spanContent;
+ let title;
if (row.clock == 1) {
spanContent = "确定将选择的数据禁止打卡?";
+ title = "禁止打卡";
} else {
spanContent = "确定将选择的数据开启打卡?";
+ title = "开启打卡";
}
- this.$confirm("" + spanContent + "
请谨慎操作,一旦成功将无法撤销。", '注销账号', {
+ this.$confirm("" + spanContent + "
请谨慎操作,一旦成功将无法撤销。", title, {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning',
@@ -1117,12 +1120,15 @@ export default {
// 开关活动
openOrCloseActivity(row) {
let spanContent;
+ let title;
if (row.activity == 1) {
spanContent = "确定将选择的数据禁止活动?";
+ title = "禁止活动";
} else {
spanContent = "确定将选择的数据开启活动?";
+ title = "开启活动";
}
- this.$confirm("" + spanContent + "
请谨慎操作,一旦成功将无法撤销。", '注销账号', {
+ this.$confirm("" + spanContent + "
请谨慎操作,一旦成功将无法撤销。", title, {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning',