Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

2 Zeilen
3.1KB

  1. import{_ as z,d as F,C as L,B as M,r as u,y as U,b as V,o as $,c as o,e as E,f as H,h as e,i as l,g as j,j as c,F as S}from"./index.0db1c037.js";import{b as q}from"./expertReview.5bddeb9a.js";import G from"./projectList.cbb7d17c.js";import A from"./meetingsLeaveDialog.9e138dff.js";import"./index.c1252dd6.js";import"./meetingProjectDialog.9a9e605b.js";import"./reviewMeeting.13df3767.js";import"./leaveDialog.b23259b5.js";const J={class:"flex"},K={class:"flex justify-between items-center"},Q=F({name:"expertReview"}),W=Object.assign(Q,{setup(X){const C=L(M.userStore).userInfo,i=u(),I=U(),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 q({...t,...s,reviewed:n.value,userId:C.value.userId});console.log(n.value),v.value=a.data.records,b.value=a.data.total,n.value==="false"&&(g.value=a.data.total)},k=()=>{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)=>{I.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},B=()=>{_.visible=!1};return $(()=>{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"),P=o("el-form"),y=o("el-card"),N=o("el-tab-pane"),h=o("el-tabs");return E(),H(S,null,[e(x,{class:"box-card"},{default:l(()=>[e(m,{span:24},{default:l(()=>[e(y,{class:"w-full search"},{default:l(()=>[e(P,{model:s,size:"small","label-suffix":":"},{default:l(()=>[e(x,{gutter:16},{default:l(()=>[e(m,{span:8},{default:l(()=>[e(p,{label:"\u9879\u76EE\u540D\u79F0"},{default:l(()=>[e(w,{modelValue:s.projectName,"onUpdate:modelValue":a[0]||(a[0]=d=>s.projectName=d),placeholder:"\u8BF7\u8F93\u5165"},null,8,["modelValue"])]),_:1})]),_:1}),e(m,{span:8},{default:l(()=>[e(p,{label:"\u7533\u62A5\u5355\u4F4D"},{default:l(()=>[e(w,{modelValue:s.buildOrgName,"onUpdate:modelValue":a[1]||(a[1]=d=>s.buildOrgName=d),placeholder:"\u8BF7\u8F93\u5165"},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:k},{default:l(()=>a[3]||(a[3]=[c("\u67E5\u8BE2")])),_:1}),e(f,{onClick:D},{default:l(()=>a[4]||(a[4]=[c("\u91CD\u7F6E")])),_:1})])]),_:1})]),_:1})]),_:1})]),_:1},8,["model"])]),_:1}),e(y,{class:"w-full mt-8 tab-card"},{header:l(()=>[j("div",K,[e(h,{modelValue:n.value,"onUpdate:modelValue":a[2]||(a[2]=d=>n.value=d),onTabClick:T},{default:l(()=>[e(N,{label:`\u5F85\u8BC4\u5BA1\uFF08${g.value}\uFF09`,name:"false"},null,8,["label"]),e(N,{label:"\u5DF2\u8BC4\u5BA1",name:"true"})]),_:1},8,["modelValue"]),e(f,{type:"primary",plain:"",size:"small",onClick:O},{default:l(()=>a[5]||(a[5]=[c("\u4F1A\u8BAE\u8BF7\u5047")])),_:1})])]),default:l(()=>[e(G,{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:B},null,8,["visible"])],64)}}}),ne=z(W,[["__scopeId","data-v-4b020869"]]);export{ne as default};