mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-09 02:46:44 +08:00
Compare commits
99 Commits
250219-pre
...
master-202
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
702881c100 | ||
|
|
b0229f6cde | ||
|
|
9c6c1708fc | ||
|
|
b67d7f4311 | ||
|
|
c5e54f0170 | ||
|
|
5c5a71ec55 | ||
|
|
b6a3a32412 | ||
|
|
d6fd44830b | ||
|
|
d01fd6f07b | ||
|
|
f9e332ab7c | ||
|
|
0989360183 | ||
|
|
5e31f7d1a8 | ||
|
|
eaa7f04cd6 | ||
|
|
0d7a2ad353 | ||
|
|
9d9d663591 | ||
|
|
90b53a54b2 | ||
|
|
b89a8266e5 | ||
|
|
49137387f6 | ||
|
|
812c09d65c | ||
|
|
57a87db016 | ||
|
|
2536fca503 | ||
|
|
047b1f9bae | ||
|
|
7162d329ee | ||
|
|
d7d80e8244 | ||
|
|
af208d0a6d | ||
|
|
713f258c14 | ||
|
|
def3892edc | ||
|
|
51a8da4bdb | ||
|
|
6536e36857 | ||
|
|
1bf9398177 | ||
|
|
a5333952c9 | ||
|
|
127f191776 | ||
|
|
e9b9a14b69 | ||
|
|
11a1065df9 | ||
|
|
001452fa2e | ||
|
|
988a7a1e17 | ||
|
|
7fed1a3991 | ||
|
|
5448a9724d | ||
|
|
23928a0865 | ||
|
|
797c08d8fc | ||
|
|
a8d44d0169 | ||
|
|
567bed812b | ||
|
|
2e0fe475f2 | ||
|
|
04ecf6a971 | ||
|
|
5381416a05 | ||
|
|
216141dbd3 | ||
|
|
1dad88c59b | ||
|
|
0f3c53cb31 | ||
|
|
1f4416e9b1 | ||
|
|
2ffe9c1872 | ||
|
|
e74f14baa0 | ||
|
|
aa0fcf6ff0 | ||
|
|
9fba452d2d | ||
|
|
d33e27b3d0 | ||
|
|
3d3f2ebc6e | ||
|
|
b679502553 | ||
|
|
d027a4c56a | ||
|
|
c6b2c46311 | ||
|
|
181892de67 | ||
|
|
a2809f5347 | ||
|
|
609902aeb8 | ||
|
|
6399aa3352 | ||
|
|
23ffd002a7 | ||
|
|
96e0c0fb70 | ||
|
|
6382f6b04d | ||
|
|
4d783ce94d | ||
|
|
b686a9e2a2 | ||
|
|
b52ad264da | ||
|
|
511b3179f6 | ||
|
|
cc48f52fea | ||
|
|
5f230a6543 | ||
|
|
a78f6a0152 | ||
|
|
7c20a11687 | ||
|
|
5b5d73c905 | ||
|
|
09f06b1679 | ||
|
|
c0562c41c0 | ||
|
|
24a34fa779 | ||
|
|
987f69dc64 | ||
|
|
15e15ae5d2 | ||
|
|
5126636193 | ||
|
|
4dd02dcbc6 | ||
|
|
2456cf72ed | ||
|
|
315b01999d | ||
|
|
2b45e63c54 | ||
|
|
1927b5b67f | ||
|
|
1843c9e6aa | ||
|
|
ca25bd9d76 | ||
|
|
091c09204f | ||
|
|
31be7b053e | ||
|
|
178431e7df | ||
|
|
efbf778d80 | ||
|
|
14fdadcec3 | ||
|
|
33feddbe3a | ||
|
|
7756c28679 | ||
|
|
bb45487264 | ||
|
|
df77e5c7dc | ||
|
|
b22dc4539a | ||
|
|
db024ebc2a | ||
|
|
5e7580a936 |
@@ -41,6 +41,7 @@ VUE_APP_PUBLIC_PATH='/pc'
|
|||||||
VUE_APP_MANAGER_PATH='/manage'
|
VUE_APP_MANAGER_PATH='/manage'
|
||||||
VUE_APP_STUDENT_PATH='/fe-student'
|
VUE_APP_STUDENT_PATH='/fe-student'
|
||||||
VUE_APP_MANAGER_API_PATH='/manageApi'
|
VUE_APP_MANAGER_API_PATH='/manageApi'
|
||||||
|
VUE_APP_GROWTH_API_PATH=''
|
||||||
|
|
||||||
# 路由懒加载
|
# 路由懒加载
|
||||||
VUE_CLI_BABEL_TRANSPILE_MODULES = true
|
VUE_CLI_BABEL_TRANSPILE_MODULES = true
|
||||||
|
|||||||
@@ -37,6 +37,7 @@ VUE_APP_PUBLIC_PATH='/pc-release'
|
|||||||
VUE_APP_MANAGER_PATH='/manage-release'
|
VUE_APP_MANAGER_PATH='/manage-release'
|
||||||
VUE_APP_STUDENT_PATH='/fe-student-release'
|
VUE_APP_STUDENT_PATH='/fe-student-release'
|
||||||
VUE_APP_MANAGER_API_PATH='/manageApi-release'
|
VUE_APP_MANAGER_API_PATH='/manageApi-release'
|
||||||
|
VUE_APP_GROWTH_API_PATH='/growth'
|
||||||
|
|
||||||
# 登录地址
|
# 登录地址
|
||||||
VUE_APP_LOGIN_URL='https://u.boe.com/web-release/'
|
VUE_APP_LOGIN_URL='https://u.boe.com/web-release/'
|
||||||
|
|||||||
@@ -16,19 +16,19 @@ VUE_APP_CESOURCE_BASE_API = '/socialApi'
|
|||||||
VUE_APP_STAT_BASE_API = '/statApi'
|
VUE_APP_STAT_BASE_API = '/statApi'
|
||||||
|
|
||||||
# BOE系统网址
|
# BOE系统网址
|
||||||
VUE_APP_BOE_WEB_URL = 'http://10.251.132.75'
|
VUE_APP_BOE_WEB_URL = 'https://u.boe.com'
|
||||||
|
|
||||||
# BOE 移动端url
|
# BOE 移动端url
|
||||||
VUE_APP_BOE_MOBILE_URL = 'http://10.251.132.75'
|
VUE_APP_BOE_MOBILE_URL = 'https://u.boe.com'
|
||||||
|
|
||||||
# File路径的基础url
|
# File路径的基础url
|
||||||
VUE_APP_FILE_BASE_URL='http://10.251.132.75/upload'
|
VUE_APP_FILE_BASE_URL='https://u.boe.com/upload'
|
||||||
|
|
||||||
# File路径的基础url的相对路径,加此项是为了不影响之前的路径配置
|
# File路径的基础url的相对路径,加此项是为了不影响之前的路径配置
|
||||||
VUE_APP_FILE_RELATIVE_PATH = '/upload'
|
VUE_APP_FILE_RELATIVE_PATH = '/upload'
|
||||||
|
|
||||||
# 受众批量导入人员信息URL
|
# 受众批量导入人员信息URL
|
||||||
VUE_APP_AUDIENCE_IMPORT_URL = 'http://10.251.132.75/userbasic/audience/import'
|
VUE_APP_AUDIENCE_IMPORT_URL = 'https://u.boe.com/userbasic/audience/import'
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -37,12 +37,13 @@ VUE_APP_PUBLIC_PATH='/pc'
|
|||||||
VUE_APP_MANAGER_PATH='/manage'
|
VUE_APP_MANAGER_PATH='/manage'
|
||||||
VUE_APP_STUDENT_PATH='/fe-student'
|
VUE_APP_STUDENT_PATH='/fe-student'
|
||||||
VUE_APP_MANAGER_API_PATH='/manageApi'
|
VUE_APP_MANAGER_API_PATH='/manageApi'
|
||||||
|
VUE_APP_GROWTH_API_PATH='/growth'
|
||||||
|
|
||||||
# 登录地址
|
# 登录地址
|
||||||
VUE_APP_LOGIN_URL='http://10.251.132.75/web/'
|
VUE_APP_LOGIN_URL='https://u.boe.com/web/'
|
||||||
|
|
||||||
# scorm课件的播放url地址
|
# scorm课件的播放url地址
|
||||||
VUE_APP_SCORM_URL = 'http://10.251.132.75/newscorm/scorm-player'
|
VUE_APP_SCORM_URL = 'https://u.boe.com/newscorm/scorm-player'
|
||||||
|
|
||||||
#案例组织领域类型
|
#案例组织领域类型
|
||||||
VUE_APP_CASE_TYPE = '155'
|
VUE_APP_CASE_TYPE = '155'
|
||||||
|
|||||||
@@ -36,6 +36,7 @@ VUE_APP_PUBLIC_PATH='/pc'
|
|||||||
VUE_APP_MANAGER_PATH='/manage'
|
VUE_APP_MANAGER_PATH='/manage'
|
||||||
VUE_APP_STUDENT_PATH='/fe-student'
|
VUE_APP_STUDENT_PATH='/fe-student'
|
||||||
VUE_APP_MANAGER_API_PATH='/manageApi'
|
VUE_APP_MANAGER_API_PATH='/manageApi'
|
||||||
|
VUE_APP_GROWTH_API_PATH='/growth'
|
||||||
|
|
||||||
# 登录地址
|
# 登录地址
|
||||||
VUE_APP_LOGIN_URL='https://u-pre.boe.com/web/'
|
VUE_APP_LOGIN_URL='https://u-pre.boe.com/web/'
|
||||||
|
|||||||
16369
package-lock.json
generated
16369
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
8
src/api/growth/growthpath.js
Normal file
8
src/api/growth/growthpath.js
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
// import ajax from '@/utils/xajax.js'
|
||||||
|
import ajax from '../ajax';
|
||||||
|
// const baseURL = process.env.VUE_APP_GROWTH_API_PATH;
|
||||||
|
const baseURL = '/growth';
|
||||||
|
// 查询专业力必修列表
|
||||||
|
export const listData = (obj) => ajax.get(baseURL, '/professional/student/studentGrowthList', { params: obj })
|
||||||
|
// 查询专业力统计
|
||||||
|
export const getTotalGrowthTaskDetail = (obj) => ajax.get(baseURL, '/professional/student/getTotalGrowthTaskDetail', { params: obj })
|
||||||
BIN
src/assets/images/growth/growth-bg-icon.png
Normal file
BIN
src/assets/images/growth/growth-bg-icon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 29 KiB |
BIN
src/assets/images/growth/growth-bg.png
Normal file
BIN
src/assets/images/growth/growth-bg.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 28 KiB |
BIN
src/assets/images/jindu.jpg
Normal file
BIN
src/assets/images/jindu.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.9 KiB |
BIN
src/assets/images/myGrowth.jpg
Normal file
BIN
src/assets/images/myGrowth.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.3 KiB |
BIN
src/assets/images/shuoming.jpg
Normal file
BIN
src/assets/images/shuoming.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.9 KiB |
@@ -329,6 +329,8 @@ export default {
|
|||||||
apiExamPaper.newPaperContent(this.info.id).then(res=>{
|
apiExamPaper.newPaperContent(this.info.id).then(res=>{
|
||||||
if(!res.error&&res.result != ''){
|
if(!res.error&&res.result != ''){
|
||||||
if(this.info.paperType==2){
|
if(this.info.paperType==2){
|
||||||
|
//TODO1
|
||||||
|
console.log("调用开始考试 if paperType == 2")
|
||||||
this.examPaper.json=res.result;
|
this.examPaper.json=res.result;
|
||||||
let qitems=this.convertToItems(this.examPaper.json);
|
let qitems=this.convertToItems(this.examPaper.json);
|
||||||
this.paper ={items:qitems};
|
this.paper ={items:qitems};
|
||||||
@@ -336,9 +338,11 @@ export default {
|
|||||||
this.curItem=qitems[this.curIndex];
|
this.curItem=qitems[this.curIndex];
|
||||||
this.startTime=new Date();//记录开始时间
|
this.startTime=new Date();//记录开始时间
|
||||||
this.timerValue=this.info.testDuration;
|
this.timerValue=this.info.testDuration;
|
||||||
|
this.content.status=1;
|
||||||
this.timer=setInterval(this.changeTimer,60000);
|
this.timer=setInterval(this.changeTimer,60000);
|
||||||
this.testStart=true;
|
this.testStart=true;
|
||||||
}else{
|
}else{
|
||||||
|
console.log("调用开始考试 else paperType != 2")
|
||||||
let paper= {items:res.result};
|
let paper= {items:res.result};
|
||||||
paper.items.forEach(item=>{
|
paper.items.forEach(item=>{
|
||||||
if(item.type==101){
|
if(item.type==101){
|
||||||
@@ -582,8 +586,15 @@ export default {
|
|||||||
apiStudy.saveExam(postData).then(res=>{
|
apiStudy.saveExam(postData).then(res=>{
|
||||||
this.thisTrue = true
|
this.thisTrue = true
|
||||||
if(res.status == 200) {
|
if(res.status == 200) {
|
||||||
|
console.log("获取数据结果 考试 res ==>",res)
|
||||||
this.records.push(res.result);
|
this.records.push(res.result);
|
||||||
this.content.status=9;//表已学习完,判断上级的章是否已完成
|
//TODO 评分更改 最终完成
|
||||||
|
if(res.result.score > res.result.passLine){
|
||||||
|
this.content.status=9;//表已学习完,判断上级的章是否已完成
|
||||||
|
}else{
|
||||||
|
this.content.status=1;
|
||||||
|
}
|
||||||
|
|
||||||
this.studyItemId=res.result.studyItemId;//第一次保存时是没有的,所以这里要赋值
|
this.studyItemId=res.result.studyItemId;//第一次保存时是没有的,所以这里要赋值
|
||||||
this.$alert('您本次考试得分:'+this.lastScore, '考试成绩', {
|
this.$alert('您本次考试得分:'+this.lastScore, '考试成绩', {
|
||||||
confirmButtonText: '确定',
|
confirmButtonText: '确定',
|
||||||
|
|||||||
@@ -13,7 +13,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<!-- <div style="color: red;">下面的表格标题及内容需要调整完善</div> -->
|
<!-- <div style="color: red;">下面的表格标题及内容需要调整完善</div> -->
|
||||||
<div>
|
<div>
|
||||||
<el-tabs v-model="tabName" @tab-click="handleTabClick">
|
<el-tabs style="width: 100%;" v-model="tabName" @tab-click="handleTabClick">
|
||||||
<el-tab-pane label="报名管理" name="second">
|
<el-tab-pane label="报名管理" name="second">
|
||||||
<!-- <div>已报名{{study.list.length}}人,共有0人报名未成功,共有{{study.list.length}}人通过审核</div> -->
|
<!-- <div>已报名{{study.list.length}}人,共有0人报名未成功,共有{{study.list.length}}人通过审核</div> -->
|
||||||
<el-row style="margin: 20px 0;" :gutter="20">
|
<el-row style="margin: 20px 0;" :gutter="20">
|
||||||
@@ -863,4 +863,19 @@ export default {
|
|||||||
height: 400px;
|
height: 400px;
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.el-tabs__nav-wrap::after {
|
||||||
|
display: none; /* 隐藏滚动条轨道 */
|
||||||
|
}
|
||||||
|
|
||||||
|
.el-tabs__nav-scroll {
|
||||||
|
overflow: hidden; /* 隐藏滚动条滑块 */
|
||||||
|
}
|
||||||
|
|
||||||
|
/* 隐藏垂直滚动条 */
|
||||||
|
.el-table .el-table__body-wrapper::-webkit-scrollbar {
|
||||||
|
display: none; /* Chrome, Safari, Opera*/
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@@ -14,7 +14,7 @@
|
|||||||
:default-active="activeMenu"
|
:default-active="activeMenu"
|
||||||
router
|
router
|
||||||
active-text-color="#3379FB"
|
active-text-color="#3379FB"
|
||||||
:default-openeds="['manageTodo','manageFinish','teacherTodo','teacherFinish','lecturer','myqa','notice','mystudy', 'course', 'exam', 'u001', 'u002', 'u003', 'u004','mylecnotes','mycaseRecord']"
|
:default-openeds="['manageTodo','manageFinish','teacherTodo','teacherFinish','lecturer','myqa','notice','mystudy','myGrowth', 'course', 'exam', 'u001', 'u002', 'u003', 'u004','mylecnotes','mycaseRecord']"
|
||||||
class="el-menu-vertical"
|
class="el-menu-vertical"
|
||||||
@open="handleOpen"
|
@open="handleOpen"
|
||||||
@close="handleClose"
|
@close="handleClose"
|
||||||
@@ -242,6 +242,20 @@
|
|||||||
<svg-icon :icon-class="activeMenu == '/user/medal'?'myxunzhang-active':'myxunzhang'"></svg-icon>
|
<svg-icon :icon-class="activeMenu == '/user/medal'?'myxunzhang-active':'myxunzhang'"></svg-icon>
|
||||||
<span slot="title">我的勋章</span>
|
<span slot="title">我的勋章</span>
|
||||||
</el-menu-item>
|
</el-menu-item>
|
||||||
|
<template v-if="showGrowthNav">
|
||||||
|
<el-submenu index="myGrowth" v-show="curIdentity == 1">
|
||||||
|
<template slot="title">
|
||||||
|
<!-- <i class="el-icon-s-grid"></i> -->
|
||||||
|
<img src="../../assets/images/myGrowth.jpg" style="width: 1em;height: 1em;margin-right: 8px;"></img>
|
||||||
|
<span>我的必修</span>
|
||||||
|
</template>
|
||||||
|
<el-menu-item index="/growth/growthPage">
|
||||||
|
<!-- <i class="el-icon-menu"></i> -->
|
||||||
|
<span slot="title" class="study textl">专业力必修</span>
|
||||||
|
</el-menu-item>
|
||||||
|
</el-submenu>
|
||||||
|
</template>
|
||||||
|
|
||||||
<el-submenu index="mystudy" v-show="curIdentity == 1">
|
<el-submenu index="mystudy" v-show="curIdentity == 1">
|
||||||
<template slot="title">
|
<template slot="title">
|
||||||
<!-- <i class="el-icon-s-grid"></i> -->
|
<!-- <i class="el-icon-s-grid"></i> -->
|
||||||
@@ -385,6 +399,7 @@ import { mapGetters } from 'vuex';
|
|||||||
import apicourseStudy from "../../api/modules/courseStudy.js"
|
import apicourseStudy from "../../api/modules/courseStudy.js"
|
||||||
import {pageList} from "@/api/modules/lecturer"
|
import {pageList} from "@/api/modules/lecturer"
|
||||||
import courseImage from "@/components/Course/courseImage.vue"
|
import courseImage from "@/components/Course/courseImage.vue"
|
||||||
|
import { listData } from "@/api/growth/growthpath"
|
||||||
import testUser from '@/utils/testUsers.js'
|
import testUser from '@/utils/testUsers.js'
|
||||||
export default {
|
export default {
|
||||||
name: 'UcMenu',
|
name: 'UcMenu',
|
||||||
@@ -413,7 +428,8 @@ export default {
|
|||||||
isCollapse: false,
|
isCollapse: false,
|
||||||
lastStudy:{},
|
lastStudy:{},
|
||||||
overlayShow: false,
|
overlayShow: false,
|
||||||
instructor:0
|
instructor:0,
|
||||||
|
showGrowthNav: false
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
@@ -422,6 +438,11 @@ export default {
|
|||||||
this.getLastStudy();
|
this.getLastStudy();
|
||||||
//获取讲师认证中条数
|
//获取讲师认证中条数
|
||||||
this.instructorCertification()
|
this.instructorCertification()
|
||||||
|
console.log(this.userInfo,'userInfouserInfo')
|
||||||
|
//如果专业力必修没有学习任务则隐藏“我的必修按钮”
|
||||||
|
listData().then(res => {
|
||||||
|
this.showGrowthNav = !!res.data.length
|
||||||
|
})
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
//console.log(this.userInfo.loginName,'this.userInfo.loginName');
|
//console.log(this.userInfo.loginName,'this.userInfo.loginName');
|
||||||
|
|||||||
@@ -18,7 +18,6 @@
|
|||||||
@keydown.right.prevent="forwardCurrentTime"
|
@keydown.right.prevent="forwardCurrentTime"
|
||||||
@keydown.up.prevent="increaseVolume"
|
@keydown.up.prevent="increaseVolume"
|
||||||
@keydown.down.prevent="lowerVolume"
|
@keydown.down.prevent="lowerVolume"
|
||||||
@keydown.esc.prevent="toggleFullScreen"
|
|
||||||
tabindex="0"
|
tabindex="0"
|
||||||
width="100%"
|
width="100%"
|
||||||
height="100%"
|
height="100%"
|
||||||
@@ -385,9 +384,26 @@ export default {
|
|||||||
console.log('\x1b[31m%s\x1b[0m','*****************加载失败**********')
|
console.log('\x1b[31m%s\x1b[0m','*****************加载失败**********')
|
||||||
})
|
})
|
||||||
// 监听全屏事件的变化,保存数据
|
// 监听全屏事件的变化,保存数据
|
||||||
window.addEventListener("fullscreenchange", () => {
|
window.addEventListener("F", () => {
|
||||||
this.isFullscreen = this.isFullScreen();
|
this.isFullscreen = this.isFullScreen();
|
||||||
});
|
});
|
||||||
|
document.addEventListener('fullscreenchange',this.handleFullscreenChange);
|
||||||
|
document.addEventListener('webkitfullscreenchange',this.handleFullscreenChange );
|
||||||
|
// this.videoDom.addEventListener('keydown', function(e){
|
||||||
|
// //console.log('\x1b[31m%s\x1b[0m','*****************加载失败**********')
|
||||||
|
// console.log("video is exit");
|
||||||
|
// if(e.key === "Escape"){
|
||||||
|
// console.log("按键 退出全屏 执行")
|
||||||
|
// }
|
||||||
|
// })
|
||||||
|
|
||||||
|
// this.videoDom.addEventListener("keydown", (e) => {
|
||||||
|
// console.log("是否监听到");
|
||||||
|
// if(e.keyCode == 27){
|
||||||
|
// console.log("是否监听到 esc");
|
||||||
|
// this.toggleFullScreen();
|
||||||
|
// }
|
||||||
|
// });
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
//当视频由于需要缓冲下一帧而停止,解决一直计时的问题
|
//当视频由于需要缓冲下一帧而停止,解决一直计时的问题
|
||||||
@@ -490,6 +506,13 @@ export default {
|
|||||||
updateProgressBySetTime(newCurrentTime) {
|
updateProgressBySetTime(newCurrentTime) {
|
||||||
this.currentProgress = newCurrentTime / this.videoDom.duration;
|
this.currentProgress = newCurrentTime / this.videoDom.duration;
|
||||||
},
|
},
|
||||||
|
/* 点击进度条更新视频播放进度2
|
||||||
|
*/
|
||||||
|
updateProgressByClickBar2(newCurrentTime,progressVideo) {
|
||||||
|
this.currentProgress = progressVideo;
|
||||||
|
this.barrageTimelineStart = newCurrentTime;
|
||||||
|
this.videoDom.currentTime = newCurrentTime;
|
||||||
|
},
|
||||||
/* 提高视频音量
|
/* 提高视频音量
|
||||||
*/
|
*/
|
||||||
increaseVolume() {
|
increaseVolume() {
|
||||||
@@ -540,6 +563,7 @@ export default {
|
|||||||
/* 切换“全屏”和“非全屏”模式
|
/* 切换“全屏”和“非全屏”模式
|
||||||
*/
|
*/
|
||||||
toggleFullScreen() {
|
toggleFullScreen() {
|
||||||
|
console.log("toggleFullScreen 执行 ",this.isFullScreen())
|
||||||
let element = this.$refs.area;
|
let element = this.$refs.area;
|
||||||
if (!this.isFullScreen()) {
|
if (!this.isFullScreen()) {
|
||||||
if (element.requestFullscreen) {
|
if (element.requestFullscreen) {
|
||||||
@@ -596,6 +620,24 @@ export default {
|
|||||||
const currentTime = this.$refs.video.currentTime;
|
const currentTime = this.$refs.video.currentTime;
|
||||||
this.$emit('onTimeUpdate', currentTime);
|
this.$emit('onTimeUpdate', currentTime);
|
||||||
},
|
},
|
||||||
|
/**
|
||||||
|
* 监听全屏变化
|
||||||
|
*/
|
||||||
|
handleFullscreenChange() {
|
||||||
|
console.log("handleFullscreenChange gx this.isFullScreen()",this.isFullScreen())
|
||||||
|
console.log("handleFullscreenChange gx this.isFullscreen",this.isFullscreen)
|
||||||
|
|
||||||
|
if(this.isFullscreen){
|
||||||
|
this.isFullscreen = !!document.fullscreenElement;
|
||||||
|
if (!this.isFullscreen) {
|
||||||
|
// 退出全屏后的逻辑(如暂停视频、更新 UI 等)
|
||||||
|
console.log('ESC 已退出全屏 handleFullscreenChange',this.isFullscreen);
|
||||||
|
this.$emit('onFullscreen',false);//全屏
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
currentVolume: function () {
|
currentVolume: function () {
|
||||||
|
|||||||
@@ -82,6 +82,9 @@ export const pages=[
|
|||||||
{title:'学习路径图',path:'path',component:'study/StudyPath',hidden:false},
|
{title:'学习路径图',path:'path',component:'study/StudyPath',hidden:false},
|
||||||
{title:'学习项目',path:'project',component:'study/StudyProject',hidden:false}
|
{title:'学习项目',path:'project',component:'study/StudyProject',hidden:false}
|
||||||
]},
|
]},
|
||||||
|
{title:'我的必修',path:'/growth',hidden:false,children:[
|
||||||
|
{title:'专业力必修',path:'growthPage',component:'growth/index',hidden:false},
|
||||||
|
]},
|
||||||
{title:'个人中心',path:'/uc',hidden:false,children:[
|
{title:'个人中心',path:'/uc',hidden:false,children:[
|
||||||
{title:'首页',path:'index',component:'StudyIndex',hidden:false}
|
{title:'首页',path:'index',component:'StudyIndex',hidden:false}
|
||||||
]},
|
]},
|
||||||
|
|||||||
@@ -6,7 +6,10 @@
|
|||||||
<!-- <div style="height: 20px;"></div> -->
|
<!-- <div style="height: 20px;"></div> -->
|
||||||
</div>
|
</div>
|
||||||
<!-- width: 990px; -->
|
<!-- width: 990px; -->
|
||||||
<div class="main-body" style="padding: 30px 20px;flex:1; background-color: #fff;margin-left: 20px;">
|
<div class="main-body" :style="{
|
||||||
|
backgroundColor: bgColor,
|
||||||
|
padding
|
||||||
|
}" style="flex:1; margin-left: 20px;">
|
||||||
<!-- <div style="margin-bottom: 10px;padding:10px; border-bottom: 1px solid #dbdbdb;"> -->
|
<!-- <div style="margin-bottom: 10px;padding:10px; border-bottom: 1px solid #dbdbdb;"> -->
|
||||||
<!-- <el-breadcrumb separator-class="el-icon-arrow-right">
|
<!-- <el-breadcrumb separator-class="el-icon-arrow-right">
|
||||||
<el-breadcrumb-item :to="{ path: '/uc/index' }"><i class="el-icon-arrow-right"></i>个人中心</el-breadcrumb-item>
|
<el-breadcrumb-item :to="{ path: '/uc/index' }"><i class="el-icon-arrow-right"></i>个人中心</el-breadcrumb-item>
|
||||||
@@ -15,10 +18,12 @@
|
|||||||
<!-- </div> -->
|
<!-- </div> -->
|
||||||
<transition name="fade-transform" mode="out-in">
|
<transition name="fade-transform" mode="out-in">
|
||||||
<keep-alive :include="cachedViews">
|
<keep-alive :include="cachedViews">
|
||||||
<div style="background-color: #FFFFFF;min-height: 600px;padding-bottom: 50px;">
|
<div :style="{
|
||||||
|
backgroundColor: bgColor
|
||||||
|
}" style="min-height: 600px;padding-bottom: 50px;">
|
||||||
<router-view :key="key" />
|
<router-view :key="key" />
|
||||||
</div>
|
</div>
|
||||||
</keep-alive>
|
</keep-alive>
|
||||||
</transition>
|
</transition>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -39,7 +44,14 @@ export default {
|
|||||||
return this.$route.meta.title;
|
return this.$route.meta.title;
|
||||||
},
|
},
|
||||||
key() {
|
key() {
|
||||||
|
console.log(this.$route)
|
||||||
return this.$route.path
|
return this.$route.path
|
||||||
|
},
|
||||||
|
bgColor() {
|
||||||
|
return this.$route.path === "/growth/growthPage" ? "rgba(0,0,0,0)" : "#fff";
|
||||||
|
},
|
||||||
|
padding(){
|
||||||
|
return this.$route.path === "/growth/growthPage" ? "0" : "30px 20px";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
<div class="box" :class="{ incl: url.includes('projectdetails') }">
|
<div class="box" :class="{ incl: url.includes('projectdetails') }">
|
||||||
<portal-header style="background: #387DF7;" :hideSearch="true" textColor="#ffffff"></portal-header>
|
<portal-header style="background: #387DF7;" :hideSearch="true" textColor="#ffffff"></portal-header>
|
||||||
<iframe :src="url" style="width: 100%;height: 100%;" frameborder="0" ref="iframe"></iframe>
|
<iframe :src="url" style="width: 100%;height: 100%;" frameborder="0" ref="iframe"></iframe>
|
||||||
<portal-footer></portal-footer>
|
<portal-footer v-if="isShowFooter"></portal-footer>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<script>
|
<script>
|
||||||
@@ -16,7 +16,8 @@ import portalFooter from "@/components/PortalFooter.vue";
|
|||||||
data(){
|
data(){
|
||||||
return {
|
return {
|
||||||
url: "",
|
url: "",
|
||||||
boeUrl:process.env.VUE_APP_BOE_WEB_URL
|
boeUrl:process.env.VUE_APP_BOE_WEB_URL,
|
||||||
|
isShowFooter:true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
@@ -24,6 +25,10 @@ import portalFooter from "@/components/PortalFooter.vue";
|
|||||||
let to = this.$route.query.to;//跳转的地址,以 /开头的地址
|
let to = this.$route.query.to;//跳转的地址,以 /开头的地址
|
||||||
let urlPre=window.location.protocol+'//'+window.location.host;
|
let urlPre=window.location.protocol+'//'+window.location.host;
|
||||||
this.url=urlPre+to
|
this.url=urlPre+to
|
||||||
|
|
||||||
|
if(to.includes('growthList')){
|
||||||
|
this.isShowFooter = false
|
||||||
|
}
|
||||||
if(params){
|
if(params){
|
||||||
this.url=this.url+'?'+params;
|
this.url=this.url+'?'+params;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
<!--
|
||||||
<template>
|
<template>
|
||||||
<div class="login" :style="`background: url(${webBaseUrl}/temp/background.jpg) no-repeat`">
|
<div class="login" :style="`background: url(${webBaseUrl}/temp/background.jpg) no-repeat`">
|
||||||
<el-form :model="form" ref="form" :rules="rules">
|
<el-form :model="form" ref="form" :rules="rules">
|
||||||
@@ -24,7 +25,7 @@
|
|||||||
<el-form-item>
|
<el-form-item>
|
||||||
<section>
|
<section>
|
||||||
<el-checkbox v-model="rememberMe">记住密码</el-checkbox>
|
<el-checkbox v-model="rememberMe">记住密码</el-checkbox>
|
||||||
<!-- <span>忘记密码</span> -->
|
<!– <span>忘记密码</span> –>
|
||||||
</section>
|
</section>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item><el-button type="primary" @click="loginSubmit">点击登录</el-button></el-form-item>
|
<el-form-item><el-button type="primary" @click="loginSubmit">点击登录</el-button></el-form-item>
|
||||||
@@ -194,3 +195,4 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
-->
|
||||||
|
|||||||
@@ -195,7 +195,15 @@
|
|||||||
</template>
|
</template>
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
<!--课程管理-->
|
<!--课程管理-->
|
||||||
<el-dialog custom-class="g-dialog" title="课程学习管理" width="900px" :visible.sync="manageStudy.dlgShow" :close-on-click-modal="false">
|
<el-dialog
|
||||||
|
custom-class="g-dialog"
|
||||||
|
title="课程学习管理"
|
||||||
|
width="900px"
|
||||||
|
height="900px"
|
||||||
|
:visible.sync="manageStudy.dlgShow"
|
||||||
|
:close-on-click-modal="false"
|
||||||
|
|
||||||
|
>
|
||||||
<manager :manageStudyData="manageStudyData" :isShowDialog="manageStudy.dlgShow"></manager>
|
<manager :manageStudyData="manageStudyData" :isShowDialog="manageStudy.dlgShow"></manager>
|
||||||
<template #footer>
|
<template #footer>
|
||||||
<el-button @click="manageStudy.dlgShow = false">关闭</el-button>
|
<el-button @click="manageStudy.dlgShow = false">关闭</el-button>
|
||||||
@@ -668,8 +676,10 @@ export default {
|
|||||||
}
|
}
|
||||||
apiCourse.pageList(this.params).then(rs=>{
|
apiCourse.pageList(this.params).then(rs=>{
|
||||||
if(rs.status==200){
|
if(rs.status==200){
|
||||||
this.pageData = rs.result.list;
|
this.pageData = rs.result.list ? rs.result.list : [];
|
||||||
|
// this.pageData = rs.result.list;
|
||||||
this.page.count = rs.result.count;
|
this.page.count = rs.result.count;
|
||||||
|
this.page.pageSize = rs.result.pageSize;
|
||||||
}else{
|
}else{
|
||||||
return this.$message.error(rs.message);
|
return this.$message.error(rs.message);
|
||||||
}
|
}
|
||||||
@@ -939,4 +949,8 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.el-dialog__body {
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
390
src/views/growth/index.vue
Normal file
390
src/views/growth/index.vue
Normal file
@@ -0,0 +1,390 @@
|
|||||||
|
<template>
|
||||||
|
<div class="growth" v-loading="loading" id="scrollContainer">
|
||||||
|
<div class="growth-left">
|
||||||
|
<div class="navbar">
|
||||||
|
<div style="display: flex; flex: 1">
|
||||||
|
<div class="nav-title">我的专业力必修</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="growth-item" v-for="item of list" :id="item.id">
|
||||||
|
<div class="growth-nav">
|
||||||
|
<div class="growth-name">{{ item.growthName }}</div>
|
||||||
|
<div class="f-a-c">
|
||||||
|
<div
|
||||||
|
class="growth-state"
|
||||||
|
:style="{
|
||||||
|
color:
|
||||||
|
item.learningState === 0
|
||||||
|
? '#999999'
|
||||||
|
: item.learningState === 1
|
||||||
|
? '#6ba158'
|
||||||
|
: '#F2903D',
|
||||||
|
}"
|
||||||
|
>
|
||||||
|
{{
|
||||||
|
item.learningState === 0
|
||||||
|
? "未开始"
|
||||||
|
: item.learningState === 1
|
||||||
|
? "已完成"
|
||||||
|
: "进行中"
|
||||||
|
}}
|
||||||
|
</div>
|
||||||
|
<div class="growth-btn" @click="jumpRouter(item)">去学习</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<template v-if="item.description">
|
||||||
|
<div class="tip-title">说明</div>
|
||||||
|
<div class="tip-content">
|
||||||
|
{{ item.description || "暂无说明" }}
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<div class="progress-title">学习进度</div>
|
||||||
|
|
||||||
|
<div class="progress-content">
|
||||||
|
<div class="f-j-b" style="margin-bottom: 10px">
|
||||||
|
<div class="f-a-c">
|
||||||
|
<div style="font-size: 16px; color: #333333">必修进度</div>
|
||||||
|
<div style="font-size: 18px; color: #999999; margin-left: 12px">
|
||||||
|
{{ item.requiredTaskCompletedNum }}/{{ item.requiredTaskNum }}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div style="font-size: 18px; color: #0077ec">
|
||||||
|
{{ requiredTaskCompletionRate(item) }}%
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<el-progress
|
||||||
|
:stroke-width="6"
|
||||||
|
:show-text="false"
|
||||||
|
:percentage="requiredTaskCompletionRate(item)"
|
||||||
|
color="#0077EC"
|
||||||
|
></el-progress>
|
||||||
|
</div>
|
||||||
|
<template v-if="item.electiveTaskNum !== 0">
|
||||||
|
<div class="progress-content">
|
||||||
|
<div class="f-j-b" style="margin-bottom: 10px">
|
||||||
|
<div class="f-a-c">
|
||||||
|
<div style="font-size: 16px; color: #333333">选修进度</div>
|
||||||
|
<div style="font-size: 18px; color: #999999; margin-left: 12px">
|
||||||
|
{{ item.electiveTaskCompletedNum }}/{{ item.electiveTaskNum }}
|
||||||
|
</div>
|
||||||
|
<el-tooltip
|
||||||
|
class="item"
|
||||||
|
effect="light"
|
||||||
|
:content="`还需完成${item.electivePoorNum}个选修任务`"
|
||||||
|
placement="top-start"
|
||||||
|
>
|
||||||
|
<i class="el-icon-question"></i>
|
||||||
|
</el-tooltip>
|
||||||
|
</div>
|
||||||
|
<div style="font-size: 18px; color: #0077ec">
|
||||||
|
{{ electiveTaskCompletionRate(item) }}%
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<el-progress
|
||||||
|
:stroke-width="6"
|
||||||
|
:show-text="false"
|
||||||
|
color="#0077EC"
|
||||||
|
:percentage="electiveTaskCompletionRate(item)"
|
||||||
|
></el-progress>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
<div class="progress-content">
|
||||||
|
<div class="f-j-b" style="margin-bottom: 10px">
|
||||||
|
<div class="f-a-c">
|
||||||
|
<div style="font-size: 16px; color: #333333">总进度</div>
|
||||||
|
<div style="font-size: 18px; color: #999999; margin-left: 12px">
|
||||||
|
{{ item.totalTaskCompletedNum }}/{{ item.totalTaskNum }}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div style="font-size: 18px; color: #0077ec">
|
||||||
|
{{ totalTaskCompletionRate(item) }}%
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<el-progress
|
||||||
|
:stroke-width="6"
|
||||||
|
:show-text="false"
|
||||||
|
color="#0077EC"
|
||||||
|
:percentage="totalTaskCompletionRate(item)"
|
||||||
|
></el-progress>
|
||||||
|
</div>
|
||||||
|
<div class="growth-bg-icon">
|
||||||
|
<img src="@/assets/images/growth/growth-bg-icon.png" />
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<template v-if="!list.length">
|
||||||
|
<div class="empty">
|
||||||
|
<el-empty :image-size="200"></el-empty>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
</div>
|
||||||
|
<!-- <template v-if="!list || list.length < 2">
|
||||||
|
<div class="growth-right">
|
||||||
|
<div class="title">专业力必修</div>
|
||||||
|
<div
|
||||||
|
:key="item.id"
|
||||||
|
class="item-growth"
|
||||||
|
:class="activeItem.id == item.id ? 'active' : ''"
|
||||||
|
v-for="item of list"
|
||||||
|
>
|
||||||
|
<div class="icon"></div>
|
||||||
|
<div @click="handlerAnchor(item)">
|
||||||
|
{{ item.growthName }}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</template> -->
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
<script>
|
||||||
|
import { listData, getTotalGrowthTaskDetail } from "@/api/growth/growthpath";
|
||||||
|
export default {
|
||||||
|
data() {
|
||||||
|
return {
|
||||||
|
list: [],
|
||||||
|
loading: false,
|
||||||
|
totalData: {},
|
||||||
|
activeItem: {},
|
||||||
|
};
|
||||||
|
},
|
||||||
|
computed: {
|
||||||
|
// 完成进度
|
||||||
|
totalTaskCompletionRate() {
|
||||||
|
return (item) => {
|
||||||
|
if (item.totalTaskCompletedNum && item.totalTaskNum) {
|
||||||
|
let num = item.totalTaskCompletedNum / item.totalTaskNum;
|
||||||
|
num = num * 100;
|
||||||
|
num = num.toFixed(0);
|
||||||
|
return Number(num);
|
||||||
|
} else {
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
};
|
||||||
|
},
|
||||||
|
// 选修进度
|
||||||
|
electiveTaskCompletionRate() {
|
||||||
|
return (item) => {
|
||||||
|
if (item.electiveTaskCompletedNum && item.electiveTaskNum) {
|
||||||
|
let num = item.electiveTaskCompletedNum / item.electiveTaskNum;
|
||||||
|
num = num * 100;
|
||||||
|
num = num.toFixed(0);
|
||||||
|
return Number(num);
|
||||||
|
} else if (item.electiveTaskNum == 0) {
|
||||||
|
return 100;
|
||||||
|
} else {
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
};
|
||||||
|
},
|
||||||
|
// 必修进度
|
||||||
|
requiredTaskCompletionRate() {
|
||||||
|
return (item) => {
|
||||||
|
if (item.requiredTaskCompletedNum && item.requiredTaskNum) {
|
||||||
|
let num = item.requiredTaskCompletedNum / item.requiredTaskNum;
|
||||||
|
num = num * 100;
|
||||||
|
num = num.toFixed(0);
|
||||||
|
return Number(num);
|
||||||
|
} else {
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
};
|
||||||
|
},
|
||||||
|
},
|
||||||
|
methods: {
|
||||||
|
select(item) {},
|
||||||
|
jumpRouter(item) {
|
||||||
|
let studentPath = process.env.VUE_APP_STUDENT_PATH;
|
||||||
|
let params = encodeURIComponent("routerId=" + item.id);
|
||||||
|
this.$router.push(
|
||||||
|
"/forward?to=" + studentPath + "/growthList¶ms=" + params
|
||||||
|
);
|
||||||
|
},
|
||||||
|
|
||||||
|
handlerAnchor(item, index) {
|
||||||
|
this.activeItem = item;
|
||||||
|
let dom = document.getElementById(`${item.id}`);
|
||||||
|
dom.classList.add("handler-add-padding");
|
||||||
|
dom.scrollIntoView({ behavior: "smooth" });
|
||||||
|
},
|
||||||
|
},
|
||||||
|
created() {
|
||||||
|
this.loading = true;
|
||||||
|
listData().then((res) => {
|
||||||
|
this.activeItem = res.data[0];
|
||||||
|
this.list = res.data;
|
||||||
|
this.loading = false;
|
||||||
|
});
|
||||||
|
getTotalGrowthTaskDetail().then((res) => {
|
||||||
|
this.totalData = res.data;
|
||||||
|
});
|
||||||
|
// 处理滚动事件的代码
|
||||||
|
let that = this;
|
||||||
|
window.addEventListener("scroll", function () {
|
||||||
|
let dom = document.getElementById(`${that.activeItem.id}`);
|
||||||
|
if (dom) {
|
||||||
|
dom.classList.remove("handler-add-padding");
|
||||||
|
}
|
||||||
|
});
|
||||||
|
},
|
||||||
|
};
|
||||||
|
</script>
|
||||||
|
<style lang="less" scoped>
|
||||||
|
.f-a-c {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
.f-j-b {
|
||||||
|
display: flex;
|
||||||
|
justify-content: space-between;
|
||||||
|
}
|
||||||
|
.f-j-c {
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
}
|
||||||
|
.growth {
|
||||||
|
.empty {
|
||||||
|
height: 600px;
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
background-color: #ffffff;
|
||||||
|
}
|
||||||
|
.el-icon-question {
|
||||||
|
color: #387df7;
|
||||||
|
font-size: 16px;
|
||||||
|
margin-left: 5px;
|
||||||
|
}
|
||||||
|
.handler-add-padding {
|
||||||
|
padding: 100px 38px 66px 40px !important;
|
||||||
|
margin-top: -80px;
|
||||||
|
}
|
||||||
|
display: flex;
|
||||||
|
.growth-left {
|
||||||
|
margin-right: 10px;
|
||||||
|
|
||||||
|
flex: 1;
|
||||||
|
.growth-item {
|
||||||
|
background: #ffffff;
|
||||||
|
padding: 30px 38px 66px 40px;
|
||||||
|
margin-bottom: 35px;
|
||||||
|
position: relative;
|
||||||
|
.growth-bg-icon {
|
||||||
|
position: absolute;
|
||||||
|
right: 92px;
|
||||||
|
bottom: 0;
|
||||||
|
}
|
||||||
|
.progress-title {
|
||||||
|
// font-weight: 700;
|
||||||
|
font-size: 18px;
|
||||||
|
color: #000000;
|
||||||
|
margin: 28px 0 20px 0;
|
||||||
|
}
|
||||||
|
.progress-content {
|
||||||
|
margin-bottom: 28px;
|
||||||
|
}
|
||||||
|
.tip-title {
|
||||||
|
// font-weight: 700;
|
||||||
|
font-size: 18px;
|
||||||
|
color: #000000;
|
||||||
|
margin: 30px 0 10px 0;
|
||||||
|
}
|
||||||
|
.tip-content {
|
||||||
|
font-size: 16px;
|
||||||
|
color: #333333;
|
||||||
|
line-height: 30px;
|
||||||
|
}
|
||||||
|
.growth-nav {
|
||||||
|
display: flex;
|
||||||
|
justify-content: space-between;
|
||||||
|
align-items: center;
|
||||||
|
padding-bottom: 28px;
|
||||||
|
border-bottom: 2px solid #f5f5f5;
|
||||||
|
}
|
||||||
|
.growth-name {
|
||||||
|
font-weight: bold;
|
||||||
|
font-size: 18px;
|
||||||
|
color: #0071ed;
|
||||||
|
}
|
||||||
|
.growth-state {
|
||||||
|
font-size: 15px;
|
||||||
|
margin-right: 18px;
|
||||||
|
}
|
||||||
|
.growth-btn {
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
width: 120px;
|
||||||
|
height: 36px;
|
||||||
|
background: #f2903d;
|
||||||
|
border-radius: 4px;
|
||||||
|
font-size: 16px;
|
||||||
|
color: #ffffff;
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.navbar {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
height: 90px;
|
||||||
|
padding-left: 40px;
|
||||||
|
margin-bottom: 10px;
|
||||||
|
color: #ffffff;
|
||||||
|
background-image: url(../../assets/images/growth/growth-bg.png);
|
||||||
|
background-size: 100% 100%;
|
||||||
|
.nav-title {
|
||||||
|
font-weight: 700;
|
||||||
|
font-size: 18px;
|
||||||
|
margin-right: 10%;
|
||||||
|
}
|
||||||
|
.nav-total {
|
||||||
|
// margin-left: 15%;
|
||||||
|
width: 20%;
|
||||||
|
}
|
||||||
|
.total-num {
|
||||||
|
font-weight: bold;
|
||||||
|
font-size: 22px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.growth-right {
|
||||||
|
width: 30%;
|
||||||
|
max-width: 464px;
|
||||||
|
margin-bottom: 35px;
|
||||||
|
background-color: #ffffff;
|
||||||
|
padding: 35px 20px 20px 30px;
|
||||||
|
.title {
|
||||||
|
font-size: 18px;
|
||||||
|
color: #000000;
|
||||||
|
font-weight: 700;
|
||||||
|
margin-bottom: 30px;
|
||||||
|
overflow: hidden;
|
||||||
|
white-space: nowrap;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
}
|
||||||
|
.item-growth {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
border-radius: 5px;
|
||||||
|
font-size: 14px;
|
||||||
|
color: #666666;
|
||||||
|
padding: 10px 20px 10px 8px;
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
.icon {
|
||||||
|
width: 4px;
|
||||||
|
height: 4px;
|
||||||
|
background: #4c5564;
|
||||||
|
border-radius: 50%;
|
||||||
|
margin-right: 10px;
|
||||||
|
}
|
||||||
|
.active {
|
||||||
|
background: #e3edfe;
|
||||||
|
color: #000;
|
||||||
|
.icon {
|
||||||
|
background: #0077ec;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</style>
|
||||||
@@ -185,11 +185,11 @@
|
|||||||
<div class="back_num" v-if="numIsFalse">
|
<div class="back_num" v-if="numIsFalse">
|
||||||
<div class="search_div_num">
|
<div class="search_div_num">
|
||||||
当前已检索 <span style="color:#FF4040 ;">
|
当前已检索 <span style="color:#FF4040 ;">
|
||||||
{{ caseList.count }}</span> 条数据
|
{{ this.caseList.count }}</span> 条数据
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="data-content">
|
<div class="data-content">
|
||||||
<div v-for="item in caseList.list" :key="isTimeData?item.browsingHistoryId : item.id" class="case-list">
|
<div v-for="item in this.caseList.list" :key="isTimeData?item.browsingHistoryId : item.id" class="case-list">
|
||||||
<div class="case-info">
|
<div class="case-info">
|
||||||
<div class="case-info-cont">
|
<div class="case-info-cont">
|
||||||
<!-- <router-link :to="'/case/detail?id=' + item.id"> -->
|
<!-- <router-link :to="'/case/detail?id=' + item.id"> -->
|
||||||
@@ -270,7 +270,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div v-if="caseList.showPagCount > queryCondition.pageSize">
|
<div v-if="this.caseList.showPagCount > queryCondition.pageSize">
|
||||||
<pagination :size="queryCondition.pageSize" :total="caseList.count" :page="queryCondition.pageIndex"
|
<pagination :size="queryCondition.pageSize" :total="caseList.count" :page="queryCondition.pageIndex"
|
||||||
layout="total, prev, pager, next, jumper" @change-page="currentChange"></pagination>
|
layout="total, prev, pager, next, jumper" @change-page="currentChange"></pagination>
|
||||||
</div>
|
</div>
|
||||||
@@ -279,7 +279,7 @@
|
|||||||
<!-- <span class="pag-text" @click="loadMore()" v-if="moreState == 1">加载更多</span>
|
<!-- <span class="pag-text" @click="loadMore()" v-if="moreState == 1">加载更多</span>
|
||||||
<span class="pag-text-msg" v-else-if="moreState == 2">数据加载中</span>
|
<span class="pag-text-msg" v-else-if="moreState == 2">数据加载中</span>
|
||||||
<span class="pag-text-msg" v-else-if="moreState == 3">没有更多数据了</span> -->
|
<span class="pag-text-msg" v-else-if="moreState == 3">没有更多数据了</span> -->
|
||||||
<span class="notcoures" v-if="caseList.list.length == 0">
|
<span class="notcoures" v-if="this.caseList.list.length == 0">
|
||||||
<img :src="`${webBaseUrl}/images/nocase.png`" alt="">
|
<img :src="`${webBaseUrl}/images/nocase.png`" alt="">
|
||||||
<h5>暂无案例,请优先学习其它案例吧~</h5>
|
<h5>暂无案例,请优先学习其它案例吧~</h5>
|
||||||
</span>
|
</span>
|
||||||
@@ -555,7 +555,7 @@ export default {
|
|||||||
name: '',
|
name: '',
|
||||||
years: [],
|
years: [],
|
||||||
// 随机
|
// 随机
|
||||||
notInIds: [],//重复的id
|
// notInIds: [],//重复的id
|
||||||
orderField: "id",
|
orderField: "id",
|
||||||
orderAsc: false,//排序
|
orderAsc: false,//排序
|
||||||
sysType1:'',
|
sysType1:'',
|
||||||
@@ -1599,12 +1599,17 @@ export default {
|
|||||||
} else {
|
} else {
|
||||||
this.moreState = 3;
|
this.moreState = 3;
|
||||||
}
|
}
|
||||||
// console.log(res?.result?.list ,'有没有数据');
|
if(res.result.list.length ===0){
|
||||||
|
this.moreState = 3;
|
||||||
|
this.isSeach = false;
|
||||||
|
}
|
||||||
|
console.log(res?.result?.list ,'有没有数据1');
|
||||||
res.result.list.forEach(item=>{
|
res.result.list.forEach(item=>{
|
||||||
item.viewRankTags = item.viewRankTags?.slice(0,2)||[]
|
item.viewRankTags = item.viewRankTags?.slice(0,2)||[]
|
||||||
})
|
})
|
||||||
|
console.log(res?.result?.list ,'有没有数据2');
|
||||||
this.caseList.list = res.result.list
|
this.caseList.list = res.result.list
|
||||||
this.getCaseUserData(res.result.list);
|
// this.getCaseUserData(res.result.list);
|
||||||
// 给所有的赋值
|
// 给所有的赋值
|
||||||
this.caseList.count = res.result.count;
|
this.caseList.count = res.result.count;
|
||||||
this.caseList.showPagCount = res.result.count;
|
this.caseList.showPagCount = res.result.count;
|
||||||
|
|||||||
@@ -167,7 +167,6 @@
|
|||||||
</div>
|
</div>
|
||||||
<!-- 课程单元 -->
|
<!-- 课程单元 -->
|
||||||
<div class="course-units" v-if="tab == 1">
|
<div class="course-units" v-if="tab == 1">
|
||||||
|
|
||||||
<div :style="`height: ${controlHeight}px;overflow-y: auto;`">
|
<div :style="`height: ${controlHeight}px;overflow-y: auto;`">
|
||||||
<div class="catalog" v-if="courseInfo.type == 20">
|
<div class="catalog" v-if="courseInfo.type == 20">
|
||||||
<div v-for="(item, index) in catalogTree" :key="index" :name="index">
|
<div v-for="(item, index) in catalogTree" :key="index" :name="index">
|
||||||
@@ -292,7 +291,8 @@
|
|||||||
<!-- <span style="font-size: 12px; color:#666666 ;">( {{cutOrgNamePath(item.authorInfo.orgInfo)}} )</span> -->
|
<!-- <span style="font-size: 12px; color:#666666 ;">( {{cutOrgNamePath(item.authorInfo.orgInfo)}} )</span> -->
|
||||||
</div>
|
</div>
|
||||||
<!-- <div class="teacher-remark" v-html="item.authorInfo.sign"></div> -->
|
<!-- <div class="teacher-remark" v-html="item.authorInfo.sign"></div> -->
|
||||||
<div class="teacher-remark">{{cutOrgNamePath(item.authorInfo.orgInfo)}}</div>
|
<div v-if="item.teacherType === 1 " class="teacher-remark">{{cutOrgNamePath(item.authorInfo.orgInfo)}}</div>
|
||||||
|
<div v-else>{{item.supplier}}</div>
|
||||||
</div>
|
</div>
|
||||||
<div style="padding-top:15px;width:70px;">
|
<div style="padding-top:15px;width:70px;">
|
||||||
<followButton v-if="item.teacherName!=='BOE教师'" :auto="true" size="small" :aid="item.teacherId"></followButton>
|
<followButton v-if="item.teacherName!=='BOE教师'" :auto="true" size="small" :aid="item.teacherId"></followButton>
|
||||||
@@ -802,6 +802,11 @@
|
|||||||
|
|
||||||
|
|
||||||
this.$nextTick(function(){
|
this.$nextTick(function(){
|
||||||
|
if(this.contentData.progressVideo){
|
||||||
|
this.$refs.myVideoPlayer.updateProgressByClickBar2(this.contentData.lastStudyTime,this.contentData.progressVideo);
|
||||||
|
// $this.notePlay = this.contentData.lastStudyTime;
|
||||||
|
}
|
||||||
|
|
||||||
//let h0=document.getElementById('id_course_player').offsetHeight;
|
//let h0=document.getElementById('id_course_player').offsetHeight;
|
||||||
let h=$this.$refs.coursePlayer.offsetHeight;
|
let h=$this.$refs.coursePlayer.offsetHeight;
|
||||||
//let h1=$this.$refs.coursePlayer.clientHeight;
|
//let h1=$this.$refs.coursePlayer.clientHeight;
|
||||||
@@ -1140,6 +1145,8 @@
|
|||||||
// }
|
// }
|
||||||
// }
|
// }
|
||||||
this.playerBoxShow = false;
|
this.playerBoxShow = false;
|
||||||
|
// this.onPlayerPlayFullscreen()
|
||||||
|
// this.$watermark.set(this.userInfo.name + this.userInfo.loginName);
|
||||||
let $this = this;
|
let $this = this;
|
||||||
//这里有些不准备,如果文件未能加载,这个事件就是错误的
|
//这里有些不准备,如果文件未能加载,这个事件就是错误的
|
||||||
this.isAppendTime=true;
|
this.isAppendTime=true;
|
||||||
@@ -1157,6 +1164,7 @@
|
|||||||
// }
|
// }
|
||||||
// }
|
// }
|
||||||
},
|
},
|
||||||
|
|
||||||
onFullscreen(full) {
|
onFullscreen(full) {
|
||||||
let divId = 'videowatermark';
|
let divId = 'videowatermark';
|
||||||
var div = document.getElementById('myVideoPlayer')
|
var div = document.getElementById('myVideoPlayer')
|
||||||
@@ -1176,9 +1184,12 @@
|
|||||||
"position:absolute;pointer-events: none; width: 100%;height: 100%;top:0;left:0;bottom: 0;right: 0; display: flex;justify-content: center;flex-wrap: wrap;overflow: hidden; opacity:0.3;padding-top:10px";
|
"position:absolute;pointer-events: none; width: 100%;height: 100%;top:0;left:0;bottom: 0;right: 0; display: flex;justify-content: center;flex-wrap: wrap;overflow: hidden; opacity:0.3;padding-top:10px";
|
||||||
div.appendChild(div3);
|
div.appendChild(div3);
|
||||||
} else {
|
} else {
|
||||||
|
console.log("去除水印 ---- gx ----");
|
||||||
var markDiv = div.querySelector("#" + divId);
|
var markDiv = div.querySelector("#" + divId);
|
||||||
|
console.log("去除水印 ---- gx markDiv ----",markDiv);
|
||||||
if (markDiv) {
|
if (markDiv) {
|
||||||
div.removeChild(markDiv);
|
console.log("执行去除水印 ---- gx markDiv ----",markDiv);
|
||||||
|
div.removeChild(markDiv);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -1442,6 +1453,7 @@
|
|||||||
}
|
}
|
||||||
//console.log(scon.contentId,con.id);
|
//console.log(scon.contentId,con.id);
|
||||||
con.lastStudyTime = scon.lastStudyTime;
|
con.lastStudyTime = scon.lastStudyTime;
|
||||||
|
con.progressVideo = scon.progressVideo;
|
||||||
//以下判断是为了兼容之前的问题,学习状态
|
//以下判断是为了兼容之前的问题,学习状态
|
||||||
if (scon.status) {
|
if (scon.status) {
|
||||||
con.status = scon.status;
|
con.status = scon.status;
|
||||||
|
|||||||
@@ -380,15 +380,19 @@ export default {
|
|||||||
getExperience() {//经验值
|
getExperience() {//经验值
|
||||||
let data = {
|
let data = {
|
||||||
aid:this.userInfo.aid,// #用户id
|
aid:this.userInfo.aid,// #用户id
|
||||||
statType:21, // #统计类型 10学习时长 11 学习天数 20表经验值 30表u币 40表获取天数
|
statType:20, // #统计类型 10学习时长 11 学习天数 20表经验值 30表u币 40表获取天数
|
||||||
field:this.experience.field,// #统计周期 todays-当天,weeks-周,months-月,years-年 total-总计
|
field:this.experience.field,// #统计周期 todays-当天,weeks-周,months-月,years-年 total-总计
|
||||||
num:10,// #显示的条数
|
num:10,// #显示的条数
|
||||||
}
|
}
|
||||||
if(data.field == 'now'){
|
if(data.field == 'now'){
|
||||||
|
data.statType = 20
|
||||||
|
data.field = 'years'
|
||||||
|
this.experience.field = 'years'
|
||||||
|
this.isNow = true
|
||||||
|
}else{
|
||||||
data.statType = 20
|
data.statType = 20
|
||||||
data.field = 'total'
|
data.field = 'total'
|
||||||
this.experience.field = 'total'
|
this.experience.field = 'total'
|
||||||
this.isNow = true
|
|
||||||
}
|
}
|
||||||
apiStat.getRanking(data).then(res=>{
|
apiStat.getRanking(data).then(res=>{
|
||||||
if(res.status==200){
|
if(res.status==200){
|
||||||
@@ -402,12 +406,15 @@ export default {
|
|||||||
}
|
}
|
||||||
this.getUserData([res.result.currentUserRankingData.aid],[res.result.currentUserRankingData])
|
this.getUserData([res.result.currentUserRankingData.aid],[res.result.currentUserRankingData])
|
||||||
this.experience.data = res.result.currentUserRankingData;
|
this.experience.data = res.result.currentUserRankingData;
|
||||||
if(this.experience.field == 'total') {
|
this.currentUserRankingTotalData.rankNo = res.result.currentUserRankingData.rankingNo;
|
||||||
|
this.currentUserRankingTotalData.endValue = this.current.endValue;
|
||||||
|
if(data.field == 'total') {
|
||||||
this.current = this.experienceValue(res.result.currentUserRankingData.total);
|
this.current = this.experienceValue(res.result.currentUserRankingData.total);
|
||||||
this.currentUserRankingTotalData.rankNo = res.result.currentUserRankingData.rankingNo;
|
|
||||||
this.currentUserRankingTotalData.rankValue = res.result.currentUserRankingData.total;
|
this.currentUserRankingTotalData.rankValue = res.result.currentUserRankingData.total;
|
||||||
this.currentUserRankingTotalData.endValue = this.current.endValue;
|
}else if(data.field == 'years'){
|
||||||
|
this.currentUserRankingTotalData.rankValue = res.result.currentUserRankingData.years;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
this.current.total=res.result.currentUserRankingData.total;//当前用户的经验值是固定的
|
this.current.total=res.result.currentUserRankingData.total;//当前用户的经验值是固定的
|
||||||
const ids= [];
|
const ids= [];
|
||||||
@@ -434,9 +441,15 @@ export default {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
this.experience.list = listData.sort((a,b)=>{
|
if(data.field == 'total') {
|
||||||
return b.total-a.total
|
this.experience.list = listData.sort((a,b)=>{
|
||||||
}).slice(0,5);
|
return b.total-a.total
|
||||||
|
}).slice(0,5);
|
||||||
|
}else if(data.field == 'years'){
|
||||||
|
this.experience.list = listData.sort((a,b)=>{
|
||||||
|
return b.years-a.years
|
||||||
|
}).slice(0,5);
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
this.$message.error(res.message);
|
this.$message.error(res.message);
|
||||||
}
|
}
|
||||||
@@ -447,15 +460,19 @@ export default {
|
|||||||
getDuration() {//学习时长
|
getDuration() {//学习时长
|
||||||
let data = {
|
let data = {
|
||||||
aid:this.userInfo.aid,// #用户id
|
aid:this.userInfo.aid,// #用户id
|
||||||
statType:12, // #统计类型 10学习时长 11 学习天数 20表经验值 30表u币 40表获取天数
|
statType:10, // #统计类型 10学习时长 11 学习天数 20表经验值 30表u币 40表获取天数
|
||||||
field:this.learningDuration.field,// #统计周期 todays-当天,weeks-周,months-月,years-年 total-总计
|
field:this.learningDuration.field,// #统计周期 todays-当天,weeks-周,months-月,years-年 total-总计
|
||||||
num:10,// #显示的条数
|
num:10,// #显示的条数
|
||||||
}
|
}
|
||||||
if(data.field == 'now'){
|
if(data.field == 'now'){
|
||||||
data.statType = 10
|
data.statType = 10;
|
||||||
data.field = 'total'
|
data.field = 'years';
|
||||||
this.learningDuration.field = 'total'
|
this.learningDuration.field = 'years';
|
||||||
this.isStudyTime = true
|
this.isStudyTime = true;
|
||||||
|
}else{
|
||||||
|
data.statType = 10;
|
||||||
|
data.field = 'total';
|
||||||
|
this.learningDuration.field = 'total';
|
||||||
}
|
}
|
||||||
apiStat.getRanking(data).then(res=>{
|
apiStat.getRanking(data).then(res=>{
|
||||||
if(res.status==200){
|
if(res.status==200){
|
||||||
@@ -469,9 +486,11 @@ export default {
|
|||||||
}
|
}
|
||||||
this.getUserData([res.result.currentUserRankingData.aid],[res.result.currentUserRankingData])
|
this.getUserData([res.result.currentUserRankingData.aid],[res.result.currentUserRankingData])
|
||||||
this.learningDuration.data = res.result.currentUserRankingData;
|
this.learningDuration.data = res.result.currentUserRankingData;
|
||||||
|
this.learningDurationTotalData.rankNo = res.result.currentUserRankingData.rankingNo;
|
||||||
if(data.field == 'total'){
|
if(data.field == 'total'){
|
||||||
this.learningDurationTotalData.rankNo = res.result.currentUserRankingData.rankingNo;
|
|
||||||
this.learningDurationTotalData.rankValue = res.result.currentUserRankingData.total;
|
this.learningDurationTotalData.rankValue = res.result.currentUserRankingData.total;
|
||||||
|
} else if(data.field == 'years'){
|
||||||
|
this.learningDurationTotalData.rankValue = res.result.currentUserRankingData.years;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -500,9 +519,16 @@ export default {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
this.learningDuration.list = listData.sort((a,b)=>{
|
if(data.field == 'total'){
|
||||||
return b.total-a.total
|
this.learningDuration.list = listData.sort((a,b)=>{
|
||||||
}).slice(0,5);
|
return b.total-a.total
|
||||||
|
}).slice(0,5)
|
||||||
|
} else if(data.field == 'years'){
|
||||||
|
this.learningDuration.list = listData.sort((a,b)=>{
|
||||||
|
return b.years-a.years
|
||||||
|
}).slice(0,5)
|
||||||
|
}
|
||||||
|
;
|
||||||
} else {
|
} else {
|
||||||
this.$message.error(res.message);
|
this.$message.error(res.message);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -85,28 +85,28 @@ module.exports = {
|
|||||||
.end()
|
.end()
|
||||||
config
|
config
|
||||||
.optimization.splitChunks({
|
.optimization.splitChunks({
|
||||||
chunks: 'all',
|
chunks: 'all',
|
||||||
cacheGroups: {
|
cacheGroups: {
|
||||||
libs: {
|
libs: {
|
||||||
name: 'chunk-libs',
|
name: 'chunk-libs',
|
||||||
test: /[\\/]node_modules[\\/]/,
|
test: /[\\/]node_modules[\\/]/,
|
||||||
priority: 10,
|
priority: 10,
|
||||||
chunks: 'initial' // only package third parties that are initially dependent
|
chunks: 'initial' // only package third parties that are initially dependent
|
||||||
},
|
},
|
||||||
elementUI: {
|
elementUI: {
|
||||||
name: 'chunk-elementUI', // split elementUI into a single package
|
name: 'chunk-elementUI', // split elementUI into a single package
|
||||||
priority: 20, // the weight needs to be larger than libs and app or it will be packaged into libs or app
|
priority: 20, // the weight needs to be larger than libs and app or it will be packaged into libs or app
|
||||||
test: /[\\/]node_modules[\\/]_?element-ui(.*)/ // in order to adapt to cnpm
|
test: /[\\/]node_modules[\\/]_?element-ui(.*)/ // in order to adapt to cnpm
|
||||||
},
|
},
|
||||||
commons: {
|
commons: {
|
||||||
name: 'chunk-commons',
|
name: 'chunk-commons',
|
||||||
test: resolve('src/components'), // can customize your rules
|
test: resolve('src/components'), // can customize your rules
|
||||||
minChunks: 3, // minimum common number
|
minChunks: 3, // minimum common number
|
||||||
priority: 5,
|
priority: 5,
|
||||||
reuseExistingChunk: true
|
reuseExistingChunk: true
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
})
|
||||||
})
|
|
||||||
config.optimization.runtimeChunk('single'), {
|
config.optimization.runtimeChunk('single'), {
|
||||||
from: path.resolve(__dirname, './public/robots.txt'), //防爬虫文件
|
from: path.resolve(__dirname, './public/robots.txt'), //防爬虫文件
|
||||||
to: './', //到根目录下
|
to: './', //到根目录下
|
||||||
@@ -124,6 +124,17 @@ module.exports = {
|
|||||||
// 114.115.162.187 测试环境
|
// 114.115.162.187 测试环境
|
||||||
// 192.168.0.107 晋宇
|
// 192.168.0.107 晋宇
|
||||||
proxy: {
|
proxy: {
|
||||||
|
// "/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': {
|
'/manageApi': {
|
||||||
// 目标代理服务器地址
|
// 目标代理服务器地址
|
||||||
target: 'https://u-pre.boe.com',
|
target: 'https://u-pre.boe.com',
|
||||||
|
|||||||
Reference in New Issue
Block a user