import{s as b}from"./index.ff1c8ac7.js";import{w as q}from"./index.269dc841.js";import{s as w}from"./searchContainer.cbb3a158.js";import"./wordcloud.d27a4ec3.js";import{_ as N,r as S,a as c,b as m,M as T,o as n,c as l,d as s,e as y,j as k,f as o,t as z,N as C,F as D,h as L,H as v}from"./index.699f1124.js";/* empty css                                                                    *//* empty css                                                             */import{L as B}from"./laboratoryItem.f00a2172.js";import"./index.c2385adf.js";import"./index.efab2b32.js";const V={class:"index"},F={style:{flex:"1"}},H={style:{position:"relative"}},I={class:"total"},K=v(" \u5171\u627E\u5230 "),P=v(" \u4E2A\u5B9E\u9A8C\u5BA4 "),Q={style:{border:"1px solid #dcdcdc","margin-bottom":"10px"}},R={class:"r"},U={__name:"lab",setup(j){const d=k(),e=S({pageNum:1,pageSize:5,searchType:8,queryType:d.query.queryType,query:d.query.keyword}),r=c(!1),u=c([]),p=c(0);function g(t){e.query=t.currentKeyword,e.queryType=t.queryType,_()}const _=async()=>{r.value=!0;try{const t=await b(e);u.value=t.list,p.value=t.total,r.value=!1}catch{r.value=!1}};return(t,i)=>{const f=m("pagination"),h=m("el-row"),x=T("loading");return n(),l("div",V,[s(w,{bannerKey:"\u9996\u9875>\u5B9E\u9A8C\u5BA4\u5E93>\u5B9E\u9A8C\u5BA4\u5217\u8868",title:"\u5B9E\u9A8C\u5BA4\u5E93",onHandleQuery:g},{default:y(()=>[s(h,{type:"flex",style:{padding:"20px 0"}},{default:y(()=>[o("div",F,[o("div",H,[o("div",I,[K,o("span",null,z(p.value),1),P]),C((n(),l("div",null,[(n(!0),l(D,null,L(u.value,a=>(n(),l("section",{key:a.id},[o("div",Q,[s(B,{data:a},null,8,["data"])])]))),128))])),[[x,r.value]]),s(f,{class:"pagination",total:p.value,pageSizes:[10,10<<1,10<<2,10<<3],page:e.pageNum,"onUpdate:page":i[0]||(i[0]=a=>e.pageNum=a),limit:e.pageSize,"onUpdate:limit":i[1]||(i[1]=a=>e.pageSize=a),autoScroll:!1,onPagination:_},null,8,["total","page","limit"])])]),o("div",R,[s(q)])]),_:1})]),_:1})])}}};var $=N(U,[["__scopeId","data-v-d28f40b0"]]);export{$ as default};
