Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
marketing
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
marketing-web
marketing
Commits
73f7e150
Commit
73f7e150
authored
Apr 13, 2022
by
crushh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update: dist
parent
3bc61c28
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
3 deletions
+17
-3
cardApi.js
src/service/api/cardApi.js
+3
-0
recycle-record-detail.vue
src/views/card/recycle-record-detail.vue
+1
-1
refund.vue
src/views/card/refund.vue
+13
-2
No files found.
src/service/api/cardApi.js
View file @
73f7e150
...
...
@@ -176,3 +176,6 @@ export const ecmConsumeCouponExcel = config.api + PREFIX + 'ecm-consume-coupon-e
//退单卡券积分列表详情
export
const
listConsumeCouponDetail
=
params
=>
requests
(
PREFIX
+
'/list-consume-coupon-detail'
,
params
);
//是否是奥莱
export
const
isAolai
=
params
=>
requests
(
PREFIX
+
'/is-aolai'
,
params
);
src/views/card/recycle-record-detail.vue
View file @
73f7e150
...
...
@@ -125,7 +125,7 @@ export default {
this
.
show
=
true
;
this
.
detailLoading
=
true
;
try
{
let
res
=
await
listConsumeCouponDetail
({
id
:
row
.
couponId
});
//2c90a8838020f6a2018020f6ed1f0000
let
res
=
await
listConsumeCouponDetail
({
id
:
'2c90a8838020f6a2018020f6ed1f0000'
||
row
.
couponId
});
//2c90a8838020f6a2018020f6ed1f0000
this
.
detailList
=
res
.
result
||
[];
}
catch
(
err
)
{
this
.
$tips
({
type
:
'error'
,
message
:
'加载列表失败'
});
...
...
src/views/card/refund.vue
View file @
73f7e150
...
...
@@ -3,7 +3,7 @@
<el-tab-pane
label=
"退款记录"
name=
"refund-list"
>
<refundList
/>
</el-tab-pane>
<el-tab-pane
label=
"卡券积分回收明细"
name=
"recycle-record-detail"
>
<el-tab-pane
label=
"卡券积分回收明细"
name=
"recycle-record-detail"
v-if=
"isAolaiVal"
>
<recycleRecordDetail
/>
</el-tab-pane>
</el-tabs>
...
...
@@ -11,16 +11,27 @@
<
script
>
import
refundList
from
'./refund-list.vue'
;
import
{
isAolai
}
from
'@/service/api/cardApi.js'
;
import
recycleRecordDetail
from
'./recycle-record-detail.vue'
;
export
default
{
data
()
{
return
{
activeName
:
'refund-list'
activeName
:
'refund-list'
,
isAolaiVal
:
false
};
},
components
:
{
refundList
,
recycleRecordDetail
},
mounted
()
{
this
.
isAolai
();
},
methods
:
{
async
isAolai
()
{
const
res
=
await
isAolai
();
this
.
isAolaiVal
=
res
.
result
;
}
}
};
</
script
>
...
...
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