Commit 4e904b24 authored by lvtz's avatar lvtz

fix

parent e2d04d40
...@@ -596,7 +596,7 @@ Page({ ...@@ -596,7 +596,7 @@ Page({
let selectStudent = that.data.selectStudent;//选择学员? let selectStudent = that.data.selectStudent;//选择学员?
let newStudentInfo = that.data.newStudentInfo;//新增学员? let newStudentInfo = that.data.newStudentInfo;//新增学员?
let courseSelected = that.data.courseSelected; let courseSelected = that.data.courseSelected;
const {buy,give,mode_type} = that.data.params; const {buy,give,mode_type,remark} = that.data.params;
let std = selectStudent.id ? selectStudent.id : newStudentInfo.id let std = selectStudent.id ? selectStudent.id : newStudentInfo.id
studentRenewal({ studentRenewal({
student_id: std, student_id: std,
...@@ -604,7 +604,8 @@ Page({ ...@@ -604,7 +604,8 @@ Page({
mode_type, mode_type,
buy, buy,
give, give,
operator_id: that.data.memberMeInfo.id operator_id: that.data.memberMeInfo.id,
remark
}).then(res=>{ }).then(res=>{
const {code,data} = res; const {code,data} = res;
if(code!=200){ if(code!=200){
......
...@@ -165,18 +165,18 @@ Page({ ...@@ -165,18 +165,18 @@ Page({
}) })
this.getIdentitylist(); this.getIdentitylist();
}else{ }else{
wx.showToast({ // wx.showToast({
title: '切换失败', // title: '切换失败',
icon: 'none', // icon: 'none',
duration: 2000 // duration: 2000
}) // })
} }
}).catch((res)=>{ }).catch((res)=>{
wx.showToast({ // wx.showToast({
title: '切换失败', // title: '切换失败',
icon: 'none', // icon: 'none',
duration: 2000 // duration: 2000
}) // })
}) })
} }
}) })
\ No newline at end of file
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