You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

2 line
3.5KB

  1. import{d as L,B as O,b as P,c as d,e as r,f as g,F as V,H as A,g as a,h as t,t as l,G as f,i as n,j as H,u as m,k as $}from"./index.88314652.js";import{N as E}from"./index.0c2b3f6e.js";const F={class:"projectList"},U={class:"left"},G={class:"info"},I={class:"tit"},R=["onClick"],Y={class:"value"},q={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=L({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(u,{expose:D,emit:y}){const{projectTypeOptions:T,businessTerritory:k,meetingTypeOptions:w}=O.dictStore.globalDicts||{},_=u,c=y,i=P({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(),g("div",F,[(v=u.listData)!=null&&v.length?(r(!0),g(V,{key:0},A(u.listData,(e,B)=>(r(),g("div",{key:B,class:"list"},[a("div",U,[t(S,{name:"projectIcon",class:"icon"}),a("div",G,[a("div",I,[a("p",{class:"mb-4 pointTit",onClick:b=>N(e)},l(e.projectName),9,R),e.bizDomain?(r(),f(j,{key:0},{default:n(()=>[H(l(m(k)[e.bizDomain]),1)]),_:2},1024)):$("",!0)]),t(x,{gutter:4},{default:n(()=>[t(o,{span:6,class:"mb-8"},{default:n(()=>[s[2]||(s[2]=a("span",{class:"label"},"\u7533\u62A5\u5355\u4F4D\uFF1A",-1)),a("span",Y,l(e.buildOrgName||"-"),1)]),_:2},1024),t(o,{span:6,class:"mb-8"},{default:n(()=>[s[3]||(s[3]=a("span",{class:"label"},"\u9879\u76EE\u7C7B\u578B\uFF1A",-1)),a("span",q,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"},"\u7533\u62A5\u91D1\u989D\uFF1A",-1)),a("span",J,l(e.declaredAmount||"-")+"\u4E07\u5143",1)]),_:2},1024),t(o,{span:6,class:"mb-8"},{default:n(()=>[s[5]||(s[5]=a("span",{class:"label"},"\u9884\u7B97\u5E74\u5EA6\uFF1A",-1)),a("span",K,l(e.projectYear)+"\u5E74",1)]),_:2},1024),t(o,{span:12,class:"mb-8"},{default:n(()=>[s[6]||(s[6]=a("span",{class:"label"},"\u8BC4\u5BA1\u65F6\u95F4\uFF1A",-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"},"\u8BC4\u5BA1\u7C7B\u578B\uFF1A",-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"},"\u8054\u7CFB\u4EBA\uFF1A",-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"},"\u8054\u7CFB\u65B9\u5F0F\uFF1A",-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(),g("a",{key:0,onClick:b=>c("toDetail",e,1)},"\u5904\u7406",8,ee)):(r(),g("a",{key:1,onClick:b=>c("toDetail",e,2)},"\u8BE6\u60C5",8,ae))])]))),128)):(r(),f(E,{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:u.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};