fix: mistakes like console.log an disables
gitea/salix-front/pipeline/pr-dev There was a failure building this commit Details

This commit is contained in:
Pablo Natek 2024-04-25 16:18:06 +02:00
parent f2d0d3f3ff
commit 5544676a1b
9 changed files with 12 additions and 14 deletions

View File

@ -98,6 +98,7 @@ globals:
worker: Worker
now: Now
name: Name
new: New
errors:
statusUnauthorized: Access denied
statusInternalServerError: An internal server error has ocurred
@ -1174,8 +1175,8 @@ agency:
isOwn: Own
isAnyVolumeAllowed: Any volume allowed
notification:
removeItem: Agency removed successfully
removeItemError: Error removing agency
removeItem: WorkCenter removed successfully
pageTitles:
agency: Agency
searchBar:

View File

@ -98,6 +98,7 @@ globals:
worker: Trabajador
now: Ahora
name: Nombre
new: Nuevo
errors:
statusUnauthorized: Acceso denegado
statusInternalServerError: Ha ocurrido un error interno del servidor
@ -1175,6 +1176,7 @@ agency:
removeItem: Agencia eliminada correctamente
notification:
removeItemError: Error al eliminar la agencia
removeItem: Centro de trabajo eliminado correctamente
pageTitles:
agency: Agencia
searchBar:

View File

@ -14,7 +14,6 @@ function navigate(id) {
}
function exprBuilder(param, value) {
if (!value) return;
console.log('value: ', value);
if (param !== 'search') return;
if (!isNaN(value)) return { id: value };
@ -62,13 +61,6 @@ function exprBuilder(param, value) {
:disable="true"
/>
</template>
<template #actions>
<QBtn
:label="t('components.smartCard.openCard')"
@click.stop="navigate(row.id)"
outline
/>
</template>
</CardList>
</template>
</VnPaginate>

View File

@ -19,7 +19,6 @@ const { params } = useRoute();
const entityId = computed(() => props.id || params.id);
const { store } = useArrayData('Parking');
const card = computed(() => store.data);
console.log('card: ', card);
</script>
<template>
<CardDescriptor

View File

@ -8,7 +8,6 @@ import VnLv from 'src/components/ui/VnLv.vue';
const { t } = useI18n();
const route = useRoute();
console.log('route: ', route.path);
const routeId = route.params.id;
</script>
<template>

View File

@ -38,10 +38,15 @@ const filter = {
/>
</QCardSection>
<VnLv :label="t('globals.name')" :value="agency.name" />
<QCheckbox :label="t('agency.isOwn')" v-model="agency.isOwn" />
<QCheckbox
:label="t('agency.isOwn')"
v-model="agency.isOwn"
:disable="true"
/>
<QCheckbox
:label="t('agency.isAnyVolumeAllowed')"
v-model="agency.isAnyVolumeAllowed"
:disable="true"
/>
</QCard>
</template>

View File

@ -134,6 +134,8 @@ async function deleteWorCenter(id) {
Search agency: Buscar agencia
You can search by name: Puedes buscar por nombre
This workCenter is already assigned to this agency: Este workCenter ya está asignado a esta agencia
Add work center: Añadir centro de trabajo
workCenter: Centro de trabajo
en:
isOwn: Has owner
isAnyVolumeAllowed: Allows any volume

View File

@ -13,7 +13,6 @@ const router = useRouter();
const initialData = ref({});
const setClient = (data) => {
console.log(data.credit);
initialData.value.credit = data.credit;
};

View File

@ -73,7 +73,6 @@ const fetchAddresses = async (formData) => {
const { defaultAddress } = selectedClient.value;
formData.addressId = defaultAddress.id;
console.log();
} catch (err) {
console.error(`Error fetching addresses`, err);
return err.response;