no message
This commit is contained in:
parent
2bf8ae88f6
commit
bf3e2eb9e2
|
|
@ -409,16 +409,33 @@ class _JobListParticipateInClassState extends State<JobListParticipateInClass> w
|
||||||
),
|
),
|
||||||
backgroundColor: Colors.white,
|
backgroundColor: Colors.white,
|
||||||
),
|
),
|
||||||
body: MyFutureBuilder.buildFutureBuilderOfSingleInstance<List<MarkingTasks>?>(context, _future, (value) {
|
body: RefreshIndicator(
|
||||||
if (value == null) return Container();
|
onRefresh: () async {
|
||||||
value.forEach((e) {
|
getListOfJobFavoritesData().then((value) {
|
||||||
e.collectNumber = favoriteMap['${e.dpcSchoolId}+${e.dpcGradeId}+${e.className}'] ?? 0;
|
_future = getData();
|
||||||
});
|
toUpState(setState, () {}, mounted);
|
||||||
bool thePadTerminal = isPad();
|
});
|
||||||
if (widget.completed) {
|
},
|
||||||
// 已完成
|
child: MyFutureBuilder.buildFutureBuilderOfSingleInstance<List<MarkingTasks>?>(context, _future, (value) {
|
||||||
if (thePadTerminal)
|
if (value == null) return Container();
|
||||||
return TabletEndCompleted(
|
value.forEach((e) {
|
||||||
|
e.collectNumber = favoriteMap['${e.dpcSchoolId}+${e.dpcGradeId}+${e.className}'] ?? 0;
|
||||||
|
});
|
||||||
|
bool thePadTerminal = isPad();
|
||||||
|
if (widget.completed) {
|
||||||
|
// 已完成
|
||||||
|
if (thePadTerminal)
|
||||||
|
return TabletEndCompleted(
|
||||||
|
data: value,
|
||||||
|
genderName: widget.genderName,
|
||||||
|
bookmarks: bookmarks,
|
||||||
|
jobViewReport: jobViewReport,
|
||||||
|
quickDataCheck: quickDataCheck,
|
||||||
|
showStudentList: showStudentList,
|
||||||
|
);
|
||||||
|
|
||||||
|
// 已完成手机端
|
||||||
|
return MobileEndCompleted(
|
||||||
data: value,
|
data: value,
|
||||||
genderName: widget.genderName,
|
genderName: widget.genderName,
|
||||||
bookmarks: bookmarks,
|
bookmarks: bookmarks,
|
||||||
|
|
@ -426,21 +443,23 @@ class _JobListParticipateInClassState extends State<JobListParticipateInClass> w
|
||||||
quickDataCheck: quickDataCheck,
|
quickDataCheck: quickDataCheck,
|
||||||
showStudentList: showStudentList,
|
showStudentList: showStudentList,
|
||||||
);
|
);
|
||||||
|
}
|
||||||
|
|
||||||
// 已完成手机端
|
// 未完成页面
|
||||||
return MobileEndCompleted(
|
if (thePadTerminal)
|
||||||
data: value,
|
return TabletEnd(
|
||||||
genderName: widget.genderName,
|
data: value,
|
||||||
bookmarks: bookmarks,
|
genderName: widget.genderName,
|
||||||
jobViewReport: jobViewReport,
|
bookmarks: bookmarks,
|
||||||
quickDataCheck: quickDataCheck,
|
endReview: endReview,
|
||||||
showStudentList: showStudentList,
|
goToReview: goToReview,
|
||||||
);
|
jobViewReport: jobViewReport,
|
||||||
}
|
quickDataCheck: quickDataCheck,
|
||||||
|
oneClickReview: oneClickReview,
|
||||||
|
showStudentList: showStudentList,
|
||||||
|
);
|
||||||
|
|
||||||
// 未完成页面
|
return MobileEnd(
|
||||||
if (thePadTerminal)
|
|
||||||
return TabletEnd(
|
|
||||||
data: value,
|
data: value,
|
||||||
genderName: widget.genderName,
|
genderName: widget.genderName,
|
||||||
bookmarks: bookmarks,
|
bookmarks: bookmarks,
|
||||||
|
|
@ -451,19 +470,8 @@ class _JobListParticipateInClassState extends State<JobListParticipateInClass> w
|
||||||
oneClickReview: oneClickReview,
|
oneClickReview: oneClickReview,
|
||||||
showStudentList: showStudentList,
|
showStudentList: showStudentList,
|
||||||
);
|
);
|
||||||
|
}),
|
||||||
return MobileEnd(
|
),
|
||||||
data: value,
|
|
||||||
genderName: widget.genderName,
|
|
||||||
bookmarks: bookmarks,
|
|
||||||
endReview: endReview,
|
|
||||||
goToReview: goToReview,
|
|
||||||
jobViewReport: jobViewReport,
|
|
||||||
quickDataCheck: quickDataCheck,
|
|
||||||
oneClickReview: oneClickReview,
|
|
||||||
showStudentList: showStudentList,
|
|
||||||
);
|
|
||||||
}),
|
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue