Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop-ui
commit
f7589e42ab
|
@ -172,18 +172,20 @@
|
|||
<div>
|
||||
<Table stripe :columns="columns" :data="data"></Table>
|
||||
</div>
|
||||
<!-- (index) => {
|
||||
refundParams.pageNumber = index;
|
||||
} -->
|
||||
<!-- (size) => {
|
||||
(refundParams.pageSize = size), (refundParams.pageNumber = 1);
|
||||
} -->
|
||||
<Page
|
||||
v-if="showRecords"
|
||||
size="small"
|
||||
@on-change="
|
||||
(index) => {
|
||||
refundParams.pageNumber = index;
|
||||
}
|
||||
pageNumberChange
|
||||
"
|
||||
@on-page-size-change="
|
||||
(size) => {
|
||||
(refundParams.pageSize = size), (refundParams.pageNumber = 1);
|
||||
}
|
||||
pageSizeChange
|
||||
"
|
||||
class="mt_10"
|
||||
show-total
|
||||
|
@ -523,6 +525,14 @@ export default {
|
|||
},
|
||||
},
|
||||
methods: {
|
||||
pageNumberChange(val){
|
||||
this.refundParams.pageNumber = val
|
||||
this.getOrderList();
|
||||
},
|
||||
pageSizeChange(val){
|
||||
this.refundParams.pageSize = val
|
||||
this.getOrderList();
|
||||
},
|
||||
// 订单图
|
||||
initOrderChart() {
|
||||
// 默认已经加载 legend-filter 交互
|
||||
|
@ -563,11 +573,13 @@ export default {
|
|||
|
||||
clickBreadcrumb(item, index) {
|
||||
let callback = JSON.parse(JSON.stringify(item));
|
||||
|
||||
console.log("callback",callback)
|
||||
this.orderParams = callback;
|
||||
|
||||
this.overViewParams = callback;
|
||||
this.refundParams = callback;
|
||||
this.refundParams.pageNumber = 1
|
||||
this.refundParams.pageSize = 10
|
||||
},
|
||||
|
||||
// 实例化订单概览
|
||||
|
|
|
@ -152,7 +152,7 @@
|
|||
<div>
|
||||
<Table stripe :columns="columns" :data="data"></Table>
|
||||
</div>
|
||||
<Page @on-change="(index)=>{refundParams.pageNumber = index}" @on-page-size-change="(size)=>{refundParams.pageSize= size}" class="mt_10" show-total show-elevator :total="total" />
|
||||
<Page @on-change="pageNumberChange" @on-page-size-change="pageSizeChange" class="mt_10" show-total show-elevator :total="total" />
|
||||
</div>
|
||||
</Card>
|
||||
|
||||
|
@ -459,6 +459,14 @@ export default {
|
|||
},
|
||||
},
|
||||
methods: {
|
||||
pageNumberChange(val){
|
||||
this.refundParams.pageNumber = val
|
||||
this.getOrderList();
|
||||
},
|
||||
pageSizeChange(val){
|
||||
this.refundParams.pageSize = val
|
||||
this.getOrderList();
|
||||
},
|
||||
// 订单图
|
||||
initOrderChart() {
|
||||
// 默认已经加载 legend-filter 交互
|
||||
|
|
Loading…
Reference in New Issue