{"version":3,"sources":["webpack:///./src/views/doctorProfile/onlineAppointment.vue?0954","webpack:///./src/views/doctorProfile/onlineAppointment.vue","webpack:///src/views/doctorProfile/onlineAppointment.vue","webpack:///./src/views/doctorProfile/onlineAppointment.vue?2b03","webpack:///./src/views/doctorProfile/onlineAppointment.vue?9455","webpack:///./src/store/doctor/moduleDoctorState.js","webpack:///./src/store/doctor/moduleDoctorMutations.js","webpack:///./src/store/doctor/moduleDoctorActions.js","webpack:///./src/store/doctor/moduleDoctorGetters.js","webpack:///./src/store/doctor/moduleDoctor.js"],"names":["render","_vm","this","_c","_self","staticStyle","attrs","staticClass","$vs","rtl","on","$event","back","_v","_s","$t","getAppointmentSessions","pageChange","model","value","appointmentDate","callback","$$v","expression","_l","Model","tr","indextr","key","GotoSessionDetails","Patient","StatusID","Name","DoctorSession","DateFormatted","DateFrom","slice","Date","toISOString","CompletePatientReservation","Status","_e","length","staticRenderFns","data","IsDoctorRequest","EnglishLan","baseURL","domain","monthSessions","date","appointmentDateEnd","isHidden","currentDate","toLocaleString","computed","bar","dates","map","ob","components","Datepicker","methods","checkDate","sesstionDate","current","diffMs","diffMins","Math","round","obj","_this","sessions","search","year","month","To","PaymentStatusID","setDate","getDate","DateTo","moment","format","doctorID","$route","params","ID","$store","dispatch","then","res","Data","$router","go","reservation","push","name","PatientReservationID","addHours","h","setTime","getTime","isOneDay","_this2","searchAppointment","getFullYear","getMonth","loading","close","notify","title","text","iconPack","icon","color","catch","_this3","dayNow","myDate","date1","date2","Message","err","created","localStorage","getItem","moduleDoctor","isRegistered","registerModule","component","doctors","searchDoctors","patientReservation","monthPatientReservation","pendingTaskList","Langauges","specialities","SpecialtyID","CountryID","CityID","DoctorID","IsPaging","PageNumber","PageSize","ForAppointment","ADD_ITEM","state","item","unshift","SET_Doctor","SET_SearchDoctor","SET_SearchDoctorPaging","Array","isArray","forEach","element","itemIndex","findIndex","p","console","error","SET_specialities","SET_DoctorLanguages","UPDATE_Doctor","Doctor","DoctorIndex","Object","assign","REMOVE_ITEM","itemId","ItemIndex","splice","GET_PATIENT_RESERVATION","GET_PATIENT_RESERVATION_Month","GET_PENDING_TASK_LIST","AddDoctor","_ref","commit","Promise","resolve","reject","axios","post","response","AddUserDoctor","_ref2","GetAllDoctors","_ref3","GetDoctorsBySpeciality","_ref4","get","GetAllDoctorsDdl","_ref5","SearchDoctors","_ref6","SimpleSearchDoctors","_ref7","getDoctorClendarYearSummary","context","Year","SearchDoctorsPaging","_ref8","SearchDoctorMonthSessions","SearchDoctorSessions","SimpleSearchDoctorSessions","AddPatientReservationSessionSymptomNote","SymptomNote","AddPatientReservationSession","AddDoctorUserReview","window","showSuccess","message","showError","SaveDoctorSession","BlockAvailability","EditAvailability","PreviewOnCalendar","PayReservedSession","reservedSessionId","UpdateDoctor","SaveDoctorSessionPrice","GetDoctorSessionPriceByDoctorID","itemid","GetDoctor","GetPatientReservationSession","GetPatientReservationSessionAndSendNotification","GetPatientReservationSessionViaDoctor","sessionID","AddMedicalPrescription","medicalModel","DeleteMedicalPrescription","DeleteDoctor","_ref9","removeEducation","removeExperience","removeLink","removeSessionPrice","getPatientReservationCalender","_ref10","getPatientReservation","_ref11","GetDoctorPatients","_ref12","doctorId","_ref13","session","PatientReservationSessionID","PatientMedicalReportRequestDownloadDoc","_ref14","ChangeDocStatus","_ref15","changeDowloadDocumentStatus","_ref16","GetAllPatientMedicalReportDownloadHospitalSurgery","_ref17","GetPendingDoctorTaskList","_ref18","namespaced","mutations","actions","getters"],"mappings":"gHAAA,W,yCCAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACE,YAAY,CAAC,kBAAkB,iBAAiBC,MAAM,CAAC,GAAK,sBAAsB,CAACH,EAAG,MAAM,CAACA,EAAG,MAAM,CAACI,YAAY,UAAU,CAACJ,EAAG,eAAe,CAACE,YAAY,CAAC,MAAQ,OAAO,OAAS,WAAWC,MAAM,CAAC,KAAO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EAASC,GACzBC,OACKC,KACG,iEACAnC,GAEH1D,MAAK,SAAA8F,GAGFN,EAAO,0BAA2BM,EAAS3I,KAAK+C,MAEhDwF,EAAQI,MAEXpE,OAAM,SAAA6C,GAEHoB,EAAOpB,UAMvB+F,yBAAwB,SAAAC,EAAa7G,GAAM,IAAhB8B,EAAM+E,EAAN/E,OAEvB,OAAO,IAAIC,SAAQ,SAACC,EAASC,GACzBC,OACKC,KAAK,uCAAyCnC,GAC9C1D,MAAK,SAAA8F,GAGFN,EAAO,wBAAyBM,EAAS3I,KAAK+C,MAE9CwF,EAAQI,MAEXpE,OAAM,SAAA6C,GAEHoB,EAAOpB,WCxrBZ,KCKA,QACdiG,YAAY,EACT/G,MAAOA,EACPgH,UAAWA,EACXC,QAASA,EACTC,QAASA,I","file":"js/chunk-7d76b24e.bdac0c18.js","sourcesContent":["export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./onlineAppointment.vue?vue&type=style&index=0&id=5be5f113&prod&lang=css\"","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticStyle:{\"justify-content\":\"center center\"},attrs:{\"id\":\"onlineAppointment\"}},[_c('div',[_c('div',{staticClass:\"vx-row\"},[_c('feather-icon',{staticStyle:{\"width\":\"30px\",\"cursor\":\"pointer\"},attrs:{\"icon\":_vm.$vs.rtl ? 'ChevronRightIcon' : 'ChevronLeftIcon'},on:{\"click\":function($event){return _vm.back()}}}),_c('p',{staticClass:\"text-xl\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"OnlineAppointment\"))+\" \")])],1),_c('div',{staticClass:\"mt-5\",staticStyle:{\"justify-content\":\"center center\"}},[_c('div',{staticClass:\"vx-row w-full\"},[_c('div',{staticClass:\"vx-col lg:w-1/4 mt-5 w-full\"},[_c('v-date-picker',{attrs:{\"locale\":_vm.$vs.rtl ? 'ar' : 'en',\"attributes\":_vm.attrs},on:{\"input\":function($event){return _vm.getAppointmentSessions(true)},\"update:from-page\":_vm.pageChange},model:{value:(_vm.appointmentDate),callback:function ($$v) {_vm.appointmentDate=$$v},expression:\"appointmentDate\"}})],1),_c('div',{staticClass:\"vx-col lg:w-3/4 w-full MyTable mt-5\"},[_c('table',{staticClass:\"w-full\"},[_c('tr',{staticClass:\"HeaderTableColor\",staticStyle:{\"height\":\"50px\"}},[_c('th',{staticClass:\"h-25 text-center\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"Patient\"))+\" \")]),_c('th',{staticClass:\"h-25 text-center\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"Date\"))+\" \")]),_c('th',{staticClass:\"h-25 text-center\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"Time\"))+\" \")]),_c('th',{staticClass:\"h-25 text-center\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"Action\"))+\" \")])]),_vm._l((_vm.Model),function(tr,indextr){return _c('tr',{key:indextr,attrs:{\"data\":tr}},[_c('td',[_c('div',{on:{\"click\":function($event){return _vm.GotoSessionDetails(tr)}}},[(tr.Patient&&(tr.StatusID == 2||tr.StatusID == 1))?_c('u',{staticStyle:{\"color\":\"primary\"}},[_vm._v(_vm._s(tr.Patient.Name))]):_c('p',[_vm._v(\" \"+_vm._s(tr.Patient.Name))])])]),_c('td',[_c('p',{staticClass:\"product-name font-medium truncate\",attrs:{\"type\":\"date\"}},[_vm._v(\" \"+_vm._s(tr.DoctorSession.DateFormatted)+\" \")])]),_c('td',[_c('p',{staticClass:\"product-name font-medium truncate\"},[_vm._v(\" \"+_vm._s(tr.DoctorSession.DateFrom.slice(11, 16))+\" \")])]),_c('td',[((tr.StatusID == 2||tr.StatusID == 1) )?_c('div',{attrs:{\"disabled\":( tr.DoctorSession.DateFormatted > new Date().toISOString().slice(0, 10))}},[_c('vx-tooltip',{attrs:{\"text\":_vm.$t('Complete'),\"position\":\"top\"}},[_c('feather-icon',{attrs:{\"icon\":\"CheckIcon\"},on:{\"click\":function($event){return _vm.CompletePatientReservation(tr)}}})],1)],1):_c('div',[(tr.Status != null)?_c('p',{staticClass:\"product-name font-medium truncate\"},[_vm._v(\" \"+_vm._s(tr.Status.Name)+\" \")]):_vm._e()])])])}),(_vm.Model.length == 0 )?_c('tr',[_c('td'),_c('td',[_c('h3',{staticClass:\"w-full sm:w-auto text-center text-primary mt-5\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"NoDataToshow\"))+\" \")])]),_c('td')]):_vm._e()],2)])])])])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\n\r\n\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./onlineAppointment.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./onlineAppointment.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./onlineAppointment.vue?vue&type=template&id=5be5f113\"\nimport script from \"./onlineAppointment.vue?vue&type=script&lang=js\"\nexport * from \"./onlineAppointment.vue?vue&type=script&lang=js\"\nimport style0 from \"./onlineAppointment.vue?vue&type=style&index=0&id=5be5f113&prod&lang=css\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","/*=========================================================================================\r\n File Name: moduleActivityState.js\r\n Description: Activity Module State\r\n ----------------------------------------------------------------------------------------\r\n Item Name: Vuexy - Vuejs, HTML & Laravel Admin Dashboard Template\r\n Author: Pixinvent\r\n Author URL: http://www.themeforest.net/user/pixinvent\r\n==========================================================================================*/\r\n\r\n\r\nexport default {\r\n doctors: [],\r\n searchDoctors: [],\r\n\r\n patientReservation: [],\r\n monthPatientReservation: [],\r\n pendingTaskList: [],\r\n Langauges: [],\r\n specialities: [],\r\n search:{\r\n SpecialtyID: \"\",\r\n CountryID: \"\",\r\n CityID: \"\",\r\n DoctorID: \"\",\r\n IsPaging: true,\r\n PageNumber: 1,\r\n PageSize: 10,\r\n ForAppointment: true,\r\n },\r\n\r\n}","/*=========================================================================================\r\n File Name: moduleDoctorMutations.js\r\n Description: Doctor Module Mutations\r\n ----------------------------------------------------------------------------------------\r\n Item Name: Vuexy - Vuejs, HTML & Laravel Admin Dashboard Template\r\n Author: Pixinvent\r\n Author URL: http://www.themeforest.net/user/pixinvent\r\n==========================================================================================*/\r\n\r\nexport default {\r\n ADD_ITEM(state, item) {\r\n state.doctors.unshift(item)\r\n },\r\n SET_Doctor(state, doctors) {\r\n state.doctors = doctors\r\n },\r\n SET_SearchDoctor(state, doctors) {\r\n state.searchDoctors = doctors\r\n\r\n },\r\n SET_SearchDoctorPaging(state, doctors) {\r\n debugger;\r\n // doctors.forEach(element => {\r\n // const ItemIndex = state.searchDoctors.findIndex(p => p.ID == element.ID);\r\n // if(ItemIndex==-1 )\r\n // state.searchDoctors.push(element)\r\n // });\r\n\r\n if (doctors && Array.isArray(doctors)) {\r\n doctors.forEach(element => {\r\n const itemIndex = state.searchDoctors.findIndex(p => p.ID === element.ID);\r\n if (itemIndex === -1) {\r\n state.searchDoctors.push(element);\r\n }\r\n });\r\n } else {\r\n console.error('Invalid or undefined doctors array');\r\n }\r\n\r\n },\r\n SET_specialities(state, specialities) {\r\n state.specialities = specialities\r\n },\r\n SET_DoctorLanguages(state, Langauges) {\r\n state.Langauges = Langauges\r\n },\r\n UPDATE_Doctor(state, Doctor) {\r\n const DoctorIndex = state.doctors.findIndex((p) => p.ID == Doctor.ID)\r\n Object.assign(state.doctors[DoctorIndex], Doctor)\r\n },\r\n REMOVE_ITEM(state, itemId) {\r\n const ItemIndex = state.doctors.findIndex((p) => p.ID == itemId)\r\n state.doctors.splice(ItemIndex, 1)\r\n },\r\n GET_PATIENT_RESERVATION(state, patientReservation) {\r\n debugger\r\n state.patientReservation = patientReservation\r\n debugger\r\n },\r\n GET_PATIENT_RESERVATION_Month(state, patientReservation) {\r\n\r\n state.monthPatientReservation = patientReservation\r\n\r\n },\r\n GET_PENDING_TASK_LIST(state, pendingTaskList) {\r\n debugger\r\n state.pendingTaskList = pendingTaskList\r\n debugger\r\n },\r\n}\r\n","/*=========================================================================================\r\n File Name: moduleDoctorActions.js\r\n Description: Doctor Module Actions\r\n ----------------------------------------------------------------------------------------\r\n Item Name: Vuexy - Vuejs, HTML & Laravel Admin Dashboard Template\r\n Author: Pixinvent\r\n Author URL: http://www.themeforest.net/user/pixinvent\r\n==========================================================================================*/\r\n\r\nimport axios from \"@/axios.js\";\r\n\r\nexport default {\r\n AddDoctor({ commit }, item) {\r\n return new Promise((resolve, reject) => {\r\n axios\r\n .post(\"api/Doctor/AddDoctor\", item)\r\n .then(response => {\r\n commit(\r\n \"ADD_ITEM\",\r\n Object.assign(item, { ID: response.data.Data.ID })\r\n );\r\n resolve(response);\r\n })\r\n .catch(error => {\r\n reject(error);\r\n });\r\n });\r\n },\r\n\r\n AddUserDoctor({ commit }, item) {\r\n return new Promise((resolve, reject) => {\r\n axios\r\n .post(\"Registration\", item)\r\n .then(response => {\r\n debugger;\r\n commit(\"ADD_ITEM\", Object.assign(item, { ID: response.data.Data }));\r\n resolve(response);\r\n })\r\n .catch(error => {\r\n debugger;\r\n reject(error);\r\n });\r\n });\r\n },\r\n\r\n GetAllDoctors({ commit }, search) {\r\n debugger\r\n //search2menuDoctor\r\n return new Promise((resolve, reject) => {\r\n axios\r\n .post(\"api/Doctor/SearchDoctors\", search)\r\n .then(response => {\r\n commit(\"SET_Doctor\", response.data.Data);\r\n resolve(response);\r\n })\r\n .catch(error => {\r\n reject(error);\r\n });\r\n });\r\n },\r\n GetDoctorsBySpeciality({ commit }, SpecialtyID) {\r\n debugger\r\n //search2menuDoctor\r\n return new Promise((resolve, reject) => {\r\n axios\r\n .get(\"api/Doctor/GetDoctorsBySpeciality?SpecialtyID=\"+ SpecialtyID)\r\n .then(response => {\r\n commit(\"SET_Doctor\", response.data.Data);\r\n resolve(response);\r\n })\r\n .catch(error => {\r\n reject(error);\r\n });\r\n });\r\n },\r\n GetAllDoctorsDdl({ commit }, search) {\r\n debugger\r\n //search2menuDoctor\r\n return new Promise((resolve, reject) => {\r\n axios\r\n .post(\"api/Doctor/SearchDoctors\", search)\r\n .then(response => {\r\n commit(\"SET_Doctor\", response.data.Data);\r\n resolve(response);\r\n })\r\n .catch(error => {\r\n reject(error);\r\n });\r\n });\r\n },\r\n\r\n SearchDoctors({ commit }, search) {\r\n debugger\r\n //getListOfDoctor\r\n return new Promise((resolve, reject) => {\r\n axios\r\n .post(\"api/Doctor/SearchDoctors\", search)\r\n .then(response => {\r\n commit(\"SET_SearchDoctor\", response.data.Data);\r\n resolve(response);\r\n })\r\n .catch(error => {\r\n reject(error);\r\n });\r\n });\r\n },\r\n\r\n SimpleSearchDoctors({ commit }, search) {\r\n return new Promise((resolve, reject) => {\r\n axios\r\n .post(\"api/Doctor/SimpleSearchDoctors\", search)\r\n .then(response => {\r\n commit(\"SET_Doctor\", response.data.Data);\r\n resolve(response);\r\n })\r\n .catch(error => {\r\n reject(error);\r\n });\r\n });\r\n },\r\n\r\n getDoctorClendarYearSummary(context, search) {\r\n return new Promise((resolve, reject) => {\r\n axios\r\n .get(\"api/DoctorSession/getDoctorClendarYearSummary?doctorID=\" + search.DoctorID + \"&year=\" + search.Year)\r\n .then(response => {\r\n resolve(response);\r\n })\r\n .catch(error => {\r\n reject(error);\r\n });\r\n });\r\n },\r\n SearchDoctorsPaging({ commit }, search) {\r\n //search1\r\n //getListOfDoctor\r\n debugger\r\n return new Promise((resolve, reject) => {\r\n debugger;\r\n axios\r\n // .post(\"api/Doctor/NewSearchDoctors\", search)\r\n .post(\"api/Doctor/SearchDoctors\", search)\r\n .then(response => {\r\n debugger;\r\n commit(\"SET_SearchDoctorPaging\", response.data.Data);\r\n resolve(response);\r\n debugger\r\n })\r\n .catch(error => {\r\n reject(error);\r\n });\r\n });\r\n },\r\n SearchDoctorMonthSessions(context, search) {\r\n return new Promise((resolve, reject) => {\r\n axios\r\n .post(\"api/DoctorSession/SearchDoctorMonthSessions\", search)\r\n .then(response => {\r\n\r\n resolve(response);\r\n })\r\n .catch(error => {\r\n reject(error);\r\n });\r\n });\r\n },\r\n SearchDoctorSessions(context, search) {\r\n return new Promise((resolve, reject) => {\r\n axios\r\n .post(\"api/DoctorSession/SearchDoctorSessions\", search)\r\n .then(response => {\r\n // commit('SET_SearchDoctor', response.data.Data)\r\n resolve(response);\r\n })\r\n .catch(error => {\r\n reject(error);\r\n });\r\n });\r\n },\r\n SimpleSearchDoctorSessions(context, search) {\r\n return new Promise((resolve, reject) => {\r\n axios.post(\"api/DoctorSession/SimpleSearchDoctorSessions\", search)\r\n .then((response) => {\r\n // commit('SET_SearchDoctor', response.data.Data)\r\n resolve(response)\r\n })\r\n .catch((error) => { reject(error) })\r\n })\r\n },\r\n AddPatientReservationSessionSymptomNote(context, model) {\r\n return new Promise((resolve, reject) => {\r\n axios\r\n .post(\r\n \"api/PatientReservationSession/AddPatientReservationSessionSymptomNote?sessionID=\" +\r\n model.ID +\r\n \"¬e=\" +\r\n model.SymptomNote\r\n )\r\n .then(response => {\r\n // commit('SET_SearchDoctor', response.data.Data)\r\n resolve(response);\r\n })\r\n .catch(error => {\r\n reject(error);\r\n });\r\n });\r\n },\r\n AddPatientReservationSession(context, model) {\r\n return new Promise((resolve, reject) => {\r\n axios\r\n .post(\r\n \"api/PatientReservationSession/AddPatientReservationSession\",\r\n model\r\n )\r\n .then(response => {\r\n // commit('SET_SearchDoctor', response.data.Data)\r\n resolve(response);\r\n })\r\n .catch(error => {\r\n reject(error);\r\n });\r\n });\r\n },\r\n AddDoctorUserReview(context, model) {\r\n return new Promise((resolve, reject) => {\r\n axios\r\n .post(\"api/DoctorUserReview/AddDoctorUserReview\", model)\r\n .then(response => {\r\n resolve(response);\r\n\r\n window.showSuccess(res.data.message);\r\n })\r\n .catch(error => {\r\n reject(error);\r\n window.showError(err.response.data.message);\r\n });\r\n });\r\n },\r\n SaveDoctorSession(context, model) {\r\n debugger\r\n return new Promise((resolve, reject) => {\r\n axios\r\n .post(\"API/DoctorSession/SaveDoctorSessions\", model)\r\n .then(response => {\r\n // commit('SET_SearchDoctor', response.data.Data)\r\n resolve(response);\r\n })\r\n .catch(error => {\r\n reject(error);\r\n });\r\n });\r\n },\r\n BlockAvailability(context, model) {\r\n debugger\r\n return new Promise((resolve, reject) => {\r\n axios\r\n .post(\"API/DoctorSession/BlockDoctorSessions\", model)\r\n .then(response => {\r\n // commit('SET_SearchDoctor', response.data.Data)\r\n resolve(response);\r\n })\r\n .catch(error => {\r\n reject(error);\r\n });\r\n });\r\n },\r\n\r\n EditAvailability(context, model) {\r\n return new Promise((resolve, reject) => {\r\n axios\r\n .post(\"API/DoctorSession/EditDoctorSessions\", model)\r\n .then(response => {\r\n // commit('SET_SearchDoctor', response.data.Data)\r\n resolve(response);\r\n })\r\n .catch(error => {\r\n reject(error);\r\n });\r\n });\r\n },\r\n PreviewOnCalendar(context, model) {\r\n debugger\r\n return new Promise((resolve, reject) => {\r\n axios\r\n .post(\"API/DoctorSession/AddDoctorSessions\", model)\r\n .then(response => {\r\n // commit('SET_SearchDoctor', response.data.Data)\r\n resolve(response);\r\n })\r\n .catch(error => {\r\n reject(error);\r\n });\r\n });\r\n },\r\n PayReservedSession(context, reservedSessionId) {\r\n return new Promise((resolve, reject) => {\r\n axios\r\n .get(\r\n \"API/PatientReservationSession/PayReservedSession?reservedSessionId=\" +\r\n reservedSessionId\r\n )\r\n .then(response => {\r\n resolve(response);\r\n })\r\n .catch(error => {\r\n reject(error);\r\n });\r\n });\r\n },\r\n UpdateDoctor(context, item) {\r\n return new Promise((resolve, reject) => {\r\n debugger;\r\n axios\r\n .post(\"api/Doctor/UpdateDoctor\", item)\r\n .then(response => {\r\n // commit('UPDATE_Doctor', item)\r\n resolve(response);\r\n })\r\n .catch(error => {\r\n reject(error);\r\n });\r\n });\r\n },\r\n SaveDoctorSessionPrice(context, item) {\r\n return new Promise((resolve, reject) => {\r\n debugger;\r\n axios\r\n .post(\"api/DoctorSessionPrice/UpdateDoctorSessionPrice\", item)\r\n .then(response => {\r\n // commit('UPDATE_Doctor', item)\r\n resolve(response);\r\n })\r\n .catch(error => {\r\n reject(error);\r\n });\r\n });\r\n },\r\n\r\n GetDoctorSessionPriceByDoctorID(context, itemid) {\r\n return new Promise((resolve, reject) => {\r\n debugger;\r\n axios\r\n .get(\r\n \"api/DoctorSessionPrice/GetDoctorSessionPriceByDoctorID?DoctorID=\" +\r\n itemid\r\n )\r\n .then(response => {\r\n // commit('UPDATE_Doctor', response.data.Data)\r\n resolve(response);\r\n })\r\n .catch(error => {\r\n reject(error);\r\n });\r\n });\r\n },\r\n GetDoctor(context, itemid) {\r\n debugger;\r\n return new Promise((resolve, reject) => {\r\n debugger;\r\n axios\r\n .get(\"api/Doctor/GetDoctorByID?doctorID=\" + itemid)\r\n .then(response => {\r\n // commit('UPDATE_Doctor', response.data.Data)\r\n resolve(response);\r\n debugger;\r\n })\r\n .catch(error => {\r\n reject(error);\r\n });\r\n });\r\n },\r\n GetPatientReservationSession(context, itemid) {\r\n return new Promise((resolve, reject) => {\r\n debugger;\r\n axios\r\n .get(\r\n \"api/PatientReservationSession/GetPatientReservationSession?patientReservationID=\" +\r\n itemid\r\n )\r\n .then(response => {\r\n // // commit('UPDATE_Doctor', response.data.Data)\r\n resolve(response);\r\n })\r\n .catch(error => {\r\n reject(error);\r\n });\r\n });\r\n },\r\n GetPatientReservationSessionAndSendNotification(context, itemid) {\r\n return new Promise((resolve, reject) => {\r\n debugger;\r\n axios\r\n .get(\r\n \"api/PatientReservationSession/GetPatientReservationSessionAndSendNotification?patientReservationID=\" +\r\n itemid\r\n )\r\n .then(response => {\r\n // // commit('UPDATE_Doctor', response.data.Data)\r\n resolve(response);\r\n })\r\n .catch(error => {\r\n reject(error);\r\n });\r\n });\r\n },\r\n GetPatientReservationSessionViaDoctor(context, itemid) {\r\n debugger;\r\n return new Promise((resolve, reject) => {\r\n debugger;\r\n axios\r\n .get(\r\n \"api/PatientReservationSession/GetPatientReservationSessionViaDoctor?patientReservationID=\" +\r\n itemid.sessionID +\"&IsDoctorRequest=\" +itemid.IsDoctorRequest\r\n )\r\n .then(response => {\r\n // commit('UPDATE_Doctor', response.data.Data)\r\n resolve(response);\r\n })\r\n .catch(error => {\r\n reject(error);\r\n });\r\n });\r\n },\r\n\r\n AddMedicalPrescription(context, medicalModel) {\r\n return new Promise((resolve, reject) => {\r\n debugger\r\n axios.post(\"api/PatientReservationSessionPrescription/AddMedicalPrescription\", medicalModel)\r\n .then((response) => {\r\n\r\n\r\n\r\n\r\n resolve(response)\r\n })\r\n .catch((error) => { reject(error) })\r\n })\r\n },\r\n\r\n DeleteMedicalPrescription(context, medicalModel) {\r\n return new Promise((resolve, reject) => {\r\n debugger\r\n axios.get(\"api/PatientReservationSessionPrescription/DeleteMedicalPrescription?MedicalPrescriptionId=\" + medicalModel.ID)\r\n .then((response) => {\r\n resolve(response)\r\n })\r\n .catch((error) => { reject(error) })\r\n })\r\n },\r\n DeleteDoctor({ commit }, item) {\r\n return new Promise((resolve, reject) => {\r\n axios\r\n .get(\"api/Doctor/DeleteDoctor?doctorID=\" + item.ID)\r\n .then(response => {\r\n commit(\"REMOVE_ITEM\", item.ID);\r\n resolve(response);\r\n })\r\n .catch(error => {\r\n reject(error);\r\n });\r\n });\r\n },\r\n removeEducation(context, item) {\r\n return new Promise((resolve, reject) => {\r\n axios\r\n .get(\"api/Doctor/DeleteEducationByID?doctorEducationID=\" + item.ID)\r\n .then(response => {\r\n // commit('REMOVE_ITEM', item.ID)\r\n resolve(response);\r\n })\r\n .catch(error => {\r\n reject(error);\r\n });\r\n });\r\n },\r\n removeExperience(context, item) {\r\n return new Promise((resolve, reject) => {\r\n axios\r\n .get(\r\n \"api/Doctor/DeleteExperienceByDoctorID?doctorExperienceID=\" + item.ID\r\n )\r\n .then(response => {\r\n // commit('REMOVE_ITEM', item.ID)\r\n resolve(response);\r\n })\r\n .catch(error => {\r\n reject(error);\r\n });\r\n });\r\n },\r\n removeLink(context, item) {\r\n return new Promise((resolve, reject) => {\r\n axios\r\n .get(\"api/Doctor/DeleteLinkByDoctorID?doctorLinkID=\" + item.ID)\r\n .then(response => {\r\n // commit('REMOVE_ITEM', item.ID)\r\n resolve(response);\r\n })\r\n .catch(error => {\r\n reject(error);\r\n });\r\n });\r\n },\r\n removeSessionPrice(context, item) {\r\n return new Promise((resolve, reject) => {\r\n axios\r\n .get(\"api/Doctor/DeleteSessionPriceByDoctorID?doctorLinkID=\" + item.ID)\r\n .then(response => {\r\n // commit('REMOVE_ITEM', item.ID)\r\n resolve(response);\r\n })\r\n .catch(error => {\r\n reject(error);\r\n });\r\n });\r\n },\r\n //get your patient mkl\r\n getPatientReservationCalender({ commit }, item) {\r\n debugger;\r\n return new Promise((resolve, reject) => {\r\n axios\r\n .post(\r\n \"/API/PatientReservationSession/SearchPatientReservationSessions\",\r\n item\r\n )\r\n .then(response => {\r\n debugger;\r\n\r\n commit(\"GET_PATIENT_RESERVATION_Month\", response.data.Data);\r\n debugger;\r\n resolve(response);\r\n })\r\n .catch(error => {\r\n debugger;\r\n reject(error);\r\n });\r\n });\r\n },\r\n getPatientReservation({ commit }, item) {\r\n debugger;\r\n return new Promise((resolve, reject) => {\r\n axios\r\n .post(\r\n \"/API/PatientReservationSession/SearchPatientReservationSessions\",\r\n item\r\n )\r\n .then(response => {\r\n debugger;\r\n\r\n commit(\"GET_PATIENT_RESERVATION\", response.data.Data);\r\n debugger;\r\n resolve(response);\r\n })\r\n .catch(error => {\r\n debugger;\r\n reject(error);\r\n });\r\n });\r\n },\r\n GetDoctorPatients({ commit }, doctorId) {\r\n debugger;\r\n return new Promise((resolve, reject) => {\r\n axios\r\n .get(\"/API/Doctor/GetDoctorPatients?doctorId=\" + doctorId)\r\n .then(response => {\r\n resolve(response);\r\n })\r\n .catch(error => {\r\n debugger;\r\n reject(error);\r\n });\r\n });\r\n },\r\n CompletePatientReservation({ commit }, ID) {\r\n var session={}\r\n session.PatientReservationSessionID=ID;\r\n session.StatusID=5;\r\n debugger;\r\n return new Promise((resolve, reject) => {\r\n axios.post(\"API/PatientReservationSession/ChangePatientReservationSessionStatus\", session)\r\n .then((response) => {\r\n resolve(response)\r\n })\r\n .catch((error) => { reject(error) })\r\n })\r\n // return new Promise((resolve, reject) => {\r\n // axios\r\n // .post(\r\n // \"/API/PatientReservationSession/CompletePatientReservation?ID=\" + ID\r\n // )\r\n // .then(response => {\r\n // debugger;\r\n\r\n // commit(\"GET_PATIENT_RESERVATION\", response.data.Data);\r\n // resolve(response);\r\n // })\r\n // .catch(error => {\r\n // debugger;\r\n // reject(error);\r\n // });\r\n // });\r\n },\r\n //get your patient download report mkl\r\n PatientMedicalReportRequestDownloadDoc({ commit }, item) {\r\n debugger;\r\n return new Promise((resolve, reject) => {\r\n axios\r\n .post(\r\n \"/api/Patient/GetAllPatientMedicalReportReservationDownload\",\r\n item\r\n )\r\n .then(response => {\r\n debugger;\r\n\r\n commit(\"GET_PATIENT_RESERVATION\", response.data.Data);\r\n debugger;\r\n resolve(response);\r\n })\r\n .catch(error => {\r\n debugger;\r\n reject(error);\r\n });\r\n });\r\n },\r\n\r\n //change status of download document\r\n ChangeDocStatus({ commit }, item) {\r\n debugger;\r\n return new Promise((resolve, reject) => {\r\n axios\r\n .post(\r\n \"/api/Doctor/ChangeDocStatus\",\r\n item\r\n )\r\n .then(response => {\r\n debugger;\r\n\r\n //commit(\"GET_PATIENT_RESERVATION\", response.data.Data);\r\n debugger;\r\n resolve(response);\r\n })\r\n .catch(error => {\r\n debugger;\r\n reject(error);\r\n });\r\n });\r\n },\r\n //change download Detials\r\n changeDowloadDocumentStatus({ commit }, item) {\r\n debugger;\r\n return new Promise((resolve, reject) => {\r\n axios\r\n .post(\r\n \"/api/Patient/GetAllPatientMedicalReportReservationDownload\",\r\n item\r\n )\r\n .then(response => {\r\n debugger;\r\n\r\n commit(\"GET_PATIENT_RESERVATION\", response.data.Data);\r\n debugger;\r\n resolve(response);\r\n })\r\n .catch(error => {\r\n debugger;\r\n reject(error);\r\n });\r\n });\r\n },\r\n GetAllPatientMedicalReportDownloadHospitalSurgery({ commit }, item) {\r\n debugger;\r\n return new Promise((resolve, reject) => {\r\n axios\r\n .post(\r\n \"/api/Patient/GetAllPatientMedicalReportDownloadHospitalSurgery\",\r\n item\r\n )\r\n .then(response => {\r\n debugger;\r\n\r\n commit(\"GET_PATIENT_RESERVATION\", response.data.Data);\r\n debugger;\r\n resolve(response);\r\n })\r\n .catch(error => {\r\n debugger;\r\n reject(error);\r\n });\r\n });\r\n },\r\n\r\n //get pending doctor task mkl\r\n GetPendingDoctorTaskList({ commit }, item) {\r\n debugger;\r\n return new Promise((resolve, reject) => {\r\n axios\r\n .post(\"/api/Doctor/GetPendingDoctorTask?ID=\" + item)\r\n .then(response => {\r\n debugger;\r\n\r\n commit(\"GET_PENDING_TASK_LIST\", response.data.Data);\r\n debugger;\r\n resolve(response);\r\n })\r\n .catch(error => {\r\n debugger;\r\n reject(error);\r\n });\r\n });\r\n }\r\n};\r\n","/*=========================================================================================\r\n File Name: moduleCategoryAssessmentGetters.js\r\n Description: CategoryAssessment Module Getters\r\n ----------------------------------------------------------------------------------------\r\n Item Name: Vuexy - Vuejs, HTML & Laravel Admin Dashboard Template\r\n Author: Pixinvent\r\n Author URL: http://www.themeforest.net/user/pixinvent\r\n==========================================================================================*/\r\n\r\n\r\nexport default {\r\n \r\n}\r\n","/*=========================================================================================\r\n File Name: moduleDoctor.js\r\n Description: Doctor Module\r\n ----------------------------------------------------------------------------------------\r\n Item Name: Vuexy - Vuejs, HTML & Laravel Admin Dashboard Template\r\n Author: Pixinvent\r\n Author URL: http://www.themeforest.net/user/pixinvent\r\n==========================================================================================*/\r\n\r\n\r\nimport state from './moduleDoctorState.js'\r\nimport mutations from './moduleDoctorMutations.js'\r\nimport actions from './moduleDoctorActions.js'\r\nimport getters from './moduleDoctorGetters.js'\r\n\r\nexport default {\r\n\tnamespaced: true,\r\n state: state,\r\n mutations: mutations,\r\n actions: actions,\r\n getters: getters\r\n}\r\n"],"sourceRoot":""}