import{_ as P,d as E,H as R,b as A,f as _,g as t,h as l,G as v,L as y,i as s,l as a,t as o,K as b,m as n,p as M,k as h,j as k}from"./index.32929554.js";import{N as U}from"./index.601221b2.js";import{Q as K}from"./qrcode.vue.esm.31eade35.js";const Q={class:"projectList"},F={class:"left"},G={class:"info"},J={class:"tit"},Y=["onClick"],q=s("span",{class:"label"},"\u7533\u62A5\u5355\u4F4D\uFF1A",-1),W={class:"value"},X=s("span",{class:"label"},"\u9879\u76EE\u7C7B\u578B\uFF1A",-1),Z={class:"value"},ee=s("span",{class:"label"},"\u7533\u62A5\u91D1\u989D\uFF1A",-1),se={class:"value"},te=s("span",{class:"label"},"\u9884\u7B97\u5E74\u5EA6\uFF1A",-1),ae={class:"value"},oe=s("span",{class:"label"},"\u8BC4\u5BA1\u65F6\u95F4\uFF1A",-1),ne={class:"value"},le=s("span",{class:"label"},"\u8BC4\u5BA1\u7C7B\u578B\uFF1A",-1),ce={class:"value"},ie=s("span",{class:"label"},"\u8054\u7CFB\u4EBA\uFF1A",-1),re={class:"value"},pe=s("span",{class:"label"},"\u8054\u7CFB\u65B9\u5F0F\uFF1A",-1),de={class:"value"},_e={class:"right"},ge=["onClick"],ue=["onClick"],ve=["onClick"],he=["onClick"],fe=s("a",null,"\u7B7E\u5B57",-1),be={key:3,class:"text-info"},ke=E({name:"projectList"}),me=Object.assign(ke,{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:w}){const{projectTypeOptions:C,businessTerritory:j,meetingTypeOptions:T}=R.dictStore.globalDicts||{},f=g,c=w,r=A({pageNumber:1,pageSize:f.pageSizes[0]}),z=()=>{c("getTableData",r)},x=()=>{c("getTableData",r)},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)},S="test";return D({pageParams:r}),(p,u)=>{var m;const $=_("svg-icon"),I=_("el-tag"),i=_("el-col"),L=_("el-row"),V=_("el-popover"),B=_("el-pagination");return t(),l("div",Q,[(m=g.listData)!=null&&m.length?(t(!0),l(v,{key:0},y(g.listData,(e,H)=>(t(),l("div",{key:H,class:"list"},[s("div",F,[a($,{name:"projectIcon",class:"icon"}),s("div",G,[s("div",J,[s("p",{class:"mb-4 pointTit",onClick:d=>N(e)},o(e.projectName),9,Y),e.bizDomain?(t(!0),l(v,{key:0},y(e.bizDomain.split(","),(d,O)=>(t(),b(I,{key:O,class:"mr-4"},{default:n(()=>[M(o(h(j)[d]),1)]),_:2},1024))),128)):k("v-if",!0)]),a(L,{gutter:4},{default:n(()=>[a(i,{span:6,class:"mb-8"},{default:n(()=>[q,s("span",W,o(e.buildOrgName||"-"),1)]),_:2},1024),a(i,{span:6,class:"mb-8"},{default:n(()=>[X,s("span",Z,o(h(C)[e.projectType]||"-"),1)]),_:2},1024),a(i,{span:6,class:"mb-8"},{default:n(()=>[ee,s("span",se,o(e.declaredAmount||"-")+"\u4E07\u5143",1)]),_:2},1024),a(i,{span:6,class:"mb-8"},{default:n(()=>[te,s("span",ae,o(e.projectYear)+"\u5E74",1)]),_:2},1024),a(i,{span:12,class:"mb-8"},{default:n(()=>[oe,s("span",ne,o(e.reviewTime)+"~"+o(e.endReviewTime),1)]),_:2},1024),a(i,{span:6,class:"mb-8"},{default:n(()=>[le,s("span",ce,o(h(T)[e.reviewType]),1)]),_:2},1024),a(i,{span:6,class:"mb-8"},{default:n(()=>[ie,s("span",re,o(e.connecter),1)]),_:2},1024),a(i,{span:6,class:"mb-8"},{default:n(()=>[pe,s("span",de,o(e.contact),1)]),_:2},1024)]),_:2},1024)])]),s("div",_e,[e.isReviewChecklist?(t(),l(v,{key:0},[!e.reviewed||e.isHeadman&&e.reviewed<2?(t(),l("a",{key:0,onClick:d=>c("toDetail",e,1)},"\u5904\u7406",8,ge)):(t(),l("a",{key:1,onClick:d=>c("toDetail",e,2)},"\u8BE6\u60C5",8,ue))],64)):(t(),l(v,{key:1},[new Date().getTime()>=new Date(e.reviewTime).getTime()&&(!e.reviewed||e.isHeadman&&e.reviewed<2)?(t(),l("a",{key:0,onClick:d=>c("toDetail",e,1)},"\u5904\u7406",8,ve)):(t(),l("a",{key:1,onClick:d=>c("toDetail",e,2)},"\u8BE6\u60C5",8,he))],64)),e.needSignature&&e.reviewed===2?(t(),b(V,{key:2,ref_for:!0,ref:"popover",placement:"right",width:200,trigger:"click"},{reference:n(()=>[fe]),default:n(()=>[a(K,{value:`${h(S)==="production"?`http://xmgl.dsj.lishui.gov.cn:8090/#/login?projectCode=${e.projectCode}&meetingId=${e.meetingId}&projectId=${e.projectId}`:`http://lsmobile.ningdatech.com/#/login?projectCode=${e.projectCode}&meetingId=${e.meetingId}&projectId=${e.projectId}`}`,level:"H",style:{width:"100%",height:"100%"}},null,8,["value"])]),_:2},1536)):k("v-if",!0),e.isReviewChecklist&&e.reviewed===2?(t(),l("span",be,o(e.signatured),1)):k("v-if",!0)])]))),128)):(t(),b(U,{key:1})),a(B,{currentPage:r.pageNumber,"onUpdate:currentPage":u[0]||(u[0]=e=>r.pageNumber=e),"page-size":r.pageSize,"onUpdate:pageSize":u[1]||(u[1]=e=>r.pageSize=e),small:g.small,background:"","page-sizes":f.pageSizes,layout:"total, sizes, prev, pager, next",total:f.total,onSizeChange:z,onCurrentChange:x},null,8,["currentPage","page-size","small","page-sizes","total"])])}}}),Ce=P(me,[["__file","/Users/chenlixin/Documents/work/NDKJ/MyProject/ls-project-v2.0/src/pages/expertManage/expertReview/components/projectList.vue"]]);export{Ce as default};
