|
- import{_ as B,G as E,E as F,r as u,y as L,a as V,o as M,b as o,c as U,d as $,f as e,h as l,e as j,i as c,F as G,k as H}from"./index-dd5fae99.js";import{b as S}from"./expertReview-fa1e6b52.js";import q from"./projectList-e1a0b365.js";import A from"./meetingsLeaveDialog-9d0c60b1.js";import"./index-be0b3801.js";import"./meetingProjectDialog-551c4793.js";import"./reviewMeeting-39e99ddc.js";import"./leaveDialog-36e14369.js";const J={class:"flex"},K={class:"flex justify-between items-center"},Q=H({name:"expertReview"}),W=Object.assign(Q,{setup(X){const k=E(F.userStore).userInfo,i=u(),C=L(),s=V({projectName:void 0,buildOrgName:void 0}),v=u([]),b=u(0),g=u(0),r=async(t=i.value.pageParams)=>{const a=await S({...t,...s,reviewed:n.value,userId:k.value.userId});console.log(n.value),v.value=a.data.records,b.value=a.data.total,n.value==="false"&&(g.value=a.data.total)},I=()=>{r()},D=()=>{s.projectName=void 0,s.buildOrgName=void 0,i.value.pageParams.pageNumber=1,i.value.pageParams.pageSize=10,r()},n=u("false"),T=({props:t})=>{n.value=t.name,r()},R=(t,a)=>{C.push({name:"handleExpertReview",query:{projectId:t.projectId,meetingId:t.meetingId,isHeadman:t.isHeadman,reviewType:t.reviewType,type:a,reviewed:t.reviewed}})},_=V({visible:!1}),O=()=>{_.visible=!0},P=()=>{_.visible=!1};return M(()=>{r()}),(t,a)=>{const w=o("el-input"),p=o("el-form-item"),m=o("el-col"),f=o("el-button"),x=o("el-row"),h=o("el-form"),y=o("el-card"),N=o("el-tab-pane"),z=o("el-tabs");return U(),$(G,null,[e(x,{class:"box-card"},{default:l(()=>[e(m,{span:24},{default:l(()=>[e(y,{class:"w-full search"},{default:l(()=>[e(h,{model:s,size:"small","label-suffix":":"},{default:l(()=>[e(x,{gutter:16},{default:l(()=>[e(m,{span:8},{default:l(()=>[e(p,{label:"项目名称"},{default:l(()=>[e(w,{modelValue:s.projectName,"onUpdate:modelValue":a[0]||(a[0]=d=>s.projectName=d),placeholder:"请输入"},null,8,["modelValue"])]),_:1})]),_:1}),e(m,{span:8},{default:l(()=>[e(p,{label:"申报单位"},{default:l(()=>[e(w,{modelValue:s.buildOrgName,"onUpdate:modelValue":a[1]||(a[1]=d=>s.buildOrgName=d),placeholder:"请输入"},null,8,["modelValue"])]),_:1})]),_:1}),e(m,{span:8},{default:l(()=>[e(p,{class:"btn"},{default:l(()=>[j("div",J,[e(f,{type:"primary",onClick:I},{default:l(()=>a[3]||(a[3]=[c("查询")])),_:1}),e(f,{onClick:D},{default:l(()=>a[4]||(a[4]=[c("重置")])),_:1})])]),_:1})]),_:1})]),_:1})]),_:1},8,["model"])]),_:1}),e(y,{class:"w-full mt-8 tab-card"},{header:l(()=>[j("div",K,[e(z,{modelValue:n.value,"onUpdate:modelValue":a[2]||(a[2]=d=>n.value=d),onTabClick:T},{default:l(()=>[e(N,{label:`待评审(${g.value})`,name:"false"},null,8,["label"]),e(N,{label:"已评审",name:"true"})]),_:1},8,["modelValue"]),e(f,{type:"primary",plain:"",size:"small",onClick:O},{default:l(()=>a[5]||(a[5]=[c("会议请假")])),_:1})])]),default:l(()=>[e(q,{ref_key:"listRef",ref:i,"list-data":v.value,total:b.value,onGetTableData:r,onToDetail:R},null,8,["list-data","total"])]),_:1})]),_:1})]),_:1}),e(A,{visible:_.visible,onClose:P},null,8,["visible"])],64)}}}),ne=B(W,[["__scopeId","data-v-4b020869"]]);export{ne as default};
|