Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
haoban-4
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
office
haoban-4
Commits
b7386cc2
Commit
b7386cc2
authored
Sep 11, 2020
by
无尘
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 设置应用菜单数据
parent
0fb16fd9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
10 deletions
+15
-10
app-detail-left.vue
src/components/app/app-detail-left.vue
+4
-4
index.vue
src/views/apps/customer-app/index.vue
+11
-6
No files found.
src/components/app/app-detail-left.vue
View file @
b7386cc2
...
...
@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2019-03-20 14:36:37
* @LastEditors: 无尘
* @LastEditTime: 2020-09-11 14:
38:23
* @LastEditTime: 2020-09-11 14:
46:52
-->
<!--
应用公共左侧菜单:
...
...
@@ -21,17 +21,17 @@
<div
class=
"p-t-12"
>
<ul
class=
"tab-left-list"
>
<template
v-for=
"(item, index) in tabData"
>
<li
:class=
"['tab-left-list-cell color-303133 font-14 border-box p-l-14', item.menuUrl == activeTab &&
!item.children.length
? 'active-tab' : '']"
:key=
"index"
@
click=
"selectTab(item, false, index)"
>
<li
:class=
"['tab-left-list-cell color-303133 font-14 border-box p-l-14', item.menuUrl == activeTab &&
(!item.children ||!item.children.length)
? 'active-tab' : '']"
:key=
"index"
@
click=
"selectTab(item, false, index)"
>
<i
:class=
"['p-r-10 color-303133 iconfont', item.iconUrl, !!item.onlyIconActive ? '' : '']"
></i>
{{
item
.
tabName
||
item
.
menuName
}}
<!-- iconActive
<i
v-if=
"!!item.children && !!item.children.length"
:class=
"[!!collapsFlag ? 'el-icon-arrow-up' : 'el-icon-arrow-down']"
></i>
-->
</li>
<ul
class=
"child-tab-left-list"
:key=
"'childitem' + index"
>
<!-- v-if="!!item.collapsFlag"-->
<template
v-for=
"(childitem, childIndex) in item.children"
>
<li
:class=
"['tab-left-list-cell color-303133 font-14 border-box p-l-40', childitem.menuUrl == activeTab &&
!childitem.children.length
? 'active-tab' : '']"
:key=
"childIndex"
@
click=
"selectTab(childitem, 'child', index)"
>
{{
childitem
.
tabName
}}
</li>
<li
:class=
"['tab-left-list-cell color-303133 font-14 border-box p-l-40', childitem.menuUrl == activeTab &&
(!childitem.children || !childitem.children.length)
? 'active-tab' : '']"
:key=
"childIndex"
@
click=
"selectTab(childitem, 'child', index)"
>
{{
childitem
.
tabName
}}
</li>
<ul
class=
"third-tab-left-list"
:key=
"'thirditem' + childIndex"
>
<template
v-for=
"(thirditem, thirdIndex) in childitem.children"
>
<li
:class=
"['tab-left-list-cell color-303133 font-14 border-box p-l-60', thirditem.menuUrl == activeTab &&
!thirditem.children.length
? 'active-tab' : '']"
:key=
"thirdIndex"
@
click=
"selectTab(thirditem, 'child', index)"
>
{{
thirditem
.
tabName
}}
</li>
<li
:class=
"['tab-left-list-cell color-303133 font-14 border-box p-l-60', thirditem.menuUrl == activeTab &&
(!thirditem.children || !thirditem.children.length)
? 'active-tab' : '']"
:key=
"thirdIndex"
@
click=
"selectTab(thirditem, 'child', index)"
>
{{
thirditem
.
tabName
}}
</li>
</
template
>
</ul>
</template>
...
...
src/views/apps/customer-app/index.vue
View file @
b7386cc2
...
...
@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2019-03-20 14:36:37
* @LastEditors: 无尘
* @LastEditTime: 2020-09-11 14:
30:57
* @LastEditTime: 2020-09-11 14:
45:01
-->
<
template
>
<div
class=
"my-customer-wrap common-set-wrap"
>
...
...
@@ -57,31 +57,36 @@ export default {
tabId
:
'1'
,
menuName
:
'顾客数据维度'
,
iconUrl
:
'iconjichushezhi'
,
menuUrl
:
'/data-dimension'
menuUrl
:
'/data-dimension'
,
children
:
[]
},
{
tabId
:
'2'
,
menuName
:
'场景人群'
,
iconUrl
:
'icongukeguanliicon'
,
menuUrl
:
'/crowd-scene'
menuUrl
:
'/crowd-scene'
,
children
:
[]
},
{
tabId
:
'3'
,
menuName
:
'顾客数据'
,
iconUrl
:
'icongukeguanliicon'
,
menuUrl
:
'/customer-data-set'
menuUrl
:
'/customer-data-set'
,
children
:
[]
},
{
tabId
:
'4'
,
menuName
:
'导购标签'
,
iconUrl
:
'icongukeguanliicon'
,
menuUrl
:
'/clerk-tag'
menuUrl
:
'/clerk-tag'
,
children
:
[]
},
{
tabId
:
'5'
,
menuName
:
'顾客分配'
,
iconUrl
:
'icongukeguanliicon'
,
menuUrl
:
'/customer-assign'
menuUrl
:
'/customer-assign'
,
children
:
[]
}
],
activeBrand
:
''
,
// 商户(品牌) id
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment