From cd1a733ef6b740cd03484e4e98d46576acac4ce6 Mon Sep 17 00:00:00 2001 From: AnandaTon Date: Thu, 19 Oct 2023 13:47:54 +0700 Subject: [PATCH] =?UTF-8?q?=E0=B9=80=E0=B8=9E=E0=B8=B4=E0=B9=88=E0=B8=A1?= =?UTF-8?q?=20currency=20input?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/CurruncyInput.vue | 5 +- .../components/CurruncyInput.vue | 60 +++ .../03_recruiting/components/Occupation.vue | 412 +++++++----------- .../03_recruiting/interface/index/Main.ts | 4 +- 4 files changed, 235 insertions(+), 246 deletions(-) create mode 100644 src/modules/03_recruiting/components/CurruncyInput.vue diff --git a/src/components/CurruncyInput.vue b/src/components/CurruncyInput.vue index 89d371935..9386d093e 100644 --- a/src/components/CurruncyInput.vue +++ b/src/components/CurruncyInput.vue @@ -26,7 +26,10 @@ import { ref, useSlots, watch } from "vue"; const slots = ref(useSlots()); const props = defineProps({ - modelValue: Number, + modelValue: { + type: Number, + default: undefined, + }, dense: { type: Boolean, default: true, diff --git a/src/modules/03_recruiting/components/CurruncyInput.vue b/src/modules/03_recruiting/components/CurruncyInput.vue new file mode 100644 index 000000000..9386d093e --- /dev/null +++ b/src/modules/03_recruiting/components/CurruncyInput.vue @@ -0,0 +1,60 @@ + + + diff --git a/src/modules/03_recruiting/components/Occupation.vue b/src/modules/03_recruiting/components/Occupation.vue index 9fc2ebc51..7ab6eb574 100644 --- a/src/modules/03_recruiting/components/Occupation.vue +++ b/src/modules/03_recruiting/components/Occupation.vue @@ -1,212 +1,138 @@ diff --git a/src/modules/03_recruiting/interface/index/Main.ts b/src/modules/03_recruiting/interface/index/Main.ts index 2a92a069d..e7455baef 100644 --- a/src/modules/03_recruiting/interface/index/Main.ts +++ b/src/modules/03_recruiting/interface/index/Main.ts @@ -65,7 +65,7 @@ interface Occupation { org: string | null; pile: string | null; group: string | null; - salary: string | null; + salary: number | undefined; position: string | null; positionType: string | null; tel: string | null; @@ -229,7 +229,7 @@ const defaultOccupation = ref({ org: null, pile: null, group: null, - salary: null, + salary: undefined, position: null, positionType: null, tel: null,