From ee6bd1ed48adf37106b591faf848985816a69281 Mon Sep 17 00:00:00 2001 From: Rui_Li <877258667@qq.com> Date: Mon, 14 Apr 2025 13:57:22 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=B6=E9=80=A0=E5=B7=A5=E5=85=B7=E7=9A=84?= =?UTF-8?q?=E5=88=86=E9=A1=B5=20BUG=20=E4=BF=AE=E5=B0=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/modules/tooling/manuf_tool.vue | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/src/views/modules/tooling/manuf_tool.vue b/src/views/modules/tooling/manuf_tool.vue index 0c227a9..506d7e4 100644 --- a/src/views/modules/tooling/manuf_tool.vue +++ b/src/views/modules/tooling/manuf_tool.vue @@ -77,9 +77,10 @@ @@ -869,8 +870,6 @@ export default { /*刷新工具信息*/ refreshTooInfoData() { - this.searchData.pageSize = this.pageSize - this.searchData.pageIndex = this.pageIndex getToolInfoList(this.searchData).then(({data}) => { if (data.code == 200) { this.dataList = data.rows; @@ -1021,8 +1020,6 @@ export default { // 获取数据列表 search () { - this.searchData.pageSize = this.pageSize - this.searchData.pageIndex = this.pageIndex getToolInfoList(this.searchData).then(({data}) => { if (data.code == 200) { this.dataList = data.rows; @@ -1098,9 +1095,15 @@ export default { }, // 每页数 sizeChangeHandle (val) { - this.pageSize = val - this.pageIndex = 1 - this.search() + this.searchData.pageSize = val; + this.searchData.pageIndex = 1; + this.search(); + }, + + // 当前页 + currentChangeHandle(val) { + this.searchData.pageIndex = val + this.search(); }, /*调整等待派工单的等待时间*/