|
@@ -220,7 +220,7 @@ export default {
|
|
method: "POST",
|
|
method: "POST",
|
|
data: { categoryId }, //目前只有一个组织,其他参数调整钟 732971735112749056
|
|
data: { categoryId }, //目前只有一个组织,其他参数调整钟 732971735112749056
|
|
success: res => {
|
|
success: res => {
|
|
- this.deviceList = res;
|
|
|
|
|
|
+ this.deviceList = res.content;
|
|
},
|
|
},
|
|
fail: err => {
|
|
fail: err => {
|
|
if (err.errCode == "request_not_authorize") {
|
|
if (err.errCode == "request_not_authorize") {
|
|
@@ -323,6 +323,9 @@ export default {
|
|
let ws = channals[0].ws;
|
|
let ws = channals[0].ws;
|
|
console.log("rtsp==>> " + rtsp);
|
|
console.log("rtsp==>> " + rtsp);
|
|
console.log("ws==>> " + ws);
|
|
console.log("ws==>> " + ws);
|
|
|
|
+ if(row.data && row.data["curr-ip"]){//要更换IP
|
|
|
|
+ ws = ws.replace("ip-addr",row.data["curr-ip"])
|
|
|
|
+ }
|
|
this.videoData = {
|
|
this.videoData = {
|
|
rtsp,
|
|
rtsp,
|
|
ws,
|
|
ws,
|