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
55b47129
Commit
55b47129
authored
Sep 07, 2020
by
无尘
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修改数据维度
parent
712713e3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
18 additions
and
12 deletions
+18
-12
tag-classify-list.vue
src/components/app/my-customer/tag-classify-list.vue
+8
-8
clerk-tag.vue
src/views/apps/customer-app/clerk-tag.vue
+3
-3
data-dimension.vue
src/views/apps/customer-app/data-dimension.vue
+7
-1
No files found.
src/components/app/my-customer/tag-classify-list.vue
View file @
55b47129
...
...
@@ -4,17 +4,17 @@
* @Author: 无尘
* @Date: 2020-09-01 11:09:16
* @LastEditors: 无尘
* @LastEditTime: 2020-09-0
3 15:24:17
* @LastEditTime: 2020-09-0
7 14:57:46
-->
<!--
<tag-classify-list :brand-id="brandId" @refreshClassify="refreshClassify" @changeClass="changeClass"></tag-classify-list>
<tag-classify-list :
tag-list="tagList" :current-classify-id="currentClassifyId" :
brand-id="brandId" @refreshClassify="refreshClassify" @changeClass="changeClass"></tag-classify-list>
import tagClassifyList from '@/components/app/my-customer/tag-classify-list.vue';
-->
<
template
>
<div>
<ul
class=
"tag-classify-body"
>
<li
:class=
"['tag-classify-item',
{ active: currentClassifyId == item.
tagCategoryId }]" v-for="(item, index) in tagList" :key="item.tagC
ategoryId+index" @click="changeClassify(index, item)">
<span
class=
"tag-classify-name"
>
{{
item
.
tagCategoryName
}}
</span>
<li
:class=
"['tag-classify-item',
{ active: currentClassifyId == item.
categoryId }]" v-for="(item, index) in tagList" :key="item.c
ategoryId+index" @click="changeClassify(index, item)">
<span
class=
"tag-classify-name"
>
{{
item
.
categoryName
||
'--'
}}
</span>
<el-dropdown
placement=
"bottom-start"
>
<i
class=
"iconfont icongengduo edit-icon"
></i>
<el-dropdown-menu
slot=
"dropdown"
>
...
...
@@ -89,7 +89,7 @@ export default {
if
(
res
==
'close'
)
{
return
false
;
}
that
.
editRow
.
tagC
ategoryName
=
res
;
that
.
editRow
.
c
ategoryName
=
res
;
},
/**
* @description: 删除分类
...
...
@@ -106,13 +106,13 @@ export default {
type
:
'warning'
})
.
then
(()
=>
{
that
.
delTagData
(
row
.
tagC
ategoryId
);
that
.
delTagData
(
row
.
c
ategoryId
);
})
.
catch
(()
=>
{});
},
delTagData
(
tagC
ategoryId
)
{
delTagData
(
c
ategoryId
)
{
const
that
=
this
;
const
para
=
{
tagC
ategoryId
};
const
para
=
{
c
ategoryId
};
delClassify
(
para
)
.
then
(
res
=>
{
that
.
$emit
(
'refreshClassify'
);
...
...
src/views/apps/customer-app/clerk-tag.vue
View file @
55b47129
...
...
@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2020-08-28 16:51:22
* @LastEditors: 无尘
* @LastEditTime: 2020-09-07 1
1:18:38
* @LastEditTime: 2020-09-07 1
4:57:59
-->
<
template
>
...
...
@@ -14,7 +14,7 @@
<div
class=
"clerk-tag-add text-center"
>
<el-button
icon=
"el-icon-plus"
@
click=
"toAddCate"
>
新建分类
</el-button>
</div>
<tag-classify-list
:tag-list=
"tagsClassifyData"
:brand-id=
"brandId"
@
refreshClassify=
"refreshClassify"
@
changeClass=
"changeClass"
></tag-classify-list>
<tag-classify-list
:tag-list=
"tagsClassifyData"
:
current-classify-id=
"currentClassify"
:
brand-id=
"brandId"
@
refreshClassify=
"refreshClassify"
@
changeClass=
"changeClass"
></tag-classify-list>
</div>
<div
class=
"clerk-tag-right p-20 border-box"
>
<div
class=
"clerk-tag-search"
>
...
...
@@ -309,7 +309,7 @@ export default {
wxEnterpriseId
:
that
.
wxEnterpriseId
,
enterpriseId
:
that
.
brandId
,
keyword
:
that
.
searchVal
,
tagC
ategoryId
:
that
.
currentClassify
c
ategoryId
:
that
.
currentClassify
};
getClerkTag
(
para
)
.
then
(
res
=>
{
...
...
src/views/apps/customer-app/data-dimension.vue
View file @
55b47129
...
...
@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2020-08-27 11:36:51
* @LastEditors: 无尘
* @LastEditTime: 2020-09-07 1
4:50:22
* @LastEditTime: 2020-09-07 1
5:14:20
-->
<
template
>
...
...
@@ -189,9 +189,13 @@ export default {
that
.
loadingService
=
false
;
if
(
res
.
result
.
cards
&&
res
.
result
.
cards
.
length
){
that
.
memberCardData
=
that
.
sortTable
(
res
.
result
.
cards
);
}
else
{
that
.
memberCardData
=
[];
}
if
(
res
.
result
.
services
&&
res
.
result
.
services
.
length
){
that
.
serviceNumData
=
that
.
sortTable
(
res
.
result
.
services
);
}
else
{
that
.
serviceNumData
=
[];
}
})
.
catch
(
function
(
error
)
{
...
...
@@ -216,6 +220,8 @@ export default {
brandId
(
val
)
{
const
that
=
this
;
if
(
val
)
{
that
.
memberCardData
=
[];
that
.
serviceNumData
=
[];
that
.
getMemberCrad
();
}
}
...
...
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