Commit cbeafa7589331bce0e5bbd20b91869d49565c126

Authored by wuxw
1 parent 21d75ed2

v1.9 解决员工关联员工编号不显示bug

src/components/role/AddRoleStaff.vue
... ... @@ -12,7 +12,7 @@
12 12  
13 13 <el-table :data="staffs" style="width: 100%; margin-top: 15px" @selection-change="handleSelectionChange">
14 14 <el-table-column type="selection" width="55" align="center" />
15   - <el-table-column prop="userId" :label="$t('role.staffName')" align="center" />
  15 + <el-table-column prop="userId" :label="$t('role.staffId')" align="center" />
16 16 <el-table-column prop="name" :label="$t('role.staffName')" align="center" />
17 17 <el-table-column prop="address" :label="$t('role.address')" align="center" />
18 18 </el-table>
... ...
src/views/role/roleLang.js
... ... @@ -23,6 +23,7 @@ export const messages = {
23 23 communityId: 'Community ID',
24 24 communityName: 'Community Name',
25 25 operation: 'Operation',
  26 + staffId: 'Staff ID',
26 27 staffName: 'Staff Name',
27 28 tel: 'Phone',
28 29 email: 'Email',
... ... @@ -59,6 +60,7 @@ export const messages = {
59 60 communityId: '小区编号',
60 61 communityName: '小区名称',
61 62 operation: '操作',
  63 + staffId: '员工编号',
62 64 staffName: '员工名称',
63 65 tel: '手机号',
64 66 email: '邮箱',
... ...