#
whycq
2023-12-19 ae65d63a9e48a2b2b97c7ad58dc4d58abf780337
#
1个文件已修改
24 ■■■■■ 已修改文件
Monitor-APP/pages/home/home.vue 24 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Monitor-APP/pages/home/home.vue
@@ -402,7 +402,25 @@
            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(()=>{
@@ -421,7 +439,7 @@
            // },5000)
            
            setInterval(()=>{
                // this.getServerData()
                this.getServerData()
                this.initlineChart()
                this.initPieChart()
                this.getOther()
@@ -513,6 +531,7 @@
                    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) {
@@ -550,6 +569,7 @@
                    data: {ledId:that.baseLedId},
                    method:"GET",
                    success(result) {
                        console.log(result);
                        var    res = result.data
                        if (res.data && res.data !== "") {
                            var errorInfo = res.data