|
@@ -8,11 +8,13 @@ import EditEshapeTable, {
|
|
|
} from "./draw/editEshapeTable.vue";
|
|
|
import SceneList from "./sceneList.vue";
|
|
|
import SelectFuseImage, { FuseImage } from "./draw/selectFuseImage.vue";
|
|
|
-// import SelectMapImage, { MapImage } from "./draw/selectMapImagess.vue";
|
|
|
+import SelectMapImages from "./draw/selectMapImagess.vue";
|
|
|
// import SelectMapImage, { MapImage } from "./draw/selectMapleaftImages.vue";
|
|
|
import SelectMapImage, { MapImage } from "./draw/selectMapImage.vue";
|
|
|
import { quiskMountFactory } from "@/helper/mount";
|
|
|
import { nextTick } from "vue";
|
|
|
+import { strToParams } from "@/util";
|
|
|
+const params = strToParams(window.location.search);
|
|
|
|
|
|
export const addCaseFile = quiskMountFactory(AddCaseFile, {
|
|
|
title: "上传附件",
|
|
@@ -56,7 +58,7 @@ export const selectFuseImage = quiskMountFactory(SelectFuseImage, {
|
|
|
width: 1300,
|
|
|
})<FuseImage>;
|
|
|
|
|
|
-export const selectMapImage = quiskMountFactory(SelectMapImage, {
|
|
|
+export const selectMapImage = quiskMountFactory(params.testMap?SelectMapImages:SelectMapImage, {
|
|
|
title: "选择地址",
|
|
|
width: 588,
|
|
|
})<MapImage>;
|