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 b0a7675e
authored
Mar 16, 2022
by
chenwq
Committed by
杨北旺
Mar 19, 2022
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
sop编辑-联调-属性int
1 parent
f6c575b2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
12 deletions
src/views/sop/editSop/baseInfo.vue
src/views/sop/editSop/editEvent.vue
src/views/sop/editSop/baseInfo.vue
View file @
b0a7675
...
...
@@ -121,15 +121,15 @@ export default {
baseData
:
{
channelTypeList
:
[
{
confId
:
'1'
,
confId
:
1
,
confName
:
'企业微信'
},
{
confId
:
'2'
,
confId
:
2
,
confName
:
'短信'
},
{
confId
:
'3'
,
confId
:
3
,
confName
:
'微信朋友圈'
}
]
...
...
src/views/sop/editSop/editEvent.vue
View file @
b0a7675
...
...
@@ -105,6 +105,7 @@ const ATT_TYPE = {
ACTIVITY
:
7
}
import
ActivityModel
from
'./components/activityModel'
import
*
as
moment
from
'moment'
export
default
{
name
:
'editGift'
,
data
()
{
...
...
@@ -126,7 +127,7 @@ export default {
eventTime
:
''
,
repeatFlag
:
'N'
,
// 1:按天,2:按周,3:按月
repeatMode
:
'1'
,
repeatMode
:
1
,
repeatTime
:
''
,
eventEndDate
:
''
,
pushChannelType
:
''
,
...
...
@@ -251,7 +252,7 @@ export default {
this
.
editFormDataTime
[
index
].
isHide
=
val
==
'N'
})
if
(
val
==
'N'
)
{
this
.
editForm
.
repeatMode
=
'1'
this
.
editForm
.
repeatMode
=
1
this
.
editForm
.
repeatTime
=
''
this
.
editForm
.
eventEndDate
=
''
}
...
...
@@ -265,15 +266,15 @@ export default {
optionLabel
:
'confName'
,
optionList
:
[
{
confId
:
'1'
,
confId
:
1
,
confName
:
'按天'
},
{
confId
:
'2'
,
confId
:
2
,
confName
:
'按周'
},
{
confId
:
'3'
,
confId
:
3
,
confName
:
'按月'
}
],
...
...
@@ -319,17 +320,17 @@ export default {
optionLabel
:
'confName'
,
optionList
:
[
{
confId
:
'1'
,
confId
:
1
,
confName
:
'企业微信'
,
isDisabled
:
false
},
{
confId
:
'2'
,
confId
:
2
,
confName
:
'短信'
,
isDisabled
:
false
},
{
confId
:
'3'
,
confId
:
3
,
confName
:
'微信朋友圈'
,
isDisabled
:
false
}
...
...
@@ -399,7 +400,7 @@ export default {
this
.
footerWidth
=
document
.
documentElement
.
clientWidth
-
this
.
footerLeft
// this.editForm = JSON.parse(JSON.stringify(this.eventObj.info))
Object
.
assign
(
this
.
editForm
,
this
.
eventObj
.
info
)
//
console.log(this.editForm)
console
.
log
(
this
.
editForm
)
this
.
$nextTick
(()
=>
{
this
.
editStatus
=
false
})
...
...
@@ -443,6 +444,8 @@ 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
.
recoveryRepeat
()
this
.
recoveryEndTime
()
},
...
...
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