diff --git a/src/views/DataP/index.vue b/src/views/DataP/index.vue index daa7a1c..4d45cb8 100644 --- a/src/views/DataP/index.vue +++ b/src/views/DataP/index.vue @@ -117,6 +117,14 @@ export default { this.title=this.titleData[this.getQueryVariable('type')]?this.titleData[this.getQueryVariable('type')].title:'' }, methods: { + // setTimeData + setTimeData(){ + this.time=moment().format('YYYY-MM-DD'); + this.getData(); + setTimeout(()=>{ + this.setTimeData(); + },360000) + }, // 根据状态获取色值 colorValue(status){ return this.orderColors[status];