|
@@ -285,7 +285,7 @@
|
|
|
},
|
|
|
methods: {
|
|
|
homeinfo(data) {
|
|
|
- console.log("打印数据", data)
|
|
|
+ console.log("打印数据", data, this.urlData)
|
|
|
if (this.urlData.status === 2) {
|
|
|
wx.showToast({
|
|
|
title: this.urlData.msg,
|
|
@@ -293,8 +293,10 @@
|
|
|
duration: 500,
|
|
|
});
|
|
|
} else if (this.urlData.status === 0) {
|
|
|
+ console.log("打印数据", data, this.urlData.data.sn)
|
|
|
wx.miniProgram.navigateTo({
|
|
|
- url: '/pages/trialInterface/trialInterface?record=' + data.id + '&sn=' + this.urlData.data.sn,
|
|
|
+ url: '/pages/trialInterface/trialInterface?record=' + data.id + '&sn=' + this
|
|
|
+ .urlData.sn,
|
|
|
})
|
|
|
}
|
|
|
|
|
@@ -377,10 +379,10 @@
|
|
|
var baseUrl = "http://192.168.199.243";
|
|
|
var urlss = 'test.androidscloud.com'
|
|
|
let that = this;
|
|
|
- let rbdData = {
|
|
|
- "userCardId": that.homeList[activeIndex].id,
|
|
|
- "deviceStatus": 1,
|
|
|
- };
|
|
|
+ let rbdData = {
|
|
|
+ "userCardId": that.homeList[activeIndex].id,
|
|
|
+ "deviceStatus": 1,
|
|
|
+ };
|
|
|
// setTimeout(() => {
|
|
|
$.ajax({
|
|
|
url: baseUrl + "/api/storage/v1/cardStatus/getRbd",
|
|
@@ -930,7 +932,7 @@
|
|
|
|
|
|
ws.addEventListener('message', function(event) {
|
|
|
var data = that.ParseProto(event
|
|
|
- .data); //JAVA服务器转发
|
|
|
+ .data); //JAVA服务器转发
|
|
|
//console.log("收到数据");
|
|
|
|
|
|
var audioData = {
|