mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-14 21:36:42 +08:00
提交
This commit is contained in:
@@ -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 })
|
||||
// 查询专业力统计
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user