From 4a800a8fc83c6bd1f86a8e847b079a51a7532c09 Mon Sep 17 00:00:00 2001
From: zhangzengfei <zhangzengfei@smartai.com>
Date: 星期三, 20 七月 2022 15:05:58 +0800
Subject: [PATCH] 修复国标配置的bug

---
 src/pages/settings/index/index.vue |   21 ++++++++++++++++-----
 1 files changed, 16 insertions(+), 5 deletions(-)

diff --git a/src/pages/settings/index/index.vue b/src/pages/settings/index/index.vue
index 39e6106..e8eaf50 100644
--- a/src/pages/settings/index/index.vue
+++ b/src/pages/settings/index/index.vue
@@ -578,6 +578,7 @@
     ></deviceInfo>
     <Authorization v-if="activeIndex == 7" style="width: 100%" ref="view_7">
     </Authorization>
+    <WebManage v-if="activeIndex == 8"></WebManage>
   </div>
   <div class="welcome-page" v-else ref="curPage" @mouseup="mouseDownIndex = ''">
     <div
@@ -591,7 +592,6 @@
         size="mini"
         @focus="showRecomand = true"
         clearable
-        @input="filterRecomand"
         :suffix-icon="showRecomand && searchText.length ? '' : 'el-icon-search'"
         v-model="searchText"
       >
@@ -651,6 +651,7 @@
 import keyboardLanguage from "../views/keyboardLanguage";
 import generalSettings from "../views/generalSettings";
 import Authorization from "../views/Authorization";
+import WebManage from "@/pages/settings/components/WebManage";
 import { pad0, getUrlKey } from "@/api/utils";
 
 export default {
@@ -664,6 +665,7 @@
     generalSettings,
     deviceInfo,
     Authorization,
+    WebManage,
   },
   data() {
     var v2 = (rule, value, callback) => {
@@ -810,6 +812,13 @@
           imgUrl: "/images/settings/鎺堟潈绠$悊.png",
           blackIcon: "/images/settings/榛戣壊涓�绾con/鎺堟潈绠$悊.png",
           whiteIcon: "/images/settings/鐧借壊涓�绾con/鎺堟潈绠$悊.png",
+        },
+        {
+          name: "鍩熷悕绠$悊",
+          icon: "\ue6db",
+          imgUrl: "/images/settings/閫氱敤璁剧疆.png",
+          blackIcon: "/images/settings/榛戣壊涓�绾con/閫氱敤璁剧疆.png",
+          whiteIcon: "/images/settings/鐧借壊涓�绾con/閫氱敤璁剧疆.png",
         },
       ],
       accountArr: [],
@@ -1495,6 +1504,10 @@
       return false;
     },
     isShowPermitBtn() {
+      // basic 鐢ㄦ埛涓嶅厑璁镐慨鏀规潈闄�
+      if (this.activeUserRole == "瓒呯骇绠$悊鍛�") {
+        return false;
+      }
       if (this.curUserRole == "绠$悊鍛�") {
         return this.activeUserRole == "鏅�氱敤鎴�";
       } else {
@@ -2030,7 +2043,7 @@
 
       .change-pw {
         padding: 40px 10px;
-        max-width: 600px;
+        // max-width: 600px;
         margin: 0 auto;
         .title {
           font-weight: bold;
@@ -2254,7 +2267,7 @@
           line-height: 22px;
         }
         .fill-group {
-          max-width: 450px;
+          //  max-width: 450px;
           margin-top: 10px;
 
           margin: 0 auto;
@@ -2650,5 +2663,3 @@
   }
 }
 </style>
-
-

--
Gitblit v1.8.0