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
ee31b38b
Commit
ee31b38b
authored
Jun 14, 2022
by
crushh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update: 完成
parent
7d602e17
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
3 deletions
+9
-3
form.vue
src/views/ai/task/form.vue
+9
-3
No files found.
src/views/ai/task/form.vue
View file @
ee31b38b
...
...
@@ -710,19 +710,24 @@ export default {
}).
then
(()
=>
{
this
.
submit
(
data
);
});
return
;
}
if
(
totalCount
>
this
.
money
&&
this
.
money
>
0
)
{
this
.
$confirm
(
`本次外呼费用预计需要消费
${
totalCount
}
元,当前账户余额为
${
this
.
money
}
元可能会存在部分客户拨打失败,是否继续创建活动?`
,
'提示'
,
{
confirmButtonText
:
'去充值'
,
cancelButtonText
:
'继续保存'
,
type
:
'warning'
type
:
'warning'
,
distinguishCancelAndClose
:
true
})
.
then
(()
=>
{
window
.
open
(
`
${
window
.
location
.
origin
}
/marketing/#/recharge/do`
,
'_blank'
);
})
.
catch
(()
=>
{
this
.
submit
(
data
);
.
catch
(
action
=>
{
if
(
action
===
'cancel'
)
{
this
.
submit
(
data
);
}
});
return
;
}
if
(
this
.
money
<=
0
)
{
this
.
$confirm
(
`本次外呼费用预计需要消费
${
totalCount
}
元,当前账户余额为
${
this
.
money
}
元,请先充值后再创建活动?`
,
'提示'
,
{
...
...
@@ -732,6 +737,7 @@ export default {
}).
then
(()
=>
{
window
.
open
(
`
${
window
.
location
.
origin
}
/marketing/#/recharge/do`
,
'_blank'
);
});
return
;
}
}
else
{
this
.
scrollToError
(
this
);
...
...
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