This commit is contained in:
parent
e49982389c
commit
808f631024
@ -74,9 +74,19 @@ const icon_type = (item)=>{
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
const { createApp } = Vue
|
Vue
|
||||||
|
.component('l-map', window.Vue2Leaflet.LMap)
|
||||||
|
.component('l-tile-layer', window.Vue2Leaflet.LTileLayer)
|
||||||
|
.component('l-marker', window.Vue2Leaflet.LMarker)
|
||||||
|
.component('l-icon', window.Vue2Leaflet.LIcon)
|
||||||
|
.component('l-popup', window.Vue2Leaflet.LPopup)
|
||||||
|
.component('l-tooltip', window.Vue2Leaflet.LTooltip)
|
||||||
|
.component('l-control-scale', window.Vue2Leaflet.LControlScale)
|
||||||
|
.component('multiselect', window.VueMultiselect.default);
|
||||||
|
Vue
|
||||||
|
.use(window.VueTextareaAutosize);
|
||||||
|
|
||||||
const app = createApp({
|
const app = new Vue({
|
||||||
el: '#app',
|
el: '#app',
|
||||||
data: {
|
data: {
|
||||||
journey_id : window.location.pathname.split('/').pop() || gen_id(16),
|
journey_id : window.location.pathname.split('/').pop() || gen_id(16),
|
||||||
@ -296,14 +306,4 @@ const app = createApp({
|
|||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
app
|
|
||||||
.component('l-map', window.Vue2Leaflet.LMap)
|
|
||||||
.component('l-tile-layer', window.Vue2Leaflet.LTileLayer)
|
|
||||||
.component('l-marker', window.Vue2Leaflet.LMarker)
|
|
||||||
.component('l-icon', window.Vue2Leaflet.LIcon)
|
|
||||||
.component('l-popup', window.Vue2Leaflet.LPopup)
|
|
||||||
.component('l-tooltip', window.Vue2Leaflet.LTooltip)
|
|
||||||
.component('l-control-scale', window.Vue2Leaflet.LControlScale)
|
|
||||||
.component('multiselect', window.VueMultiselect.default);
|
|
||||||
app
|
|
||||||
.use(window.VueTextareaAutosize);
|
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
<html>
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<title>Helcel-OTM</title>
|
<title>Helcel-OTM</title>
|
||||||
|
|
||||||
@ -109,13 +110,13 @@
|
|||||||
|
|
||||||
</main>
|
</main>
|
||||||
|
|
||||||
<script src="https://unpkg.com/vue/dist/vue.global.js"></script>
|
<script src="https://unpkg.com/vue@2"></script>
|
||||||
<script src="https://unpkg.com/vue2-datepicker/index.min.js"></script>
|
<script src="https://unpkg.com/vue2-datepicker"></script>
|
||||||
<script src="https://unpkg.com/leaflet/dist/leaflet.js"></script>
|
<script src="https://unpkg.com/leaflet"></script>
|
||||||
<script src="https://unpkg.com/vue2-leaflet"></script>
|
<script src="https://unpkg.com/vue2-leaflet"></script>
|
||||||
<script src="https://unpkg.com/leaflet.awesome-markers/dist/leaflet.awesome-markers.min.js"></script>
|
<script src="https://unpkg.com/leaflet.awesome-markers/dist/leaflet.awesome-markers.min.js"></script>
|
||||||
<script src="https://unpkg.com/axios/dist/axios.min.js"></script>
|
<script src="https://unpkg.com/axios"></script>
|
||||||
<script src="https://unpkg.com/lodash/lodash.min.js"></script>
|
<script src="https://unpkg.com/lodash"></script>
|
||||||
<script src="https://unpkg.com/vue-multiselect"></script>
|
<script src="https://unpkg.com/vue-multiselect"></script>
|
||||||
<script src="https://unpkg.com/vue-textarea-autosize/dist/vue-textarea-autosize.umd.min.js"></script>
|
<script src="https://unpkg.com/vue-textarea-autosize/dist/vue-textarea-autosize.umd.min.js"></script>
|
||||||
<script src="/public/js/main.js" type="text/javascript" charset="utf-8"></script>
|
<script src="/public/js/main.js" type="text/javascript" charset="utf-8"></script>
|
||||||
|
@ -474,16 +474,17 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</main>
|
</main>
|
||||||
<script src="https://unpkg.com/vue/dist/vue.global.js"></script>
|
<script src="https://unpkg.com/vue@2"></script>
|
||||||
<script src="https://unpkg.com/vue2-datepicker/index.min.js"></script>
|
<script src="https://unpkg.com/vue2-datepicker"></script>
|
||||||
<script src="https://unpkg.com/leaflet/dist/leaflet.js"></script>
|
<script src="https://unpkg.com/leaflet"></script>
|
||||||
<script src="https://unpkg.com/vue2-leaflet"></script>
|
<script src="https://unpkg.com/vue2-leaflet"></script>
|
||||||
<script src="https://unpkg.com/leaflet.awesome-markers/dist/leaflet.awesome-markers.min.js"></script>
|
<script src="https://unpkg.com/leaflet.awesome-markers/dist/leaflet.awesome-markers.min.js"></script>
|
||||||
<script src="https://unpkg.com/axios/dist/axios.min.js"></script>
|
<script src="https://unpkg.com/axios"></script>
|
||||||
<script src="https://unpkg.com/lodash/lodash.min.js"></script>
|
<script src="https://unpkg.com/lodash"></script>
|
||||||
<script src="https://unpkg.com/vue-multiselect"></script>
|
<script src="https://unpkg.com/vue-multiselect"></script>
|
||||||
<script src="https://unpkg.com/vue-textarea-autosize/dist/vue-textarea-autosize.umd.min.js"></script>
|
<script src="https://unpkg.com/vue-textarea-autosize/dist/vue-textarea-autosize.umd.min.js"></script>
|
||||||
<script src="/public/js/main.js" type="text/javascript" charset="utf-8"></script>
|
<script src="/public/js/main.js" type="text/javascript" charset="utf-8"></script>
|
||||||
|
|
||||||
<footer class="bg-dark">
|
<footer class="bg-dark">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="section text-center text-small">
|
<div class="section text-center text-small">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user