@nixweb/nixloc-ui 0.0.76 → 0.0.79
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
|
@@ -65,6 +65,7 @@
|
|
|
65
65
|
/>
|
|
66
66
|
</div>
|
|
67
67
|
</div>
|
|
68
|
+
<div slot="noOptions">Lista está vazia</div>
|
|
68
69
|
<div slot="noResult">Nenhum registro encontrado</div>
|
|
69
70
|
</multiselect>
|
|
70
71
|
<div v-if="formSujo">
|
|
@@ -131,7 +132,6 @@ export default {
|
|
|
131
132
|
dados: [],
|
|
132
133
|
totalRegistros: 0,
|
|
133
134
|
baseParams: {
|
|
134
|
-
url: this.url,
|
|
135
135
|
pesquisa: "",
|
|
136
136
|
paginaAtual: 1,
|
|
137
137
|
totalPorPagina: 20,
|
|
@@ -157,7 +157,7 @@ export default {
|
|
|
157
157
|
...mapGetters("generic", ["mostrarVodal"]),
|
|
158
158
|
},
|
|
159
159
|
methods: {
|
|
160
|
-
...mapActions("generic", ["
|
|
160
|
+
...mapActions("generic", ["getApi"]),
|
|
161
161
|
...mapMutations("generic", [
|
|
162
162
|
"removeCarregando",
|
|
163
163
|
"abrirVodal",
|
|
@@ -189,15 +189,16 @@ export default {
|
|
|
189
189
|
if (value.conteudo) return `${value.conteudo}`;
|
|
190
190
|
},
|
|
191
191
|
obterTodos() {
|
|
192
|
-
let
|
|
192
|
+
let obj = { ...this.baseParams, ...this.propsParams };
|
|
193
|
+
let params = { url: this.url, obj: obj };
|
|
193
194
|
this.carregando = true;
|
|
194
|
-
this.
|
|
195
|
-
this.totalRegistros = response.totalRegistros;
|
|
195
|
+
this.getApi(params).then((response) => {
|
|
196
|
+
this.totalRegistros = response.conteudo.totalRegistros;
|
|
196
197
|
let self = this;
|
|
197
198
|
if (this.baseParams.paginaAtual == 1) {
|
|
198
199
|
this.dados = [];
|
|
199
200
|
}
|
|
200
|
-
response.dados.map(function (value, key) {
|
|
201
|
+
response.conteudo.dados.map(function (value, key) {
|
|
201
202
|
self.dados.push(value);
|
|
202
203
|
});
|
|
203
204
|
this.carregando = false;
|
|
@@ -39,13 +39,13 @@ export default {
|
|
|
39
39
|
|
|
40
40
|
<style scoped>
|
|
41
41
|
.barra {
|
|
42
|
-
background-color:
|
|
42
|
+
background-color: #fafafc;
|
|
43
43
|
position: fixed;
|
|
44
44
|
width: 100%;
|
|
45
45
|
overflow: hidden;
|
|
46
46
|
z-index: 20;
|
|
47
47
|
padding: 18px;
|
|
48
|
-
margin-left:
|
|
48
|
+
margin-left: 220px;
|
|
49
49
|
}
|
|
50
50
|
|
|
51
51
|
.tamanho {
|
|
@@ -65,5 +65,4 @@ export default {
|
|
|
65
65
|
bottom: 0px;
|
|
66
66
|
border-top: 1px solid #e1e1e2;
|
|
67
67
|
}
|
|
68
|
-
|
|
69
68
|
</style>
|
|
@@ -53,7 +53,12 @@
|
|
|
53
53
|
@click.prevent="navegarPara(item.nomeRota)"
|
|
54
54
|
:class="classeSubMenu(item.titulo)"
|
|
55
55
|
>
|
|
56
|
-
|
|
56
|
+
<b-row>
|
|
57
|
+
<b-col sm="1"> <i :class="item.icone" aria-hidden="true"></i></b-col>
|
|
58
|
+
<b-col sm="10">
|
|
59
|
+
<span class="titulo-sub"> {{ item.titulo }}</span></b-col
|
|
60
|
+
></b-row
|
|
61
|
+
>
|
|
57
62
|
</a>
|
|
58
63
|
</li>
|
|
59
64
|
</ul>
|
|
@@ -131,6 +136,7 @@ export default {
|
|
|
131
136
|
<style scoped>
|
|
132
137
|
.menu-aberto {
|
|
133
138
|
width: 277px;
|
|
139
|
+
z-index: 1000;
|
|
134
140
|
}
|
|
135
141
|
|
|
136
142
|
.div-icone {
|
|
@@ -151,13 +157,18 @@ export default {
|
|
|
151
157
|
}
|
|
152
158
|
|
|
153
159
|
.titulo {
|
|
154
|
-
margin-left:
|
|
160
|
+
margin-left: 14px;
|
|
155
161
|
font-size: 15px;
|
|
156
|
-
font-weight:
|
|
162
|
+
font-weight: 400;
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
.titulo-sub {
|
|
166
|
+
margin-left: 5px;
|
|
167
|
+
font-weight: 400;
|
|
157
168
|
}
|
|
158
169
|
|
|
159
170
|
.sub-titulo {
|
|
160
|
-
font-size:
|
|
171
|
+
font-size: 18px;
|
|
161
172
|
font-weight: normal;
|
|
162
173
|
}
|
|
163
174
|
</style>
|
|
@@ -13,7 +13,9 @@
|
|
|
13
13
|
<div class="row">
|
|
14
14
|
<div class="col-10">
|
|
15
15
|
<div class="div-titulo">
|
|
16
|
-
<span class="modulo">
|
|
16
|
+
<span class="modulo">
|
|
17
|
+
<span class="icone"><i class="fas fa-compass"></i></span> {{ modulo }} |</span
|
|
18
|
+
>
|
|
17
19
|
<span class="titulo"> {{ titulo }}</span>
|
|
18
20
|
</div>
|
|
19
21
|
</div>
|
|
@@ -96,7 +98,7 @@ export default {
|
|
|
96
98
|
<style scoped>
|
|
97
99
|
.c-container {
|
|
98
100
|
margin: auto;
|
|
99
|
-
padding-left:
|
|
101
|
+
padding-left: 235px;
|
|
100
102
|
padding-right: 30px;
|
|
101
103
|
max-width: 1400px;
|
|
102
104
|
}
|
|
@@ -106,17 +108,22 @@ export default {
|
|
|
106
108
|
}
|
|
107
109
|
|
|
108
110
|
.modulo {
|
|
109
|
-
font-size:
|
|
110
|
-
font-weight:
|
|
111
|
+
font-size: 16px;
|
|
112
|
+
font-weight: 400;
|
|
111
113
|
}
|
|
112
114
|
|
|
113
115
|
.titulo {
|
|
114
|
-
font-size:
|
|
115
|
-
font-weight:
|
|
116
|
+
font-size: 18px;
|
|
117
|
+
font-weight: 400;
|
|
116
118
|
line-height: 34px;
|
|
117
119
|
color: #577696;
|
|
118
120
|
}
|
|
119
121
|
|
|
122
|
+
.icone{
|
|
123
|
+
opacity: 0.8;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
|
|
120
127
|
.c-voltar {
|
|
121
128
|
margin-top: 20px;
|
|
122
129
|
margin-right: 12px;
|