207 lines
6.6 KiB
JavaScript
207 lines
6.6 KiB
JavaScript
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"
|
|
},
|
|
{
|
|
"xno": 2,
|
|
"xid": "132283",
|
|
"order_date": "28-08-2024 15:51",
|
|
"no_reg": "05600028LA",
|
|
"patient_name": "Ny COBA HENY",
|
|
"company_name": "PASIEN MANDIRI",
|
|
"mou_name": "PRAMITA PROMO PAKET IMLEK 2024",
|
|
"status_cito": "N",
|
|
"order_promise": "29-08-2024 12:00",
|
|
"details_order": [
|
|
{
|
|
"ids": "1626780",
|
|
"group_name": "Fisioterapi SWD",
|
|
"group_id": "26",
|
|
"flag_nonlab": "N",
|
|
"status": "Y"
|
|
}
|
|
],
|
|
"details_sampling": [
|
|
{
|
|
"ids": "1626780",
|
|
"group_name": "Fisioterapi SWD",
|
|
"group_id": "26",
|
|
"flag_nonlab": "N",
|
|
"status": "Y"
|
|
}
|
|
],
|
|
"details_verifications": [
|
|
{
|
|
"ids": "1626780",
|
|
"group_name": "Fisioterapi SWD",
|
|
"group_id": "26",
|
|
"flag_nonlab": "N",
|
|
"status": "Y"
|
|
}
|
|
],
|
|
"details_process": [
|
|
{
|
|
"ids": "1626780",
|
|
"group_name": "Fisioterapi SWD",
|
|
"group_id": "26",
|
|
"flag_nonlab": "N",
|
|
"status": "Y"
|
|
}
|
|
],
|
|
"details_result_verification": [
|
|
{
|
|
"ids": "1626780",
|
|
"group_name": "Fisioterapi SWD",
|
|
"group_id": "26",
|
|
"flag_nonlab": "N",
|
|
"status": "Y"
|
|
}
|
|
],
|
|
"details_result_validation": [
|
|
{
|
|
"ids": "1626780",
|
|
"group_name": "Fisioterapi SWD",
|
|
"group_id": "26",
|
|
"flag_nonlab": "N",
|
|
"status": "Y"
|
|
}
|
|
],
|
|
"details_print": [
|
|
{
|
|
"ids": "1626780",
|
|
"group_name": "Fisioterapi SWD",
|
|
"group_id": "26",
|
|
"flag_nonlab": "N",
|
|
"status": "Y"
|
|
}
|
|
],
|
|
"no_reg_ext": "056R2H68LA"
|
|
}
|
|
],
|
|
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: {
|
|
setDate(state, date) {
|
|
state.date = date;
|
|
},
|
|
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: {
|
|
|
|
}
|
|
}
|
|
|
|
export default store |