人员公示统计

This commit is contained in:
Vergil
2020-04-01 16:23:36 +08:00
parent 0296ff52f6
commit 127983bf9d
3 changed files with 50 additions and 11 deletions

View File

@@ -139,11 +139,12 @@
</template>
<script>
import { searchtable, searchTable2 } from '@/api/ManufacturingCenter/ManHourStatistics'
import { getTime25, getTime26 } from '@/utils/tool'
export default {
data() {
return {
dateRange: '',
dateRange: [],
workerName: '',
startTime: '',
endTime: '',
@@ -156,6 +157,8 @@ export default {
}
},
created() {
this.dateRange[0] = getTime26()
this.dateRange[1] = getTime25()
this.searchTable()
},
methods: {

View File

@@ -32,16 +32,7 @@
</div>
</div>
<el-card>
<el-table
v-loading="loading"
:data="tableData"
:row-class-name="tableRowClassName"
height="570"
style="width: 1000px; margin: 3px 0"
size="mini"
border
highlight-current-row
element-loading-text="拼命加载中">
<el-table v-loading="loading" :data="tableData" :row-class-name="tableRowClassName" height="570" style="width: 1000px; margin: 3px 0" size="mini" border highlight-current-row element-loading-text="拼命加载中">
<el-table-column label="机床图号" prop="机床图号" align="center" width="140px" show-overflow-tooltip>
<template slot-scope="scope">
{{ scope.row.机床图号 }}