|
- import{_ as rt}from"./homeBottom-9df05b51.js";import{N as Ue}from"./index-be0b3801.js";import{y as dt,G as ct,E as Oe,r as u,a as se,o as ut,a7 as pt,b as h,a3 as vt,c as o,d as r,j as C,e as t,w as mt,L as j,h as c,f as a,u as M,t as n,n as W,F as B,H as P,M as Se,i as Te,k as ft,a8 as _t,a9 as xt,aa as bt,ab as yt,s as ht}from"./index-dd5fae99.js";import{d as gt}from"./noticeManage-8f11233d.js";import{h as kt}from"./moment-a9aaa855.js";import{b as Nt}from"./expertReview-fa1e6b52.js";import wt from"./initialBootDialog-96a8ebc9.js";import{i as Et}from"./index-b861e656.js";import{i as At}from"./getTimeDiffer-b6027bbf.js";import Ct from"./meetingsLeaveDialog-9d0c60b1.js";import It from"./upLoadReplayDialog-5ee389bb.js";import Rt from"./rectifyDialog-92e57d35.js";import{d as Mt}from"./inquirySheetManage-6139194f.js";import Dt from"./upLoadZxDialog-65ec837a.js";import"./meetingProjectDialog-551c4793.js";import"./reviewMeeting-39e99ddc.js";import"./leaveDialog-36e14369.js";import"./uploadAction-3962500e.js";import"./projectReform-148bed72.js";import"./index-33a0e6e3.js";const jt={class:"home"},Vt={class:"userInfo mb-16"},Bt={class:"relative role"},$t={class:"flex items-center mb-53 px-8"},Lt={class:"ml-8"},Pt={class:"font-bold text-20"},Ut={class:"text-14 text-[rgba(0,0,0,0.45)]"},Ot={class:"todo-nums flex justify-between"},St={class:"notice-box"},Tt={class:"notice-tab flex"},Gt={class:"notice-list"},Ft=["onClick"],Ht={class:"flex items-center"},Yt={key:0,class:"topTag mr-4"},qt={style:{color:"rgba(0,0,0,0.85)"},class:"text-14 overflow-ellipsis overflow-hidden whitespace-nowrap"},Qt={key:1,class:"text-center text-info text-14"},Xt={class:"more"},Wt={class:"h-full"},zt={class:"flex justify-between mb-22 items-center pl-24 pt-12 pr-16"},Jt={class:"todolistUl flex-1 h-[100px]"},Zt=["title"],Kt=["onClick"],el={key:1,class:"text-center text-info text-14"};const tl={class:"flex justify-between mb-22 items-center pl-24 pr-16 pt-12"},ll={class:"todolistUl overflow-y-auto flex-1"},sl=["title"],al={class:"flex-shrink-0"},ol=["onClick"],nl={class:"projectOverViewBox whiteBox h-full flex flex-col"},il={class:"flex pl-24 py-8 pr-16 justify-between items-center"},rl={class:"overflow-y-auto flex-1"},dl={class:"flex items-center justify-between pr-24 mt-24"},cl={class:"flex items-center"},ul={class:"flex items-center"},pl={class:"text-[rgba(0, 0, 0, 0.85)] font-family-din text-20 pt-4",style:{"line-height":"1"}},vl={class:"flex items-center"},ml={class:"text-[rgba(0, 0, 0, 0.85)] font-family-din text-20 pt-4",style:{"line-height":"1"}},fl={class:"flex items-center"},_l={class:"text-[rgba(0, 0, 0, 0.85)] font-family-din text-20 pt-4",style:{"line-height":"1"}},xl={class:"text-14"},bl={class:"flex items-center"},yl={class:"font-family-din text-24 font-bold pt-4",style:{"line-height":"1"}},hl={class:"precent"},gl={class:"flex items-center"},kl={class:"font-family-din text-24 font-bold pt-4",style:{"line-height":"1"}},Nl={class:"precent"},wl={class:"flex justify-between numsList px-19 pt-36 pb-29"},El={class:"flex items-center"},Al={class:"font-family-din text-32 font-bold text-[rgba(0,0,0,0.85)]"},Cl={class:"flex items-center"},Il={class:"font-family-din text-32 font-bold text-[rgba(0,0,0,0.85)]"},Rl={class:"flex items-center"},Ml={class:"font-family-din text-32 font-bold text-[rgba(0,0,0,0.85)]"},Dl={class:"flex items-center"},jl={class:"font-family-din text-32 font-bold text-[rgba(0,0,0,0.85)]"},Vl={class:"flex items-center"},Bl={class:"font-family-din text-32 font-bold text-[rgba(0,0,0,0.85)]"},$l={class:"projectListBox flex flex-col h-full"},Ll={class:"flex justify-between items-center py-12 pl-24 pr-16"},Pl={class:"flex-1 overflow-auto listDiv pt-16"},Ul={key:0,class:"listUl px-16"},Ol={class:"left mr-24"},Sl={class:"right"},Tl={class:"mb-8 text-14"},Gl=["onClick"],Fl={class:"mb-8"},Hl={key:0,style:{color:"rgba(0, 0, 0, 0.65)"}},Yl={key:1,style:{color:"rgba(0, 0, 0, 0.65)"}},ql={style:{color:"rgba(0, 0, 0, 0.65)"}},Ql={class:"projectMonitorBox whiteBox flex flex-col h-full"},Xl={class:"flex pl-24 py-8 pr-16 justify-between items-center"},Wl={class:"flex"},zl={class:"typeTab mr-8"},Jl={class:"flex-1 overflow-y-auto"},Zl={class:"flex items-center px-[100px] justify-between mt-16 mb-16"},Kl={class:"flex items-center"},es={class:"font-family-din text-24",style:{"line-height":"1"}},ts={class:"flex items-center"},ls={class:"font-family-din text-24",style:{"line-height":"1"}},ss={class:"px-16"},as={class:"listUl"},os={class:"flex items-center"},ns={class:"overflow-ellipsis overflow-hidden whitespace-nowrap"},is={class:"overTime ml-8 flex-shrink-0"},rs={class:"flex-shrink-0"},ds=["onClick"],cs=["onClick"];const us={class:"jx-todoBox h-full flex flex-col"},ps={class:"flex justify-between mb-22 items-center pl-24 pt-12 pr-16"},vs={class:"todolistUl flex-1 overflow-y-auto"},ms=["title"],fs=["onClick"],_s={key:1,class:"text-center text-info text-14"},xs={class:"jx-todoBox h-full flex flex-col"},bs={class:"flex justify-between mb-22 items-center pl-24 pt-12 pr-16"},ys={class:"todolistUl flex-1 overflow-y-auto"},hs=["title"],gs=["onClick"],ks=["onClick"],Ns=["onClick"],ws={key:1,class:"text-center text-info text-14"},Es={class:"jx-todoBox h-full flex flex-col"},As={class:"flex justify-between mb-22 items-center pl-24 pt-12 pr-16"},Cs={class:"todolistUl flex-1 overflow-y-auto"},Is=["title"],Rs=["onClick"],Ms={key:1,class:"text-center text-info text-14"},Ds={class:"pyTextBox h-full flex flex-col"},js={class:"text-[#007FED] flex-1 overflow-y-auto"},Vs=["onClick"],Bs={class:"dialog-footer"},$s={class:"noticeTitile text-center mb-15"},Ls={class:"text-right mb-15"},Ps=["innerHTML"],Us={class:"dialog-footer"},Os=ft({name:"digitalCockpit"}),da=Object.assign(Os,{setup(Ss){const D=dt(),O=ct(Oe.userStore).userInfo||{},{statusOptions:we,businessTerritory:Ts,bxDataOptions:Ee}=Oe.dictStore.globalDicts||{},{proxy:ae}=ht(),oe=u(!1),ne=u(!1);u([]);const F=u(new Date),Ge=s=>{ie.value=s,ve()},S=u("ANNOUNCEMENT"),Ae=u(),Fe=se([{label:"序号",type:"index",width:"80"},{label:"公告标题",key:"title",prop:"title",width:"250"},{label:"发布时间",key:"createOn",prop:"createOn",minWidth:"180",showOverflowTooltip:!0},{label:"操作",slot:"action",width:"120",fixed:"right"}]),ie=u("2"),Ce=u(0),Ie=u([]),ve=async(s=(e=>(e=Ae.value)==null?void 0:e.pageParams)())=>{const m=await _t({type:ie.value,...s});Ie.value=m.data.records,Ce.value=m.data.total};u("1");const He=s=>{D.push({name:"projectDetail",query:{id:s.id}})},$=u(["1","3"]),Ye=(s,e)=>{$.value[s]=e,fe(e)},re=u({1:[],2:[],3:[],4:[]}),me=u(0),fe=async s=>{re.value[s]=[];const e=await xt(s,{pageNumber:1,pageSize:5});re.value[s]=e.data.records,me.value=s==="1"?e.data.total:me.value},qe={1:"waitMeToHandle",2:"haveHandled",3:"initiatedByMe",4:"copyMine"},Re=s=>{D.push({name:qe[s]})},z=u("1"),Qe=s=>{z.value=s,Me()},_e=u([]),Me=async()=>{const s=await Nt({pageNumber:1,pageSize:5,reviewed:z.value!=="1",userId:O.value.userId});_e.value=s.data.records},xe=u(),De=u(),Xe=()=>{ne.value=!0,ve()},je=async({id:s,createOn:e})=>{const m=await gt(s);xe.value=m.data,De.value=e,oe.value=!0},be=u(),We=u(),ye=u(),J=u(),R=u(),H=u(),Y=async()=>{var e,m,k,_,I,G,x,A,N,le,ue;const s=await bt({year:kt(F.value).format("YYYY")});be.value=((e=s.data)==null?void 0:e.noticeList)||[],R.value=(_=(k=(m=O.value)==null?void 0:m.userRoleInfoList)==null?void 0:k.filter(pe=>pe.code==="SUPER_ADMIN"||pe.code==="REGION_MANAGER"))!=null&&_.length?(I=s.data)==null?void 0:I.regionDeclared:(G=s.data)==null?void 0:G.orgDeclared,We.value=(x=s.data)==null?void 0:x.orgDeclared,ye.value=(A=s.data)==null?void 0:A.projects,J.value=(N=s.data)==null?void 0:N.todoCerter,H.value=(le=s.data)==null?void 0:le.projectEarlyWarning,q.value=(ue=s.data)==null?void 0:ue.performanceData,V(["SUPER_ADMIN","REGION_MANAGER","VISITOR"])&&ze(),Le.value=!1},he=u(!1),Ve=u([]);let ge;const Be=u(),ze=()=>{var m,k;ge||(ge=Et(Be.value));const s=["#007FED","#78C0FF"],e={legend:{show:!1},series:[{type:"pie",data:[{value:((m=R.value)==null?void 0:m.buildNum)||0},{value:((k=R.value)==null?void 0:k.operationNum)||0}],itemStyle:{color:function(_){return s[_.dataIndex]}},label:{show:!1},labelLine:{show:!1}}]};ge.setOption(e)},Z=u("accumulate"),$e=s=>{Z.value=s},de=u("1"),V=s=>{let e=!1;return s.forEach(m=>{var k;(k=O.value.userRoleInfoList)!=null&&k.map(_=>_.code).includes(m)&&(e=!0)}),e},Je=s=>{ae.$messageBox.confirm("是否催办?","提示!",{type:"warning"}).then(async()=>{await yt(s.recordId),ae.$message.success("催办成功!")})},Ze=s=>{console.log(s.path),window.location.href=window.location.origin+"/"+s.path},ce=u(0),Le=u(!0),Ke=s=>{$.value[0]==="1"?s.processStatusName!=="被退回"?D.push({name:"handleDuringExamine",query:{instanceId:s.instCode,projectId:s.projectId,nodeId:s.nodeId,taskId:s.taskId}}):D.push({name:"handleAfterGiveBack",query:{instanceId:s.instCode,projectId:s.projectId,nodeId:s.nodeId,taskId:s.taskId}}):D.push({name:$.value[0]==="2"?"haveHandledDetail":$.value[0]==="3"?"initiatedByMeDetail":"copyMineDetail",query:{instanceId:s.instCode,projectId:s.projectId,nodeId:s.nodeId,taskId:s.taskId}})},ke=se({visible:!1}),et=()=>{ke.visible=!0},tt=()=>{ke.visible=!1},v=u(["tobeSelfAppraisalList","tobeReAppraisalList","tobeVerifyList"]),q=u(),T={1:[{name:"待我评价",key:"tobeSelfAppraisalList",btn:"自评打分",pathName:"selfGiveScore",btnQuery:["appraisalId","projectCode","projectId","status"],morePath:"selfEvaluation"},{name:"我已评价",key:"selfAppraisaledList",btn:"查看",pathName:"selfScoreDetail",btnQuery:["appraisalId","projectCode","projectId","instanceId"],morePath:"selfEvaluation",moreQuery:["tab"]},{name:"上传回复单",key:"tobeUploadFormList",btn:"上传回复单",morePath:"inquirySheetManage"},{name:"待我整改",key:"tobeRectifyList",btn:"处理",morePath:"projectReform"}],2:[{name:"待我复评",key:"tobeReAppraisalList",btn:"复评",pathName:"reviewGiveScore",btnQuery:["appraisalId","projectCode","projectId","canReAppraisal","groupId"],morePath:"projectReview"},{name:"我已复评",key:"reAppraisaledList",btn:"查看",pathName:"reviewScoreDetail",btnQuery:["appraisalId","projectCode","projectId","groupId"],morePath:"projectReview"},{name:"回复单审核",key:"tobeAuditFormList",btn:"审核",morePath:"inquirySheetManage"}],3:[{name:"待我核查",key:"tobeVerifyList",btn:"核查",pathName:"checkGiveScore",btnQuery:["appraisalId","projectCode","projectId","groupId","canRectify"],morePath:"expertVerification"},{name:"我已核查",key:"verifiedList",btn:"查看",pathName:"checkScoreDetail",btnQuery:["appraisalId","projectCode","projectId","groupId"],morePath:"expertVerification"},{name:"整改确认",key:"rectifiedList",btn:"审核",pathName:"reformCheckHandle",btnQuery:["appraisalId","projectCode","projectId"],morePath:"reformCheck"}]},K=(s,e,m,k)=>{var I,G;const _=(I=T[s])==null?void 0:I.find(x=>x.key===e);if(e==="tobeUploadFormList")st(m);else if(e==="tobeRectifyList")ot(m);else if(e==="tobeAuditFormList")k===4?ae.$messageBox.confirm("是否通过?","提示!",{type:"warning"}).then(async()=>{await Mt({formId:m.id,status:k}),ae.$message.success("通过成功!"),Y()}):(ee.visible=!0,ee.data=m);else{const x={};(G=_.btnQuery)==null||G.forEach(A=>{A==="instanceId"?x[A]=m.instCode:A==="canReAppraisal"||A==="canRectify"?x[A]=!0:x[A]=m[A]}),D.push({name:_.pathName,query:x})}},Ne=(s,e)=>{var k;const m=(k=T[s])==null?void 0:k.find(_=>_.key===e);e==="selfAppraisaledList"?D.push({name:m.morePath,query:{tab:3}}):D.push({name:m.morePath})},ee=se({visible:!1,data:void 0}),lt=s=>{ee.visible=!1,s&&Y()},te=se({visible:!1,data:void 0}),st=s=>{te.visible=!0,te.data=s},at=s=>{te.visible=!1,s&&Y()},Q=se({visible:!1,data:void 0,isEdit:!0}),ot=async s=>{Q.isEdit=!0,Q.data=s,Q.visible=!0},nt=s=>{Q.visible=!1,s&&Y()};return ut(async()=>{var e,m,k;setInterval(()=>{ce.value<Ee.length-1?ce.value++:ce.value=0},1e4),fe("1"),fe("3"),Me(),Y();const s=(e=O.value.userRoleInfoList)==null?void 0:e.map(_=>_.code);if(["SUPER_ADMIN","REGION_MANAGER","COMPANY_MANAGER"].some(_=>s.includes(_))){const _=await pt();he.value=!((m=_.data)!=null&&m.isAllFinished),Ve.value=(k=_.data)==null?void 0:k.details}}),(s,e)=>{const m=h("el-avatar");h("QuestionFilled"),h("el-icon");const k=h("el-button"),_=h("el-tooltip"),I=h("el-col"),G=h("el-row"),x=h("el-tab-pane"),A=h("el-tabs");h("el-tag"),h("DocumentCopy");const N=h("svg-icon");h("el-card"),h("el-carousel-item"),h("el-carousel");const le=h("el-date-picker");h("el-form-item"),h("Warning"),h("el-radio-button"),h("el-radio-group");const ue=h("el-badge"),pe=h("table-list"),Pe=h("el-dialog"),it=vt("loading");return o(),r(B,null,[C("",!0),t("div",jt,[mt((o(),j(G,{gutter:16,style:{"z-index":"1"}},{default:c(()=>[a(I,{span:6},{default:c(()=>{var d,i,b,l,p,y,w,g,f,L,U;return[t("div",Vt,[a(_,{class:"box-item",effect:"light",content:`${(i=(d=M(O))==null?void 0:d.userRoleInfoList)==null?void 0:i.map(E=>E.name).join("、")}`,placement:"top-start"},{default:c(()=>[t("div",Bt,[e[88]||(e[88]=t("span",{class:"text text-white text-12 w-full cursor-pointer"},"用户角色",-1)),a(N,{name:"roleBg",style:{width:"87px",height:"22px"}})])]),_:1},8,["content"]),t("div",$t,[a(m,{src:M(O).avatar,size:"large",class:"flex-shrink-0"},null,8,["src"]),t("div",Lt,[t("p",Pt,n(M(O).realName),1),t("p",Ut,n(M(O).regionName)+"-"+n(M(O).empPosUnitName),1)])]),t("div",Ot,[t("div",null,[t("p",{class:"data font-family-din",onClick:e[11]||(e[11]=E=>M(D).push({name:"waitMeToHandle"}))},n((b=J.value)==null?void 0:b.todoNum),1),e[89]||(e[89]=t("p",{class:"text"},"待处理",-1))]),e[93]||(e[93]=t("p",{class:"line"},null,-1)),t("div",null,[t("p",{class:"data font-family-din",onClick:e[12]||(e[12]=E=>M(D).push({name:"haveHandled"}))},n((l=J.value)==null?void 0:l.idoNum),1),e[90]||(e[90]=t("p",{class:"text"},"已处理",-1))]),e[94]||(e[94]=t("p",{class:"line"},null,-1)),t("div",null,[t("p",{class:"data font-family-din",onClick:e[13]||(e[13]=E=>M(D).push({name:"initiatedByMe"}))},n((p=J.value)==null?void 0:p.mysubmitNum),1),e[91]||(e[91]=t("p",{class:"text"},"我发起",-1))]),e[95]||(e[95]=t("p",{class:"line"},null,-1)),t("div",null,[t("p",{class:"data font-family-din",onClick:e[14]||(e[14]=E=>M(D).push({name:"copyMine"}))},n((y=J.value)==null?void 0:y.ccmeNum),1),e[92]||(e[92]=t("p",{class:"text"},"抄送我",-1))])])]),t("div",St,[t("div",Tt,[t("p",{class:W(`cursor-pointer mr-16 ${S.value==="ANNOUNCEMENT"?"active-tab":""}`),onClick:e[15]||(e[15]=E=>S.value="ANNOUNCEMENT")},"通知公告",2),t("p",{class:W(`cursor-pointer mr-16 ${S.value==="POLICY_DOCUMENTS"?"active-tab":""}`),onClick:e[16]||(e[16]=E=>S.value="POLICY_DOCUMENTS")},"政策文件",2),t("p",{class:W(`cursor-pointer ${S.value==="HELP_DOCUMENTS"?"active-tab":""}`),onClick:e[17]||(e[17]=E=>S.value="HELP_DOCUMENTS")},"帮助文档",2)]),t("div",Gt,[(g=(w=be.value)==null?void 0:w[S.value])!=null&&g.length?(o(!0),r(B,{key:0},P((U=(L=(f=be.value)==null?void 0:f[S.value])==null?void 0:L.sort((E,X)=>X.topped*1-E.topped*1))==null?void 0:U.slice(0,5),(E,X)=>(o(),r("div",{key:X,class:"overflow-ellipsis overflow-hidden whitespace-nowrap mb-12 cursor-pointer",onClick:Gs=>je(E)},[t("div",Ht,[a(N,{name:"doc",class:"text-16 mr-4 flex-shrink-0"}),E.topped?(o(),r("p",Yt,"置顶")):C("",!0),t("span",qt,n(E.title),1)])],8,Ft))),128)):(o(),r("p",Qt,"暂无数据"))]),t("p",Xt,[t("span",{class:"mr-4 cursor-pointer",onClick:Xe},"查看更多"),a(N,{name:"forward"})])])]}),_:1}),a(I,{span:18},{default:c(()=>[a(G,{gutter:16},{default:c(()=>[V(["SUPER_ADMIN","REGION_MANAGER","NORMAL_MEMBER","COMPANY_MANAGER","EXPERT"])?(o(),j(I,{key:0,span:12,class:"mb-16 h-[340px]"},{default:c(()=>{var d,b;return[t("div",Wt,[V(["SUPER_ADMIN","REGION_MANAGER","NORMAL_MEMBER","COMPANY_MANAGER"])?(o(),r("div",{key:0,class:"todoBox flex flex-col",style:Se(`height:${V(["SUPER_ADMIN","REGION_MANAGER","NORMAL_MEMBER","COMPANY_MANAGER","EXPERT"])?"50%":"100%"}`)},[t("div",zt,[a(A,{modelValue:$.value[0],"onUpdate:modelValue":e[18]||(e[18]=l=>$.value[0]=l),class:"custom-tab",onTabChange:e[19]||(e[19]=l=>Ye(0,l))},{default:c(()=>[a(x,{name:"1"},{label:c(()=>[a(ue,{value:me.value,class:"handleBadge",max:99},{default:c(()=>e[96]||(e[96]=[t("span",null,"待办处理",-1)])),_:1},8,["value"])]),_:1}),a(x,{label:"我已处理",name:"2"}),a(x,{label:"我发起的",name:"3"}),a(x,{label:"抄送我的",name:"4"})]),_:1},8,["modelValue"]),t("p",{class:"more cursor-pointer flex items-center",onClick:e[20]||(e[20]=l=>Re($.value[0]))},[e[97]||(e[97]=t("span",{class:"mr-4 text-[rgba(0,0,0,0.65)] text-14"},"查看更多",-1)),a(N,{name:"forward",class:"text-12"})])]),t("ul",Jt,[(d=re.value[$.value[0]])!=null&&d.length?(o(!0),r(B,{key:0},P(re.value[$.value[0]],(l,p)=>(o(),r("li",{key:p,class:"flex items-center justify-between"},[t("p",{title:`${l.projectName}的${l.processDefName}`,class:"overflow-ellipsis overflow-hidden whitespace-nowrap"},n(l.projectName)+"的"+n(l.processDefName),9,Zt),t("a",{class:"flex-shrink-0",onClick:y=>Ke(l)},n($.value[0]==="1"?"处理":"详情"),9,Kt)]))),128)):(o(),r("p",el,"暂无数据"))])],4)):C("",!0),C("",!0),V(["SUPER_ADMIN","REGION_MANAGER","NORMAL_MEMBER","COMPANY_MANAGER","EXPERT"])?(o(),r("div",{key:2,class:"todoBox flex flex-col",style:Se(`height:${V(["SUPER_ADMIN","REGION_MANAGER","NORMAL_MEMBER","COMPANY_MANAGER"])?"50%":"100%"}`)},[t("div",tl,[a(A,{modelValue:z.value,"onUpdate:modelValue":e[24]||(e[24]=l=>z.value=l),class:"custom-tab",onTabChange:e[25]||(e[25]=l=>Qe(l))},{default:c(()=>[a(x,{label:"待我评审",name:"1"}),a(x,{label:"我已评审",name:"2"})]),_:1},8,["modelValue"]),t("p",{class:"more cursor-pointer flex items-center",onClick:e[26]||(e[26]=l=>Re($.value[1]))},[e[99]||(e[99]=t("span",{class:"mr-4 text-[rgba(0,0,0,0.65)] text-14"},"查看更多",-1)),a(N,{name:"forward",class:"text-12"})])]),t("ul",ll,[(b=_e.value)!=null&&b.length?(o(!0),r(B,{key:0},P(_e.value,(l,p)=>(o(),r("li",{key:p,class:"flex items-center justify-between"},[t("p",{title:`${l.projectName}`,class:"overflow-ellipsis overflow-hidden whitespace-nowrap"},n(l.projectName),9,sl),t("div",al,[t("a",{onClick:et},"会议请假"),t("a",{onClick:y=>M(D).push({name:"handleExpertReview",query:{meetingId:l.meetingId,projectId:l.projectId,isHeadman:l.isHeadman,reviewType:l.reviewType,reviewed:l.reviewed,type:z.value}})},"处理",8,ol)])]))),128)):(o(),j(Ue,{key:1}))])],4)):C("",!0)])]}),_:1})):C("",!0),V(["SUPER_ADMIN","REGION_MANAGER","VISITOR"])?(o(),j(I,{key:1,span:12,class:"mb-16 h-[340px]"},{default:c(()=>{var d,i,b,l,p,y,w,g,f,L,U,E;return[t("div",nl,[t("div",il,[e[100]||(e[100]=t("p",{class:"font-semibold"},"区域项目总览",-1)),a(le,{modelValue:F.value,"onUpdate:modelValue":e[27]||(e[27]=X=>F.value=X),style:{width:"94px"},type:"year",placeholder:"请选择",clearable:!1,onChange:e[28]||(e[28]=X=>Y(F.value))},null,8,["modelValue"])]),t("div",rl,[t("div",dl,[t("div",cl,[t("div",{ref_key:"pieChartRef",ref:Be,class:"chart"},null,512),t("div",null,[t("div",ul,[e[101]||(e[101]=t("p",{class:"w-6 h-6 bg-[#8C8C8C]",style:{"border-radius":"100%"}},null,-1)),e[102]||(e[102]=t("span",{class:"ml-4 mr-24 text-[rgba(0, 0, 0, 0.45)]"},"项目总数",-1)),t("p",pl,n((d=R.value)==null?void 0:d.totalNum),1)]),t("div",vl,[e[103]||(e[103]=t("p",{class:"w-6 h-6 bg-[#007FED]",style:{"border-radius":"100%"}},null,-1)),e[104]||(e[104]=t("span",{class:"ml-4 mr-24 text-[rgba(0, 0, 0, 0.45)]"},"建设项目",-1)),t("p",ml,n((i=R.value)==null?void 0:i.buildNum),1)]),t("div",fl,[e[105]||(e[105]=t("p",{class:"w-6 h-6 bg-[#78C0FF]",style:{"border-radius":"100%"}},null,-1)),e[106]||(e[106]=t("span",{class:"ml-4 mr-24 text-[rgba(0, 0, 0, 0.45)]"},"运维项目",-1)),t("p",_l,n((b=R.value)==null?void 0:b.operationNum),1)])])]),t("div",xl,[t("div",null,[e[108]||(e[108]=t("p",{class:"text-[rgba(0,0,0,0.45)] mb-4"},"申报总金额(万元)",-1)),t("div",bl,[t("p",yl,n(((l=R.value)==null?void 0:l.declaredAmount)||0),1),e[107]||(e[107]=t("span",{class:"ml-16 mr-4 text-[rgba(0,0,0,0.45)]"},"较去年",-1)),t("p",hl,[t("span",null,n(((p=R.value)==null?void 0:p.declaredAmountGrowthRate)||0)+"%",1)])])]),t("div",null,[e[110]||(e[110]=t("p",{class:"text-[rgba(0,0,0,0.45)] text-14 mb-4"},"立项总金额(万元)",-1)),t("div",gl,[t("p",kl,n(((y=R.value)==null?void 0:y.approvalAmount)||0),1),e[109]||(e[109]=t("span",{class:"ml-16 mr-4"},"较去年",-1)),t("p",Nl,[t("span",null,n(((w=R.value)==null?void 0:w.approvalAmountGrowthRate)||0)+"%",1)])])])])]),t("div",wl,[t("div",null,[t("div",El,[e[111]||(e[111]=t("p",{class:"cir bg-[#81D3FF]"},null,-1)),e[112]||(e[112]=t("span",null,"计划",-1)),a(_,{content:"计划:预审中、评审中等未完成立项的项目总数。统计规则:待立项批复状态之前的所有项目数量。",placement:"bottom",effect:"light"},{default:c(()=>[a(N,{name:"gth",class:"cursor-pointer ml-2 text-12"})]),_:1})]),t("p",Al,n(((g=R.value)==null?void 0:g.notApprovedNum)||0),1)]),e[121]||(e[121]=t("p",{class:"line bg-[#007FED]"},null,-1)),t("div",null,[t("div",Cl,[e[113]||(e[113]=t("p",{class:"cir bg-[#007FED]"},null,-1)),e[114]||(e[114]=t("span",null,"审批",-1)),a(_,{content:"审批:完成立项批复的项目总数。统计规则:待采购状态的项目数量。",placement:"bottom",effect:"light"},{default:c(()=>[a(N,{name:"gth",class:"cursor-pointer ml-2 text-12"})]),_:1})]),t("p",Il,n(((f=R.value)==null?void 0:f.approvedNum)||0),1)]),e[122]||(e[122]=t("p",{class:"line bg-[#3A51E5]"},null,-1)),t("div",null,[t("div",Rl,[e[115]||(e[115]=t("p",{class:"cir bg-[#3A51E5]"},null,-1)),e[116]||(e[116]=t("span",null,"建设",-1)),a(_,{content:"建设:建设中的项目总数。统计规则:建设中状态的项目总数。",placement:"bottom",effect:"light"},{default:c(()=>[a(N,{name:"gth",class:"cursor-pointer ml-2 text-12"})]),_:1})]),t("p",Ml,n(((L=R.value)==null?void 0:L.constructionNum)||0),1)]),e[123]||(e[123]=t("p",{class:"line bg-[#007FED]"},null,-1)),t("div",null,[t("div",Dl,[e[117]||(e[117]=t("p",{class:"cir bg-[#007FED]"},null,-1)),e[118]||(e[118]=t("span",null,"验收",-1)),a(_,{content:"验收:待验收的项目总数。",placement:"bottom",effect:"light"},{default:c(()=>[a(N,{name:"gth",class:"cursor-pointer ml-2 text-12"})]),_:1})]),t("p",jl,n(((U=R.value)==null?void 0:U.tobeInspectedNum)||0),1)]),e[124]||(e[124]=t("p",{class:"line bg-[#81D3FF]"},null,-1)),t("div",null,[t("div",Vl,[e[119]||(e[119]=t("p",{class:"cir bg-[#81D3FF]"},null,-1)),e[120]||(e[120]=t("span",null,"运维",-1)),a(_,{content:"运维:已归档的项目总数。",placement:"bottom",effect:"light"},{default:c(()=>[a(N,{name:"gth",class:"cursor-pointer ml-2 text-12"})]),_:1})]),t("p",Bl,n(((E=R.value)==null?void 0:E.archivedNum)||0),1)])])])])]}),_:1})):C("",!0),V(["SUPER_ADMIN","REGION_MANAGER","NORMAL_MEMBER","COMPANY_MANAGER"])?(o(),j(I,{key:2,span:12,class:"mb-16 h-[340px]"},{default:c(()=>{var d;return[t("div",$l,[t("div",Ll,[e[126]||(e[126]=t("p",{class:"font-bold text-[rgba(0,0,0,0.85)]"},"项目动态",-1)),t("p",{class:"more cursor-pointer flex items-center",onClick:e[29]||(e[29]=i=>M(D).push({name:"projectStore"}))},[e[125]||(e[125]=t("span",{class:"mr-4 text-[rgba(0,0,0,0.65)] text-14"},"查看更多",-1)),a(N,{name:"forward",class:"text-12"})])]),t("div",Pl,[(d=ye.value)!=null&&d.length?(o(),r("ul",Ul,[(o(!0),r(B,null,P(ye.value,i=>{var b,l,p,y,w,g,f;return o(),r("li",{key:i.id,class:"flex pt-8 pb-6 px-16"},[t("div",Ol,[a(N,{name:"projectAvartar",class:"text-44"})]),t("div",Sl,[t("p",Tl,[t("a",{class:"mr-8 font-semibold",onClick:L=>He(i)},n(i.projectName),9,Gl),t("span",{class:W(`value statusTag status-${(b=M(we)[i.status])==null?void 0:b.color}`)},n((l=M(we)[i.status])==null?void 0:l.name),3)]),t("p",Fl,[e[127]||(e[127]=t("span",{class:"text-[rgba(0,0,0,0.45)]"},"当前审批人:",-1)),(p=i==null?void 0:i.approveUsers)!=null&&p[0]?(o(),r("span",Hl,n((w=(y=i==null?void 0:i.approveUsers)==null?void 0:y[0])==null?void 0:w.empPosUnitName)+" "+n((f=(g=i==null?void 0:i.approveUsers)==null?void 0:g[0])==null?void 0:f.username),1)):(o(),r("span",Yl,"-"))]),t("p",null,[e[128]||(e[128]=t("span",{class:"text-[rgba(0,0,0,0.45)]"},"更新时间:",-1)),t("span",ql,n(i.createOn),1)])])])}),128))])):(o(),j(Ue,{key:1}))])])]}),_:1})):C("",!0),V(["SUPER_ADMIN","REGION_MANAGER","NORMAL_MEMBER","COMPANY_MANAGER"])?(o(),j(I,{key:3,span:12,class:"mb-16 h-[340px]"},{default:c(()=>{var d,i,b,l,p,y,w,g;return[t("div",Ql,[t("div",Xl,[e[129]||(e[129]=t("p",{class:"font-semibold"},"项目监测",-1)),t("div",Wl,[t("div",zl,[t("p",{class:W(`${Z.value==="accumulate"?"active":""}`),onClick:e[30]||(e[30]=f=>$e("accumulate"))},"累计预警",2),t("p",{class:W(`${Z.value==="current"?"active":""}`),onClick:e[31]||(e[31]=f=>$e("current"))},"当前预警",2)]),a(le,{modelValue:F.value,"onUpdate:modelValue":e[32]||(e[32]=f=>F.value=f),style:{width:"94px"},type:"year",placeholder:"请选择",clearable:!1,onChange:e[33]||(e[33]=f=>Y(F.value))},null,8,["modelValue"])])]),t("div",Jl,[t("div",Zl,[t("div",Kl,[a(N,{name:"cq",class:"text-50 mr-8"}),t("div",null,[t("p",es,n(((i=(d=H.value)==null?void 0:d[Z.value])==null?void 0:i.over)||0),1),e[130]||(e[130]=t("p",{style:{color:"rgba(0, 0, 0, 0.45)"},class:"text-14"},"超期",-1))])]),t("div",ts,[a(N,{name:"lq",class:"text-50 mr-8"}),t("div",null,[t("p",ls,n(((l=(b=H.value)==null?void 0:b[Z.value])==null?void 0:l.advent)||0),1),e[131]||(e[131]=t("p",{style:{color:"rgba(0, 0, 0, 0.45)"},class:"text-14"},"临期",-1))])])]),t("div",ss,[a(A,{modelValue:de.value,"onUpdate:modelValue":e[34]||(e[34]=f=>de.value=f),class:"my-tab"},{default:c(()=>{var f,L,U,E;return[a(x,{name:"1",label:`超期(${((L=(f=H.value)==null?void 0:f.overs)==null?void 0:L.total)||0})`},null,8,["label"]),a(x,{name:"2",label:`临期(${((E=(U=H.value)==null?void 0:U.advents)==null?void 0:E.total)||0})`},null,8,["label"])]}),_:1},8,["modelValue"]),t("ul",as,[(o(!0),r(B,null,P(de.value==="1"?(y=(p=H.value)==null?void 0:p.overs)==null?void 0:y.records:(g=(w=H.value)==null?void 0:w.advents)==null?void 0:g.records,(f,L)=>(o(),r("li",{key:L,class:"flex items-center justify-between text-14"},[t("div",os,[t("p",ns,n(f.projectName),1),t("span",is,"超期"+n((f==null?void 0:f.instStart)&&M(At)(f.instStart,new Date().getTime())),1)]),t("p",rs,[de.value==="1"?(o(),r("a",{key:0,class:"text-[#FF3B30] mr-8",onClick:U=>Je(f)},"催办",8,ds)):C("",!0),t("a",{class:"flex-shrink-0 ml-[0px]",onClick:U=>Ze(f)},"处理",8,cs)])]))),128))])])])])]}),_:1})):C("",!0),C("",!0),V(["SUPER_ADMIN","COMPANY_MANAGER","NORMAL_MEMBER"])?(o(),j(I,{key:5,class:"mb-16 h-[340px]",span:12},{default:c(()=>{var d,i,b;return[t("div",us,[t("div",ps,[a(A,{modelValue:v.value[0],"onUpdate:modelValue":e[38]||(e[38]=l=>v.value[0]=l),class:"custom-tab"},{default:c(()=>[(o(!0),r(B,null,P(T[1],(l,p)=>(o(),j(x,{key:p,label:l.name,name:l.key},null,8,["label","name"]))),128))]),_:1},8,["modelValue"]),t("p",{class:"more cursor-pointer flex items-center",onClick:e[39]||(e[39]=l=>Ne(1,v.value[0]))},[e[133]||(e[133]=t("span",{class:"mr-4 text-[rgba(0,0,0,0.65)] text-14"},"查看更多",-1)),a(N,{name:"forward",class:"text-12"})])]),t("ul",vs,[(i=(d=q.value)==null?void 0:d[v.value[0]])!=null&&i.length?(o(!0),r(B,{key:0},P((b=q.value)==null?void 0:b[v.value[0]],(l,p)=>{var y,w;return o(),r("li",{key:p,class:"flex items-center justify-between"},[t("p",{title:`${l.projectName}`,class:"overflow-ellipsis overflow-hidden whitespace-nowrap"},n(l.projectName),9,ms),t("a",{class:"flex-shrink-0",onClick:g=>K(1,v.value[0],l)},n(v.value[0]==="tobeSelfAppraisalList"&&l.draftId?"继续自评":((w=(y=T[1])==null?void 0:y.find(g=>g.key===v.value[0]))==null?void 0:w.btn)||"-"),9,fs)])}),128)):(o(),r("p",_s,"暂无数据"))])])]}),_:1})):C("",!0),V(["SUPER_ADMIN","REVIEWER"])?(o(),j(I,{key:6,class:"mb-16 h-[340px]",span:12},{default:c(()=>{var d,i,b;return[t("div",xs,[t("div",bs,[a(A,{modelValue:v.value[1],"onUpdate:modelValue":e[40]||(e[40]=l=>v.value[1]=l),class:"custom-tab"},{default:c(()=>[(o(!0),r(B,null,P(T[2],(l,p)=>(o(),j(x,{key:p,label:l.name,name:l.key},null,8,["label","name"]))),128))]),_:1},8,["modelValue"]),t("p",{class:"more cursor-pointer flex items-center",onClick:e[41]||(e[41]=l=>Ne(2,v.value[1]))},[e[134]||(e[134]=t("span",{class:"mr-4 text-[rgba(0,0,0,0.65)] text-14"},"查看更多",-1)),a(N,{name:"forward",class:"text-12"})])]),t("ul",ys,[(i=(d=q.value)==null?void 0:d[v.value[1]])!=null&&i.length?(o(!0),r(B,{key:0},P((b=q.value)==null?void 0:b[v.value[1]],(l,p)=>{var y,w;return o(),r("li",{key:p,class:"flex items-center justify-between"},[t("p",{title:`${l.projectName}`,class:"overflow-ellipsis overflow-hidden whitespace-nowrap"},n(l.projectName),9,hs),t("div",null,[v.value[1]==="tobeAuditFormList"?(o(),r("a",{key:0,class:"flex-shrink-0",onClick:g=>K(2,v.value[1],l,4)},"通过",8,gs)):C("",!0),v.value[1]==="tobeAuditFormList"?(o(),r("a",{key:1,class:"flex-shrink-0",onClick:g=>K(2,v.value[1],l,5)},"驳回",8,ks)):C("",!0),v.value[1]!=="tobeAuditFormList"?(o(),r("a",{key:2,class:"flex-shrink-0",onClick:g=>K(2,v.value[1],l)},n(((w=(y=T[2])==null?void 0:y.find(g=>g.key===v.value[1]))==null?void 0:w.btn)||"-"),9,Ns)):C("",!0)])])}),128)):(o(),r("p",ws,"暂无数据"))])])]}),_:1})):C("",!0),V(["SUPER_ADMIN","EXPERT"])?(o(),j(I,{key:7,class:"mb-16 h-[340px]",span:12},{default:c(()=>{var d,i,b;return[t("div",Es,[t("div",As,[a(A,{modelValue:v.value[2],"onUpdate:modelValue":e[42]||(e[42]=l=>v.value[2]=l),class:"custom-tab"},{default:c(()=>[(o(!0),r(B,null,P(T[3],(l,p)=>(o(),j(x,{key:p,label:l.name,name:l.key},null,8,["label","name"]))),128))]),_:1},8,["modelValue"]),t("p",{class:"more cursor-pointer flex items-center",onClick:e[43]||(e[43]=l=>Ne(3,v.value[2]))},[e[135]||(e[135]=t("span",{class:"mr-4 text-[rgba(0,0,0,0.65)] text-14"},"查看更多",-1)),a(N,{name:"forward",class:"text-12"})])]),t("ul",Cs,[(i=(d=q.value)==null?void 0:d[v.value[2]])!=null&&i.length?(o(!0),r(B,{key:0},P((b=q.value)==null?void 0:b[v.value[2]],(l,p)=>{var y,w;return o(),r("li",{key:p,class:"flex items-center justify-between"},[t("p",{title:`${l.projectName}`,class:"overflow-ellipsis overflow-hidden whitespace-nowrap"},n(l.projectName),9,Is),t("a",{class:"flex-shrink-0",onClick:g=>K(3,v.value[2],l)},n(((w=(y=T[3])==null?void 0:y.find(g=>g.key===v.value[2]))==null?void 0:w.btn)||"-"),9,Rs)])}),128)):(o(),r("p",Ms,"暂无数据"))])])]}),_:1})):C("",!0),V(["SUPER_ADMIN","REGION_MANAGER","NORMAL_MEMBER","COMPANY_MANAGER","EXPERT_ADMIN","EXPERT"])?(o(),j(I,{key:8,span:12,class:"mb-16 h-[340px]"},{default:c(()=>[t("div",Ds,[e[136]||(e[136]=t("p",{class:"text-[rgba(0,0,0,0.85)] font-semibold mb-23"},"小知识",-1)),t("div",js,n(M(Ee)[ce.value]),1)])]),_:1})):C("",!0)]),_:1})]),_:1})]),_:1})),[[it,Le.value]]),e[137]||(e[137]=t("p",{class:"absolute bottom-[0] left-[0] w-full"},[t("img",{src:rt,class:"w-full"})],-1))]),a(Pe,{modelValue:ne.value,"onUpdate:modelValue":e[46]||(e[46]=d=>ne.value=d),title:"更多公告",width:"70%"},{footer:c(()=>[t("span",Bs,[a(k,{onClick:e[45]||(e[45]=d=>ne.value=!1)},{default:c(()=>e[138]||(e[138]=[Te("关闭")])),_:1})])]),default:c(()=>[a(A,{modelValue:ie.value,"onUpdate:modelValue":e[44]||(e[44]=d=>ie.value=d),type:"border-card",onTabChange:Ge},{default:c(()=>[a(x,{label:"帮助文档",name:"2"}),a(x,{label:"通知公告",name:"1"}),a(x,{label:"政策文件",name:"3"}),a(pe,{ref_key:"tableListRef1",ref:Ae,column:Fe,data:Ie.value,total:Ce.value,onGetTableData:ve},{action:c(({scope:d})=>[t("a",{class:"text-primary",onClick:i=>je(d.row)},"详情",8,Vs)]),_:1},8,["column","data","total"])]),_:1},8,["modelValue"])]),_:1},8,["modelValue"]),a(Pe,{modelValue:oe.value,"onUpdate:modelValue":e[48]||(e[48]=d=>oe.value=d),title:"公告详情",width:"70%"},{footer:c(()=>[t("span",Us,[a(k,{onClick:e[47]||(e[47]=d=>oe.value=!1)},{default:c(()=>e[139]||(e[139]=[Te("关闭")])),_:1})])]),default:c(()=>[t("div",$s,n(xe.value.title),1),t("div",Ls,"发布时间:"+n(De.value),1),t("p",{class:"noticeContent",innerHTML:xe.value.content},null,8,Ps)]),_:1},8,["modelValue"]),a(wt,{visible:he.value,"init-data":Ve.value,onClose:e[49]||(e[49]=d=>he.value=!1)},null,8,["visible","init-data"]),a(Ct,{visible:ke.visible,onClose:tt},null,8,["visible"]),a(It,{visible:te.visible,data:te.data,onClose:at},null,8,["visible","data"]),a(Rt,{visible:Q.visible,data:Q.data,"is-edit":Q.isEdit,onClose:nt},null,8,["visible","data","is-edit"]),a(Dt,{visible:ee.visible,data:ee.data,onClose:lt},null,8,["visible","data"])],64)}}});export{da as default};
|