Flatten nested repos
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
// 1 => LOADING
|
||||
// 2 => DONE
|
||||
// 3 => ERROR
|
||||
//import * as api from "../api/patient.js"
|
||||
|
||||
export default {
|
||||
namespaced: true,
|
||||
state: {
|
||||
verification_patient_name :{check:false,note:'',label:'Nama x sudah sesuai'},
|
||||
testing:'fajri ganteng',
|
||||
testingObj:{check:true,note:'sdvsdvds',label:'nama ne udah bener 1 ?'}
|
||||
},
|
||||
mutations: {
|
||||
update_patient_name(state,data) {
|
||||
state.verification_patient_name = data
|
||||
},
|
||||
update_testing(state,data) {
|
||||
state.testing = data
|
||||
},
|
||||
update_testing_obj(state,data) {
|
||||
state.testingObj = data
|
||||
},
|
||||
update_testing_txt(state,data) {
|
||||
state.testingObj.note = data
|
||||
},
|
||||
update_testing_cbx(state,data) {
|
||||
state.testingObj.check = data
|
||||
}
|
||||
},
|
||||
actions: {
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user