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
4ea6386e
Commit
4ea6386e
authored
Dec 28, 2021
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
df2a23fb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
29 deletions
+20
-29
reserveClass.vue
src/pages/sale/reserveClass.vue
+20
-29
No files found.
src/pages/sale/reserveClass.vue
View file @
4ea6386e
...
...
@@ -3,7 +3,6 @@
background
:
transparent
!important
;
border
:
0
!important
;
}
</
style
>
<
template
>
<div
class=
"page-body"
>
...
...
@@ -52,7 +51,7 @@
<
template
>
{{
props
.
row
.
TeacherName
}}
</
template
>
</q-td>
</q-td>
</template>
<
template
v-slot:body-cell-ClassContent=
"props"
>
<q-td
:props=
"props"
>
...
...
@@ -74,7 +73,8 @@
</
template
>
<
template
v-slot:body-cell-JoinNum=
"props"
>
<q-td
auto-width
:props=
"props"
style=
"width:25%"
>
<span
style=
"color:red;cursor:pointer"
:class=
"
{'underLine':(props.row.VisitorList
&&
props.row.VisitorList.length>0)}">
<span
style=
"color:red;cursor:pointer"
:class=
"
{'underLine':(props.row.VisitorList
&&
props.row.VisitorList.length>0)}">
{{
props
.
row
.
JoinNum
}}
<q-tooltip
:offset=
"[10, 10]"
>
点击查看名单
...
...
@@ -92,8 +92,7 @@
</
template
>
<
template
v-slot:body-cell-TeacherId=
"props"
>
<q-td
:props=
"props"
>
<q-btn
flat
size=
"xs"
color=
"accent"
@
click=
"goUrl(props.row)"
style=
"font-weight:400"
label=
"学员名单"
/>
<q-btn
flat
size=
"xs"
color=
"accent"
@
click=
"goUrl(props.row)"
style=
"font-weight:400"
label=
"学员名单"
/>
<q-btn
flat
size=
"xs"
icon=
"edit"
color=
"accent"
@
click=
"editVisitor(props.row)"
style=
"font-weight:400"
label=
"修改"
/>
<q-btn
flat
size=
"xs"
icon=
"delete"
@
click=
"deleteReserve(props.row)"
color=
"negative"
style=
"font-weight:400"
...
...
@@ -161,30 +160,24 @@
align
:
'left'
,
field
:
'ClassTime'
,
},
{
name
:
'RoomName'
,
label
:
'教室'
,
align
:
'left'
,
field
:
'RoomName'
,
},
// {
// name: 'RoomNum',
// label: '人数',
// align: 'left',
// field: 'RoomNum',
// },
{
name
:
'
JoinNum
'
,
label
:
'试听
人数
'
,
name
:
'
LessonName
'
,
label
:
'试听
课程
'
,
align
:
'left'
,
field
:
'
JoinNum
'
,
field
:
'
LessonName
'
,
},
{
name
:
'
ClassContent
'
,
label
:
'
主讲内容
'
,
name
:
'
JoinNum
'
,
label
:
'
试听人数
'
,
align
:
'left'
,
field
:
'
ClassContent
'
,
field
:
'
JoinNum
'
,
},
{
name
:
'CreateByName'
,
...
...
@@ -237,7 +230,7 @@
//获取教师下拉
GetTeacherList
()
{
getTeacherDropDownList
({
IsQLeave
:
0
IsQLeave
:
0
}).
then
(
res
=>
{
if
(
res
.
Code
==
1
)
{
this
.
TeacherList
=
res
.
Data
;
...
...
@@ -298,21 +291,19 @@
refreshPage
()
{
this
.
getList
();
},
goUrl
(
i
)
{
let
path
=
"/sale/reserveStudentList"
let
queryObj
=
{
classId
:
i
.
ReserveClassId
,
name
:
i
.
TeacherName
,
date
:
i
.
ClassDateStr
goUrl
(
i
)
{
let
path
=
"/sale/reserveStudentList"
let
queryObj
=
{
classId
:
i
.
ReserveClassId
,
name
:
i
.
TeacherName
,
date
:
i
.
ClassDateStr
}
this
.
OpenNewUrl
(
path
,
queryObj
)
}
}
}
</
script
>
<
style
lang=
"sass"
>
@import
url('~assets/css/table.sass')
</
style
>
</
style
>
\ No newline at end of file
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