Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-marketing
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 8b33f595
authored
Apr 15, 2022
by
前端
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'huy_dev_v2.1.0' into 'v2.1.0'
修改群发 See merge request
!108
2 parents
3e4d78dd
c4ce1940
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
src/views/customerTransform/components/preview.vue
src/views/customerTransform/components/selectLabel.vue
src/views/customerTransform/components/preview.vue
View file @
8b33f59
...
...
@@ -59,7 +59,7 @@ export default {
previewList
(
val
)
{
if
(
val
.
length
&&
val
[
0
].
attType
==
1
)
{
const
attContent
=
val
[
0
].
attContent
const
htm
=
attContent
.
replace
(
/
\[[\u
4E00-
\u
9FA56
]{1,4}
]/gi
,
function
(
res
)
{
const
htm
=
attContent
.
replace
(
/
\[[\u
4E00-
\u
9FA56
]{1,4}
]/gi
,
function
(
res
)
{
let
word
=
res
.
replace
(
/
\[
|
\]
/gi
,
''
)
const
list
=
emoji
.
flat
(
Infinity
)
let
index
=
parseInt
(
list
.
indexOf
(
word
))
+
1
...
...
@@ -125,7 +125,7 @@ export default {
color
:
#333
;
background-color
:
#fff
;
border-radius
:
4px
;
word-
wrap
:
break-word
;
word-
break
:
break-all
;
display
:
flex
;
img
{
width
:
20px
;
...
...
@@ -133,6 +133,7 @@ export default {
}
}
.text
{
display
:
inline-block
;
font-size
:
16px
;
padding
:
8px
11px
;
}
...
...
src/views/customerTransform/components/selectLabel.vue
View file @
8b33f59
...
...
@@ -11,8 +11,8 @@
<el-button
size=
"small"
@
click=
"handleReset"
>
重置
</el-button>
</div>
<div
class=
"checkbox-group-box"
:style=
"
{ height: heightBox + 'px' }">
<div
style=
"margin-bottom: 8px"
class=
"checkbox-box"
v-for=
"(item, index) in labelTreeRets"
:key=
"index"
@
click=
"item.checked = !item.checked"
>
<span
class=
"el-tree-node__expand-icon el-icon-caret-right"
:class=
"
{ expanded: item.checked }" @click="item.checked = !item.checked">
</span>
<div
style=
"margin-bottom: 8px"
class=
"checkbox-box"
v-for=
"(item, index) in labelTreeRets"
:key=
"index"
@
click
.
self
=
"item.checked = !item.checked"
>
<span
class=
"el-tree-node__expand-icon el-icon-caret-right"
:class=
"
{ expanded: item.checked }" @click
.self
="item.checked = !item.checked">
</span>
{{
item
.
labelGroup
.
name
}}
<el-tag
:size=
"size"
>
{{
item
.
labelType
}}
</el-tag>
<el-radio-group
class=
"tag-group"
v-model=
"item.tagChecked"
v-show=
"item.checked"
>
...
...
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