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 3aa24a6f
authored
Jul 23, 2025
by
李伟康
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'SAAS+V4.55.0' of
http://192.168.3.233:8090/glsx/gl_tape
into SAAS+V4.55.0
2 parents
2424e337
16d10142
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
29 additions
and
12 deletions
components/HomeFrame/components/Study/MyTask.vue
components/HomeFrame/components/Study/RecommendCourse.vue
components/HomeFrame/components/StudyCenter.vue
manifest.json
pages/common/components/AccountList.vue
pages/common/serviceDetail/index.vue
pages/common/studyDetail/longCourse.vue
components/HomeFrame/components/Study/MyTask.vue
View file @
3aa24a6
...
@@ -129,13 +129,13 @@ export default {
...
@@ -129,13 +129,13 @@ export default {
}
}
}
}
},
},
created
()
{
//
created () {
// 监听自定义事件
//
// 监听自定义事件
uni
.
$on
(
'backStudyCenter'
,
()
=>
{
//
uni.$on('backStudyCenter', () => {
console
.
log
(
'backStudyCenter'
)
//
console.log('backStudyCenter')
this
.
getCourseTaskPage
(
this
.
tabIndex
)
//
this.getCourseTaskPage(this.tabIndex)
})
//
})
},
//
},
mounted
()
{
mounted
()
{
this
.
getCourseTaskPage
(
this
.
tabIndex
)
this
.
getCourseTaskPage
(
this
.
tabIndex
)
},
},
...
...
components/HomeFrame/components/Study/RecommendCourse.vue
View file @
3aa24a6
...
@@ -55,6 +55,7 @@ export default {
...
@@ -55,6 +55,7 @@ export default {
}
,
}
,
mounted
()
{
mounted
()
{
this
.
getCourseTaskPage
()
this
.
getCourseTaskPage
()
this
.
asyncfindBeiSenSSOToken
()
}
,
}
,
methods
:
{
methods
:
{
// 获取我的任务接口, completeStatus: 完成状态 0=待完成 1=已完成, courseType: 课程类型 1=短课程 2=长课程
// 获取我的任务接口, completeStatus: 完成状态 0=待完成 1=已完成, courseType: 课程类型 1=短课程 2=长课程
...
@@ -102,7 +103,11 @@ export default {
...
@@ -102,7 +103,11 @@ export default {
uni
.
navigateTo
({
uni
.
navigateTo
({
url
:
`/pages/common/studyDetail/detail?type=recommendation&index=${index
}
&recommendCourseList=${encodeURIComponent(JSON.stringify(this.recommendCourseList))
}
&pageNum=${pageNum
}
&pageSize=${pageSize
}
&total=${total
}
`
url
:
`/pages/common/studyDetail/detail?type=recommendation&index=${index
}
&recommendCourseList=${encodeURIComponent(JSON.stringify(this.recommendCourseList))
}
&pageNum=${pageNum
}
&pageSize=${pageSize
}
&total=${total
}
`
}
)
}
)
}
}
,
async
asyncfindBeiSenSSOToken
()
{
const
res
=
await
uni
.
$api
.
commonApi
.
findBeiSenSSOToken
({
}
)
uni
.
$storage
.
set
(
'beisenToken'
,
res
.
data
)
}
,
}
}
}
}
<
/script
>
<
/script
>
...
...
components/HomeFrame/components/StudyCenter.vue
View file @
3aa24a6
...
@@ -74,6 +74,14 @@ export default {
...
@@ -74,6 +74,14 @@ export default {
isYb
:
false
,
// 当前驻店人员所关联的门店是否是延保业务
isYb
:
false
,
// 当前驻店人员所关联的门店是否是延保业务
}
}
},
},
created
()
{
// 监听自定义事件
uni
.
$on
(
'backStudyCenter'
,
()
=>
{
console
.
log
(
'backStudyCenter'
)
this
.
$refs
.
myTask
.
getCourseTaskPage
(
this
.
tabIndex
)
this
.
getStudyBoard
()
})
},
mounted
()
{
mounted
()
{
const
beisenToken
=
uni
.
$storage
.
get
(
'beisenToken'
)
const
beisenToken
=
uni
.
$storage
.
get
(
'beisenToken'
)
const
studyCenterPermission
=
uni
.
$storage
.
get
(
'studyCenterPermission'
)
const
studyCenterPermission
=
uni
.
$storage
.
get
(
'studyCenterPermission'
)
...
...
manifest.json
View file @
3aa24a6
...
@@ -2,8 +2,8 @@
...
@@ -2,8 +2,8 @@
"name"
:
"展业助手"
,
"name"
:
"展业助手"
,
"appid"
:
"__UNI__D3BD3DF"
,
"appid"
:
"__UNI__D3BD3DF"
,
"description"
:
""
,
"description"
:
""
,
"versionName"
:
"2.1
1
.0"
,
"versionName"
:
"2.1
2
.0"
,
"versionCode"
:
"21
1
0"
,
"versionCode"
:
"21
2
0"
,
"transformPx"
:
false
,
"transformPx"
:
false
,
"sassImplementationName"
:
"node-sass"
,
"sassImplementationName"
:
"node-sass"
,
/*
5
+App特有相关
*/
/*
5
+App特有相关
*/
...
...
pages/common/components/AccountList.vue
View file @
3aa24a6
...
@@ -75,6 +75,7 @@ export default {
...
@@ -75,6 +75,7 @@ export default {
// uni.$storage.set('studyCenterPermission', _res)
// uni.$storage.set('studyCenterPermission', _res)
uni
.
$api
.
commonApi
.
getStudyCenterPermission
({
yqMerchantIdList
}).
then
(
res
=>
{
uni
.
$api
.
commonApi
.
getStudyCenterPermission
({
yqMerchantIdList
}).
then
(
res
=>
{
uni
.
$storage
.
set
(
'studyCenterPermission'
,
res
)
uni
.
$storage
.
set
(
'studyCenterPermission'
,
res
)
console
.
log
(
res
,
'res'
)
})
})
if
(
autoLogin
)
this
.
chooseAccount
(
loginUserInfoList
[
0
])
if
(
autoLogin
)
this
.
chooseAccount
(
loginUserInfoList
[
0
])
}
else
uni
.
showToast
({
}
else
uni
.
showToast
({
...
...
pages/common/serviceDetail/index.vue
View file @
3aa24a6
...
@@ -147,6 +147,9 @@ export default {
...
@@ -147,6 +147,9 @@ export default {
this
.
getTopInfo
()
this
.
getTopInfo
()
this
.
moduleType
=
Number
(
options
.
moduleType
)
this
.
moduleType
=
Number
(
options
.
moduleType
)
},
},
onShow
()
{
this
.
getMessageSummary
(
this
.
userInfo
.
sceneType
)
},
methods
:
{
methods
:
{
formatTime
(
time
,
formatStr
)
{
formatTime
(
time
,
formatStr
)
{
return
dayjs
(
time
).
format
(
formatStr
);
return
dayjs
(
time
).
format
(
formatStr
);
...
...
pages/common/studyDetail/longCourse.vue
View file @
3aa24a6
...
@@ -129,7 +129,6 @@ export default {
...
@@ -129,7 +129,6 @@ export default {
this
.
completeStatus
=
options
.
completeStatus
this
.
completeStatus
=
options
.
completeStatus
this
.
punishType
=
options
.
punishType
this
.
punishType
=
options
.
punishType
this
.
getLongCourseDetail
(
rowData
.
id
)
this
.
getLongCourseDetail
(
rowData
.
id
)
this
.
findBeiSenSSOToken
()
if
(
this
.
completeStatus
==
0
)
{
if
(
this
.
completeStatus
==
0
)
{
this
.
initCountdown
()
this
.
initCountdown
()
}
}
...
@@ -205,7 +204,7 @@ export default {
...
@@ -205,7 +204,7 @@ export default {
this
.
timer
=
setInterval
(
updateCountdown
,
1000
)
this
.
timer
=
setInterval
(
updateCountdown
,
1000
)
}
,
}
,
startStudy
(
index
,
item
)
{
startStudy
(
index
,
item
)
{
const
beisenToken
=
uni
.
$storage
.
get
(
'beisenToken'
)
const
beisenToken
=
this
.
findBeiSenSSOToken
(
)
if
(
beisenToken
)
{
if
(
beisenToken
)
{
uni
.
$track
.
add
({
eventCode
:
'app_long_course'
,
businessId
:
item
.
id
,
pagePath
:
'/pages/common/studyDetail/longCourse'
}
)
uni
.
$track
.
add
({
eventCode
:
'app_long_course'
,
businessId
:
item
.
id
,
pagePath
:
'/pages/common/studyDetail/longCourse'
}
)
uni
.
navigateTo
({
uni
.
navigateTo
({
...
@@ -222,6 +221,7 @@ export default {
...
@@ -222,6 +221,7 @@ export default {
return
new
Promise
(
resolve
=>
{
return
new
Promise
(
resolve
=>
{
uni
.
$api
.
commonApi
.
findBeiSenSSOToken
({
}
).
then
(
res
=>
{
uni
.
$api
.
commonApi
.
findBeiSenSSOToken
({
}
).
then
(
res
=>
{
uni
.
$storage
.
set
(
'beisenToken'
,
res
.
data
)
uni
.
$storage
.
set
(
'beisenToken'
,
res
.
data
)
resolve
(
res
.
data
)
}
)
}
)
}
)
}
)
}
,
}
,
...
...
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