2 коммитов

Автор SHA1 Сообщение Дата
  yxq fbd5586ae0 Merge branch '西昌分支' of http://8.141.155.183:3000/bjquanjiang/DigitalScholl into 西昌分支 2 недель назад
  yxq 56e58af038 智慧教学 2 недель назад
2 измененных файлов: 12 добавлений и 2 удалений
  1. +5
    -1
      Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/EducationalAdministration/SmartEducation/single.vue
  2. +7
    -1
      Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/EducationalAdministration/practiceCourse/detail.vue

+ 5
- 1
Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/EducationalAdministration/SmartEducation/single.vue Просмотреть файл

@@ -100,7 +100,11 @@
if(!res)return
if(res.VideoPath){
this.form.VideoPath = res.VideoPath
this.path = this.API + '/learun/adms/annexes/wxdown?' + this.URL_QUERY(res.VideoPath, true)
let fileList = await this.convertToFormValue({type:'upload'},res.VideoPath)
if(fileList&&fileList.length){
this.path = fileList[0].path
}
// this.path = this.API + '/learun/adms/annexes/wxdown?' + this.URL_QUERY(res.VideoPath, true)
}
this.detail = res
}


+ 7
- 1
Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/EducationalAdministration/practiceCourse/detail.vue Просмотреть файл

@@ -41,7 +41,13 @@
async init(type,id){
let res = await this.HTTP_GET('learun/adms/smartEducation/smartSelfCourseInfo',id)
if(!res)return
if(res.VideoPath)res.VideoPath = this.API + '/learun/adms/annexes/wxdown?' + this.URL_QUERY(res.VideoPath, true)
if(res.VideoPath){
let fileList = await this.convertToFormValue({type:'upload'},res.VideoPath)
if(fileList&&fileList.length){
res.VideoPath = fileList[0].path
}
}
// res.VideoPath = this.API + '/learun/adms/annexes/wxdown?' + this.URL_QUERY(res.VideoPath, true)
this.form = res
this.ready = true
},


Загрузка…
Отмена
Сохранить