we can now dragg the zoomed mapitem in the opened terrain de vie
This commit is contained in:
@@ -42,7 +42,8 @@ export default {
|
||||
'opened_concernement',
|
||||
'concernementsByID',
|
||||
'ct_concernement',
|
||||
'ct_entite']),
|
||||
'ct_entite',
|
||||
'detailsZoomValue']),
|
||||
...mapState(UserStore,['name']),
|
||||
created(){
|
||||
let d = new Date(this.concernement.created);
|
||||
@@ -137,6 +138,13 @@ export default {
|
||||
},
|
||||
deep: true
|
||||
},
|
||||
detailsZoomValue: {
|
||||
handler (n, o) {
|
||||
// console.log(`TerrainDeVie watch history_value o:${o}, n:${n}`);
|
||||
this.details_value = n;
|
||||
},
|
||||
deep: true
|
||||
},
|
||||
cid: {
|
||||
handler (n,o) {
|
||||
console.log(`TerrainDeVie watch cid o:${o}, n:${n}`);
|
||||
@@ -246,7 +254,7 @@ export default {
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section class="sliders" v-if="history_slider_ops">
|
||||
<section class="sliders" v-if="history_slider_ops || details_slider_ops">
|
||||
<section class="historique" v-if="history_slider_ops">
|
||||
<label>Historique</label>
|
||||
<!-- <h3>{{ history_value }}</h3> -->
|
||||
@@ -256,7 +264,7 @@ export default {
|
||||
v-bind="history_slider_ops"
|
||||
></vue-slider>
|
||||
</section>
|
||||
<section class="details" v-if="details_slider_ops">
|
||||
<section class="details" v-if="details_slider_ops && map_mode === 'terraindevie'">
|
||||
<label>Details</label>
|
||||
<!-- <h3>{{ details_value }}</h3> -->
|
||||
<vue-slider
|
||||
|
||||
Reference in New Issue
Block a user