comparison client/src/store/bottlenecks.js @ 5310:660147046ddd zpg-exception

Client: Implement handling zpg-exception info in pdf * Extend processing the "text" element of the pdf-template to check for the string "{zpg-exception}", and print the text after it only if the attribute "zpg-exception" set to true. * Refactor one WFS-request and fit the affected functions to get these attribute, which is used to determine the displaying of zpg-exception info in pdf.
author Fadi Abbud <fadi.abbud@intevation.de>
date Tue, 01 Jun 2021 09:33:03 +0200
parents d62587503a39
children 3b842e951317
comparison
equal deleted inserted replaced
5309:3c876c65cc43 5310:660147046ddd
23 bottlenecksList: [], 23 bottlenecksList: [],
24 selectedBottleneck: null, 24 selectedBottleneck: null,
25 surveys: [], 25 surveys: [],
26 selectedSurvey: null, 26 selectedSurvey: null,
27 surveysLoading: false, 27 surveysLoading: false,
28 bottleneckForPrint: null 28 bottleneckForPrint: null,
29 soundingInfo: null
29 }; 30 };
30 }; 31 };
31 32
32 export default { 33 export default {
33 init, 34 init,
62 63
63 return orderedGroups; 64 return orderedGroups;
64 } 65 }
65 }, 66 },
66 mutations: { 67 mutations: {
68 setSoundingInfo: (state, data) => {
69 state.soundingInfo = data;
70 },
67 setBottleneckForPrint: (state, bottleneck) => { 71 setBottleneckForPrint: (state, bottleneck) => {
68 state.bottleneckForPrint = bottleneck; 72 state.bottleneckForPrint = bottleneck;
69 }, 73 },
70 setBottlenecks: (state, bottlenecks) => { 74 setBottlenecks: (state, bottlenecks) => {
71 state.bottlenecks = bottlenecks; 75 state.bottlenecks = bottlenecks;