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
008ab575
Commit
008ab575
authored
Jul 09, 2021
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
dbc9f6d9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
37 additions
and
76 deletions
+37
-76
index.js
src/api/teacher/index.js
+13
-1
changeClassManager.vue
src/pages/teacher/changeClassManager.vue
+24
-75
No files found.
src/api/teacher/index.js
View file @
008ab575
...
@@ -52,7 +52,7 @@ export function GetClassPlanStatisticalPage(data) {
...
@@ -52,7 +52,7 @@ export function GetClassPlanStatisticalPage(data) {
* 获取我调课申请列表
* 获取我调课申请列表
* @param {JSON参数} data
* @param {JSON参数} data
*/
*/
export
function
Get
EducationReceiptPage
(
data
)
{
export
function
query
EducationReceiptPage
(
data
)
{
return
request
({
return
request
({
url
:
'/EducationReceipt/GetEducationReceiptPage'
,
url
:
'/EducationReceipt/GetEducationReceiptPage'
,
method
:
'post'
,
method
:
'post'
,
...
@@ -71,3 +71,15 @@ export function GetEducationReceiptType() {
...
@@ -71,3 +71,15 @@ export function GetEducationReceiptType() {
})
})
}
}
/**
* 获取下拉数据
* @param {JSON参数} data
*/
export
function
queryEduReceiptInfo
()
{
return
request
({
url
:
'/EducationReceipt/GetEduReceiptInfo'
,
method
:
'post'
})
}
src/pages/teacher/changeClassManager.vue
View file @
008ab575
...
@@ -12,18 +12,12 @@
...
@@ -12,18 +12,12 @@
<div
class=
"page-body"
>
<div
class=
"page-body"
>
<div
class=
"page-search row items-center"
>
<div
class=
"page-search row items-center"
>
<div
class=
"col row wrap q-col-gutter-md"
>
<div
class=
"col row wrap q-col-gutter-md"
>
<div
class=
"col-3"
>
<q-input
@
change=
"resetSearch"
clearable
filled
v-model=
"msg.ClassName"
label=
"学员名称/班级名称/老师名称"
/>
</div>
<div
class=
"col-3"
>
<div
class=
"col-3"
>
<q-select
@
input=
"resetSearch"
filled
v-model=
"msg.AuditStatus"
:options=
"ShowOpts"
<q-select
@
input=
"resetSearch"
filled
v-model=
"msg.AuditStatus"
:options=
"ShowOpts"
emit-value
map-options
label=
"流程状态"
/>
emit-value
map-options
label=
"流程状态"
/>
</div>
</div>
<div
class=
"col-3"
>
<q-select
@
input=
"resetSearch"
option-value=
"Id"
option-label=
"Name"
filled
v-model=
"aa"
:options=
"OrderTypeList"
emit-value
map-options
label=
"订单类型"
/>
</div>
<div
class=
"col-3 Sysuser_Date"
>
<div
class=
"col-3 Sysuser_Date"
>
<q-field
filled
>
<q-field
filled
>
<template
v-slot:control
>
<template
v-slot:control
>
...
@@ -50,18 +44,8 @@
...
@@ -50,18 +44,8 @@
title=
"注意:关闭后,分类将无法正常使用."
@
input=
"SetDeptStatus(props.row)"
/>
title=
"注意:关闭后,分类将无法正常使用."
@
input=
"SetDeptStatus(props.row)"
/>
</q-td>
</q-td>
</
template
>
</
template
>
<
template
v-slot:body-cell-School_Id=
"props"
>
<q-td
:props=
"props"
>
{{
props
.
row
.
School_Id
>
0
?
props
.
row
.
SchoolName
:
'总部'
}}
</q-td>
</
template
>
<
template
v-slot:body-cell-RealityBackMoney=
"props"
>
<q-td
:props=
"props"
>
<template
v-if=
"props.row.AuditStatus==2"
>
<span
style=
"color:red"
>
{{
props
.
row
.
RealityBackMoney
}}
</span>
</
template
>
</q-td>
</template>
<
template
v-slot:bottom
>
<
template
v-slot:bottom
>
<q-pagination
class=
"full-width justify-end"
v-model=
"msg.pageIndex"
color=
"primary"
:max=
"pageCount"
<q-pagination
class=
"full-width justify-end"
v-model=
"msg.pageIndex"
color=
"primary"
:max=
"pageCount"
:input=
"true"
@
input=
"changePage"
/>
:input=
"true"
@
input=
"changePage"
/>
...
@@ -98,7 +82,7 @@
...
@@ -98,7 +82,7 @@
</template>
</template>
<
script
>
<
script
>
import
{
import
{
Get
EducationReceiptPage
,
query
EducationReceiptPage
,
GetEducationReceiptType
GetEducationReceiptType
}
from
'../../api/teacher/index'
}
from
'../../api/teacher/index'
...
@@ -116,52 +100,23 @@
...
@@ -116,52 +100,23 @@
return
{
return
{
currentUrl
:
""
,
currentUrl
:
""
,
columns
:
[{
columns
:
[{
name
:
'
AuditStatusName
'
,
name
:
'
编号
'
,
label
:
'状态'
,
label
:
'状态'
,
align
:
'left'
,
align
:
'left'
,
field
:
row
=>
row
.
AuditStatusName
field
:
row
=>
row
.
Id
},
{
name
:
'GuestName'
,
label
:
'学员名称'
,
field
:
'GuestName'
,
align
:
'left'
},
},
{
{
name
:
'SchoolName'
,
name
:
'ReceiptTypeName'
,
label
:
'所属校区'
,
label
:
'类型'
,
field
:
'SchoolName'
,
field
:
'ReceiptTypeName'
,
align
:
'left'
align
:
'left'
,
},
{
name
:
'ClassName'
,
label
:
'所属班级'
,
field
:
'ClassName'
,
align
:
'left'
},
{
name
:
'TeacherName'
,
label
:
'带班老师'
,
field
:
'TeacherName'
,
align
:
'left'
},
{
name
:
'FinishHours'
,
label
:
'已上课时'
,
field
:
'FinishHours'
,
align
:
'left'
},
{
name
:
'BackMoney'
,
label
:
'预计退费金额'
,
field
:
'BackMoney'
,
align
:
'left'
},
},
{
{
name
:
'
RealityBackMoney
'
,
name
:
'
单据信息
'
,
label
:
'
实际退费金额
'
,
label
:
'
状态
'
,
field
:
'RealityBackMoney
'
,
align
:
'left
'
,
align
:
'left'
field
:
row
=>
row
.
DataObj
},
},
{
{
name
:
'CreateTimeStr'
,
name
:
'CreateTimeStr'
,
...
@@ -178,7 +133,7 @@
...
@@ -178,7 +133,7 @@
{
{
name
:
'optioned'
,
name
:
'optioned'
,
label
:
'操作'
,
label
:
'操作'
,
field
:
'
Back
Id'
field
:
'Id'
}
}
],
],
data
:
[],
data
:
[],
...
@@ -209,11 +164,11 @@
...
@@ -209,11 +164,11 @@
pageIndex
:
1
,
pageIndex
:
1
,
pageSize
:
12
,
pageSize
:
12
,
rowsPerPage
:
12
,
rowsPerPage
:
12
,
ClassNam
e
:
""
,
//学员、班级、老师名称
Titl
e
:
""
,
//学员、班级、老师名称
AuditStatus
:
"0"
,
//审核状态
AuditStatus
:
"0"
,
//审核状态
Q
StartTime
:
""
,
//开始时间
StartTime
:
""
,
//开始时间
Q
EndTime
:
""
,
//结束时间
EndTime
:
""
,
//结束时间
Conditon
:
1
,
//
Conditon: 1,
},
},
tabCheck
:
"1"
,
tabCheck
:
"1"
,
pageCount
:
0
,
pageCount
:
0
,
...
@@ -278,14 +233,8 @@
...
@@ -278,14 +233,8 @@
this
.
data
=
[];
this
.
data
=
[];
this
.
pageCount
=
0
;
this
.
pageCount
=
0
;
this
.
msg
.
Conditon
=
this
.
tabCheck
;
this
.
msg
.
Conditon
=
this
.
tabCheck
;
if
(
this
.
applyDateList
&&
this
.
applyDateList
.
length
>
0
)
{
this
.
msg
.
QStartTime
=
this
.
applyDateList
[
0
];
queryEducationReceiptPage
(
this
.
msg
).
then
(
res
=>
{
this
.
msg
.
QEndTime
=
this
.
applyDateList
[
1
];
}
else
{
this
.
msg
.
QStartTime
=
''
;
this
.
msg
.
QEndTime
=
''
;
}
GetEducationReceiptPage
(
this
.
msg
).
then
(
res
=>
{
this
.
loading
=
false
;
this
.
loading
=
false
;
this
.
data
=
res
.
Data
.
PageData
;
this
.
data
=
res
.
Data
.
PageData
;
this
.
pageCount
=
res
.
Data
.
PageCount
;
this
.
pageCount
=
res
.
Data
.
PageCount
;
...
...
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