| | |
| | | menuList: dataList, |
| | | loading: false, |
| | | }); |
| | | }, 200) |
| | | }, 500) |
| | | if (this.data.taskId) { |
| | | setTimeout(() => { |
| | | this.data.menuList.forEach((item) => { |
| | |
| | | }) |
| | | } |
| | | }) |
| | | }, 200) |
| | | }, 500) |
| | | } else { |
| | | setTimeout(() => { |
| | | if (this.data.menuList[0].children) { |
| | |
| | | taskInfo: this.data.menuList[0], |
| | | }); |
| | | } |
| | | }, 200) |
| | | }, 500) |
| | | } |
| | | } |
| | | setTimeout(() => { |
| | | this.getTasksList() |
| | | }, 200) |
| | | }, 500) |
| | | }) |
| | | }, |
| | | getTask(e) { |
| | |
| | | this.setData({ |
| | | isUpdate: true, |
| | | tasksData: item1, |
| | | name: this.data.name || content.userName, |
| | | school: this.data.school || content.school, |
| | | class: this.data.class || content.class, |
| | | name: content.userName, |
| | | school: content.school, |
| | | class: content.class, |
| | | learnTime: content.learnTime, |
| | | }); |
| | | if (this.data.name && this.data.school && this.data.class) { |