@@ -200,9 +200,13 @@ export default {
}
});
} else {
- uni.showToast({
- title: '请选择考试时间',
- icon: 'none'
+ var data = JSON.parse(JSON.stringify(self.applyDs));
+ self.$api.addApply(data).then(res => {
+ if (res.data.code === 200) {
+ uni.reLaunch({
+ url: `/pages2/appointment/appointment_success?subscribeId=${res.data.data}`
+ });
+ }