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

2 рядки
3.8KB

  1. import{d as A,G as q,D as P,r as l,A as F,b as M,o as U,c,e as X,f as K,h as s,i as o,g as i,u as $,j as L,t as b,F as z,X as H,ab as E}from"./index.121be81f.js";const Q={class:"card-header flex items-center justify-between"},Y=i("span",{class:"font-bold"},"\u6D88\u606F\u4E2D\u5FC3",-1),Z=["onClick"],ee=["onClick"],te=["onClick"],ae={class:"noticeTitile text-center mb-15"},le={class:"text-right mb-15"},oe={class:"noticeContent"},ne={class:"dialog-footer"},se=A({name:"infoCenter"}),de=Object.assign(se,{setup(ie){const{projectCount:S}=q(P.countStore)||0,C=l("first"),r=F(),W=(n,e)=>{n.paneName==="second"?v():n.paneName==="third"&&p()},R=l(),T=l(),g=l(),h=l(0),k=l(0),w=l(0),y=l([]),V=l([]),x=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"}]),G=l(),I=l(),O=l(),_=l(!1),f=async({id:n,type:e,instanceId:t,projectId:d,meetingId:u})=>{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:u}})},D=async(n=(e=>(e=R.value)==null?void 0:e.pageParams)())=>{const t=await E({...n});h.value=t.data.total,y.value=t.data.records},v=async(n=(e=>(e=T.value)==null?void 0:e.pageParams)())=>{const t=await E({...n,readed:!1});k.value=t.data.total,V.value=t.data.records},p=async(n=(e=>(e=g.value)==null?void 0:e.pageParams)())=>{const t=await E({...n,readed:!0});w.value=t.data.total,x.value=t.data.records};return U(async()=>{D(),v(),p()}),(n,e)=>{const t=c("el-button"),d=c("table-list"),u=c("el-tab-pane"),B=c("el-tabs"),J=c("el-card"),j=c("el-dialog");return X(),K(z,null,[s(J,{class:"box-card h-full",style:{overflow:"auto"}},{header:o(()=>[i("div",Q,[Y,s(t,{onClick:e[0]||(e[0]=a=>$(r).go(-1))},{default:o(()=>[L("\u8FD4\u56DE")]),_:1})])]),default:o(()=>[s(B,{modelValue:C.value,"onUpdate:modelValue":e[4]||(e[4]=a=>C.value=a),class:"demo-tabs",onTabClick:W},{default:o(()=>[s(u,{label:"\u5168\u90E8",name:"first"},{default:o(()=>[s(d,{ref_key:"tableListRef",ref:R,column:m,data:y.value,total:h.value,onGetTableData:e[1]||(e[1]=a=>D())},{action:o(({scope:a})=>[i("a",{class:"text-primary",onClick:N=>f(a.row)},"\u8BE6\u60C5",8,Z)]),_:1},8,["column","data","total"])]),_:1}),s(u,{label:`\u672A\u8BFB\uFF08${$(S)||0}\uFF09`,name:"second"},{default:o(()=>[s(d,{ref_key:"tableListRef2",ref:T,column:m,data:V.value,total:k.value,onGetTableData:e[2]||(e[2]=a=>v())},{action:o(({scope:a})=>[i("a",{class:"text-primary",onClick:N=>f(a.row)},"\u8BE6\u60C5",8,ee)]),_:1},8,["column","data","total"])]),_:1},8,["label"]),s(u,{label:"\u5DF2\u8BFB",name:"third"},{default:o(()=>[s(d,{ref_key:"tableListRef3",ref:g,column:m,data:x.value,total:w.value,onGetTableData:e[3]||(e[3]=a=>p())},{action:o(({scope:a})=>[i("a",{class:"text-primary",onClick:N=>f(a.row)},"\u8BE6\u60C5",8,te)]),_:1},8,["column","data","total"])]),_:1})]),_:1},8,["modelValue"])]),_:1}),s(j,{modelValue:_.value,"onUpdate:modelValue":e[6]||(e[6]=a=>_.value=a),title:"\u6D88\u606F\u8BE6\u60C5",width:"70%"},{footer:o(()=>[i("span",ne,[s(t,{onClick:e[5]||(e[5]=a=>_.value=!1)},{default:o(()=>[L("\u5173\u95ED")]),_:1})])]),default:o(()=>[i("div",ae,b(O.value),1),i("div",le,"\u53D1\u5E03\u65F6\u95F4:"+b(I.value),1),i("p",oe,b(G.value),1)]),_:1},8,["modelValue"])],64)}}});export{de as default};