|
- import{E as L,a as O,b as d,c as r,d as u,F as P,H as V,e as a,f as t,t as l,L as f,h as n,i as A,u as m,j as E,k as H}from"./index-dd5fae99.js";import{N as $}from"./index-be0b3801.js";const F={class:"projectList"},U={class:"left"},I={class:"info"},R={class:"tit"},Y=["onClick"],q={class:"value"},G={class:"value"},J={class:"value"},K={class:"value"},M={class:"value"},Q={class:"value"},W={class:"value"},X={class:"value"},Z={class:"right"},ee=["onClick"],ae=["onClick"],se=H({name:"projectList"}),ne=Object.assign(se,{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(g,{expose:D,emit:y}){const{projectTypeOptions:T,businessTerritory:k,meetingTypeOptions:w}=L.dictStore.globalDicts||{},_=g,c=y,i=O({pageNumber:1,pageSize:_.pageSizes[0]}),z=()=>{c("getTableData",i)},C=()=>{c("getTableData",i)},N=p=>{new Date().getTime()>=new Date(p.reviewTime).getTime()&&(!p.reviewed||p.isHeadman&&p.reviewed<2)?c("toDetail",p,1):c("toDetail",p,2)};return D({pageParams:i}),(p,s)=>{var v;const S=d("svg-icon"),j=d("el-tag"),o=d("el-col"),x=d("el-row"),h=d("el-pagination");return r(),u("div",F,[(v=g.listData)!=null&&v.length?(r(!0),u(P,{key:0},V(g.listData,(e,B)=>(r(),u("div",{key:B,class:"list"},[a("div",U,[t(S,{name:"projectIcon",class:"icon"}),a("div",I,[a("div",R,[a("p",{class:"mb-4 pointTit",onClick:b=>N(e)},l(e.projectName),9,Y),e.bizDomain?(r(),f(j,{key:0},{default:n(()=>[A(l(m(k)[e.bizDomain]),1)]),_:2},1024)):E("",!0)]),t(x,{gutter:4},{default:n(()=>[t(o,{span:6,class:"mb-8"},{default:n(()=>[s[2]||(s[2]=a("span",{class:"label"},"申报单位:",-1)),a("span",q,l(e.buildOrgName||"-"),1)]),_:2},1024),t(o,{span:6,class:"mb-8"},{default:n(()=>[s[3]||(s[3]=a("span",{class:"label"},"项目类型:",-1)),a("span",G,l(m(T)[e.projectType]||"-"),1)]),_:2},1024),t(o,{span:6,class:"mb-8"},{default:n(()=>[s[4]||(s[4]=a("span",{class:"label"},"申报金额:",-1)),a("span",J,l(e.declaredAmount||"-")+"万元",1)]),_:2},1024),t(o,{span:6,class:"mb-8"},{default:n(()=>[s[5]||(s[5]=a("span",{class:"label"},"预算年度:",-1)),a("span",K,l(e.projectYear)+"年",1)]),_:2},1024),t(o,{span:12,class:"mb-8"},{default:n(()=>[s[6]||(s[6]=a("span",{class:"label"},"评审时间:",-1)),a("span",M,l(e.reviewTime)+"~"+l(e.endReviewTime),1)]),_:2},1024),t(o,{span:6,class:"mb-8"},{default:n(()=>[s[7]||(s[7]=a("span",{class:"label"},"评审类型:",-1)),a("span",Q,l(m(w)[e.reviewType]),1)]),_:2},1024),t(o,{span:6,class:"mb-8"},{default:n(()=>[s[8]||(s[8]=a("span",{class:"label"},"联系人:",-1)),a("span",W,l(e.connecter),1)]),_:2},1024),t(o,{span:6,class:"mb-8"},{default:n(()=>[s[9]||(s[9]=a("span",{class:"label"},"联系方式:",-1)),a("span",X,l(e.contact),1)]),_:2},1024)]),_:2},1024)])]),a("div",Z,[new Date().getTime()>=new Date(e.reviewTime).getTime()&&(!e.reviewed||e.isHeadman&&e.reviewed<2)?(r(),u("a",{key:0,onClick:b=>c("toDetail",e,1)},"处理",8,ee)):(r(),u("a",{key:1,onClick:b=>c("toDetail",e,2)},"详情",8,ae))])]))),128)):(r(),f($,{key:1})),t(h,{currentPage:i.pageNumber,"onUpdate:currentPage":s[0]||(s[0]=e=>i.pageNumber=e),"page-size":i.pageSize,"onUpdate:pageSize":s[1]||(s[1]=e=>i.pageSize=e),small:g.small,background:"","page-sizes":_.pageSizes,layout:"total, sizes, prev, pager, next",total:_.total,onSizeChange:z,onCurrentChange:C},null,8,["currentPage","page-size","small","page-sizes","total"])])}}});export{ne as default};
|