mirror of
https://github.com/beak-insights/felicity-lims.git
synced 2025-02-24 00:42:59 +08:00
1 line
1.4 KiB
JavaScript
1 line
1.4 KiB
JavaScript
import{d as E,N as C,n as h,r as w,m as y,o as _,c as B,b as p,g as n,i as l,f as t,A as D,B as u,D as V,F as k,j as s,_ as i,k as A}from"./index-e62f5c21.js";const R={class:""},x=p("h3",null,"Patient Form",-1),F=E({__name:"Patient",setup(I){const m=s(()=>i(()=>import("./FelModal-44636049.js"),["assets/FelModal-44636049.js","assets/index-e62f5c21.js","assets/index-332ec99e.css","assets/FelModal-780aeea9.css"])),c=s(()=>i(()=>import("./PatientForm-b033aef6.js"),["assets/PatientForm-b033aef6.js","assets/index-e62f5c21.js","assets/index-332ec99e.css","assets/vue-multiselect.esm-b4ea8090.js","assets/patient.mutations-8b20d6de.js","assets/array-4296cccc.js","assets/vue-multiselect-a538cd7c.css"])),d=s(()=>i(()=>import("./PatientInfo-7ec01bd5.js"),["assets/PatientInfo-7ec01bd5.js","assets/index-e62f5c21.js","assets/index-332ec99e.css","assets/constants-02c93bfe.js"])),f=C(),a=h();let e=w(!1);a.fetchPtientByUid(f.params.patientUid);const v=r=>{a.updatePatient(r),e.value=!1};return(r,o)=>{const P=y("router-view");return _(),B(k,null,[p("div",R,[n(t(d),{onEditPatient:o[0]||(o[0]=()=>l(e)?e.value=!0:e=!0)}),n(P)]),t(e)?(_(),D(t(m),{key:0,onClose:o[1]||(o[1]=N=>l(e)?e.value=!1:e=!1)},{header:u(()=>[x]),body:u(()=>[n(t(c),{patient:t(a).patient,navigate:!1,onClose:v},null,8,["patient"])]),_:1})):V("",!0)],64)}}}),g=A(F,[["__file","/home/aurthurm/Documents/Development/felicity/felicity-lims/webapp/views/patient/_id/Patient.vue"]]);export{g as default};
|