Browse Source

Merge pull request '自动更新时间' (#148) from liwei into develop

Reviewed-on: http://101.201.121.115:3000/leo/LAPP_GAAS_GFrame_WEBFRONT/pulls/148
Reviewed-by: wangxy <xinyao.wang@le-it.com.cn>
pull/150/head
wangxy 3 years ago
parent
commit
09a253f00f
1 changed files with 8 additions and 0 deletions
  1. +8
    -0
      src/views/DataP/index.vue

+ 8
- 0
src/views/DataP/index.vue View File

@ -117,6 +117,14 @@ export default {
this.title=this.titleData[this.getQueryVariable('type')]?this.titleData[this.getQueryVariable('type')].title:'' this.title=this.titleData[this.getQueryVariable('type')]?this.titleData[this.getQueryVariable('type')].title:''
}, },
methods: { methods: {
// setTimeData
setTimeData(){
this.time=moment().format('YYYY-MM-DD');
this.getData();
setTimeout(()=>{
this.setTimeData();
},360000)
},
// //
colorValue(status){ colorValue(status){
return this.orderColors[status]; return this.orderColors[status];


Loading…
Cancel
Save