Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
confucius
Project
Project
Details
Activity
Releases
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
罗超
confucius
Commits
a926434a
Commit
a926434a
authored
Aug 09, 2021
by
黄奎
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.oytour.com/luochao/confucius
parents
6f744346
b21a4222
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
27 additions
and
7 deletions
+27
-7
class-form.vue
src/components/course/class-form.vue
+27
-7
No files found.
src/components/course/class-form.vue
View file @
a926434a
...
...
@@ -640,13 +640,31 @@
})
return
}
if
(
this
.
DefaultPlanTimeList
[
i
].
DateList
.
length
==
0
)
{
this
.
$q
.
notify
({
type
:
'negative'
,
position
:
"top"
,
message
:
`请选择第
${
i
+
1
}
行周几`
})
return
for
(
let
j
=
0
;
j
<
this
.
DefaultPlanTimeList
[
i
].
TimeList
.
length
;
j
++
){
if
(
this
.
DefaultPlanTimeList
[
i
].
TimeList
[
j
].
StartTime
==
''
){
this
.
$q
.
notify
({
type
:
'negative'
,
position
:
"top"
,
message
:
`请填写第
${
i
+
1
}
行,第
${
j
+
1
}
个开始时间`
})
return
}
if
(
this
.
DefaultPlanTimeList
[
i
].
TimeList
[
j
].
EndTime
==
''
){
this
.
$q
.
notify
({
type
:
'negative'
,
position
:
"top"
,
message
:
`请填写第
${
i
+
1
}
行,第
${
j
+
1
}
个结束时间`
})
return
}
if
(
this
.
DefaultPlanTimeList
[
i
].
TimeList
[
j
].
TimeHour
==
''
){
this
.
$q
.
notify
({
type
:
'negative'
,
position
:
"top"
,
message
:
`请填写第
${
i
+
1
}
行,第
${
j
+
1
}
个的课时`
})
return
}
}
}
}
...
...
@@ -802,6 +820,7 @@
TimeList
:
[{
StartTime
:
""
,
EndTime
:
""
,
TimeHour
:
''
}],
}
this
.
DefaultPlanTimeList
.
push
(
planObj
);
...
...
@@ -826,6 +845,7 @@
var
obj
=
{
StartTime
:
""
,
EndTime
:
""
,
TimeHour
:
''
}
item
.
TimeList
.
push
(
obj
);
},
...
...
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