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