diff --git a/src/api/api.js b/src/api/api.js index d6854ca..7b93d7e 100644 --- a/src/api/api.js +++ b/src/api/api.js @@ -27,7 +27,7 @@ export const TASK_WORK_DETAIL = '/stu/task/work/detail' export const VOTE_DETAIL = '/queryVoteSubmitDetailById' export const TASK_VOTE_LIST = '/queryVoteSubmitDetailListByTaskId' -export const STU_OFFCOURSE_DETAIL = '/stu/offcourse/detail' +export const STU_OFFCOURSE_DETAIL = '/stu/offcourse/detail post' export const WORK_QUERYWORKDETAILBYID = '/work/queryWorkDetailById' export const WORK_HISTROY = '/workSubmit/queryWorkDetailListByStuId' export const EXAMINATION_QUERY = examinationId => `/examination/queryExaminationDetailById?examinationId=${examinationId} post` diff --git a/src/components/FileTypeImg.vue b/src/components/FileTypeImg.vue index 4c8ab68..15ad1c4 100644 --- a/src/components/FileTypeImg.vue +++ b/src/components/FileTypeImg.vue @@ -14,9 +14,12 @@ import zip from '@/assets/image/file/zip.png' import book from '@/assets/image/file/book.png' import {defineProps, ref} from "vue"; -const {modelValue = [],style} = defineProps({ +const {modelValue = [], style} = defineProps({ modelValue: String, - style: Object + style: { + type: Object, + default: {} + } }) const filePath = ref(modelValue) diff --git a/src/views/faceteach/FaceTeach.vue b/src/views/faceteach/FaceTeach.vue index 2f53536..d5e98fc 100644 --- a/src/views/faceteach/FaceTeach.vue +++ b/src/views/faceteach/FaceTeach.vue @@ -11,10 +11,10 @@
-
【其他活动】{{ data.offCourseInfo?.name }}
+
【其他活动】{{ data.planDto?.name }}
-
{{ data.offCoursePlanInfo?.beginTime }}
+
{{ data.offcourseDto?.publishTime }}
-
{{ data.offCoursePlanInfo?.address }}
+
{{ data.planDto?.address }}
- -
评估
+
评估
@@ -45,7 +44,7 @@
-
+
@@ -53,19 +52,14 @@
- +
{{ el }}
@@ -80,27 +74,27 @@
-
{{ data.workItem?.name }}
+
{{ data.workDto?.workName }}
-
必修
+
必修
作业
-
提交
+
提交
- {{ data.examItem?.name }} + {{ data.examinationDto?.name }}
-
必修
+
必修
考试
-
去考试
+
去考试
@@ -116,23 +110,13 @@
-
- +
+
- {{ el.name }} + {{ data.planDto?.teacher }}
-
{{ el.introduce }}
+
{{ data.planDto?.bandDesc }}
@@ -151,7 +135,7 @@ import {useRouter} from "vue-router"; const router = useRouter() -const {data} = useRequest(STU_OFFCOURSE_DETAIL, {}) +const {data} = useRequest(STU_OFFCOURSE_DETAIL, {courseId: 178}) const state = reactive({ activeName: "first", enclosure: ''