From 1ccee4c44055c977374a7675063cd241ccfcfe5b Mon Sep 17 00:00:00 2001
From: haoxuan <haoxuan>
Date: 星期二, 07 五月 2024 18:23:51 +0800
Subject: [PATCH] 纤度检验表 车间不显示的问题修改
---
src/views/reportManage/payableSalaryReport/index.vue | 17 +++++++++--------
1 files changed, 9 insertions(+), 8 deletions(-)
diff --git a/src/views/reportManage/payableSalaryReport/index.vue b/src/views/reportManage/payableSalaryReport/index.vue
index 31c963f..21f44a8 100644
--- a/src/views/reportManage/payableSalaryReport/index.vue
+++ b/src/views/reportManage/payableSalaryReport/index.vue
@@ -37,16 +37,16 @@
>
</TableCommonView>
</div>
- <!-- <div class="btn-pager">
+ <div class="btn-pager">
<PagerView class="page" :pager-options="pagerOptions" v-on="pagerEvents" />
- </div> -->
+ </div>
</div>
</div>
</div>
</template>
<script>
-import { getAttendanceStatistic } from "@/api/employeeSalary/attendanceManage.js"
+import { getAttendanceStatistic } from "@/api/reportManage/report.js"
import pageMixin from "@/components/makepager/pager/mixin/pageMixin"
import NewDate from "@/api/date";
const { getCurrentMonth } = NewDate;
@@ -127,8 +127,8 @@
await getAttendanceStatistic({
keyword: this.keyword,
month:this.object.date,
- // page: this.pagerOptions.currPage,
- // pageSize: this.pagerOptions.pageSize
+ page: this.pagerOptions.currPage,
+ pageSize: this.pagerOptions.pageSize
})
.then((res) => {
if (res.code == 200) {
@@ -171,7 +171,7 @@
}
})
this.tableList.tableInfomation = list || []
- this.pagerOptions.totalCount = res.total
+ this.pagerOptions.totalCount = res.total||0
} else {
this.tableList.tableInfomation = []
}
@@ -226,15 +226,16 @@
box-sizing: border-box;
padding: 10px 20px;
border-radius: 12px;
- height: calc(100% - 92px);
+ height: calc(100% - 102px);
.body-card {
background-color: #fff;
border-radius: 12px;
height: 100%;
+ box-sizing: border-box;
overflow: hidden;
}
.list-view {
- height: calc(100% - 10px);
+ height: calc(100% - 60px);
overflow: hidden;
}
.btn-pager {
--
Gitblit v1.8.0