@nixweb/nixloc-ui 0.0.139 → 0.0.140
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
CHANGED
|
@@ -16,7 +16,11 @@
|
|
|
16
16
|
<thead>
|
|
17
17
|
<tr>
|
|
18
18
|
<th v-for="(obj, ind) in header" :key="ind">
|
|
19
|
-
<div
|
|
19
|
+
<div
|
|
20
|
+
class="title-margem"
|
|
21
|
+
:class="obj.classCssTitle"
|
|
22
|
+
:style="obj.styleHeader"
|
|
23
|
+
>
|
|
20
24
|
<i class="fas fa-search" v-if="obj.iconSearch"></i>
|
|
21
25
|
<span class="title-header"> {{ obj.title }}</span>
|
|
22
26
|
</div>
|
|
@@ -27,6 +31,7 @@
|
|
|
27
31
|
<tr v-for="(row, index) in data" :key="index" :style="row.rowCss">
|
|
28
32
|
<td v-for="(obj, ind) in header" :key="ind">
|
|
29
33
|
<div
|
|
34
|
+
:style="obj.styleBody"
|
|
30
35
|
:class="
|
|
31
36
|
convertClass(row[obj.fieldComparison], obj.classCssBody)
|
|
32
37
|
"
|
|
@@ -35,6 +40,7 @@
|
|
|
35
40
|
{{ row[obj.field] }}
|
|
36
41
|
</div>
|
|
37
42
|
<div
|
|
43
|
+
:style="obj.styleBody"
|
|
38
44
|
:class="
|
|
39
45
|
convertClass(row[obj.fieldComparison], obj.classCssBody)
|
|
40
46
|
"
|
|
@@ -43,6 +49,7 @@
|
|
|
43
49
|
{{ row[obj.field] | moment("DD/MM/YYYY") }}
|
|
44
50
|
</div>
|
|
45
51
|
<div
|
|
52
|
+
:style="obj.styleBody"
|
|
46
53
|
:class="
|
|
47
54
|
convertClass(row[obj.fieldComparison], obj.classCssBody)
|
|
48
55
|
"
|
|
@@ -51,6 +58,7 @@
|
|
|
51
58
|
{{ row[obj.field] | moment("DD/MM/YYYY HH:mm") }}
|
|
52
59
|
</div>
|
|
53
60
|
<div
|
|
61
|
+
:style="obj.styleBody"
|
|
54
62
|
:class="
|
|
55
63
|
convertClass(row[obj.fieldComparison], obj.classCssBody)
|
|
56
64
|
"
|
|
@@ -133,17 +141,18 @@ table tbody tr td {
|
|
|
133
141
|
padding-right: 5px !important;
|
|
134
142
|
border-bottom: 0px !important;
|
|
135
143
|
border-top: 0px !important;
|
|
144
|
+
font-size: 13px !important;
|
|
136
145
|
}
|
|
137
146
|
|
|
138
147
|
.title-header {
|
|
139
|
-
font-size:
|
|
148
|
+
font-size: 12px;
|
|
140
149
|
color: #757d8c;
|
|
141
150
|
font-weight: 400;
|
|
142
151
|
text-transform: uppercase;
|
|
143
152
|
}
|
|
144
153
|
|
|
145
154
|
.table-number {
|
|
146
|
-
font-size:
|
|
155
|
+
font-size: 12px;
|
|
147
156
|
font-weight: bold;
|
|
148
157
|
}
|
|
149
158
|
|
|
@@ -153,7 +162,7 @@ table tbody tr td {
|
|
|
153
162
|
}
|
|
154
163
|
|
|
155
164
|
.table-currency {
|
|
156
|
-
font-size:
|
|
165
|
+
font-size: 12px;
|
|
157
166
|
min-width: 100px;
|
|
158
167
|
}
|
|
159
168
|
|
|
@@ -212,7 +221,4 @@ table tbody tr td {
|
|
|
212
221
|
color: #f0134d;
|
|
213
222
|
}
|
|
214
223
|
|
|
215
|
-
.receipt {
|
|
216
|
-
color: darkblue;
|
|
217
|
-
}
|
|
218
224
|
</style>
|
|
@@ -105,7 +105,7 @@ export default {
|
|
|
105
105
|
let isGrouped = th.innerText.includes("t.produtoAgrupado");
|
|
106
106
|
let isMoviment = th.innerText.includes("t.produtoMovimentacao");
|
|
107
107
|
let isCustumerAddress = th.innerText.includes("t.enderecoCliente");
|
|
108
|
-
let isAddressRent = th.innerText.includes("t.
|
|
108
|
+
let isAddressRent = th.innerText.includes("t.saidaRetornoLocacao");
|
|
109
109
|
|
|
110
110
|
|
|
111
111
|
if (isProduct) {
|
|
@@ -162,7 +162,7 @@ export default {
|
|
|
162
162
|
|
|
163
163
|
var retParse = ret.replaceAll("\"", "'");
|
|
164
164
|
retParse = eval(`retParse${replace}`);
|
|
165
|
-
|
|
165
|
+
|
|
166
166
|
var classImportant = retParse
|
|
167
167
|
.replaceAll("t.pagamentoLocacao", "")
|
|
168
168
|
.replaceAll("t.periodoLocacao", "")
|
|
@@ -170,7 +170,7 @@ export default {
|
|
|
170
170
|
.replaceAll("t.produtoAgrupado", "")
|
|
171
171
|
.replaceAll("t.produtoMovimentacao", "")
|
|
172
172
|
.replaceAll("t.enderecoCliente", "")
|
|
173
|
-
.replaceAll("t.
|
|
173
|
+
.replaceAll("t.saidaRetornoLocacao", "")
|
|
174
174
|
.replaceAll("<p> !important;</p>", "<p> </p>");
|
|
175
175
|
}
|
|
176
176
|
|
|
@@ -540,7 +540,6 @@ export default {
|
|
|
540
540
|
})
|
|
541
541
|
},
|
|
542
542
|
getDocumentApi: async function (context, params) {
|
|
543
|
-
console.log(params.obj);
|
|
544
543
|
context.commit('cleanMethodExecutedApi');
|
|
545
544
|
return axios.get(params.url, {
|
|
546
545
|
params: params.obj,
|
|
@@ -551,10 +550,8 @@ export default {
|
|
|
551
550
|
})
|
|
552
551
|
.then((response) => {
|
|
553
552
|
if (response.data.success) {
|
|
554
|
-
|
|
555
553
|
return response.data;
|
|
556
554
|
} else {
|
|
557
|
-
|
|
558
555
|
return response.data;
|
|
559
556
|
}
|
|
560
557
|
}, (err) => {
|
|
@@ -562,5 +559,19 @@ export default {
|
|
|
562
559
|
return false;
|
|
563
560
|
})
|
|
564
561
|
},
|
|
562
|
+
getPdfApi: async function (context, params) {
|
|
563
|
+
context.commit('cleanMethodExecutedApi');
|
|
564
|
+
return axios.get(params.url, {
|
|
565
|
+
params: params.obj,
|
|
566
|
+
responseType: "arraybuffer",
|
|
567
|
+
})
|
|
568
|
+
.then((response) => {
|
|
569
|
+
let blob = new Blob([response.data], { type: "application/pdf" }),
|
|
570
|
+
url = window.URL.createObjectURL(blob);
|
|
571
|
+
window.open(url);
|
|
572
|
+
}, (err) => {
|
|
573
|
+
return false;
|
|
574
|
+
})
|
|
575
|
+
},
|
|
565
576
|
}
|
|
566
577
|
}
|