Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
CFFP-HB
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chao Sun
CFFP-HB
Commits
54647312
Commit
54647312
authored
Dec 01, 2022
by
kyle
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
退款
parent
182bc34c
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
20 additions
and
40 deletions
+20
-40
api/api.ts
+3
-7
components/courseItem/courseItem.vue
+1
-0
pages/applyDropClass/applyDropClass.vue
+12
-29
pages/orderConfirm/orderConfirm.vue
+1
-1
pages/personalCenter/myTeam.vue
+3
-3
No files found.
api/api.ts
View file @
54647312
...
@@ -193,10 +193,6 @@ export default {
...
@@ -193,10 +193,6 @@ export default {
userRefundCourseDtl
(
params
){
userRefundCourseDtl
(
params
){
return
request
(
`
${
cffpURL
}
/course/userRefundCourseDtl`
,
"POST"
,
params
)
return
request
(
`
${
cffpURL
}
/course/userRefundCourseDtl`
,
"POST"
,
params
)
},
},
// 支付宝支付->app退款接口
aliAppPayRefund
(
params
){
return
request
(
`
${
apiURL
}
/aliPay/aliAppPayRefund`
,
"POST"
,
params
)
},
//查询证件类型
//查询证件类型
erpInitialize
(
params
){
erpInitialize
(
params
){
return
request
(
`
${
apiURL
}
/erp/erpInitialize`
,
"POST"
,
params
)
return
request
(
`
${
apiURL
}
/erp/erpInitialize`
,
"POST"
,
params
)
...
@@ -289,8 +285,8 @@ export default {
...
@@ -289,8 +285,8 @@ export default {
saveDigitalSignatures
(
params
){
saveDigitalSignatures
(
params
){
return
request
(
`
${
cffpURL
}
/partner/saveDigitalSignatures`
,
"POST"
,
params
)
return
request
(
`
${
cffpURL
}
/partner/saveDigitalSignatures`
,
"POST"
,
params
)
},
},
//
微信
退款
// 退款
wx
Refund
(
params
){
unified
Refund
(
params
){
return
request
(
`
${
apiURL
}
/pay/
wx
Refund`
,
"POST"
,
params
)
return
request
(
`
${
apiURL
}
/pay/
unified
Refund`
,
"POST"
,
params
)
}
}
}
}
components/courseItem/courseItem.vue
View file @
54647312
...
@@ -121,6 +121,7 @@
...
@@ -121,6 +121,7 @@
.detailBtn{
.detailBtn{
font-size
:
24
rpx
;
font-size
:
24
rpx
;
color
:
#4A4A4A
;
color
:
#4A4A4A
;
white-space
:
nowrap
;
}
}
}
}
h4
{
h4
{
...
...
pages/applyDropClass/applyDropClass.vue
View file @
54647312
...
@@ -127,35 +127,18 @@
...
@@ -127,35 +127,18 @@
refundIntegralExchange
:
this
.
dropInfo
.
refundIntegralExchange
,
refundIntegralExchange
:
this
.
dropInfo
.
refundIntegralExchange
,
refundReason
:
this
.
dropReasons
[
this
.
dropIndex
][
'dropOptionName'
]
refundReason
:
this
.
dropReasons
[
this
.
dropIndex
][
'dropOptionName'
]
}
}
if
(
this
.
dropInfo
.
paymentMethod
===
'1'
){
api
.
unifiedRefund
(
param
).
then
(
res
=>
{
// 微信
if
(
res
[
'success'
]){
api
.
wxRefund
(
param
).
then
(
res
=>
{
uni
.
navigateTo
({
if
(
res
[
'success'
]){
url
:
`/pages/afterSaleDetail/afterSaleDetail?orderNo=
${
this
.
dropInfo
.
orderNo
}
&afterSalesFlag=3`
uni
.
navigateTo
({
})
url
:
`/pages/afterSaleDetail/afterSaleDetail?orderNo=
${
this
.
dropInfo
.
orderNO
}
&afterSalesFlag=3`
}
else
{
})
uni
.
showToast
({
}
else
{
title
:
res
[
'message'
],
uni
.
showToast
({
duration
:
2000
title
:
res
[
'message'
],
});
duration
:
2000
}
});
})
}
})
}
else
if
(
this
.
dropInfo
.
paymentMethod
===
'2'
){
// 支付宝
api
.
wxRefund
(
param
).
then
(
res
=>
{
if
(
res
[
'success'
]){
uni
.
navigateTo
({
url
:
`/pages/afterSaleDetail/afterSaleDetail?orderNo=
${
this
.
dropInfo
.
orderNO
}
&afterSalesFlag=3`
})
}
else
{
uni
.
showToast
({
title
:
res
[
'message'
],
duration
:
2000
});
}
})
}
},
},
// 退款原因
// 退款原因
dropOptionsQuery
(){
dropOptionsQuery
(){
...
...
pages/orderConfirm/orderConfirm.vue
View file @
54647312
...
@@ -186,7 +186,7 @@
...
@@ -186,7 +186,7 @@
});
});
}
else
{
}
else
{
uni
.
navigateTo
({
uni
.
navigateTo
({
url
:
`/pages/orderStatus/orderStatus?orderId=
1&fileId=1
&orderStatus=2`
url
:
`/pages/orderStatus/orderStatus?orderId=
${
this
.
orderId
}
&fileId=
${
this
.
fileId
}
&orderStatus=2`
})
})
}
}
...
...
pages/personalCenter/myTeam.vue
View file @
54647312
...
@@ -50,10 +50,10 @@
...
@@ -50,10 +50,10 @@
}
}
.liBox
{
.liBox
{
display
:
flex
;
display
:
flex
;
margin
:
50
px
30
px
;
margin
:
50
rpx
30
r
px
;
padding
:
8px
0
;
padding
:
8
r
px
0
;
justify-content
:
space-between
;
justify-content
:
space-between
;
border-bottom
:
1px
solid
#F2F2F2
;
border-bottom
:
1px
solid
#F2F2F2
;
}
}
.infoBoxtext
{
.infoBoxtext
{
width
:
64px
;
width
:
64px
;
...
...
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