|
@@ -229,8 +229,6 @@ export default {
|
|
|
this.__init()
|
|
|
if(this.examRegistrationParams) {
|
|
|
this.getRegisterInfo(this.examRegistrationParams)
|
|
|
- } else {
|
|
|
- this.getTheoryLevelList()
|
|
|
}
|
|
|
|
|
|
this.onCheckOrder() // 查询有没有待支付订单
|
|
@@ -407,6 +405,8 @@ export default {
|
|
|
this.examSubjectList = tempArr
|
|
|
}
|
|
|
|
|
|
+ this.getTheoryLevelList()
|
|
|
+
|
|
|
} catch(err) {
|
|
|
//
|
|
|
}
|
|
@@ -790,13 +790,13 @@ export default {
|
|
|
// 练习课 "PRACTICE"
|
|
|
if(this.practiceSongIdList) { // 下拉选择
|
|
|
this.practiceSelectList.forEach(item => {
|
|
|
- console.log(item)
|
|
|
+ let fileUrlList = item.fileUrlList ? JSON.parse(item.fileUrlList) : []
|
|
|
songJson.push({
|
|
|
id: item.id,
|
|
|
type: item.type,
|
|
|
songName: item.songName,
|
|
|
songAuthor: item.songAuthor,
|
|
|
- uploadUrl: item.fileUrlList
|
|
|
+ uploadUrl: fileUrlList
|
|
|
})
|
|
|
})
|
|
|
} else { // 自选
|
|
@@ -818,13 +818,13 @@ export default {
|
|
|
// 演奏课 "PERFORM"
|
|
|
if(this.performSongIdList) {
|
|
|
this.performNumSelectList.forEach(item => {
|
|
|
- console.log(item)
|
|
|
+ let fileUrlList = item.fileUrlList ? JSON.parse(item.fileUrlList) : []
|
|
|
songJson.push({
|
|
|
id: item.id,
|
|
|
type: item.type,
|
|
|
songName: item.songName,
|
|
|
songAuthor: item.songAuthor,
|
|
|
- uploadUrl: item.fileUrlList
|
|
|
+ uploadUrl: fileUrlList
|
|
|
})
|
|
|
})
|
|
|
} else {
|