mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-student.git
synced 2025-12-07 09:56:46 +08:00
fix:面授课交作业及考试白屏问题
This commit is contained in:
@@ -518,6 +518,8 @@ function toExamItem(obj) {
|
||||
courseId: obj.id,
|
||||
type: 3,
|
||||
exname: obj.examinationName, // 考试名称
|
||||
pName: '',
|
||||
sName: ''
|
||||
},
|
||||
});
|
||||
}else{
|
||||
|
||||
@@ -459,20 +459,6 @@ import {useTaskPage} from "@/api/useCommon";
|
||||
import {ElLoading} from "element-plus";
|
||||
//import AlertSuccess from "@/components/alert/AlertSuccess.vue";
|
||||
|
||||
const loading = ref(false);
|
||||
const fileList = ref([]);
|
||||
const fielPath = ref(import.meta.env.VITE_FILE_PATH);
|
||||
const uploadRef = ref();
|
||||
const {nextPage,prevPage,hasPrev, hasNext} = useTaskPage()
|
||||
const centerDialogVisible = ref(false);
|
||||
const sbValue = ref({
|
||||
content: "",
|
||||
attach: "",
|
||||
});
|
||||
const router = useRouter();
|
||||
const returnclick = () => {
|
||||
router.back();
|
||||
};
|
||||
const {
|
||||
query: {
|
||||
courseId: workId,
|
||||
@@ -485,6 +471,22 @@ const {
|
||||
infoId,
|
||||
},
|
||||
} = useRoute();
|
||||
|
||||
const loading = ref(false);
|
||||
const fileList = ref([]);
|
||||
const fielPath = ref(import.meta.env.VITE_FILE_PATH);
|
||||
const uploadRef = ref();
|
||||
const {nextPage,prevPage,hasPrev, hasNext} = type==3 ? '' : useTaskPage()
|
||||
const centerDialogVisible = ref(false);
|
||||
const sbValue = ref({
|
||||
content: "",
|
||||
attach: "",
|
||||
});
|
||||
const router = useRouter();
|
||||
const returnclick = () => {
|
||||
router.back();
|
||||
};
|
||||
|
||||
const { data } =
|
||||
taskId && taskId !== "undefined"
|
||||
? useRequest(TASK_WORK_DETAIL, { workId, taskId, type })
|
||||
|
||||
@@ -84,7 +84,7 @@
|
||||
const {
|
||||
query: {courseId, pName, sName, chapterOrStageId, infoId, id, exname, type},
|
||||
} = useRoute();
|
||||
const {nextPage,prevPage,hasPrev, hasNext} = useTaskPage()
|
||||
const {nextPage,prevPage,hasPrev, hasNext} = type==3 ? '' : useTaskPage()
|
||||
const router = useRouter();
|
||||
const returnclick = () => {
|
||||
router.back();
|
||||
|
||||
Reference in New Issue
Block a user