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