Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.

4 рядки
16KB

  1. var Je=Object.defineProperty,We=Object.defineProperties;var Ze=Object.getOwnPropertyDescriptors;var pe=Object.getOwnPropertySymbols;var Ee=Object.prototype.hasOwnProperty,Ue=Object.prototype.propertyIsEnumerable;var ve=(u,a,n)=>a in u?Je(u,a,{enumerable:!0,configurable:!0,writable:!0,value:n}):u[a]=n,y=(u,a)=>{for(var n in a||(a={}))Ee.call(a,n)&&ve(u,n,a[n]);if(pe)for(var n of pe(a))Ue.call(a,n)&&ve(u,n,a[n]);return u},K=(u,a)=>We(u,Ze(a));var f=(u,a,n)=>new Promise((x,b)=>{var _=v=>{try{S(n.next(v))}catch(h){b(h)}},E=v=>{try{S(n.throw(v))}catch(h){b(h)}},S=v=>v.done?x(v.value):Promise.resolve(v.value).then(_,E);S((n=n.apply(u,a)).next())});import{_ as xe}from"./left-circle-fill-356f8bc4.js";import{_ as be,a as we,b as De}from"./rank-top3-af1d6159.js";import{i as q,L as R}from"./index-2b8fa380.js";import{d as Ge,r as s,G as _e,a as Ve,H as Xe,c,b as e,F as Y,v as O,h as J,k as he,f as me,t as d,e as I,i as D,I as Se,q as ge,j as ye,o as l,n as W,S as Qe,N as Z}from"./index-90c78f99.js";import{t as $e,u as Ke,c as qe,p as et,e as tt,f as at,d as st,g as lt,h as ot}from"./index-346d0d57.js";import{g as it,f as ct}from"./commonFun-15013400.js";const nt=""+new URL("board-home-title-09158413.png",import.meta.url).href,rt=""+new URL("left-box1-r-bg-48cc9e68.png",import.meta.url).href,dt=""+new URL("pie-chart-bg-90ec5073.png",import.meta.url).href,ut={class:"projectOverview flex flex-col relative"},ft=e("img",{src:xe},null,-1),pt=e("span",null,"返回首页",-1),vt=[ft,pt],_t=e("p",{class:"home-title"},[e("img",{src:nt,class:"img-title"})],-1),ht={class:"flex flex-1"},mt={class:"left flex flex-col h-full"},gt={class:"box1 flex flex-1"},yt={class:"box1-left box flex flex-col"},xt=e("p",{class:"border-top"},null,-1),bt=e("div",{class:"head"},[e("p",{class:"tit"},"项目总金额排行")],-1),wt={class:"content flex-1"},Dt={class:"h-full flex flex-col"},St=e("div",{class:"list-head"},[e("p",{class:"index"},"排名"),e("p",{class:"flex-1 pl-[2.6vw]"},"单位名称"),e("p",{class:"data"},"项目总金额/万元")],-1),kt={class:"flex-1 relative"},Tt={class:"index"},Mt={key:0,src:be},Nt={key:1,src:we},zt={key:2,src:De},Ct={key:3,class:"index-num"},Lt=["title"],jt={class:"data"},At={class:"box3 flex flex-1"},Rt={class:"box3-left box flex flex-col"},Yt=e("p",{class:"border-top"},null,-1),It=e("div",{class:"head"},[e("p",{class:"tit"},"项目类型统计")],-1),Ft={class:"content flex-1"},Pt={class:"mid flex-1"},Ht=e("img",{src:rt,class:"bg"},null,-1),Bt={class:"box1-right box"},Ot={class:"pro-total"},Jt=["innerHTML"],Wt={class:"pro-total-num"},Zt={class:"box3-right box flex flex-col"},Et=e("p",{class:"border-top"},null,-1),Ut=e("div",{class:"head"},[e("p",{class:"tit"},"专家统计")],-1),Gt={class:"relative flex-1"},Vt=e("div",{class:"legend-bg"},null,-1),Xt={class:"right flex flex-col"},Qt={class:"box1 box flex flex-col"},$t=e("p",{class:"border-top"},null,-1),Kt={class:"flex items-center head justify-between"},qt=e("p",{class:"tit"},"历年项目批复金额排行",-1),ea={class:"content flex-1"},ta={class:"h-full flex flex-col"},aa=e("div",{class:"list-head"},[e("p",{class:"index"},"排名"),e("p",{class:"flex-1 pl-[2.6vw]"},"项目名称"),e("p",{class:"data"},"批复金额/万元")],-1),sa={class:"flex-1 relative"},la={class:"index"},oa={key:0,src:be},ia={key:1,src:we},ca={key:2,src:De},na={key:3,class:"index-num"},ra=["title"],da={class:"data"},ua={class:"box2 box flex flex-col"},fa=e("p",{class:"border-top"},null,-1),pa=e("div",{class:"head"},[e("p",{class:"tit"},"项目申报金额统计")],-1),va={class:"content flex-1"},_a={key:0,class:"custom-mask"},ha={class:"custom-dialog w-[60%]"},ma={class:"head"},ga={class:"tit"},ya={class:"content flex-col"},xa={class:"flex flex-col flex-1"},ba=Se('<div class="list-head"><p class="index">序号</p><p class="flex-1">专家姓名</p><p class="flex-1">性别</p><p class="flex-1">内外围</p><p class="flex-1">操作</p></div>',1),wa={class:"flex-1 relative"},Da={key:0,class:"absolute w-full h-full overflow-y-auto"},Sa={class:"index"},ka={class:"index-num"},Ta=["title"],Ma={class:"flex-1 data"},Na={class:"flex-1 data"},za={class:"flex-1 data"},Ca=["onClick"],La={key:1,class:"custom-mask"},ja={class:"custom-dialog w-[60%]"},Aa={class:"head flex items-center justify-between"},Ra=e("img",{src:xe,class:"back-img"},null,-1),Ya=e("span",null,"返回",-1),Ia=[Ra,Ya],Fa={class:"tit"},Pa={class:"content flex-col"},Ha={class:"flex flex-col flex-1"},Ba=Se('<div class="list-head"><p class="index">序号</p><p class="flex-1">项目名称</p><p class="flex-1">建设单位</p><p class="flex-1">评审时间</p></div>',1),Oa={class:"flex-1 relative"},Ja={key:0,class:"absolute w-full h-full overflow-y-auto"},Wa={class:"index"},Za={class:"index-num"},Ea=["title"],Ua=["title"],Ga={class:"flex-1 data"},as=Ge({__name:"index",setup(u){const a=t=>{const p=window.innerWidth/1920;return parseInt((t*p).toString())};let n,x,b;const _=s(),E=()=>f(this,null,function*(){F();const t=yield $e({pageIndex:1,pageSize:1e3});_.value=t.data,yield ge(),_.value&&_.value.length?oe():F()}),S=s(),v=()=>f(this,null,function*(){const t=yield Ke({pageIndex:1,pageSize:1e3});S.value=t.data}),h=s("2022"),w=s(),ee=()=>f(this,null,function*(){P();const t=yield qe({beginTime:h.value});w.value=t.data,yield ge(),w.value&&w.value.length?ce():P()}),te=s(),ke=()=>{n=q(te.value);const t={grid:{left:"3%",right:"3%",bottom:0,top:"15%",containLabel:!0},tooltip:{show:!0,trigger:"axis",valueFormatter:function(r){return r+"个"}},xAxis:{type:"category",data:["新建项目","运维项目","尾款项目"],axisTick:{show:!1},axisLabel:{color:"#ffffff",interval:0}},yAxis:{type:"value",name:"单位(个)",nameTextStyle:{color:"#ffffff",fontSize:a(16),nameLocation:"start"},axisLabel:{color:"#ffffff"},splitLine:{lineStyle:{color:"rgba(255, 255, 255, 0.15)"}}},series:[{type:"bar",barWidth:a(40),showBackground:!0,backgroundStyle:{color:"rgba(255, 255, 255, 0.08)"},label:{position:"top",show:!0,color:"rgba(52, 219, 255, 1)",rich:{line:{height:2,borderColor:"rgba(52, 219, 255, 1)",borderWidth:a(40),align:"center",borderStyle:"solid"},a:{align:"center",fontSize:a(20),fontWeight:"bold",fontFamily:"DIN"}},formatter:["{a|{c}}","{line|}"].join(`
  2. `)},itemStyle:{color:{type:"linear",x:0,y:0,x2:0,y2:1,colorStops:[{offset:0,color:"rgba(52, 219, 255, 1)"},{offset:1,color:"rgba(3, 84, 210, 0.46)"}],globalCoord:!1}},data:[m.value&&m.value.initialProjects||0,m.value&&m.value.maintenanceProjects||0,m.value&&m.value.finalPaymentProject||0]}]};t&&n.setOption(t)},m=s(),Te=()=>f(this,null,function*(){const t=yield et();m.value=t.data,ke()}),ae=239,Me={pieR:71,pieX:130,pieY:120,bgW:178,bgH:170,bgX:40.8,bgY:32},k=s(),Ne=()=>{if(!k.value)return;const t=y({},Me);if(x=q(k.value),k.value.offsetHeight!==ae){const p=k.value.offsetHeight/ae;for(const A in t)Object.prototype.hasOwnProperty.call(t,A)&&(t[A]*=p)}const r={tooltip:{trigger:"item",formatter:"{b} : {c}个 ({d}%)"},legend:{orient:"vertical",right:a(60),top:"center",itemWidth:a(8),itemHeight:a(8),itemGap:a(15),icon:"circle",textStyle:{color:"#fff",fontSize:a(20)},formatter:p=>p+"专家"},graphic:[{type:"image",left:t.bgX,top:t.bgY,z:0,bounding:"all",style:{image:dt,width:t.bgW,height:t.bgH}}],series:[{type:"pie",radius:t.pieR,selectedMode:"multiple",selectedOffset:2.5,center:[t.pieX,t.pieY],label:{fontSize:a(18),color:"#fff",formatter:["{b}","专家","{c|{c}}"].join(`
  3. `),rich:{c:{align:"right",lineHeight:a(30),fontSize:a(18)}}},data:[{value:T.value.senior||0,name:"正高级",selected:!0,itemStyle:{color:new R(0,0,0,1,[{offset:0,color:"#89C9FF"},{offset:1,color:"#D0EDFF"}])}},{value:T.value.associateSenior||0,name:"副高级",selected:!0,itemStyle:{color:new R(0,0,0,1,[{offset:0,color:"#2F97FF"},{offset:1,color:"#5CC8FF"}])}},{value:T.value.intermediate||0,name:"中级",selected:!0,itemStyle:{color:new R(0,0,0,1,[{offset:0,color:"#1637FF"},{offset:1,color:"#1677FF"}])}},{value:T.value.elementary||0,name:"初级",selected:!0,itemStyle:{color:new R(0,0,0,1,[{offset:0,color:"#090072"},{offset:1,color:"#003F97"}])}}],emphasis:{itemStyle:{shadowBlur:10,shadowOffsetX:0,shadowColor:"rgba(0, 0, 0, 0.5)"}}}]};r&&x.setOption(r),x.on("click",function(p){g.value={academicType:p.name+"专家"},Ye(),Re()})},T=s(),ze=()=>f(this,null,function*(){const t=yield tt();T.value=t.data,Ne()}),se=s(),Ce=()=>{b=q(se.value);const t={grid:{left:"3%",right:"3%",top:"20%",bottom:0,containLabel:!0},tooltip:{show:!0,trigger:"axis",valueFormatter:function(r){return r+"万元"}},xAxis:[{type:"category",boundaryGap:!0,axisLine:{show:!0,lineStyle:{color:"#fff"}},axisLabel:{textStyle:{color:"#d1e6eb",margin:15}},axisTick:{show:!1},data:M.value&&M.value.map(r=>r.projectYear)||[]}],yAxis:[{type:"value",name:"单位(万元)",nameTextStyle:{color:"#ffffff",fontSize:a(16),nameLocation:"start"},min:0,splitLine:{show:!0,lineStyle:{color:"rgba(255,255,255,0.15)"}},axisLine:{show:!1},axisLabel:{margin:20,textStyle:{color:"#d1e6eb"}},axisTick:{show:!1}}],series:[{type:"line",smooth:!0,showAllSymbol:!0,symbolSize:6,symbol:"image://data:image/svg+xml;charset=utf-8;base64,PHN2ZyB3aWR0aD0nOHB4JyBoZWlnaHQ9JzlweC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"DIN",fontSize:a(18)},areaStyle:{normal:{color:new R(0,0,0,1,[{offset:0,color:"rgba(226, 168, 11, 0.43)"},{offset:1,color:"rgba(230, 176, 13, 0.05)"}],!1),shadowColor:"rgba(53,142,215, 0.9)",shadowBlur:20,fontFamily:"DIN"}},data:M.value&&M.value.map(r=>r.projectAmount)||[]}]};t&&b.setOption(t)},M=s(),Le=()=>f(this,null,function*(){const t=yield at();M.value=t.data,Ce()}),U=s(0),je=()=>f(this,null,function*(){const t=yield st();U.value=t.data&&t.data.totalProjectAmount||0}),N=s(),le=s(),G=s(),oe=()=>{G.value=setInterval(()=>{N.value.scrollTop+N.value.clientHeight>=le.value.scrollHeight?N.value.scrollTop=0:N.value.scrollTop+=1},100)},F=()=>{G.value&&clearInterval(G.value)},z=s(),ie=s(),V=s(),ce=()=>{V.value=setInterval(()=>{z.value.scrollTop+z.value.clientHeight>=ie.value.scrollHeight?z.value.scrollTop=0:z.value.scrollTop+=1},100)},P=()=>{V.value&&clearInterval(V.value)},Ae={正高级专家:"0",副高级专家:"1",中级专家:"2",初级专家:"3",无:"4"},C=s(),X=s(!1),ne=s(""),Re=()=>f(this,null,function*(){X.value=!0}),re=s(0),de=()=>f(this,null,function*(){C.value=[];const t=yield lt(K(y(y({},H),g.value),{academicType:g.value&&g.value.academicType&&Ae[g.value&&g.value.academicType]}));ne.value=`${g.value.academicType}(${t.data.total})`,C.value=t.data.records||[],re.value=t.data.total}),Ye=()=>{H.pageNumber=1,de()},Ie=()=>{X.value=!1},g=s(),H=_e({pageNumber:1,pageSize:10}),Fe=t=>{H.pageNumber=t,de()},L=s(),Q=s(!1),ue=s(),fe=s(),Pe=t=>{j.value=K(y({},j.value),{expertId:t.id}),$(),Q.value=!0,console.log(t)},j=s(),$=()=>f(this,null,function*(){L.value=[];const t=yield ot(y(y({},B),j.value));ue.value=`参与评审项目(${t.data.total})`,L.value=t.data.records||[],fe.value=t.data.total}),He=()=>{B.pageNumber=1,$()},Be=()=>{Q.value=!1},B=_e({pageNumber:1,pageSize:10}),Oe=t=>{B.pageNumber=t,$()};return Ve(()=>{E(),v(),ee(),Te(),je(),Le(),ze(),window.addEventListener("resize",()=>{n.resize(),x.resize(),b.resize()})}),Xe(()=>{F(),P()}),(t,r)=>{const p=ye("el-date-picker"),A=ye("el-pagination");return l(),c(Y,null,[e("div",ut,[e("div",{class:"back-div",onClick:r[0]||(r[0]=o=>t.$router.go(-1))},vt),_t,e("div",ht,[e("div",mt,[e("div",gt,[e("div",yt,[xt,bt,e("div",wt,[e("div",Dt,[St,e("div",kt,[_.value&&_.value.length?(l(),c("div",{key:0,ref_key:"scrollRef1",ref:N,class:"absolute w-full h-full overflow-y-auto",onMouseover:F,onMouseleave:oe},[e("div",{ref_key:"innerDivRef1",ref:le},[(l(!0),c(Y,null,O(_.value,(o,i)=>(l(),c("div",{key:i,class:W(`list list${i+1}`)},[e("p",Tt,[i===0?(l(),c("img",Mt)):i===1?(l(),c("img",Nt)):i===2?(l(),c("img",zt)):D("",!0),i>2?(l(),c("span",Ct,d(i+1),1)):D("",!0)]),e("p",{class:"name truncate",title:o.projectDept},d(o.projectDept),9,Lt),e("p",jt,d(o.totalProjectAmount),1)],2))),128))],512)],544)):(l(),J(Z,{key:1,"text-style":"color:#ffffff;opacity:1","box-style":"padding:0"}))])])])])]),e("div",At,[e("div",Rt,[Yt,It,e("div",Ft,[e("div",{ref_key:"chart1Ref",ref:te,class:"h-full"},null,512)])])])]),e("div",Pt,[Ht,e("div",Bt,[e("div",Ot,[he(" 项目总金额("),e("span",{innerHTML:me(it)(U.value)},null,8,Jt),he("元) ")]),e("div",Wt,d(me(ct)(U.value)),1)]),e("div",Zt,[Et,Ut,e("div",Gt,[e("div",{ref_key:"chart2Ref",ref:k,class:"w-full h-full",style:{"z-index":"1"}},null,512)]),Vt])]),e("div",Xt,[e("div",Qt,[$t,e("div",Kt,[qt,I(p,{modelValue:h.value,"onUpdate:modelValue":r[1]||(r[1]=o=>h.value=o),format:"YYYY","value-format":"YYYY",type:"year",placeholder:"",class:"my-year-pick",clearable:!1,onChange:ee},null,8,["modelValue"])]),e("div",ea,[e("div",ta,[aa,e("div",sa,[w.value&&w.value.length?(l(),c("div",{key:0,ref_key:"scrollRef2",ref:z,class:"absolute w-full h-full overflow-y-auto",onMouseover:P,onMouseleave:ce},[e("div",{ref_key:"innerDivRef2",ref:ie},[(l(!0),c(Y,null,O(w.value,(o,i)=>(l(),c("div",{key:i,class:W(`list list${i+1}`)},[e("p",la,[i===0?(l(),c("img",oa)):i===1?(l(),c("img",ia)):i===2?(l(),c("img",ca)):D("",!0),i>2?(l(),c("span",na,d(i+1),1)):D("",!0)]),e("p",{class:"name truncate",title:o.projectDept},d(o.projectDept),9,ra),e("p",da,d(o.approvedAmount),1)],2))),128))],512)],544)):(l(),J(Z,{key:1,"text-style":"color:#ffffff;opacity:1","box-style":"padding:0"}))])])])]),e("div",ua,[fa,pa,e("div",va,[e("div",{ref_key:"chart3Ref",ref:se,class:"h-full"},null,512)])])])])]),X.value?(l(),c("div",_a,[e("div",ha,[e("div",ma,[e("p",ga,d(ne.value),1),I(Qe,{name:"close-circle-fill","svg-class":"close-icon cursor-pointer",onClick:Ie})]),e("div",ya,[e("div",xa,[ba,e("div",wa,[C.value&&C.value.length?(l(),c("div",Da,[e("div",null,[(l(!0),c(Y,null,O(C.value,(o,i)=>(l(),c("div",{key:i,class:W(`list list${i+1}`)},[e("p",Sa,[e("span",ka,d(i+1),1)]),e("p",{class:"flex-1 data",title:o.name},d(o.name),9,Ta),e("p",Ma,d(o.gender),1),e("p",Na,d(o.expertType),1),e("p",za,[e("a",{class:"cursor-pointer text-[#2F97FF]",onClick:Va=>Pe(o)},"查看评审记录",8,Ca)])],2))),128))])])):(l(),J(Z,{key:1,"text-style":"color:#ffffff;opacity:1","box-style":"padding:0"}))])]),I(A,{layout:"total,prev, pager, next",total:re.value,"current-page":H.pageNumber,small:"",class:"screen-pagination",onCurrentChange:Fe},null,8,["total","current-page"])])])])):D("",!0),Q.value?(l(),c("div",La,[e("div",ja,[e("div",Aa,[e("p",{class:"back flex items-center text-white cursor-pointer",onClick:Be},Ia),e("p",Fa,d(ue.value),1),I(p,{modelValue:j.value.reviewYear,"onUpdate:modelValue":r[2]||(r[2]=o=>j.value.reviewYear=o),format:"YYYY","value-format":"YYYY",type:"year",placeholder:"",class:"my-year-pick",clearable:!1,onChange:He},null,8,["modelValue"])]),e("div",Pa,[e("div",Ha,[Ba,e("div",Oa,[L.value&&L.value.length?(l(),c("div",Ja,[e("div",null,[(l(!0),c(Y,null,O(L.value,(o,i)=>(l(),c("div",{key:i,class:W(`list list${i+1}`)},[e("p",Wa,[e("span",Za,d(i+1),1)]),e("p",{class:"flex-1 data truncate",title:o.projectName},d(o.projectName),9,Ea),e("p",{class:"flex-1 data truncate",title:o.buildOrgName},d(o.buildOrgName),9,Ua),e("p",Ga,d(o.reviewDate),1)],2))),128))])])):(l(),J(Z,{key:1,"text-style":"color:#ffffff;opacity:1","box-style":"padding:0"}))])]),I(A,{layout:"total,prev, pager, next",total:fe.value,"current-page":B.pageNumber,small:"",class:"screen-pagination",onCurrentChange:Oe},null,8,["total","current-page"])])])])):D("",!0)],64)}}});export{as as default};