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
26c19f2b
Commit
26c19f2b
authored
Sep 04, 2024
by
吴春
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
af80b61e
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
reserve-form.vue
src/components/schedul/reserve-form.vue
+9
-0
No files found.
src/components/schedul/reserve-form.vue
View file @
26c19f2b
...
...
@@ -10,6 +10,11 @@
<div
class=
"text-h6"
>
{{
objOption
.
Id
==
0
?
'新增试听课程'
:
'修改试听课程'
}}
</div>
</q-card-section>
<q-card-section
class=
"q-pt-none scroll"
style=
"max-height: 70vh"
>
<p
><span>
试听时间:
</span><span
style=
"color:red;"
>
{{
timeFormatSeconds
(
objOption
.
ReservationDate
)
}}
</span></p>
<q-space
/>
<p><span
style=
"float:left;"
>
试听需求:
</span><div
v-html=
"objOption.Demand"
style=
"color:red;"
></div></p>
<q-space
/>
<div
class=
"row wrap"
>
<q-input
filled
v-model=
"objOption.ClassDate"
class=
""
:class=
"[$q.platform.is.desktop?'col-6 q-pr-lg q-pb-lg':'col-12 q-pb-sm']"
...
...
@@ -104,6 +109,8 @@
TrialLessonId
:
''
,
Visitor_Id
:
0
,
Id
:
0
,
ReservationDate
:
""
,
Demand
:
""
,
},
saveLoading
:
false
,
TeacherList
:
[],
...
...
@@ -171,6 +178,8 @@
this
.
objOption
.
ClassRoomId
=
res
.
Data
[
0
].
ClassRoomId
;
this
.
objOption
.
TrialLessonId
=
res
.
Data
[
0
].
TrialLessonId
;
this
.
objOption
.
Visitor_Id
=
res
.
Data
[
0
].
Visitor_Id
;
this
.
objOption
.
ReservationDate
=
res
.
Data
[
0
].
ReservationDate
;
this
.
objOption
.
Demand
=
res
.
Data
[
0
].
Demand
;
if
(
this
.
objOption
.
TrialLessonId
==
0
){
this
.
objOption
.
ClassDate
=
this
.
timeFormatSeconds
(
res
.
Data
[
0
].
ReservationDate
);
}
...
...
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