#
whycq
2023-11-09 761d4761a68a070f708d752eb14db7f5bdb88529
#
1个文件已修改
42 ■■■■ 已修改文件
Monitor-APP/pages/home/home.vue 42 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Monitor-APP/pages/home/home.vue
@@ -418,22 +418,46 @@
            that.baseLedId = BaseLedId
            that.basePort = BasePort
            that.baseCrnId = BaseCrnId
            // this.getUrl()
            this.getDate2()
            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()
                    },3000)
                },1000)
            },1000)
        },
        onLoad() {
            setInterval(()=>{
                this.getDate2()
                this.getUrl()
                this.getInfo()
                this.getError()
                // this.getInfo2()
                // this.getError2()
                this.controller()
            },1000)
            setInterval(()=>{
                this.getServerData()
                this.initlineChart()
                this.initPieChart()
                this.getOther()
                this.getDate2()
                // this.getInfo()
                // this.getError()
                this.getInfo2()
                this.getError2()
                this.getUrl()
                this.controller()
            },1000)
            },600000)
        },
        methods: {
            timeOuts() {