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
8b214e0e
Commit
8b214e0e
authored
Jul 05, 2022
by
crushh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update: 修改会员生日前
parent
577f7049
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
6 deletions
+13
-6
form.js
src/views/ecm/form.js
+13
-6
No files found.
src/views/ecm/form.js
View file @
8b214e0e
...
...
@@ -210,10 +210,10 @@ export default {
checked
(
val
)
{
switch
(
val
[
0
])
{
case
'brithday_day'
:
if
(
!
this
.
form
.
brithday_day
)
{
this
.
form
.
brithday_type
=
1
;
this
.
form
.
brithday_day
=
1
;
}
//
if (!this.form.brithday_day) {
//
this.form.brithday_type = 1;
//
this.form.brithday_day = 1;
//
}
this
.
form
.
attention_day
=
0
;
this
.
form
.
lastCost_day
=
0
;
break
;
...
...
@@ -941,7 +941,6 @@ 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
.
effectType
==
1
?
(
this
.
form
.
brithday_dayval
==
-
1
?
-
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
,
...
...
@@ -955,7 +954,15 @@ export default {
execDateType
:
this
.
form
.
effectType
==
1
?
this
.
form
.
execDateType
:
undefined
,
// 重复执行频率(1:天; 2:周 3:月)
execDate
:
this
.
form
.
effectType
==
1
?
(
this
.
form
.
execDate
?
this
.
form
.
execDate
.
join
()
:
''
)
:
undefined
// '周/月(1,2,3,4,5,6,7,)'
};
if
(
this
.
form
.
effectType
==
1
)
{
if
(
this
.
checked
[
0
]
==
'brithday_day'
)
{
this
.
form
.
brithday_dayval
==
-
1
?
(
params
.
brithday_day
=
-
1
)
:
(
params
.
brithday_day
=
this
.
form
.
brithday_day
);
}
else
{
params
.
brithday_day
=
0
;
}
}
else
{
params
.
brithday_day
=
undefined
;
}
if
(
this
.
form
.
effectType
==
1
)
{
// 重复
params
.
effectTime
=
Number
(
this
.
form
.
effectTime
.
split
(
':'
)[
0
]);
...
...
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