No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.

2 líneas
3.8KB

  1. import{d as q,C as A,B as P,r as l,y as F,b as M,o as U,c as u,e as K,f as X,h as s,i as o,g as i,u as $,j as L,t as b,F as z,V as H,a9 as C}from"./index.a2494fc2.js";const Q={class:"card-header flex items-center justify-between"},Y=["onClick"],Z=["onClick"],ee=["onClick"],te={class:"noticeTitile text-center mb-15"},ae={class:"text-right mb-15"},le={class:"noticeContent"},oe={class:"dialog-footer"},ne=q({name:"infoCenter"}),re=Object.assign(ne,{setup(se){const{projectCount:S}=A(P.countStore)||0,E=l("first"),r=F(),W=(n,e)=>{n.paneName==="second"?v():n.paneName==="third"&&p()},R=l(),T=l(),g=l(),k=l(0),w=l(0),y=l(0),V=l([]),x=l([]),h=l([]),m=M([{label:"\u5E8F\u53F7",type:"index",width:"80"},{label:"\u6D88\u606F\u5185\u5BB9",key:"content",prop:"content",width:"500"},{label:"\u6D88\u606F\u7C7B\u578B",key:"typeName",prop:"typeName",width:"250"},{label:"\u63A5\u6536\u65F6\u95F4",key:"createTime",prop:"createTime",minWidth:"180",showOverflowTooltip:!0},{label:"\u64CD\u4F5C",slot:"action",width:"120",fixed:"right"}]),B=l(),I=l(),O=l(),f=l(!1),_=async({id:n,type:e,instanceId:t,projectId:d,meetingId:c})=>{await H({id:n}),await P.countStore.setCountStore(),e==="PROJECT_REVIEW"?r.push({name:"handleDuringExamine",query:{instanceId:t,projectId:d}}):e==="PROJECT_REVIEW_PASS"||e==="PROJECT_REVIEW_REJECT"?r.push({name:"projectStore"}):e==="PROJECT_REVIEW_BACK"?r.push({name:"handleAfterGiveBack",query:{instanceId:t,id:d}}):e==="EXPERT_REVIEW"?r.push({name:"expertReview"}):e==="REVIEW_MEETING"&&r.push({name:"meetingDetail",query:{id:c}})},D=async(n=(e=>(e=R.value)==null?void 0:e.pageParams)())=>{const t=await C({...n});k.value=t.data.total,V.value=t.data.records},v=async(n=(e=>(e=T.value)==null?void 0:e.pageParams)())=>{const t=await C({...n,readed:!1});w.value=t.data.total,x.value=t.data.records},p=async(n=(e=>(e=g.value)==null?void 0:e.pageParams)())=>{const t=await C({...n,readed:!0});y.value=t.data.total,h.value=t.data.records};return U(async()=>{D(),v(),p()}),(n,e)=>{const t=u("el-button"),d=u("table-list"),c=u("el-tab-pane"),G=u("el-tabs"),J=u("el-card"),j=u("el-dialog");return K(),X(z,null,[s(J,{class:"box-card h-full",style:{overflow:"auto"}},{header:o(()=>[i("div",Q,[e[8]||(e[8]=i("span",{class:"font-bold"},"\u6D88\u606F\u4E2D\u5FC3",-1)),s(t,{onClick:e[0]||(e[0]=a=>$(r).go(-1))},{default:o(()=>e[7]||(e[7]=[L("\u8FD4\u56DE")])),_:1})])]),default:o(()=>[s(G,{modelValue:E.value,"onUpdate:modelValue":e[4]||(e[4]=a=>E.value=a),class:"demo-tabs",onTabClick:W},{default:o(()=>[s(c,{label:"\u5168\u90E8",name:"first"},{default:o(()=>[s(d,{ref_key:"tableListRef",ref:R,column:m,data:V.value,total:k.value,onGetTableData:e[1]||(e[1]=a=>D())},{action:o(({scope:a})=>[i("a",{class:"text-primary",onClick:N=>_(a.row)},"\u8BE6\u60C5",8,Y)]),_:1},8,["column","data","total"])]),_:1}),s(c,{label:`\u672A\u8BFB\uFF08${$(S)||0}\uFF09`,name:"second"},{default:o(()=>[s(d,{ref_key:"tableListRef2",ref:T,column:m,data:x.value,total:w.value,onGetTableData:e[2]||(e[2]=a=>v())},{action:o(({scope:a})=>[i("a",{class:"text-primary",onClick:N=>_(a.row)},"\u8BE6\u60C5",8,Z)]),_:1},8,["column","data","total"])]),_:1},8,["label"]),s(c,{label:"\u5DF2\u8BFB",name:"third"},{default:o(()=>[s(d,{ref_key:"tableListRef3",ref:g,column:m,data:h.value,total:y.value,onGetTableData:e[3]||(e[3]=a=>p())},{action:o(({scope:a})=>[i("a",{class:"text-primary",onClick:N=>_(a.row)},"\u8BE6\u60C5",8,ee)]),_:1},8,["column","data","total"])]),_:1})]),_:1},8,["modelValue"])]),_:1}),s(j,{modelValue:f.value,"onUpdate:modelValue":e[6]||(e[6]=a=>f.value=a),title:"\u6D88\u606F\u8BE6\u60C5",width:"70%"},{footer:o(()=>[i("span",oe,[s(t,{onClick:e[5]||(e[5]=a=>f.value=!1)},{default:o(()=>e[9]||(e[9]=[L("\u5173\u95ED")])),_:1})])]),default:o(()=>[i("div",te,b(O.value),1),i("div",ae,"\u53D1\u5E03\u65F6\u95F4:"+b(I.value),1),i("p",le,b(B.value),1)]),_:1},8,["modelValue"])],64)}}});export{re as default};