From f2a30ff604b495e3b58eaee54c6cbd8dfe836f5c Mon Sep 17 00:00:00 2001 From: 田源 <tianyuan@vci-tech.com> Date: 星期四, 02 一月 2025 14:57:44 +0800 Subject: [PATCH] 在线人员信息接口名称调整 --- Source/plt-web/plt-web-ui/src/page/index/top/index.vue | 10 ++++++---- 1 files changed, 6 insertions(+), 4 deletions(-) diff --git a/Source/plt-web/plt-web-ui/src/page/index/top/index.vue b/Source/plt-web/plt-web-ui/src/page/index/top/index.vue index 7d9e532..8df1854 100644 --- a/Source/plt-web/plt-web-ui/src/page/index/top/index.vue +++ b/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"); -- Gitblit v1.9.3