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
071f9094
Commit
071f9094
authored
Jan 20, 2022
by
caoyanzhi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update: 添加保存校验
parent
5af0adad
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
form.js
src/views/ecm/form.js
+7
-0
No files found.
src/views/ecm/form.js
View file @
071f9094
...
...
@@ -749,6 +749,13 @@ export default {
this
.
$tips
({
type
:
'warning'
,
message
:
'执行时间得大于当前时间至少10min'
});
return
;
}
const
time
=
this
.
form
.
execTime
.
split
(
' '
)[
1
].
split
(
':'
);
const
flag
=
Number
(
time
[
0
])
<
9
||
(
Number
(
time
[
0
])
==
23
&&
Number
(
time
[
2
])
>
0
);
if
(
this
.
hasRealTime
&&
flag
)
{
// 非实时分组人群,当前时段
this
.
$tips
({
type
:
'warning'
,
message
:
'当前时段不可选择非实时分组人群,请修改执行时间或者适用人群'
});
return
;
}
}
else
if
(
this
.
form
.
execType
!==
1
)
{
this
.
$tips
({
type
:
'warning'
,
message
:
'请填写执行时间'
});
return
;
...
...
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