|
@@ -42,7 +42,6 @@ Page({
|
|
|
},
|
|
|
|
|
|
|
|
|
-
|
|
|
//点击变色 显示按钮
|
|
|
seled: function (e) {
|
|
|
this.setData({
|
|
@@ -50,6 +49,7 @@ Page({
|
|
|
status: e.currentTarget.dataset.status
|
|
|
});
|
|
|
var id = e.currentTarget.dataset.id;
|
|
|
+ console.log(id);
|
|
|
spoutDeviceId = id
|
|
|
var num = e.currentTarget.dataset.num;
|
|
|
this.gettaskdeatil(id, num);
|
|
@@ -127,7 +127,7 @@ Page({
|
|
|
return false;
|
|
|
}
|
|
|
app.api.useApi(app.globalData.baseAppUrl + "api/admin/SelectLattice", {
|
|
|
- device_id: "1",
|
|
|
+ device_id: that.data.deviceId,
|
|
|
spout_device_id: id,
|
|
|
}, "get").then(function (res) {
|
|
|
console.log(res);
|