|
|
@@ -1172,19 +1172,20 @@ async function frameLoad(sdk, num) {
|
|
|
console.log("返回数据", list);
|
|
|
const iframe = document.getElementById("iframe-outside");
|
|
|
iframe?.classList.remove("show");
|
|
|
- let res = await casePhotoUpImage({
|
|
|
+ let {data} = await casePhotoUpImage({
|
|
|
caseId: caseId.value,
|
|
|
num,
|
|
|
jsonContent,
|
|
|
});
|
|
|
- console.log("返回数据1", res);
|
|
|
- ElMessageBox.confirm(
|
|
|
- `AI制卷将基于实景三维已有痕迹物证数据自动提取重点、
|
|
|
-概貌、方位照片,并制卷。需要一定时间。完成后可编辑调整。`,
|
|
|
- "提示"
|
|
|
- );
|
|
|
+ console.log("返回数据1", data);
|
|
|
+// ElMessageBox.confirm(
|
|
|
+// `AI制卷将基于实景三维已有痕迹物证数据自动提取重点、
|
|
|
+// 概貌、方位照片,并制卷。需要一定时间。完成后可编辑调整。`,
|
|
|
+// "提示"
|
|
|
+// );
|
|
|
loadingAiPhone.value.close();
|
|
|
- getList(true);
|
|
|
+ handledrawCasePhotos(data.id)
|
|
|
+ // getList(true);
|
|
|
} catch (error) {
|
|
|
console.log("捕获到错误", error);
|
|
|
loadingAiPhone.value.close();
|
|
|
@@ -1221,7 +1222,7 @@ function handleAIdrawCasePhotos(num) {
|
|
|
if (iframe) {
|
|
|
loadingAiPhone.value = ElLoading.service({
|
|
|
lock: true,
|
|
|
- text: "提取图片中...",
|
|
|
+ text: "AI制卷中...",
|
|
|
});
|
|
|
iframe.src = "./model.html?m=" + num;
|
|
|
iframe.classList.add("show");
|