shuishen
2023-02-04 d6570221f20682eb5b55a460539d0212215af814
现有设备数据获取更改
1 files modified
6 ■■■■■ changed files
src/views/home/components/rightContainer.vue 6 ●●●●● patch | view | raw | blame | history
src/views/home/components/rightContainer.vue
@@ -172,7 +172,6 @@
    },
    mounted () {
        this.initEquipmentEcharts()
        this.getHomeAllData()
@@ -200,6 +199,8 @@
            this.policeStaionID = id
            this.initEventChangeEcharts()
            this.initEquipmentEcharts()
        },
        getSchedulingList () {
@@ -392,7 +393,7 @@
            let data = []
            this.regionTotal = 0
            const dataAll = getEquipment().then(res => {
            const dataAll = getEquipment(this.policeStaionID != '' ? this.policeStaionID : this.userInfo.dept_id).then(res => {
                if (this.linetype == 0) {
                    data = res.data.map((item, index) => {
@@ -437,6 +438,7 @@
                    return data
                }
            })
            return dataAll