| | |
| | | that.baseLedId = BaseLedId |
| | | that.basePort = BasePort |
| | | that.baseCrnId = BaseCrnId |
| | | // this.getUrl() |
| | | this.getUrl() |
| | | setTimeout(()=>{ |
| | | this.getServerData() |
| | | this.initlineChart() |
| | | this.initPieChart() |
| | | this.getOther() |
| | | setTimeout(()=>{ |
| | | this.getServerData() |
| | | this.initlineChart() |
| | | this.initPieChart() |
| | | this.getOther() |
| | | setTimeout(()=>{ |
| | | this.getServerData() |
| | | this.initlineChart() |
| | | this.initPieChart() |
| | | this.getOther() |
| | | },500) |
| | | },500) |
| | | },500) |
| | | }, |
| | | onLoad() { |
| | | setInterval(()=>{ |
| | |
| | | // },5000) |
| | | |
| | | setInterval(()=>{ |
| | | // this.getServerData() |
| | | this.getServerData() |
| | | this.initlineChart() |
| | | this.initPieChart() |
| | | this.getOther() |
| | |
| | | method:"GET", |
| | | data: {ledId:that.baseLedId}, |
| | | success(result) { |
| | | // console.log(result); |
| | | var res = result.data |
| | | if (res.data && res.data !== "") { |
| | | if (that.infoType == 2 || that.infoType == 3) { |
| | |
| | | data: {ledId:that.baseLedId}, |
| | | method:"GET", |
| | | success(result) { |
| | | console.log(result); |
| | | var res = result.data |
| | | if (res.data && res.data !== "") { |
| | | var errorInfo = res.data |