Explorar o código

feat: EK-879: 【AE】管理员增加“Country”属性,根据所选国家限制登录后所显示的奖金、余额等数据(二期).

kevinElken hai 9 meses
pai
achega
9bd93d1635
Modificáronse 2 ficheiros con 5 adicións e 2 borrados
  1. 1 1
      src/lang/zh.js
  2. 4 1
      src/views/user/change-highest-emp-level.vue

+ 1 - 1
src/lang/zh.js

@@ -403,7 +403,7 @@ export default {
     exportCurrentData: '您确定要导出当前数据吗?',
     all: '全部',
     language: "语言",
-    country: "Country",
+    country: "国家",
   },
 
   filter: {

+ 4 - 1
src/views/user/change-highest-emp-level.vue

@@ -116,7 +116,7 @@
             :value="item.ID"
             :key="key"
             v-if="key === userInfo.EMP_LV"
-            style="margin-top: 5px"
+            style="margin-top: 5px; width: 100%;"
           >
             {{ $t("member.highestLevel") }}:{{ item.LEVEL_NAME }}
           </el-tag>
@@ -208,6 +208,7 @@ export default {
       userInfo: {
         REAL_NAME: null,
         DEC_LV: null,
+        country: null,
       },
     };
   },
@@ -324,6 +325,8 @@ export default {
         })
         .catch((error) => {
           this.userInfo.REAL_NAME = null;
+          this.userInfo.country = null;
+          this.userInfo.DEC_LV = null;
           this.$message({
             message: error,
             type: "warning",