修改客服工作台商品查询分页
This commit is contained in:
parent
6f8bd932f1
commit
35366d583c
@ -15,7 +15,6 @@
|
||||
<div>
|
||||
<el-scrollbar ref="scrollbarRef" always height="calc(115vh - 400px)" @scroll="handleScroll">
|
||||
<OrderBrowsingHistorys ref="orderBrowsingHistorysRef" />
|
||||
|
||||
</el-scrollbar>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -29,6 +29,7 @@ const getHistoryList = async (val: KeFuConversationRespVO,activeName: string,no:
|
||||
queryParams.userId = val.userId
|
||||
queryParams.activeName = activeName
|
||||
queryParams.no = no
|
||||
queryParams.pageNo = 1
|
||||
const res = await getOrderPage(queryParams)
|
||||
total.value = res.total
|
||||
list.value = res.list
|
||||
@ -42,7 +43,8 @@ const loadMore = async () => {
|
||||
queryParams.pageNo += 1
|
||||
const res = await getOrderPage(queryParams)
|
||||
total.value = res.total
|
||||
concat(list.value, res.list)
|
||||
// concat(list.value, res.list)
|
||||
list.value = list.value.concat(res.list);
|
||||
}
|
||||
defineExpose({ getHistoryList, loadMore })
|
||||
</script>
|
||||
|
Loading…
Reference in New Issue
Block a user