diff --git a/code/web/task_schedule/src/components/HonorListComponent.vue b/code/web/task_schedule/src/components/HonorListComponent.vue index 17915bd..c0324e8 100644 --- a/code/web/task_schedule/src/components/HonorListComponent.vue +++ b/code/web/task_schedule/src/components/HonorListComponent.vue @@ -19,6 +19,12 @@ > 领跑奖 +
+ {{ gainer }} +
+
+ {{ gainer }} +
@@ -109,6 +128,19 @@ export default { height: 100%; } + span { + display: block; + + text-align: center; + color: #fff; + + font: { + size: 2rem; + family: "FZ-ZHUOHEI"; + weight: 100; + } + } + .banner-wrapper { display: flex; justify-content: center; diff --git a/code/web/task_schedule/src/utils/api/config.ts b/code/web/task_schedule/src/utils/api/config.ts index 33b0649..834bd4c 100644 --- a/code/web/task_schedule/src/utils/api/config.ts +++ b/code/web/task_schedule/src/utils/api/config.ts @@ -9,8 +9,8 @@ */ export const API_URL = { // URL_LOGIN: import.meta.env.VITE_URL_LOGIN, - URL_LOGIN: "http://222.76.244.118:11001/admin-system/account/p13_account_check", + URL_LOGIN: "http://222.76.244.118:11101/admin-system/account/p13_account_check", // URL_DEPARTMENT_ARCHIEVEMENT: import.meta.env.VITE_URL_DEPARTMENT_ARCHIEVEMENT, - URL_DEPARTMENT_ARCHIEVEMENT: "http://222.76.244.118:11001/desktop_archievement_backend/archievement/query_department_archievement.do", + URL_DEPARTMENT_ARCHIEVEMENT: "http://222.76.244.118:11101/desktop_archievement_backend/archievement/query_department_archievement.do", }; diff --git a/code/web/task_schedule/src/views/DesktopArchievement.vue b/code/web/task_schedule/src/views/DesktopArchievement.vue index 6fd8b81..d7421c9 100644 --- a/code/web/task_schedule/src/views/DesktopArchievement.vue +++ b/code/web/task_schedule/src/views/DesktopArchievement.vue @@ -3,7 +3,7 @@ * @Date: 2023-03-03 14:38:07 * @LastEditors: Kane * @FilePath: /task_schedule/src/views/DesktopArchievement.vue - * @Description: 显示在桌面上,展示任务量与业绩的view + * @Description: 桌面霸屏的主组件。 * * Copyright (c) ${2022} by Kane, All Rights Reserved. --> @@ -112,8 +112,12 @@ export default { ui.totalArchievement = data.total_archievement; ui.attaching_rate = data.attaching_rate; ui.insurance_renewal_rate = data.insurance_renewal_rate; + ui.leading_reward_gainers = data.leading_reward_gainers; + ui.advance_reward_gainers = data.advance_reward_gainers; + ui.dishonorPersons = data.backward_list; // 更新UI + // 先不显示界面,往队列中加入显示队列的回调,让vue刷新组件。 ui.showUI = false; setTimeout(() => { ui.showUI = true; }, 0 );