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
cefd1a82
Commit
cefd1a82
authored
Jul 09, 2021
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
dbc9f6d9
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
56 additions
and
67 deletions
+56
-67
index.js
src/api/teacher/index.js
+13
-0
backbill-form.vue
src/components/sale/backbill-form.vue
+1
-1
backinfo-form.vue
src/components/sale/backinfo-form.vue
+2
-2
changeClassManager.vue
src/pages/teacher/changeClassManager.vue
+40
-64
No files found.
src/api/teacher/index.js
View file @
cefd1a82
...
...
@@ -71,3 +71,16 @@ export function GetEducationReceiptType() {
})
}
/**
* 获取下拉数据
* @param {JSON参数} data
*/
export
function
GetEduReceiptInfo
(
data
)
{
return
request
({
url
:
'/EducationReceipt/GetEduReceiptInfo '
,
method
:
'post'
,
data
})
}
src/components/sale/backbill-form.vue
View file @
cefd1a82
...
...
@@ -50,7 +50,7 @@
<div
class=
"className"
>
<div
class=
"classFirst"
>
退课审批
</div>
</div>
<
div
class=
"classStatus"
>
{{
setingObj
.
AuditStatusName
}}
</div
>
<
!--
<div
class=
"classStatus"
>
{{
setingObj
.
AuditStatusName
}}
</div>
--
>
</div>
</div>
<q-tabs
style=
"margin:15px;"
v-model=
"tabCheck"
narrow-indicator
dense
align=
"left"
class=
"text-primary"
>
...
...
src/components/sale/backinfo-form.vue
View file @
cefd1a82
...
...
@@ -103,10 +103,10 @@
<span
class=
"backInfo_Title"
>
学员姓名:
</span>
<span
class=
"backOtherInfo"
>
{{
setingObj
.
GuestName
}}
</span>
</div>
<div
class=
"col-6"
>
<
!--
<
div
class=
"col-6"
>
<span
class=
"backInfo_Title"
>
申请时间:
</span>
<span
class=
"backOtherInfo"
>
{{
setingObj
.
CreateTimeStr
}}
</span>
</div>
</div>
-->
</div>
<div
class=
"backinfo_Item"
>
<span
class=
"role_Line"
style=
"background-color:#F28C1D"
></span>
教学信息
...
...
src/pages/teacher/changeClassManager.vue
View file @
cefd1a82
...
...
@@ -6,7 +6,14 @@
.Sysuser_Date
.el-range-editor.el-input__inner
{
background-color
:
transparent
;
}
.ReceipTypeName
{
display
:
inline-block
;
padding
:
2px
8px
;
color
:
white
;
background-color
:
rgb
(
233
,
82
,
82
);
line-height
:
16px
;
border-radius
:
4px
;
}
</
style
>
<
template
>
<div
class=
"page-body"
>
...
...
@@ -32,6 +39,7 @@
</el-date-picker>
</
template
>
</q-field>
<span
@
click=
"goDetail()"
>
跳转
</span>
</div>
</div>
</div>
...
...
@@ -44,22 +52,9 @@
</q-tabs>
<q-table
:pagination=
"msg"
:loading=
"loading"
no-data-label=
"暂无相关数据"
flat
class=
"sticky-tow-column-table"
separator=
"none"
:data=
"data"
:columns=
"columns"
row-key=
"name"
>
<
template
v-slot:body-cell-Status=
"props"
>
<q-td
:props=
"props"
>
<q-toggle
size=
"sm"
color=
"secondary"
:false-value=
"1"
:true-value=
"0"
v-model=
"props.row.Status"
title=
"注意:关闭后,分类将无法正常使用."
@
input=
"SetDeptStatus(props.row)"
/>
</q-td>
</
template
>
<
template
v-slot:body-cell-School_Id=
"props"
>
<
template
v-slot:body-cell-ReceiptTypeName=
"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
>
<span
class=
"ReceipTypeName"
>
{{
props
.
row
.
ReceiptTypeName
}}
</span>
</q-td>
</
template
>
<
template
v-slot:bottom
>
...
...
@@ -99,7 +94,8 @@
<
script
>
import
{
GetEducationReceiptPage
,
GetEducationReceiptType
GetEducationReceiptType
,
GetEduReceiptInfo
}
from
'../../api/teacher/index'
import
backbillForm
from
'../../components/sale/backbill-form'
;
...
...
@@ -116,65 +112,35 @@
return
{
currentUrl
:
""
,
columns
:
[{
name
:
'AuditStatusName'
,
label
:
'状态'
,
align
:
'left'
,
field
:
row
=>
row
.
AuditStatusName
},
{
name
:
'GuestName'
,
label
:
'学员名称'
,
field
:
'GuestName'
,
align
:
'left'
},
{
name
:
'SchoolName'
,
label
:
'所属校区'
,
field
:
'SchoolName'
,
name
:
'Title'
,
label
:
'标题'
,
field
:
'Title'
,
align
:
'left'
},
{
name
:
'
Class
Name'
,
label
:
'
所属班级
'
,
field
:
'
Class
Name'
,
name
:
'
ReceiptType
Name'
,
label
:
'
单据类型
'
,
field
:
'
ReceiptType
Name'
,
align
:
'left'
},
{
name
:
'TeacherName'
,
label
:
'带班老师'
,
field
:
'TeacherName'
,
align
:
'left'
},
{
name
:
'FinishHours'
,
label
:
'已上课时'
,
field
:
'FinishHours'
,
name
:
'AuditStatusName'
,
label
:
'审核状态'
,
field
:
'AuditStatusName'
,
align
:
'left'
},
{
name
:
'
BackMoney
'
,
label
:
'
预计退费金额
'
,
field
:
'
BackMoney
'
,
name
:
'
CreateByName
'
,
label
:
'
创建人
'
,
field
:
'
CreateByName
'
,
align
:
'left'
},
{
name
:
'
RealityBackMoney
'
,
label
:
'
实际退费金额
'
,
field
:
'
RealityBackMoney
'
,
name
:
'
CreateTime
'
,
label
:
'
创建时间
'
,
field
:
'
CreateTime
'
,
align
:
'left'
},
{
name
:
'CreateTimeStr'
,
label
:
'申请时间'
,
field
:
'CreateTimeStr'
,
align
:
'left'
,
},
{
name
:
'CreateByName'
,
label
:
'申请人'
,
field
:
'CreateByName'
,
align
:
'left'
,
},
{
name
:
'optioned'
,
label
:
'操作'
,
...
...
@@ -260,7 +226,7 @@
showBillForm
(
item
,
type
)
{
this
.
isShowBillForm
=
true
;
this
.
showType
=
type
;
this
.
billObj
=
item
;
this
.
billObj
=
item
.
DataObj
;
},
//重新查询
resetSearch
()
{
...
...
@@ -302,11 +268,21 @@
//获取下拉数据
getEducationType
()
{
GetEducationReceiptType
().
then
(
res
=>
{
console
.
log
(
res
,
'属于'
);
if
(
res
.
Code
==
1
)
{
this
.
OrderTypeList
=
res
.
Data
;
}
}).
catch
(()
=>
{})
},
//详情
goDetail
(){
let
msg
=
{
Id
:
1
}
GetEduReceiptInfo
(
msg
).
then
(
res
=>
{
if
(
res
.
Code
==
1
)
{
console
.
log
(
res
,
'数据'
);
}
}).
catch
(()
=>
{})
}
},
watch
:
{
...
...
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