{{
data.isSurvery ? "已评估" :
"评估"
@@ -80,7 +80,7 @@
{{
data.isSurvery ? "已评估" :
"评估"
@@ -109,7 +109,7 @@
-->
{{
data.isSurvery ? "已评估" :
"评估"
@@ -202,7 +202,7 @@ import {ElMessage} from "element-plus";
import {useTaskPage} from "@/api/useCommon";
const {
- query: {courseId: liveId, id: taskId, type, pName, sName, projectStatus, projectEndTime},
+ query: {courseId: liveId, id: taskId, type, pName, sName, projectStatus, projectEndTime, infoId},
} = useRoute();
const router = useRouter();
const returnclick = () => {
@@ -326,18 +326,18 @@ const commitClick = () => {
console.log({
courseId: data.value.assessmentId,
- taskIds: taskId,
+ infoId: liveId,
chapterOrStageId: 0,
pName: "直播",
sName: data.value.liveName,
type: 4
})
-
+ console.log(data.value)
router.push({
path: "/surveydetail",
query: {
courseId: data.value.assessmentId,
- infoId: data.value.liveId,
+ infoId: liveId,
chapterOrStageId: 0,
pName: "直播",
sName: data.value.liveName,
diff --git a/src/views/survey/SurveyDetail.vue b/src/views/survey/SurveyDetail.vue
index 583325e..4c52b4f 100644
--- a/src/views/survey/SurveyDetail.vue
+++ b/src/views/survey/SurveyDetail.vue
@@ -348,7 +348,7 @@ const returnclick = () => {
clearInterval(timers)
router.back();
};
-const {nextPage,prevPage,hasPrev, hasNext} = type==3 ? '' : useTaskPage()
+const {nextPage,prevPage,hasPrev, hasNext} = type==3 || type==4 ? '' : useTaskPage()
const fielPath = ref(import.meta.env.VITE_FILE_PATH);
const { data } = useRequest(ASSESSMENT_QUERY(courseId), { id: courseId, type, chapterOrStageId, targetId: infoId ? infoId : 0 });
console.log(data)
From 5df37f3fd563b03cb789f653fe4bf640eccc2d64 Mon Sep 17 00:00:00 2001
From: wyx <51903@qq.com>
Date: Fri, 10 Mar 2023 16:58:33 +0800
Subject: [PATCH 3/3] =?UTF-8?q?fix:=E4=BF=AE=E6=94=B9=E7=89=88=E6=9C=AC?=
=?UTF-8?q?=E5=8F=B7?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/App.vue | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/App.vue b/src/App.vue
index 0db5af6..f41741f 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -38,7 +38,7 @@ import {useRoute} from "vue-router/dist/vue-router";
import {USER_INFO} from "@/api/api";
import {IsPhone} from "@/api/utils";
-console.log("版本1.4.5------------");
+console.log("版本1.4.6------------");
const store = useStore();
const { path } = useRoute();
onMounted(() => {