Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
glsx
/
gl_tape
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
3
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 4a23aed4
authored
Dec 16, 2025
by
李伟康
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'SAAS+V5.5.0' of
http://192.168.3.233:8090/glsx/gl_tape
into SAAS+V5.5.0
2 parents
800d1952
0e820af7
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
16 deletions
components/HomeFrame/components/LeftSide.vue
components/HomeFrame/components/Study/PassedExam.vue
components/HomeFrame/index.vue
components/HomeFrame/components/LeftSide.vue
View file @
4a23aed
...
@@ -445,8 +445,8 @@ export default {
...
@@ -445,8 +445,8 @@ export default {
// this.trackInterval = null
// this.trackInterval = null
},
},
beforeDestroy
()
{
beforeDestroy
()
{
uni
.
$off
(
'pageBack'
)
//
uni.$off('pageBack')
uni
.
$off
(
'studyCenter'
)
//
uni.$off('studyCenter')
uni
.
$off
(
'ActivityCenter'
,
this
.
handleActivityCenter
);
uni
.
$off
(
'ActivityCenter'
,
this
.
handleActivityCenter
);
// clearInterval(this.trackInterval)
// clearInterval(this.trackInterval)
// this.trackInterval = null
// this.trackInterval = null
...
...
components/HomeFrame/components/Study/PassedExam.vue
View file @
4a23aed
...
@@ -195,7 +195,7 @@ export default {
...
@@ -195,7 +195,7 @@ export default {
const
url
=
encodeURIComponent
(
`
${
baseUrl
}
?
${
queryString
}
#/viewDynamic?1=1`
);
const
url
=
encodeURIComponent
(
`
${
baseUrl
}
?
${
queryString
}
#/viewDynamic?1=1`
);
this
.
jumpUrl
=
`
${
tokenUrl
}
&return_url=
${
url
}
`
;
this
.
jumpUrl
=
`
${
tokenUrl
}
&return_url=
${
url
}
`
;
uni
.
navigateTo
({
uni
.
navigateTo
({
url
:
`/pages/common/studyWebview?url=
${
encodeURIComponent
(
this
.
jumpUrl
)}
&pageTitle=学习测评&type=
0
`
url
:
`/pages/common/studyWebview?url=
${
encodeURIComponent
(
this
.
jumpUrl
)}
&pageTitle=学习测评&type=
1
`
})
})
}
else
{
}
else
{
throw
new
Error
(
'获取 token 失败'
)
throw
new
Error
(
'获取 token 失败'
)
...
...
components/HomeFrame/index.vue
View file @
4a23aed
...
@@ -188,25 +188,18 @@ export default {
...
@@ -188,25 +188,18 @@ export default {
lockReason
:
0
lockReason
:
0
}
}
},
},
created
()
{
// 在组件创建时就开始监听,确保事件能被捕获
// uni.$on('showExamSubmitPopup', () => {
// console.log('接收到考试提交弹窗事件')
// this.showExamPopup = true
// })
uni
.
$off
(
'levelStudyPopup'
);
uni
.
$on
(
'levelStudyPopup'
,
obj
=>
{
console
.
log
(
'接收到学习弹窗事件'
,
obj
)
uni
.
$logger
.
local
.
info
(
'接收到学习弹窗事件'
,
obj
)
this
.
showExamPopup
=
true
})
},
beforeDestroy
()
{
beforeDestroy
()
{
// 组件销毁前移除监听
// 组件销毁前移除监听
uni
.
$logger
.
local
.
info
(
'levelStudyPopup 移除监听'
)
uni
.
$off
(
'levelStudyPopup'
)
uni
.
$off
(
'levelStudyPopup'
)
// uni.$off('showStudyPopup')
// uni.$off('showStudyPopup')
},
},
mounted
()
{
mounted
()
{
uni
.
$logger
.
local
.
info
(
'levelStudyPopup 开始监听mounted'
)
uni
.
$on
(
'levelStudyPopup'
,
obj
=>
{
uni
.
$logger
.
local
.
info
(
'接收到学习弹窗事件'
,
obj
)
this
.
showExamPopup
=
true
})
const
userInfo
=
uni
.
$storage
.
get
(
'userInfo'
)
||
{}
const
userInfo
=
uni
.
$storage
.
get
(
'userInfo'
)
||
{}
this
.
userInfo
=
userInfo
this
.
userInfo
=
userInfo
if
(
this
.
checkRecordAudio
)
permision
.
requestAndroidPermission
(
'android.permission.RECORD_AUDIO'
)
// 进入界面时检查权限
if
(
this
.
checkRecordAudio
)
permision
.
requestAndroidPermission
(
'android.permission.RECORD_AUDIO'
)
// 进入界面时检查权限
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment