This commit is contained in:
1147192855@qq.com 2024-03-13 10:48:49 +08:00
parent 9b96db5bca
commit 4d7c48941f
2 changed files with 5 additions and 3 deletions

View File

@ -52,6 +52,7 @@ class _FavoriteState extends State<FavoriteWidget> with EventBusMixin<JobQuestio
ToastUtils.showLoading(); ToastUtils.showLoading();
RestClient _client = await getClient(); RestClient _client = await getClient();
favoriteVal.isCollect = !favoriteVal.isCollect; favoriteVal.isCollect = !favoriteVal.isCollect;
favoriteVal.paperId = _eventModel!.paperId;
BaseStructureResult<bool> res = await _client.toJobFavoriteCancel(favoriteVal); BaseStructureResult<bool> res = await _client.toJobFavoriteCancel(favoriteVal);
if (res.success) { if (res.success) {
_future = getData(favoriteVal.taskId, favoriteVal.studentId, _eventModel!.paperId); _future = getData(favoriteVal.taskId, favoriteVal.studentId, _eventModel!.paperId);

View File

@ -174,7 +174,7 @@ class ReviewStatusInfo extends HookWidget with CommonMixin {
Container( Container(
margin: EdgeInsets.only(top: 14.h), margin: EdgeInsets.only(top: 14.h),
child: quickText( child: quickText(
'当前页未提交作业学生名单', '当前页未提交学生名单',
size: 15.sp, size: 15.sp,
fontWeight: FontWeight.bold, fontWeight: FontWeight.bold,
color: Color.fromRGBO(60, 60, 60, 1), color: Color.fromRGBO(60, 60, 60, 1),
@ -667,7 +667,7 @@ class _EexamPaperAndScoringViewState extends ConsumerState<ExamPaperAndScoringVi
Expanded( Expanded(
flex: 2, flex: 2,
child: Container( child: Container(
padding: EdgeInsets.symmetric(vertical: 14.h), padding: EdgeInsets.only(bottom: 14.h, top: 6.h),
decoration: BoxDecoration( decoration: BoxDecoration(
color: Color.fromRGBO(159, 159, 159, 0.97), color: Color.fromRGBO(159, 159, 159, 0.97),
boxShadow: [ boxShadow: [
@ -895,6 +895,7 @@ Widget $examPaperAndScoringKeyboardView(
}, },
), ),
), ),
SizedBox(height: 3.h),
Container( Container(
child: Column( child: Column(
mainAxisSize: MainAxisSize.min, mainAxisSize: MainAxisSize.min,
@ -973,7 +974,7 @@ Widget $examPaperAndScoringKeyboardView(
), ),
), ),
), ),
SizedBox(height: 36.h), SizedBox(height: 26.h),
], ],
), ),
), ),