|
- import{g as R}from"./expertVerification-c7259e8f.js";import{x as q,a as g,r as d,$ as A,o as O,b as r,c,d as u,f as t,h as a,i as k,e as h,t as $,F as D,k as P}from"./index-dd5fae99.js";const B=["onClick"],F=["onClick"],G=P({beforeRouteEnter(p,m,n){p.query.title&&(p.meta.title=p.query.title),n()}}),E=Object.assign(G,{__name:"index",setup(p){const m=q(),n=g({projectName:void 0}),s=d(),f=d(5),v=g([{label:"序号",type:"index",width:"80"},{label:"项目名称",key:"projectName",prop:"projectName",minWidth:"150",showOverflowTooltip:!0},{label:"申报单位",key:"buildOrgName",prop:"buildOrgName",minWidth:"80",showOverflowTooltip:!0},{label:"项目类型",key:"projectTypeName",prop:"projectTypeName",width:"100"},{label:"预算年度",key:"projectYear",prop:"projectYear",width:"80"},{label:"自评得分",key:"selfAppraisalTotalScore",prop:"selfAppraisalTotalScore",width:"80",render:l=>A("span",l.selfAppraisalTotalScore||l.selfAppraisalTotalScore===0?l.selfAppraisalTotalScore:"-")},{label:"操作",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 O(()=>{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(D,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:"项目名称"},{default:a(()=>[t(C,{modelValue:n.projectName,"onUpdate:modelValue":o[0]||(o[0]=e=>n.projectName=e),placeholder:"请输入"},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("查询")])),_:1}),t(w,{onClick:N},{default:a(()=>o[2]||(o[2]=[k("重置")])),_: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,"项目列表")],-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}})},$(e.row.draftId?"继续打分":"打分"),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}})},"详情",8,F))]),_:1},8,["column","data","total"])]),_:1})],64)}}});export{E as default};
|