From 6d96653c6d843d3334060ae9b748b8f384f3952e Mon Sep 17 00:00:00 2001 From: adibwp Date: Wed, 21 Aug 2024 14:08:40 +0700 Subject: [PATCH] add mockup funct accept requirement --- specimen-collection/components/right.vue | 7 ++++--- specimen-collection/language.js | 6 ++++-- specimen-collection/modules/collection.js | 12 ++++++++++++ 3 files changed, 20 insertions(+), 5 deletions(-) diff --git a/specimen-collection/components/right.vue b/specimen-collection/components/right.vue index 606b4a6..06243f9 100644 --- a/specimen-collection/components/right.vue +++ b/specimen-collection/components/right.vue @@ -16,6 +16,7 @@
-

Tanggal Lahir dan Umur

+

{{ $t('message.dobage') }}

-

10-11-1999

+

{{ selected.dob }}

-

24 Tahun 8 Bulan 21 Hari

+

{{ selected.age }}

diff --git a/specimen-collection/language.js b/specimen-collection/language.js index cdf32a9..85518da 100644 --- a/specimen-collection/language.js +++ b/specimen-collection/language.js @@ -23,7 +23,8 @@ var CustomMessages = { requirement: "REQUIREMENT", action: "ACTION" }, - examination: "EXAMINATION" + examination: "EXAMINATION", + dobage: "Date of Birth and Age", }, }, id: { @@ -50,7 +51,8 @@ var CustomMessages = { requirement: "PRASYARAT", action: "AKSI" }, - examination: "PEMERIKSAAN" + examination: "PEMERIKSAAN", + dobage: "Tanggal Lahir dan Umur", }, }, }; \ No newline at end of file diff --git a/specimen-collection/modules/collection.js b/specimen-collection/modules/collection.js index a444d16..8d210cc 100644 --- a/specimen-collection/modules/collection.js +++ b/specimen-collection/modules/collection.js @@ -9,6 +9,9 @@ const store = { noreg: "055000037LA", kelpelanggan: "PASIEN MANDIRI", nama: "Tn. Alpha", + age: "23 tahun 11 bulan 10 hari", + dob: "10/10/2000", + pid: "-", status: "New", doneCall: "N", }, @@ -17,6 +20,9 @@ const store = { noreg: "055000036LA", kelpelanggan: "PASIEN KLINISI", nama: "Tn. Beta", + age: "27 tahun 2 bulan 12 hari", + dob: "08/06/1997", + pid: "-", status: "New", doneCall: "N", }, @@ -25,6 +31,9 @@ const store = { noreg: "055000035LA", kelpelanggan: "PASIEN KLINISI", nama: "Tn. Gamma", + age: "25 tahun 1 bulan 23 hari", + dob: "27/06/1999", + pid: "-", status: "New", doneCall: "N", }, @@ -34,6 +43,9 @@ const store = { noreg: "-", kelpelanggan: "-", nama: "-", + age: "-", + dob: "-", + pid: "-", status: "-", }, details: {