This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| atom |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //actions | |
| export const resetMessages = ({ commit }) => { | |
| commit(TYPES.SET_MESSAGE, { type: 'success', message: '' }) | |
| commit(TYPES.SET_MESSAGE, { type: 'error', message: [] }) | |
| commit(TYPES.SET_MESSAGE, { type: 'warning', message: '' }) | |
| commit(TYPES.SET_MESSAGE, { type: 'validation', message: [] }) | |
| } | |
| // mutations | |
| export default { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| auth/store/plugins.js | |
| import localforage from 'localforage' | |
| import { userToken } from 'src/config' | |
| import { setToken } from 'src/plugins/http' | |
| import * as TYPES from './mutations-types' | |
| const subscribe = (store) => { | |
| store.subscribe((mutation, { auth }) => { | |
| if (TYPES.SET_TOKEN === mutation.type) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <template lang="html"> | |
| <div class="custom-loading-spiner-holder" v-if="show"> | |
| <div class="loading-spiner"> | |
| <div class="sk-circle "> | |
| <div class="sk-circle1 sk-child"></div> | |
| <div class="sk-circle2 sk-child"></div> | |
| <div class="sk-circle3 sk-child"></div> | |
| <div class="sk-circle4 sk-child"></div> | |
| <div class="sk-circle5 sk-child"></div> | |
| <div class="sk-circle6 sk-child"></div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import { routes as auth } from './auth' | |
| import { routes as home } from './home' | |
| import Content from 'components/root/Content' | |
| caminho padrao de rota é '/' após o usuario efetuar login. | |
| Segundo a documentação quando eu realizar matched na rota '/', o conteudo da rota home será renderizado dentro do componente | |
| da rota pai, porém isso não esta acontencendo, segue em anexo as rotas. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Configuração Sublime Text |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| mounted () { | |
| getUsersManagers().then(data => { | |
| this.userOwnerOptions = data.info.map(value => ({ label: value.firstName, value: value._id })) | |
| }) | |
| this.searchTasks() | |
| }, | |
| // esse userOwnerOptions é passado para um array de filtros q eu renderizo dinamicamente quando o usuario seleciona | |
| filters: [ | |
| { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @Configuration | |
| @EnableWebSecurity(debug = false) | |
| @EnableGlobalMethodSecurity(prePostEnabled = true, securedEnabled = true) | |
| public class WebApplicationSecurityConfigurerAdapter extends WebSecurityConfigurerAdapter { | |
| public static final String J_SPRING_SECURITY_LOGOUT = "/j_spring_security_logout"; | |
| public static final String J_SPRING_SECURITY_CHECK = "/j_spring_security_check"; | |
| public static final String J_USERNAME = "user"; | |
| public static final String J_PASSWORD = "password"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <template lang="html"> | |
| <div> | |
| <div class="card-title"> | |
| <q-autocomplete v-model="school" :delay="0" @search="getAllSchool()" :max-results="2"> | |
| <q-search v-model="school"></q-search> | |
| </q-autocomplete> | |
| </div> | |
| <div class="card"> | |
| <div class="card-content bg-white bg-blue-grey-1" v-if="school"> | |
| <div class="row gutter wrap"> |
OlderNewer