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
079a0c35
Commit
079a0c35
authored
Apr 19, 2022
by
crushh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update: dist
parent
4b41b0bc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
form.vue
src/views/ai/task/form.vue
+6
-2
No files found.
src/views/ai/task/form.vue
View file @
079a0c35
...
...
@@ -381,7 +381,7 @@ export default {
templateOptions
:
[],
//话术模板下拉
rules
:
{
activityName
:
{
required
:
true
,
message
:
'活动名称不能为空'
},
aiTemplateId
:
{
required
:
true
,
message
:
'话术模板不能为空'
},
//
aiTemplateId: { required: true, message: '话术模板不能为空' },
analyseDays
:
{
required
:
true
,
message
:
'分析天数不能为空'
},
analyseAmount
:
[
{
required
:
true
,
message
:
'活动目标不能为空'
},
...
...
@@ -618,8 +618,11 @@ export default {
this
.
$refs
.
form
.
validate
(
async
(
val
,
obj
)
=>
{
console
.
log
(
val
,
obj
);
if
(
val
)
{
cons
t
{
activityName
,
scene
,
analyseFlag
,
analyseDays
,
analyseAmount
,
planName
,
memberType
,
aiTemplateId
,
labelFlag
,
smsFlag
,
recallFlag
,
activityId
,
planId
,
aiEventId
,
eventId
,
planMemberCount
,
consume_days_flag
,
consume_days
,
consume_times_flag
,
consume_times
,
consume_amount_flag
,
consume_amount
}
=
this
.
form
;
le
t
{
activityName
,
scene
,
analyseFlag
,
analyseDays
,
analyseAmount
,
planName
,
memberType
,
aiTemplateId
,
labelFlag
,
smsFlag
,
recallFlag
,
activityId
,
planId
,
aiEventId
,
eventId
,
planMemberCount
,
consume_days_flag
,
consume_days
,
consume_times_flag
,
consume_times
,
consume_amount_flag
,
consume_amount
}
=
this
.
form
;
let
sceneJson
=
{};
if
(
isNaN
(
planMemberCount
))
{
planMemberCount
=
0
;
}
if
(
scene
==
1
)
{
sceneJson
=
{
birth_type
,
...
...
@@ -706,6 +709,7 @@ export default {
}).
then
(()
=>
{
this
.
submit
(
data
);
});
return
;
}
if
(
this
.
isWhite
||
totalCount
<
this
.
money
)
{
this
.
$confirm
(
`本次外呼费用预计需要消费
${
totalCount
}
元,是否继续创建?`
,
'提示'
,
{
...
...
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