Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation
This project
Loading...
Sign in
罗鑫霖
/
vion-tools
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit d440cfcf
authored
Mar 24, 2020
by
周志凯
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
add currentPage
1 parent
108b9df8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
index.html
index.html
View file @
d440cfc
...
@@ -937,6 +937,7 @@
...
@@ -937,6 +937,7 @@
</div>
</div>
</div>
</div>
<span>
第{{ item.current }}条/共{{ item.curPageSize }}条
</span>
<span>
第{{ item.current }}条/共{{ item.curPageSize }}条
</span>
<span>
第{{ item.currentPage }}页
</span>
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -1997,13 +1998,15 @@
...
@@ -1997,13 +1998,15 @@
resObj
.
totalPage
=
0
resObj
.
totalPage
=
0
resObj
.
current
=
0
resObj
.
current
=
0
resObj
.
curPageSize
=
0
resObj
.
curPageSize
=
0
resObj
.
currentPage
=
0
resObj
.
scheduleType
=
scheduleType
resObj
.
scheduleType
=
scheduleType
if
(
counter
)
{
if
(
counter
)
{
// dataNum dateMallNum step totalData totalDate totalMall totalMallDateProduct
// dataNum dateMallNum step totalData totalDate totalMall totalMallDateProduct
// resObj.totalNum = counter.dateMallNum
// resObj.totalNum = counter.dateMallNum
resObj
.
totalPage
=
counter
.
totalMallDateProduct
resObj
.
totalPage
=
counter
.
totalMallDateProduct
resObj
.
current
=
counter
.
dateMallNum
resObj
.
current
=
counter
.
dataNum
resObj
.
curPageSize
=
counter
.
dataNum
resObj
.
curPageSize
=
counter
.
totalData
resObj
.
currentPage
=
counter
.
dateMallNum
}
}
if
(
self
.
results
.
length
)
{
if
(
self
.
results
.
length
)
{
const
isSameScheduleType
=
self
.
results
.
some
(
item
=>
item
.
scheduleType
===
scheduleType
)
const
isSameScheduleType
=
self
.
results
.
some
(
item
=>
item
.
scheduleType
===
scheduleType
)
...
@@ -2016,6 +2019,7 @@
...
@@ -2016,6 +2019,7 @@
item
.
totalPage
=
counter
.
totalMallDateProduct
item
.
totalPage
=
counter
.
totalMallDateProduct
item
.
current
=
counter
.
dataNum
item
.
current
=
counter
.
dataNum
item
.
curPageSize
=
counter
.
totalData
item
.
curPageSize
=
counter
.
totalData
resObj
.
currentPage
=
counter
.
dateMallNum
}
}
})
})
:
self
.
results
.
push
(
resObj
)
:
self
.
results
.
push
(
resObj
)
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment