Browse Source

员工性别格式化多语言

wuyunfeng 3 years ago
parent
commit
b289ff1328
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/views/ncs-clerk/components/clerkList.vue

+ 1 - 1
src/views/ncs-clerk/components/clerkList.vue

@@ -518,7 +518,7 @@ export default {
     },
     /** 性别格式化 */
     formatterSex(row) {
-      return row.data.sex === 1 ? this.$t('action.man') : row.data.sex === 0 ? this.$t('action.woman') : this.$t('action.unknown')
+      return row.data.sex === 1 ? this.$t('member.man') : row.data.sex === 0 ? this.$t('member.woman') : this.$t('member.unknown')
     },
     formatterRole(row) {
       if (row.data.founder === 1) {