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
a52eaad1
Commit
a52eaad1
authored
Aug 04, 2021
by
黑潮
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update: 添加字段
parent
6de69325
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
26 additions
and
3 deletions
+26
-3
record.vue
src/views/recharge/record.vue
+26
-3
No files found.
src/views/recharge/record.vue
View file @
a52eaad1
<
template
>
<section
class=
"recharge dm-wrap"
v-loading=
"loading"
>
<div
class=
"pb22"
><el-date-picker
v-model=
"dateTime"
type=
"daterange"
range-separator=
"至"
start-placeholder=
"开始日期"
end-placeholder=
"结束日期"
@
change=
"onSearch"
></el-date-picker></div>
<div
class=
"pb22"
>
<el-date-picker
v-model=
"dateTime"
type=
"daterange"
range-separator=
"至"
start-placeholder=
"开始日期"
end-placeholder=
"结束日期"
@
change=
"onSearch"
></el-date-picker>
<el-select
style=
"width:180px"
clearable
v-model=
"listParams.deductType"
placeholder=
"全部扣款类型"
@
change=
"onSearch"
>
<el-option
v-for=
"(value, key) in deductTypeList"
:key=
"key"
:label=
"value"
:value=
"key"
></el-option>
</el-select>
<el-select
style=
"width:180px"
clearable
v-model=
"listParams.feeType"
placeholder=
"全部记录类型"
@
change=
"onSearch"
>
<el-option
label=
"充值"
:value=
"1"
></el-option>
<el-option
label=
"扣款"
:value=
"2"
></el-option>
</el-select>
</div>
<el-table
tooltipEffect=
"dark"
:data=
"tableList"
style=
"width: 100%"
>
<el-table-column
align=
"left"
prop=
"timeEnd"
label=
"充值时间"
>
<template
slot-scope=
"scope"
>
...
...
@@ -9,6 +18,16 @@
</
template
>
</el-table-column>
<el-table-column
align=
"left"
prop=
"transactionId"
label=
"充值流水号"
></el-table-column>
<el-table-column
label=
"记录类型"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
feeType
==
1
?
'充值'
:
'扣款'
}}
</
template
>
</el-table-column>
<el-table-column
label=
"扣款类型"
>
<
template
slot-scope=
"scope"
>
{{
deductTypeList
[
scope
.
row
.
deductType
]
}}
</
template
>
</el-table-column>
<el-table-column
align=
"left"
prop=
"payType"
label=
"充值方式"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
payType
|
filterPayType
}}
...
...
@@ -38,9 +57,12 @@ export default {
currentPage
:
1
,
pageSize
:
20
,
beginTime
:
''
,
endTime
:
''
endTime
:
''
,
deductType
:
''
,
feeType
:
''
},
total
:
0
total
:
0
,
deductTypeList
:
{}
};
},
created
()
{
...
...
@@ -76,6 +98,7 @@ export default {
if
(
res
.
errorCode
===
0
&&
res
.
result
.
result
)
{
this
.
tableList
=
res
.
result
.
result
;
this
.
total
=
res
.
result
.
totalCount
;
this
.
deductTypeList
=
JSON
.
parse
(
res
.
result
.
params
.
deductTypeList
||
'{}'
);
}
else
{
this
.
tableList
=
[];
}
...
...
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