|
@@ -26,11 +26,11 @@
|
|
pageSize: pageSize,
|
|
pageSize: pageSize,
|
|
current: pageNo,
|
|
current: pageNo,
|
|
total: totalElements,
|
|
total: totalElements,
|
|
- showTotal: (total: number) => ``,
|
|
|
|
- onChange: (pageNoChanged: number, pageSizeChanged: number) => {
|
|
|
|
- pageNo = pageNoChanged;
|
|
|
|
|
|
+ showTotal: () => ``,
|
|
|
|
+ onChange: (pageNoChanged, pageSizeChanged) => {
|
|
|
|
+ pageNo = pageNoChanged;
|
|
pageSize = pageSizeChanged;
|
|
pageSize = pageSizeChanged;
|
|
- }
|
|
|
|
|
|
+ },
|
|
}"
|
|
}"
|
|
>
|
|
>
|
|
<template #course="{ record }">
|
|
<template #course="{ record }">
|
|
@@ -49,7 +49,7 @@
|
|
<script setup lang="ts">
|
|
<script setup lang="ts">
|
|
import { useMainStore } from "@/store";
|
|
import { useMainStore } from "@/store";
|
|
import { goBack } from "@/utils/utils";
|
|
import { goBack } from "@/utils/utils";
|
|
-import { watch, onMounted, ref, toRaw } from "vue";
|
|
|
|
|
|
+import { watch, onMounted } from "vue";
|
|
import { useRoute } from "vue-router";
|
|
import { useRoute } from "vue-router";
|
|
import ProjectSelect from "@/components/ProjectSelect.vue";
|
|
import ProjectSelect from "@/components/ProjectSelect.vue";
|
|
import { Course_Type } from "@/types";
|
|
import { Course_Type } from "@/types";
|
|
@@ -57,7 +57,7 @@ import { getPaperList } from "@/api/paperManagementPage";
|
|
import router from "@/router";
|
|
import router from "@/router";
|
|
|
|
|
|
const store = useMainStore();
|
|
const store = useMainStore();
|
|
-store.currentLocation = "项目管理 / 项目列表 / 试卷列表";
|
|
|
|
|
|
+store.currentLocation = "项目管理 / 项目列表 / 试卷列表";
|
|
|
|
|
|
let rootOrgId = $ref(undefined as unknown as number);
|
|
let rootOrgId = $ref(undefined as unknown as number);
|
|
let courseId = $ref(undefined as undefined | number);
|
|
let courseId = $ref(undefined as undefined | number);
|
|
@@ -124,10 +124,10 @@ onMounted(async () => {
|
|
});
|
|
});
|
|
|
|
|
|
async function goAllAnalysis() {
|
|
async function goAllAnalysis() {
|
|
- router.push(`/project/allAnalysis/${projectId}`);
|
|
|
|
|
|
+ await router.push(`/project/allAnalysis/${projectId}`);
|
|
}
|
|
}
|
|
|
|
|
|
async function goPaperAnalysis(record: any) {
|
|
async function goPaperAnalysis(record: any) {
|
|
- router.push(`/project/${projectId}/paperAnalysis/${record.id}`);
|
|
|
|
|
|
+ await router.push(`/project/${projectId}/paperAnalysis/${record.id}`);
|
|
}
|
|
}
|
|
</script>
|
|
</script>
|