|
|
@@ -519,7 +519,7 @@
|
|
|
<script setup lang="ts">
|
|
|
import viewImg from "@/components/viewImg/list.vue";
|
|
|
import { computed, ref, reactive } from "vue";
|
|
|
-import { addCaseScenes } from "./quisk";
|
|
|
+import { addCaseScenes, exportCasePhotos } from "./quisk";
|
|
|
import showpages from "./showpages.vue";
|
|
|
import {
|
|
|
updateByTreeFileLists,
|
|
|
@@ -1052,7 +1052,7 @@ async function handleItem(type, item) {
|
|
|
function handleoverviewEdit(type, item) {
|
|
|
let url = `/draw/#/tabulation?caseId=${caseId.value}&tabulationId=${item.tabulationId}`;
|
|
|
if ("平面图" == type) {
|
|
|
- url = `/draw/#/overview?caseId=${caseId.value}&overviewId=${item.overviewId}`;
|
|
|
+ url = `/draw/#/overview?caseId=${caseId.value}&overviewId=${item.overviewId}&title=${item.filesTypeName}`;
|
|
|
// gotoDraw(item.filesTypeId != pmtId.value? BoardType.scene : BoardType.map, item.filesId)
|
|
|
}
|
|
|
window.open(url);
|
|
|
@@ -1166,8 +1166,9 @@ const handleConfirm = async () => {
|
|
|
casePhotoItem.value.show = false;
|
|
|
await getList()
|
|
|
}
|
|
|
-const exportToPDF = (paperType) => {
|
|
|
- showPagesRef.value.exportToPDF(paperType, childrenList.value?.item?.name);
|
|
|
+const exportToPDF = async (paperType) => {
|
|
|
+ await exportCasePhotos({showPagesRef: showPagesRef.value})
|
|
|
+ // showPagesRef.value.exportToPDF(paperType, childrenList.value?.item?.name);
|
|
|
}
|
|
|
const handleOpen = (val) => {
|
|
|
if(!val){
|