diff --git a/marking_app/lib/pages/homework_correction/quick_data_check.dart b/marking_app/lib/pages/homework_correction/quick_data_check.dart index 17fef7b..d36e023 100644 --- a/marking_app/lib/pages/homework_correction/quick_data_check.dart +++ b/marking_app/lib/pages/homework_correction/quick_data_check.dart @@ -13,17 +13,17 @@ import 'package:marking_app/utils/index.dart'; import 'package:marking_app/utils/request/rest_client.dart'; import 'package:percent_indicator/linear_percent_indicator.dart'; -class QuickDataCheck extends StatefulWidget { +class QuickDataCheckPage extends StatefulWidget { final int jobId; final String className; - const QuickDataCheck({Key? key, required this.jobId,required this.className}) : super(key: key); + const QuickDataCheckPage({Key? key, required this.jobId,required this.className}) : super(key: key); @override - State createState() => _QuickDataCheckState(); + State createState() => _QuickDataCheckPageState(); } -class _QuickDataCheckState extends State with CommonMixin { +class _QuickDataCheckPageState extends State with CommonMixin { JobDataReport? jobData; void initState() { diff --git a/marking_app/lib/routes/RouterManager.dart b/marking_app/lib/routes/RouterManager.dart index 8ff877f..a75d82d 100644 --- a/marking_app/lib/routes/RouterManager.dart +++ b/marking_app/lib/routes/RouterManager.dart @@ -261,7 +261,7 @@ class RouterManager { handlerFunc: (BuildContext? context, Map> params){ int jobId = int.parse(params['jobId']![0]); String className = params['className']![0]; - return QuickDataCheck(jobId: jobId,className:className); + return QuickDataCheckPage(jobId: jobId,className:className); }, ); diff --git a/marking_app/lib/utils/request/rest_client.dart b/marking_app/lib/utils/request/rest_client.dart index 6fb3364..6aca9ec 100644 --- a/marking_app/lib/utils/request/rest_client.dart +++ b/marking_app/lib/utils/request/rest_client.dart @@ -291,12 +291,13 @@ abstract class RestClient { @the_retrofit.GET("${RequestConfig.hwProxyKeywords}/api/Task/tasks") Future>> getJobListParticipateInClass( @the_retrofit.Query("markingId") int jobId); -} -// 作业 => 数据快查 -@the_retrofit.GET("/api/read/job-data-center-report") -Future> getJobDataCenterReport(@the_retrofit.Queries() Map params); + + // 作业 => 数据快查 + @the_retrofit.GET("/api/read/job-data-center-report") + Future> getJobDataCenterReport(@the_retrofit.Queries() Map params); // 作业 => 数据快查--个人 -@the_retrofit.GET("/api/read/job-data-center-student-report") -Future> getJobPersonalReport(@the_retrofit.Queries() Map params); -} \ No newline at end of file + @the_retrofit.GET("/api/read/job-data-center-student-report") + Future> getJobPersonalReport(@the_retrofit.Queries() Map params); +} +