|
@@ -85,9 +85,9 @@ Page({
|
|
|
wx.getStorage({
|
|
|
key: 'user',
|
|
|
success: async res => {
|
|
|
- let info = { skip: that.data.skip, limit: that.data.limit, type: that.data.tabs.active, student_id: res.data.info._id };
|
|
|
+ let info = { skip: that.data.skip, limit: that.data.limit, type: that.data.tabs.active, student_id: res.data.info._id, is_pay: '1' };
|
|
|
let arr = await app.$get(`/studentView/lessonList`, { ...info });
|
|
|
- if (arr.errcode == '0') {
|
|
|
+ if (arr.errcode == '0') {
|
|
|
for (const val of arr.data) { let status = statusList.find(i => i.value == val.status); if (status) val.zhStatus = status.label; }
|
|
|
that.setData({ list: [...that.data.list, ...arr.data] })
|
|
|
that.setData({ total: arr.total })
|