@nixweb/nixloc-ui 0.0.131 → 0.0.132
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/component/forms/Button.vue +8 -1
- package/src/component/forms/CheckboxSimple.vue +7 -1
- package/src/component/forms/InputText.vue +1 -0
- package/src/component/layout/Panel.vue +1 -1
- package/src/component/shared/DocumentEditor.vue +19 -11
- package/src/component/shared/DocumentPreview.vue +5 -5
- package/src/component/shared/FullCalendar.vue +10 -1
- package/src/component/shared/ParameterLegend.vue +24 -17
- package/src/component/shared/TableButton.vue +2 -2
- package/src/component/shared/TableItem.vue +5 -1
- package/src/component/template/ViewTemplateDocumentView.vue +21 -3
- package/src/store/modules/generic.js +46 -19
package/package.json
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div class="c-div-button">
|
|
3
3
|
<button
|
|
4
|
+
:style="'background-color:' + backroundColor + ';color:' + color"
|
|
4
5
|
class="button"
|
|
5
6
|
:class="{
|
|
6
7
|
small: size === 'small',
|
|
@@ -17,7 +18,11 @@
|
|
|
17
18
|
:disabled="disabled"
|
|
18
19
|
@click="execute()"
|
|
19
20
|
>
|
|
20
|
-
<i
|
|
21
|
+
<i
|
|
22
|
+
class="title"
|
|
23
|
+
:class="classIcon"
|
|
24
|
+
v-if="!isLoading(this._key) && classIcon"
|
|
25
|
+
></i>
|
|
21
26
|
<span v-if="!isLoading(this._key)">{{ title }}</span>
|
|
22
27
|
<vue-loading
|
|
23
28
|
v-if="isLoading(this._key)"
|
|
@@ -39,6 +44,8 @@ export default {
|
|
|
39
44
|
title: String,
|
|
40
45
|
type: String,
|
|
41
46
|
size: String,
|
|
47
|
+
color: String,
|
|
48
|
+
backroundColor: String,
|
|
42
49
|
eventName: String,
|
|
43
50
|
eventData: Object,
|
|
44
51
|
classIcon: String,
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div>
|
|
3
|
-
<b-form-checkbox
|
|
3
|
+
<b-form-checkbox
|
|
4
|
+
v-model="valueLocal"
|
|
5
|
+
:value="true"
|
|
6
|
+
:unchecked-value="false"
|
|
7
|
+
>
|
|
4
8
|
{{ title }}
|
|
5
9
|
<Tip :field="field" :formName="formName" />
|
|
6
10
|
</b-form-checkbox>
|
|
@@ -20,6 +24,7 @@ export default {
|
|
|
20
24
|
formName: String,
|
|
21
25
|
field: String,
|
|
22
26
|
value: Boolean,
|
|
27
|
+
changed: Function,
|
|
23
28
|
markFormDirty: {
|
|
24
29
|
type: Boolean,
|
|
25
30
|
default: true,
|
|
@@ -40,6 +45,7 @@ export default {
|
|
|
40
45
|
valueLocal() {
|
|
41
46
|
this.$emit("input", this.valueLocal);
|
|
42
47
|
if (this.markFormDirty) this.updateFormDirty(true);
|
|
48
|
+
if (this.changed) this.changed();
|
|
43
49
|
},
|
|
44
50
|
},
|
|
45
51
|
};
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
<i class="title class-icon-title" :class="classIconTitle"></i>
|
|
5
5
|
<span class="title" :style="'color: ' + titleColor">{{ title }} </span>
|
|
6
6
|
<span class="required" v-if="required">*</span>
|
|
7
|
+
<Tip :field="field" :formName="formName" />
|
|
7
8
|
</label>
|
|
8
9
|
<div class="inner-addon right-addon">
|
|
9
10
|
<div
|
|
@@ -4,12 +4,14 @@
|
|
|
4
4
|
<div>
|
|
5
5
|
<div class="document-editor__toolbar"></div>
|
|
6
6
|
<div class="document-editor__editable-container">
|
|
7
|
-
<
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
7
|
+
<div id="template-dev">
|
|
8
|
+
<ckeditor
|
|
9
|
+
:editor="editor"
|
|
10
|
+
v-model="documentHtml"
|
|
11
|
+
@ready="onReady"
|
|
12
|
+
@focus="changed"
|
|
13
|
+
></ckeditor>
|
|
14
|
+
</div>
|
|
13
15
|
</div>
|
|
14
16
|
</div>
|
|
15
17
|
</div>
|
|
@@ -46,7 +48,9 @@ export default {
|
|
|
46
48
|
methods: {
|
|
47
49
|
...mapMutations("generic", ["updateDocumentHtml", "addEvent"]),
|
|
48
50
|
onReady(editor) {
|
|
49
|
-
const toolbarContainer = document.querySelector(
|
|
51
|
+
const toolbarContainer = document.querySelector(
|
|
52
|
+
".document-editor__toolbar"
|
|
53
|
+
);
|
|
50
54
|
toolbarContainer.appendChild(editor.ui.view.toolbar.element);
|
|
51
55
|
},
|
|
52
56
|
changed() {
|
|
@@ -78,12 +82,11 @@ export default {
|
|
|
78
82
|
padding: 10px;
|
|
79
83
|
border: 1px solid #e4e6ec;
|
|
80
84
|
background: var(--ck-color-base-foreground);
|
|
81
|
-
overflow-y: scroll;
|
|
82
85
|
}
|
|
83
86
|
|
|
84
87
|
.document-editor__editable-container .ck-editor__editable {
|
|
85
88
|
width: 22cm;
|
|
86
|
-
|
|
89
|
+
height: 700px;
|
|
87
90
|
padding: 20px;
|
|
88
91
|
border: 1px hsl(0, 0%, 82.7%) solid;
|
|
89
92
|
border-radius: var(--ck-border-radius);
|
|
@@ -98,7 +101,9 @@ export default {
|
|
|
98
101
|
}
|
|
99
102
|
|
|
100
103
|
.document-editor .ck-heading-dropdown .ck-list .ck-button__label {
|
|
101
|
-
line-height: calc(
|
|
104
|
+
line-height: calc(
|
|
105
|
+
1.7 * var(--ck-line-height-base) * var(--ck-font-size-base)
|
|
106
|
+
);
|
|
102
107
|
min-width: 6em;
|
|
103
108
|
}
|
|
104
109
|
|
|
@@ -130,7 +135,10 @@ export default {
|
|
|
130
135
|
color: hsl(203, 100%, 50%);
|
|
131
136
|
}
|
|
132
137
|
|
|
133
|
-
.document-editor
|
|
138
|
+
.document-editor
|
|
139
|
+
.ck-heading-dropdown
|
|
140
|
+
.ck-heading_heading2.ck-on
|
|
141
|
+
.ck-button__label {
|
|
134
142
|
color: var(--ck-color-list-button-on-text);
|
|
135
143
|
}
|
|
136
144
|
|
|
@@ -16,12 +16,11 @@ export default {
|
|
|
16
16
|
template: String,
|
|
17
17
|
d: Object,
|
|
18
18
|
},
|
|
19
|
-
|
|
20
19
|
methods: {
|
|
21
|
-
|
|
20
|
+
somaGrupo(grupo) {
|
|
22
21
|
let total = "";
|
|
23
|
-
this.d.
|
|
24
|
-
if (x.
|
|
22
|
+
this.d.itensLocacao.forEach((x) => {
|
|
23
|
+
if (x.grupo === grupo) return (total = x.valorTotal);
|
|
25
24
|
});
|
|
26
25
|
return total;
|
|
27
26
|
},
|
|
@@ -29,7 +28,8 @@ export default {
|
|
|
29
28
|
computed: {
|
|
30
29
|
...mapGetters("generic", ["groupBy"]),
|
|
31
30
|
produtoAgrupado() {
|
|
32
|
-
|
|
31
|
+
var group = this.groupBy({ array: this.d.itensLocacao, key: "grupo" });
|
|
32
|
+
return group;
|
|
33
33
|
},
|
|
34
34
|
},
|
|
35
35
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div>
|
|
3
3
|
<Loading type="line" :center="false" v-show="loading" />
|
|
4
|
-
<FullCalendar
|
|
4
|
+
<FullCalendar :options="calendarOptions" />
|
|
5
5
|
</div>
|
|
6
6
|
</template>
|
|
7
7
|
|
|
@@ -137,6 +137,11 @@ export default {
|
|
|
137
137
|
cursor: pointer !important;
|
|
138
138
|
}
|
|
139
139
|
|
|
140
|
+
.fc-event-time {
|
|
141
|
+
color: black !important;
|
|
142
|
+
font-weight: normal !important;
|
|
143
|
+
}
|
|
144
|
+
|
|
140
145
|
.fc-list-day-side-text {
|
|
141
146
|
color: black !important;
|
|
142
147
|
}
|
|
@@ -153,6 +158,10 @@ export default {
|
|
|
153
158
|
color: black !important;
|
|
154
159
|
}
|
|
155
160
|
|
|
161
|
+
.fc-list-event-title {
|
|
162
|
+
cursor: pointer !important;
|
|
163
|
+
}
|
|
164
|
+
|
|
156
165
|
.fc-button-primary:hover {
|
|
157
166
|
background: #3e90b3 !important;
|
|
158
167
|
}
|
|
@@ -6,25 +6,25 @@
|
|
|
6
6
|
<table class="table table-responsive-xs">
|
|
7
7
|
<thead>
|
|
8
8
|
<tr>
|
|
9
|
-
<th><span class="title-header">Parâmetro</span></th>
|
|
10
9
|
<th><span class="title-header">Descrição</span></th>
|
|
11
10
|
<th><span class="title-header">Exemplo</span></th>
|
|
11
|
+
<th><span class="title-header">Parâmetro</span></th>
|
|
12
12
|
</tr>
|
|
13
13
|
</thead>
|
|
14
14
|
<tbody v-for="(legendLocal, groupName) in grouped">
|
|
15
15
|
<td class="group text-center" colspan="8">
|
|
16
|
-
<div>{{ groupName
|
|
16
|
+
<div>{{ groupName }}</div>
|
|
17
17
|
</td>
|
|
18
18
|
<tr v-for="item in legendLocal">
|
|
19
|
-
<td class="
|
|
20
|
-
<span> {{ item.parameter }}</span>
|
|
21
|
-
</td>
|
|
22
|
-
<td>
|
|
19
|
+
<td class="description">
|
|
23
20
|
<span> {{ item.description }}</span>
|
|
24
21
|
</td>
|
|
25
22
|
<td>
|
|
26
23
|
<span class="exemplo"> {{ item.example }}</span>
|
|
27
24
|
</td>
|
|
25
|
+
<td class="parametro">
|
|
26
|
+
<span> {{ item.parameter }}</span>
|
|
27
|
+
</td>
|
|
28
28
|
</tr>
|
|
29
29
|
</tbody>
|
|
30
30
|
</table>
|
|
@@ -70,23 +70,26 @@ export default {
|
|
|
70
70
|
let legend = [];
|
|
71
71
|
let self = this;
|
|
72
72
|
setTimeout(function () {
|
|
73
|
-
self.
|
|
74
|
-
|
|
75
|
-
if (
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
if (
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
73
|
+
if (self.search.content) {
|
|
74
|
+
self.legend.forEach(function (item) {
|
|
75
|
+
if (self.search.filter.content == "equal") {
|
|
76
|
+
if (item.description == self.search.content) legend.push(item);
|
|
77
|
+
}
|
|
78
|
+
if (self.search.filter.content == "contains") {
|
|
79
|
+
if (item.description.includes(self.search.content))
|
|
80
|
+
legend.push(item);
|
|
81
|
+
}
|
|
82
|
+
});
|
|
83
|
+
self.legendLocal = legend;
|
|
84
|
+
}
|
|
85
|
+
self.removeLoading(["btnSearch", "btnClean"]);
|
|
83
86
|
}, 300);
|
|
84
87
|
},
|
|
85
88
|
clearedSearch: function () {
|
|
86
89
|
let self = this;
|
|
87
90
|
setTimeout(function () {
|
|
88
91
|
self.legendLocal = self.legend;
|
|
89
|
-
self.removeLoading(["
|
|
92
|
+
self.removeLoading(["btnSearch", "btnClean"]);
|
|
90
93
|
}, 300);
|
|
91
94
|
},
|
|
92
95
|
},
|
|
@@ -116,6 +119,10 @@ export default {
|
|
|
116
119
|
font-weight: 500;
|
|
117
120
|
}
|
|
118
121
|
|
|
122
|
+
.description {
|
|
123
|
+
width: 350px;
|
|
124
|
+
}
|
|
125
|
+
|
|
119
126
|
.div-warning {
|
|
120
127
|
margin-bottom: 20px;
|
|
121
128
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div>
|
|
3
3
|
<Button
|
|
4
|
-
v-if="obj.
|
|
4
|
+
v-if="obj.typeButton == 'default'"
|
|
5
5
|
:key="row.id"
|
|
6
6
|
:title="obj.button.title"
|
|
7
7
|
:type="obj.button.type"
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
:eventData="row"
|
|
12
12
|
/>
|
|
13
13
|
<Dropdown
|
|
14
|
-
v-if="obj.
|
|
14
|
+
v-if="obj.typeButton == 'botaodropdown'"
|
|
15
15
|
:title="obj.button.title"
|
|
16
16
|
:type="obj.button.type"
|
|
17
17
|
:size="obj.button.size"
|
|
@@ -6,7 +6,11 @@
|
|
|
6
6
|
@click="navegateTo(obj, row)"
|
|
7
7
|
:class="convertClass(row[obj.fieldComparison], obj.classCssBody)"
|
|
8
8
|
>
|
|
9
|
-
<DisplayPeriodRent
|
|
9
|
+
<DisplayPeriodRent
|
|
10
|
+
:periodRent="row[obj.field]"
|
|
11
|
+
:fontSize="14"
|
|
12
|
+
:showDeliveryDevolution="true"
|
|
13
|
+
/>
|
|
10
14
|
</div>
|
|
11
15
|
<div
|
|
12
16
|
v-if="obj.type === 'text'"
|
|
@@ -37,6 +37,15 @@
|
|
|
37
37
|
</div>
|
|
38
38
|
</b-col>
|
|
39
39
|
<b-col class="text-right" sm="6">
|
|
40
|
+
<div class="side-by-side" v-if="id">
|
|
41
|
+
<Button
|
|
42
|
+
key="showModalConfig"
|
|
43
|
+
type="info"
|
|
44
|
+
classIcon="fa-solid fa-gear"
|
|
45
|
+
size="small"
|
|
46
|
+
:clicked="showModalConfig"
|
|
47
|
+
/>
|
|
48
|
+
</div>
|
|
40
49
|
<div class="side-by-side">
|
|
41
50
|
<Button
|
|
42
51
|
key="showModalLegend"
|
|
@@ -69,7 +78,7 @@
|
|
|
69
78
|
</b-row>
|
|
70
79
|
</Molded>
|
|
71
80
|
</div>
|
|
72
|
-
<Modal title="Salvar" :width="
|
|
81
|
+
<Modal title="Salvar" :width="800" v-show="showModal('saveDocument')">
|
|
73
82
|
<slot></slot>
|
|
74
83
|
</Modal>
|
|
75
84
|
<Modal title="Parâmetros" :width="1100" v-if="showModal('legenda')">
|
|
@@ -100,7 +109,7 @@
|
|
|
100
109
|
<div class="a4">
|
|
101
110
|
<div id="printMe">
|
|
102
111
|
<DocumentPreview
|
|
103
|
-
:template="documentPreview"
|
|
112
|
+
:template="documentPreview('dev')"
|
|
104
113
|
:d="parameterExemple"
|
|
105
114
|
/>
|
|
106
115
|
</div>
|
|
@@ -165,7 +174,12 @@ export default {
|
|
|
165
174
|
...mapGetters("generic", ["showModal", "event", "documentPreview"]),
|
|
166
175
|
},
|
|
167
176
|
methods: {
|
|
168
|
-
...mapMutations("generic", [
|
|
177
|
+
...mapMutations("generic", [
|
|
178
|
+
"openModal",
|
|
179
|
+
"hideModal",
|
|
180
|
+
"removeLoading",
|
|
181
|
+
"addEvent",
|
|
182
|
+
]),
|
|
169
183
|
saveDocument() {
|
|
170
184
|
if (this.id) {
|
|
171
185
|
this.addEvent({ name: "saveDocument" });
|
|
@@ -177,6 +191,10 @@ export default {
|
|
|
177
191
|
saveAs() {
|
|
178
192
|
this.addEvent({ name: "saveAs" });
|
|
179
193
|
},
|
|
194
|
+
showModalConfig() {
|
|
195
|
+
this.openModal("saveDocument");
|
|
196
|
+
this.removeLoading(["showModalConfig"]);
|
|
197
|
+
},
|
|
180
198
|
showModalLegend() {
|
|
181
199
|
this.openModal("legenda");
|
|
182
200
|
this.removeLoading(["showModalLegend"]);
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import axios from "@/config/axios";
|
|
2
|
+
import Tips from "@/config/tips";
|
|
2
3
|
import Token from "@nixweb/nixloc-ui/src/config/token";
|
|
3
4
|
|
|
4
5
|
export default {
|
|
@@ -35,7 +36,13 @@ export default {
|
|
|
35
36
|
},
|
|
36
37
|
getters: {
|
|
37
38
|
tip: (state) => (tipId) => {
|
|
38
|
-
|
|
39
|
+
var tips = new Tips();
|
|
40
|
+
let message = "";
|
|
41
|
+
tips.help.find(value => {
|
|
42
|
+
if (value.tipId == tipId)
|
|
43
|
+
message = value.message;
|
|
44
|
+
})
|
|
45
|
+
return message;
|
|
39
46
|
},
|
|
40
47
|
showModal: (state) => (name) => {
|
|
41
48
|
if (name == state.modal.name) return true;
|
|
@@ -60,11 +67,17 @@ export default {
|
|
|
60
67
|
event: (state) => {
|
|
61
68
|
return state.event;
|
|
62
69
|
},
|
|
63
|
-
documentPreview: (state) => {
|
|
70
|
+
documentPreview: (state) => (env) => {
|
|
64
71
|
let documentHtml = state.documentHtml
|
|
65
72
|
let ret = documentHtml;
|
|
66
73
|
|
|
67
|
-
var template =
|
|
74
|
+
var template = null;
|
|
75
|
+
|
|
76
|
+
if (env == 'dev')
|
|
77
|
+
template = document.getElementById("template-dev");
|
|
78
|
+
|
|
79
|
+
if (env == 'prod')
|
|
80
|
+
template = document.getElementById("template-prod");
|
|
68
81
|
|
|
69
82
|
if (template != null) {
|
|
70
83
|
var tables = template.getElementsByTagName("table");
|
|
@@ -86,24 +99,30 @@ export default {
|
|
|
86
99
|
|
|
87
100
|
if (th) {
|
|
88
101
|
|
|
89
|
-
let isGrouped = th.innerText.includes("n.grupo");
|
|
90
|
-
let isProduct = th.innerText.includes("p.pLoc");
|
|
91
|
-
let isPeriod = th.innerText.includes("n.periodo");
|
|
92
102
|
let isPayment = th.innerText.includes("n.pagamento");
|
|
93
|
-
|
|
103
|
+
|
|
104
|
+
|
|
105
|
+
let isPeriod = th.innerText.includes("t.periodoLocacao");
|
|
106
|
+
let isProduct = th.innerText.includes("t.produtoLocacao");
|
|
107
|
+
let isGrouped = th.innerText.includes("t.produtoAgrupado");
|
|
108
|
+
let isMoviment = th.innerText.includes("t.produtoMovimentacao");
|
|
109
|
+
let isCustumerAdress = th.innerText.includes("t.enderecoCliente");
|
|
110
|
+
|
|
94
111
|
|
|
95
112
|
if (isProduct) {
|
|
96
|
-
obj.vForSimple = "v-for='
|
|
113
|
+
obj.vForSimple = "v-for='produto in d.itensLocacao'";
|
|
97
114
|
config.push(obj);
|
|
98
115
|
} else if (isPeriod) {
|
|
99
|
-
obj.vForSimple = "v-for='
|
|
116
|
+
obj.vForSimple = "v-for='periodo in d.periodoLocacao'";
|
|
100
117
|
config.push(obj);
|
|
101
118
|
} else if (isPayment) {
|
|
102
119
|
obj.vForSimple = "v-for='pg in d.pagamento'";
|
|
103
120
|
config.push(obj);
|
|
104
121
|
} else if (isGrouped) {
|
|
105
|
-
obj.vForGrouped = "v-for='(
|
|
106
|
-
obj.vForSimple = "v-for='
|
|
122
|
+
obj.vForGrouped = "v-for='(itensLocacao, grupo) in produtoAgrupado'";
|
|
123
|
+
obj.vForSimple = "v-for='produto in itensLocacao'";
|
|
124
|
+
|
|
125
|
+
// neste cenário basicamente temos que montar o <tbody> no array de agrupamento
|
|
107
126
|
|
|
108
127
|
var initIndex = documentHtml.split("<tbody>", index + 1).join("<tbody>").length;
|
|
109
128
|
var lastIndex = documentHtml.split("</tbody>", index + 1).join("</tbody>").length;
|
|
@@ -112,13 +131,18 @@ export default {
|
|
|
112
131
|
|
|
113
132
|
let tr = tbody.substring(tbody.indexOf("<tr>"), tbody.lastIndexOf("</tr>"));
|
|
114
133
|
|
|
134
|
+
// faz o replace nameGroup para tirar o <tr/>
|
|
115
135
|
obj.nameGroup = tr.substring(0, tr.indexOf('</tr>')) + "</tr>";
|
|
116
136
|
obj.nameGroup = obj.nameGroup.replaceAll("\"", "'");
|
|
117
137
|
obj.nameGroupReplace = obj.nameGroup.replace("<tr>", "").replace("</tr>", "");
|
|
138
|
+
|
|
118
139
|
config.push(obj);
|
|
119
140
|
|
|
120
141
|
} else if (isMoviment) {
|
|
121
|
-
obj.vForSimple = "v-for='
|
|
142
|
+
obj.vForSimple = "v-for='produto in d.itensMovimentacao'";
|
|
143
|
+
config.push(obj);
|
|
144
|
+
} else if (isCustumerAdress) {
|
|
145
|
+
obj.vForSimple = "v-for='endereco in d.locacao.cliente.endereco'";
|
|
122
146
|
config.push(obj);
|
|
123
147
|
} else {
|
|
124
148
|
config.push(obj);
|
|
@@ -134,17 +158,20 @@ export default {
|
|
|
134
158
|
replace += `.replace("<tbody>${x.nameGroup}<tr>", "<tbody ${x.vForGrouped}>${x.nameGroupReplace}<tr ${x.vForSimple}>")`;
|
|
135
159
|
});
|
|
136
160
|
|
|
161
|
+
|
|
162
|
+
|
|
137
163
|
var retParse = ret.replaceAll("\"", "'");
|
|
138
|
-
retParse = eval(`
|
|
164
|
+
retParse = eval(`retParse${replace}`);
|
|
139
165
|
|
|
140
166
|
var classImportant = retParse
|
|
141
|
-
.replaceAll("
|
|
142
|
-
.replaceAll("
|
|
143
|
-
.replaceAll("
|
|
144
|
-
.replaceAll("
|
|
145
|
-
.replaceAll("
|
|
167
|
+
.replaceAll("t.periodoLocacao", "")
|
|
168
|
+
.replaceAll("t.produtoLocacao", "")
|
|
169
|
+
.replaceAll("t.produtoAgrupado", "")
|
|
170
|
+
.replaceAll("t.produtoMovimentacao", "")
|
|
171
|
+
.replaceAll("t.enderecoCliente", "")
|
|
146
172
|
.replaceAll("<p> !important;</p>", "<p> </p>");
|
|
147
173
|
}
|
|
174
|
+
|
|
148
175
|
return classImportant;
|
|
149
176
|
},
|
|
150
177
|
groupBy: () => (obj) => {
|
|
@@ -393,7 +420,7 @@ export default {
|
|
|
393
420
|
}, (err) => {
|
|
394
421
|
if (err.response)
|
|
395
422
|
if (err.response.status === 403)
|
|
396
|
-
context.commit('addNotifications', [{ message: "Usuário sem permissão para
|
|
423
|
+
context.commit('addNotifications', [{ message: "Usuário sem permissão para remover!" }])
|
|
397
424
|
|
|
398
425
|
if (!err.response)
|
|
399
426
|
context.commit('addNotificationErrorApi');
|