From 4a2ae34a3cf85f5e8b0409b858cfbb12ef8b5ee2 Mon Sep 17 00:00:00 2001
From: yangfeng <wanwan926_4@163.com>
Date: 星期三, 02 八月 2023 11:18:51 +0800
Subject: [PATCH] 注掉暂不支持内容
---
src/views/sales/quotation/index.vue | 11 +++++++++--
1 files changed, 9 insertions(+), 2 deletions(-)
diff --git a/src/views/sales/quotation/index.vue b/src/views/sales/quotation/index.vue
index a87c817..f583aa4 100644
--- a/src/views/sales/quotation/index.vue
+++ b/src/views/sales/quotation/index.vue
@@ -8,7 +8,7 @@
/>
<div class="btn-pager">
<PublicFunctionBtnView :submit-approval="true" :operates-list="operatesList" />
- <PagerView class="page" />
+ <PagerView class="page" :pager-options="pagerOptions" v-on="pagerEvents" />
</div>
<TableCommonView ref="tableListRef" :table-list="tableList">
<template slot="tableButton">
@@ -28,10 +28,12 @@
<script>
import AddQuotationDialog from "@/views/sales/quotation/AddQuotationDialog"
import { getQuotationList, getDelQuotation } from "@/api/sales/quotation"
+import pageMixin from "@/components/makepager/pager/mixin/pageMixin"
export default {
name: "QuotationView",
props: {},
+ mixins: [pageMixin],
components: {
AddQuotationDialog
},
@@ -97,7 +99,11 @@
// 璇锋眰鏁版嵁
async getData() {
this.loading = true
- await getQuotationList()
+ await getQuotationList({
+ keyword: "",
+ page: this.pagerOptions.currPage,
+ pageSize: this.pagerOptions.pageSize
+ })
.then((res) => {
console.log(res)
if (res.code === 200) {
@@ -110,6 +116,7 @@
}
})
this.tableList.tableInfomation = list || []
+ this.pagerOptions.totalCount = res.data.count
} else {
this.tableList.tableInfomation = []
}
--
Gitblit v1.8.0