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 bfbffdb0
authored
Jan 13, 2022
by
李长胜
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
标签修改
1 parent
87a7c8c0
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
6 deletions
src/views/tagsManage/index.vue
src/views/tagsManage/index.vue
View file @
bfbffdb
...
@@ -22,7 +22,7 @@
...
@@ -22,7 +22,7 @@
</span>
</span>
</span>
</span>
<div
class=
"initPanel"
v-if=
"isFirstShow"
>
<div
class=
"initPanel"
v-if=
"isFirstShow"
>
<
template
>
企业标签为全局标签,员工可在企微APP端客户详情、客户跟进等模块查看和打标签,最多3000个;
</
template
>
<
template
>
企业标签为全局标签,员工可在企微APP端客户详情、客户跟进等模块查看和打标签,最多3000个;
</
template
>
<
template
v-if=
"!((merchantModel == 2 && accountLevel == 4) || (merchantModel == 1 && accountLevel == 1))"
>
自店标签为企业商户自有标签,员工可在企微APP端客户跟进等模块查看和打标签,最多3000个;
</
template
>
<
template
v-if=
"!((merchantModel == 2 && accountLevel == 4) || (merchantModel == 1 && accountLevel == 1))"
>
自店标签为企业商户自有标签,员工可在企微APP端客户跟进等模块查看和打标签,最多3000个;
</
template
>
系统标签为通过大数据算法规则生成的标签
系统标签为通过大数据算法规则生成的标签
<img
src=
"@/assets/tagsManage/Shape.png"
alt=
""
/>
<img
src=
"@/assets/tagsManage/Shape.png"
alt=
""
/>
...
@@ -80,9 +80,9 @@
...
@@ -80,9 +80,9 @@
</el-select>
</el-select>
<!-- id="tagTipMsgRef" -->
<!-- id="tagTipMsgRef" -->
<span
class=
"tagTipMsg"
v-if=
"tagDialogTitle == '添加标签组' && !tagForm.initTagsGroup"
>
<span
class=
"tagTipMsg"
v-if=
"tagDialogTitle == '添加标签组' && !tagForm.initTagsGroup"
>
<
template
v-if=
"!(merchantModel == 1 && (accountLevel == 2 || accountLevel == 3 || accountLevel
==
4))"
>
企业标签
</
template
>
<
template
v-if=
"!(merchantModel == 1 && (accountLevel == 2 || accountLevel == 3 || accountLevel
==
4))"
>
企业标签
</
template
>
<
template
v-if=
"!((merchantModel == 2 && accountLevel == 4) || (merchantModel == 1 && accountLevel == 1))"
>
<
template
v-if=
"!((merchantModel == 2 && accountLevel == 4) || (merchantModel == 1 && accountLevel == 1))"
>
<template
v-if=
"!(merchantModel == 1 && (accountLevel == 2 || accountLevel == 3 || accountLevel
==
4))"
>
和
</
template
>
<template
v-if=
"!(merchantModel == 1 && (accountLevel == 2 || accountLevel == 3 || accountLevel
==
4))"
>
和
</
template
>
自店标签分别
自店标签分别
</template>
</template>
最多3000个
最多3000个
...
@@ -332,7 +332,7 @@ export default {
...
@@ -332,7 +332,7 @@ export default {
// }
// }
//1.0.1集团下的省代、市代,门店只能创建自店标签
//1.0.1集团下的省代、市代,门店只能创建自店标签
if
(
this
.
merchantModel
==
1
)
{
if
(
this
.
merchantModel
==
1
)
{
if
(
this
.
accountLevel
==
2
||
this
.
accountLevel
==
3
||
this
.
accountLevel
==
4
)
{
if
(
this
.
accountLevel
==
2
||
this
.
accountLevel
==
3
||
this
.
accountLevel
==
4
)
{
this
.
tagsGroupList
.
splice
(
0
,
1
)
//只能创建自店标签
this
.
tagsGroupList
.
splice
(
0
,
1
)
//只能创建自店标签
// this.tagsPartFormList[0].options.splice(0, 1)
// this.tagsPartFormList[0].options.splice(0, 1)
}
}
...
@@ -424,7 +424,7 @@ export default {
...
@@ -424,7 +424,7 @@ export default {
isShowEditBtn
(
row
)
{
isShowEditBtn
(
row
)
{
//集团模式下,只有集团能可以编辑企业,自店,其他只能编辑自店
//集团模式下,只有集团能可以编辑企业,自店,其他只能编辑自店
//单店模式下,仅门店和员工可以编辑
//单店模式下,仅门店和员工可以编辑
if
(
row
.
labelType
==
'自店标签'
&&
!
(
this
.
merchantModel
==
1
&&
(
this
.
accountLevel
==
2
||
this
.
accountLevel
==
3
||
this
.
accountLevel
==
4
)
))
{
if
(
row
.
labelType
==
'自店标签'
&&
!
(
this
.
merchantModel
==
1
&&
(
this
.
accountLevel
==
2
||
this
.
accountLevel
==
3
||
this
.
accountLevel
==
4
)))
{
return
false
return
false
}
}
if
(
this
.
merchantModel
==
1
)
{
if
(
this
.
merchantModel
==
1
)
{
...
@@ -618,7 +618,7 @@ export default {
...
@@ -618,7 +618,7 @@ export default {
if
(
this
.
tagForm
.
tagsList
.
length
>
0
)
{
if
(
this
.
tagForm
.
tagsList
.
length
>
0
)
{
this
.
$message
.
success
(
'添加成功'
)
this
.
$message
.
success
(
'添加成功'
)
}
}
if
(
this
.
tagDialogTitle
==
'编辑标签组'
)
{
if
(
this
.
tagDialogTitle
==
'编辑标签组'
)
{
this
.
tagForm
.
tagsName
=
''
this
.
tagForm
.
tagsName
=
''
this
.
tagForm
.
initTagsGroup
=
''
this
.
tagForm
.
initTagsGroup
=
''
this
.
tagForm
.
tagsList
=
[]
this
.
tagForm
.
tagsList
=
[]
...
@@ -626,6 +626,14 @@ export default {
...
@@ -626,6 +626,14 @@ export default {
this
.
handleClose
()
this
.
handleClose
()
}
else
if
(
res
.
data
.
code
==
1
)
{
}
else
if
(
res
.
data
.
code
==
1
)
{
this
.
$message
.
error
(
`
${
res
.
data
.
message
}
`
)
this
.
$message
.
error
(
`
${
res
.
data
.
message
}
`
)
}
else
if
(
res
.
data
.
code
==
2
)
{
//编辑弹框, 空标签调接口返回信息
if
(
this
.
tagDialogTitle
==
'编辑标签组'
)
{
this
.
tagForm
.
tagsName
=
''
this
.
tagForm
.
initTagsGroup
=
''
this
.
tagForm
.
tagsList
=
[]
}
this
.
handleClose
()
}
}
this
.
resetTable
()
//刷新下表格
this
.
resetTable
()
//刷新下表格
this
.
getTableTagNumFun
()
this
.
getTableTagNumFun
()
...
...
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