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 21cc2b88
authored
Jun 15, 2023
by
王志慧
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fixed
1 parent
e167c5ad
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
26 deletions
src/views/groupTagsManage/index.vue
src/views/groupTagsManage/index.vue
View file @
21cc2b8
...
...
@@ -8,23 +8,21 @@
<span>
共有
{{
numberObj
.
groupCount
||
0
}}
个标签组
<!-- v-if="!(merchantModel == 1 && accountLevel == 4)" -->
<template>
,
{{
numberObj
.
bizLabelCount
||
0
}}
个
{{
'企业'
|
tagType
}}
标签
</
template
>
<
template
v-if=
"!((merchantModel == 2 && accountLevel == 4) || (merchantModel == 1 && accountLevel == 1))"
>
,
{{
numberObj
.
rcLabelCount
||
0
}}
个自店标签
</
template
>
<template>
,
{{
numberObj
.
rcLabelCount
||
0
}}
个自店标签
</
template
>
<
template
>
,
{{
numberObj
.
traLabelCount
||
0
}}
个系统标签
</
template
>
</span>
<span
class=
"iconPanelWrap"
v-if=
"!isFirstShow"
>
<el-popover
placement=
"top"
width=
"666"
trigger=
"hover"
>
<!-- v-if="!(merchantModel == 1 && accountLevel == 4)" -->
<div>
{{ '企业' | tagType }}标签为全局标签,员工可在企微APP端客户详情、客户跟进等模块查看和打标签,最多3000个;
</div>
<div
v-if=
"!((merchantModel == 2 && accountLevel == 4) || (merchantModel == 1 && accountLevel == 1))"
>
自店标签为企业商户自有标签,员工可在企微APP端客户跟进等模块查看和打标签,最多3000个;
</div>
<div>
自店标签为企业商户自有标签,员工可在企微APP端客户跟进等模块查看和打标签,最多3000个;
</div>
<div>
系统标签为通过大数据算法规则生成的标签
</div>
<img
src=
"@/assets/tagsManage/question.png"
slot=
"reference"
alt=
""
/>
</el-popover>
</span>
</span>
<div
class=
"initPanel"
v-if=
"isFirstShow"
>
<
template
>
{{
'企业'
|
tagType
}}
标签为全局标签,员工可在企微APP端客户详情、客户跟进等模块查看和打标签,最多3000个;
</
template
>
<
template
v-if=
"!((merchantModel == 2 && accountLevel == 4) || (merchantModel == 1 && accountLevel == 1))"
>
自店标签为企业商户自有标签,员工可在企微APP端客户跟进等模块查看和打标签,最多3000个;
</
template
>
<
template
>
自店标签为企业商户自有标签,员工可在企微APP端客户跟进等模块查看和打标签,最多3000个;
</
template
>
系统标签为通过大数据算法规则生成的标签
<img
src=
"@/assets/tagsManage/Shape.png"
alt=
""
/>
<i
class=
"el-icon-close"
@
click=
"closeInitPanel"
></i>
...
...
@@ -155,11 +153,6 @@
</template>
最多3000个
</span>
<span
class=
"tagTipMsg"
v-if=
"tagDialogTitle == '添加标签组' && tagForm.initTagsGroup == 1"
>
自店标签已创建
<span
class=
"pure-blue-text"
>
{{ numberObj.bizLabelCount }}
</span>
个
</span>
<span
class=
"tagTipMsg"
v-if=
"tagDialogTitle == '添加标签组' && tagForm.initTagsGroup == 2"
>
自店标签已创建
<span
class=
"pure-blue-text"
>
{{ numberObj.rcLabelCount }}
</span>
...
...
@@ -170,8 +163,6 @@
<span
class=
"pure-blue-text"
>
{{ tagForm.initTagsGroup == 1 ? numberObj.bizLabelCount : numberObj.rcLabelCount }}
</span>
个
</span>
<!-- 企业标签最多3000个,已创建3个 -->
<!-- 自店标签最多3000个,已创建3个 -->
</div>
<div
slot=
"modeType"
>
<el-input
v-model
.
trim=
"tagForm.mode"
disabled
></el-input>
...
...
@@ -195,10 +186,6 @@
<span
class=
"el-icon-circle-close"
@
click=
"deleteRow(index)"
></span>
</div>
<!-- 需要后台告诉已经创建多少个标签了 -->
<div
class=
"addtagIcon"
v-if=
"tagForm.initTagsGroup == 1"
:style=
"{ color: numberObj.bizLabelCount >= 3000 ? '#EEE' : '' }"
@
click=
"addRow(tagForm.initTagsGroup)"
>
<i
class=
"el-icon-circle-plus-outline"
></i>
<span
class=
"addTagText"
>
新增标签
</span>
</div>
<div
class=
"addtagIcon"
v-if=
"tagForm.initTagsGroup == 2"
:style=
"{ color: numberObj.rcLabelCount >= 3000 ? '#EEE' : '' }"
@
click=
"addRow(tagForm.initTagsGroup)"
>
<i
class=
"el-icon-circle-plus-outline"
></i>
<span
class=
"addTagText"
>
新增标签
</span>
...
...
@@ -763,10 +750,7 @@ export default {
this
.
tagNameRules
=
false
if
(
!
this
.
tagVisible
&&
this
.
$refs
.
tagForm
)
{
this
.
$refs
.
tagForm
.
$children
[
0
].
resetFields
()
this
.
tagForm
.
initTagsGroup
=
1
if
(
this
.
merchantModel
==
1
&&
(
this
.
accountLevel
==
2
||
this
.
accountLevel
==
3
||
this
.
accountLevel
==
4
))
{
this
.
tagForm
.
initTagsGroup
=
2
}
this
.
tagForm
.
initTagsGroup
=
2
this
.
tagForm
.
tagsName
=
''
}
this
.
tagForm
.
tagsList
=
[]
//取消时清空新增标签
...
...
@@ -848,12 +832,7 @@ export default {
},
//添加一行标签
addRow
(
type
)
{
const
typeLabel
=
this
.
$globalState
.
session
.
merchantModel
==
1
?
'集团标签'
:
'企业标签'
this
.
tagNameRules
=
false
if
(
type
==
1
&&
this
.
numberObj
.
bizLabelCount
>=
3000
)
{
this
.
$message
.
error
(
`
${
typeLabel
}
数量已达上限`
)
return
}
if
(
type
==
2
&&
this
.
numberObj
.
rcLabelCount
>=
3000
)
{
this
.
$message
.
error
(
'自店标签数量已达上限'
)
return
...
...
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