|
|
@ -25,9 +25,7 @@ function onOpenModal(type: ViewTypes, title = '') { |
|
|
|
</script> |
|
|
|
</script> |
|
|
|
|
|
|
|
|
|
|
|
<template> |
|
|
|
<template> |
|
|
|
{{ geodataToggleState.show }} |
|
|
|
|
|
|
|
<a-menu :selected-keys="[]" class="flex flex-col"> |
|
|
|
<a-menu :selected-keys="[]" class="flex flex-col"> |
|
|
|
<div> |
|
|
|
|
|
|
|
<h3 class="px-3 text-xs font-semibold flex items-center gap-4 text-gray-500"> |
|
|
|
<h3 class="px-3 text-xs font-semibold flex items-center gap-4 text-gray-500"> |
|
|
|
{{ $t('activity.createView') }} |
|
|
|
{{ $t('activity.createView') }} |
|
|
|
</h3> |
|
|
|
</h3> |
|
|
@ -120,14 +118,12 @@ function onOpenModal(type: ViewTypes, title = '') { |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</a-tooltip> |
|
|
|
</a-tooltip> |
|
|
|
</a-menu-item> |
|
|
|
</a-menu-item> |
|
|
|
<div v-if="geodataToggleState.show">SHOW</div> |
|
|
|
|
|
|
|
<a-menu-item |
|
|
|
<a-menu-item |
|
|
|
|
|
|
|
v-if="geodataToggleState.show" |
|
|
|
key="map" |
|
|
|
key="map" |
|
|
|
class="group !flex !items-center !my-0 !h-2.5rem nc-create-map-view" |
|
|
|
class="group !flex !items-center !my-0 !h-2.5rem nc-create-map-view" |
|
|
|
@click="onOpenModal(ViewTypes.MAP)" |
|
|
|
@click="onOpenModal(ViewTypes.MAP)" |
|
|
|
> |
|
|
|
> |
|
|
|
{{ geodataToggleState.show }} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a-tooltip :mouse-enter-delay="1" placement="left"> |
|
|
|
<a-tooltip :mouse-enter-delay="1" placement="left"> |
|
|
|
<template #title> |
|
|
|
<template #title> |
|
|
|
{{ $t('msg.info.addView.map') }} |
|
|
|
{{ $t('msg.info.addView.map') }} |
|
|
@ -146,6 +142,5 @@ function onOpenModal(type: ViewTypes, title = '') { |
|
|
|
</a-menu-item> |
|
|
|
</a-menu-item> |
|
|
|
|
|
|
|
|
|
|
|
<div class="w-full h-4" /> |
|
|
|
<div class="w-full h-4" /> |
|
|
|
</div> |
|
|
|
|
|
|
|
</a-menu> |
|
|
|
</a-menu> |
|
|
|
</template> |
|
|
|
</template> |
|
|
|