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
70f02ded
Commit
70f02ded
authored
Jan 11, 2022
by
caoyanzhi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update: ecm、短信营销、卡券直投接口添加预计人数字段
parent
8cc9eff7
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
8 deletions
+11
-8
group-send.vue
src/views/card/group-send.vue
+4
-3
form.js
src/views/ecm/form.js
+3
-2
form.vue
src/views/message/form.vue
+4
-3
No files found.
src/views/card/group-send.vue
View file @
70f02ded
...
...
@@ -563,7 +563,7 @@ export default {
dangerouslyUseHTMLString
:
true
})
.
then
(()
=>
{
this
.
saveUpdatePutonCard
();
this
.
saveUpdatePutonCard
(
sumPerson
);
})
.
catch
(()
=>
{});
}
else
{
...
...
@@ -572,7 +572,7 @@ export default {
console
.
log
(
res
);
},
// 保存操作
async
saveUpdatePutonCard
()
{
async
saveUpdatePutonCard
(
forecastMemberCount
)
{
let
params
=
{
putOnName
:
this
.
form
.
putOnName
,
// 1.活动名称
cardId
:
this
.
form
.
cardId
,
// 2.投放卡券,卡券主键ID
...
...
@@ -582,7 +582,8 @@ export default {
memberSearchDTO
:
this
.
form
.
memberType
?
this
.
form
.
memberGroupIds
:
this
.
form
.
memberSearchDTO
,
putOnType
:
this
.
form
.
putOnType
,
// 发送时间, 0:立即发送; 1:定时发送(定时必须选择时间)
searchJson
:
this
.
getSaveData
,
noticeType
:
this
.
form
.
noticeType
noticeType
:
this
.
form
.
noticeType
,
forecastMemberCount
};
/* 模板消息的处理 */
...
...
src/views/ecm/form.js
View file @
70f02ded
...
...
@@ -313,7 +313,7 @@ export default {
}
)
.
then
(()
=>
{
resolve
();
resolve
(
res
.
result
);
})
.
catch
(()
=>
{
this
.
$tips
({
type
:
'info'
,
message
:
'已取消发送'
});
...
...
@@ -991,7 +991,8 @@ export default {
return
false
;
}
if
(
this
.
form
.
effectType
!=
0
)
{
await
this
.
checkMessageSendCount
();
let
count
=
await
this
.
checkMessageSendCount
();
params
.
forecastMemberCount
=
count
;
}
this
.
loading
=
true
;
saveEcmInfo
(
params
)
...
...
src/views/message/form.vue
View file @
70f02ded
...
...
@@ -165,7 +165,7 @@ export default {
}
)
.
then
(()
=>
{
this
.
saveSendSmsService
();
this
.
saveSendSmsService
(
res
.
result
);
})
.
catch
(()
=>
{
this
.
$tips
({
type
:
'info'
,
message
:
'已取消发送'
});
...
...
@@ -176,7 +176,7 @@ export default {
}
},
//提交接口
saveSendSmsService
()
{
saveSendSmsService
(
forecastMemberCount
)
{
this
.
$confirm
(
'是否发送短信?'
,
'提示'
,
{
confirmButtonText
:
'确定'
,
cancelBUttonText
:
'取消'
,
...
...
@@ -191,7 +191,8 @@ export default {
sendType
:
this
.
info
.
sendType
,
memberSearchDTO
:
this
.
info
.
memberSearchDTO
,
searchJson
:
this
.
getSaveData
,
type
:
this
.
smsType
type
:
this
.
smsType
,
forecastMemberCount
};
// return;
if
(
this
.
info
.
memberType
===
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