From 53c5e28be0a3ac2fc32dcd11ad660fc5445c793e Mon Sep 17 00:00:00 2001
From: xiebin <123456>
Date: Thu, 04 Aug 2022 10:15:09 +0800
Subject: [PATCH] 获取设备列表参数修改
---
src/views/home/index.vue | 2 +-
src/api/farm/farmingrecord.js | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/api/farm/farmingrecord.js b/src/api/farm/farmingrecord.js
index 8761274..e2aa52e 100644
--- a/src/api/farm/farmingrecord.js
+++ b/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
}
})
}
diff --git a/src/views/home/index.vue b/src/views/home/index.vue
index de27920..4c88399 100644
--- a/src/views/home/index.vue
+++ b/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
--
Gitblit v1.9.3