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
11d72a71
Commit
11d72a71
authored
Jul 21, 2021
by
黑潮
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修复分页
parent
0942f6d9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletions
+7
-1
record.vue
src/views/recharge/record.vue
+7
-1
No files found.
src/views/recharge/record.vue
View file @
11d72a71
<
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=
"
rechargeRecord
"
></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></div>
<el-table
tooltipEffect=
"dark"
:data=
"tableList"
style=
"width: 100%"
>
<el-table-column
align=
"left"
prop=
"timeEnd"
label=
"充值时间"
>
<template
slot-scope=
"scope"
>
...
...
@@ -48,7 +48,12 @@ export default {
this
.
$store
.
commit
(
'mutations_breadcrumb'
,
[{
name
:
'企业管理'
,
path
:
''
},
{
name
:
'计费中心'
,
path
:
'/recharge'
},
{
name
:
'充值记录'
,
path
:
''
}]);
// eslint-disable-line
},
methods
:
{
onSearch
()
{
this
.
listParams
.
currentPage
=
1
;
this
.
rechargeRecord
();
},
handleSizeChange
(
val
)
{
this
.
listParams
.
currentPage
=
1
;
this
.
listParams
.
pageSize
=
val
;
this
.
rechargeRecord
();
},
...
...
@@ -70,6 +75,7 @@ export default {
let
res
=
await
rechargeRecord
(
this
.
listParams
);
if
(
res
.
errorCode
===
0
&&
res
.
result
.
result
)
{
this
.
tableList
=
res
.
result
.
result
;
this
.
total
=
res
.
result
.
totalCount
;
}
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