diff --git a/CHANGELOG.md b/CHANGELOG.md index e34523545..fd8a900b6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added +- (Worker) => Se crea la sección Taquilla + ### Fixed - (General) => Se vuelven a mostrar los parámetros en la url al aplicar un filtro diff --git a/src/components/CreateBankEntityForm.vue b/src/components/CreateBankEntityForm.vue index 4acc7b749..068646c9a 100644 --- a/src/components/CreateBankEntityForm.vue +++ b/src/components/CreateBankEntityForm.vue @@ -58,23 +58,19 @@ onMounted(async () => { > diff --git a/src/components/CreateNewProvinceForm.vue b/src/components/CreateNewProvinceForm.vue index d38ff94df..2d626ed99 100644 --- a/src/components/CreateNewProvinceForm.vue +++ b/src/components/CreateNewProvinceForm.vue @@ -40,24 +40,20 @@ const onDataSaved = (dataSaved) => { > diff --git a/src/components/CreateThermographForm.vue b/src/components/CreateThermographForm.vue index 60c531529..061c47712 100644 --- a/src/components/CreateThermographForm.vue +++ b/src/components/CreateThermographForm.vue @@ -54,51 +54,42 @@ const onDataSaved = (dataSaved) => { > diff --git a/src/components/EditPictureForm.vue b/src/components/EditPictureForm.vue index 2adbf5f83..a51ca11ad 100644 --- a/src/components/EditPictureForm.vue +++ b/src/components/EditPictureForm.vue @@ -246,61 +246,55 @@ const makeRequest = async () => {
-
- -
+
-
- - - - -
+ + + +
-
- -
+
{

{{ t('Filter item') }}

-
- -
-
- -
-
- -
-
- -
-
- -
+ + + + +
{

{{ t('Filter travels') }}

-
- -
-
- -
-
- -
-
- -
-
- -
+ + + + +
{ async function fetch() { try { - const { data } = await axios.get($props.url, { + let { data } = await axios.get($props.url, { params: { filter: JSON.stringify($props.filter) }, }); + + if (Array.isArray(data)) data = data[0] ?? {}; + state.set($props.model, data); originalData.value = data && JSON.parse(JSON.stringify(data)); diff --git a/src/components/RegularizeStockForm.vue b/src/components/RegularizeStockForm.vue index 098f8464d..4f97033b3 100644 --- a/src/components/RegularizeStockForm.vue +++ b/src/components/RegularizeStockForm.vue @@ -50,13 +50,11 @@ const onDataSaved = (data) => { >