diff --git a/globalcomponent/one-navbar.vue b/globalcomponent/one-navbar.vue index a32b658..f278185 100644 --- a/globalcomponent/one-navbar.vue +++ b/globalcomponent/one-navbar.vue @@ -19,8 +19,7 @@ export default { "one-menu": MenuComponent, }, mounted() { - console.log("drawer"); - console.log(this.$store.state.system.drawer); + // console.log(this.$store.state.system.drawer); }, data() { return {}; diff --git a/globalstore/globalstore.js b/globalstore/globalstore.js index 313864e..820a276 100644 --- a/globalstore/globalstore.js +++ b/globalstore/globalstore.js @@ -8,7 +8,7 @@ const store = { menu_level_0: [], menu_level_1: [], menu_level_2: [], - drawer: true, + drawer: false, bread_crumb: "", search_error_message: "", branch: {}, @@ -67,7 +67,6 @@ const store = { context.commit("update_search_error_message", resp.message) } else { context.commit("update_search_error_message", "") - console.log("menu", resp.data.data.bread_crumb) context.commit("update_bread_crumb", resp.data.data.bread_crumb) context.commit("update_branch", resp.data.data.branch) context.commit("update_page_allowed", resp.data.is_page_allowed) diff --git a/send-to-fo/components/filterfo.vue b/send-to-fo/components/filterfo.vue new file mode 100644 index 0000000..fe06873 --- /dev/null +++ b/send-to-fo/components/filterfo.vue @@ -0,0 +1,97 @@ + + + + + diff --git a/send-to-fo/components/main.vue b/send-to-fo/components/main.vue new file mode 100644 index 0000000..6b01d3a --- /dev/null +++ b/send-to-fo/components/main.vue @@ -0,0 +1,34 @@ + + + + + \ No newline at end of file diff --git a/send-to-fo/components/pasien.vue b/send-to-fo/components/pasien.vue new file mode 100644 index 0000000..520b03a --- /dev/null +++ b/send-to-fo/components/pasien.vue @@ -0,0 +1,106 @@ + + + + + \ No newline at end of file diff --git a/send-to-fo/components/report.vue b/send-to-fo/components/report.vue new file mode 100644 index 0000000..a5b3870 --- /dev/null +++ b/send-to-fo/components/report.vue @@ -0,0 +1,74 @@ + + + + + \ No newline at end of file diff --git a/send-to-fo/index.html b/send-to-fo/index.html new file mode 100644 index 0000000..333a487 --- /dev/null +++ b/send-to-fo/index.html @@ -0,0 +1,125 @@ + + + + + + WESTONE + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/send-to-fo/language.js b/send-to-fo/language.js new file mode 100644 index 0000000..b4ef1ca --- /dev/null +++ b/send-to-fo/language.js @@ -0,0 +1,42 @@ +var CustomMessages = { + en: { + message: { + search:{ + date: "Tanggal", + noReg: "No Reg / Nama", + customerGroup: "Kel. Pelanggan", + }, + toolbalTitle: "PASIEN", + tableListPatient: { + noreg: "NO. REG", + name: "NAME", + }, + report:{ + selfservice: "Ambil Sendiri", + patientAddress: "Alamat Pasien", + senderAddress: "Alamat Pengirim" + }, + send:"Serahkan", + }, + }, + id: { + message: { + search:{ + date: "Date", + noReg: "No Reg / Name", + customerGroup: "Customer Group", + }, + toolbalTitle: "PASIEN", + tableListPatient: { + noreg: "NO. REG", + name: "NAMA", + }, + report:{ + selfservice: "SelfService", + patientAddress: "Patient Address", + senderAddress: "Sender Address", + send: "Send", + } + }, + }, +}; \ No newline at end of file diff --git a/send-to-fo/modules/sendtofo.js b/send-to-fo/modules/sendtofo.js new file mode 100644 index 0000000..ce84185 --- /dev/null +++ b/send-to-fo/modules/sendtofo.js @@ -0,0 +1,55 @@ + +// const URL = "/westone-api/v1/system/auth"; +// const URL = "https://devcpone.aplikasi.web.id/westone-api/v1/system/auth/"; + +const store = { + namespaced: true, + state() { + return { + date: new Date(), + patients: [ + { + id: 1, + name: "Tn. COCOBA", + noreg: "055000035LA", + orderdate: "01-08-2024 15:02" + }, + { + id: 2, + name: "Ny. LINA MARLINA", + noreg: "055000034LA", + orderdate: "01-08-2024 14:32" + }, + { + id: 3, + name: "Ny. LINA MARLINA", + noreg: "055000034LA", + orderdate: "01-08-2024 14:32" + }, + ], + selected_patient: {}, + }; + }, + mutations: { + setDate(state, data) { + state.date = data + }, + setPatients(state, data) { + state.patients = data + }, + setSelectedPatient(state, data) { + state.selected_patient = data + }, + setDetails(state, data) { + state.details = data + }, + setSelectedDetail(state, data) { + state.selected_detail = data + } + }, + actions: { + + } +}; + +export default store \ No newline at end of file