@nixweb/nixloc-ui 0.0.90 → 0.0.91
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
|
@@ -142,7 +142,7 @@ export default {
|
|
|
142
142
|
let params = { url: this.modeloLista.urlGetApi, obj: obj };
|
|
143
143
|
this.getApi(params).then((response) => {
|
|
144
144
|
this.conteudo = response.conteudo;
|
|
145
|
-
this.removeCarregando(["painel", "pesquisar", "limpar"]);
|
|
145
|
+
this.removeCarregando(["painel", "modeloSubView", "pesquisar", "limpar"]);
|
|
146
146
|
});
|
|
147
147
|
},
|
|
148
148
|
removerSelecionados() {
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div>
|
|
3
|
+
<Carregando :centralizado="false" v-show="carregando('modeloSubView')" />
|
|
4
|
+
<div v-show="!carregando('modeloSubView')">
|
|
5
|
+
<slot name="conteudo-botoes"></slot>
|
|
6
|
+
<div v-if="mostrarPesquisa">
|
|
7
|
+
<Pesquisa />
|
|
8
|
+
<br />
|
|
9
|
+
</div>
|
|
10
|
+
|
|
11
|
+
<ModeloLista
|
|
12
|
+
:modeloLista="modeloLista"
|
|
13
|
+
:propsParam="propsParam"
|
|
14
|
+
:mostrarMoldura="false"
|
|
15
|
+
:mostrarFiltroHorizontal="mostrarFiltroHorizontal"
|
|
16
|
+
:botaoExcluir="botaoExcluir"
|
|
17
|
+
>
|
|
18
|
+
<div slot="conteudo-botoes-tabela-cabecalho">
|
|
19
|
+
<slot name="conteudo-botoes-tabela-cabecalho"></slot>
|
|
20
|
+
</div>
|
|
21
|
+
<div slot="conteudo-filtro-horizontal">
|
|
22
|
+
<slot name="conteudo-filtro-horizontal"></slot>
|
|
23
|
+
</div>
|
|
24
|
+
<div slot="conteudo-botoes-tabela">
|
|
25
|
+
<slot name="conteudo-botoes-tabela"></slot>
|
|
26
|
+
</div>
|
|
27
|
+
</ModeloLista>
|
|
28
|
+
</div>
|
|
29
|
+
</div>
|
|
30
|
+
</template>
|
|
31
|
+
|
|
32
|
+
<script>
|
|
33
|
+
import Pesquisa from "../shared/Pesquisa.vue";
|
|
34
|
+
import Carregando from "../shared/Carregando.vue";
|
|
35
|
+
|
|
36
|
+
import ModeloLista from "@nixweb/nixloc-ui/src/component/template/ModeloLista.vue";
|
|
37
|
+
|
|
38
|
+
import { mapState, mapGetters, mapMutations } from "vuex";
|
|
39
|
+
|
|
40
|
+
export default {
|
|
41
|
+
name: "ModeloView",
|
|
42
|
+
components: { Pesquisa, Carregando, ModeloLista },
|
|
43
|
+
props: {
|
|
44
|
+
modeloLista: Object,
|
|
45
|
+
propsParam: Object,
|
|
46
|
+
mostrarPesquisa: {
|
|
47
|
+
type: Boolean,
|
|
48
|
+
default: true,
|
|
49
|
+
},
|
|
50
|
+
mostrarFiltroHorizontal: {
|
|
51
|
+
type: Boolean,
|
|
52
|
+
default: true,
|
|
53
|
+
},
|
|
54
|
+
botaoExcluir: {
|
|
55
|
+
type: Boolean,
|
|
56
|
+
default: true,
|
|
57
|
+
},
|
|
58
|
+
},
|
|
59
|
+
computed: {
|
|
60
|
+
...mapGetters("generic", ["carregando"]),
|
|
61
|
+
},
|
|
62
|
+
created() {
|
|
63
|
+
this.insereCarregando("modeloSubView");
|
|
64
|
+
},
|
|
65
|
+
methods: {
|
|
66
|
+
...mapMutations("generic", ["insereCarregando"]),
|
|
67
|
+
},
|
|
68
|
+
};
|
|
69
|
+
</script>
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div>
|
|
3
|
-
<slot name="conteudo-botoes"></slot>
|
|
4
|
-
<div v-if="mostrarPesquisa">
|
|
5
|
-
<Pesquisa />
|
|
6
|
-
<br />
|
|
7
|
-
</div>
|
|
8
|
-
|
|
9
|
-
<ModeloLista
|
|
10
|
-
:modeloLista="modeloLista"
|
|
11
|
-
:propsParam="propsParam"
|
|
12
|
-
:mostrarMoldura="false"
|
|
13
|
-
:mostrarFiltroHorizontal="mostrarFiltroHorizontal"
|
|
14
|
-
:botaoExcluir="botaoExcluir"
|
|
15
|
-
>
|
|
16
|
-
<div slot="conteudo-botoes-tabela-cabecalho">
|
|
17
|
-
<slot name="conteudo-botoes-tabela-cabecalho"></slot>
|
|
18
|
-
</div>
|
|
19
|
-
<div slot="conteudo-filtro-horizontal">
|
|
20
|
-
<slot name="conteudo-filtro-horizontal"></slot>
|
|
21
|
-
</div>
|
|
22
|
-
<div slot="conteudo-botoes-tabela">
|
|
23
|
-
<slot name="conteudo-botoes-tabela"></slot>
|
|
24
|
-
</div>
|
|
25
|
-
</ModeloLista>
|
|
26
|
-
</div>
|
|
27
|
-
</template>
|
|
28
|
-
|
|
29
|
-
<script>
|
|
30
|
-
import Pesquisa from "../shared/Pesquisa.vue";
|
|
31
|
-
|
|
32
|
-
import ModeloLista from "@nixweb/nixloc-ui/src/component/template/ModeloLista.vue";
|
|
33
|
-
|
|
34
|
-
export default {
|
|
35
|
-
name: "ModeloView",
|
|
36
|
-
components: { Pesquisa, ModeloLista },
|
|
37
|
-
props: {
|
|
38
|
-
modeloLista: Object,
|
|
39
|
-
propsParam: Object,
|
|
40
|
-
mostrarPesquisa: {
|
|
41
|
-
type: Boolean,
|
|
42
|
-
default: true,
|
|
43
|
-
},
|
|
44
|
-
mostrarFiltroHorizontal: {
|
|
45
|
-
type: Boolean,
|
|
46
|
-
default: true,
|
|
47
|
-
},
|
|
48
|
-
botaoExcluir: {
|
|
49
|
-
type: Boolean,
|
|
50
|
-
default: true,
|
|
51
|
-
},
|
|
52
|
-
},
|
|
53
|
-
};
|
|
54
|
-
</script>
|