Commit d42c0c12 authored by xieyishang's avatar xieyishang

11~

parent 3e6832fe
...@@ -128,7 +128,7 @@ ...@@ -128,7 +128,7 @@
this.action=res.action; this.action=res.action;
if(res.action=="immediatelyOrder"||res.action=="refuseOrder"){ //接单 拒绝接单 if(res.action=="immediatelyOrder"||res.action=="refuseOrder"){ //接单 拒绝接单
if(this.status!='all'){ //只有不是在全部订单下才删除这一项 if(this.status!='all'){ //只有不是在全部订单下才删除这一项
orderlist.splice(index,1); //删除某项 orderlist.splice(index,1); //删除某项 可能有问题
this.$set(this,'orderlist',orderlist); this.$set(this,'orderlist',orderlist);
}else{ }else{
this.listDeal(); this.listDeal();
...@@ -247,7 +247,7 @@ ...@@ -247,7 +247,7 @@
uni.hideLoading(); uni.hideLoading();
for(let item of res.data){ for(let item of res.data){
if(item.order_id==order_id){ if(item.order_id==order_id){
this.$set(this.orderlist,index,item); this.$set(this.orderlist,index,item);//可能有问题
break; break;
} }
} }
...@@ -260,7 +260,7 @@ ...@@ -260,7 +260,7 @@
}else{ }else{
let orderlist=this.orderlist; let orderlist=this.orderlist;
orderlist.splice(index,1); //删除某项 orderlist.splice(index,1); //删除某项
this.$set(this,'orderlist',orderlist); this.$set(this,'orderlist',orderlist);//可能有问题
} }
}, },
//获取订单状态 //获取订单状态
...@@ -296,7 +296,7 @@ ...@@ -296,7 +296,7 @@
if (res.data == null || res.data.length == 0) { if (res.data == null || res.data.length == 0) {
this.is_loading_done = true; this.is_loading_done = true;
} else { } else {
this.orderlist = [...this.orderlist,...res.data]; this.orderlist = [...this.orderlist,...res.data];//可能有问题
} }
}else{ }else{
this.$api.msg(res.msg); this.$api.msg(res.msg);
......
...@@ -5,8 +5,8 @@ module.exports = { ...@@ -5,8 +5,8 @@ module.exports = {
isdebug:false,//正式 // isdebug:false,//正式
// isdebug:true,//测试 isdebug:true,//测试
// xqdebug:false,//正式权限 // xqdebug:false,//正式权限
xqdebug:true,//发布审核权限 也是测试环境的 主要用于ios xqdebug:true,//发布审核权限 也是测试环境的 主要用于ios
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment