开启/禁止活动,开启/关闭打卡 标题修改

master
382696293@qq.com 2 years ago
parent 87a4343883
commit 9cd6b19958

@ -1096,12 +1096,15 @@ export default {
//
openOrCloseClock(row) {
let spanContent;
let title;
if (row.clock == 1) {
spanContent = "确定将选择的数据禁止打卡?";
title = "禁止打卡";
} else {
spanContent = "确定将选择的数据开启打卡?";
title = "开启打卡";
}
this.$confirm("<span style='font-size: 18px'><strong>" + spanContent + "</strong></span><br/><span style='padding-left:2em'>请谨慎操作,一旦成功将无法撤销。</span>", '注销账号', {
this.$confirm("<span style='font-size: 18px'><strong>" + spanContent + "</strong></span><br/><span style='padding-left:2em'>请谨慎操作,一旦成功将无法撤销。</span>", 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("<span style='font-size: 18px'><strong>" + spanContent + "</strong></span><br/><span style='padding-left:2em'>请谨慎操作,一旦成功将无法撤销。</span>", '注销账号', {
this.$confirm("<span style='font-size: 18px'><strong>" + spanContent + "</strong></span><br/><span style='padding-left:2em'>请谨慎操作,一旦成功将无法撤销。</span>", title, {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning',

Loading…
Cancel
Save