From 7586297bb89bbfe2cd4d3711ed5e38f84c3f971c Mon Sep 17 00:00:00 2001 From: haoxuan <haoxuan> Date: 星期二, 07 五月 2024 18:04:45 +0800 Subject: [PATCH] 考勤统计模块 修改默认日期为当前月份的前一个月 --- src/views/systemSetting/workshopManage/index.vue | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/views/systemSetting/workshopManage/index.vue b/src/views/systemSetting/workshopManage/index.vue index 1f1d1dc..5d500cf 100644 --- a/src/views/systemSetting/workshopManage/index.vue +++ b/src/views/systemSetting/workshopManage/index.vue @@ -118,6 +118,7 @@ // 鎼滅储 onFilterSearch(searchText) { this.getDataParams.keyWord = searchText, + this.pagerOptions.currPage = 1; this.getData() }, // 鏂板 @@ -187,7 +188,7 @@ this.editConfig.infomitton = { ...row, workshop:{ - ID:row.workshopNumber, + number:row.workshopNumber, name:row.workshopName } } @@ -203,11 +204,12 @@ }).then(() => { deleteWorkshopManage({ id: row.ID }).then((res) => { if (res && res.code === 200) { - this.getData() this.$message({ type: 'success', message: '鍒犻櫎鎴愬姛!' }); + this.pagerOptions.currPage = 1; + this.getData() } }) }).catch(() => { -- Gitblit v1.8.0