Commit cbeafa7589331bce0e5bbd20b91869d49565c126

Authored by wuxw
1 parent 21d75ed2

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

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