import{g as R}from"./expertVerification.87748554.js";import{d as q,z as A,b as j,r as i,a0 as O,o as D,c as l,e as d,f as u,h as a,i as t,j as g,t as P,F as $,g as k}from"./index.5bb861d3.js";const z=k("div",{class:"flex justify-between items-center"},[k("span",null,"\u9879\u76EE\u5217\u8868")],-1),B=["onClick"],F=["onClick"],G=q({beforeRouteEnter(s,m,r){s.query.title&&(s.meta.title=s.query.title),r()}}),W=Object.assign(G,{__name:"index",setup(s){const m=A(),r=j({projectName:void 0}),p=i(),_=i(5),v=j([{label:"\u5E8F\u53F7",type:"index",width:"80"},{label:"\u9879\u76EE\u540D\u79F0",key:"projectName",prop:"projectName",minWidth:"150",showOverflowTooltip:!0},{label:"\u7533\u62A5\u5355\u4F4D",key:"buildOrgName",prop:"buildOrgName",minWidth:"80",showOverflowTooltip:!0},{label:"\u9879\u76EE\u7C7B\u578B",key:"projectTypeName",prop:"projectTypeName",width:"100"},{label:"\u9884\u7B97\u5E74\u5EA6",key:"projectYear",prop:"projectYear",width:"80"},{label:"\u81EA\u8BC4\u5F97\u5206",key:"selfAppraisalTotalScore",prop:"selfAppraisalTotalScore",width:"80",render:o=>O("span",o.selfAppraisalTotalScore||o.selfAppraisalTotalScore===0?o.selfAppraisalTotalScore:"-")},{label:"\u64CD\u4F5C",slot:"action",width:"110",fixed:"right"}]),f=i([]),c=async(o=p.value.pageParams)=>{const n=await R(m.query.verifyGroupId,{...o,...r});f.value=n.data.records,_.value=n.data.total},I=()=>{c()},N=()=>{r.projectName=void 0,p.value.pageParams.pageNumber=1,p.value.pageParams.pageSize=10,c()};return D(()=>{c()}),(o,n)=>{const C=l("el-input"),b=l("el-form-item"),y=l("el-col"),h=l("el-button"),T=l("el-row"),S=l("el-form"),w=l("el-card"),x=l("table-list");return d(),u($,null,[a(w,{class:"search mb-16"},{default:t(()=>[a(S,{"label-suffix":":",model:r,size:"small"},{default:t(()=>[a(T,{gutter:16},{default:t(()=>[a(y,{span:8},{default:t(()=>[a(b,{label:"\u9879\u76EE\u540D\u79F0"},{default:t(()=>[a(C,{modelValue:r.projectName,"onUpdate:modelValue":n[0]||(n[0]=e=>r.projectName=e),placeholder:"\u8BF7\u8F93\u5165"},null,8,["modelValue"])]),_:1})]),_:1}),a(y,{span:16},{default:t(()=>[a(b,{class:"btn"},{default:t(()=>[a(h,{type:"primary",onClick:I},{default:t(()=>[g("\u67E5\u8BE2")]),_:1}),a(h,{onClick:N},{default:t(()=>[g("\u91CD\u7F6E")]),_:1})]),_:1})]),_:1})]),_:1})]),_:1},8,["model"])]),_:1}),a(w,null,{header:t(()=>[z]),default:t(()=>[a(x,{ref_key:"tableListRef",ref:p,column:v,data:f.value,total:_.value,onGetTableData:c},{action:t(({scope:e})=>[e.row.canVerify?(d(),u("a",{key:0,onClick:V=>o.$router.push({name:"checkGiveScore",query:{projectCode:e.row.projectCode,projectId:e.row.projectId,appraisalId:e.row.appraisalId,groupId:e.row.groupId,canRectify:e.row.canRectify}})},P(e.row.draftId?"\u7EE7\u7EED\u6253\u5206":"\u6253\u5206"),9,B)):(d(),u("a",{key:1,onClick:V=>o.$router.push({name:"checkScoreDetail",query:{projectCode:e.row.projectCode,projectId:e.row.projectId,appraisalId:e.row.appraisalId,groupId:e.row.groupId}})},"\u8BE6\u60C5",8,F))]),_:1},8,["column","data","total"])]),_:1})],64)}}});export{W as default};
