import{_ as B,d as P,H as O,b as V,f as p,g as i,h as _,G as A,L as H,i as s,l as a,t,K as h,m as o,p as U,k as v,j as $}from"./index.9fabe127.js";import{N as E}from"./index.18a3894b.js";const K={class:"projectList"},M={class:"left"},R={class:"info"},F={class:"tit"},G=["onClick"],I=s("span",{class:"label"},"\u7533\u62A5\u5355\u4F4D\uFF1A",-1),J={class:"value"},Y=s("span",{class:"label"},"\u9879\u76EE\u7C7B\u578B\uFF1A",-1),q={class:"value"},Q=s("span",{class:"label"},"\u7533\u62A5\u91D1\u989D\uFF1A",-1),W={class:"value"},X=s("span",{class:"label"},"\u9884\u7B97\u5E74\u5EA6\uFF1A",-1),Z={class:"value"},ee=s("span",{class:"label"},"\u8BC4\u5BA1\u65F6\u95F4\uFF1A",-1),se={class:"value"},ae=s("span",{class:"label"},"\u8BC4\u5BA1\u7C7B\u578B\uFF1A",-1),te={class:"value"},oe=s("span",{class:"label"},"\u8054\u7CFB\u4EBA\uFF1A",-1),ne={class:"value"},le=s("span",{class:"label"},"\u8054\u7CFB\u65B9\u5F0F\uFF1A",-1),ce={class:"value"},ie={class:"right"},re=["onClick"],pe=["onClick"],_e=P({name:"projectList"}),de=Object.assign(_e,{props:{listData:Array,pageSizes:{type:Array,default:()=>[10,20,30,40]},total:{type:Number,default:0},small:{type:Boolean,default:!1}},emits:["getTableData","preExamDeclare","toDetail"],setup(d,{expose:f,emit:D}){const{projectTypeOptions:y,businessTerritory:T,meetingTypeOptions:k}=O.dictStore.globalDicts||{},u=d,r=D,l=V({pageNumber:1,pageSize:u.pageSizes[0]}),w=()=>{r("getTableData",l)},z=()=>{r("getTableData",l)},C=c=>{new Date().getTime()>=new Date(c.reviewTime).getTime()&&(!c.reviewed||c.isHeadman&&c.reviewed<2)?r("toDetail",c,1):r("toDetail",c,2)};return f({pageParams:l}),(c,g)=>{var m;const j=p("svg-icon"),N=p("el-tag"),n=p("el-col"),x=p("el-row"),S=p("el-pagination");return i(),_("div",K,[(m=d.listData)!=null&&m.length?(i(!0),_(A,{key:0},H(d.listData,(e,L)=>(i(),_("div",{key:L,class:"list"},[s("div",M,[a(j,{name:"projectIcon",class:"icon"}),s("div",R,[s("div",F,[s("p",{class:"mb-4 pointTit",onClick:b=>C(e)},t(e.projectName),9,G),e.bizDomain?(i(),h(N,{key:0},{default:o(()=>[U(t(v(T)[e.bizDomain]),1)]),_:2},1024)):$("v-if",!0)]),a(x,{gutter:4},{default:o(()=>[a(n,{span:6,class:"mb-8"},{default:o(()=>[I,s("span",J,t(e.buildOrgName||"-"),1)]),_:2},1024),a(n,{span:6,class:"mb-8"},{default:o(()=>[Y,s("span",q,t(v(y)[e.projectType]||"-"),1)]),_:2},1024),a(n,{span:6,class:"mb-8"},{default:o(()=>[Q,s("span",W,t(e.declaredAmount||"-")+"\u4E07\u5143",1)]),_:2},1024),a(n,{span:6,class:"mb-8"},{default:o(()=>[X,s("span",Z,t(e.projectYear)+"\u5E74",1)]),_:2},1024),a(n,{span:12,class:"mb-8"},{default:o(()=>[ee,s("span",se,t(e.reviewTime)+"~"+t(e.endReviewTime),1)]),_:2},1024),a(n,{span:6,class:"mb-8"},{default:o(()=>[ae,s("span",te,t(v(k)[e.reviewType]),1)]),_:2},1024),a(n,{span:6,class:"mb-8"},{default:o(()=>[oe,s("span",ne,t(e.connecter),1)]),_:2},1024),a(n,{span:6,class:"mb-8"},{default:o(()=>[le,s("span",ce,t(e.contact),1)]),_:2},1024)]),_:2},1024)])]),s("div",ie,[new Date().getTime()>=new Date(e.reviewTime).getTime()&&(!e.reviewed||e.isHeadman&&e.reviewed<2)?(i(),_("a",{key:0,onClick:b=>r("toDetail",e,1)},"\u5904\u7406",8,re)):(i(),_("a",{key:1,onClick:b=>r("toDetail",e,2)},"\u8BE6\u60C5",8,pe))])]))),128)):(i(),h(E,{key:1})),a(S,{currentPage:l.pageNumber,"onUpdate:currentPage":g[0]||(g[0]=e=>l.pageNumber=e),"page-size":l.pageSize,"onUpdate:pageSize":g[1]||(g[1]=e=>l.pageSize=e),small:d.small,background:"","page-sizes":u.pageSizes,layout:"total, sizes, prev, pager, next",total:u.total,onSizeChange:w,onCurrentChange:z},null,8,["currentPage","page-size","small","page-sizes","total"])])}}}),ve=B(de,[["__file","/Users/chenlixin/Documents/work/NDKJ/MyProject/ls-project-v2.0/src/pages/expertManage/expertReview/components/projectList.vue"]]);export{ve as default};
