|
@@ -3,6 +3,7 @@
|
|
import { threeWorld } from "@/stores/threeWorld.ts";
|
|
import { threeWorld } from "@/stores/threeWorld.ts";
|
|
import { courseChapter3dShow } from "@/stores/courseChapter3dShow.ts";
|
|
import { courseChapter3dShow } from "@/stores/courseChapter3dShow.ts";
|
|
import { onMounted, watch, ref } from 'vue';
|
|
import { onMounted, watch, ref } from 'vue';
|
|
|
|
+ import { studentTaskFoundationAdd, studentTaskFoundationGetByStudentTaskId } from "@/api/studentTaskFoundation.ts";
|
|
|
|
|
|
// 定义发射给父组件的方法
|
|
// 定义发射给父组件的方法
|
|
const emits = defineEmits([
|
|
const emits = defineEmits([
|
|
@@ -74,8 +75,31 @@
|
|
|
|
|
|
}
|
|
}
|
|
|
|
|
|
- onMounted(() => {
|
|
|
|
|
|
|
|
|
|
+ // 获取填写的数据
|
|
|
|
+ const studentTaskFoundationGetByStudentTaskIdEvent = () => {
|
|
|
|
+
|
|
|
|
+ studentTaskFoundationGetByStudentTaskId({
|
|
|
|
+ studentTaskId : courseChapter3dShow().show.studentTaskId,
|
|
|
|
+ }).then(res => {
|
|
|
|
+
|
|
|
|
+ try {
|
|
|
|
+
|
|
|
|
+ let db = res?.data?.data;
|
|
|
|
+
|
|
|
|
+ console.log("获取填写的数据------ db", db);
|
|
|
|
+
|
|
|
|
+ } catch (e) {}
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ }).catch(error => {
|
|
|
|
+
|
|
|
|
+ });
|
|
|
|
+
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ onMounted(() => {
|
|
|
|
+ studentTaskFoundationGetByStudentTaskIdEvent();
|
|
courseChapter3dShow().show.showCarEyeViewBoolPrompt = true;
|
|
courseChapter3dShow().show.showCarEyeViewBoolPrompt = true;
|
|
|
|
|
|
});
|
|
});
|