Commit 903ce94f authored by xxx's avatar xxx

1

parent a3ff2b27
......@@ -153,11 +153,10 @@ export default {
},
methods: {
loadData() {
var sort = 'alarmTime,desc';
var param = {...this.query};
param.page = this.page - 1;
param.size = this.size;
param.sort = sort;
param.sort = 'alarmTime,desc';
var param1 = {...this.query};
param1.page = 0;
......@@ -166,13 +165,19 @@ export default {
if(this.query.createTime == undefined){
}else{
console.log(this.query.createTime);
param.startTime = this.query.createTime[0]
param.endTime = this.query.createTime[1]
param1.startTime = this.query.createTime[0]
param1.endTime = this.query.createTime[1]
}
//获取报警信息
if(param.createTime){
delete param.createTime
}
if(param1.createTime){
delete param1.createTime
}
HttpReq.truckDispatching.apiMineAlarmHistoryLbQuery(param).then((res) => {
this.loading = false;
this.tableData = res.data;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment