| | |
| | | </TableCommonView> |
| | | <div slot="footer" class="dialog-footer"> |
| | | <div class="btn-pager"> |
| | | <PagerView class="page" :pager-options="pagerOptions" v-on="pagerEvents" /> |
| | | <PagerView class="page" :pagerCount="5" :layout="'total, sizes, prev, pager, next'" :pager-options="pagerOptions" v-on="pagerEvents" /> |
| | | </div> |
| | | </div> |
| | | </div> |
| | |
| | | this.editConfig.editVisible = false |
| | | }, |
| | | // 请求数据 |
| | | async getData(val, content) { |
| | | async getData(val) { |
| | | this.loading = true |
| | | |
| | | await getSupplierList({ |
| | | [val]: content, |
| | | keyword: val, |
| | | status:1, |
| | | page: this.pagerOptions.currPage, |
| | | pageSize: this.pagerOptions.pageSize |
| | | }) |
| | |
| | | this.$emit("selClient", row) |
| | | }, |
| | | // 搜索 |
| | | searchClick(val, content) { |
| | | this.getData(val.value, content) |
| | | searchClick(val) { |
| | | this.pagerOptions.currPage=1 |
| | | this.getData(val) |
| | | }, |
| | | resetClick() { |
| | | this.getData() |