|
@@ -36,14 +36,53 @@ const submitEvent = () => {
|
|
|
return;
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
+ // console.log(
|
|
|
+ // "提交保存的表单 ---",
|
|
|
+ // courseChapter3dShow().show.taskId,
|
|
|
+ // courseChapter3dShow().show.studentTaskId,
|
|
|
+ // courseChapter3dShow().show.showDownHoleConfig
|
|
|
+ // );
|
|
|
|
|
|
+ let submit = {
|
|
|
+ studentTaskId : courseChapter3dShow().show.studentTaskId,
|
|
|
+ // 任务名称/编号
|
|
|
+ taskName : courseChapter3dShow().show.showDownHoleConfig.taskName,
|
|
|
+ // 检测地点
|
|
|
+ testingSite : courseChapter3dShow().show.showDownHoleConfig.location,
|
|
|
+ // 井号
|
|
|
+ hashSign : courseChapter3dShow().show.showDownHoleConfig.hashSign,
|
|
|
+ // 检测方向
|
|
|
+ detectionDirection : courseChapter3dShow().show.showDownHoleConfig.detectionDirection,
|
|
|
+ // 管道类型
|
|
|
+ pipeType : courseChapter3dShow().show.showDownHoleConfig.pipeType,
|
|
|
+ // 材质
|
|
|
+ material : courseChapter3dShow().show.showDownHoleConfig.material,
|
|
|
+ // 管径
|
|
|
+ pipeDiameter : courseChapter3dShow().show.showDownHoleConfig.pipeDiameter,
|
|
|
+ };
|
|
|
+
|
|
|
+ studentTaskFoundationAdd(submit).then(res => {
|
|
|
+
|
|
|
+ courseChapter3dShow().show.showDownHoleViewOpen = false;
|
|
|
+ if (typeof courseChapter3dShow().show.showDownHoleCallback == 'function') {
|
|
|
+ courseChapter3dShow().show.showDownHoleCallback("yes");
|
|
|
+ }
|
|
|
+
|
|
|
+ }).catch(error => {
|
|
|
|
|
|
-
|
|
|
+ courseChapter3dShow().show.showDownHoleViewOpen = false;
|
|
|
+ if (typeof courseChapter3dShow().show.showDownHoleCallback == 'function') {
|
|
|
+ courseChapter3dShow().show.showDownHoleCallback("yes");
|
|
|
+ }
|
|
|
|
|
|
- courseChapter3dShow().show.showDownHoleViewOpen = false;
|
|
|
- if (typeof courseChapter3dShow().show.showDownHoleCallback == 'function') {
|
|
|
- courseChapter3dShow().show.showDownHoleCallback("yes");
|
|
|
- }
|
|
|
+ });
|
|
|
+
|
|
|
+
|
|
|
+ // courseChapter3dShow().show.showDownHoleViewOpen = false;
|
|
|
+ // if (typeof courseChapter3dShow().show.showDownHoleCallback == 'function') {
|
|
|
+ // courseChapter3dShow().show.showDownHoleCallback("yes");
|
|
|
+ // }
|
|
|
|
|
|
}
|
|
|
|