From 7c20a116871248c727d659823ec56d6272298d49 Mon Sep 17 00:00:00 2001 From: Pengxiansen <2422914688@qq.com> Date: Thu, 20 Feb 2025 19:15:55 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/growth/growthpath.js | 4 ++-- src/views/growth/index.vue | 13 +++++++++++++ vue.config.js | 12 +++++++++--- 3 files changed, 24 insertions(+), 5 deletions(-) diff --git a/src/api/growth/growthpath.js b/src/api/growth/growthpath.js index 46849849..db140cf2 100644 --- a/src/api/growth/growthpath.js +++ b/src/api/growth/growthpath.js @@ -1,7 +1,7 @@ // import ajax from '@/utils/xajax.js' import ajax from '../ajax'; -// const baseURL = process.env.VUE_APP_GROWTH_API_PATH; -const baseURL = '/growth'; +const baseURL = process.env.VUE_APP_GROWTH_API_PATH; +// const baseURL = '/growth'; // 查询专业力必修列表 export const listData = (obj) => ajax.get(baseURL, '/professional/student/studentGrowthList', { params: obj }) // 查询专业力统计 diff --git a/src/views/growth/index.vue b/src/views/growth/index.vue index 36bf7d97..bdfe7a03 100644 --- a/src/views/growth/index.vue +++ b/src/views/growth/index.vue @@ -72,6 +72,14 @@
{{ item.electiveTaskCompletedNum }}/{{ item.electiveTaskNum }}
+ + +
{{ electiveTaskCompletionRate(item) }}% @@ -236,6 +244,11 @@ export default { justify-content: center; } .growth { + .el-icon-question { + color: #999; + font-size: 16px; + margin-left: 5px; + } .handler-add-padding { padding: 100px 38px 66px 40px !important; margin-top: -80px; diff --git a/vue.config.js b/vue.config.js index 225ff3db..f5cdee29 100644 --- a/vue.config.js +++ b/vue.config.js @@ -124,11 +124,17 @@ module.exports = { // 114.115.162.187 测试环境 // 192.168.0.107 晋宇 proxy: { - "/growth": { - target: 'https://u-pre.boe.com', + "/professional": { + // target: 'https://u-pre.boe.com', + // target: 'http://192.168.86.195:32002', + target: 'http://192.168.68.211:32002', changeOrigin: true, }, - + // "/growth": { + // // target: 'https://u-pre.boe.com', + // target: 'http://192.168.86.195:32002', + // changeOrigin: true, + // }, '/manageApi': { // 目标代理服务器地址 target: 'https://u-pre.boe.com',