zhangzengfei
2020-07-30 d6bf6c38fe15510aac8e56569ca0450fb8656c89
src/pages/settings/index/App.vue
@@ -5,22 +5,12 @@
</template>
<script>
import AuthorityManagement from "../components/AuthorityManagement";
import BasicSetting from "../components/BasicSetting";
import ClusterManagement from "../components/ClusterManagement";
import LogManagement from "../components/LogManagement";
import RadioSet from "../components/RadioSet";
import SystemMaintenance from "../components/SystemMaintenance";
//import EventPush from "../components/systemManage/EventPush/index";
export default {
  name: 'settings',
  components: {
    AuthorityManagement,
    BasicSetting,
    LogManagement,
    RadioSet,
    SystemMaintenance
    BasicSetting
  },
  data() {
    return {
@@ -53,19 +43,19 @@
    },
  },
  created() {
    if(this.isShow('videoSystem:base')){
        this.activeName = "basic"
      }else if(this.isShow('videoSystem:permission')){
        this.activeName = "user"
      }else if(this.isShow('videoSystem:broadcast')){
        this.activeName = "radio"
      }else if(this.isShow('videoSystem:eventPush')){
        this.activeName = "event"
      }else if(this.isShow('videoSystem:logManage')){
        this.activeName = "log"
      }else if(this.isShow('videoSystem:sysManage')){
        this.activeName = "system"
      }
    if (this.isShow('videoSystem:base')) {
      this.activeName = "basic"
    } else if (this.isShow('videoSystem:permission')) {
      this.activeName = "user"
    } else if (this.isShow('videoSystem:broadcast')) {
      this.activeName = "radio"
    } else if (this.isShow('videoSystem:eventPush')) {
      this.activeName = "event"
    } else if (this.isShow('videoSystem:logManage')) {
      this.activeName = "log"
    } else if (this.isShow('videoSystem:sysManage')) {
      this.activeName = "system"
    }
  },
};
</script>
@@ -107,7 +97,7 @@
      }
      .el-tabs__item.is-active {
        color: #3d68e1;
        // border-right-color: #fff;
        // border-left-color: #fff;
      }
@@ -116,7 +106,7 @@
      }
    }
  }
  .el-tabs__header{
  .el-tabs__header {
    margin-bottom: 0;
  }
  .el-tabs__content {