From 206dbd1219054b55aa73a789a0c2a6e818b25822 Mon Sep 17 00:00:00 2001 From: fan Date: Wed, 23 Nov 2022 10:37:52 +0800 Subject: [PATCH] =?UTF-8?q?11.22=E4=BF=AE=E6=94=B9=E6=84=8F=E8=A7=81?= =?UTF-8?q?=E9=83=A8=E5=88=86=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/layout/components/Logout.vue | 13 +- src/layout/components/Navbar.vue | 37 +- src/layout/components/userInfo.vue | 23 +- src/router/index.js | 6 + src/views/info/personalInfo.vue | 691 ++++++++++++++++++++ src/views/newMap/display/simulationMenu.vue | 1 + src/views/organization/index.vue | 48 +- 7 files changed, 731 insertions(+), 88 deletions(-) create mode 100644 src/views/info/personalInfo.vue diff --git a/src/layout/components/Logout.vue b/src/layout/components/Logout.vue index d3f4d65b8..9001d5e7a 100644 --- a/src/layout/components/Logout.vue +++ b/src/layout/components/Logout.vue @@ -10,9 +10,6 @@ {{ $t('global.personalDetails') }} - - 教学管理 - 数据统计 @@ -45,15 +42,14 @@ export default { companyAdmin() { return this.$store.state.user.companyAdmin; }, - isNotCompanyAdmin(){ - return this.$store.state.user.companyAdmin==false; + isNotCompanyAdmin() { + return this.$store.state.user.companyAdmin == false; }, isSameProject() { return this.$store.state.user.companyProjectList.includes(getSessionStorage('project').toUpperCase()); }, isCGY() { return getSessionStorage('project') === 'cgy'; - // gzb } }, mounted() { @@ -70,10 +66,7 @@ export default { handleDetail() { this.$refs.userInfo.doShow(); }, - handleOrganization() { - this.$router.push({ path: `/info/organization` }); - }, - handleStatistics(){ + handleStatistics() { this.$router.push({ path: `/info/studentStatistics` }); } } diff --git a/src/layout/components/Navbar.vue b/src/layout/components/Navbar.vue index a52a35cb9..f187926aa 100644 --- a/src/layout/components/Navbar.vue +++ b/src/layout/components/Navbar.vue @@ -82,7 +82,6 @@ style="width: 100%; height: 100%; padding: 0 10px; display: block;" >{{ $t(child.meta.i18n) }} - {{ $t(child.meta.i18n) }} @@ -92,25 +91,27 @@ + + {{ username }} + 个人信息 + 数据统计 +
- - + + +
+ + + diff --git a/src/views/newMap/display/simulationMenu.vue b/src/views/newMap/display/simulationMenu.vue index ba9f18cc1..4c4b38fc3 100644 --- a/src/views/newMap/display/simulationMenu.vue +++ b/src/views/newMap/display/simulationMenu.vue @@ -557,6 +557,7 @@ export default { // }); // }); // this.menuList = this.projectMenuMap[this.project]; + this.menuList = this.allMenuList; window.addEventListener('click', this.close, false); }, diff --git a/src/views/organization/index.vue b/src/views/organization/index.vue index 8f7a43ea7..1963342e1 100644 --- a/src/views/organization/index.vue +++ b/src/views/organization/index.vue @@ -1,22 +1,12 @@