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
9191b82d
Commit
9191b82d
authored
Jun 24, 2022
by
crushh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update: dist
parent
3f808682
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
5 deletions
+16
-5
ecmApi.js
src/service/api/ecmApi.js
+1
-1
form.js
src/views/ecm/form.js
+4
-2
form.vue
src/views/ecm/form.vue
+11
-2
No files found.
src/service/api/ecmApi.js
View file @
9191b82d
...
...
@@ -23,7 +23,7 @@ export const gicPaymentList = params => requests(PREFIX + 'query-gic-payment-lis
export
const
getEcmInfo
=
params
=>
requests
(
PREFIX
+
'get-ecm-info'
,
params
);
// 智能营销--ECM营销引擎-- 新建/修改 [保存]计划信息
export
const
saveEcmInfo
=
params
=>
requests
(
PREFIX
+
'
check-ecm-send-count
'
,
params
);
export
const
saveEcmInfo
=
params
=>
requests
(
PREFIX
+
'
save-update-ecm
'
,
params
);
// 智能营销--下线
export
const
offlineEcmPlan
=
params
=>
requests
(
PREFIX
+
'ecm-plan-offline'
,
params
);
...
...
src/views/ecm/form.js
View file @
9191b82d
...
...
@@ -61,6 +61,7 @@ export default {
describe
:
''
,
lateDays
:
''
,
brithday_day
:
''
,
brithday_dayval
:
0
,
brithday_type
:
1
,
attention_day
:
''
,
lastCost_day
:
''
,
...
...
@@ -489,11 +490,12 @@ export default {
this
.
hasSearchData
=
result
.
filterJson
||
'{}'
;
}
if
(
this
.
form
.
effectType
===
1
)
{
commonScene
.
brithday_day
==
0
?
(
this
.
form
.
brithday_dayval
=
0
)
:
(
this
.
form
.
brithday_dayval
=
1
);
this
.
form
.
brithday_day
=
commonScene
.
brithday_day
;
this
.
form
.
brithday_type
=
commonScene
.
brithday_type
||
1
;
this
.
form
.
attention_day
=
commonScene
.
attention_day
;
this
.
form
.
lastCost_day
=
commonScene
.
lastCost_day
;
if
(
this
.
form
.
brithday_day
)
{
if
(
this
.
form
.
brithday_day
==
0
||
this
.
form
.
brithday_day
)
{
this
.
checked
=
[
'brithday_day'
];
}
else
if
(
this
.
form
.
attention_day
)
{
this
.
checked
=
[
'attention_day'
];
...
...
@@ -939,7 +941,7 @@ 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_day
:
undefined
,
brithday_day
:
this
.
form
.
effectType
==
1
?
(
this
.
form
.
brithday_dayval
==
0
?
0
:
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
,
...
...
src/views/ecm/form.vue
View file @
9191b82d
...
...
@@ -69,13 +69,22 @@
<div
class=
"fz12 gray"
>
选填,勾选后生效
</div>
<el-checkbox-group
v-model=
"checked"
:max=
"1"
>
<div
class=
"pb10"
style=
"display:flex;"
>
<el-checkbox
:disabled=
"!isAdd"
class=
"w150"
label=
"brithday_day"
>
会员生日前
</el-checkbox>
<el-checkbox
:disabled=
"!isAdd"
class=
"w150"
label=
"brithday_day"
style=
"margin-right:0"
>
会员生日前
</el-checkbox>
<el-select
class=
"w100"
:disabled=
"!isAdd"
v-model=
"form.brithday_type"
placeholder=
"请选择生日类型"
@
change=
"effectActionChange"
>
<el-option
label=
"阳历生日"
:value=
"1"
></el-option>
<el-option
label=
"阴历生日"
:value=
"2"
></el-option>
</el-select>
<el-input-number
controls-position=
"right"
:min=
"checked[0] === 'brithday_day' ? 1 : 0"
style=
"width:244px;"
:disabled=
"checked[0] !== 'brithday_day' || isEdit"
v-model=
"form.brithday_day"
></el-input-number>
天
<el-radio
style=
"margin-left:10px"
:disabled=
"checked[0] !== 'brithday_day' || isEdit"
v-model=
"form.brithday_dayval"
:label=
"0"
>
<span
style=
"line-height:32px"
>
当天
</span>
</el-radio>
<el-radio
:disabled=
"checked[0] !== 'brithday_day' || isEdit"
v-model=
"form.brithday_dayval"
:label=
"1"
>
之前
<el-input-number
controls-position=
"right"
:min=
"1"
style=
"width:244px;"
:disabled=
"checked[0] !== 'brithday_day' || isEdit"
v-model=
"form.brithday_day"
></el-input-number>
天
<span
style=
"line-height:32px;font-size: 14px;margin-left:20px"
>
执行
</span>
</el-radio>
</div>
<div
class=
"pb10"
>
<el-checkbox
:disabled=
"!isAdd"
class=
"w150"
label=
"attention_day"
>
关注时长超过
</el-checkbox>
<el-input-number
controls-position=
"right"
:min=
"checked[0] === 'attention_day' ? 1 : 0"
:max=
"100000"
style=
"width:344px;"
:disabled=
"checked[0] !== 'attention_day' || isEdit"
v-model=
"form.attention_day"
></el-input-number>
天
...
...
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