|
- import{l as _}from"./projectReview-64da128f.js";import{r,a as f,$ as b,o as k,b as p,c as w,d as h,f as d,h as o,i as v,e as y,k as G}from"./index-dd5fae99.js";const N=["onClick"],x=G({name:"projectReview"}),B=Object.assign(x,{setup(A){const l=r(),c=f([{label:"序号",type:"index",width:"80"},{label:"评价计划",key:"name",prop:"name",minWidth:"200"},{label:"复评分组",key:"reAppraisalGroupName",prop:"reAppraisalGroupName",width:"240"},{label:"备注",key:"remark",prop:"remark",width:"100",render:e=>b("span",e.remark||"-")},{label:"操作",slot:"action",fixed:"right",width:"80"}]),n=r([]),s=r(1),i=async(e=l.value.pageParams)=>{const a=await _({...e});n.value=a.data.records,s.value=a.data.total};return k(()=>{i()}),(e,a)=>{const m=p("table-list"),u=p("el-card");return w(),h("div",null,[d(u,null,{header:o(()=>a[0]||(a[0]=[v("列表")])),default:o(()=>[d(m,{ref_key:"tableListRef",ref:l,column:c,data:n.value,total:s.value,onGetTableData:i},{action:o(({scope:t})=>[y("a",{onClick:C=>e.$router.push({name:"reviewProjectList",query:{id:t.row.id,title:t.row.name+"-"+t.row.reAppraisalGroupName,reAppraisalGroupId:t.row.reAppraisalGroupId}})},"复评",8,N)]),_:1},8,["column","data","total"])]),_:1})])}}});export{B as default};
|