wangting
2024-12-30 306a9c4fde94c54d91aee5a69d59b993c7c707a1
Source/plt-web/plt-web-ui/src/page/index/top/index.vue
@@ -4,8 +4,7 @@
      <div v-if="showCollapse"
           :class="[{ 'avue-breadcrumb--active': isCollapse }]"
           class="avue-breadcrumb">
        <i class="icon-navicon"
           @click="setCollapse"></i>
        <i class="icon-navicon"  @click="setCollapse"></i>
      </div>
    </div>
    <div class="top-bar__title">
@@ -88,8 +87,8 @@
            <el-dropdown-item>
              <router-link to="/">{{ $t('navbar.dashboard') }}</router-link>
            </el-dropdown-item>
            <el-dropdown-item>
              <router-link to="/info/index">{{ $t('navbar.userinfo') }}</router-link>
            <el-dropdown-item @click.native="gotoInfo">
              {{ $t('navbar.userinfo') }}
              <!--            修改密码-->
            </el-dropdown-item>
            <el-dropdown-item v-if="this.website.switchMode" @click.native="switchDept"
@@ -226,6 +225,9 @@
    setScreen() {
      this.$store.commit("SET_FULLSCREN");
    },
    gotoInfo() {
      this.$router.push({path: '/info'});
    },
    switchDept() {
      const userId = this.userInfo.user_id;
      const deptColumn = this.findObject(this.userOption.column, "deptId");