odc.xiaohui
2023-03-18 b4d6e0923d825f3a6cbb12c29b5a522d56362ff8
src/views/layout/components/Header/index.vue
@@ -153,6 +153,18 @@
          url: '',
          id: '3f',
        },
        {
          label: '油烟检测',
          checked: false,
          url: '',
          id: '4f',
        },
        {
          label: '外部链接',
          checked: false,
          url: '',
          id: '5f',
        },
      ],
      flag: {
        user: false,
@@ -171,6 +183,13 @@
  },
  created() {
    this.setLoginInfo();
  },
  watch:{
    $route() {
      this.menuLeftList.map(item=>{
        item.checked = false
      })
    },
  },
  methods: {
    cancelChannel(){
@@ -293,13 +312,19 @@
    },
    menuChange(data) {
      if (data.id === '1f') {
        window.open('http://cockpit.patstech.net:28081/cockpit/dist/board.html#/share-board/zfu0LsJ9', '_blank');
        window.open('http://10.53.156.63/cockpit/dist/board.html#/share-board/6CorSPZG', '_blank');
      }
      if (data.id === '2f') {
        this.$router.push({ path: "/home/video" })
      }
      if (data.id === '3f') {
        this.$router.push({ path: "/home/operate/casepool/pool" })
      }
      if (data.id === '4f') {
        window.open('http://116.62.234.187:8120/#/Customer', '_blank');
      }
      if (data.id === '5f') {
        this.$router.push({ path: "/home/system/platform/externalLinks" })
      }
    }
  }
@@ -352,6 +377,14 @@
    .my-activeno{
      border-radius: 20px;
      color: #fff;
      background-color: #313350;
    }
    .my-active:hover {
      color: #2f54eb;
      background-color: #313350;
    }
    .my-activeno:hover{
      color: #2f54eb;
      background-color: #313350;
    }
  }
@@ -466,8 +499,9 @@
    .user:hover,
    .btn:hover {
      background-color: #092c4a;
      //background-color: #092c4a;
      cursor: pointer;
      color: #2f54eb;
    }
  }
}