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
6d69e613
Commit
6d69e613
authored
Oct 24, 2019
by
chenxin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:update
parent
c1a86988
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
3 deletions
+15
-3
form.vue
src/views/wechat/form.vue
+15
-3
No files found.
src/views/wechat/form.vue
View file @
6d69e613
...
...
@@ -309,13 +309,25 @@ export default {
};
const
res
=
await
checkMessageSendCount
(
params
);
if
(
res
.
errorCode
===
0
)
{
this
.
$confirm
(
`即将发送
${
res
.
result
}
人,是否发送?`
,
'提示'
,
{
let
message
=
''
;
const
_sendFlag
=
res
.
result
>
0
;
// true可发送
if
(
_sendFlag
)
{
message
=
`即将发送
${
res
.
result
}
人,是否发送?`
;
}
else
{
// 发送0人提示
message
=
'发送人数为0,请重新选择发送人群'
;
}
this
.
$confirm
(
message
,
'提示'
,
{
confirmButtonText
:
'确定'
,
cancelBUttonText
:
'取消'
,
type
:
'warning
'
type
:
_sendFlag
?
'warning'
:
'error
'
})
.
then
(()
=>
{
this
.
sendRecordSaveService
();
if
(
_sendFlag
)
{
this
.
sendRecordSaveService
();
}
else
{
return
true
;
}
})
.
catch
(()
=>
{
// this.$tips({type: 'info',message: '已取消发送'});
...
...
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