Commit 4e904b24 authored by lvtz's avatar lvtz

fix

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