{"version":3,"sources":["webpack:///./src/doctor-app/components/BookAppointmentNew.vue?3795","webpack:///./src/doctor-app/components/BookAppointmentNew.vue","webpack:///./src/doctor-app/components/BookAppointmentNew.vue?917f","webpack:///./src/doctor-app/components/BookAppointmentNew.vue?a4d4","webpack:///./src/doctor-app/service/DoctorScheduleService.ts","webpack:///./src/doctor-app/service/DoctorChamberService.ts","webpack:///./src/doctor-app/service/DoctorAppointmentService.ts","webpack:///./src/doctor-app/components/BookAppointmentOld.vue?d0b8","webpack:///./src/doctor-app/components/BookAppointmentOld.vue","webpack:///./src/doctor-app/components/BookAppointmentOld.vue?4493","webpack:///./src/doctor-app/components/BookAppointmentOld.vue?08ed"],"names":["render","_vm","this","_h","$createElement","_c","_self","attrs","model","value","callback","$$v","isShow","expression","slot","_v","staticClass","on","$event","close","class","active","showCompleteTab","disabled","enableStep2","preventDefault","appointmentFrom","directives","name","rawName","doctorAppointment","domProps","target","composing","$set","errors","has","_e","$$selectedVal","Array","prototype","filter","call","options","o","selected","map","val","_value","chamberId","multiple","onChange","_l","chamber","index","key","id","_s","first","findSchedule","onchangeCalendar","currentDate","schedules","length","schedule","isBooked","_f","startTime","currentIndex","getScheduleId","any","submited","staticRenderFns","currentTab","Date","scheduleList","chamberScheduleList","chambers","appointmentDate","f","dict","custom","ChamberName","required","patientName","Phone","numeric","min","max","DOB","$validator","localize","DoctorChamberService","GetListByUser","then","res","data","result","scheduleId","dd","currentDay","setDate","getDate","DoctorScheduleService","GetScheduleListByDate","validate","valid","chamberSchedulesId","DoctorAppointmentService","insertDr","status","refreshAptSchedule","alert","catch","err","event","onChangeSchedule","value2","day","getDay","s","e","$nextTick","components","component","GetListByUser2","get","DrScheduleListByUser","GetListByChamber","DrScheduleListByChamber","GetWeeklyScheduleList","DrChamberScheduleWeeklyListById","GetScheduleList","startDate","DrChamberScheduleList","toISOString","GetScheduleListById","doctorId","DrChamberScheduleListById","DrChamberScheduleListByDate","insert","post","DrChamberScheduleInsert","JSON","stringify","UpdateSchedule","DrChamberScheduleUpdate","getDelete","delete","DrScheduleDelete","DrChamberListByUser","GetAllChamberByUser","DrAllChamberListByUser","DrChamberInsert","update","put","DrChamberUpdate","DrChamberDelete","refreshAptScheduleSubject","refresh","next","getAptScheduleRefresh","asObservable","appoit","DrAppointmentInsert","DrAppointmentInsertAdmin","varify","DrAppointmentVerification","reSendCode","appointmentId","DrAppointmentReSendCode","approvedUnApproved","appointment","DrAppointmentAppUnApp","GetAppoitmentByCurrentUser","DrAppointmentGetListByUser","GetAppoitmentByDrId","DrAppointmentGetListByDrId","GetAppoitmentByDate1","DrAppointmentGetListByAppointmentDate","GetAppoitmentByDate","fromDate","toDate","DrAppointmentGetByAppointmentDate","GetAppoitmentByCurrentDoctor","DrAppointmentGetListByDoctor","DrAwardDelete","cancel","DrAppointmentCancel","daysOfMonth","month","DrAppointmentDaysOfMonth","getChartDate","DrAppointmentChartData","getByAppointmentDate","getChamberCountByAppointmentDate","DrAppointmentGetChamberCountByAppointmentDate","getChamberWeeklyCountByAppointmentDate","DrAppointmentGetChamberWeeklyCountByAppointmentDate","getAppointmentSearch","phone","patientId","dob","DrAppointmentSearch","getAppointmentById","DrAppointmentById","showSelectDateTab","enableStep3","searchFrom","staticStyle","getOldPatient","confirmFrom","allAvaliableSchedules","appointmentList","chamberSchedule","doctorAppoitment","showVerificationTab","showConfirmationTab","verificationCode","isConfirmed","enableDatepicker","isLoggedIn","isShowGuestLogin","sendMessageCount","isAppointment","Phone2","beforeCurrentDate","validateAll","messageType"],"mappings":"kHAAA,I,EAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACA,EAAG,UAAU,CAACE,MAAM,CAAC,wBAAuB,EAAK,KAAO,KAAK,SAAW,GAAG,cAAc,IAAIC,MAAM,CAACC,MAAOR,EAAU,OAAES,SAAS,SAAUC,GAAMV,EAAIW,OAAOD,GAAKE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7F,IAClF,IAAI6G,EAAMpH,KAAK2D,YAAY0D,SAC3BrH,KAAKyE,aAAezE,KAAK0E,oBAAoBnC,QAAO,SAAC+E,GAAD,OAAOA,EAAEF,KAAOA,MAAQ,GAC5EpH,KAAKkH,qBArLT,yCAwLkB,WACdb,EAAA,KAAsBC,sBAAsBtG,KAAK+C,UAAW/C,KAAK2D,aAAaiC,MAAK,SAACC,GAClF,EAAKjC,UAAY,GAIjB,EAAKsJ,sBAAwB,GACzBrH,EAAIC,KAAKC,SACX,EAAKnC,UAAYiC,EAAIC,KAAKC,OAC1B,EAAKmH,sBAAwB,EAAKtJ,UAAUrB,QAAO,SAAC+E,GAAD,OAAqB,GAAdA,EAAEvD,aAAsB,SAjM1F,uCAqMmBwD,GAAM,WACrBvH,KAAKwH,WAAU,kBAAM,EAAKN,0BAtM9B,GAAgD,QAuCpB,QAAzB,eAAK,CAAEjC,UAAU,I,8DACQ,QAAzB,eAAK,CAAEA,UAAU,I,qBAAwB,oB,EAAA,qBAAJT,YAAI,W,iCAChB,QAAzB,eAAK,CAAES,UAAU,I,+DAGlB,QADC,eAAK,S,sHAIL,MA/CkB,EAAkB,QAHtC,eAAU,CACTwC,WAAY,MAEO,WCjW0Y,I,YCO3ZC,EAAY,eACd,EACA5H,EACAwE,GACA,EACA,KACA,KACA,MAIa,OAAAoD,E","file":"js/chunk-2f72c712.0138aa31.js","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('b-modal',{attrs:{\"no-close-on-backdrop\":true,\"size\":\"xl\",\"centered\":\"\",\"hide-footer\":\"\"},model:{value:(_vm.isShow),callback:function ($$v) {_vm.isShow=$$v},expression:\"isShow\"}},[_c('template',{slot:\"modal-header\"},[_c('h5',[_vm._v(\"Book Appointment for New Patient\")]),_c('span',{staticClass:\"ml-auto text-secondary d-inline-flex cursor-pointer\",on:{\"click\":function($event){return _vm.close()}}},[_c('i',{staticClass:\"icon-circle-cross fs-24\"})])]),_c('template',{slot:\"default\"},[_c('div',{staticClass:\"pg-bar02\"},[_c('ul',{staticClass:\"nav nav-tabs pb-2 border-bottom-0\",attrs:{\"role\":\"tablist\"}},[_c('li',{attrs:{\"role\":\"presentation\"}},[_c('a',{class:{\n active: !_vm.showCompleteTab,\n disabled: _vm.enableStep2,\n },attrs:{\"href\":\"#step1\",\"data-toggle\":\"tab\",\"aria-controls\":\"step1\",\"role\":\"tab\"}},[_c('b'),_c('span',[_vm._v(\"Request Appointment\")])])]),_c('li',{attrs:{\"role\":\"presentation\"}},[_c('a',{class:{\n disabled: !_vm.enableStep2,\n active: _vm.showCompleteTab,\n },attrs:{\"href\":\"#complete\",\"data-toggle\":\"tab\",\"aria-selected\":\"true\",\"aria-controls\":\"complete\",\"role\":\"tab\"}},[_c('b'),_c('span',[_vm._v(\"Complete\")])])])])]),_c('div',{staticClass:\"tab-content\"},[_c('div',{staticClass:\"tab-pane\",class:{ active: !_vm.showCompleteTab },attrs:{\"role\":\"tabpanel\",\"id\":\"step1\"}},[_c('form',{attrs:{\"autocomplete\":\"off\"},on:{\"submit\":function($event){$event.preventDefault();return _vm.appointmentFrom($event)}}},[_c('div',{staticClass:\"row mb-4\"},[_c('div',{staticClass:\"col-12 col-md-6\"},[_c('div',{staticClass:\"form-group\"},[_c('label',{staticClass:\"h6 font-weight-bold\",attrs:{\"for\":\"\"}},[_vm._v(\"Patient Name\")]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.doctorAppointment.patientName),expression:\"doctorAppointment.patientName\"},{name:\"validate\",rawName:\"v-validate\",value:('required'),expression:\"'required'\"}],staticClass:\"form-control\",attrs:{\"type\":\"text\",\"name\":\"patient Name\",\"placeholder\":\"Patient Name\"},domProps:{\"value\":(_vm.doctorAppointment.patientName)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.doctorAppointment, \"patientName\", $event.target.value)}}}),(_vm.errors.has('patient Name'))?_c('span',{staticClass:\"text-danger\"},[_vm._v(\" The Patient Name is required. \")]):_vm._e()])]),_c('div',{staticClass:\"col-12 col-md-6\"},[_c('div',{staticClass:\"form-group\"},[_c('label',{staticClass:\"h6 font-weight-bold\",attrs:{\"for\":\"\"}},[_vm._v(\"Chamber Name\")]),_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.chamberId),expression:\"chamberId\"}],staticClass:\"form-control\",attrs:{\"name\":\"ChamberName\"},on:{\"change\":[function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.chamberId=$event.target.multiple ? $$selectedVal : $$selectedVal[0]},function($event){return _vm.onChange($event)}]}},_vm._l((_vm.chambers),function(chamber,index){return _c('option',{key:index,domProps:{\"value\":chamber.id}},[_vm._v(_vm._s(chamber.name))])}),0)])]),_c('div',{staticClass:\"col-12 col-md-6\"},[_c('div',{staticClass:\"form-group\"},[_c('label',{staticClass:\"h6 font-weight-bold\",attrs:{\"for\":\"\"}},[_vm._v(\"Phone No\")]),_c('input',{directives:[{name:\"validate\",rawName:\"v-validate\",value:('required|numeric|min:11|max:11'),expression:\"'required|numeric|min:11|max:11'\"},{name:\"model\",rawName:\"v-model\",value:(_vm.doctorAppointment.phone),expression:\"doctorAppointment.phone\"}],staticClass:\"form-control phone\",attrs:{\"type\":\"tel\",\"name\":\"Phone\",\"placeholder\":\"Phone Number\"},domProps:{\"value\":(_vm.doctorAppointment.phone)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.doctorAppointment, \"phone\", $event.target.value)}}}),(_vm.errors.has('Phone'))?_c('span',{staticClass:\"text-danger\"},[_vm._v(_vm._s(_vm.errors.first(\"Phone\")))]):_vm._e()])]),_c('div',{staticClass:\"col-12 col-md-6\"},[_c('label',{staticClass:\"h6 font-weight-bold\",attrs:{\"for\":\"\"}},[_vm._v(\"Date of birth\")]),_c('datepicker',{directives:[{name:\"validate\",rawName:\"v-validate\",value:('required'),expression:\"'required'\"}],attrs:{\"placeholder\":\"Date of Birth\",\"bootstrap-styling\":true,\"typeable\":\"\",\"name\":\"DOB\"},model:{value:(_vm.doctorAppointment.dob),callback:function ($$v) {_vm.$set(_vm.doctorAppointment, \"dob\", $$v)},expression:\"doctorAppointment.dob\"}}),(_vm.errors.has('DOB'))?_c('span',{staticClass:\"text-danger\"},[_vm._v(_vm._s(_vm.errors.first(\"DOB\")))]):_vm._e()],1)]),_c('div',{staticClass:\"row justify-content-center\"},[_c('div',{staticClass:\"col-12\"},[_c('div',{staticClass:\"d-flex align-items-center mt-3 border-bottom pb-2 border-1px\"},[_c('h4',{staticClass:\"text-uppercase\"},[_vm._v(\"Select the best time to meet the doctor.\")]),_c('div',{staticClass:\"ml-auto calander d-flex align-items-center cursor-pointer\"},[_c('i',{staticClass:\"icon-md icon-calendar\"}),_c('datepicker',{attrs:{\"bootstrap-styling\":true},model:{value:(this.currentDate),callback:function ($$v) {_vm.$set(this, \"currentDate\", $$v)},expression:\"this.currentDate\"}})],1),_c('div',{staticClass:\"ml-2 d-flex align-items-center\"},[_c('div',{staticClass:\"dateChanger\"},[_c('a',{staticClass:\"prev\",attrs:{\"href\":\"#\"},on:{\"click\":function($event){$event.preventDefault();return _vm.findSchedule(-1)}}},[_c('i',{staticClass:\"icon-chevron-left\"})]),_c('span',{staticClass:\"date bg-warning fs-10\"},[_c('datepicker',{attrs:{\"bootstrap-styling\":true},on:{\"selected\":function($event){return _vm.onchangeCalendar()}},model:{value:(_vm.currentDate),callback:function ($$v) {_vm.currentDate=$$v},expression:\"currentDate\"}})],1),_c('a',{staticClass:\"next\",attrs:{\"href\":\"#\"},on:{\"click\":function($event){$event.preventDefault();return _vm.findSchedule(1)}}},[_c('i',{staticClass:\"icon-chevron-right\"})])])])]),_c('div',{staticClass:\"d-flex mt-3\"},[_c('div',{staticClass:\"mb-3 mr-3\"},[_c('div',{staticClass:\"card card-time border-blue bg-blue\"},[_c('div',{staticClass:\"card-header bg-blue d-flex justify-content-between px-3\"},[_c('h4',{staticClass:\"fs-17 text-uppercase text-white\"},[_vm._v(\"Available\")])]),_c('div',{staticClass:\"card-body d-flex align-items-center\"},[_c('h2',{staticClass:\"m-auto text-white\"},[_vm._v(_vm._s(this.schedules.length))])])])]),_c('div',{staticClass:\"d-flex justify-content-center flex-wrap appointment-timings\"},_vm._l((_vm.schedules),function(schedule,index){return _c('div',{key:index,staticClass:\"mb-3 mr-3\"},[(!schedule.isBooked)?_c('div',{staticClass:\"card card-time\",class:{ 'bg-warning': schedule.id == _vm.currentIndex },on:{\"click\":function($event){return _vm.getScheduleId(schedule.id, schedule.startTime, index)}}},[_c('div',{staticClass:\"card-body\"},[_c('p',{staticClass:\"mb-0\"},[_c('span',[_vm._v(_vm._s(_vm._f(\"time12hour\")(schedule.startTime)))])])])]):_c('div',{staticClass:\"card card-time disabled\"},[_c('div',{staticClass:\"card-body\"},[_c('p',{staticClass:\"mb-0\"},[_c('span',[_vm._v(_vm._s(_vm._f(\"time12hour\")(schedule.startTime)))])])])])])}),0)]),_c('h4',{staticClass:\"border-top text-center\"},[_vm._v(\" You have select the appointment of \"),_c('span',{staticClass:\"text-info\"},[_vm._v(_vm._s(_vm._f(\"moment\")(this.currentDate,\"DD MMM YYYY\"))+\" - \"+_vm._s(_vm._f(\"time12hour\")(this.startTime)))]),_vm._v(\". Thanks! \")])]),_c('div',{staticClass:\"col-12 d-flex\"},[_c('button',{staticClass:\"btn btn-lg btn-secondary ml-auto\",attrs:{\"disabled\":_vm.errors.any() || _vm.submited,\"type\":\"submit\"}},[_vm._v(\"Next\")])])])])]),_c('div',{staticClass:\"tab-pane\",class:{ active: _vm.showCompleteTab },attrs:{\"role\":\"tabpanel\",\"id\":\"complete\"}},[_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col-12 text-center mb-2\"},[_c('div',{staticClass:\"d-inline-flex align-items-center justify-content-center mb-3\"},[_c('i',{staticClass:\"icon-circle-tick text-green icon-thumb\"})]),_c('h4',{staticClass:\"text-uppercase border-bottom border-1px pb-2\"},[_vm._v(\" Appointment Created Successfully \"),_c('br'),_vm._v(\" You will get confirmation message/email once your Appointment is approved by Doctor office. \")])])]),_c('div',{staticClass:\"row mb-5\"},[_c('div',{staticClass:\"col-12 text-center\"},[_c('p',[_vm._v(\" Thank you for using BDDOT. If you have any question and concern please contact BDDOT Customer support or live chat. \"),_c('br'),_vm._v(\"Thank you \"),_c('br'),_vm._v(\"BDDOT TEAM \")])])])])])])],2)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Vue, Component, Prop, Watch, Emit } from \"vue-property-decorator\";\r\nimport { IDoctorChamberSchedule } from \"../models/DoctorChamberSchedule\";\r\nimport DoctorChamberService from \"../service/DoctorChamberService\";\r\nimport { IDoctorChamber } from \"../models/DoctorChamber\";\r\nimport DoctorScheduleService from \"@/doctor-app/service/DoctorScheduleService\";\r\nimport DoctorAppointmentService from \"@/doctor-app/service/DoctorAppointmentService\";\r\nimport { IDoctorSchedule } from \"@/doctor-app/models/DoctorSchedule\";\r\nimport { IDoctorAppointment } from \"@/doctor-app/models/DoctorAppointment\";\r\n@Component({\r\n components: {},\r\n})\r\nexport default class BookAppointmentNew extends Vue {\r\n public isShow: boolean = true;\r\n public currentTab = \"#step1\";\r\n public enableStep2: boolean = false;\r\n public showCompleteTab: boolean = false;\r\n public currentDate: Date = new Date();\r\n public scheduleList: IDoctorChamberSchedule[] = [];\r\n public chamberScheduleList: IDoctorChamberSchedule[] = [];\r\n public chambers: IDoctorChamber[] = [];\r\n public schedules: IDoctorSchedule[] = [];\r\n public doctorAppointment: IDoctorAppointment = { appointmentDate: this.currentDate } as IDoctorAppointment;\r\n public submited: boolean = false;\r\n public startTime: any = \"\";\r\n public currentIndex: number = -1;\r\n @Prop({ required: true }) chamberId: any;\r\n @Prop({ required: true }) currentDay: Date;\r\n @Prop({ required: true }) scheduleId: any;\r\n @Emit(\"close\")\r\n close() {\r\n this.isShow = false;\r\n return this.isShow;\r\n }\r\n dataGet(f: IDoctorAppointment) {\r\n this.doctorAppointment = f;\r\n }\r\n created() {\r\n const dict = {\r\n custom: {\r\n ChamberName: {\r\n required: \"The chamber name is required.\",\r\n },\r\n patientName: {\r\n required: \"Patient name is required.\",\r\n },\r\n Phone: {\r\n required: \"Phone number is required.\",\r\n numeric: \"phone number can only contain numeric value.\",\r\n min: \"Phone number should be minimum 11 charecter.\",\r\n max: \"Phone number cab be maximum 11 charecter.\",\r\n },\r\n DOB: {\r\n required: \"Date of birth is required\",\r\n },\r\n },\r\n };\r\n this.$validator.localize(\"en\", dict);\r\n DoctorChamberService.GetListByUser().then((res) => {\r\n if (res.data.result) {\r\n this.chambers = res.data.result;\r\n }\r\n });\r\n }\r\n mounted() {\r\n this.currentIndex = this.scheduleId;\r\n this.chamberId = this.chamberId;\r\n var dd = new Date(this.currentDay);\r\n this.currentDate = new Date(this.currentDate.setDate(dd.getDate()));\r\n this.currentDate = new Date(this.currentDay);\r\n\r\n DoctorScheduleService.GetScheduleListByDate(this.chamberId, this.currentDate).then((res) => {\r\n if (res.data.result) {\r\n this.schedules = res.data.result;\r\n //console.log(this.schedules);\r\n }\r\n });\r\n }\r\n appointmentFrom() {\r\n this.$validator.validate().then((valid) => {\r\n this.doctorAppointment.chamberId = this.chamberId;\r\n this.doctorAppointment.chamberSchedulesId = this.scheduleId;\r\n this.doctorAppointment.appointmentDate = this.currentDate;\r\n if (valid) {\r\n this.submited = true;\r\n DoctorAppointmentService.insertDr(this.doctorAppointment)\r\n .then((res) => {\r\n if (res.data.status) {\r\n this.showCompleteTab = true;\r\n DoctorAppointmentService.refreshAptSchedule(true);\r\n // AlertService.sendMessage(\"success\");\r\n } else {\r\n this.submited = false;\r\n alert(\"Time Slot is not exists\");\r\n //AlertService.sendMessage(\"success\");\r\n }\r\n })\r\n .catch((err) => {\r\n // console.log(err);\r\n this.submited = true;\r\n });\r\n } else {\r\n this.submited = false;\r\n }\r\n });\r\n }\r\n onChangeSchedule() {\r\n DoctorScheduleService.GetScheduleListByDate(this.chamberId, this.currentDate).then((res) => {\r\n this.schedules = [];\r\n if (res.data.result) {\r\n this.schedules = res.data.result;\r\n //console.log(this.schedules);\r\n }\r\n });\r\n }\r\n onChange(event: any) {\r\n this.chamberId = event.target.value;\r\n this.onChangeSchedule();\r\n }\r\n getScheduleId(value: any, value2: any, index: number) {\r\n this.scheduleId = value;\r\n this.startTime = value2;\r\n this.currentIndex = value;\r\n //alert(this.currentIndex);\r\n }\r\n findSchedule(value: number) {\r\n this.currentDate = new Date(this.currentDate.setDate(this.currentDate.getDate() + value));\r\n let day = this.currentDate.getDay();\r\n this.scheduleList = this.chamberScheduleList.filter((s) => s.day == day) || [];\r\n this.onChangeSchedule();\r\n }\r\n onchangeCalendar(e: any) {\r\n this.$nextTick(() => this.onChangeSchedule());\r\n }\r\n}\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BookAppointmentNew.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BookAppointmentNew.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./BookAppointmentNew.vue?vue&type=template&id=6a47b7b1&\"\nimport script from \"./BookAppointmentNew.vue?vue&type=script&lang=ts&\"\nexport * from \"./BookAppointmentNew.vue?vue&type=script&lang=ts&\"\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","import { AuthAxios } from \"../../global-config/HttpConfig\";\r\nimport { ApiURIs } from \"../../global-config/ApiList\";\r\nimport { IDoctorSchedule } from \"../models/DoctorSchedule\"; \r\n\r\nexport default {\r\n GetListByUser2() {\r\n return AuthAxios.get(ApiURIs.DrScheduleListByUser);\r\n },\r\n GetListByChamber() {\r\n return AuthAxios.get(ApiURIs.DrScheduleListByChamber);\r\n },\r\n GetWeeklyScheduleList() {\r\n return AuthAxios.get(ApiURIs.DrChamberScheduleWeeklyListById);\r\n },\r\n GetScheduleList(\r\n chamberId: number,\r\n startDate: Date,\r\n ) {\r\n return AuthAxios.get(\r\n `${\r\n ApiURIs.DrChamberScheduleList\r\n }?chamberId=${chamberId}&startDate=${startDate.toISOString()}`\r\n );\r\n },\r\n GetScheduleListById(\r\n doctorId:number,\r\n chamberId: number,\r\n startDate: Date,\r\n ) {\r\n return AuthAxios.get(\r\n `${\r\n ApiURIs.DrChamberScheduleListById\r\n }?doctorId=${doctorId}&chamberId=${chamberId}&startDate=${startDate.toISOString()}`\r\n );\r\n },\r\n\r\n\r\n GetScheduleListByDate(\r\n chamberId: number,\r\n startDate: Date,\r\n ) {\r\n return AuthAxios.get(\r\n `${\r\n ApiURIs.DrChamberScheduleListByDate\r\n }?chamberId=${chamberId}&startDate=${startDate.toISOString()}`\r\n );\r\n },\r\n\r\n insert(schedule: IDoctorSchedule) {\r\n return AuthAxios.post(ApiURIs.DrChamberScheduleInsert, JSON.stringify(schedule));\r\n },\r\n UpdateSchedule(schedule: IDoctorSchedule) {\r\n return AuthAxios.post(ApiURIs.DrChamberScheduleUpdate, JSON.stringify(schedule));\r\n },\r\n getDelete(id: number) {\r\n return AuthAxios.delete(`${ApiURIs.DrScheduleDelete}/${id}`);\r\n },\r\n GetListByUser(chamberId: number) {\r\n return AuthAxios.get(\r\n `${ApiURIs.DrScheduleListByUser}?chamberId=${chamberId}`\r\n );\r\n },\r\n\r\n};\r\n","import { AuthAxios } from \"../../global-config/HttpConfig\";\r\nimport { ApiURIs } from \"../../global-config/ApiList\";\r\nimport { IDoctorChamber } from \"../models/DoctorChamber\";\r\n\r\nexport default { \r\n GetListByUser() {\r\n return AuthAxios.get(ApiURIs.DrChamberListByUser);\r\n },\r\n\r\n GetAllChamberByUser() {\r\n return AuthAxios.get(ApiURIs.DrAllChamberListByUser);\r\n },\r\n\r\n insert(chamber: IDoctorChamber) {\r\n return AuthAxios.post(ApiURIs.DrChamberInsert, JSON.stringify(chamber));\r\n },\r\n update(chamber: IDoctorChamber) {\r\n return AuthAxios.put(ApiURIs.DrChamberUpdate, JSON.stringify(chamber));\r\n },\r\n delete(id: number) {\r\n return AuthAxios.delete(`${ApiURIs.DrChamberDelete}/${id}`);\r\n }\r\n};\r\n","import { AuthAxios } from \"../../global-config/HttpConfig\";\r\nimport { ApiURIs } from \"../../global-config/ApiList\";\r\nimport { IDoctorAppointment } from \"../models/DoctorAppointment\";\r\nimport { Subject } from \"rxjs\";\r\n\r\nconst refreshAptScheduleSubject = new Subject();\r\n\r\nexport default {\r\n refreshAptSchedule: (refresh: boolean) => {\r\n //console.log(\"refreshAptSchedule\", refresh);\r\n\r\n refreshAptScheduleSubject.next(refresh);\r\n },\r\n getAptScheduleRefresh: () => {\r\n return refreshAptScheduleSubject.asObservable();\r\n },\r\n\r\n insert(appoit: IDoctorAppointment) {\r\n return AuthAxios.post(ApiURIs.DrAppointmentInsert, JSON.stringify(appoit));\r\n },\r\n insertDr(appoit: IDoctorAppointment) {\r\n return AuthAxios.post(ApiURIs.DrAppointmentInsertAdmin, JSON.stringify(appoit));\r\n },\r\n varify(appoit: IDoctorAppointment) {\r\n return AuthAxios.post(ApiURIs.DrAppointmentVerification, JSON.stringify(appoit));\r\n },\r\n reSendCode(appointmentId: number) {\r\n return AuthAxios.get(ApiURIs.DrAppointmentReSendCode + \"/\" + appointmentId);\r\n },\r\n // approvedUnApproved(appId: number, isApp: boolean) {\r\n // return AuthAxios.post(ApiURIs.DrAppointmentAppUnApp, {\r\n // appointmentId: appId,\r\n // isActive: isApp\r\n // });\r\n // },\r\n approvedUnApproved(appointment: IDoctorAppointment) {\r\n return AuthAxios.post(ApiURIs.DrAppointmentAppUnApp, JSON.stringify(appointment));\r\n },\r\n GetAppoitmentByCurrentUser() {\r\n return AuthAxios.get(ApiURIs.DrAppointmentGetListByUser);\r\n },\r\n GetAppoitmentByDrId() {\r\n return AuthAxios.get(ApiURIs.DrAppointmentGetListByDrId);\r\n },\r\n GetAppoitmentByDate1() {\r\n return AuthAxios.get(ApiURIs.DrAppointmentGetListByAppointmentDate);\r\n },\r\n GetAppoitmentByDate(fromDate: Date, toDate: Date) {\r\n return AuthAxios.get(\r\n `${ApiURIs.DrAppointmentGetByAppointmentDate}?fromDate=${fromDate.toISOString()}&toDate=${toDate.toISOString()}`\r\n );\r\n },\r\n GetAppoitmentByCurrentDoctor() {\r\n return AuthAxios.get(ApiURIs.DrAppointmentGetListByDoctor);\r\n },\r\n delete(id: number) {\r\n return AuthAxios.delete(`${ApiURIs.DrAwardDelete}/${id}`);\r\n },\r\n cancel(id: number) {\r\n return AuthAxios.delete(`${ApiURIs.DrAppointmentCancel}/${id}`);\r\n },\r\n\r\n daysOfMonth(month: number) {\r\n return AuthAxios.get(`${ApiURIs.DrAppointmentDaysOfMonth}?month=${month}`);\r\n },\r\n getChartDate(month: number) {\r\n return AuthAxios.get(`${ApiURIs.DrAppointmentChartData}?month=${month}`);\r\n },\r\n\r\n getByAppointmentDate(appointmentDate: Date) {\r\n return AuthAxios.get(`${ApiURIs.DrAppointmentGetByAppointmentDate}?appointmentDate=${appointmentDate.toISOString()}`);\r\n },\r\n\r\n getChamberCountByAppointmentDate(appointmentDate: Date) {\r\n return AuthAxios.get(`${ApiURIs.DrAppointmentGetChamberCountByAppointmentDate}?appointmentDate=${appointmentDate.toISOString()}`);\r\n },\r\n getChamberWeeklyCountByAppointmentDate(appointmentDate: Date) {\r\n return AuthAxios.get(\r\n `${ApiURIs.DrAppointmentGetChamberWeeklyCountByAppointmentDate}?appointmentDate=${appointmentDate.toISOString()}`\r\n );\r\n },\r\n getAppointmentSearch(phone: string, patientId: string, patientName: string, dob: Date) {\r\n return AuthAxios.get(\r\n `${ApiURIs.DrAppointmentSearch}?phone=${phone}&patientId=${patientId}&patientName=${patientName}&dob=${dob.toISOString()}`\r\n );\r\n },\r\n getAppointmentById(id: number) {\r\n return AuthAxios.get(`${ApiURIs.DrAppointmentById}?id=${id}`);\r\n }\r\n};\r\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('b-modal',{attrs:{\"no-close-on-backdrop\":true,\"size\":\"xl\",\"centered\":\"\",\"hide-footer\":\"\"},model:{value:(_vm.isShow),callback:function ($$v) {_vm.isShow=$$v},expression:\"isShow\"}},[_c('template',{slot:\"modal-header\"},[_c('h5',[_vm._v(\"Book Appointment for Old Patient\")]),_c('span',{staticClass:\"ml-auto text-secondary d-inline-flex cursor-pointer\",on:{\"click\":function($event){return _vm.close()}}},[_c('i',{staticClass:\"icon-circle-cross fs-24\"})])]),_c('template',{slot:\"default\"},[_c('div',{staticClass:\"pg-bar02\"},[_c('ul',{staticClass:\"nav nav-tabs pb-2 border-bottom-0\",attrs:{\"role\":\"tablist\"}},[_c('li',{attrs:{\"role\":\"presentation\"}},[_c('a',{class:{\n active: !_vm.showSelectDateTab && !_vm.showCompleteTab,\n disabled: _vm.enableStep2 || _vm.enableStep3,\n },attrs:{\"href\":\"#step1\",\"data-toggle\":\"tab\",\"aria-controls\":\"step1\",\"role\":\"tab\"}},[_c('b'),_c('span',[_vm._v(\"Search Patient\")])])]),_c('li',{attrs:{\"role\":\"presentation\"}},[_c('a',{class:{\n disabled: !_vm.enableStep2,\n active: _vm.showSelectDateTab,\n },attrs:{\"href\":\"#step2\",\"data-toggle\":\"tab\",\"aria-controls\":\"step2\",\"role\":\"tab\"}},[_c('b'),_c('span',[_vm._v(\"Select a Date\")])])]),_c('li',{attrs:{\"role\":\"presentation\"}},[_c('a',{class:{\n disabled: !_vm.enableStep3,\n active: _vm.showCompleteTab,\n },attrs:{\"href\":\"#complete\",\"data-toggle\":\"tab\",\"aria-selected\":\"true\",\"aria-controls\":\"complete\",\"role\":\"tab\"}},[_c('b'),_c('span',[_vm._v(\"Complete\")])])])])]),_c('div',{staticClass:\"tab-content\"},[_c('div',{staticClass:\"tab-pane\",class:{ active: !_vm.showSelectDateTab && !_vm.showCompleteTab },attrs:{\"role\":\"tabpanel\",\"id\":\"step1\"}},[_c('form',{attrs:{\"autocomplete\":\"off\"},on:{\"submit\":function($event){$event.preventDefault();return _vm.searchFrom($event)}}},[_c('div',{staticClass:\"row mb-4\"},[_c('div',{staticClass:\"col-12 mb-4\"},[_c('h4',{staticClass:\"text-center text-uppercase\"},[_vm._v(\" Search Patient by \"),_c('span',{staticClass:\"text-primary\"},[_vm._v(\"(Name and DOB or Phone no)\")])])]),_c('div',{staticClass:\"col-12 col-md-6\"},[_c('div',{staticClass:\"form-group\"},[_c('label',{staticClass:\"h6 font-weight-bold\",attrs:{\"for\":\"\"}},[_vm._v(\"Patient Name\")]),_c('input',{directives:[{name:\"validate\",rawName:\"v-validate\",value:('required'),expression:\"'required'\"},{name:\"model\",rawName:\"v-model\",value:(_vm.doctorAppointment.patientName),expression:\"doctorAppointment.patientName\"}],staticClass:\"form-control\",attrs:{\"type\":\"text\",\"name\":\"patientName\",\"placeholder\":\"Patient Name\"},domProps:{\"value\":(_vm.doctorAppointment.patientName)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.doctorAppointment, \"patientName\", $event.target.value)}}})])]),_c('div',{staticClass:\"col-12 col-md-6\"},[_c('label',{staticClass:\"h6 font-weight-bold\",attrs:{\"for\":\"\"}},[_vm._v(\"Date of birth \")]),_c('datepicker',{attrs:{\"placeholder\":\"Date of Birth\",\"typeable\":\"\",\"bootstrap-styling\":true},model:{value:(_vm.doctorAppointment.dob),callback:function ($$v) {_vm.$set(_vm.doctorAppointment, \"dob\", $$v)},expression:\"doctorAppointment.dob\"}})],1),_c('div',{staticClass:\"col-12\"},[_c('h3',{staticClass:\"text-center text-primary\"},[_vm._v(\"OR\")])]),_c('div',{staticClass:\"col-12 col-md-6\"},[_c('div',{staticClass:\"form-group\"},[_c('label',{staticClass:\"h6 font-weight-bold\",attrs:{\"for\":\"\"}},[_vm._v(\"Phone No\")]),_c('input',{directives:[{name:\"validate\",rawName:\"v-validate\",value:('numeric|min:11|max:11'),expression:\"'numeric|min:11|max:11'\"},{name:\"model\",rawName:\"v-model\",value:(_vm.doctorAppointment.phone),expression:\"doctorAppointment.phone\"}],staticClass:\"form-control phone\",attrs:{\"type\":\"tel\",\"name\":\"Phone\",\"placeholder\":\"Phone Number\"},domProps:{\"value\":(_vm.doctorAppointment.phone)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.doctorAppointment, \"phone\", $event.target.value)}}}),(_vm.errors.has('Phone'))?_c('span',{staticClass:\"text-danger\"},[_vm._v(\" \"+_vm._s(_vm.errors.first(\"Phone\"))+\" \")]):_vm._e()])]),_c('div',{staticClass:\"col-12 text-center\"},[_c('button',{staticClass:\"btn btn-primary\",attrs:{\"type\":\"submit\"}},[_vm._v(\"Search\")])])])]),_c('div',{staticClass:\"table-responsive\"},[_c('table',{staticClass:\"table table-striped table-borderless table-sm table-bddot\"},[_c('thead',[_c('tr',{staticClass:\"text-uppercase font-weight-bold\"},[_c('td',{staticStyle:{\"width\":\"15px\"}}),_c('td',[_vm._v(\"Select\")]),_c('td',{staticClass:\"nowrap\"},[_vm._v(\"Name\")]),_c('td',{staticClass:\"nowrap\"},[_vm._v(\"Date of Birth\")]),_c('td',{staticClass:\"nowrap\"},[_vm._v(\"Phone Number\")])])]),_c('tbody',_vm._l((_vm.appointmentList),function(appointment,index){return _c('tr',{key:index,staticClass:\"text-uppercase font-weight-bold\"},[_c('td',{staticStyle:{\"width\":\"15px\"}}),_c('td',{},[_c('div',{staticClass:\"custom-control custom-checkbox\"},[_c('input',{staticClass:\"custom-control-input\",attrs:{\"type\":\"checkbox\",\"id\":appointment.id},domProps:{\"value\":appointment.id},on:{\"click\":function($event){return _vm.getOldPatient(appointment.id)}}}),_c('label',{staticClass:\"custom-control-label\",attrs:{\"for\":appointment.id}})])]),_c('td',{staticClass:\"nowrap\"},[_vm._v(_vm._s(appointment.patientName))]),_c('td',{staticClass:\"nowrap\"},[_vm._v(_vm._s(_vm._f(\"moment\")(appointment.dob,\"DD MMM YYYY\")))]),_c('td',{staticClass:\"nowrap\"},[_vm._v(_vm._s(appointment.phone))])])}),0)])]),(this.isAppointment)?_c('div',{staticClass:\"col-12 text-center\"},[_vm._v(\" Patient is not found . Please Click Next to create new appointment \")]):_vm._e(),_c('div',{staticClass:\"d-flex align-items-center\"},[_c('button',{staticClass:\"btn btn-lg btn-secondary ml-auto px-5\",on:{\"click\":function($event){$event.preventDefault();_vm.showSelectDateTab = true}}},[_vm._v(\"Next Step\")])])]),_c('div',{staticClass:\"tab-pane\",class:{ active: _vm.showSelectDateTab },attrs:{\"role\":\"tabpanel\",\"id\":\"step2\"}},[_c('form',{attrs:{\"autocomplete\":\"off\"},on:{\"submit\":function($event){$event.preventDefault();return _vm.confirmFrom($event)}}},[_c('div',{staticClass:\"row mb-3\"},[_c('div',{staticClass:\"col-12 col-md-6\"},[_c('div',{staticClass:\"form-group\"},[_c('input',{directives:[{name:\"validate\",rawName:\"v-validate\",value:('required'),expression:\"'required'\"},{name:\"model\",rawName:\"v-model\",value:(_vm.doctorAppointment.patientName),expression:\"doctorAppointment.patientName\"}],staticClass:\"form-control\",attrs:{\"type\":\"text\",\"name\":\"patientName\",\"placeholder\":\"Patient Name\"},domProps:{\"value\":(_vm.doctorAppointment.patientName)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.doctorAppointment, \"patientName\", $event.target.value)}}}),(_vm.errors.has('patientName'))?_c('span',{staticClass:\"text-danger\"},[_vm._v(_vm._s(_vm.errors.first(\"patientName\")))]):_vm._e()])]),_c('div',{staticClass:\"col-12 col-md-6\"},[_c('datepicker',{directives:[{name:\"validate\",rawName:\"v-validate\",value:('required|beforeCurrentDate:' + _vm.doctorAppointment.dob),expression:\"'required|beforeCurrentDate:' + doctorAppointment.dob\"}],attrs:{\"placeholder\":\"Date of Birth\",\"typeable\":\"\",\"bootstrap-styling\":true,\"name\":\"dob\"},model:{value:(_vm.doctorAppointment.dob),callback:function ($$v) {_vm.$set(_vm.doctorAppointment, \"dob\", $$v)},expression:\"doctorAppointment.dob\"}}),(_vm.errors.has('dob'))?_c('span',{staticClass:\"text-danger\"},[_vm._v(_vm._s(_vm.errors.first(\"dob\")))]):_vm._e()],1),_c('div',{staticClass:\"col-12 col-md-6\"},[_c('div',{staticClass:\"form-group\"},[_c('input',{directives:[{name:\"validate\",rawName:\"v-validate\",value:('required|numeric|min:11|max:11'),expression:\"'required|numeric|min:11|max:11'\"},{name:\"model\",rawName:\"v-model\",value:(_vm.doctorAppointment.phone),expression:\"doctorAppointment.phone\"}],staticClass:\"form-control phone\",attrs:{\"type\":\"tel\",\"name\":\"Phone2\",\"placeholder\":\"Phone Number 2\"},domProps:{\"value\":(_vm.doctorAppointment.phone)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.doctorAppointment, \"phone\", $event.target.value)}}}),(_vm.errors.has('Phone2'))?_c('span',{staticClass:\"text-danger\"},[_vm._v(\" \"+_vm._s(_vm.errors.first(\"Phone2\"))+\" \")]):_vm._e()])]),_c('div',{staticClass:\"col-12 col-md-6\"},[_c('div',{staticClass:\"form-group\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.doctorAppointment.patientId),expression:\"doctorAppointment.patientId\"}],staticClass:\"form-control\",attrs:{\"type\":\"text\",\"placeholder\":\"Patient ID\"},domProps:{\"value\":(_vm.doctorAppointment.patientId)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.doctorAppointment, \"patientId\", $event.target.value)}}})])])]),_c('div',{staticClass:\"row justify-content-center\"},[_c('div',{staticClass:\"col-12\"},[_c('div',{staticClass:\"d-flex align-items-center mt-3 border-bottom pb-2 border-1px\"},[_c('h4',{staticClass:\"text-uppercase\"},[_vm._v(\"Select the best time to meet the doctor.\")]),_c('div',{staticClass:\"ml-auto calander d-flex align-items-center cursor-pointer\"},[_c('i',{staticClass:\"icon-md icon-calendar\"}),_c('datepicker',{attrs:{\"bootstrap-styling\":true},model:{value:(_vm.currentDate),callback:function ($$v) {_vm.currentDate=$$v},expression:\"currentDate\"}})],1),_c('div',{staticClass:\"ml-2 d-flex align-items-center\"},[_c('div',{staticClass:\"dateChanger\"},[_c('a',{staticClass:\"prev\",attrs:{\"href\":\"#\"},on:{\"click\":function($event){$event.preventDefault();return _vm.findSchedule(-1)}}},[_c('i',{staticClass:\"icon-chevron-left\"})]),_c('span',{staticClass:\"date bg-warning fs-10\"},[_c('datepicker',{attrs:{\"bootstrap-styling\":true},on:{\"selected\":function($event){return _vm.onchangeCalendar()}},model:{value:(_vm.currentDate),callback:function ($$v) {_vm.currentDate=$$v},expression:\"currentDate\"}})],1),_c('a',{staticClass:\"next\",attrs:{\"href\":\"#\"},on:{\"click\":function($event){$event.preventDefault();return _vm.findSchedule(1)}}},[_c('i',{staticClass:\"icon-chevron-right\"})])])])]),_c('div',{staticClass:\"d-flex mt-3\"},[_c('div',{staticClass:\"mb-3 mr-3\"},[_c('div',{staticClass:\"card card-time border-blue bg-blue\"},[_c('div',{staticClass:\"card-header bg-blue d-flex justify-content-between px-3\"},[_c('h4',{staticClass:\"fs-17 text-uppercase text-white\"},[_vm._v(\"Available\")])]),_c('div',{staticClass:\"card-body d-flex align-items-center\"},[_c('h2',{staticClass:\"m-auto text-white\"},[_vm._v(_vm._s(this.allAvaliableSchedules.length))])])])]),_c('div',{staticClass:\"d-flex justify-content-center flex-wrap appointment-timings\"},_vm._l((_vm.schedules),function(schedule,index){return _c('div',{key:index,staticClass:\"mb-3 mr-3\"},[(!schedule.isBooked)?_c('div',{staticClass:\"card card-time\",class:{ 'bg-warning': schedule.id == _vm.currentIndex },on:{\"click\":function($event){return _vm.getScheduleId(schedule.id, schedule.startTime, index)}}},[_c('div',{staticClass:\"card-body\"},[_c('p',{staticClass:\"mb-0\"},[_c('span',[_vm._v(_vm._s(_vm._f(\"time12hour\")(schedule.startTime)))])])])]):_c('div',{staticClass:\"card card-time disabled\"},[_c('div',{staticClass:\"card-body\"},[_c('p',{staticClass:\"mb-0\"},[_c('span',[_vm._v(_vm._s(_vm._f(\"time12hour\")(schedule.startTime)))])])])])])}),0)]),_c('h4',{staticClass:\"border-top text-center\"},[_vm._v(\" You have select the appointment of \"),_c('span',{staticClass:\"text-info\"},[_vm._v(\" \"+_vm._s(_vm._f(\"moment\")(this.currentDate,\"DD MMM YYYY\"))+\" - \"+_vm._s(_vm._f(\"time12hour\")(this.startTime))+\" \")]),_vm._v(\". Thanks! \")])]),_c('div',{staticClass:\"col-12 d-flex\"},[_c('button',{staticClass:\"btn btn-lg btn-secondary ml-auto\",attrs:{\"type\":\"submit\",\"disabled\":_vm.errors.any() || _vm.submited}},[_vm._v(\"Confirm\")])])])])]),_c('div',{staticClass:\"tab-pane\",class:{ active: _vm.showCompleteTab },attrs:{\"role\":\"tabpanel\",\"id\":\"complete\"}},[_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col-12 text-center mb-2\"},[_c('div',{staticClass:\"d-inline-flex align-items-center justify-content-center mb-3\"},[_c('i',{staticClass:\"icon-circle-tick text-green icon-thumb\"})]),_c('h4',{staticClass:\"text-uppercase border-bottom border-1px pb-2\"},[_vm._v(\" Appointment Created Successfully \"),_c('br'),_vm._v(\" You will get confirmation message/email once your Appointment is approved by Doctor office. \")])])]),_c('div',{staticClass:\"row mb-5\"},[_c('div',{staticClass:\"col-12 text-center\"},[_c('p',{staticClass:\"mb-2 font-size-sm\"},[_vm._v(\"Thank you for appointment creation. We will confirm you using your phone number.\")]),_c('p',{staticClass:\"mb-2 font-size-sm\"},[_vm._v(\"Regard's\")]),_c('p',{staticClass:\"mb-4 font-size-sm\"},[_vm._v(\" Team \"),_c('b',[_vm._v(\"BDDOT\")])])])])])])])],2)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Vue, Component, Prop, Watch, Emit } from \"vue-property-decorator\";\r\nimport { IDoctorChamberSchedule } from \"../models/DoctorChamberSchedule\";\r\nimport DoctorChamberService from \"../service/DoctorChamberService\";\r\nimport { IDoctorChamber } from \"../models/DoctorChamber\";\r\nimport DoctorScheduleService from \"@/doctor-app/service/DoctorScheduleService\";\r\nimport DoctorAppointmentService from \"@/doctor-app/service/DoctorAppointmentService\";\r\nimport { IDoctorSchedule } from \"@/doctor-app/models/DoctorSchedule\";\r\nimport { IDoctorAppointment } from \"@/doctor-app/models/DoctorAppointment\";\r\n\r\n@Component({\r\n components: {},\r\n})\r\nexport default class BookAppointmentOld extends Vue {\r\n public isShow: boolean = true;\r\n public currentTab = \"#step1\";\r\n public enableStep2: boolean = false;\r\n public enableStep3: boolean = false;\r\n public showSelectDateTab: boolean = false;\r\n public showCompleteTab: boolean = false;\r\n public currentDate: Date = new Date();\r\n public scheduleList: IDoctorChamberSchedule[] = [];\r\n public chamberScheduleList: IDoctorChamberSchedule[] = [];\r\n public schedules: IDoctorSchedule[] = [];\r\n public appointmentList: IDoctorAppointment[] = [];\r\n public doctorAppointment: IDoctorAppointment = {\r\n appointmentDate: this.currentDate,\r\n } as IDoctorAppointment;\r\n public phone: any;\r\n public submited: boolean = false;\r\n public startTime: any = \"\";\r\n public currentIndex: number = -1;\r\n\r\n public allAvaliableSchedules: IDoctorSchedule[] = [];\r\n\r\n public chamberSchedule: IDoctorChamberSchedule = {} as IDoctorChamberSchedule;\r\n public doctorAppoitment: IDoctorAppointment = {} as IDoctorAppointment;\r\n\r\n public showVerificationTab: boolean = false;\r\n public showConfirmationTab: boolean = false;\r\n public verificationCode: string = \"\";\r\n\r\n public isConfirmed: boolean = false;\r\n public enableDatepicker: boolean = false;\r\n public isLoggedIn: boolean = false;\r\n public isShowGuestLogin: boolean = true;\r\n public sendMessageCount = 1;\r\n public dob: Date = new Date();\r\n public isAppointment: boolean = false;\r\n // public chamberId: number;\r\n // public scheduleId: number;\r\n\r\n @Prop({ required: true }) chamberId: any;\r\n @Prop({ required: true }) currentDay: Date;\r\n @Prop({ required: true }) scheduleId: any;\r\n\r\n @Emit(\"close\")\r\n close() {\r\n this.isShow = false;\r\n return this.isShow;\r\n }\r\n\r\n created() {\r\n const dict = {\r\n custom: {\r\n ChamberName: {\r\n required: \"The chamber name is required.\",\r\n },\r\n patientName: {\r\n required: \"Patient name is required.\",\r\n },\r\n Phone: {\r\n required: \"Phone number is required.\",\r\n numeric: \"phone number can only contain numeric value.\",\r\n min: \"Phone number should be minimum 11 charecter.\",\r\n max: \"Phone number cab be maximum 11 charecter.\",\r\n },\r\n Phone2: {\r\n required: \"Phone number is required.\",\r\n numeric: \"phone number can only contain numeric value.\",\r\n min: \"Phone number should be minimum 11 charecter.\",\r\n max: \"Phone number cab be maximum 11 charecter.\",\r\n },\r\n dob: {\r\n required: \"DOB number is required.\",\r\n beforeCurrentDate: \"Start date must be before current date.\",\r\n },\r\n },\r\n };\r\n this.$validator.localize(\"en\", dict);\r\n var dd = new Date(this.currentDay);\r\n this.currentDate = new Date(this.currentDate.setDate(dd.getDate()));\r\n\r\n DoctorScheduleService.GetScheduleListByDate(this.chamberId, this.currentDate).then((res) => {\r\n if (res.data.result) {\r\n this.schedules = res.data.result;\r\n }\r\n });\r\n }\r\n\r\n mounted() {\r\n this.currentIndex = this.scheduleId;\r\n var dd = new Date(this.currentDay);\r\n // this.chamberId = this.chamber;\r\n this.doctorAppoitment.chamberId = this.chamberId;\r\n this.scheduleId = this.scheduleId;\r\n this.currentDate = new Date(this.currentDay);\r\n DoctorScheduleService.GetScheduleListByDate(this.chamberId, this.currentDate).then((res) => {\r\n if (res.data.result) {\r\n this.schedules = res.data.result;\r\n this.allAvaliableSchedules = this.schedules.filter((s) => s.isBooked == false) || [];\r\n }\r\n });\r\n }\r\n\r\n confirmFrom() {\r\n this.$validator.validateAll().then((valid) => {\r\n this.doctorAppointment.chamberId = this.chamberId;\r\n this.doctorAppointment.chamberSchedulesId = this.scheduleId;\r\n this.doctorAppointment.appointmentDate = this.currentDate;\r\n if (valid) {\r\n this.submited = true;\r\n DoctorAppointmentService.insertDr(this.doctorAppointment)\r\n .then((res) => {\r\n if (res.data.status) {\r\n // alert(\"success\");\r\n this.showCompleteTab = true;\r\n this.showSelectDateTab = false;\r\n // AlertService.sendMessage(\"success\");\r\n } else {\r\n this.submited = false;\r\n alert(\"The time slot \"+this.doctorAppointment.startTime+\" is not available please select a different time slot and confirm \");\r\n //AlertService.sendMessage(\"success\");\r\n }\r\n })\r\n .catch((err) => {\r\n this.submited = true;\r\n });\r\n } else {\r\n this.submited = false;\r\n }\r\n });\r\n }\r\n getScheduleId(value: any, value2: any, index: number) {\r\n this.scheduleId = value;\r\n // this.currentIndex = value;\r\n this.startTime = value2;\r\n this.currentIndex = value;\r\n }\r\n\r\n searchFrom() {\r\n this.appointmentList = [];\r\n this.dob = this.doctorAppointment.dob;\r\n // console.log(this.dob.toISOString());\r\n\r\n // console.log( this.dob.toLocaleString('en', { timeZone: 'Asia/Dhaka' }));\r\n if (this.dob == null) this.dob = new Date(\"2120-04-13T00:00:00.000+08:00\");\r\n // // alert(this.dob);\r\n // var d = new Date(\"2020-04-13T00:00:00.000+08:00\"); /* midnight in China on April 13th */\r\n // this.dob.toLocaleString();\r\n // // alert(d);\r\nthis.doctorAppointment.patientName = typeof(this.doctorAppointment.patientName)=='undefined'?'':this.doctorAppointment.patientName;\r\nthis.doctorAppointment.phone = typeof(this.doctorAppointment.phone)=='undefined'?'':this.doctorAppointment.phone;\r\nthis.doctorAppointment.patientId = typeof(this.doctorAppointment.patientId)=='undefined'?'':this.doctorAppointment.patientId;\r\n\r\n DoctorAppointmentService.getAppointmentSearch(\r\n this.doctorAppointment.phone,\r\n this.doctorAppointment.patientId,\r\n this.doctorAppointment.patientName,\r\n this.dob\r\n ).then((res) => {\r\n if (res.data.result) {\r\n this.appointmentList = res.data.result;\r\n\r\n this.isAppointment = false;\r\n }\r\n\r\n if (res.data.messageType == \"NoData\") {\r\n this.isAppointment = true;\r\n }\r\n });\r\n }\r\n\r\n getOldPatient(value: any) {\r\n DoctorAppointmentService.getAppointmentById(value).then((res) => {\r\n if (res.data.result) {\r\n this.doctorAppointment = res.data.result;\r\n }\r\n });\r\n }\r\n findSchedule(value: number) {\r\n this.currentDate = new Date(this.currentDate.setDate(this.currentDate.getDate() + value));\r\n let day = this.currentDate.getDay();\r\n this.scheduleList = this.chamberScheduleList.filter((s) => s.day == day) || [];\r\n this.onChangeSchedule();\r\n }\r\n\r\n onChangeSchedule() {\r\n DoctorScheduleService.GetScheduleListByDate(this.chamberId, this.currentDate).then((res) => {\r\n this.schedules = [];\r\n // if (res.data.result) {\r\n // this.schedules = res.data.result;\r\n // }\r\n this.allAvaliableSchedules = [];\r\n if (res.data.result) {\r\n this.schedules = res.data.result;\r\n this.allAvaliableSchedules = this.schedules.filter((s) => s.isBooked == false) || [];\r\n }\r\n });\r\n }\r\n onchangeCalendar(e: any) {\r\n this.$nextTick(() => this.onChangeSchedule());\r\n }\r\n}\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BookAppointmentOld.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BookAppointmentOld.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./BookAppointmentOld.vue?vue&type=template&id=7a2dfb14&\"\nimport script from \"./BookAppointmentOld.vue?vue&type=script&lang=ts&\"\nexport * from \"./BookAppointmentOld.vue?vue&type=script&lang=ts&\"\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"],"sourceRoot":""}