Commit 90a0a01d authored by lvtz's avatar lvtz

fix

parent b7d38626
......@@ -2,6 +2,7 @@
@import '../../../style/commonlist.wxss';
.container{
background:#F3F4F6;
min-height: 100vh;
}
.commonlist-bigwrap-round{
......
......@@ -193,7 +193,7 @@ Page({
wx.showModal({
title: '确定要删除这个课程吗?',
content: '课程删除后,与该课程有关班级(包括打卡小程序班级)也将同步删除,确定要这样做吗?',
confirmColor: 'red',
confirmColor: '#FF4C4C',
success(res) {
if (res.confirm) {
courseDelete( {
......
......@@ -503,7 +503,7 @@ Page({
mode_type: this.data.mode_type,
}
let totalParams={};
if(!that.data.course_id){
if(!that.data.courseSelected.id){
wx.showModal({
title: '提示',
content: '请选择课程',
......
......@@ -8,7 +8,7 @@ function studentSignup(data) {
url: apis.customer.sigup.erpstudentSignup,
data,
method: 'POST',
errorresolve: 2,
errorresolve: 1,
needToken: true,
})
}
......
......@@ -134,21 +134,12 @@ Page({
sending: false
})
if (code!=200) {
if(code==40000){
wx.showModal({
title: '提示',
content: "该微信已绑定此学校",
showCancel: false,
confirmColor: '#65B8F4'
})
return
}
wx.showModal({
title: '提示',
content: messages[code],
showCancel: false,
confirmColor: '#65B8F4'
})
// wx.showModal({
// title: '提示',
// content: messages[code],
// showCancel: false,
// confirmColor: '#65B8F4'
// })
return;
}
that.setData({
......@@ -241,21 +232,12 @@ Page({
submitting: false
})
if (res.code!=200) {
if(res.code==40000){
wx.showModal({
title: '提示',
content: "该微信已绑定此学校",
showCancel: false,
confirmColor: '#65B8F4'
})
return
}
wx.showModal({
title: '提示',
content: `${messages[res.code]}`,
showCancel: false,
confirmColor: '#65B8F4'
})
// wx.showModal({
// title: '提示',
// content: `${messages[res.code]}`,
// showCancel: false,
// confirmColor: '#65B8F4'
// })
return;
}
wx.showToast({
......
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