| | |
| | | > |
| | | <template slot="leftButton"> |
| | | <div class="margin_right_20px" style="width:200px;"> |
| | | <el-date-picker v-model="object.date" style="width:100%" |
| | | <!-- <el-date-picker v-model="object.date" style="width:100%" |
| | | @change="onFilterSearch" |
| | | :clearable="false" type="month" placeholder="选择日期" |
| | | :picker-options="pickerOptions" |
| | | value-format="yyyy-MM"> |
| | | </el-date-picker> |
| | | </el-date-picker> --> |
| | | <el-button size="small" type="primary" @click="exportBtnClick">导出</el-button> |
| | | </div> |
| | | </template> |
| | | </CommonSearch> |
| | |
| | | > |
| | | </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; |
| | |
| | | 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) { |
| | |
| | | } |
| | | }) |
| | | this.tableList.tableInfomation = list || [] |
| | | this.pagerOptions.totalCount = res.total |
| | | this.pagerOptions.totalCount = res.total||0 |
| | | } else { |
| | | this.tableList.tableInfomation = [] |
| | | } |
| | |
| | | inputContent( prop, row, scope){ |
| | | console.log(prop,'---',row,'---',scope) |
| | | }, |
| | | // 导出 |
| | | exportBtnClick() {} |
| | | } |
| | | } |
| | | </script> |
| | |
| | | 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 { |