From 9556ecc3c377d2e8e8d3659b7c56f9e35ff0c626 Mon Sep 17 00:00:00 2001 From: yangfeng <wanwan926_4@163.com> Date: 星期一, 31 七月 2023 18:03:15 +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