Compare commits
2 Commits
cc943c5776
...
bab0204ed7
Author | SHA1 | Date | |
---|---|---|---|
bab0204ed7 | |||
a9e6fe2567 |
@ -87,7 +87,8 @@ export default {
|
|||||||
'detailsZoomValue',
|
'detailsZoomValue',
|
||||||
'reloadConcernements',
|
'reloadConcernements',
|
||||||
'reloadConcernementEntites',
|
'reloadConcernementEntites',
|
||||||
'concernements_loading_nb']),
|
'concernements_loading_nb',
|
||||||
|
'concernement_is_updating_nid']),
|
||||||
...mapState(CommonStore,['hover_elmt',
|
...mapState(CommonStore,['hover_elmt',
|
||||||
'map_item_ray',
|
'map_item_ray',
|
||||||
'cartouch_width',
|
'cartouch_width',
|
||||||
@ -2630,15 +2631,23 @@ export default {
|
|||||||
case "superposition":
|
case "superposition":
|
||||||
case "action":
|
case "action":
|
||||||
// we have clicked on an entite
|
// we have clicked on an entite
|
||||||
this.$router.push({
|
// unfocus any active element to trigger recording if needed
|
||||||
name: 'concernement',
|
document.activeElement.blur();
|
||||||
params: {cid: this.cid, eid: result.item.item_id},
|
// setInterval to let time for editable fields to focus out and record changes
|
||||||
query: {
|
let interval = setInterval(() => {
|
||||||
mapitemid: this.id,
|
if (!this.concernement_is_updating_nid) {
|
||||||
// superposition_id: this.mapitem.superposition_ids[0]
|
clearInterval(interval);
|
||||||
},
|
this.$router.push({
|
||||||
hash: `#${this.map_mode}`,
|
name: 'concernement',
|
||||||
});
|
params: {cid: this.cid, eid: result.item.item_id},
|
||||||
|
query: {
|
||||||
|
mapitemid: this.id,
|
||||||
|
// superposition_id: this.mapitem.superposition_ids[0]
|
||||||
|
},
|
||||||
|
hash: `#${this.map_mode}`,
|
||||||
|
});
|
||||||
|
}
|
||||||
|
}, 1)
|
||||||
break;
|
break;
|
||||||
case "proximite":
|
case "proximite":
|
||||||
switch (result.item.item_type) {
|
switch (result.item.item_type) {
|
||||||
@ -2669,11 +2678,20 @@ export default {
|
|||||||
|
|
||||||
} else {
|
} else {
|
||||||
// otherwise we close the entite and come back to the concernement
|
// otherwise we close the entite and come back to the concernement
|
||||||
this.$router.push({
|
// unfocus any active element to trigger recording if needed
|
||||||
name: 'concernement',
|
document.activeElement.blur();
|
||||||
hash: `#${this.map_mode}`,
|
// setInterval to let time for editable fields to focus out and record changes
|
||||||
params: {id: this.cid, mapitemid: this.id}
|
let interval = setInterval(() => {
|
||||||
});
|
if (!this.concernement_is_updating_nid) {
|
||||||
|
clearInterval(interval);
|
||||||
|
this.$router.push({
|
||||||
|
name: 'concernement',
|
||||||
|
hash: `#${this.map_mode}`,
|
||||||
|
params: {id: this.cid, mapitemid: this.id}
|
||||||
|
});
|
||||||
|
}
|
||||||
|
}, 1)
|
||||||
|
|
||||||
|
|
||||||
// reset the mousehover
|
// reset the mousehover
|
||||||
this.resetHoverElmt();
|
this.resetHoverElmt();
|
||||||
|
@ -1203,13 +1203,13 @@ export default {
|
|||||||
|
|
||||||
<!-- <vue-plyr>
|
<!-- <vue-plyr>
|
||||||
<div class="plyr__video-embed"> -->
|
<div class="plyr__video-embed"> -->
|
||||||
<iframe
|
<!-- <iframe
|
||||||
v-if="!opened_concernement.opened_doleance || opened_concernement.opened_doleance.field === 'leprobleme' || opened_concernement.opened_doleance.field === 'lenquete'"
|
v-if="!opened_concernement.opened_doleance || opened_concernement.opened_doleance.field === 'leprobleme' || opened_concernement.opened_doleance.field === 'lenquete'"
|
||||||
src="https://www.youtube.com/embed/_Uogb4tJ9c4?amp;iv_load_policy=3&modestbranding=1&playsinline=1&showinfo=0&rel=0&enablejsapi=1"
|
src="https://www.youtube.com/embed/_Uogb4tJ9c4?amp;iv_load_policy=3&modestbranding=1&playsinline=1&showinfo=0&rel=0&enablejsapi=1"
|
||||||
allowfullscreen
|
allowfullscreen
|
||||||
allowtransparency
|
allowtransparency
|
||||||
frameborder="0"
|
frameborder="0"
|
||||||
></iframe>
|
></iframe> -->
|
||||||
<!-- </div>
|
<!-- </div>
|
||||||
</vue-plyr> -->
|
</vue-plyr> -->
|
||||||
</template>
|
</template>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user