Bladeren bron

智慧教学

西昌分支
yxq 1 week geleden
bovenliggende
commit
56e58af038
2 gewijzigde bestanden met toevoegingen van 12 en 2 verwijderingen
  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 Bestand weergeven

@@ -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 Bestand weergeven

@@ -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
},


Laden…
Annuleren
Opslaan