Commit 9b627b68 authored by xinzhedeai's avatar xinzhedeai

温度、风速、降雨、边坡监测 设备接口传参修改

parent b2958976
...@@ -229,7 +229,9 @@ export default { ...@@ -229,7 +229,9 @@ export default {
this.getData(); this.getData();
}, },
getsensorList(){ getsensorList(){
API.sensorList().then(res=>{ API.sensorList({
source: 'WARNIING'
}).then(res=>{
this.equipnoData = res.body; this.equipnoData = res.body;
}) })
}, },
......
...@@ -230,7 +230,9 @@ export default { ...@@ -230,7 +230,9 @@ export default {
this.getData(); this.getData();
}, },
getsensorList(){ getsensorList(){
API.sensorListwen().then(res=>{ API.sensorListwen({
source: 'WARNIING'
}).then(res=>{
this.equipnoData = res.body; this.equipnoData = res.body;
}) })
}, },
......
...@@ -230,7 +230,9 @@ export default { ...@@ -230,7 +230,9 @@ export default {
this.getData(); this.getData();
}, },
getsensorList(){ getsensorList(){
API.sensorListfeng().then(res=>{ API.sensorListfeng({
source: 'WARNIING'
}).then(res=>{
this.equipnoData = res.body; this.equipnoData = res.body;
}) })
}, },
......
...@@ -229,7 +229,9 @@ export default { ...@@ -229,7 +229,9 @@ export default {
this.getData(); this.getData();
}, },
getsensorList(){ getsensorList(){
API.sensorListrg().then(res=>{ API.sensorListrg({
source: 'WARNIING'
}).then(res=>{
this.equipnoData = res.body; this.equipnoData = res.body;
}) })
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment