add slicing image verification
This commit is contained in:
62
image-verification/modules/patient.js
Normal file
62
image-verification/modules/patient.js
Normal file
@@ -0,0 +1,62 @@
|
||||
|
||||
const store = {
|
||||
namespaced: true,
|
||||
state() {
|
||||
return {
|
||||
date: new Date(),
|
||||
patients: [
|
||||
{
|
||||
id: 1,
|
||||
name: "Tn. COCOBA",
|
||||
noreg: "055000035LA",
|
||||
orderdate: "01-08-2024 15:02",
|
||||
test: "USG UPP & LOW ABDOMEN",
|
||||
doctorname: "-"
|
||||
},
|
||||
{
|
||||
id: 2,
|
||||
name: "Tn. YACOBA",
|
||||
noreg: "055000036LA",
|
||||
orderdate: "01-08-2024 15:10",
|
||||
test: "USG UPP & LOW ABDOMEN",
|
||||
doctorname: "A. A. AYU KUSUMAYANTI, dr."
|
||||
}
|
||||
],
|
||||
selected_patient: {},
|
||||
patientright: [
|
||||
{
|
||||
id: 1,
|
||||
name: "Tn. COCOBA",
|
||||
noreg: "055000035LA",
|
||||
orderdate: "01-08-2024 15:02",
|
||||
test: "USG UPP & LOW ABDOMEN",
|
||||
doctorname: "-",
|
||||
flag: true
|
||||
},
|
||||
],
|
||||
selected_patientright: {},
|
||||
|
||||
};
|
||||
},
|
||||
mutations: {
|
||||
setDate(state, data) {
|
||||
state.date = data;
|
||||
},
|
||||
setPatients(state, data) {
|
||||
state.patients = data
|
||||
},
|
||||
setSelectedPatient(state, data) {
|
||||
state.selected_patient = data
|
||||
},
|
||||
setPatientRight(state, data) {
|
||||
state.patientright = data
|
||||
},
|
||||
setSelectedPatientRight(state, data) {
|
||||
state.selected_patientright = data
|
||||
},
|
||||
},
|
||||
actions: {
|
||||
|
||||
}
|
||||
};
|
||||
export default store
|
||||
Reference in New Issue
Block a user