@metano/quasar_rest_auth 1.0.5 → 1.0.7
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/components/SearchMenu.vue +11 -8
- package/package.json +1 -1
- package/pages/auth/LoginPage.vue +2 -2
- package/stores/AuthStore.js +1 -1
|
@@ -1,18 +1,21 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div >
|
|
3
|
-
<
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
3
|
+
<input
|
|
4
|
+
v-model="Auth.search"
|
|
5
|
+
class="bg-transparent input-28 "
|
|
6
|
+
@input="filterMenus"
|
|
7
|
+
:placeholder="tdc('Procurar')"
|
|
8
|
+
/>
|
|
9
9
|
</div>
|
|
10
10
|
</template>
|
|
11
11
|
|
|
12
12
|
<style scoped>
|
|
13
|
-
.input-28
|
|
13
|
+
.input-28 {
|
|
14
14
|
height: 28px;
|
|
15
|
-
|
|
15
|
+
line-height: 28px; /* centraliza o texto verticalmente */
|
|
16
|
+
width: 220px; /* ajuste o comprimento aqui */
|
|
17
|
+
padding: 0 8px; /* espaço interno lateral */
|
|
18
|
+
box-sizing: border-box;
|
|
16
19
|
}
|
|
17
20
|
</style>
|
|
18
21
|
|
package/package.json
CHANGED
package/pages/auth/LoginPage.vue
CHANGED
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
<script>
|
|
8
8
|
import { defineComponent } from 'vue'
|
|
9
9
|
|
|
10
|
-
import { UserStore } from '
|
|
11
|
-
import FormLogin from '
|
|
10
|
+
import { UserStore } from './../../stores/AuthStore'
|
|
11
|
+
import FormLogin from './../../components/FormLogin.vue'
|
|
12
12
|
|
|
13
13
|
export default defineComponent({
|
|
14
14
|
components: {
|
package/stores/AuthStore.js
CHANGED
|
@@ -449,7 +449,7 @@ export const UserStore = defineStore("user", {
|
|
|
449
449
|
async setEntidadeModulos () {
|
|
450
450
|
if (getStorage('c', 'userEntidade') !== null) {
|
|
451
451
|
|
|
452
|
-
const rsp = await HTTPAuth.get(url({ type: 'u', url: 'auth/entidades/' + this.Entidade
|
|
452
|
+
const rsp = await HTTPAuth.get(url({ type: 'u', url: 'auth/entidades/' + this.Entidade?.id + '/modulos/', params: { } }))
|
|
453
453
|
.then(res => {
|
|
454
454
|
setStorage('c', 'entidadeModulos', JSON.stringify(res.data), 365)
|
|
455
455
|
this.EntidadeModulos = res.data
|