Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
marketing
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
marketing-web
marketing
Commits
a8d9d422
Commit
a8d9d422
authored
Sep 09, 2021
by
liuchenxi
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'bugfix/智能营销'
parents
1f86e9a3
4975882f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
+10
-10
form.js
src/views/ecm/form.js
+10
-10
No files found.
src/views/ecm/form.js
View file @
a8d9d422
...
...
@@ -834,8 +834,8 @@ export default {
templateEcmPlanId
:
this
.
isAdd
?
this
.
ecmPlanId
:
''
,
ecmPlanName
:
this
.
form
.
ecmPlanName
,
// 是 int 计划名称不能为空,且最多9个汉字
effectType
:
this
.
form
.
effectType
,
//是 int 时效: 实时: 0; 每天: 1
effectTime
:
this
.
form
.
effectT
ime
,
//否 int effectType = 1每天时必填, 时效为时间为0-23
effectAction
:
this
.
form
.
effect
Action
,
// 否 string effectType = 0实时时必填, 关注触发: ‘subscribe’; 认证触发: ‘authentication’
effectTime
:
this
.
form
.
effectT
ype
==
1
?
this
.
form
.
effectTime
:
undefined
,
//否 int effectType = 1每天时必填, 时效为时间为0-23
effectAction
:
this
.
form
.
effect
Type
==
0
?
this
.
form
.
effectAction
:
undefined
,
// 否 string effectType = 0实时时必填, 关注触发: ‘subscribe’; 认证触发: ‘authentication’
marketingType
:
this
.
form
.
marketingType
,
//是 String 营销方式: 卡券营销: ‘card’; 短信营销 : ‘message’; 图文营销: ‘teletext’; 文本营销: ‘text’; 话务: ‘teltask’; 微信图片: ‘image’
memberType
:
this
.
form
.
memberType
,
memberSearchDTO
:
this
.
form
.
memberType
?
this
.
form
.
memberGroupIds
:
this
.
form
.
memberSearchDTO
,
...
...
@@ -843,19 +843,19 @@ export default {
expireType
:
this
.
form
.
expireType
,
beginDate
:
this
.
form
.
expireType
?
formatDateTimeByType
(
this
.
form
.
beginDate
,
'yyyy-MM-dd-HH-mm-ss'
)
:
''
,
endDate
:
this
.
form
.
expireType
?
formatDateTimeByType
(
this
.
form
.
endDate
,
'yyyy-MM-dd-HH-mm-ss'
)
:
''
,
brithday_day
:
this
.
form
.
brithday_day
,
brithday_type
:
this
.
form
.
brithday_type
,
attention_day
:
this
.
form
.
attention_day
,
lastCost_day
:
this
.
form
.
lastCost_day
,
brithday_day
:
this
.
form
.
effectType
==
1
?
this
.
form
.
brithday_day
:
undefined
,
brithday_type
:
this
.
form
.
effectType
==
1
?
this
.
form
.
brithday_type
:
undefined
,
attention_day
:
this
.
form
.
effectType
==
1
?
this
.
form
.
attention_day
:
undefined
,
lastCost_day
:
this
.
form
.
effectType
==
1
?
this
.
form
.
lastCost_day
:
undefined
,
cardNoticeType
:
this
.
form
.
cardNoticeType
,
templateNoticeFlag
:
this
.
form
.
templateNoticeFlag
,
gradeIds
:
this
.
form
.
gradeIds
.
join
(
','
)
||
''
,
marketingTimesType
:
this
.
form
.
marketingTimesType
,
marketingTimes
:
this
.
form
.
marketingTimes
,
execType
:
this
.
form
.
e
xecType
,
// 单次执行类型(1:立即执行; 0:定时执行)
execTime
:
this
.
form
.
e
xecTime
,
// 单次定时执行时间
execDateType
:
this
.
form
.
e
xecDateType
,
// 重复执行频率(1:天; 2:周 3:月)
execDate
:
this
.
form
.
e
xecDate
?
this
.
form
.
execDate
.
join
()
:
''
// '周/月(1,2,3,4,5,6,7,)'
execType
:
this
.
form
.
e
ffectType
==
2
?
this
.
form
.
execType
:
undefined
,
// 单次执行类型(1:立即执行; 0:定时执行)
execTime
:
this
.
form
.
e
ffectType
==
2
?
this
.
form
.
execTime
:
undefined
,
// 单次定时执行时间
execDateType
:
this
.
form
.
e
ffectType
==
1
?
this
.
form
.
execDateType
:
undefined
,
// 重复执行频率(1:天; 2:周 3:月)
execDate
:
this
.
form
.
e
ffectType
==
1
?
(
this
.
form
.
execDate
?
this
.
form
.
execDate
.
join
()
:
''
)
:
undefined
// '周/月(1,2,3,4,5,6,7,)'
};
if
(
this
.
form
.
effectType
==
1
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment