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",