From 5041a24a198686f8c93e0adf497f0f638b6c49c4 Mon Sep 17 00:00:00 2001
From: children117cl <278950112@qq.com>
Date: 星期五, 25 六月 2021 12:46:45 +0800
Subject: [PATCH] 不能删除超管;不能冻结超管

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

diff --git a/src/pages/system/admin.vue b/src/pages/system/admin.vue
index dc81aaf..a37b148 100644
--- a/src/pages/system/admin.vue
+++ b/src/pages/system/admin.vue
@@ -49,6 +49,7 @@
       <el-table-column label="鐘舵��" align="center" min-width="100">
         <template slot-scope="scope">
           <el-switch
+            v-if="scope.row.type!=0"
             v-model="scope.row.isUse"
             :active-value="1"
             :inactive-value="0"
@@ -67,7 +68,7 @@
             @click="showEditAdminDialog(scope.row)"
           >缂栬緫</el-button>
           <el-button
-            v-if="getAuthValueFN('sys_admin_del')"
+            v-if="getAuthValueFN('sys_admin_del') && scope.row.type!=0"
             size="mini"
             type="text warn"
             icon="el-icon-delete"

--
Gitblit v1.8.0