| | |
| | | <div class="main_header"> |
| | | <div class="header_item"> |
| | | <span class="header_label">设备编号:</span> |
| | | <el-input v-model="bigDeviceName" clearable placeholder="请输入设备编号"></el-input> |
| | | <el-input v-model="bigNumber" clearable placeholder="请输入设备编号"></el-input> |
| | | </div> |
| | | <div class="header_item"> |
| | | <span class="header_label">点检日期:</span> |
| | |
| | | export default { |
| | | data() { |
| | | return { |
| | | bigDeviceName: '', |
| | | bigNumber: '', |
| | | timeData: '', |
| | | pageNum: 1, |
| | | pageSize: 10, |
| | |
| | | this.loading = true; |
| | | this.spotCheckList = []; |
| | | this.$api.Device.searchSpotCheckList({ |
| | | bigNumber: this.bigNumber, |
| | | pageNum: this.pageNum, |
| | | pageSize: this.pageSize, |
| | | startTime: this.timeData ? this.timeData[0] : '', |
| | | endTime: this.timeData ? this.timeData[1] : '' |
| | | startTime: this.timeData ? this.timeData[0] + ' 00:00:00' : '', |
| | | endTime: this.timeData ? this.timeData[1] + ' 23:59:59' : '' |
| | | }).then(res => { |
| | | if(res.success) { |
| | | this.total = res.data.total; |