浏览代码

调整企业微信停用

Lijy 2 年之前
父节点
当前提交
92a7545222
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      fhKeeper/formulahousekeeper/timesheet/src/views/team/index.vue

+ 2 - 1
fhKeeper/formulahousekeeper/timesheet/src/views/team/index.vue

@@ -2515,7 +2515,8 @@ export default {
     // 删除用户
     setActive(item, isActive) {
       var txt = isActive == 1 ? this.$t('enable') : this.$t('ting-yong');
-      this.$confirm(this.$t('sureyouwantto') + txt + " " + item.name + this.$t('ma'), this.$t('zhang-hao') + txt, {
+      // this.$confirm(this.$t('sureyouwantto') + txt + " " + item.name + this.$t('ma'), this.$t('zhang-hao') + txt, {
+      this.$confirm(this.$t('sureyouwantto') + txt + " " + isActive == 1 ? this.$t('enable') : this.$t('ting-yong') + '该员工' + this.$t('ma'), this.$t('zhang-hao') + txt, {
         confirmButtonText: this.$t('btn.determine'),
         cancelButtonText: this.$t('btn.cancel'),
         type: "warning",