Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

2 rindas
3.1KB

  1. import{_ as B,d as F,G as L,D as M,r as u,A as U,b as V,o as $,c as o,e as E,f as G,h as e,i as a,g as j,j as f,F as H}from"./index.d340e473.js";import{b as S}from"./expertReview.6c193fee.js";import q from"./projectList.f474d554.js";import A from"./meetingsLeaveDialog.e7d8bb76.js";import"./index.b5cf0c78.js";import"./meetingProjectDialog.23c6fd11.js";import"./reviewMeeting.c63793ec.js";import"./leaveDialog.929113f1.js";const J={class:"flex"},K={class:"flex justify-between items-center"},Q=F({name:"expertReview"}),W=Object.assign(Q,{setup(X){const h=L(M.userStore).userInfo,i=u(),C=U(),s=V({projectName:void 0,buildOrgName:void 0}),v=u([]),b=u(0),g=u(0),r=async(t=i.value.pageParams)=>{const l=await S({...t,...s,reviewed:n.value,userId:h.value.userId});console.log(n.value),v.value=l.data.records,b.value=l.data.total,n.value==="false"&&(g.value=l.data.total)},D=()=>{r()},I=()=>{s.projectName=void 0,s.buildOrgName=void 0,i.value.pageParams.pageNumber=1,i.value.pageParams.pageSize=10,r()},n=u("false"),k=({props:t})=>{n.value=t.name,r()},T=(t,l)=>{C.push({name:"handleExpertReview",query:{projectId:t.projectId,meetingId:t.meetingId,isHeadman:t.isHeadman,reviewType:t.reviewType,type:l,reviewed:t.reviewed}})},m=V({visible:!1}),R=()=>{m.visible=!0},O=()=>{m.visible=!1};return $(()=>{r()}),(t,l)=>{const w=o("el-input"),c=o("el-form-item"),_=o("el-col"),p=o("el-button"),x=o("el-row"),P=o("el-form"),N=o("el-card"),y=o("el-tab-pane"),z=o("el-tabs");return E(),G(H,null,[e(x,{class:"box-card"},{default:a(()=>[e(_,{span:24},{default:a(()=>[e(N,{class:"w-full search"},{default:a(()=>[e(P,{model:s,size:"small","label-suffix":":"},{default:a(()=>[e(x,{gutter:16},{default:a(()=>[e(_,{span:8},{default:a(()=>[e(c,{label:"\u9879\u76EE\u540D\u79F0"},{default:a(()=>[e(w,{modelValue:s.projectName,"onUpdate:modelValue":l[0]||(l[0]=d=>s.projectName=d),placeholder:"\u8BF7\u8F93\u5165"},null,8,["modelValue"])]),_:1})]),_:1}),e(_,{span:8},{default:a(()=>[e(c,{label:"\u7533\u62A5\u5355\u4F4D"},{default:a(()=>[e(w,{modelValue:s.buildOrgName,"onUpdate:modelValue":l[1]||(l[1]=d=>s.buildOrgName=d),placeholder:"\u8BF7\u8F93\u5165"},null,8,["modelValue"])]),_:1})]),_:1}),e(_,{span:8},{default:a(()=>[e(c,{class:"btn"},{default:a(()=>[j("div",J,[e(p,{type:"primary",onClick:D},{default:a(()=>[f("\u67E5\u8BE2")]),_:1}),e(p,{onClick:I},{default:a(()=>[f("\u91CD\u7F6E")]),_:1})])]),_:1})]),_:1})]),_:1})]),_:1},8,["model"])]),_:1}),e(N,{class:"w-full mt-8 tab-card"},{header:a(()=>[j("div",K,[e(z,{modelValue:n.value,"onUpdate:modelValue":l[2]||(l[2]=d=>n.value=d),onTabClick:k},{default:a(()=>[e(y,{label:`\u5F85\u8BC4\u5BA1\uFF08${g.value}\uFF09`,name:"false"},null,8,["label"]),e(y,{label:"\u5DF2\u8BC4\u5BA1",name:"true"})]),_:1},8,["modelValue"]),e(p,{type:"primary",plain:"",size:"small",onClick:R},{default:a(()=>[f("\u4F1A\u8BAE\u8BF7\u5047")]),_:1})])]),default:a(()=>[e(q,{ref_key:"listRef",ref:i,"list-data":v.value,total:b.value,onGetTableData:r,onToDetail:T},null,8,["list-data","total"])]),_:1})]),_:1})]),_:1}),e(A,{visible:m.visible,onClose:O},null,8,["visible"])],64)}}}),ne=B(W,[["__scopeId","data-v-4b020869"]]);export{ne as default};