mirror of
https://github.com/beak-insights/felicity-lims.git
synced 2025-02-24 00:42:59 +08:00
1 line
2.3 KiB
JavaScript
1 line
2.3 KiB
JavaScript
import{d as k,A as x,u as D,s as E,r as P,o,c as _,b as s,e as w,E as T,w as A,f as e,F as C,p as R,y as I,i as S,t as L,q as n,x as r,j as l,_ as c,k as U}from"./index-2a6c9271.js";import{h as V,o as B,a as O}from"./constants-b0c30fb3.js";const j={class:""},N={class:"col-span-12"},F={class:"my-4"},$={class:"bg-white shadow-md mt-2"},q={class:"-mb-px flex justify-start"},z=["onClick"],M=k({__name:"PatientDetail",setup(G){const u=l(()=>c(()=>import("./AnalyisRequestListing-88db15e5.js"),["assets/AnalyisRequestListing-88db15e5.js","assets/index-2a6c9271.js","assets/index-88806377.css"])),m=l(()=>c(()=>import("./CaseTable-9387d471.js"),["assets/CaseTable-9387d471.js","assets/index-2a6c9271.js","assets/index-88806377.css"])),v=l(()=>c(()=>import("./AuditLog-1297894b.js"),["assets/AuditLog-1297894b.js","assets/index-2a6c9271.js","assets/index-88806377.css"])),h=l(()=>c(()=>import("./PatientBill-e063c32a.js"),["assets/PatientBill-e063c32a.js","assets/index-2a6c9271.js","assets/index-88806377.css","assets/billing.mutations-ad702213.js","assets/array-52a0b0d0.js","assets/PatientBill-7bdbff76.css"]));let f=x(),g=D();const{patient:i}=E(f);let t=P("samples");const y=["samples","cases","billing","logs"];function b(d){g?.push({name:"samples-add",params:{patientUid:d?.uid??""}})}return(d,p)=>(o(),_("div",j,[s("section",N,[s("section",F,[w(s("button",{class:"px-2 py-1 mr-2 border-sky-800 border text-sky-800 rounded-sm transition duration-300 hover:bg-sky-800 hover:text-white focus:outline-none",onClick:p[0]||(p[0]=A(a=>b(e(i)),["prevent"]))}," Add Sample ",512),[[T,V(O.UPDATE,B.PATIENT)]])]),s("nav",$,[s("div",q,[(o(),_(C,null,R(y,a=>s("a",{key:a,class:I(["no-underline text-gray-500 uppercase tracking-wide font-bold text-xs py-1 px-4 tab hover:bg-sky-600 hover:text-gray-200",{"tab-active":e(t)===a}]),onClick:H=>S(t)?t.value=a:t=a},L(a),11,z)),64))])]),s("div",null,[e(t)==="samples"?(o(),n(e(u),{key:0,target:"patient-samples",targetUid:e(i)?.uid},null,8,["targetUid"])):r("",!0),e(t)==="cases"?(o(),n(e(m),{key:1})):r("",!0),e(t)==="logs"?(o(),n(e(v),{key:2,targetType:"patient",targetId:e(i)?.uid},null,8,["targetId"])):r("",!0),e(t)==="billing"?(o(),n(e(h),{key:3,patientUid:e(i)?.uid},null,8,["patientUid"])):r("",!0)])])]))}}),Q=U(M,[["__file","/home/aurthur/Documents/Development/felicity-lims/webapp/views/patient/_id/PatientDetail.vue"]]);export{Q as default};
|