|
@@ -291,7 +291,8 @@ Page({
|
|
let id = e.currentTarget.dataset.id;
|
|
let id = e.currentTarget.dataset.id;
|
|
const urls = urlDef.urls;
|
|
const urls = urlDef.urls;
|
|
let w = this.data.weekList[this.data.curIndex];
|
|
let w = this.data.weekList[this.data.curIndex];
|
|
- util.apiPost(urls.do_appointment + '?q.studentId=' + this.data.curStu.studentId + '&q.planId=' + id + '&q.orgId=' + this.data.curStu.orgId + '&q.visitDate=' + w.ds).then(rs => {
|
|
|
|
|
|
+ let sid = this.data.schoolList[this.data.schoolIndex].id
|
|
|
|
+ util.apiPost(urls.do_appointment + '?q.studentId=' + this.data.curStu.studentId + '&q.planId=' + id + '&q.orgId=' + sid + '&q.visitDate=' + w.ds).then(rs => {
|
|
if (rs.success > 0) {
|
|
if (rs.success > 0) {
|
|
wx.showToast({
|
|
wx.showToast({
|
|
title: '预约成功'
|
|
title: '预约成功'
|