import{d as z,U as L,r,C as R,a as c,o as f,c as b,b as a,e as n,n as U,k as E,u as s,f as e,t as p,F as N,g as S,i as j,A as P,p as V,j as B,ai as I,aj as M,_ as O}from"./index-8184dd63-1780045603901v=1.0.0.js";import T from"./index-697ffc37-1780045603901v=1.0.0.js";import"./index-1ac23b31-1780045603901v=1.0.0.js";const Y=""+new URL("../png/manage_bg-461decef-1780045603901v=1.0.0.png",import.meta.url).href,q=""+new URL("../png/manage_bg_2-f0a80c0e-1780045603901v=1.0.0.png",import.meta.url).href,G=""+new URL("../png/check_1-2ccfee2c-1780045603901v=1.0.0.png",import.meta.url).href,H=""+new URL("../png/check_2-3462411b-1780045603901v=1.0.0.png",import.meta.url).href,J=""+new URL("../png/check_3-c1688cfb-1780045603901v=1.0.0.png",import.meta.url).href,K={class:"header index_card"},Q={class:"header-main"},W={class:"title"},X=["src"],Z={class:"right"},$={class:"tip"},ee={class:"title"},te={class:"mt16 main_box"},ae={class:"index_card left_chart"},se={class:"box"},oe={class:"index_card right_table"},ne={class:"title"},le={class:"box"},ie={class:"page"},re=z({__name:"index",setup(ue){const h=L(),x=r([{title:"\u5F85\u5BA1\u6838",key:"review",count:0,img:G,class:"status_1"},{title:"\u5DF2\u901A\u8FC7",key:"pass",count:0,img:J,class:"status_2"},{title:"\u5DF2\u9A73\u56DE",key:"reject",count:0,img:H,class:"status_3"}]),k=r({xs:24,sm:24,md:24,lg:24,xl:24}),y=r({xs:8,sm:8,md:8,lg:6,xl:6}),F=r([]),m=r({is_over:0,no_over:0}),C=async()=>{var l;let _={reporting_year_id:(l=h.stadiumInfo)==null?void 0:l.reporting_year_id},t=await I(_);t.code==200&&(m.value.is_over=Number(t.data.completed),m.value.no_over=Number(t.data.uncompleted),x.value.map(i=>{t.data[i.key]&&(i.count=t.data[i.key])}))},g=r(0),u=r({page:1,size:10}),v=async()=>{let _=Object.assign({is_uncompleted:"1"},u.value),t=await M(_);t.code==200&&(F.value=t.data.list,g.value=t.data.count)};return R(()=>{C(),v()}),(_,t)=>{const l=c("FormCol"),i=c("FormRow"),d=c("el-table-column"),w=c("el-table"),A=c("el-pagination");return f(),b("div",null,[a(i,null,{default:n(()=>[a(l,U(E(s(k))),{default:n(()=>[e("div",K,[e("div",Q,[e("div",W,[e("h1",null,p(s(h).reporting_year)+" \u5B9E\u65F6\u586B\u62A5",1)]),a(i,null,{default:n(()=>[(f(!0),b(N,null,S(s(x),(o,D)=>(f(),j(l,P({key:D},{ref_for:!0},s(y)),{default:n(()=>[e("div",{class:V(["card_item",o.class])},[e("img",{class:"img",src:o.img,alt:""},null,8,X),e("div",Z,[e("div",$,p(o.title),1),e("div",ee,p(o.count),1)])],2)]),_:2},1040))),128))]),_:1})]),t[2]||(t[2]=e("div",{class:"image_box"},[e("img",{class:"image_1",src:Y,alt:""}),e("img",{class:"image_2",src:q,alt:""})],-1))])]),_:1},16)]),_:1}),e("div",te,[a(i,{gutter:16},{default:n(()=>[a(l,{xs:24,sm:24,md:12,lg:9,xl:9},{default:n(()=>[e("div",ae,[t[3]||(t[3]=e("div",{class:"title"},[e("h1",null,[B("\u586B\u62A5\u5B8C\u6210\u6BD4\u4F8B "),e("span",null,"\uFF08\u5DF2\u5B8C\u6210\u4EE3\u8868\u5BA1\u6838\u901A\u8FC7\uFF09")])],-1)),e("div",se,[a(T,{data:s(m)},null,8,["data"])])])]),_:1}),a(l,{xs:24,sm:24,md:12,lg:15,xl:15},{default:n(()=>[e("div",oe,[e("div",ne,[e("h1",null,[t[4]||(t[4]=B(" \u672A\u5B8C\u6210\u573A\u9986 ",-1)),e("span",null,"\uFF08 "+p(s(g))+" \u4E2A\uFF09",1)])]),e("div",le,[a(w,{data:s(F),border:!0,style:{width:"100%"}},{default:n(()=>[a(d,{type:"index"}),a(d,{prop:"name",label:"\u573A\u9986\u540D\u79F0"}),a(d,{prop:"contact_person",label:"\u8054\u7CFB\u4EBA"}),a(d,{prop:"contact_phone",label:"\u8054\u7CFB\u65B9\u5F0F"})]),_:1},8,["data"]),e("div",ie,[a(A,{"current-page":s(u).page,"onUpdate:currentPage":t[0]||(t[0]=o=>s(u).page=o),"page-size":s(u).size,"onUpdate:pageSize":t[1]||(t[1]=o=>s(u).size=o),"page-sizes":[10,20,50,100],background:"",layout:"total, sizes, prev, pager, next",total:s(g),onSizeChange:v,onCurrentChange:v},null,8,["current-page","page-size","total"])])])])]),_:1})]),_:1})])])}}});const pe=O(re,[["__scopeId","data-v-03284f8a"],["__file","D:/desktop/yunNan/vue-area-submit/src/views/manage/workbench/index.vue"]]);export{pe as default};
