diff --git a/globalcomponent/one-menu.vue b/globalcomponent/one-menu.vue
index 5bb9f01..4524002 100644
--- a/globalcomponent/one-menu.vue
+++ b/globalcomponent/one-menu.vue
@@ -7,7 +7,7 @@
-
+
{{ lev_0.name }}
@@ -18,7 +18,7 @@
-
+
mdi-circle-small{{ lev_1.name }}
@@ -29,7 +29,7 @@
-
+
mdi-circle-small{{ lev_2.name }}
@@ -73,10 +73,19 @@ export default {
this.$store.commit("system/update_drawer", val);
},
},
+ active_menu: {
+ get() {
+ return this.$store.state.system.active_menu;
+ },
+ set(menu) {
+ this.$store.commit("system/update_active_menu", menu);
+ }
+ }
},
methods: {
- goto(url) {
- console.log("menuju ke- ", url)
+ goto(item) {
+ console.log("menuju ke- ", item.url);
+ this.active_menu = item;
}
},
};
diff --git a/globalcomponent/quick-menu.vue b/globalcomponent/quick-menu.vue
new file mode 100644
index 0000000..fcb98fd
--- /dev/null
+++ b/globalcomponent/quick-menu.vue
@@ -0,0 +1,50 @@
+
+
+
+
+ {{ qmenu.name }}
+
+
+
+
+
+
\ No newline at end of file
diff --git a/globalstore/globalstore.js b/globalstore/globalstore.js
index 820a276..a532879 100644
--- a/globalstore/globalstore.js
+++ b/globalstore/globalstore.js
@@ -8,6 +8,8 @@ const store = {
menu_level_0: [],
menu_level_1: [],
menu_level_2: [],
+ quick_menu: [],
+ active_menu: {},
drawer: false,
bread_crumb: "",
search_error_message: "",
@@ -44,6 +46,12 @@ const store = {
update_drawer(state, payload) {
state.drawer = payload;
},
+ update_quick_menu(state, data) {
+ state.quick_menu = data;
+ },
+ update_active_menu(state, data) {
+ state.active_menu = data;
+ }
},
actions: {
async loadMenuData(context) {
@@ -76,6 +84,20 @@ const store = {
console.error('Error loading menu data:', error);
}
},
+ async loadQuickMenu(context) {
+ try {
+ let resp = await axios.get(URL);
+ if (resp.data.status != "OK") {
+ console.error('get api failed');
+ } else {
+ let item = resp.data.data;
+ if (item[1])
+ context.commit("update_quick_menu", item[1]['p_1'])
+ }
+ } catch (error) {
+ console.error('Error load quick menu data', error);
+ }
+ }
}
};
export default store
\ No newline at end of file
diff --git a/status-patient/components/content.vue b/status-patient/components/content.vue
new file mode 100644
index 0000000..376291d
--- /dev/null
+++ b/status-patient/components/content.vue
@@ -0,0 +1,116 @@
+
+
+
+
+
+ {{ $t('message.table.title') }}
+
+
+ 6
+
+
+
+
+
+
+
+ |
+ {{ column.title }}
+ |
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/status-patient/components/filter.vue b/status-patient/components/filter.vue
new file mode 100644
index 0000000..a857ef3
--- /dev/null
+++ b/status-patient/components/filter.vue
@@ -0,0 +1,114 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/status-patient/components/main.vue b/status-patient/components/main.vue
new file mode 100644
index 0000000..cb592ed
--- /dev/null
+++ b/status-patient/components/main.vue
@@ -0,0 +1,42 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/status-patient/index.html b/status-patient/index.html
new file mode 100644
index 0000000..41d8dfd
--- /dev/null
+++ b/status-patient/index.html
@@ -0,0 +1,125 @@
+
+
+
+
+
+ Status Pasien
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/status-patient/language.js b/status-patient/language.js
new file mode 100644
index 0000000..e15c64b
--- /dev/null
+++ b/status-patient/language.js
@@ -0,0 +1,46 @@
+var CustomMessages = {
+ en: {
+ message: {
+ filter: {
+ date: "Date",
+ noreg: "No. Reg / Name",
+ group: "Customer Group",
+ },
+ table: {
+ title: "TOTAL PATIENTS",
+ h_no: "NO",
+ h_orderr: "ORDER/JANJI HASIL",
+ h_pasien: "PATIENT",
+ h_status: "STATUS ORDER",
+ h_sample: "SAMP. COLLECT",
+ h_proces: "PROCESS",
+ h_resver: "RESULT VERIF",
+ h_resval: "RESULT VALID",
+ h_printt: "PRINT",
+ },
+ dobage: "Date of Birth and Age",
+ },
+ },
+ id: {
+ message: {
+ filter: {
+ date: "Tanggal",
+ noreg: "No. Reg / Nama",
+ group: "Kel. Pelanggan",
+ },
+ table: {
+ title: "TOTAL PASIEN",
+ h_no: "NO",
+ h_orderr: "ORDER/JANJI HASIL",
+ h_pasien: "PASIEN",
+ h_status: "STATUS ORDER",
+ h_sample: "SAMP. COLLECT",
+ h_proces: "PROSES",
+ h_resver: "RESULT VERIF",
+ h_resval: "RESULT VALID",
+ h_printt: "PRINT",
+ },
+ dobage: "Tanggal Lahir dan Umur",
+ },
+ },
+};
\ No newline at end of file
diff --git a/status-patient/modules/store.js b/status-patient/modules/store.js
new file mode 100644
index 0000000..bc26017
--- /dev/null
+++ b/status-patient/modules/store.js
@@ -0,0 +1,95 @@
+const store = {
+ state() {
+ return {
+ date: new Date(),
+ temp_dropdown: ["Lorem", "ipsum", "dolor", "sit", "amet"],
+ data: [
+ {
+ "xno": 1,
+ "xid": "132282",
+ "order_date": "27-08-2024 19:32",
+ "no_reg": "05600027LA",
+ "patient_name": "Ny IMELDA JANICE",
+ "company_name": "PASIEN KLINISI",
+ "mou_name": "PASIEN UMUM 2021",
+ "status_cito": "N",
+ "order_promise": "28-08-2024 12:00",
+ "details_order": [
+ {
+ "ids": "1626778,1626779",
+ "group_name": "LAB",
+ "group_id": "1",
+ "flag_nonlab": "N",
+ "status": "N"
+ }
+ ],
+ "details_sampling": [
+ {
+ "ids": "1626778,1626779",
+ "group_name": "LAB",
+ "group_id": "1",
+ "flag_nonlab": "N",
+ "status": "N"
+ }
+ ],
+ "details_verifications": [
+ {
+ "ids": "1626778,1626779",
+ "group_name": "LAB",
+ "group_id": "1",
+ "flag_nonlab": "N",
+ "status": "N"
+ }
+ ],
+ "details_process": [
+ {
+ "ids": "1626778,1626779",
+ "group_name": "LAB",
+ "group_id": "1",
+ "flag_nonlab": "N",
+ "status": "N"
+ }
+ ],
+ "details_result_verification": [
+ {
+ "ids": "1626778,1626779",
+ "group_name": "LAB",
+ "group_id": "1",
+ "flag_nonlab": "N",
+ "status": "N"
+ }
+ ],
+ "details_result_validation": [
+ {
+ "ids": "1626778,1626779",
+ "group_name": "LAB",
+ "group_id": "1",
+ "flag_nonlab": "N",
+ "status": "N"
+ }
+ ],
+ "details_print": [
+ {
+ "ids": "1626778,1626779",
+ "group_name": "LAB",
+ "group_id": "1",
+ "flag_nonlab": "N",
+ "status": "N"
+ }
+ ],
+ "no_reg_ext": "056G3C17LA"
+ }
+ ]
+ }
+ },
+ mutations: {
+ setDate(state, date) {
+ state.date = date;
+ }
+ },
+ actions: {
+
+ }
+}
+
+export default store
\ No newline at end of file