|
@@ -269,14 +269,14 @@ Page({
|
|
|
const urls = urlDef.urls;
|
|
|
|
|
|
let sl = this.data.schoolList;
|
|
|
- let s = sl.filter(o => o.id == sid)[0];
|
|
|
+ let s = sl.filter(o => o.id == this.data.schoolList[this.data.schoolIndex].id)[0];
|
|
|
|
|
|
let w = this.data.weekList[this.data.curIndex];
|
|
|
|
|
|
let date = w.ds
|
|
|
let week = w.ws + 1;
|
|
|
|
|
|
- let params = { 'q.orgId': sid, 'q.studentId': this.data.curStu.studentId, 'q.date': date, 'q.week': week, 'q.timeScope': this.data.timeScope }
|
|
|
+ let params = { 'q.orgId': this.data.schoolList[this.data.schoolIndex].id, 'q.studentId': this.data.curStu.studentId, 'q.date': date, 'q.week': week, 'q.timeScope': this.data.timeScope }
|
|
|
// params['q.timeScope'] = ''; 时段
|
|
|
util.apiPost(urls.query_school_attence, params).then(rs => {
|
|
|
s.items = rs
|