zhangzengfei
2022-07-20 4a800a8fc83c6bd1f86a8e847b079a51a7532c09
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/黑色一级icon/授权管理.png",
          whiteIcon: "/images/settings/白色一级icon/授权管理.png",
        },
        {
          name: "域名管理",
          icon: "\ue6db",
          imgUrl: "/images/settings/通用设置.png",
          blackIcon: "/images/settings/黑色一级icon/通用设置.png",
          whiteIcon: "/images/settings/白色一级icon/通用设置.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>