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 8d84ec40
authored
Jan 21, 2025
by
前端
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
权限
1 parent
7844df55
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
10 deletions
components/HomeFrame/components/LeftSide.vue
components/HomeFrame/components/Point/Course.vue
components/HomeFrame/index.vue
components/HomeFrame/components/LeftSide.vue
View file @
8d84ec4
...
...
@@ -47,10 +47,12 @@ export default {
{
label
:
"首页"
,
icon
:
"home"
,
name
:
'HomeSlot'
},
{
label
:
"接待记录"
,
icon
:
"record"
,
name
:
'RecordList'
},
],
}
...
...
@@ -77,11 +79,10 @@ export default {
const
res
=
await
uni
.
$api
.
customerApi
.
haveCustomerAccess
({
merchantId
})
const
len
=
this
.
tabs
.
length
-
1
if
(
res
)
this
.
tabs
.
splice
(
len
,
0
,
{
if
(
res
)
this
.
tabs
.
push
(
{
label
:
"客户档案"
,
icon
:
"customer-file"
,
name
:
'CustomerFile'
})
this
.
$store
.
state
.
user
.
haveCustomerAccess
=
res
...
...
@@ -91,6 +92,7 @@ export default {
this
.
tabs
.
push
({
label
:
"个人中心"
,
icon
:
"point"
,
name
:
'Point'
})
}
}
...
...
components/HomeFrame/components/Point/Course.vue
View file @
8d84ec4
...
...
@@ -3,7 +3,7 @@
* @Author: huyue
* @Date: 2024-04-08 11:30:30
* @LastEditors: 前端 qianduan01@didihu.com.cn
* @LastEditTime: 2025-01-
17 09:25:04
* @LastEditTime: 2025-01-
21 15:02:22
-->
<
template
>
<view
class=
"point-box"
>
...
...
@@ -69,7 +69,7 @@ export default {
data
()
{
return
{
pointClassification
:
[
'C001'
,
'C003'
,
'C002'
],
pointClassName
:
[
'
能力类'
,
'日常
行为类'
,
'学习类'
],
pointClassName
:
[
'
培训类'
,
'
行为类'
,
'学习类'
],
statistics
:
{
}
,
levelImg
:
[
require
(
'@/assets/images/point/bronze.png'
),
require
(
'@/assets/images/point/silver.png'
),
require
(
'@/assets/images/point/gold.png'
),
require
(
'@/assets/images/point/masonry.png'
)],
detail
:
[],
...
...
components/HomeFrame/index.vue
View file @
8d84ec4
...
...
@@ -116,11 +116,8 @@ export default {
return
this
.
$refs
.
finish
},
componentName
()
{
const
len
=
this
.
$refs
.
leftBox
.
tabs
.
length
if
(
this
.
tabIndex
==
0
)
return
'HomeSlot'
else
if
(
this
.
tabIndex
==
1
)
return
'RecordList'
else
if
(
this
.
tabIndex
==
len
-
1
)
return
'Point'
else
return
'CustomerFile'
console
.
log
(
this
.
$refs
.
leftBox
.
tabs
,
this
.
tabIndex
,
this
.
$refs
.
leftBox
.
tabs
[
this
.
tabIndex
].
name
)
return
this
.
$refs
.
leftBox
.
tabs
[
this
.
tabIndex
].
name
}
},
methods
:
{
...
...
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