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
c6461536
Commit
c6461536
authored
Dec 16, 2020
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增页面
parent
714560dc
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
238 additions
and
115 deletions
+238
-115
backclass-form.vue
src/components/sale/backclass-form.vue
+84
-0
orderlist.vue
src/components/sale/orderlist.vue
+154
-115
No files found.
src/components/sale/backclass-form.vue
0 → 100644
View file @
c6461536
<!--退课申请-->
<
template
>
<q-dialog
v-model=
"IsShowBackClassDialog"
content-class=
"bg-grey-1"
persistent
transition-show=
"scale"
transition-hide=
"scale"
>
<q-card
style=
"width: 400px;max-width:500px;"
>
<q-card-section>
<div
class=
"text-h6"
>
退课申请
</div>
</q-card-section>
<q-separator
/>
<q-card-actions
align=
"right"
class=
"bg-white"
>
<q-btn
label=
"取消"
flat
color=
"grey-10"
style=
"font-weight:400 !important"
@
click=
"closeBackClassForm"
/>
<q-btn
label=
"立即提交"
color=
"accent"
class=
"q-px-md"
style=
"font-weight:400 !important"
@
click=
"saveOrderBackClass"
/>
</q-card-actions>
</q-card>
</q-dialog>
</
template
>
<
script
>
import
{
getOrderGuestPageList
,
}
from
'../../api/sale/sale'
export
default
{
name
:
"backclass-form"
,
props
:
{
saveObj
:
{
type
:
Object
,
default
:
null
,
},
},
data
()
{
return
{
IsShowBackClassDialog
:
true
,
backClassMsg
:
{
OrderId
:
0
,
ClassId
:
0
,
pageIndex
:
1
,
pageSize
:
1000
,
},
studentList
:
[],
//学员列表
}
},
created
()
{
this
.
backClassMsg
.
OrderId
=
this
.
saveObj
.
OrderId
;
this
.
backClassMsg
.
ClassId
=
this
.
saveObj
.
ClassId
;
this
.
getStudentList
();
},
methods
:
{
//关闭弹窗
closeBackClassForm
()
{
this
.
IsShowBackClassDialog
=
false
;
this
.
$emit
(
'close'
);
},
//获取订单学员列表
getStudentList
()
{
this
.
studentList
=
[];
getOrderGuestPageList
(
this
.
backClassMsg
).
then
(
res
=>
{
if
(
res
.
Code
==
1
)
{
this
.
studentList
=
res
.
Data
.
PageData
;
console
.
log
(
"res"
,
this
.
studentList
);
}
})
},
//获取学员退课申请
saveOrderBackClass
()
{
// updateOrderRemark(this.OrderRemarkMsg).then(res => {
// if (res.Code == 1) {
// this.$q.notify({
// icon: 'iconfont icon-chenggong',
// color: 'accent',
// timeout: 2000,
// message: '修改成功!',
// position: 'top'
// })
// //调用父页面成功方法
// this.$emit('success');
// this.IsShowBackClassDialog = false
// }
// })
}
}
}
</
script
>
src/components/sale/orderlist.vue
View file @
c6461536
This diff is collapsed.
Click to expand it.
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