mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-08 02:16:43 +08:00
Merge remote-tracking branch 'aliyun/250220-pre-126-177-gx' into test20250220
# Conflicts: # src/views/portal/case/Index.vue # src/views/study/Courses.vue
This commit is contained in:
@@ -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.177'
|
||||
|
||||
# BOE 移动端url
|
||||
VUE_APP_BOE_MOBILE_URL = 'https://u.boe.com'
|
||||
VUE_APP_BOE_MOBILE_URL = 'http://10.251.132.177'
|
||||
|
||||
# File路径的基础url
|
||||
VUE_APP_FILE_BASE_URL='https://u.boe.com/upload'
|
||||
VUE_APP_FILE_BASE_URL='http://10.251.132.177/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.177/userbasic/audience/import'
|
||||
|
||||
|
||||
|
||||
@@ -40,10 +40,10 @@ VUE_APP_MANAGER_API_PATH='/manageApi'
|
||||
VUE_APP_GROWTH_API_PATH='/growth'
|
||||
|
||||
# 登录地址
|
||||
VUE_APP_LOGIN_URL='https://u.boe.com/web/'
|
||||
VUE_APP_LOGIN_URL='http://10.251.132.177/web/'
|
||||
|
||||
# scorm课件的播放url地址
|
||||
VUE_APP_SCORM_URL = 'https://u.boe.com/newscorm/scorm-player'
|
||||
VUE_APP_SCORM_URL = 'http://10.251.132.177/newscorm/scorm-player'
|
||||
|
||||
#案例组织领域类型
|
||||
VUE_APP_CASE_TYPE = '155'
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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