Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-custom
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 4bb1121f
authored
Apr 16, 2022
by
xuyl
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'v2.1.0' of
http://192.168.3.233:8090/saas/scrm-micro-custom
into xuyl_dev_2.1.0
2 parents
3e344416
b4d62843
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
47 additions
and
9 deletions
src/mixins/tag.js
src/views/clientDataOverview/group.vue
src/views/tagsManage/index.vue
src/mixins/tag.js
View file @
4bb1121
...
@@ -82,6 +82,9 @@ export default {
...
@@ -82,6 +82,9 @@ export default {
goDetail
(
scope
)
{
goDetail
(
scope
)
{
this
.
$router
.
push
(
'/clientManage/clientDetail?id='
+
scope
.
oneId
)
this
.
$router
.
push
(
'/clientManage/clientDetail?id='
+
scope
.
oneId
)
},
},
jumpGroup
()
{
this
.
$router
.
push
(
'/crowdManage/index'
)
},
//删除标签组
//删除标签组
removeItem
(
index
)
{
removeItem
(
index
)
{
this
.
tagCheckItem
.
splice
(
index
,
1
)
this
.
tagCheckItem
.
splice
(
index
,
1
)
...
@@ -195,11 +198,8 @@ export default {
...
@@ -195,11 +198,8 @@ export default {
.
addCrowd
(
params
)
.
addCrowd
(
params
)
.
then
(
res
=>
{
.
then
(
res
=>
{
if
(
res
)
{
if
(
res
)
{
this
.
$message
({
type
:
'success'
,
message
:
'操作成功!'
})
this
.
groupVisible
=
false
this
.
groupVisible
=
false
this
.
successVisible
=
true
}
else
{
}
else
{
this
.
$message
({
this
.
$message
({
type
:
'error'
,
type
:
'error'
,
...
...
src/views/clientDataOverview/group.vue
View file @
4bb1121
...
@@ -180,7 +180,7 @@ export default {
...
@@ -180,7 +180,7 @@ export default {
},
},
{
{
label
:
'购车时间'
,
label
:
'购车时间'
,
prop
:
'
addTim
e'
,
prop
:
'
buyDat
e'
,
width
:
110
width
:
110
},
},
{
{
...
...
src/views/tagsManage/index.vue
View file @
4bb1121
...
@@ -254,6 +254,15 @@
...
@@ -254,6 +254,15 @@
</div>
</div>
</div>
</div>
</basic-dialog>
</basic-dialog>
<el-dialog
title=
"提示"
:visible
.
sync=
"successVisible"
width=
"30%"
>
<div
class=
"success-panel"
>
<i
class=
"el-icon-circle-check"
></i>
</div>
<div
class=
"success-tips"
>
<div
class=
"success-tips-h1"
>
已保存为人群
</div>
<div
class=
"success-tips-h2"
@
click=
"jumpGroup"
>
立即前往“人群管理”>
</div>
</div>
</el-dialog>
<div
class=
"loading-containner"
v-if=
"userLoading"
>
<div
class=
"loading-containner"
v-if=
"userLoading"
>
<div
class=
"loading-box"
>
客户列表加载中
</div>
<div
class=
"loading-box"
>
客户列表加载中
</div>
</div>
</div>
...
@@ -299,6 +308,7 @@ export default {
...
@@ -299,6 +308,7 @@ export default {
}
}
}
}
return
{
return
{
successVisible
:
false
,
userLoading
:
false
,
userLoading
:
false
,
dialogRuleVisible
:
false
,
dialogRuleVisible
:
false
,
expand
:
false
,
expand
:
false
,
...
@@ -530,7 +540,7 @@ export default {
...
@@ -530,7 +540,7 @@ export default {
if
(
this
.
accountLevel
==
1
)
{
if
(
this
.
accountLevel
==
1
)
{
//集团下的工厂只能创建企微标签,自店标签不要了
//集团下的工厂只能创建企微标签,自店标签不要了
this
.
tagsGroupList
.
splice
(
1
,
1
)
this
.
tagsGroupList
.
splice
(
1
,
1
)
this
.
tagsPartFormList
[
0
].
options
.
splice
(
1
,
1
)
//
this.tagsPartFormList[0].options.splice(1, 1)
}
}
}
}
// 集团授权模式下的门店账号,拥有标签管理模块权限,修改为:去掉门店的“标签管理”模块权限
// 集团授权模式下的门店账号,拥有标签管理模块权限,修改为:去掉门店的“标签管理”模块权限
...
@@ -538,7 +548,7 @@ export default {
...
@@ -538,7 +548,7 @@ export default {
if
(
this
.
merchantModel
==
2
)
{
if
(
this
.
merchantModel
==
2
)
{
if
(
this
.
accountLevel
==
4
)
{
if
(
this
.
accountLevel
==
4
)
{
this
.
tagsGroupList
.
splice
(
1
,
1
)
this
.
tagsGroupList
.
splice
(
1
,
1
)
this
.
tagsPartFormList
[
0
].
options
.
splice
(
1
,
1
)
//
this.tagsPartFormList[0].options.splice(1, 1)
}
}
}
}
}
}
...
@@ -548,7 +558,7 @@ export default {
...
@@ -548,7 +558,7 @@ export default {
},
},
mounted
()
{
mounted
()
{
let
clientHeight
=
document
.
documentElement
.
clientHeight
let
clientHeight
=
document
.
documentElement
.
clientHeight
this
.
heightBox
=
clientHeight
-
1
5
0
this
.
heightBox
=
clientHeight
-
1
4
0
//没数据的时候要算高度
//没数据的时候要算高度
// setTimeout(() => {
// setTimeout(() => {
// if (!this.$refs.tagsManage.data.length) {
// if (!this.$refs.tagsManage.data.length) {
...
@@ -640,8 +650,8 @@ export default {
...
@@ -640,8 +650,8 @@ export default {
},
},
//重置表格
//重置表格
handleReset
()
{
handleReset
()
{
this
.
getCustomersListData
()
this
.
searchForm
=
{}
this
.
searchForm
=
{}
this
.
getCustomersListData
()
},
},
btnClick
(
pType
,
rowData
)
{
btnClick
(
pType
,
rowData
)
{
console
.
log
(
pType
,
rowData
,
'btnClick'
)
console
.
log
(
pType
,
rowData
,
'btnClick'
)
...
@@ -932,6 +942,34 @@ export default {
...
@@ -932,6 +942,34 @@ export default {
content
:
'. . .'
;
content
:
'. . .'
;
}
}
}
}
.success-panel
{
display
:
flex
;
justify-content
:
center
;
margin-top
:
40px
;
.el-icon-circle-check
{
color
:
#2cca74
;
font-size
:
36px
;
}
}
.success-tips
{
color
:
#5850ff
;
text-align
:
center
;
margin
:
10px
0px
30px
;
line-height
:
20px
;
&-h1
{
font-size
:
16px
;
color
:
#333333
;
}
&
-h2
{
cursor
:
pointer
;
margin-top
:
30px
;
font-size
:
14px
;
color
:
#5850ff
;
}
}
.success-footer
{
text-align
:
center
;
}
.leftDistance
{
.leftDistance
{
margin-left
:
10px
;
margin-left
:
10px
;
}
}
...
...
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