|
@@ -88,6 +88,9 @@ Page({
|
|
*/
|
|
*/
|
|
getDeviceinfo:function(order_num){
|
|
getDeviceinfo:function(order_num){
|
|
var that=this;
|
|
var that=this;
|
|
|
|
+ wx.showLoading({
|
|
|
|
+ title: '加载中...',
|
|
|
|
+ })
|
|
app.api.useApi(app.globalData.baseAppUrl+"api/order/getDeviceinfo",{
|
|
app.api.useApi(app.globalData.baseAppUrl+"api/order/getDeviceinfo",{
|
|
order_num:order_num,
|
|
order_num:order_num,
|
|
network_id:this.data.network_id
|
|
network_id:this.data.network_id
|
|
@@ -105,6 +108,7 @@ Page({
|
|
}
|
|
}
|
|
})
|
|
})
|
|
}else{
|
|
}else{
|
|
|
|
+ wx.hideLoading()
|
|
var orders=res.message.data;
|
|
var orders=res.message.data;
|
|
that.setData({
|
|
that.setData({
|
|
orders:orders
|
|
orders:orders
|