|
@@ -95,8 +95,10 @@
|
|
|
}
|
|
|
</route>
|
|
|
<script setup>
|
|
|
-import { InfoFilled } from '@element-plus/icons-vue'
|
|
|
-import examIcon from '@/assets/ksfx/examIcon.png'
|
|
|
+import { InfoFilled } from '@element-plus/icons-vue';
|
|
|
+import examIcon from '@/assets/ksfx/examIcon.png';
|
|
|
+import {student_ksfx_list} from "@/pages/ksfx/api";
|
|
|
+
|
|
|
import { useRouter } from "vue-router";
|
|
|
import { skeletonProps } from 'element-plus';
|
|
|
const router = useRouter();
|
|
@@ -104,86 +106,24 @@ const router = useRouter();
|
|
|
|
|
|
const scoreMarkSwitch = $ref(true);
|
|
|
|
|
|
-let examArrlist = [
|
|
|
- {
|
|
|
- examN: "2022-2023年下学期九年级月考",
|
|
|
- attendExamNum: 1234,
|
|
|
- fullScore: 180,
|
|
|
- maxScore: 164,
|
|
|
- examPaperList: [
|
|
|
- {
|
|
|
- scoreN: 99,
|
|
|
- subName: "语文",
|
|
|
- ObjectiveQuestion: 66,
|
|
|
- SubjectiveQuestions: 33
|
|
|
- },
|
|
|
- {
|
|
|
- scoreN: 0,
|
|
|
- subName: "数学",
|
|
|
- ObjectiveQuestion: 0,
|
|
|
- SubjectiveQuestions: 0
|
|
|
- },
|
|
|
- {
|
|
|
- scoreN: 99,
|
|
|
- subName: "语文",
|
|
|
- ObjectiveQuestion: 66,
|
|
|
- SubjectiveQuestions: 33
|
|
|
- },
|
|
|
- {
|
|
|
- scoreN: 0,
|
|
|
- subName: "数学",
|
|
|
- ObjectiveQuestion: 0,
|
|
|
- SubjectiveQuestions: 0
|
|
|
- },
|
|
|
- {
|
|
|
- scoreN: 99,
|
|
|
- subName: "语文",
|
|
|
- ObjectiveQuestion: 66,
|
|
|
- SubjectiveQuestions: 33
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- examN: "2022-2023年下学期九年级月考",
|
|
|
- attendExamNum: 1234,
|
|
|
- fullScore: 180,
|
|
|
- maxScore: 164,
|
|
|
- examPaperList: [
|
|
|
- {
|
|
|
- scoreN: 99,
|
|
|
- subName: "语文",
|
|
|
- ObjectiveQuestion: 66,
|
|
|
- SubjectiveQuestions: 33
|
|
|
- },
|
|
|
- {
|
|
|
- scoreN: 0,
|
|
|
- subName: "数学",
|
|
|
- ObjectiveQuestion: 0,
|
|
|
- SubjectiveQuestions: 0
|
|
|
- },
|
|
|
- {
|
|
|
- scoreN: 99,
|
|
|
- subName: "语文",
|
|
|
- ObjectiveQuestion: 66,
|
|
|
- SubjectiveQuestions: 33
|
|
|
- },
|
|
|
- {
|
|
|
- scoreN: 0,
|
|
|
- subName: "数学",
|
|
|
- ObjectiveQuestion: 0,
|
|
|
- SubjectiveQuestions: 0
|
|
|
- },
|
|
|
- {
|
|
|
- scoreN: 99,
|
|
|
- subName: "语文",
|
|
|
- ObjectiveQuestion: 66,
|
|
|
- SubjectiveQuestions: 33
|
|
|
+let examArrlist = ref()
|
|
|
+onMounted(() => {
|
|
|
+ initData();
|
|
|
+});
|
|
|
+const initData = () => {
|
|
|
+ let transObj = {
|
|
|
+ xueke_id: '',
|
|
|
+ grade_id: '',
|
|
|
+ school_id:''
|
|
|
+ }
|
|
|
+ student_ksfx_list(transObj)
|
|
|
+ .then(res => {
|
|
|
+ if (res.code == "1") {
|
|
|
+ examArrlist.value = res.data.data.examArrlist;
|
|
|
}
|
|
|
- ]
|
|
|
- },
|
|
|
-
|
|
|
-]
|
|
|
-
|
|
|
+ })
|
|
|
+ .catch(error=>{console.log(error)})
|
|
|
+}
|
|
|
//跳转
|
|
|
const linkTo = (item) => {
|
|
|
router.push(item);
|