mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-08 02:16:43 +08:00
Compare commits
6 Commits
master_120
...
250219-pre
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
00d272c3d0 | ||
|
|
398bbc675b | ||
|
|
d0a6807d2c | ||
|
|
f01283f530 | ||
|
|
b9ec8ed534 | ||
|
|
6b6e8a4096 |
@@ -16,19 +16,19 @@ VUE_APP_CESOURCE_BASE_API = '/socialApi'
|
||||
VUE_APP_STAT_BASE_API = '/statApi'
|
||||
|
||||
# BOE系统网址
|
||||
VUE_APP_BOE_WEB_URL = 'https://u.boe.com'
|
||||
VUE_APP_BOE_WEB_URL = 'http://10.251.132.75'
|
||||
|
||||
# BOE 移动端url
|
||||
VUE_APP_BOE_MOBILE_URL = 'https://u.boe.com'
|
||||
VUE_APP_BOE_MOBILE_URL = 'http://10.251.132.75'
|
||||
|
||||
# File路径的基础url
|
||||
VUE_APP_FILE_BASE_URL='https://u.boe.com/upload'
|
||||
VUE_APP_FILE_BASE_URL='http://10.251.132.75/upload'
|
||||
|
||||
# File路径的基础url的相对路径,加此项是为了不影响之前的路径配置
|
||||
VUE_APP_FILE_RELATIVE_PATH = '/upload'
|
||||
|
||||
# 受众批量导入人员信息URL
|
||||
VUE_APP_AUDIENCE_IMPORT_URL = 'https://u.boe.com/userbasic/audience/import'
|
||||
VUE_APP_AUDIENCE_IMPORT_URL = 'http://10.251.132.75/userbasic/audience/import'
|
||||
|
||||
|
||||
|
||||
@@ -39,10 +39,10 @@ VUE_APP_STUDENT_PATH='/fe-student'
|
||||
VUE_APP_MANAGER_API_PATH='/manageApi'
|
||||
|
||||
# 登录地址
|
||||
VUE_APP_LOGIN_URL='https://u.boe.com/web/'
|
||||
VUE_APP_LOGIN_URL='http://10.251.132.75/web/'
|
||||
|
||||
# scorm课件的播放url地址
|
||||
VUE_APP_SCORM_URL = 'https://u.boe.com/newscorm/scorm-player'
|
||||
VUE_APP_SCORM_URL = 'http://10.251.132.75/newscorm/scorm-player'
|
||||
|
||||
#案例组织领域类型
|
||||
VUE_APP_CASE_TYPE = '155'
|
||||
|
||||
15246
package-lock.json
generated
15246
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -16,7 +16,6 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"axios": "^0.21.4",
|
||||
"BOE-Online": "file:",
|
||||
"core-js": "^3.6.5",
|
||||
"driver.js": "^0.9.8",
|
||||
"echarts": "^5.3.0",
|
||||
|
||||
@@ -92,7 +92,7 @@ export default {
|
||||
|
||||
this.$emit("updateProgress", current);
|
||||
// }
|
||||
|
||||
|
||||
},
|
||||
move(e) {
|
||||
if (this.is_mousedown_progress) {
|
||||
@@ -124,7 +124,7 @@ export default {
|
||||
// 禁止拖动
|
||||
if(!this.isDrag && time && arr[this.blobId] < current) return;
|
||||
this.$emit("updateProgress", current);
|
||||
|
||||
|
||||
}
|
||||
},
|
||||
},
|
||||
@@ -176,4 +176,4 @@ export default {
|
||||
.progress-bar:hover .progress-current::after {
|
||||
opacity: 1;
|
||||
}
|
||||
</style>
|
||||
</style>
|
||||
|
||||
@@ -826,7 +826,6 @@ export default {
|
||||
if (this.refId) {
|
||||
this.queryCondition.type = 'recommend'
|
||||
}
|
||||
this.searchPageView();
|
||||
this.loadTypeData();//加载分类
|
||||
this.getAnkingData();
|
||||
this.searchterm();
|
||||
@@ -1508,7 +1507,7 @@ export default {
|
||||
};
|
||||
});
|
||||
res.result.list.forEach(item=>{
|
||||
item.viewRankTags = item.viewRankTags.slice(0,2)||[]
|
||||
item.viewRankTags = item.viewRankTags?.slice(0,2)||[]
|
||||
})
|
||||
this.caseList.list = res.result.list
|
||||
this.getCaseUserData(res.result.list);
|
||||
@@ -1563,7 +1562,7 @@ export default {
|
||||
};
|
||||
});
|
||||
res.result.list.forEach(item=>{
|
||||
item.viewRankTags = item.viewRankTags.slice(0,2)
|
||||
item.viewRankTags = item.viewRankTags?.slice(0,2)||[]
|
||||
})
|
||||
this.caseList.list = res.result.list
|
||||
this.getCaseUserData(res.result.list);
|
||||
@@ -1602,7 +1601,7 @@ export default {
|
||||
}
|
||||
// console.log(res?.result?.list ,'有没有数据');
|
||||
res.result.list.forEach(item=>{
|
||||
item.viewRankTags = item.viewRankTags.slice(0,2)
|
||||
item.viewRankTags = item.viewRankTags?.slice(0,2)||[]
|
||||
})
|
||||
this.caseList.list = res.result.list
|
||||
this.getCaseUserData(res.result.list);
|
||||
|
||||
@@ -254,7 +254,7 @@ export default {
|
||||
let localCourseIds=[];//本地在线课程的id集合
|
||||
res.result.list.forEach(item=>{
|
||||
if(item.courseImage?.startsWith('/upload')){
|
||||
item.courseImage=$this.fileUrl+item.courseImage.substring(7)
|
||||
item.courseImage=$this.fileUrl+item.courseImage?.substring(7)
|
||||
}
|
||||
if(item.source==2){
|
||||
localCourseIds.push(item.id);
|
||||
|
||||
@@ -755,7 +755,7 @@
|
||||
if (this.contentData.status < 2) {
|
||||
// this.contentData.status = 2; //进行中
|
||||
if(r.contentType != 61&&r.contentType != 20 && r.contentType != 10){
|
||||
setTimeout(() => {
|
||||
setTimeout(() => {
|
||||
this.isContentTypeTwo = r.contentType
|
||||
$this.isShowTime()
|
||||
}, 2000);
|
||||
@@ -817,7 +817,7 @@
|
||||
//console.log(h,$this.controlHeight,'$this.controlHeight');
|
||||
})
|
||||
|
||||
|
||||
|
||||
//console.log('this.contentData11:',this.contentData,this.curriculumData)
|
||||
// 视频设置禁用处理逻辑,如果用户已全部观看完该视频,则设置为能全部拖动的逻辑,把isDrag设置为true即可,同时删除本地存储的数据
|
||||
if(this.contentData.progressVideo ===1){
|
||||
@@ -1546,7 +1546,7 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
progress(val) {
|
||||
progress(val) {
|
||||
const progressValue = parseFloat(val) * 100;
|
||||
this.sendEventProgress = Number(progressValue.toFixed(2));
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user