From 4e8f524f49cc234e128af6c93af9297112c9310d Mon Sep 17 00:00:00 2001 From: pablone Date: Thu, 9 May 2024 22:47:13 +0200 Subject: [PATCH 1/9] feat: add new list form with popup --- src/pages/Worker/Card/WorkerPda.vue | 264 ++++++++++++++++------------ 1 file changed, 155 insertions(+), 109 deletions(-) diff --git a/src/pages/Worker/Card/WorkerPda.vue b/src/pages/Worker/Card/WorkerPda.vue index 5e7c89326..c903cd6cc 100644 --- a/src/pages/Worker/Card/WorkerPda.vue +++ b/src/pages/Worker/Card/WorkerPda.vue @@ -1,140 +1,186 @@ - + es: PDA deallocated: PDA desasignada + Current SIM: SIM actual From bc9c1fdf8e5b70a6d14c865d9704688fca9fd6fb Mon Sep 17 00:00:00 2001 From: pablone Date: Wed, 15 May 2024 22:17:40 +0200 Subject: [PATCH 2/9] feat: pda duplicates --- src/pages/Customer/Card/CustomerBasicData.vue | 1 + src/pages/Worker/Card/WorkerPda.vue | 39 ++++++++++++------- 2 files changed, 25 insertions(+), 15 deletions(-) diff --git a/src/pages/Customer/Card/CustomerBasicData.vue b/src/pages/Customer/Card/CustomerBasicData.vue index d646b810e..9048bc4ee 100644 --- a/src/pages/Customer/Card/CustomerBasicData.vue +++ b/src/pages/Customer/Card/CustomerBasicData.vue @@ -135,6 +135,7 @@ const filterOptions = { :rules="validate('client.mobile')" clearable v-model="data.mobile" + type="number" /> diff --git a/src/pages/Worker/Card/WorkerPda.vue b/src/pages/Worker/Card/WorkerPda.vue index c903cd6cc..435502ee9 100644 --- a/src/pages/Worker/Card/WorkerPda.vue +++ b/src/pages/Worker/Card/WorkerPda.vue @@ -2,16 +2,14 @@ import { useI18n } from 'vue-i18n'; import { useRoute } from 'vue-router'; import { ref, computed } from 'vue'; -import { useRole } from 'src/composables/useRole'; + import axios from 'axios'; import useNotify from 'src/composables/useNotify.js'; - import FetchData from 'components/FetchData.vue'; +import FormModelPopup from 'src/components/FormModelPopup.vue'; import VnPaginate from 'src/components/ui/VnPaginate.vue'; -import FormModelPopup from 'src/components/FormModelPopup.vue'; import VnRow from 'components/ui/VnRow.vue'; -import VnLv from 'src/components/ui/VnLv.vue'; import VnSelect from 'src/components/common/VnSelect.vue'; import VnInput from 'src/components/common/VnInput.vue'; @@ -47,8 +45,7 @@ const deallocatePDA = async (deviceProductionFk) => {