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
d90b176f
Commit
d90b176f
authored
Apr 25, 2022
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
48896a1f
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
96 additions
and
7 deletions
+96
-7
reservelist.vue
src/components/schedul/reservelist.vue
+25
-4
reserveClass.vue
src/pages/sale/reserveClass.vue
+13
-2
reserveStudentList.vue
src/pages/sale/reserveStudentList.vue
+27
-1
teacherMonth.vue
src/pages/teacher/teacherMonth.vue
+31
-0
No files found.
src/components/schedul/reservelist.vue
View file @
d90b176f
...
...
@@ -64,6 +64,20 @@
</span>
</q-td>
</
template
>
<
template
v-slot:body-cell-OrderCount=
"props"
>
<q-td
auto-width
:props=
"props"
>
<q-badge
color=
"green"
>
{{
props
.
row
.
OrderCount
}}
</q-badge>
</q-td>
</
template
>
<
template
v-slot:body-cell-FailCount=
"props"
>
<q-td
auto-width
:props=
"props"
>
<q-badge
color=
"red"
>
{{
props
.
row
.
FailCount
}}
</q-badge>
</q-td>
</
template
>
<
template
v-slot:body-cell-TeacherId=
"props"
>
<q-td
:props=
"props"
>
<q-btn-dropdown
v-if=
"authObj&&authObj.isShowEdit"
flat
size=
"xs"
color=
"dark"
label=
"更多"
>
...
...
@@ -78,7 +92,7 @@
<q-item-label>
收支明细
</q-item-label>
</q-item-section>
</q-item>
<q-item
clickable
v-close-popup
@
click=
"editVisitor(props.row)"
v-if=
"props.row.ReserveType==0"
>
<q-item
clickable
v-close-popup
@
click=
"editVisitor(props.row)"
v-if=
"props.row.ReserveType==0"
>
<q-item-section>
<q-item-label>
修改
</q-item-label>
</q-item-section>
...
...
@@ -163,7 +177,7 @@
},
{
name
:
'OrderCount'
,
label
:
'
转订单人数
'
,
label
:
'
试听成功
'
,
align
:
'left'
,
field
:
'OrderCount'
,
},
...
...
@@ -173,6 +187,12 @@
align
:
'left'
,
field
:
'ConversionRates'
,
},
{
name
:
'FailCount'
,
label
:
'试听失败'
,
align
:
'left'
,
field
:
'FailCount'
,
},
{
name
:
'ClassContent'
,
label
:
'试讲内容'
,
...
...
@@ -199,8 +219,9 @@
],
//表格可见列
visibleColumns
:
[
'TeacherName'
,
'ClassDateStr'
,
'ClassTime'
,
'RoomName'
,
'LessonName'
,
'JoinNum'
,
'OrderCount'
,
'ConversionRates'
,
'ClassContent'
,
"ReserveType"
,
'CreateByName'
,
'TeacherId'
'TeacherName'
,
'ClassDateStr'
,
'ClassTime'
,
'RoomName'
,
'LessonName'
,
'JoinNum'
,
'OrderCount'
,
'FailCount'
,
'ConversionRates'
,
'ClassContent'
,
"ReserveType"
,
'CreateByName'
,
'TeacherId'
],
//可见列
reserveObj
:
{},
isShowReserve
:
false
,
...
...
src/pages/sale/reserveClass.vue
View file @
d90b176f
...
...
@@ -85,8 +85,19 @@
var
year
=
nowDay
.
getFullYear
();
//年
var
month
=
nowDay
.
getMonth
()
+
1
;
//月
var
day
=
nowDay
.
getDate
();
//日
this
.
msg
.
StartClassDate
=
year
+
'-'
+
month
+
'-'
+
day
this
.
msg
.
StartClassDate
=
year
+
'-'
+
month
+
'-'
+
day
if
(
this
.
$route
.
query
)
{
if
(
this
.
$route
.
query
.
StartClassDate
)
{
this
.
msg
.
StartClassDate
=
this
.
$route
.
query
.
StartClassDate
;
}
if
(
this
.
$route
.
query
.
EndClassDate
)
{
this
.
msg
.
EndClassDate
=
this
.
$route
.
query
.
EndClassDate
;
}
if
(
this
.
$route
.
query
.
TeacherId
)
{
this
.
msg
.
TeacherId
=
Number
(
this
.
$route
.
query
.
TeacherId
);
}
}
this
.
GetTeacherList
();
this
.
getClassRoomList
();
this
.
getList
()
...
...
src/pages/sale/reserveStudentList.vue
View file @
d90b176f
...
...
@@ -12,6 +12,20 @@
<div
class=
"page-option"
>
</div>
</
template
>
<
template
v-slot:body-cell-SpeakState=
"props"
>
<q-td
:props=
"props"
>
<template
v-if=
"props.row.OrderCount>0"
>
<q-badge
color=
"green"
>
试讲成功
</q-badge>
</
template
>
<
template
v-else
>
<q-badge
color=
"red"
>
试讲失败
</q-badge>
</
template
>
</q-td>
</template>
<
template
v-slot:bottom
>
<q-pagination
class=
"full-width justify-end"
v-model=
"msg.pageIndex"
color=
"primary"
:max=
"pageCount"
:input=
"true"
@
input=
"changePage"
/>
...
...
@@ -94,6 +108,18 @@
field
:
'TeacherName'
,
align
:
'left'
},
{
name
:
'OrderCount'
,
label
:
'订单数量'
,
field
:
'OrderCount'
,
align
:
'left'
},
{
name
:
'SpeakState'
,
label
:
'试讲'
,
field
:
'SpeakState'
,
align
:
'left'
},
{
name
:
'RoomName'
,
label
:
'教室'
,
...
...
@@ -130,7 +156,7 @@
if
(
this
.
$route
.
query
.
name
)
{
this
.
name
=
this
.
$route
.
query
.
name
}
if
(
this
.
$route
.
query
.
date
)
{
if
(
this
.
$route
.
query
.
date
)
{
this
.
date
=
this
.
$route
.
query
.
date
}
},
...
...
src/pages/teacher/teacherMonth.vue
View file @
d90b176f
...
...
@@ -207,6 +207,27 @@
{{
props
.
row
.
AssessmentScore
}}
</q-td>
</
template
>
<
template
v-slot:body-cell-SpeakClassScore=
"props"
>
<q-td
:props=
"props"
>
<span
style=
"color:blue;cursor:pointer;"
title=
"点击查看试听信息"
@
click=
"gotoShiTing(props.row)"
>
{{
props
.
row
.
SpeakClassScore
}}
</span>
</q-td>
</
template
>
<
template
v-slot:body-cell-SpeakVipScore=
"props"
>
<q-td
:props=
"props"
>
<span
style=
"color:blue;cursor:pointer;"
title=
"点击查看试听信息"
@
click=
"gotoShiTing(props.row)"
>
{{
props
.
row
.
SpeakVipScore
}}
</span>
</q-td>
</
template
>
<
template
v-slot:body-cell-SpeakFailScore=
"props"
>
<q-td
:props=
"props"
>
<span
style=
"color:blue;cursor:pointer;"
title=
"点击查看试听信息"
@
click=
"gotoShiTing(props.row)"
>
{{
props
.
row
.
SpeakFailScore
}}
</span>
</q-td>
</
template
>
<
template
v-slot:bottom-row
>
<q-tr
v-if=
"lastRow"
>
<q-td>
...
...
@@ -540,6 +561,16 @@
this
.
getList
();
},
methods
:
{
//跳转到试听
gotoShiTing
(
item
)
{
var
lastDay
=
new
Date
(
this
.
msg
.
YearStr
,
this
.
msg
.
MonthStr
,
0
).
getDate
();
var
qObj
=
{
TeacherId
:
item
.
TeacherId
,
StartClassDate
:
this
.
msg
.
YearStr
+
"-"
+
this
.
msg
.
MonthStr
+
"-01"
,
EndClassDate
:
this
.
msg
.
YearStr
+
"-"
+
this
.
msg
.
MonthStr
+
"-"
+
lastDay
,
};
this
.
OpenNewUrl
(
'/sale/reserveClass'
,
qObj
)
},
GoToDetails
(
item
,
type
)
{
//跳转到跟进详情
if
(
type
==
1
)
{
...
...
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