Feature/SendtoFo
This commit is contained in:
55
send-to-fo/modules/sendtofo.js
Normal file
55
send-to-fo/modules/sendtofo.js
Normal file
@@ -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
|
||||
Reference in New Issue
Block a user