From 8592c430b9133c1a41b1438a175017084a23d253 Mon Sep 17 00:00:00 2001
From: Alan <1124498879@qq.com>
Date: 星期三, 17 二月 2021 15:40:50 +0800
Subject: [PATCH] 提交用户管理新增的字段

---
 src/views/febs/system/user/Index.vue |   31 +++++++++++++------------------
 1 files changed, 13 insertions(+), 18 deletions(-)

diff --git a/src/views/febs/system/user/Index.vue b/src/views/febs/system/user/Index.vue
index 5d8f314..e06fb80 100644
--- a/src/views/febs/system/user/Index.vue
+++ b/src/views/febs/system/user/Index.vue
@@ -65,35 +65,30 @@
           </el-link>
         </template>
       </el-table-column>
+      <el-table-column label="部门(护卫点)" align="center" min-width="100px">
+        <template slot-scope="scope">
+          <span>{{ scope.row.deptName }}</span>
+        </template>
+      </el-table-column>
       <el-table-column :label="$t('table.user.username')" prop="username" :show-overflow-tooltip="true" align="center" min-width="120px">
         <template slot-scope="scope">
           <span>{{ scope.row.username }}</span>
         </template>
       </el-table-column>
-      <el-table-column label="用户头像" :show-overflow-tooltip="true" align="center" min-width="120px" />
-      <el-table-column label="姓名" :show-overflow-tooltip="true" align="center" min-width="120px" />
-      <el-table-column
-        :label="$t('table.user.sex')"
-        :filters="[{ text: $t('common.sex.male'), value: '0' }, { text: $t('common.sex.female'), value: '1' }, { text: $t('common.sex.secret'), value: '2' }]"
-        :filter-method="filterSex"
-        class-name="status-col"
-      >
-        <template slot-scope="{row}">
-          <el-tag :type="row.sex | sexFilter">
-            {{ transSex(row.sex) }}
-          </el-tag>
+      <el-table-column label="员工姓名" prop="nickName" :show-overflow-tooltip="true" align="center" min-width="120px">
+        <template slot-scope="scope">
+          <span>{{ scope.row.nickName }}</span>
+        </template>
+      </el-table-column>
+      <el-table-column label="身份证号" prop="certificateNumb" :show-overflow-tooltip="true" align="center" min-width="120px">
+        <template slot-scope="scope">
+          <span>{{ scope.row.certificateNumb }}</span>
         </template>
       </el-table-column>
       <el-table-column label="手机" :show-overflow-tooltip="true" align="center" min-width="120px" />
       <el-table-column :label="$t('table.user.email')" :show-overflow-tooltip="true" align="center" min-width="150px">
         <template slot-scope="scope">
           <span>{{ scope.row.email }}</span>
-        </template>
-      </el-table-column>
-      <el-table-column label="联系地址" :show-overflow-tooltip="true" align="center" min-width="120px" />
-      <el-table-column :label="$t('table.user.dept')" align="center" min-width="100px">
-        <template slot-scope="scope">
-          <span>{{ scope.row.deptName }}</span>
         </template>
       </el-table-column>
       <el-table-column

--
Gitblit v1.8.0