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 bec40147
authored
Jun 27, 2024
by
前端
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'V4.40.0' into 'master'
上线合并 See merge request
!184
2 parents
35c4e046
fcfb7d93
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
9 deletions
src/views/tagsManage/index.vue
src/views/tagsManage/index.vue
View file @
bec4014
...
@@ -92,9 +92,7 @@
...
@@ -92,9 +92,7 @@
>
>
保存为人群
保存为人群
</el-button>
</el-button>
<el-button
plain
size=
"small"
@
click=
"createMarketSOP()"
>
<el-button
plain
size=
"small"
@
click=
"createMarketSOP()"
>
营销SOP
</el-button>
营销SOP
</el-button>
</div>
</div>
</div>
</div>
<!-- noDataText="你当前还没有添加的标签" -->
<!-- noDataText="你当前还没有添加的标签" -->
...
@@ -108,9 +106,9 @@
...
@@ -108,9 +106,9 @@
</div>
</div>
<span
v-if=
"idx == 1"
>
<span
v-if=
"idx == 1"
>
<el-popover
placement=
"right-start"
trigger=
"hover"
>
<el-popover
placement=
"right-start"
trigger=
"hover"
>
<div
v-for=
"(i, index) in scope.scope.nickNameList"
style=
"padding-bottom:3px !important"
:key=
"index"
>
<div
v-for=
"(i, index) in scope.scope.nickNameList"
style=
"padding-bottom:
3px !important"
:key=
"index"
>
<span>
{{ i.nickName }}
</span>
<span>
{{ i.nickName }}
</span>
<span
style=
"height: 20px; font-size: 12px; letter-spacing: 0; line-height: 20px; font-weight: 400;
margin-left:
2px"
:class=
"[i.type == 1 ? 'pure-green-text' : '', i.type == 2 ? 'pure-yello-text' : '']"
>
@{{ i.corpName }}
</span>
<span
style=
"height: 20px; font-size: 12px; letter-spacing: 0; line-height: 20px; font-weight: 400;
margin-left:
2px"
:class=
"[i.type == 1 ? 'pure-green-text' : '', i.type == 2 ? 'pure-yello-text' : '']"
>
@{{ i.corpName }}
</span>
</div>
</div>
<img
class=
"imgEll"
src=
"@/assets/tagsManage/ellipsis.png"
alt=
""
slot=
"reference"
/>
<img
class=
"imgEll"
src=
"@/assets/tagsManage/ellipsis.png"
alt=
""
slot=
"reference"
/>
</el-popover>
</el-popover>
...
@@ -608,7 +606,7 @@ export default {
...
@@ -608,7 +606,7 @@ export default {
}
}
this
.
$common
.
utils
.
storage
.
set
(
'sopInfo'
,
params
)
this
.
$common
.
utils
.
storage
.
set
(
'sopInfo'
,
params
)
this
.
$history
.
push
({
this
.
$history
.
push
({
path
:
'
marketing
/sop/editSop'
path
:
'
tools
/sop/editSop'
})
})
},
},
toViewCustomer
(
info
)
{
toViewCustomer
(
info
)
{
...
@@ -627,7 +625,7 @@ export default {
...
@@ -627,7 +625,7 @@ export default {
// return list
// return list
return
list
.
slice
(
0
,
9
)
return
list
.
slice
(
0
,
9
)
},
},
checkInputContent
:
function
(
e
)
{
checkInputContent
:
function
(
e
)
{
//确保每个输入框的内容不和已存在的编辑标签相同
//确保每个输入框的内容不和已存在的编辑标签相同
let
isHasSameTag
=
this
.
editTagList
.
some
(
ele
=>
ele
.
name
==
e
)
let
isHasSameTag
=
this
.
editTagList
.
some
(
ele
=>
ele
.
name
==
e
)
if
(
isHasSameTag
)
{
if
(
isHasSameTag
)
{
...
@@ -731,7 +729,7 @@ export default {
...
@@ -731,7 +729,7 @@ export default {
this
.
tagForm
.
tagsName
=
rowData
.
labelGroup
.
name
//标签组名
this
.
tagForm
.
tagsName
=
rowData
.
labelGroup
.
name
//标签组名
this
.
tagForm
.
initTagsGroup
=
rowData
.
labelType
==
'企业标签'
||
rowData
.
labelType
==
'集团标签'
?
1
:
rowData
.
labelType
==
'自店标签'
?
2
:
''
//标签组类型
this
.
tagForm
.
initTagsGroup
=
rowData
.
labelType
==
'企业标签'
||
rowData
.
labelType
==
'集团标签'
?
1
:
rowData
.
labelType
==
'自店标签'
?
2
:
''
//标签组类型
},
},
handleConfirm
:
utils
.
debounce
(
function
()
{
handleConfirm
:
utils
.
debounce
(
function
()
{
this
.
$refs
.
tagForm
.
$children
[
0
].
validate
(
valid
=>
{
this
.
$refs
.
tagForm
.
$children
[
0
].
validate
(
valid
=>
{
if
(
!
valid
)
{
if
(
!
valid
)
{
if
(
this
.
tagForm
.
tagsList
.
length
<=
0
&&
this
.
tagDialogTitle
==
'添加标签组'
)
{
if
(
this
.
tagForm
.
tagsList
.
length
<=
0
&&
this
.
tagDialogTitle
==
'添加标签组'
)
{
...
@@ -1343,7 +1341,7 @@ export default {
...
@@ -1343,7 +1341,7 @@ export default {
flex-wrap
:
wrap
;
flex-wrap
:
wrap
;
align-content
:
flex-start
;
align-content
:
flex-start
;
padding-top
:
3px
;
padding-top
:
3px
;
.tagsWrapInput{
.tagsWrapInput
{
border
:
1px
solid
rgb
(
229
,
229
,
229
);
border
:
1px
solid
rgb
(
229
,
229
,
229
);
padding
:
8px
;
padding
:
8px
;
width
:
423px
;
width
:
423px
;
...
...
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