Commit d440cfcf by 周志凯

add currentPage

1 parent 108b9df8
......@@ -937,6 +937,7 @@
</div>
</div>
<span>第{{ item.current }}条/共{{ item.curPageSize }}条</span>
<span>第{{ item.currentPage }}页</span>
</div>
</div>
</div>
......@@ -1997,13 +1998,15 @@
resObj.totalPage = 0
resObj.current = 0
resObj.curPageSize = 0
resObj.currentPage = 0
resObj.scheduleType = scheduleType
if (counter) {
// dataNum dateMallNum step totalData totalDate totalMall totalMallDateProduct
// resObj.totalNum = counter.dateMallNum
resObj.totalPage = counter.totalMallDateProduct
resObj.current = counter.dateMallNum
resObj.curPageSize = counter.dataNum
resObj.current = counter.dataNum
resObj.curPageSize = counter.totalData
resObj.currentPage = counter.dateMallNum
}
if (self.results.length) {
const isSameScheduleType = self.results.some(item => item.scheduleType === scheduleType)
......@@ -2016,6 +2019,7 @@
item.totalPage = counter.totalMallDateProduct
item.current = counter.dataNum
item.curPageSize = counter.totalData
resObj.currentPage = counter.dateMallNum
}
})
: self.results.push(resObj)
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!