Browse Source

尺寸问题

tangning 7 hours ago
parent
commit
22586011fa

+ 3 - 3
src/view/case/photos/canvas-photo-editor.js

@@ -1551,10 +1551,10 @@ resizePageAndReflow(pages, pageIndex, itemValue) {
           let x = 0, y = 0, w = pdfW, h;
           if (paperType === "a4") {
             x = 28
-            w = pdfW + 7
+            w = pdfW + 9
           } else if (paperType === "a3") {
             x = 56;
-            w = pdfW + 14
+            w = pdfW + 18
           } else {
             x = 0;
             w = pdfW
@@ -1678,7 +1678,7 @@ resizePageAndReflow(pages, pageIndex, itemValue) {
           // ==========================================
           const layout = this.getItemSize(page.layoutMode);
           const coords = this.getCoordinate(0, layout);
-
+          console.log(layout, coords, 'layout')
           coords.forEach((coord, i) => {
             const photoId = page.list[i];
             let imgItem = this.photos.find(p => p.id === photoId)

+ 1 - 1
src/view/material/tableScene/sceneContent.vue

@@ -57,7 +57,7 @@ const submit = async () => {
   }
   let { data } = await checkNumImage({num: num.value, caseId: caseId.value})
   console.log("checkNumImage", data);
-  if(!data.isEntryDoor){
+  if(!data.isEntryDoor || !data.isEvidence){
     ElMessageBox.confirm(
       `当前实景三维未识别到入户门或未添加痕迹物证。
 AI制卷需要计算入户门与痕迹物证之间的路线。