|
|
|
@ -951,7 +951,7 @@ |
|
|
|
|
/> |
|
|
|
|
</div> |
|
|
|
|
<div class="m-map-box-father"> |
|
|
|
|
<new-map :point-type="false" :line-type="true" :map-center="[114.54,38.05]" :path-array="checkPoint" |
|
|
|
|
<new-map ref="newMaps" :point-type="false" :line-type="true" :map-center="[114.54,38.05]" :path-array="checkPoint" |
|
|
|
|
:show-search="false"></new-map> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
@ -1001,6 +1001,11 @@ import infoConfig from "@/views/system/management/emergency-command/utils/infoCo |
|
|
|
|
import {deptTreeSelect} from "@/api/system/user"; |
|
|
|
|
import NewMap from "@/components/CommonComponents/PublicCoponents/map/NewMap"; |
|
|
|
|
import elImageViewer from "element-ui/packages/image/src/image-viewer" |
|
|
|
|
|
|
|
|
|
import Docxtemplater from 'docxtemplater'; |
|
|
|
|
import JSZip from 'jszip'; |
|
|
|
|
import { Document } from 'docxtemplater'; |
|
|
|
|
|
|
|
|
|
export default { |
|
|
|
|
components: {NewMap,elImageViewer}, |
|
|
|
|
mixins: [infoConfig], |
|
|
|
@ -1183,6 +1188,10 @@ export default { |
|
|
|
|
immediate: true, |
|
|
|
|
handler(val) { |
|
|
|
|
if (val == false) { |
|
|
|
|
if (this.type == 4){ |
|
|
|
|
this.$refs.newMaps.destroyMap() |
|
|
|
|
this.$refs.newMaps.cleanMap() |
|
|
|
|
} |
|
|
|
|
this.resetForm("queryForms"); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
@ -1656,7 +1665,6 @@ export default { |
|
|
|
|
}, |
|
|
|
|
//查询轨迹 |
|
|
|
|
handleQuerys(val) { |
|
|
|
|
debugger |
|
|
|
|
if (val !== 2) { |
|
|
|
|
this.getGroupingUsersPath(val) |
|
|
|
|
} else { |
|
|
|
@ -1669,6 +1677,7 @@ export default { |
|
|
|
|
}, |
|
|
|
|
getGroupingUsersPath(val) { |
|
|
|
|
getGroupingUsersPath(val).then(response => { |
|
|
|
|
this.checkPoint = [] |
|
|
|
|
response.rows.forEach(item => { |
|
|
|
|
this.checkPoint.push([item.longitude, item.dimension]) |
|
|
|
|
}) |
|
|
|
|