|
@@ -337,7 +337,7 @@ export default defineComponent({
|
|
|
if (browser().isTeacher) {
|
|
|
providerType = route.query.tenantAlbumId || route.query.providerType == 'TENANT' ? 'TENANT' : 'PLATFORM'
|
|
|
}
|
|
|
- apiUrl = `/music/sheet/favorite/${staffData.details?.bizId}`
|
|
|
+ apiUrl = `/music/sheet/favorite/${staffData.details?.id}`
|
|
|
try {
|
|
|
await request.post(apiUrl, {
|
|
|
requestType: 'form',
|
|
@@ -365,7 +365,7 @@ export default defineComponent({
|
|
|
try {
|
|
|
const res = await request.post('/api-teacher/courseCourseware/submit', {
|
|
|
data: {
|
|
|
- musicSheetId: staffData.details.bizId,
|
|
|
+ musicSheetId: staffData.details.id,
|
|
|
clientType: 'TEACHER',
|
|
|
userId: state.user.data?.userId
|
|
|
}
|
|
@@ -429,7 +429,7 @@ export default defineComponent({
|
|
|
prefix: state.platformType === 'TEACHER' ? '/api-teacher' : '/api-student',
|
|
|
data: {
|
|
|
goodType: 'MUSIC',
|
|
|
- bizId: music.bizId
|
|
|
+ bizId: music.id
|
|
|
}
|
|
|
})
|
|
|
|
|
@@ -468,7 +468,7 @@ export default defineComponent({
|
|
|
path: '/orderDetail',
|
|
|
query: {
|
|
|
orderType: 'MUSIC',
|
|
|
- musicId: music.bizId
|
|
|
+ musicId: music.id
|
|
|
}
|
|
|
})
|
|
|
}
|
|
@@ -514,13 +514,13 @@ export default defineComponent({
|
|
|
try {
|
|
|
const res = await request.post('/api-teacher/open/musicShareProfit', {
|
|
|
data: {
|
|
|
- bizId: staffData.details?.bizId,
|
|
|
+ bizId: staffData.details?.id,
|
|
|
userId: state.user.data?.userId
|
|
|
}
|
|
|
})
|
|
|
let url =
|
|
|
location.origin +
|
|
|
- `/teacher/#/shareMusic?id=${staffData.details?.bizId}&recomUserId=${state.user.data?.userId}&userType=${state.platformType}`
|
|
|
+ `/teacher/#/shareMusic?id=${staffData.details?.id}&recomUserId=${state.user.data?.userId}&userType=${state.platformType}`
|
|
|
// 判断是否有活动
|
|
|
if (res.data.discount === 1) {
|
|
|
url += `&activityId=${res.data.activityId}`
|
|
@@ -754,7 +754,6 @@ export default defineComponent({
|
|
|
|
|
|
const resetRender = () => {
|
|
|
const iframeRef: any = document.getElementById("staffIframeRef")
|
|
|
- console.log(currentColumn.value, "currentColumn.value---------")
|
|
|
iframeRef.contentWindow.location.replace(getPreViewCloud(staffData.musicId, currentColumn.value?.xmlIndex || 0, currentColumn.value.track))
|
|
|
}
|
|
|
return () => {
|
|
@@ -937,7 +936,7 @@ export default defineComponent({
|
|
|
router.push({
|
|
|
path: '/look-album-list',
|
|
|
query: {
|
|
|
- id: staffData.details?.bizId,
|
|
|
+ id: staffData.details?.id,
|
|
|
musicSubject: staffData.details?.musicSubject
|
|
|
}
|
|
|
})
|
|
@@ -1086,7 +1085,7 @@ export default defineComponent({
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
- {staffData.details?.bizId && (
|
|
|
+ {staffData.details?.id && (
|
|
|
<ColSticky
|
|
|
position="bottom"
|
|
|
background="white"
|
|
@@ -1136,7 +1135,7 @@ export default defineComponent({
|
|
|
}
|
|
|
let extraParam: any = {
|
|
|
// 'part-index': currentColumn.value.track || 0,
|
|
|
- 'part-name': currentColumn.value.track?.trim(),
|
|
|
+ 'part-name': currentColumn.value?.track?.trim(),
|
|
|
musicRenderType,
|
|
|
instrumentId: staffData.instrumentId
|
|
|
}
|
|
@@ -1148,7 +1147,7 @@ export default defineComponent({
|
|
|
extraParam.albumId = 1
|
|
|
}
|
|
|
musicBuy({
|
|
|
- id: staffData.details.bizId
|
|
|
+ id: staffData.details.id
|
|
|
}, () => {}, extraParam)
|
|
|
}, 300)
|
|
|
throttleFn()
|