Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

2 linhas
3.0KB

  1. import{g as R}from"./expertVerification.0b0a2585.js";import{d as q,x as A,b as g,r as d,Z as O,o as D,c as r,e as c,f as u,h as t,i as a,j as k,g as h,t as P,F as $}from"./index.a2494fc2.js";const B=["onClick"],F=["onClick"],G=q({beforeRouteEnter(p,m,n){p.query.title&&(p.meta.title=p.query.title),n()}}),E=Object.assign(G,{__name:"index",setup(p){const m=A(),n=g({projectName:void 0}),s=d(),f=d(5),v=g([{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:l=>O("span",l.selfAppraisalTotalScore||l.selfAppraisalTotalScore===0?l.selfAppraisalTotalScore:"-")},{label:"\u64CD\u4F5C",slot:"action",width:"110",fixed:"right"}]),_=d([]),i=async(l=s.value.pageParams)=>{const o=await R(m.query.verifyGroupId,{...l,...n});_.value=o.data.records,f.value=o.data.total},I=()=>{i()},N=()=>{n.projectName=void 0,s.value.pageParams.pageNumber=1,s.value.pageParams.pageSize=10,i()};return D(()=>{i()}),(l,o)=>{const C=r("el-input"),b=r("el-form-item"),y=r("el-col"),w=r("el-button"),T=r("el-row"),S=r("el-form"),j=r("el-card"),x=r("table-list");return c(),u($,null,[t(j,{class:"search mb-16"},{default:a(()=>[t(S,{"label-suffix":":",model:n,size:"small"},{default:a(()=>[t(T,{gutter:16},{default:a(()=>[t(y,{span:8},{default:a(()=>[t(b,{label:"\u9879\u76EE\u540D\u79F0"},{default:a(()=>[t(C,{modelValue:n.projectName,"onUpdate:modelValue":o[0]||(o[0]=e=>n.projectName=e),placeholder:"\u8BF7\u8F93\u5165"},null,8,["modelValue"])]),_:1})]),_:1}),t(y,{span:16},{default:a(()=>[t(b,{class:"btn"},{default:a(()=>[t(w,{type:"primary",onClick:I},{default:a(()=>o[1]||(o[1]=[k("\u67E5\u8BE2")])),_:1}),t(w,{onClick:N},{default:a(()=>o[2]||(o[2]=[k("\u91CD\u7F6E")])),_:1})]),_:1})]),_:1})]),_:1})]),_:1},8,["model"])]),_:1}),t(j,null,{header:a(()=>o[3]||(o[3]=[h("div",{class:"flex justify-between items-center"},[h("span",null,"\u9879\u76EE\u5217\u8868")],-1)])),default:a(()=>[t(x,{ref_key:"tableListRef",ref:s,column:v,data:_.value,total:f.value,onGetTableData:i},{action:a(({scope:e})=>[e.row.canVerify?(c(),u("a",{key:0,onClick:V=>l.$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)):(c(),u("a",{key:1,onClick:V=>l.$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{E as default};