This commit is contained in:
Pengxiansen
2025-02-20 19:15:55 +08:00
parent 09f06b1679
commit 7c20a11687
3 changed files with 24 additions and 5 deletions

View File

@@ -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 })
// 查询专业力统计

View File

@@ -72,6 +72,14 @@
<div style="font-size: 20px; color: #999999; margin-left: 12px">
{{ item.electiveTaskCompletedNum }}/{{ item.electiveTaskNum }}
</div>
<el-tooltip
class="item"
effect="dark"
:content="`需完成${item.electivesCompletedNum}个选修任务`"
placement="top-start"
>
<i class="el-icon-question"></i>
</el-tooltip>
</div>
<div style="font-weight: bold; font-size: 20px; color: #0077ec">
{{ 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;

View File

@@ -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',