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 b9d050e9
authored
Aug 02, 2022
by
胡悦
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修复bug
1 parent
2193f05d
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
src/views/customerTransform/addCustomer.vue
src/views/customerTransform/addCustomerGroup.vue
src/views/customerTransform/components/preview.vue
src/views/customerTransform/addCustomer.vue
View file @
b9d050e
...
@@ -98,7 +98,7 @@
...
@@ -98,7 +98,7 @@
<el-form
:model=
"basicForm"
:rules=
"basicRules"
ref=
"groupForm"
label-width=
"120px"
>
<el-form
:model=
"basicForm"
:rules=
"basicRules"
ref=
"groupForm"
label-width=
"120px"
>
<el-form-item
prop=
"attachmentList"
>
<el-form-item
prop=
"attachmentList"
>
<label
slot=
"label"
class=
"required"
>
群发内容
</label>
<label
slot=
"label"
class=
"required"
>
群发内容
</label>
<GLEditor
ref=
"welcome"
:form=
"'customer'"
:btnList=
"btnList"
@
previewWord=
"previewForm"
></GLEditor>
<GLEditor
ref=
"welcome"
:form=
"'customer'"
style=
"line-height: 12px;"
:btnList=
"btnList"
@
previewWord=
"previewForm"
></GLEditor>
<div
v-show=
"attachmentShow"
class=
"el-form-item__error"
>
{{
attachmentText
}}
</div>
<div
v-show=
"attachmentShow"
class=
"el-form-item__error"
>
{{
attachmentText
}}
</div>
</el-form-item>
</el-form-item>
<el-form-item
label=
"发送时间"
prop=
"sendType"
>
<el-form-item
label=
"发送时间"
prop=
"sendType"
>
...
...
src/views/customerTransform/addCustomerGroup.vue
View file @
b9d050e
...
@@ -34,7 +34,7 @@
...
@@ -34,7 +34,7 @@
<el-form
:model=
"basicForm"
:rules=
"basicRules"
ref=
"groupForm"
label-width=
"120px"
>
<el-form
:model=
"basicForm"
:rules=
"basicRules"
ref=
"groupForm"
label-width=
"120px"
>
<el-form-item
prop=
"attachmentList"
>
<el-form-item
prop=
"attachmentList"
>
<label
slot=
"label"
class=
"required"
>
群发内容
</label>
<label
slot=
"label"
class=
"required"
>
群发内容
</label>
<GLEditor
ref=
"welcome"
:form=
"'customerGroup'"
:btnList=
"btnList"
@
previewWord=
"previewForm"
></GLEditor>
<GLEditor
ref=
"welcome"
:form=
"'customerGroup'"
style=
"line-height: 12px;"
:btnList=
"btnList"
@
previewWord=
"previewForm"
></GLEditor>
<div
v-show=
"attachmentShow"
class=
"el-form-item__error"
>
{{
attachmentText
}}
</div>
<div
v-show=
"attachmentShow"
class=
"el-form-item__error"
>
{{
attachmentText
}}
</div>
</el-form-item>
</el-form-item>
<el-form-item
label=
"发送时间"
prop=
"sendType"
>
<el-form-item
label=
"发送时间"
prop=
"sendType"
>
...
...
src/views/customerTransform/components/preview.vue
View file @
b9d050e
...
@@ -82,8 +82,8 @@ export default {
...
@@ -82,8 +82,8 @@ export default {
})
})
item
.
attContent
=
htm
item
.
attContent
=
htm
}
else
if
(
item
.
attType
!=
2
&&
item
.
attType
!=
3
)
{
}
else
if
(
item
.
attType
!=
2
&&
item
.
attType
!=
3
)
{
console
.
log
(
item
)
console
.
log
(
item
.
attContent
,
JSON
.
parse
(
item
.
attContent
).
fileName
)
item
.
attContent
=
JSON
.
parse
(
utils
.
deepClone
(
item
.
attContent
)
)
item
.
attContent
=
JSON
.
parse
(
item
.
attContent
)
}
}
})
})
}
}
...
@@ -91,7 +91,7 @@ export default {
...
@@ -91,7 +91,7 @@ export default {
previewVal
:
{
previewVal
:
{
handler
(
val
)
{
handler
(
val
)
{
console
.
log
(
val
)
console
.
log
(
val
)
this
.
previewList
=
utils
.
deepClone
(
val
)
this
.
previewList
=
utils
.
deepClone
(
val
)
.
filter
(
item
=>
item
.
attContent
)
},
},
deep
:
true
deep
:
true
}
}
...
...
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