|
|
|
@ -177,21 +177,18 @@ |
|
|
|
qty4: this.pieData.per4 +'%', |
|
|
|
} |
|
|
|
this.tableList2.push(pieData2) |
|
|
|
console.log(data.pieData) |
|
|
|
console.log(data.barList) |
|
|
|
this.number2=0; |
|
|
|
this.draw(); |
|
|
|
this.draw2() |
|
|
|
this.getTableData(); |
|
|
|
window.setTimeout(() => { |
|
|
|
this.getTableData(); |
|
|
|
}, 1000* Number(this.refreshTime)); |
|
|
|
window.setTimeout(() => { |
|
|
|
this.getTableData(); |
|
|
|
}, 2000*Number(this.refreshTime)); |
|
|
|
window.setTimeout(() => { |
|
|
|
this.getTableData(); |
|
|
|
}, 3000*Number(this.refreshTime)); |
|
|
|
// window.setTimeout(() => { |
|
|
|
// this.getTableData(); |
|
|
|
// }, 1000* Number(this.refreshTime)); |
|
|
|
// window.setTimeout(() => { |
|
|
|
// this.getTableData(); |
|
|
|
// }, 2000*Number(this.refreshTime)); |
|
|
|
// window.setTimeout(() => { |
|
|
|
// this.getTableData(); |
|
|
|
// }, 3000*Number(this.refreshTime)); |
|
|
|
|
|
|
|
}) |
|
|
|
}, |
|
|
|
@ -286,11 +283,8 @@ |
|
|
|
getTableData() { |
|
|
|
getNewScheduledTableData(this.number2).then(({data}) => { |
|
|
|
this.tableList=data.rows; |
|
|
|
if(data.total<5){ |
|
|
|
this.number2=0; |
|
|
|
}else { |
|
|
|
this.number2=Number(this.number2)+ Number(1); |
|
|
|
} |
|
|
|
this.number2=data.num; |
|
|
|
|
|
|
|
}) |
|
|
|
}, |
|
|
|
draw2(){ |
|
|
|
@ -434,7 +428,8 @@ |
|
|
|
} |
|
|
|
window.setInterval(() => { |
|
|
|
this.searchData(); |
|
|
|
}, 4000*Number(that.refreshTime)); |
|
|
|
// }, 4000*Number(that.refreshTime)); |
|
|
|
}, 1000*that.refreshTime); |
|
|
|
}) |
|
|
|
// $.ajax({ |
|
|
|
// url: "/board/getRefreshTime", |
|
|
|
@ -525,7 +520,7 @@ |
|
|
|
this.$nextTick(()=>{ |
|
|
|
this.height = window.innerHeight *0.36; |
|
|
|
}) |
|
|
|
this.getTableData(); |
|
|
|
// this.getTableData(); |
|
|
|
this.timeDo(); |
|
|
|
this.searchData(); |
|
|
|
} |
|
|
|
|