|
@@ -102,7 +102,8 @@ export default defineComponent({
|
|
|
messageTipTitle: '上传须知',
|
|
|
messageTipType: 'upload' as 'upload' | 'error' | 'origin',
|
|
|
cbsInstrumentList: [] as any,
|
|
|
- tagList: [] as any
|
|
|
+ tagList: [] as any,
|
|
|
+ musicSheetAuthRecordId: null as any
|
|
|
}
|
|
|
},
|
|
|
watch: {
|
|
@@ -133,7 +134,6 @@ export default defineComponent({
|
|
|
appState.platformType === 'STUDENT' ? '/api-student' : '/api-teacher'
|
|
|
|
|
|
request(prefix + '/MusicTag/tree').then((res: any) => {
|
|
|
- console.log(res, 'res')
|
|
|
this.tagList = res.data || []
|
|
|
})
|
|
|
|
|
@@ -162,6 +162,9 @@ export default defineComponent({
|
|
|
`/api-teacher/music/sheet/detail/${id}`
|
|
|
)
|
|
|
|
|
|
+ this.musicSheetAuthRecordId = data.musicSheetAuthRecordId // 审核编号
|
|
|
+
|
|
|
+ console.log(this.musicSheetAuthRecordId)
|
|
|
this.playMode = data.audioType || 'MP3'
|
|
|
this.xmlFileUrl = data.xmlFileUrl
|
|
|
this.name = data.musicSheetName
|
|
@@ -440,7 +443,7 @@ export default defineComponent({
|
|
|
await request.post('/api-teacher/musicSheetAuthRecord/update', {
|
|
|
data: {
|
|
|
...this.createSubmitData(),
|
|
|
- id: this.$route.params.id
|
|
|
+ id: this.musicSheetAuthRecordId
|
|
|
}
|
|
|
})
|
|
|
} else {
|