From 9b357e6d6e901d7770f19905ec3a148e2d1cb3ab Mon Sep 17 00:00:00 2001 From: bach Date: Fri, 29 Sep 2023 11:40:29 +0200 Subject: [PATCH] =?UTF-8?q?doleancer:=20click=20on=20le=20probl=C3=A8me=20?= =?UTF-8?q?to=20display=20it=20#2285=20#2286?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/ConcernementMapItem.vue | 30 +++++++++--------- src/components/contents/Doleancer.vue | 44 +++++++++++++++----------- 2 files changed, 40 insertions(+), 34 deletions(-) diff --git a/src/components/ConcernementMapItem.vue b/src/components/ConcernementMapItem.vue index bee4e8d..79fb9db 100644 --- a/src/components/ConcernementMapItem.vue +++ b/src/components/ConcernementMapItem.vue @@ -1055,21 +1055,21 @@ export default { // POINTS CARDINAUX - // - // // leprobleme - // g.addChild(new paper.Path.Circle({ - // center: [this.pos.x, this.pos.y + r], - // radius: 3, - // style: { - // strokeColor: '#fff', - // strokeWidth: 2, - // fillColor: "rgba(255, 255, 255, 0.4)", - // }, - // item_type: 'doleance_step', - // item_id: `leprobleme`, - // did: doleance.id, - // field: 'leprobleme' - // })); + + // leprobleme + g.addChild(new paper.Path.Circle({ + center: [this.pos.x, this.pos.y + r], + radius: 3 * this.scale, + style: { + strokeColor: '#fff', + strokeWidth: 2, + fillColor: "rgba(255, 255, 255, 0.9)", + }, + item_type: 'doleance_step', + item_id: `leprobleme`, + did: doleance.id, + field: 'leprobleme' + })); // adresse de la doleance g.addChild(new paper.Path.Circle({ diff --git a/src/components/contents/Doleancer.vue b/src/components/contents/Doleancer.vue index 2884d4f..017f25c 100644 --- a/src/components/contents/Doleancer.vue +++ b/src/components/contents/Doleancer.vue @@ -8,8 +8,8 @@ import { CommonStore } from '@/stores/common' import CartoucheLayout from '@components/layout/CartoucheLayout.vue'; -import vSelect from 'vue-select'; -import 'vue-select/dist/vue-select.css'; +// import vSelect from 'vue-select'; +// import 'vue-select/dist/vue-select.css'; export default { props: ['cid'], @@ -31,20 +31,20 @@ export default { 'p_reception_application_decision' ]), ...mapState(CommonStore,['hover_elmt']), - doleances_select_options () { - let os = []; - this.opened_concernement.doleances.forEach((doleance, index) => { - let o = { - label: doleance.leprobleme, - id: doleance.id - } - if (doleance.id === this.opened_concernement.opened_doleance.id) { - this.doleance_selected = o; - } - os.push(o); - }) - return os; - }, + // doleances_select_options () { + // let os = []; + // this.opened_concernement.doleances.forEach((doleance, index) => { + // let o = { + // label: doleance.leprobleme, + // id: doleance.id + // } + // if (doleance.id === this.opened_concernement.opened_doleance.id) { + // this.doleance_selected = o; + // } + // os.push(o); + // }) + // return os; + // }, // doleances_select_value () { // let value; // this.opened_concernement.doleances.forEach((doleance, index) => { @@ -81,7 +81,7 @@ export default { }, components: { CartoucheLayout, - vSelect + // vSelect } } @@ -99,7 +99,7 @@ export default {
- +
+
+
{{ ct_cercle_politique.field_le_probleme.label }}
+

{{ doleance.leprobleme }}

+
+