From d9e71eaf55f8bbbcb1205e9965cdcdfa7d27a507 Mon Sep 17 00:00:00 2001 From: Juan Felipe Zapata Moreno Date: Wed, 19 Nov 2025 13:07:31 -0600 Subject: [PATCH] WIP: conceptos y multa --- .env.example | 2 +- index.html | 2 +- public/favicon.png | Bin 0 -> 1336 bytes public/vite.svg | 1 - src/components/App/ConceptSection.vue | 22 +-- src/components/App/FineSection.vue | 203 +++++++++++++++++++------- 6 files changed, 164 insertions(+), 66 deletions(-) create mode 100644 public/favicon.png delete mode 100644 public/vite.svg diff --git a/.env.example b/.env.example index 626feab..c3d4739 100644 --- a/.env.example +++ b/.env.example @@ -1,4 +1,4 @@ -VITE_APP_NAME=GOLSCONTROL +VITE_APP_NAME=Ayuntamiento de Comalcalco VITE_APP_URL=http://frontend.golscontrol.test VITE_APP_LANG=es-MX VITE_APP_PORT=3000 diff --git a/index.html b/index.html index 0749d22..27c4303 100644 --- a/index.html +++ b/index.html @@ -2,7 +2,7 @@ - + Holos diff --git a/public/favicon.png b/public/favicon.png new file mode 100644 index 0000000000000000000000000000000000000000..48446b250a89bc96c813e6bb4e951bb2801999f0 GIT binary patch literal 1336 zcmeAS@N?(olHy`uVBq!ia0vp^N+8U^1|+TAxeoy;&H|6fVg?3rK@esh^I`7q1Ci#jeI;jJlq#r_<_o78a6QlWxq&DNbngM7&PdxSV}FC zdnPfVj(LLegcl$)4gPW*IB)=>Kk3jzjtR&9Dm2%2i)l9)Ogir<*6@K12;6}R`8+-; z96#{HQH;Ie$wEF>%LhzXazYSV8Cp54?p=|7ykVvJGkY^jFM|_46K+bR{rP_$YW6|# z{Mo;g90MJz;hGLT6$mgeyL5o{L?#a-!WYs?6$hAsHooALoOaqFlWU5YLniYQzST!H zfC0h?@#(DW1#JyN+B^+KY(^W>6B2fCcrDoH+I{dMdnwDApb2#W>sGb5>9}2UV+4i< z#07_DWnW-4Nk3p1A~z-5EazP}>r`O{hEu$M0(gQq3!JKB&<)8SwbCiY3I>fT znFR|OPp#_&8q(_VlwYGIp@_?3vmP))z|K%I?>(@HE6iZJcWsFfj%s9bM6Q zkwItUBX)!@RDU;R-Km+8>~Ph3p_ZJ;+>C{-vcNn64Hor{O)|`0+zZxt%@vb@#pj|W z-&nVr7O2_jFih##h)4{Jwn#FtU9jSa<*~GF)H+%*hYfDfqAq6#Q-h$x>`xd9#M;v0 z1rEr!!rcH&;Cs$mnJ|3PUGbD{lSIgb#!CV#TwL>39u(49;n~26Nb|EI7WT#m{9}JQ zr8ncI7@I>|vsXxgBy%atx;H$<0^hnO!2ecz((~5L>Mj;=Ie?N_;a{PJjFoAHes`jWWyrfD`Jry=LLa|gk_A^0xIl{ zr+6l;cl_wbRl)JL=)u|#K&L@V6=2K-9B*)9e`2UPToEQI0}mvn(~2R8m|pt$gK^>bP0l+XkK DPvG(K literal 0 HcmV?d00001 diff --git a/public/vite.svg b/public/vite.svg deleted file mode 100644 index e7b8dfb..0000000 --- a/public/vite.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/src/components/App/ConceptSection.vue b/src/components/App/ConceptSection.vue index c255d5c..7d620a9 100644 --- a/src/components/App/ConceptSection.vue +++ b/src/components/App/ConceptSection.vue @@ -46,17 +46,17 @@ onMounted(async () => { /** Métodos */ const handleSubmit = () => { const transformedData = { - direction_id: typeof modelModal.value.direction === 'object' ? modelModal.value.direction.id : Number(modelModal.value.direction_id), - unit_id: modelModal.value.unit ? (typeof modelModal.value.unit === 'object' ? modelModal.value.unit.id : Number(modelModal.value.unit)) : null, - short_name: modelModal.value.short_name, - name: modelModal.value.name, - legal_instrument: modelModal.value.legal_instrument, - article: modelModal.value.article, - content: modelModal.value.content, - min_amount_uma: modelModal.value.min_amount_uma ? Number(modelModal.value.min_amount_uma) : null, - max_amount_uma: modelModal.value.max_amount_uma ? Number(modelModal.value.max_amount_uma) : null, - min_amount_peso: modelModal.value.min_amount_peso ? Number(modelModal.value.min_amount_peso) : null, - max_amount_peso: modelModal.value.max_amount_peso ? Number(modelModal.value.max_amount_peso) : null, + direction_id: typeof form.direction === 'object' ? form.direction.id : Number(form.direction_id), + unit_id: form.unit ? (typeof form.unit === 'object' ? form.unit.id : Number(form.unit)) : null, + short_name: form.short_name, + name: form.name, + legal_instrument: form.legal_instrument, + article: form.article, + content: form.content, + min_amount_uma: form.min_amount_uma ? Number(form.min_amount_uma) : null, + max_amount_uma: form.max_amount_uma ? Number(form.max_amount_uma) : null, + min_amount_peso: form.min_amount_peso ? Number(form.min_amount_peso) : null, + max_amount_peso: form.max_amount_peso ? Number(form.max_amount_peso) : null, unit_cost_uma: form.unit_cost_uma ? Number(form.unit_cost_uma) : null, unit_cost_peso: form.unit_cost_peso ? Number(form.unit_cost_peso) : null, }; diff --git a/src/components/App/FineSection.vue b/src/components/App/FineSection.vue index 45b09d4..1d79de7 100644 --- a/src/components/App/FineSection.vue +++ b/src/components/App/FineSection.vue @@ -1,5 +1,6 @@