From 002484eee22b24fc9f5fbd7826b1036f7c05aa5e Mon Sep 17 00:00:00 2001
From: children117cl <278950112@qq.com>
Date: 星期三, 14 四月 2021 11:06:51 +0800
Subject: [PATCH] 注释角色管理的搜索;更改管理员管理,账号类型的显示判断

---
 src/pages/system/role.vue  |    4 ++--
 src/pages/system/admin.vue |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/pages/system/admin.vue b/src/pages/system/admin.vue
index 322edf3..2f7b289 100644
--- a/src/pages/system/admin.vue
+++ b/src/pages/system/admin.vue
@@ -41,7 +41,7 @@
       <el-table-column label="璐﹀彿" prop="account" align="center" min-width="120" />
       <el-table-column label="璐﹀彿绫诲瀷" prop="account" align="center" min-width="120">
         <template slot-scope="scope">
-          <span v-if="scope.row.type">{{ accountTypeOptions[scope.row.type].name }}</span>
+          <span v-if="accountTypeOptions[scope.row.type]">{{ accountTypeOptions[scope.row.type].name }}</span>
         </template>
       </el-table-column>
       <el-table-column label="瑙掕壊" prop="roleName" align="center" min-width="120" />
diff --git a/src/pages/system/role.vue b/src/pages/system/role.vue
index 4e6e92e..d82fd62 100644
--- a/src/pages/system/role.vue
+++ b/src/pages/system/role.vue
@@ -1,7 +1,7 @@
 <template>
   <div class="app-container">
     <!-- 鎼滅储鍖� 鈫撯啌鈫撯啌鈫撯啌鈫撯啌鈫撯啌 -->
-    <el-form v-show="showSearch" ref="searchForm" :inline="true">
+    <!-- <el-form v-show="showSearch" ref="searchForm" :inline="true">
       <el-form-item label="瑙掕壊鍚嶇О">
         <el-input
           v-model="keyWord"
@@ -17,7 +17,7 @@
         <el-button type="cyan" icon="el-icon-search" size="mini" @click="reGetList">鎼滅储</el-button>
         <el-button icon="el-icon-refresh" size="mini" @click="resetHandle">閲嶇疆</el-button>
       </el-form-item>
-    </el-form>
+    </el-form> -->
     <!-- 鎼滅储鍖� 鈫戔啈鈫戔啈鈫戔啈鈫戔啈鈫戔啈 -->
 
     <!-- 鎿嶄綔鍖� 鈫撯啌鈫撯啌鈫撯啌鈫撯啌鈫撯啌 -->

--
Gitblit v1.8.0