95 lines
3.0 KiB
JavaScript
95 lines
3.0 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"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
mutations: {
|
|
setDate(state, date) {
|
|
state.date = date;
|
|
}
|
|
},
|
|
actions: {
|
|
|
|
}
|
|
}
|
|
|
|
export default store |