From eb2b7f4b2a172bedec253646b47a55595600d056 Mon Sep 17 00:00:00 2001 From: JayChou <2064936853@qq.com> Date: Tue, 24 Sep 2024 17:59:16 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E4=B8=AA=E4=BA=BA=E4=B8=AD?= =?UTF-8?q?=E5=BF=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Layout/tabbar/index.vue | 2 +- src/assets/icons/荣誉资质.svg | 1 + src/router/module/constRouter/index.ts | 70 +-- src/store/module/user.ts | 2 +- src/views/home/index.vue | 4 +- .../personalReport/components/randerChart.vue | 2 +- src/views/userInfo/index.vue | 408 +++++++++++++++++- 7 files changed, 445 insertions(+), 44 deletions(-) create mode 100644 src/assets/icons/荣誉资质.svg diff --git a/src/Layout/tabbar/index.vue b/src/Layout/tabbar/index.vue index a117025..11167c9 100644 --- a/src/Layout/tabbar/index.vue +++ b/src/Layout/tabbar/index.vue @@ -32,7 +32,7 @@ - {{ useUserStore.userInfo.username }} + {{ useUserStore.userInfo.realname }} diff --git a/src/assets/icons/荣誉资质.svg b/src/assets/icons/荣誉资质.svg new file mode 100644 index 0000000..c0013f1 --- /dev/null +++ b/src/assets/icons/荣誉资质.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/router/module/constRouter/index.ts b/src/router/module/constRouter/index.ts index cc0d349..a64940d 100644 --- a/src/router/module/constRouter/index.ts +++ b/src/router/module/constRouter/index.ts @@ -19,36 +19,36 @@ export const constRouter: any = { hidden: false, }, }, - { - path: '/appraise', - name: 'Appraise', - component: () => import('@/views/appraise/index.vue'), - meta: { - icon: '', - title: '竞赛评价', - hidden: false, - }, - }, - { - path: '/navigation', - name: 'Navigation', - component: () => import('@/views/navigation/index.vue'), - meta: { - icon: '', - title: '竞赛导航', - hidden: false, - }, - }, - { - path: '/achievement', - name: 'Achievement', - component: () => import('@/views/achievement/index.vue'), - meta: { - icon: '', - title: '竞赛成果', - hidden: false, - }, - }, + // { + // path: '/appraise', + // name: 'Appraise', + // component: () => import('@/views/appraise/index.vue'), + // meta: { + // icon: '', + // title: '竞赛评价', + // hidden: false, + // }, + // }, + // { + // path: '/navigation', + // name: 'Navigation', + // component: () => import('@/views/navigation/index.vue'), + // meta: { + // icon: '', + // title: '竞赛导航', + // hidden: false, + // }, + // }, + // { + // path: '/achievement', + // name: 'Achievement', + // component: () => import('@/views/achievement/index.vue'), + // meta: { + // icon: '', + // title: '竞赛成果', + // hidden: false, + // }, + // }, { path: '/competition', name: 'Competition', @@ -66,7 +66,7 @@ export const constRouter: any = { meta: { icon: '', title: '报名信息确认/团队', - hidden: false, + hidden: true, }, }, { @@ -76,7 +76,7 @@ export const constRouter: any = { meta: { icon: '', title: '报名信息确认/个人', - hidden: false, + hidden: true, }, }, { @@ -129,7 +129,7 @@ export const constRouter: any = { meta: { icon: '', title: '个人积分管理', - hidden: false, + hidden: true, }, }, { @@ -139,7 +139,7 @@ export const constRouter: any = { meta: { icon: '', title: '个人能力评价', - hidden: false, + hidden: true, }, }, { @@ -149,7 +149,7 @@ export const constRouter: any = { meta: { icon: '', title: '个人能力报告', - hidden: false, + hidden: true, }, }, { diff --git a/src/store/module/user.ts b/src/store/module/user.ts index d66247f..5697be1 100644 --- a/src/store/module/user.ts +++ b/src/store/module/user.ts @@ -23,7 +23,7 @@ const userStore = defineStore('defineStore', { this.userInfo = res.result.userInfo ElNotification({ title: '登录成功', - message: '欢迎回来' + this.userInfo.username, + message: '欢迎回来' + this.userInfo.realname, type: 'success', }) } diff --git a/src/views/home/index.vue b/src/views/home/index.vue index 4d03861..281a429 100644 --- a/src/views/home/index.vue +++ b/src/views/home/index.vue @@ -5,7 +5,7 @@
-
立即报名
+
立即报名