From b6b4764d9a37ea8c5dc66f8d4a8b97e7e066d0bf Mon Sep 17 00:00:00 2001 From: yujialong <479214531@qq.com> Date: Wed, 6 Nov 2024 13:53:02 +0800 Subject: [PATCH] fix --- src/api/index.js | 1 + src/layouts/footer/index.vue | 24 ++++++++-- src/layouts/home/index.vue | 10 +++-- src/pages/account/login/index.vue | 9 +++- src/pages/allocationReview/list/index.vue | 54 ++++++++++++++++++----- src/pages/allocationReview/list/setup.vue | 3 +- 6 files changed, 80 insertions(+), 21 deletions(-) diff --git a/src/api/index.js b/src/api/index.js index a2be25f..739e203 100644 --- a/src/api/index.js +++ b/src/api/index.js @@ -52,4 +52,5 @@ export default { delStaff: `/nakadai/nakadai/backstageStaff/delStaff`, expertResetPassword: `/nakadai/nakadai/backstageStaff/expertResetPassword`, updateAccountEnable: `/nakadai/nakadai/backstageStaff/updateAccountEnable`, + assessmentReviewSettingList: `/competition/competition/readAndAppraise/assessmentReviewSettingList`, } \ No newline at end of file diff --git a/src/layouts/footer/index.vue b/src/layouts/footer/index.vue index f75de72..894abaf 100644 --- a/src/layouts/footer/index.vue +++ b/src/layouts/footer/index.vue @@ -1,6 +1,6 @@ - - + + 粤ICP备20072679号-3 - \ No newline at end of file + \ No newline at end of file diff --git a/src/layouts/home/index.vue b/src/layouts/home/index.vue index 5b513bc..0de83ef 100644 --- a/src/layouts/home/index.vue +++ b/src/layouts/home/index.vue @@ -10,6 +10,7 @@ + @@ -32,8 +33,11 @@ export default { vFooter }, mounted () { - const { token } = this.$route.query + const { token, nakadai } = this.$route.query Setting.isDev && token && localStorage.setItem('review_token', token) + try { + nakadai ? localStorage.setItem('reviewFromNakadai', 1) : localStorage.removeItem('reviewFromNakadai') // 来自中台 + } catch (e) { } }, }; @@ -68,13 +72,13 @@ export default { } .full { - padding: 20px; - .layout { width: 100%; .content { + min-height: calc(100vh - 127px); height: auto; + padding: 0 20px; } } } diff --git a/src/pages/account/login/index.vue b/src/pages/account/login/index.vue index 7de1848..ec6f1a9 100644 --- a/src/pages/account/login/index.vue +++ b/src/pages/account/login/index.vue @@ -64,6 +64,7 @@ 同意,我已阅读 + @@ -100,10 +101,14 @@