@@ -274,10 +274,7 @@ Page({
let w = this.data.weekList[this.data.curIndex];
let date = w.ds
- let week = w.ws
- if(week == 0){
- week = 7
- }
+ 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 }
// params['q.timeScope'] = ''; 时段
@@ -46,9 +46,9 @@ Page({
}
util.apiPost(urls.get_order, params).then(rs => {
if (rs != null) {
- // rs[0].payDate = this.renderTime(rs[0].payDate)
- // this.setData({ items: rs, order: rs[0] })
- // this.queryContract()
+ rs[0].payDate = this.renderTime(rs[0].payDate)
+ this.setData({ items: rs, order: rs[0] })
+ this.queryContract()
})
},