From b2b9bc40c27157534e66aa60acce0495e2c37766 Mon Sep 17 00:00:00 2001
From: 孔祥富 <kongxf@daryun.com>
Date: 星期三, 24 二月 2021 20:07:14 +0800
Subject: [PATCH] 档案,以及首页bug的修改

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

diff --git a/src/views/febs/system/user/Index.vue b/src/views/febs/system/user/Index.vue
index e06fb80..05b6fbe 100644
--- a/src/views/febs/system/user/Index.vue
+++ b/src/views/febs/system/user/Index.vue
@@ -55,16 +55,7 @@
       @sort-change="sortChange"
     >
       <el-table-column type="selection" align="center" width="40px" />
-      <el-table-column :label="$t('table.operation')" align="center" min-width="150px" class-name="small-padding fixed-width">
-        <template slot-scope="{row}">
-          <i v-hasPermission="['user:view']" class="el-icon-view table-operation" style="color: #87d068;" @click="view(row)" />
-          <i v-hasPermission="['user:update']" class="el-icon-setting table-operation" style="color: #2db7f5;" @click="edit(row)" />
-          <i v-hasPermission="['user:delete']" class="el-icon-delete table-operation" style="color: #f50;" @click="singleDelete(row)" />
-          <el-link v-has-no-permission="['user:view','user:update','user:delete']" class="no-perm">
-            {{ $t('tips.noPermission') }}
-          </el-link>
-        </template>
-      </el-table-column>
+
       <el-table-column label="部门(护卫点)" align="center" min-width="100px">
         <template slot-scope="scope">
           <span>{{ scope.row.deptName }}</span>
@@ -108,7 +99,16 @@
           <span>{{ scope.row.createTime }}</span>
         </template>
       </el-table-column>
-
+      <el-table-column :label="$t('table.operation')" align="center" min-width="150px" class-name="small-padding fixed-width">
+        <template slot-scope="{row}">
+          <!--<i v-hasPermission="['user:view']" class="el-icon-view table-operation" style="color: #87d068;" @click="view(row)" />-->
+          <i v-hasPermission="['user:update']" class="el-icon-setting table-operation" style="color: #2db7f5;" @click="edit(row)" />
+          <i v-hasPermission="['user:delete']" class="el-icon-delete table-operation" style="color: #f50;" @click="singleDelete(row)" />
+          <el-link v-has-no-permission="['user:view','user:update','user:delete']" class="no-perm">
+            {{ $t('tips.noPermission') }}
+          </el-link>
+        </template>
+      </el-table-column>
     </el-table>
     <pagination v-show="total>0" :total="total" :page.sync="pagination.num" :limit.sync="pagination.size" @pagination="search" />
     <user-edit

--
Gitblit v1.8.0