|
|
@ -3,28 +3,32 @@ |
|
|
|
<div class="headToolbar"> |
|
|
|
<div class="headToolbar"> |
|
|
|
<ATooltip title="保存并发布" |
|
|
|
<ATooltip title="保存并发布" |
|
|
|
placement="bottom" |
|
|
|
placement="bottom" |
|
|
|
:arrowPointAtCenter="true"> |
|
|
|
:arrowPointAtCenter="true" |
|
|
|
|
|
|
|
> |
|
|
|
<a-button type="primary" @click=""> |
|
|
|
<a-button type="primary" @click=""> |
|
|
|
<Icon icon="fa6-regular:floppy-disk" size="13"/>保存 |
|
|
|
<Icon icon="fa6-regular:floppy-disk" size="13"/>保存 |
|
|
|
</a-button> |
|
|
|
</a-button> |
|
|
|
</ATooltip> |
|
|
|
</ATooltip> |
|
|
|
<ATooltip title="新增任务" |
|
|
|
<ATooltip title="新增任务" |
|
|
|
placement="bottom" |
|
|
|
placement="bottom" |
|
|
|
:arrowPointAtCenter="true"> |
|
|
|
:arrowPointAtCenter="true" |
|
|
|
|
|
|
|
> |
|
|
|
<a-button type="primary" @click="handleOpenTask"> |
|
|
|
<a-button type="primary" @click="handleOpenTask"> |
|
|
|
<Icon icon="fa6-regular:window-restore" size="13"/>任务 |
|
|
|
<Icon icon="fa6-regular:window-restore" size="13"/>任务 |
|
|
|
</a-button> |
|
|
|
</a-button> |
|
|
|
</ATooltip> |
|
|
|
</ATooltip> |
|
|
|
<ATooltip title="调整标记点" |
|
|
|
<ATooltip title="调整标记点" |
|
|
|
placement="bottom" |
|
|
|
placement="bottom" |
|
|
|
:arrowPointAtCenter="true"> |
|
|
|
:arrowPointAtCenter="true" |
|
|
|
|
|
|
|
> |
|
|
|
<a-button type="primary" @click="handleOpenMapPoint"> |
|
|
|
<a-button type="primary" @click="handleOpenMapPoint"> |
|
|
|
<Icon icon="fa6-solid:location-dot" size="13"/>标记点 |
|
|
|
<Icon icon="fa6-solid:location-dot" size="13"/>标记点 |
|
|
|
</a-button> |
|
|
|
</a-button> |
|
|
|
</ATooltip> |
|
|
|
</ATooltip> |
|
|
|
<ATooltip title="放大" |
|
|
|
<ATooltip title="放大" |
|
|
|
placement="bottom" |
|
|
|
placement="bottom" |
|
|
|
:arrowPointAtCenter="true"> |
|
|
|
:arrowPointAtCenter="true" |
|
|
|
|
|
|
|
> |
|
|
|
<a-button :disabled="mapState.defaultZoom >= 9" @click="handleMapZoomIn"> |
|
|
|
<a-button :disabled="mapState.defaultZoom >= 9" @click="handleMapZoomIn"> |
|
|
|
<Icon icon="fa6-solid:magnifying-glass-plus" size="13"/> |
|
|
|
<Icon icon="fa6-solid:magnifying-glass-plus" size="13"/> |
|
|
|
</a-button> |
|
|
|
</a-button> |
|
|
@ -34,14 +38,16 @@ |
|
|
|
</a-button> |
|
|
|
</a-button> |
|
|
|
<ATooltip title="缩小" |
|
|
|
<ATooltip title="缩小" |
|
|
|
placement="bottom" |
|
|
|
placement="bottom" |
|
|
|
:arrowPointAtCenter="true"> |
|
|
|
:arrowPointAtCenter="true" |
|
|
|
|
|
|
|
> |
|
|
|
<a-button :disabled="mapState.defaultZoom <= 0" @click="handleMapZoomOut"> |
|
|
|
<a-button :disabled="mapState.defaultZoom <= 0" @click="handleMapZoomOut"> |
|
|
|
<Icon icon="fa6-solid:magnifying-glass-minus" size="13"/> |
|
|
|
<Icon icon="fa6-solid:magnifying-glass-minus" size="13"/> |
|
|
|
</a-button> |
|
|
|
</a-button> |
|
|
|
</ATooltip> |
|
|
|
</ATooltip> |
|
|
|
<ATooltip title="重置" |
|
|
|
<ATooltip title="重置" |
|
|
|
placement="bottom" |
|
|
|
placement="bottom" |
|
|
|
:arrowPointAtCenter="true"> |
|
|
|
:arrowPointAtCenter="true" |
|
|
|
|
|
|
|
> |
|
|
|
<a-button @click="handleMapReset"> |
|
|
|
<a-button @click="handleMapReset"> |
|
|
|
<Icon icon="fa-solid:broom" size="13"/> |
|
|
|
<Icon icon="fa-solid:broom" size="13"/> |
|
|
|
</a-button> |
|
|
|
</a-button> |
|
|
@ -97,9 +103,9 @@ |
|
|
|
import { listHospital } from '/@/api/platform/common/controller/hospital'; |
|
|
|
import { listHospital } from '/@/api/platform/common/controller/hospital'; |
|
|
|
import { listUser } from '/@/api/platform/system/controller/user'; |
|
|
|
import { listUser } from '/@/api/platform/system/controller/user'; |
|
|
|
import { listOrg } from '/@/api/platform/common/controller/org'; |
|
|
|
import { listOrg } from '/@/api/platform/common/controller/org'; |
|
|
|
import AButton from "/@/components/Button/src/BasicButton.vue"; |
|
|
|
import AButton from '/@/components/Button/src/BasicButton.vue'; |
|
|
|
import { Icon } from '/@/components/Icon'; |
|
|
|
import { Icon } from '/@/components/Icon'; |
|
|
|
import { useUserStore } from "/@/store/modules/user"; |
|
|
|
import { useUserStore } from '/@/store/modules/user'; |
|
|
|
import { split, divide, subtract } from 'lodash-es'; |
|
|
|
import { split, divide, subtract } from 'lodash-es'; |
|
|
|
import componentSetting from '/@/settings/componentSetting'; |
|
|
|
import componentSetting from '/@/settings/componentSetting'; |
|
|
|
|
|
|
|
|
|
|
@ -240,7 +246,7 @@ |
|
|
|
mapOrientation: item.mapOrientation, |
|
|
|
mapOrientation: item.mapOrientation, |
|
|
|
mapLat: item.mapLat, |
|
|
|
mapLat: item.mapLat, |
|
|
|
mapLng: item.mapLng |
|
|
|
mapLng: item.mapLng |
|
|
|
})) |
|
|
|
})); |
|
|
|
}); |
|
|
|
}); |
|
|
|
// 初始化高德地图组件 |
|
|
|
// 初始化高德地图组件 |
|
|
|
AMapLoader.load({ |
|
|
|
AMapLoader.load({ |
|
|
|