From d23a0550e1155b4e469bb8f94bb2e595cd90da0f Mon Sep 17 00:00:00 2001 From: adibwp Date: Thu, 29 Aug 2024 19:48:49 +0700 Subject: [PATCH] add harcode dialog --- status-patient/components/content.vue | 34 +++- status-patient/components/order-dialog.vue | 196 +++++++++++++++++++ status-patient/components/print-dialog.vue | 93 +++++++++ status-patient/components/process-dialog.vue | 41 ++++ status-patient/components/sample-dialog.vue | 100 ++++++++++ status-patient/components/sp_dialog.vue | 91 +++++---- status-patient/components/valid-dialog.vue | 56 ++++++ status-patient/components/verif-dialog.vue | 56 ++++++ status-patient/modules/store.js | 32 +++ 9 files changed, 664 insertions(+), 35 deletions(-) create mode 100644 status-patient/components/order-dialog.vue create mode 100644 status-patient/components/print-dialog.vue create mode 100644 status-patient/components/process-dialog.vue create mode 100644 status-patient/components/sample-dialog.vue create mode 100644 status-patient/components/valid-dialog.vue create mode 100644 status-patient/components/verif-dialog.vue diff --git a/status-patient/components/content.vue b/status-patient/components/content.vue index 8083b78..64e3593 100644 --- a/status-patient/components/content.vue +++ b/status-patient/components/content.vue @@ -56,37 +56,42 @@

{{ item.details_order[0].group_name }}

{{ item.details_sampling[0].group_name }}

{{ item.details_process[0].group_name }}

{{ item.details_result_verification[0].group_name }}

{{ item.details_result_validation[0].group_name }}

{{ item.details_print[0].group_name }}

@@ -94,15 +99,18 @@ + \ No newline at end of file diff --git a/status-patient/components/print-dialog.vue b/status-patient/components/print-dialog.vue new file mode 100644 index 0000000..cbdc7df --- /dev/null +++ b/status-patient/components/print-dialog.vue @@ -0,0 +1,93 @@ + + + \ No newline at end of file diff --git a/status-patient/components/process-dialog.vue b/status-patient/components/process-dialog.vue new file mode 100644 index 0000000..be0da0d --- /dev/null +++ b/status-patient/components/process-dialog.vue @@ -0,0 +1,41 @@ + + + \ No newline at end of file diff --git a/status-patient/components/sample-dialog.vue b/status-patient/components/sample-dialog.vue new file mode 100644 index 0000000..2c8e0c0 --- /dev/null +++ b/status-patient/components/sample-dialog.vue @@ -0,0 +1,100 @@ + + + \ No newline at end of file diff --git a/status-patient/components/sp_dialog.vue b/status-patient/components/sp_dialog.vue index 75442bd..c76b883 100644 --- a/status-patient/components/sp_dialog.vue +++ b/status-patient/components/sp_dialog.vue @@ -1,9 +1,9 @@ \ No newline at end of file diff --git a/status-patient/components/verif-dialog.vue b/status-patient/components/verif-dialog.vue new file mode 100644 index 0000000..bf0cd76 --- /dev/null +++ b/status-patient/components/verif-dialog.vue @@ -0,0 +1,56 @@ + + + \ No newline at end of file diff --git a/status-patient/modules/store.js b/status-patient/modules/store.js index 115f616..d5313d3 100644 --- a/status-patient/modules/store.js +++ b/status-patient/modules/store.js @@ -157,6 +157,31 @@ const store = { ], total_page: 1, sp_dialog: false, + print_dialog: false, + multi_dialog: { + open: false, + name: "", + }, + data_order: [ + { + "pemeriksaan": "SGOT", + "bruto": 88000, + "diskon": 0, + "total": 88000, + }, + { + "pemeriksaan": "SGPT", + "bruto": 88000, + "diskon": 0, + "total": 88000, + }, + { + "pemeriksaan": "TOTAL", + "bruto": 176000, + "diskon": 0, + "total": 176000, + }, + ] } }, mutations: { @@ -165,6 +190,13 @@ const store = { }, setDialog(state, bool) { state.sp_dialog = bool; + }, + setPrintDialog(state, bool) { + state.print_dialog = bool; + }, + setMultiDialog(state, bool, name) { + state.multi_dialog.open = bool; + state.multi_dialog.name = name; } }, actions: {