add: update user profile done
This commit is contained in:
@@ -8,6 +8,16 @@
|
||||
required: true,
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
/*
|
||||
- Ocultar el RFC y Afilizaicon de la empresa y en todos lados, incluso en la aplicación
|
||||
- Editar ocultar el form de ubicicacion
|
||||
- Form de directorio agregar un campo para tipo de ubicacion
|
||||
- Agregar otro page para cambiar el correo y contraseña
|
||||
- Quitar telefono 2, segmento y tipo de transporte en usuarios form
|
||||
- Se va a cambiar el endpint para obtener las ubicaciones de usuarios form, vehiculo
|
||||
*/
|
||||
</script>
|
||||
|
||||
<template>
|
||||
@@ -16,14 +26,14 @@
|
||||
<div class="divider"></div>
|
||||
<div class="row mt-4">
|
||||
<div class="col-lg-6 col-sm-12">
|
||||
<p><span>RFC:</span> {{ company.rfc }}</p>
|
||||
<p><span>Tipo de empresa:</span> {{ company.company_type || 'No definido' }}</p>
|
||||
<!-- <p><span>RFC:</span> {{ company.rfc }}</p> -->
|
||||
<!-- <p><span>Tipo de empresa:</span> {{ company.company_type || 'No definido' }}</p> -->
|
||||
<p><span>Código:</span> {{ company.company_code }}</p>
|
||||
<p><span>Empresa miembro desde: </span>{{getDateMonthDay(company.createdAt)}}</p>
|
||||
<p><span>Afiliación: </span> {{company.membership}}</p>
|
||||
<p><span>Segmento empresa:</span> {{ company._categories }}</p>
|
||||
<!-- <p><span>Afiliación: </span> {{company.membership}}</p> -->
|
||||
</div>
|
||||
<div class="col-lg-6 col-sm-12">
|
||||
<p><span>Segmento empresa:</span> {{ company._categories }}</p>
|
||||
<p><span>Locaciones de carga por estado: </span>{{company._company_state}}</p>
|
||||
<p><span>Locaciones de carga por municipio: </span>{{company._company_city}}</p>
|
||||
<p><span>Transportes utilizados: </span>{{company._truck_types}}</p>
|
||||
|
||||
@@ -209,14 +209,6 @@
|
||||
|
||||
:error="errors.phone"
|
||||
/>
|
||||
<CustomInput
|
||||
label="Teléfono 2"
|
||||
name="phone2"
|
||||
type="number"
|
||||
v-model:field="userForm.phone2"
|
||||
:step="1"
|
||||
:filled="false"
|
||||
/>
|
||||
<CustomInput
|
||||
label="Correo electronico*"
|
||||
name="email"
|
||||
|
||||
@@ -66,7 +66,7 @@
|
||||
<i class="fa-solid fa-location-dot" :class="[route.name === 'locations' ? 'router-link-active' : '']"></i>
|
||||
<RouterLink
|
||||
active-class=""
|
||||
class="nav-link" :to="{name: 'locations'}">Ubicaciones</RouterLink>
|
||||
class="nav-link" :to="{name: 'locations'}">Directorio interno</RouterLink>
|
||||
</div>
|
||||
</li>
|
||||
<li
|
||||
|
||||
@@ -1,10 +1,8 @@
|
||||
<script setup>
|
||||
import { onMounted, reactive, ref } from 'vue';
|
||||
import Spiner from '../ui/Spiner.vue';
|
||||
import Cities from './Cities.vue';
|
||||
import NotificationBadge from './NotificationBadge.vue';
|
||||
import Segments from './Segments.vue';
|
||||
import States from './States.vue';
|
||||
import TruckTypes from './TruckTypes.vue';
|
||||
import Custominput from './CustomInput.vue';
|
||||
import { useCompanyStore } from '../../stores/company';
|
||||
@@ -123,7 +121,7 @@
|
||||
:multiple="true"
|
||||
/>
|
||||
</div>
|
||||
<div class="mb-4">
|
||||
<!-- <div class="mb-4">
|
||||
<label class="custom-label">Ubicaciones de carga por estado</label>
|
||||
<States
|
||||
v-model="company.states"
|
||||
@@ -136,7 +134,7 @@
|
||||
v-model="company.cities"
|
||||
:multiple="true"
|
||||
/>
|
||||
</div>
|
||||
</div> -->
|
||||
<div class="mb-4">
|
||||
<label class="custom-label">Tipo de transportes que utiliza</label>
|
||||
<TruckTypes
|
||||
|
||||
Reference in New Issue
Block a user