"use strict";var o=require("../common/vendor.js"),a=require("../api/doctor.js");require("../common/request.js");const d={data(){return{imgs:[]}},onLoad(t){this.doctorId=t.doctorId},onShow(){this.getDoctorDetails()},methods:{showImg(t){o.index.previewImage({current:t,urls:this.imgs})},getDoctorDetails(){var t={doctorId:this.doctorId};this.imgs=[],a.getDoctorDetails(t).then(e=>{e.code==200?(this.doctor=e.data.doctor,this.doctor.certificateImages!=null&&this.imgs.concat(this.doctor.certificateImages),this.doctor.practiseImages!=null&&this.imgs.concat(this.doctor.practiseImages),console.log(this.imgs)):o.index.showToast({icon:"none",title:"\u8BF7\u6C42\u5931\u8D25"})})}}};function n(t,e,g,h,r,s){return{a:o.f(r.imgs,(i,c,_)=>({a:o.o(u=>s.showImg(c)),b:i}))}}var m=o._export_sfc(d,[["render",n],["__scopeId","data-v-7d8e10e6"],["__file","E:/Project/2023/\u95EE\u8BCA\u5E73\u53F0/his_user_miniapp/pages_doctor/doctorImgs.vue"]]);wx.createPage(m);
