// 1 => LOADING // 2 => DONE // 3 => ERROR // import * as api from "../api/patient.js" // window.api = api export default { namespaced: true, state: { conf_company_id: 0, conf_mou_id: 0, conf_lab_is_disc: "N", conf_lab_disc: 50000, selected_company: {id: 0, name: "Pasien Mandiri"}, selected_mou: {id:0, name: "Mandiri Normal"} }, mutations: { update_conf_company_id (state, v) { state.conf_company_id = v }, update_conf_mou_id (state, v) { state.conf_mou_id = v }, update_conf_lab_is_disc (state, v) { state.conf_lab_is_disc = v }, update_conf_lab_disc (state, v) { state.conf_lab_disc = v }, update_selected_company (state, v) { state.selected_company = v }, update_selected_mou (state, v) { state.selected_mou = v } }, actions: { } }