fix: mistakes like console.log an disables
gitea/salix-front/pipeline/pr-dev There was a failure building this commit
Details
gitea/salix-front/pipeline/pr-dev There was a failure building this commit
Details
This commit is contained in:
parent
f2d0d3f3ff
commit
5544676a1b
|
@ -98,6 +98,7 @@ globals:
|
||||||
worker: Worker
|
worker: Worker
|
||||||
now: Now
|
now: Now
|
||||||
name: Name
|
name: Name
|
||||||
|
new: New
|
||||||
errors:
|
errors:
|
||||||
statusUnauthorized: Access denied
|
statusUnauthorized: Access denied
|
||||||
statusInternalServerError: An internal server error has ocurred
|
statusInternalServerError: An internal server error has ocurred
|
||||||
|
@ -1174,8 +1175,8 @@ agency:
|
||||||
isOwn: Own
|
isOwn: Own
|
||||||
isAnyVolumeAllowed: Any volume allowed
|
isAnyVolumeAllowed: Any volume allowed
|
||||||
notification:
|
notification:
|
||||||
removeItem: Agency removed successfully
|
|
||||||
removeItemError: Error removing agency
|
removeItemError: Error removing agency
|
||||||
|
removeItem: WorkCenter removed successfully
|
||||||
pageTitles:
|
pageTitles:
|
||||||
agency: Agency
|
agency: Agency
|
||||||
searchBar:
|
searchBar:
|
||||||
|
|
|
@ -98,6 +98,7 @@ globals:
|
||||||
worker: Trabajador
|
worker: Trabajador
|
||||||
now: Ahora
|
now: Ahora
|
||||||
name: Nombre
|
name: Nombre
|
||||||
|
new: Nuevo
|
||||||
errors:
|
errors:
|
||||||
statusUnauthorized: Acceso denegado
|
statusUnauthorized: Acceso denegado
|
||||||
statusInternalServerError: Ha ocurrido un error interno del servidor
|
statusInternalServerError: Ha ocurrido un error interno del servidor
|
||||||
|
@ -1175,6 +1176,7 @@ agency:
|
||||||
removeItem: Agencia eliminada correctamente
|
removeItem: Agencia eliminada correctamente
|
||||||
notification:
|
notification:
|
||||||
removeItemError: Error al eliminar la agencia
|
removeItemError: Error al eliminar la agencia
|
||||||
|
removeItem: Centro de trabajo eliminado correctamente
|
||||||
pageTitles:
|
pageTitles:
|
||||||
agency: Agencia
|
agency: Agencia
|
||||||
searchBar:
|
searchBar:
|
||||||
|
|
|
@ -14,7 +14,6 @@ function navigate(id) {
|
||||||
}
|
}
|
||||||
function exprBuilder(param, value) {
|
function exprBuilder(param, value) {
|
||||||
if (!value) return;
|
if (!value) return;
|
||||||
console.log('value: ', value);
|
|
||||||
if (param !== 'search') return;
|
if (param !== 'search') return;
|
||||||
|
|
||||||
if (!isNaN(value)) return { id: value };
|
if (!isNaN(value)) return { id: value };
|
||||||
|
@ -62,13 +61,6 @@ function exprBuilder(param, value) {
|
||||||
:disable="true"
|
:disable="true"
|
||||||
/>
|
/>
|
||||||
</template>
|
</template>
|
||||||
<template #actions>
|
|
||||||
<QBtn
|
|
||||||
:label="t('components.smartCard.openCard')"
|
|
||||||
@click.stop="navigate(row.id)"
|
|
||||||
outline
|
|
||||||
/>
|
|
||||||
</template>
|
|
||||||
</CardList>
|
</CardList>
|
||||||
</template>
|
</template>
|
||||||
</VnPaginate>
|
</VnPaginate>
|
||||||
|
|
|
@ -19,7 +19,6 @@ const { params } = useRoute();
|
||||||
const entityId = computed(() => props.id || params.id);
|
const entityId = computed(() => props.id || params.id);
|
||||||
const { store } = useArrayData('Parking');
|
const { store } = useArrayData('Parking');
|
||||||
const card = computed(() => store.data);
|
const card = computed(() => store.data);
|
||||||
console.log('card: ', card);
|
|
||||||
</script>
|
</script>
|
||||||
<template>
|
<template>
|
||||||
<CardDescriptor
|
<CardDescriptor
|
||||||
|
|
|
@ -8,7 +8,6 @@ import VnLv from 'src/components/ui/VnLv.vue';
|
||||||
|
|
||||||
const { t } = useI18n();
|
const { t } = useI18n();
|
||||||
const route = useRoute();
|
const route = useRoute();
|
||||||
console.log('route: ', route.path);
|
|
||||||
const routeId = route.params.id;
|
const routeId = route.params.id;
|
||||||
</script>
|
</script>
|
||||||
<template>
|
<template>
|
||||||
|
|
|
@ -38,10 +38,15 @@ const filter = {
|
||||||
/>
|
/>
|
||||||
</QCardSection>
|
</QCardSection>
|
||||||
<VnLv :label="t('globals.name')" :value="agency.name" />
|
<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
|
<QCheckbox
|
||||||
:label="t('agency.isAnyVolumeAllowed')"
|
:label="t('agency.isAnyVolumeAllowed')"
|
||||||
v-model="agency.isAnyVolumeAllowed"
|
v-model="agency.isAnyVolumeAllowed"
|
||||||
|
:disable="true"
|
||||||
/>
|
/>
|
||||||
</QCard>
|
</QCard>
|
||||||
</template>
|
</template>
|
||||||
|
|
|
@ -134,6 +134,8 @@ async function deleteWorCenter(id) {
|
||||||
Search agency: Buscar agencia
|
Search agency: Buscar agencia
|
||||||
You can search by name: Puedes buscar por nombre
|
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
|
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:
|
en:
|
||||||
isOwn: Has owner
|
isOwn: Has owner
|
||||||
isAnyVolumeAllowed: Allows any volume
|
isAnyVolumeAllowed: Allows any volume
|
||||||
|
|
|
@ -13,7 +13,6 @@ const router = useRouter();
|
||||||
const initialData = ref({});
|
const initialData = ref({});
|
||||||
|
|
||||||
const setClient = (data) => {
|
const setClient = (data) => {
|
||||||
console.log(data.credit);
|
|
||||||
initialData.value.credit = data.credit;
|
initialData.value.credit = data.credit;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -73,7 +73,6 @@ const fetchAddresses = async (formData) => {
|
||||||
|
|
||||||
const { defaultAddress } = selectedClient.value;
|
const { defaultAddress } = selectedClient.value;
|
||||||
formData.addressId = defaultAddress.id;
|
formData.addressId = defaultAddress.id;
|
||||||
console.log();
|
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
console.error(`Error fetching addresses`, err);
|
console.error(`Error fetching addresses`, err);
|
||||||
return err.response;
|
return err.response;
|
||||||
|
|
Loading…
Reference in New Issue