|
|
|
@ -224,6 +224,8 @@ export default { |
|
|
|
searchRange: true, |
|
|
|
searchRange: true, |
|
|
|
startPlaceholder: '开始时间', |
|
|
|
startPlaceholder: '开始时间', |
|
|
|
endPlaceholder: '结束时间', |
|
|
|
endPlaceholder: '结束时间', |
|
|
|
|
|
|
|
format: 'YYYY-MM-DD HH:mm:ss', |
|
|
|
|
|
|
|
valueFormat: 'YYYY-MM-DD HH:mm:ss', |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
{ |
|
|
|
label: '维护人', |
|
|
|
label: '维护人', |
|
|
|
@ -332,6 +334,10 @@ export default { |
|
|
|
// 加载页面数据 |
|
|
|
// 加载页面数据 |
|
|
|
onLoad(page, params = {}) { |
|
|
|
onLoad(page, params = {}) { |
|
|
|
this.loading = true; |
|
|
|
this.loading = true; |
|
|
|
|
|
|
|
if(this.query.nextDue&&this.query.nextDue.length>0){ |
|
|
|
|
|
|
|
this.query.startTime = this.query.nextDue[0] |
|
|
|
|
|
|
|
this.query.endTime = this.query.nextDue[1] |
|
|
|
|
|
|
|
} |
|
|
|
getList(page.currentPage, page.pageSize, Object.assign(params, this.query)).then(res => { |
|
|
|
getList(page.currentPage, page.pageSize, Object.assign(params, this.query)).then(res => { |
|
|
|
this.data = res.data.data.records; |
|
|
|
this.data = res.data.data.records; |
|
|
|
this.loading = false; |
|
|
|
this.loading = false; |
|
|
|
|