Przeglądaj źródła

调整用户界面列顺序

zhulu 2 lat temu
rodzic
commit
e8d7be4997
1 zmienionych plików z 17 dodań i 16 usunięć
  1. 17 16
      src/views/system/user/index.vue

+ 17 - 16
src/views/system/user/index.vue

@@ -192,7 +192,7 @@
               align="center"
               key="username"
               prop="username"
-              width="100"
+              width="120"
               v-if="columns[0].visible"
             />
             <el-table-column
@@ -200,7 +200,7 @@
               align="center"
               key="name"
               prop="name"
-              width="100"
+              width="120"
               v-if="columns[1].visible"
               :show-overflow-tooltip="true"
             />
@@ -241,12 +241,12 @@
               :show-overflow-tooltip="true"
             /> -->
             <el-table-column
-              label="状态"
+              label="账号状态"
               align="center"
               key="isLock"
               prop="isLock"
               v-if="columns[4].visible"
-              width="60"
+              width="100"
             >
               <template slot-scope="scope">
                 <dict-tag
@@ -255,18 +255,7 @@
                 />
               </template>
             </el-table-column>
-            <el-table-column
-              label="安保部门从业人员"
-              align="center"
-              key="isManager"
-              prop="isManager"
-              v-if="columns[5].visible"
-              width="160"
-            >
-              <template slot-scope="scope">
-                {{ scope.row.isManage === "Y" ? "是" : "否" }}
-              </template>
-            </el-table-column>
+            
             <el-table-column
               label="登录IP"
               align="center"
@@ -284,6 +273,18 @@
               width="140"
             />
             <el-table-column
+              label="安保部门从业人员"
+              align="center"
+              key="isManager"
+              prop="isManager"
+              v-if="columns[5].visible"
+              width="160"
+            >
+              <template slot-scope="scope">
+                {{ scope.row.isManage === "Y" ? "是" : "否" }}
+              </template>
+            </el-table-column>
+            <el-table-column
               label="操作"
               align="left"
               header-align="center"