人员公示统计
This commit is contained in:
@@ -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: {
|
||||
|
||||
@@ -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.机床图号 }}
|
||||
|
||||
Reference in New Issue
Block a user