|
@@ -258,7 +258,7 @@ export default defineComponent({
|
|
|
const videoDuration = forms.player.duration
|
|
|
// 判断如何视屏播放时间大于视屏播放有效时间则说明数据有问题,进行重置数据
|
|
|
const rate = Math.floor((time / Math.floor(videoDuration)) * 100)
|
|
|
-
|
|
|
+ // console.log('videoIntervalRef?.counter.value', videoIntervalRef?.counter.value)
|
|
|
await request.post('/api-student/open/studentBrowseRecord/updateStat', {
|
|
|
data: {
|
|
|
id: forms.saveId,
|
|
@@ -287,22 +287,22 @@ export default defineComponent({
|
|
|
initVideoCount(videoIntervalRef.isActive.value)
|
|
|
|
|
|
await updateStat()
|
|
|
- // window.location.href =
|
|
|
- // window.location.origin +
|
|
|
- // window.location.pathname +
|
|
|
- // '/project/preRegister.html?' +
|
|
|
- // qs.stringify({
|
|
|
- // orchestraId: forms.orchestraId,
|
|
|
- // openId: forms.openId
|
|
|
- // })
|
|
|
-
|
|
|
window.location.href =
|
|
|
window.location.origin +
|
|
|
+ window.location.pathname +
|
|
|
'/project/preRegister.html?' +
|
|
|
qs.stringify({
|
|
|
orchestraId: forms.orchestraId,
|
|
|
openId: forms.openId
|
|
|
})
|
|
|
+
|
|
|
+ // window.location.href =
|
|
|
+ // window.location.origin +
|
|
|
+ // '/project/preRegister.html?' +
|
|
|
+ // qs.stringify({
|
|
|
+ // orchestraId: forms.orchestraId,
|
|
|
+ // openId: forms.openId
|
|
|
+ // })
|
|
|
} catch (e) {
|
|
|
console.log(e, 'e')
|
|
|
// 还原
|