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
b14f5bd8
Commit
b14f5bd8
authored
Mar 22, 2022
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
0b45d221
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
49 additions
and
1 deletion
+49
-1
reserve-form.vue
src/components/schedul/reserve-form.vue
+49
-1
No files found.
src/components/schedul/reserve-form.vue
View file @
b14f5bd8
...
...
@@ -175,7 +175,55 @@
},
//保存菜单
saveCategory
()
{
this
.
saveLoading
=
true
if
(
this
.
objOption
.
ClassDate
==
''
){
this
.
$q
.
notify
({
type
:
'negative'
,
position
:
"top"
,
message
:
`请选择预约日期`
})
return
}
if
(
this
.
objOption
.
ClassTime
==
''
||
this
.
objOption
.
ClassTime
==
null
){
this
.
$q
.
notify
({
type
:
'negative'
,
position
:
"top"
,
message
:
`请选择预约开始时间`
})
return
}
if
(
this
.
objOption
.
EndTime
==
''
||
this
.
objOption
.
EndTime
==
null
){
this
.
$q
.
notify
({
type
:
'negative'
,
position
:
"top"
,
message
:
`请选择预约结束时间`
})
return
}
if
(
this
.
objOption
.
TeacherId
==
''
){
this
.
$q
.
notify
({
type
:
'negative'
,
position
:
"top"
,
message
:
`请选择教师`
})
return
}
if
(
this
.
objOption
.
ClassRoomId
==
''
){
this
.
$q
.
notify
({
type
:
'negative'
,
position
:
"top"
,
message
:
`请选择关联教室`
})
return
}
if
(
this
.
objOption
.
TrialLessonId
==
''
){
this
.
$q
.
notify
({
type
:
'negative'
,
position
:
"top"
,
message
:
`请选择试听课程`
})
return
}
this
.
saveLoading
=
true
;
SetReserveClass
(
this
.
objOption
).
then
(
res
=>
{
this
.
saveLoading
=
false
this
.
$q
.
notify
({
...
...
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