@nixweb/nixloc-ui 0.0.77 → 0.0.80
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/Escolher.vue +7 -6
- package/src/component/layout/BarraFixa.vue +2 -3
- package/src/component/layout/Menu.vue +22 -19
- package/src/component/layout/Painel.vue +5 -6
- package/src/component/layout/Topo.vue +1 -1
- package/src/component/shared/Tabela.vue +1 -1
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>
|
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
@click.prevent="navegarPara('dashboard')"
|
|
8
8
|
:class="sessaoDestaque('home')"
|
|
9
9
|
>
|
|
10
|
-
<div class="div-icone lado-a-lado"
|
|
11
|
-
<i class="fas fa-chart-area icone"
|
|
10
|
+
<div class="div-icone lado-a-lado">
|
|
11
|
+
<i class="fas fa-chart-area icone-dash" :style="'color:' + corBase"></i>
|
|
12
12
|
</div>
|
|
13
13
|
<div class="lado-a-lado titulo">Dashboard</div>
|
|
14
14
|
</a>
|
|
@@ -20,12 +20,12 @@
|
|
|
20
20
|
@click.prevent="abrirSubMenu(item.modulo)"
|
|
21
21
|
:class="sessaoDestaque(item.modulo)"
|
|
22
22
|
>
|
|
23
|
-
<div class="div-icone lado-a-lado"
|
|
24
|
-
<i :class="item.icone" class="icone"
|
|
23
|
+
<div class="div-icone lado-a-lado">
|
|
24
|
+
<i :class="item.icone" class="icone" :style="'color:' + corBase"></i>
|
|
25
25
|
</div>
|
|
26
26
|
<div class="lado-a-lado titulo">{{ item.modulo }}</div>
|
|
27
27
|
<div class="lado-a-lado seta menu__arrow-icon">
|
|
28
|
-
<i class="
|
|
28
|
+
<i class="fas fa-angle-right"></i>
|
|
29
29
|
</div>
|
|
30
30
|
</a>
|
|
31
31
|
</li>
|
|
@@ -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>
|
|
@@ -64,7 +69,6 @@
|
|
|
64
69
|
|
|
65
70
|
<script>
|
|
66
71
|
import { mapState } from "vuex";
|
|
67
|
-
|
|
68
72
|
export default {
|
|
69
73
|
name: "Menu",
|
|
70
74
|
props: {
|
|
@@ -131,31 +135,30 @@ export default {
|
|
|
131
135
|
<style scoped>
|
|
132
136
|
.menu-aberto {
|
|
133
137
|
width: 277px;
|
|
138
|
+
z-index: 1000;
|
|
134
139
|
}
|
|
135
|
-
|
|
136
140
|
.div-icone {
|
|
137
141
|
width: 35px;
|
|
138
142
|
height: 35px;
|
|
139
|
-
text-align: center;
|
|
140
143
|
padding-top: 5px;
|
|
141
|
-
border-radius: 10px;
|
|
142
144
|
}
|
|
143
|
-
|
|
144
145
|
.icone-fechar {
|
|
145
|
-
margin-right:
|
|
146
|
+
margin-right: 20px;
|
|
146
147
|
}
|
|
147
|
-
|
|
148
148
|
.icone {
|
|
149
|
-
color: white;
|
|
150
149
|
font-size: 18px;
|
|
151
150
|
}
|
|
152
|
-
|
|
151
|
+
.icone-dash {
|
|
152
|
+
font-size: 20px;
|
|
153
|
+
}
|
|
153
154
|
.titulo {
|
|
154
|
-
|
|
155
|
-
font-
|
|
156
|
-
|
|
155
|
+
font-size: 14px;
|
|
156
|
+
font-weight: 400;
|
|
157
|
+
}
|
|
158
|
+
.titulo-sub {
|
|
159
|
+
margin-left: 5px;
|
|
160
|
+
font-weight: 400;
|
|
157
161
|
}
|
|
158
|
-
|
|
159
162
|
.sub-titulo {
|
|
160
163
|
font-size: 16px;
|
|
161
164
|
font-weight: normal;
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
<div class="col-10">
|
|
15
15
|
<div class="div-titulo">
|
|
16
16
|
<span class="modulo">
|
|
17
|
-
<span class="icone"><i class="fas fa-compass"></i></span> {{ modulo }}
|
|
17
|
+
<span class="icone"><i class="fas fa-compass"></i></span> {{ modulo }} |</span
|
|
18
18
|
>
|
|
19
19
|
<span class="titulo"> {{ titulo }}</span>
|
|
20
20
|
</div>
|
|
@@ -99,7 +99,6 @@ export default {
|
|
|
99
99
|
.c-container {
|
|
100
100
|
margin: auto;
|
|
101
101
|
padding-left: 220px;
|
|
102
|
-
padding-right: 30px;
|
|
103
102
|
max-width: 1400px;
|
|
104
103
|
}
|
|
105
104
|
|
|
@@ -108,13 +107,13 @@ export default {
|
|
|
108
107
|
}
|
|
109
108
|
|
|
110
109
|
.modulo {
|
|
111
|
-
font-size:
|
|
112
|
-
font-weight:
|
|
110
|
+
font-size: 16px;
|
|
111
|
+
font-weight: 400;
|
|
113
112
|
}
|
|
114
113
|
|
|
115
114
|
.titulo {
|
|
116
|
-
font-size:
|
|
117
|
-
font-weight:
|
|
115
|
+
font-size: 18px;
|
|
116
|
+
font-weight: 400;
|
|
118
117
|
line-height: 34px;
|
|
119
118
|
color: #577696;
|
|
120
119
|
}
|