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
40ce4791
Commit
40ce4791
authored
Jul 04, 2022
by
tangjiale
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更新代码
parent
f7293d2c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
courseJoin.vue
pages/courseJoin.vue
+2
-2
experienceOrder.vue
pages/experienceOrder.vue
+1
-1
No files found.
pages/courseJoin.vue
View file @
40ce4791
...
@@ -19,7 +19,7 @@
...
@@ -19,7 +19,7 @@
|| (scope.row.bmStatus == 2 && (btn.buttonId == 2 || btn.buttonId == 3))"
|| (scope.row.bmStatus == 2 && (btn.buttonId == 2 || btn.buttonId == 3))"
@
click=
"buttonOption(btn.buttonId,scope.row)"
:type=
"btn.buttonStyle || 'primary'"
>
{{
btn
.
buttonName
}}
</el-button>
@
click=
"buttonOption(btn.buttonId,scope.row)"
:type=
"btn.buttonStyle || 'primary'"
>
{{
btn
.
buttonName
}}
</el-button>
<el-button
@
click=
"openDetail(
btn.buttonId,
scope.row)"
type=
"success"
size=
"small"
plain
>
详情
</el-button>
<el-button
@
click=
"openDetail(scope.row)"
type=
"success"
size=
"small"
plain
>
详情
</el-button>
</div>
</div>
</
template
>
</
template
>
...
@@ -157,7 +157,7 @@ export default {
...
@@ -157,7 +157,7 @@ export default {
},
},
agreeCannel
(
type
,
data
){
agreeCannel
(
type
,
data
){
let
that
=
this
let
that
=
this
this
.
$showConfirm
(
`你确认
${
type
==
1
?
'同意'
:
'不同意'
}
取消吗?`
).
then
(()
=>
{
this
.
$showConfirm
(
`你确认
${
type
==
1
?
'同意'
:
'不同意'
}
取消吗?`
).
then
(()
=>
{
that
.
$service
.
course
.
updateBmStatus
({
bmId
:
data
.
id
,
bmStatus
:
type
==
1
?
3
:
2
}).
then
(
res
=>
{
that
.
$service
.
course
.
updateBmStatus
({
bmId
:
data
.
id
,
bmStatus
:
type
==
1
?
3
:
2
}).
then
(
res
=>
{
this
.
$notifySuccess
();
this
.
$notifySuccess
();
this
.
upDateList
()
this
.
upDateList
()
...
...
pages/experienceOrder.vue
View file @
40ce4791
...
@@ -105,7 +105,7 @@ export default {
...
@@ -105,7 +105,7 @@ export default {
},
},
agreeCannel
(
data
,
type
){
agreeCannel
(
data
,
type
){
let
that
=
this
let
that
=
this
this
.
$showConfirm
(
`你确认
${
type
==
1
?
'同意'
:
'不同意'
}
退款吗?`
).
then
(()
=>
{
this
.
$showConfirm
(
`你确认
${
type
==
1
?
'同意'
:
'不同意'
}
退款吗?`
).
then
(()
=>
{
that
.
$service
.
course
.
updateOrderStatus
({
orderId
:
data
.
orderId
,
orderStatus
:
type
}).
then
(
res
=>
{
that
.
$service
.
course
.
updateOrderStatus
({
orderId
:
data
.
orderId
,
orderStatus
:
type
}).
then
(
res
=>
{
this
.
upDateList
()
this
.
upDateList
()
this
.
$notifySuccess
();
this
.
$notifySuccess
();
...
...
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