Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
train-admin-h5
Overview
Overview
Details
Activity
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
tangjiale
train-admin-h5
Commits
a5078bf0
Commit
a5078bf0
authored
Jun 17, 2022
by
tangjiale
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
65daf664
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
1 deletions
+21
-1
experienceOrder.vue
pages/experienceOrder.vue
+12
-0
course.js
services/course.js
+9
-1
No files found.
pages/experienceOrder.vue
View file @
a5078bf0
...
...
@@ -105,6 +105,18 @@ export default {
courseId
:
data
.
courseId
,
orderId
:
data
.
orderId
})
},
agreeCannel
(
data
,
type
){
let
that
=
this
this
.
$showConfirm
(
`你确认
${
type
==
1
?
'同意'
:
'不同意'
}
退款吗?`
).
then
(()
=>
{
that
.
$service
.
course
.
updateOrderStatus
({
orderId
:
data
.
orderId
,
orderStatus
:
type
}).
then
(
res
=>
{
this
.
$notifySuccess
();
this
.
upDateList
()
})
});
},
upDateList
(){
this
.
$refs
[
'table'
].
reload
()
},
exportOrder
(){
let
param
=
{
...
this
.
$refs
[
"table"
].
searchForm
,
...
...
services/course.js
View file @
a5078bf0
...
...
@@ -3,7 +3,7 @@
* @eMail: 932055106@qq.com
* @Date: 2022-02-11 09:23:35
* @LastEditors: tangjiale
* @LastEditTime: 2022-06-17 1
1:45:28
* @LastEditTime: 2022-06-17 1
4:47:43
*/
export
default
class
CourseService
extends
Service
{
...
...
@@ -148,5 +148,13 @@ export default class CourseService extends Service {
})
}
//编辑订单状态
updateOrderStatus
(
param
){
return
this
.
put
({
url
:
'/course/updateOrderStatus'
,
data
:
param
})
}
}
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