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
Show 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 {
...
@@ -47,10 +47,12 @@ export default {
{
{
label
:
"首页"
,
label
:
"首页"
,
icon
:
"home"
,
icon
:
"home"
,
name
:
'HomeSlot'
},
},
{
{
label
:
"接待记录"
,
label
:
"接待记录"
,
icon
:
"record"
,
icon
:
"record"
,
name
:
'RecordList'
},
},
],
],
}
}
...
@@ -77,11 +79,10 @@ export default {
...
@@ -77,11 +79,10 @@ export default {
const
res
=
await
uni
.
$api
.
customerApi
.
haveCustomerAccess
({
const
res
=
await
uni
.
$api
.
customerApi
.
haveCustomerAccess
({
merchantId
merchantId
})
})
if
(
res
)
this
.
tabs
.
push
(
{
const
len
=
this
.
tabs
.
length
-
1
if
(
res
)
this
.
tabs
.
splice
(
len
,
0
,
{
label
:
"客户档案"
,
label
:
"客户档案"
,
icon
:
"customer-file"
,
icon
:
"customer-file"
,
name
:
'CustomerFile'
})
})
this
.
$store
.
state
.
user
.
haveCustomerAccess
=
res
this
.
$store
.
state
.
user
.
haveCustomerAccess
=
res
...
@@ -91,6 +92,7 @@ export default {
...
@@ -91,6 +92,7 @@ export default {
this
.
tabs
.
push
({
this
.
tabs
.
push
({
label
:
"个人中心"
,
label
:
"个人中心"
,
icon
:
"point"
,
icon
:
"point"
,
name
:
'Point'
})
})
}
}
}
}
...
...
components/HomeFrame/components/Point/Course.vue
View file @
8d84ec4
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
* @Author: huyue
* @Author: huyue
* @Date: 2024-04-08 11:30:30
* @Date: 2024-04-08 11:30:30
* @LastEditors: 前端 qianduan01@didihu.com.cn
* @LastEditors: 前端 qianduan01@didihu.com.cn
* @LastEditTime: 2025-01-
17 09:25:04
* @LastEditTime: 2025-01-
21 15:02:22
-->
-->
<
template
>
<
template
>
<view
class=
"point-box"
>
<view
class=
"point-box"
>
...
@@ -69,7 +69,7 @@ export default {
...
@@ -69,7 +69,7 @@ export default {
data
()
{
data
()
{
return
{
return
{
pointClassification
:
[
'C001'
,
'C003'
,
'C002'
],
pointClassification
:
[
'C001'
,
'C003'
,
'C002'
],
pointClassName
:
[
'
能力类'
,
'日常
行为类'
,
'学习类'
],
pointClassName
:
[
'
培训类'
,
'
行为类'
,
'学习类'
],
statistics
:
{
}
,
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'
)],
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
:
[],
detail
:
[],
...
...
components/HomeFrame/index.vue
View file @
8d84ec4
...
@@ -116,11 +116,8 @@ export default {
...
@@ -116,11 +116,8 @@ export default {
return
this
.
$refs
.
finish
return
this
.
$refs
.
finish
},
},
componentName
()
{
componentName
()
{
const
len
=
this
.
$refs
.
leftBox
.
tabs
.
length
console
.
log
(
this
.
$refs
.
leftBox
.
tabs
,
this
.
tabIndex
,
this
.
$refs
.
leftBox
.
tabs
[
this
.
tabIndex
].
name
)
if
(
this
.
tabIndex
==
0
)
return
'HomeSlot'
return
this
.
$refs
.
leftBox
.
tabs
[
this
.
tabIndex
].
name
else
if
(
this
.
tabIndex
==
1
)
return
'RecordList'
else
if
(
this
.
tabIndex
==
len
-
1
)
return
'Point'
else
return
'CustomerFile'
}
}
},
},
methods
:
{
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