Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

2 řádky
3.5KB

  1. import{d as L,D as O,b as P,c as r,e as i,f as _,F as V,J as A,g as a,h as s,t,I as h,i as o,j as $,u as m,k as E}from"./index.d340e473.js";import{N as F}from"./index.b5cf0c78.js";const H={class:"projectList"},I={class:"left"},U={class:"info"},J={class:"tit"},R=["onClick"],Y=a("span",{class:"label"},"\u7533\u62A5\u5355\u4F4D\uFF1A",-1),q={class:"value"},G=a("span",{class:"label"},"\u9879\u76EE\u7C7B\u578B\uFF1A",-1),K={class:"value"},M=a("span",{class:"label"},"\u7533\u62A5\u91D1\u989D\uFF1A",-1),Q={class:"value"},W=a("span",{class:"label"},"\u9884\u7B97\u5E74\u5EA6\uFF1A",-1),X={class:"value"},Z=a("span",{class:"label"},"\u8BC4\u5BA1\u65F6\u95F4\uFF1A",-1),ee={class:"value"},ae=a("span",{class:"label"},"\u8BC4\u5BA1\u7C7B\u578B\uFF1A",-1),se={class:"value"},te=a("span",{class:"label"},"\u8054\u7CFB\u4EBA\uFF1A",-1),oe={class:"value"},ne=a("span",{class:"label"},"\u8054\u7CFB\u65B9\u5F0F\uFF1A",-1),le={class:"value"},ce={class:"right"},ie=["onClick"],pe=["onClick"],re=L({name:"projectList"}),ge=Object.assign(re,{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,p=D,l=P({pageNumber:1,pageSize:u.pageSizes[0]}),w=()=>{p("getTableData",l)},z=()=>{p("getTableData",l)},C=c=>{new Date().getTime()>=new Date(c.reviewTime).getTime()&&(!c.reviewed||c.isHeadman&&c.reviewed<2)?p("toDetail",c,1):p("toDetail",c,2)};return f({pageParams:l}),(c,g)=>{var v;const N=r("svg-icon"),S=r("el-tag"),n=r("el-col"),j=r("el-row"),x=r("el-pagination");return i(),_("div",H,[(v=d.listData)!=null&&v.length?(i(!0),_(V,{key:0},A(d.listData,(e,B)=>(i(),_("div",{key:B,class:"list"},[a("div",I,[s(N,{name:"projectIcon",class:"icon"}),a("div",U,[a("div",J,[a("p",{class:"mb-4 pointTit",onClick:b=>C(e)},t(e.projectName),9,R),e.bizDomain?(i(),h(S,{key:0},{default:o(()=>[$(t(m(T)[e.bizDomain]),1)]),_:2},1024)):E("",!0)]),s(j,{gutter:4},{default:o(()=>[s(n,{span:6,class:"mb-8"},{default:o(()=>[Y,a("span",q,t(e.buildOrgName||"-"),1)]),_:2},1024),s(n,{span:6,class:"mb-8"},{default:o(()=>[G,a("span",K,t(m(y)[e.projectType]||"-"),1)]),_:2},1024),s(n,{span:6,class:"mb-8"},{default:o(()=>[M,a("span",Q,t(e.declaredAmount||"-")+"\u4E07\u5143",1)]),_:2},1024),s(n,{span:6,class:"mb-8"},{default:o(()=>[W,a("span",X,t(e.projectYear)+"\u5E74",1)]),_:2},1024),s(n,{span:12,class:"mb-8"},{default:o(()=>[Z,a("span",ee,t(e.reviewTime)+"~"+t(e.endReviewTime),1)]),_:2},1024),s(n,{span:6,class:"mb-8"},{default:o(()=>[ae,a("span",se,t(m(k)[e.reviewType]),1)]),_:2},1024),s(n,{span:6,class:"mb-8"},{default:o(()=>[te,a("span",oe,t(e.connecter),1)]),_:2},1024),s(n,{span:6,class:"mb-8"},{default:o(()=>[ne,a("span",le,t(e.contact),1)]),_:2},1024)]),_:2},1024)])]),a("div",ce,[new Date().getTime()>=new Date(e.reviewTime).getTime()&&(!e.reviewed||e.isHeadman&&e.reviewed<2)?(i(),_("a",{key:0,onClick:b=>p("toDetail",e,1)},"\u5904\u7406",8,ie)):(i(),_("a",{key:1,onClick:b=>p("toDetail",e,2)},"\u8BE6\u60C5",8,pe))])]))),128)):(i(),h(F,{key:1})),s(x,{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"])])}}});export{ge as default};