This file contains 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
<?php | |
/** | |
* list user data | |
*/ | |
public function login(array $data): void | |
{ | |
$data = json_decode($data['data'], true); | |
$this->email = $data['email']; |
This file contains 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
<?php | |
/** | |
* Upload photo the specified resource in storage. | |
* | |
* @param UploadUser $request | |
* @param User $user | |
* @return Response | |
*/ | |
public function uploadPhoto(UploadUser $request, User $user) | |
{ |
This file contains 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> | |
<q-dialog v-model="value" @hide="fechar"> | |
<q-card class="q-pa-md" style="width: 500px; max-width: 94%;" > | |
<q-toolbar> | |
<q-toolbar-title>{{ title }}</q-toolbar-title> | |
<q-btn flat round dense icon="r_close" @click="fechar"/> | |
</q-toolbar> | |
<q-tab-panels v-model="tab" animated class=""> | |
<q-tab-panel name="dados"> | |
<q-card-section> |
This file contains 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> | |
<div class="q-pa-md"> | |
<q-breadcrumbs class="q-pl-sm q-mb-md"> | |
<q-breadcrumbs-el label="Dashboard" to="/" /> | |
<q-breadcrumbs-el label="Cadastros" /> | |
<q-breadcrumbs-el label="Departamentos" /> | |
</q-breadcrumbs> | |
<div class="q-pb-md"> | |
<q-btn label="Novo" icon="r_add_circle" color="green-5" @click="abrir()" /> | |
</div> |