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 582165c9
authored
Mar 24, 2022
by
chenwq
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
bug修复
1 parent
cf87a987
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
8 deletions
src/views/sop/editSop/editEvent.vue
src/views/sop/editSop/editEvent.vue
View file @
582165c
...
...
@@ -42,7 +42,7 @@
<div
slot=
"eventContent"
class=
"content"
>
<div
class=
"content-bg"
>
<!--
<wTextarea
ref=
"textContent"
v-model=
"textValue"
@
updateText=
"updateText"
></wTextarea>
-->
<el-input
type=
"textarea"
:disabled=
"editForm.object
.additionalType == '4'
"
:rows=
"9"
maxlength=
"280"
show-word-limit
v-model=
"editForm.eventContent"
@
input=
"textInput"
style=
"-webkit-user-modify: read-write-plaintext-only !important; width: 656px"
placeholder=
"请输入营销文案"
></el-input>
<el-input
type=
"textarea"
:disabled=
"editForm.object
? editForm.object.additionalType == '4' : false
"
:rows=
"9"
maxlength=
"280"
show-word-limit
v-model=
"editForm.eventContent"
@
input=
"textInput"
style=
"-webkit-user-modify: read-write-plaintext-only !important; width: 656px"
placeholder=
"请输入营销文案"
></el-input>
<div
v-for=
"(itm, index) in previewList"
:key=
"itm.id"
>
<!-- additionalType 附加对象类型(1素材,2活动,3优惠券,4朋友券模板) -->
<div
v-if=
"itm.additionalType"
class=
"welcome-file"
>
...
...
@@ -469,12 +469,7 @@ export default {
getInfo
()
{
this
.
editForm
.
eventStartDate
=
moment
(
this
.
editForm
.
eventStartDate
).
format
(
'YYYY-MM-DD'
)
this
.
editForm
.
eventEndDate
=
moment
(
this
.
editForm
.
eventEndDate
).
format
(
'YYYY-MM-DD'
)
this
.
previewList
=
[
{
attContent
:
JSON
.
parse
(
JSON
.
stringify
(
this
.
editForm
.
object
)),
additionalType
:
this
.
editForm
.
object
.
additionalType
}
]
this
.
previewList
=
this
.
editForm
.
object
?
[{
attContent
:
JSON
.
parse
(
JSON
.
stringify
(
this
.
editForm
.
object
)),
additionalType
:
this
.
editForm
.
object
.
additionalType
}]
:
[]
this
.
recoveryRepeat
()
this
.
recoveryEndTime
()
},
...
...
@@ -625,7 +620,7 @@ export default {
.
then
(()
=>
{
this
.
cancelJump
()
})
.
catch
(()
=>
{})
.
catch
(()
=>
{
})
}
else
{
this
.
cancelJump
()
}
...
...
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