This commit is contained in:
parent
8e95d8791c
commit
1c159dbda3
|
|
@ -40,8 +40,9 @@ class _JobPriorityReviewSetState extends State<JobPriorityReviewSet>
|
|||
RestClient _client = await getClient();
|
||||
BaseStructureResult<List<JobStudentLevel>> res = await _client.getJobReadLevel(widget.groupId,tabIndex == 0?1:0);
|
||||
setState(() {
|
||||
if(res.code == 200){
|
||||
if(res.success){
|
||||
levelList = res.data!;
|
||||
print(levelList.length);
|
||||
}else{
|
||||
levelList = [];
|
||||
}
|
||||
|
|
|
|||
|
|
@ -47,14 +47,14 @@ class _JobFavoriteState extends State<JobFavorite> with CommonMixin {
|
|||
@override
|
||||
void initState() {
|
||||
super.initState();
|
||||
FastData fastData = FastData.getInstance();
|
||||
/* FastData fastData = FastData.getInstance();
|
||||
fastData.getUser().then((value) {
|
||||
if (value == null || value == '') return;
|
||||
Map<String, dynamic> userInfo = json.decode(value);
|
||||
setState(() {
|
||||
loginName = userInfo['loginName'];
|
||||
});
|
||||
});
|
||||
});*/
|
||||
getInvolveClasses();
|
||||
_future = getData();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -271,7 +271,7 @@ class _JobListParticipateInClassState extends State<JobListParticipateInClass> w
|
|||
RouterManager.router.navigateTo(
|
||||
context,
|
||||
RouterManager.jobFavoritePagePath +
|
||||
'?className=${Uri.encodeComponent(task.className)}&jobId=${widget.jobId}&schoolId=${task.dpcSchoolId}&gradeId=${task.dpcGradeId}&jobName=${widget.jobName}',
|
||||
'?className=${Uri.encodeComponent(task.className)}&jobId=${widget.jobId}&schoolId=${task.dpcSchoolId}&gradeId=${task.dpcGradeId}&jobName=${Uri.encodeComponent(widget.jobName)}',
|
||||
transition: getTransition(),
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue