Commit 27b180fa authored by wangqinghua's avatar wangqinghua

删除 网络错误

parent 2041eb8c
......@@ -149,9 +149,9 @@ export class JoinDetailPage {
this.appService.alert('确定取消该活动报名',(res)=>{
const data = {
'userid':item.id,
'id':''
'id':item.orderId
}
this.appService.ObserverHttpGet("/wisdomgroup/modules/order/deleteOrder", data).
this.appService.ObserverHttpGetOption("/wisdomgroup/modules/order/deleteOrder", data).
subscribe((res)=>{
this.appService.popToastView('取消报名成功!','middle',1500);
this.sign();
......
......@@ -17,8 +17,8 @@
<span class="lettr-space-1" item-right>{{personInfo?.name}}</span>
</ion-item>
<div>
<span>
<span *ngFor="let item of selectBatchList">
{{item.batchName}}
</span>
</div>
<ion-item class="margin-top-10">
......
......@@ -30,7 +30,7 @@ export class ReplaceApplyPage {
Batchid: '', //关联批次id
UserID: '', //用户id
Username: '', //用户名称
Usertel: '' //用户手机
Usertel: '', //用户手机
};
constructor(public navCtrl: NavController, public navParams: NavParams,
......@@ -134,10 +134,14 @@ export class ReplaceApplyPage {
Batchid: this.item.id, //关联批次id
UserID: this.personInfo.id,
Username: this.personInfo.name,
Usertel: this.personInfo.mobile
Usertel: this.personInfo.mobile,
batchlist:''
};
this.order.Batchid = this.item.id;
this.order.Activityid = this.item.activityId;
this.selectBatchList.forEach(res=>{
order.batchlist += res.id + ',';
});
console.log(order);
this.appService.ObserverHttpPost("/wisdomgroup/modules/order/create", order)
.subscribe((res: Response) => {
this.navCtrl.pop();
......
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