智慧农业大数据平台
xiebin
2022-08-04 53c5e28be0a3ac2fc32dcd11ad660fc5445c793e
获取设备列表参数修改
2 files modified
4 ■■■■ changed files
src/api/farm/farmingrecord.js 2 ●●● patch | view | raw | blame | history
src/views/home/index.vue 2 ●●● patch | view | raw | blame | history
src/api/farm/farmingrecord.js
@@ -315,7 +315,7 @@
        url: 'http://dev.jxpskj.com:8030/pyh-station/stationAndVideo/queryStationAndVideoInfo',
        method: 'get',
        params: {
            'type': "ALL"
            ...params
        }
    })
}
src/views/home/index.vue
@@ -1298,7 +1298,7 @@
        // 获取监控/监测设备列表
        getStationAndVideoList () {
            var that = this
            getStationAndVideoList().then((res) => {
            getStationAndVideoList({type:'ALL'}).then((res) => {
                if (JSON.stringify(res.data) != '{}' && res.data.data) {
                    that.equipmentList = res.data.data