|
|
@@ -3,7 +3,7 @@ import type { Scene } from "../../example/platform/platform-resource";
|
|
|
import type { StoreData } from "@/core/store/store";
|
|
|
import { token, params, urlUpdateQuery, urlGetQuery } from "../env";
|
|
|
import { genLoading } from "../loadding";
|
|
|
-import { tempStrFill } from "@/utils/shared";
|
|
|
+import { formatDate, tempStrFill } from "@/utils/shared";
|
|
|
import {
|
|
|
type LatLng,
|
|
|
latlngStrTransform,
|
|
|
@@ -344,6 +344,8 @@ export let getTableTemp = async () => {
|
|
|
console.log("tableTemp模板解析失败");
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
+
|
|
|
if (!table!) {
|
|
|
table = {
|
|
|
案发时间: "",
|
|
|
@@ -362,7 +364,10 @@ export let getTableTemp = async () => {
|
|
|
table.案发地点 = item.caseLocation;
|
|
|
table.绘图单位 = item.orgName;
|
|
|
table.绘图人 = item.investigatorName;
|
|
|
- table.绘图时间 = item.caseTypeName;
|
|
|
+ table.绘图时间 = formatDate(new Date(), 'yyyy.mm.dd hh:MM:ss')
|
|
|
+ }
|
|
|
+ if (!title) {
|
|
|
+ title = `“${item.crimeTimeBegin}”${item.caseLocation}${item.caseTypeName}现场平面示意图`
|
|
|
}
|
|
|
}
|
|
|
}
|