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
33fef16f
Commit
33fef16f
authored
Jun 23, 2021
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
501ae891
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
34 additions
and
5 deletions
+34
-5
appoint-form.vue
src/components/schedul/appoint-form.vue
+34
-5
No files found.
src/components/schedul/appoint-form.vue
View file @
33fef16f
...
...
@@ -41,7 +41,19 @@
start: '09:00',
step: '00:15',
end: '21:00'
}" placeholder="预约时间">
}" placeholder="预约开始时间">
</el-time-select>
</
template
>
</q-field>
</div>
<div
class=
"Sysuser_Date"
>
<q-field
filled
class=
"q-pb-lg"
>
<
template
v-slot:control
>
<el-time-select
v-model=
"addMsg.EndTime"
ref=
"EndTime"
style=
"width:100%"
:picker-options=
"
{
start: '09:00',
step: '00:15',
end: '21:00'
}" placeholder="预约结束时间">
</el-time-select>
</
template
>
</q-field>
...
...
@@ -101,7 +113,8 @@
Visitor_Id
:
0
,
//访客编号
ReserveClassId
:
0
,
//选中的班级编号
ClassDate
:
""
,
//预约日期
ClassTime
:
""
,
//预约时间
ClassTime
:
""
,
//预约开始时间
EndTime
:
""
,
//预约结束时间
TeacherId
:
0
,
//教师编号
ClassRoomId
:
0
,
//教室编号
ClassContent
:
""
,
//主讲内容
...
...
@@ -179,7 +192,16 @@
type
:
'negative'
,
position
:
"top"
,
timeout
:
2000
,
message
:
'请选择预约时间!'
,
message
:
'请选择预约开始时间!'
,
})
return
;
}
if
(
this
.
addMsg
.
EndTime
==
''
){
this
.
$q
.
notify
({
type
:
'negative'
,
position
:
"top"
,
timeout
:
2000
,
message
:
'请选择预约结束时间!'
,
})
return
;
}
...
...
@@ -190,12 +212,19 @@
icon
:
'iconfont icon-chenggong'
,
color
:
'accent'
,
timeout
:
2000
,
message
:
'数据保存成功!'
,
message
:
res
.
Message
,
position
:
'top'
})
this
.
$emit
(
'success'
);
this
.
closeAppointForm
();
}
else
{
this
.
$q
.
notify
({
type
:
'negative'
,
position
:
"top"
,
timeout
:
2000
,
message
:
res
.
Message
,
})
}
this
.
closeAppointForm
();
})
}
},
...
...
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