| | |
| | | dialogVisible: false, |
| | | invitee: "", |
| | | teacherEvaluated: false, |
| | | evaluated: false |
| | | evaluated: false, |
| | | rowCol: [{ |
| | | width: '50%', |
| | | }, |
| | | { |
| | | width: '100%' |
| | | }, |
| | | { |
| | | width: '80%' |
| | | }, |
| | | { |
| | | width: '100%' |
| | | }, { |
| | | width: '100%' |
| | | }, |
| | | ], |
| | | }, |
| | | onShow() { |
| | | var that = this; |
| | |
| | | this.setData({ |
| | | bookId: options.bookId, |
| | | cmsPath: options.cmsPath, |
| | | taskId: options.bookId, |
| | | taskId: options.taskId, |
| | | consumer: options.consumer, |
| | | userId: options.userId, |
| | | userName: JSON.parse(wx.getStorageSync(app.config.userInfoKey)).nickName |
| | |
| | | this.setData({ |
| | | cmsPath: options.cmsPath, |
| | | bookId: options.bookId, |
| | | taskId: options.bookId, |
| | | taskId: options.taskId, |
| | | consumer: options.consumer, |
| | | userId: options.userId, |
| | | disabled: true |
| | |
| | | menuList: dataList, |
| | | loading: false, |
| | | }); |
| | | }, 500) |
| | | }, 200) |
| | | if (this.data.taskId) { |
| | | setTimeout(() => { |
| | | this.data.menuList.forEach((item) => { |
| | |
| | | }) |
| | | } |
| | | }) |
| | | }, 500) |
| | | }, 200) |
| | | } else { |
| | | setTimeout(() => { |
| | | if (this.data.menuList[0].children) { |
| | |
| | | taskInfo: this.data.menuList[0], |
| | | }); |
| | | } |
| | | }, 500) |
| | | }, 200) |
| | | } |
| | | } |
| | | this.getTasksList() |
| | | setTimeout(() => { |
| | | this.getTasksList() |
| | | }, 200) |
| | | }) |
| | | }, |
| | | getTask(e) { |
| | |
| | | this.setData({ |
| | | tasksListData: res.datas, |
| | | }); |
| | | |
| | | if (this.data.taskInfo.name) { |
| | | this.taskSelect(this.data.taskInfo) |
| | | } |