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
b752ce2f
Commit
b752ce2f
authored
Sep 03, 2024
by
youjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
dec36790
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
8 deletions
+17
-8
student-shiting.vue
src/components/school/student/student-shiting.vue
+17
-8
No files found.
src/components/school/student/student-shiting.vue
View file @
b752ce2f
...
...
@@ -34,7 +34,7 @@
跟班
</q-chip>
<div
v-if=
"tItem.ReservationDate&&tItem.ReservationDate.length>0&&tItem.ReservationDate!='0001-01-01T00:00:00'"
>
试听日期:
{{
timeFormatSeconds
(
tItem
.
ReservationDate
)
}}
试听日期:
{{
timeFormatSeconds
(
tItem
.
ReservationDate
)
}}
</div>
<div
v-if=
"tItem.Demand&&tItem.Demand.length>0"
>
<span
style=
"float:left;"
>
试听需求:
</span><div
v-html=
"tItem.Demand"
class=
"divP"
></div>
...
...
@@ -60,7 +60,7 @@
</div>
<div
style=
"margin-top:10px;width:150px;"
class=
"visit_delete text-negative"
>
<span
@
click=
"DeleteVisitorReserve(tItem.Id)"
style=
"margin-right:10px;"
>
删除
</span>
<span
@
click=
"DeleteVisitorReserve(tItem.Id)"
style=
"margin-right:10px;"
>
删除
</span>
<span
v-if=
"tItem.ReserveClassId>0"
style=
"margin-right:10px;"
@
click=
"fabkuiMsg.IsShow=true,fabkuiMsg.Id=tItem.Id,fabkuiMsg.Feedback=tItem.Feedback"
>
反馈
</span>
<span
v-if=
"tItem.ReserveClassId==0"
@
click=
"ShitingKaiKe(tItem)"
>
试听课开课
</span>
</div>
...
...
@@ -90,8 +90,8 @@
</div>
</el-dialog>
<el-dialog
title=
"试听开课"
:visible
.
sync=
"VisitorReserveClassMsg.IsShow"
width=
"30%"
>
<div
class=
"row wrap"
>
<el-dialog
title=
"试听开课"
:visible
.
sync=
"VisitorReserveClassMsg.IsShow"
width=
"30%"
@
close=
"closeShitingKaiKe"
>
<
!-- <
div class="row wrap">
<div style="width:100%;margin-bottom:15px;">试听时间:<span style="color:red;">{{timeFormatSeconds(VisitorReserveClassMsg.ReservationDate)}}</span></div>
<div style="width:100%;margin-bottom:15px;">试听需求:<span style="color:red;">{{VisitorReserveClassMsg.Demand}}</span></div>
</div>
...
...
@@ -139,7 +139,9 @@
<div slot="footer" class="dialog-footer">
<el-button @click="closeShitingKaiKe()">取 消</el-button>
<el-button type="primary" @click="SetVisitorReserveClass()">确 定</el-button>
</div>
</div> -->
<audition
:VisitorReserveClassMsg=
"VisitorReserveClassMsg"
@
close=
"closeShitingKaiKe"
@
success=
"SetVisitorReserveClass()"
></audition>
</el-dialog>
</div>
</template>
...
...
@@ -159,7 +161,8 @@
}
from
"../../../api/school/index"
;
import
reserveclassForm
from
"./reserveclass-form"
;
import
reserveclasskaikeform
from
"./reserveclasskaikeform"
;
import
audition
from
"../../../pages/h5page/audition"
;
export
default
{
meta
:
{
title
:
""
...
...
@@ -167,7 +170,8 @@
components
:
{
reserveclassForm
,
reserveclasskaikeform
,
UeEditor
UeEditor
,
audition
},
props
:
{
saveObj
:
{
...
...
@@ -252,12 +256,16 @@
if
(
seconds
<
10
)
seconds
=
'0'
+
seconds
;
timeStr
+=
' '
+
hours
+
':'
+
min
+
':'
+
seconds
;
}
timeStr
=
year
+
'-'
+
month
+
'-'
+
day
+
timeStr
;
return
timeStr
;
},
//保存
SetVisitorReserveClass
()
{
this
.
closeShitingKaiKe
();
this
.
getList
();
this
.
$forceUpdate
()
return
if
(
this
.
VisitorReserveClassMsg
.
ClassDate
==
""
)
{
this
.
$q
.
notify
({
type
:
"negative"
,
...
...
@@ -324,6 +332,7 @@ return timeStr;
this
.
VisitorReserveClassMsg
.
ClassPlanId
=
0
;
this
.
VisitorReserveClassMsg
.
Demand
=
""
;
this
.
VisitorReserveClassMsg
.
IsShow
=
false
;
this
.
$forceUpdate
()
},
//试听课开课
ShitingKaiKe
(
item
){
...
...
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