import{l as f}from"./projectReform.19caa923.js";import{d as _,r as t,b,o as h,c as i,e as v,f as y,h as d,i as o,j as k,g as N}from"./index.5bb861d3.js";const w=["onClick"],g=_({name:"projectReform"}),B=Object.assign(g,{setup(x){const l=t(),u=b([{label:"\u5E8F\u53F7",type:"index",width:"80"},{label:"\u8BC4\u4EF7\u8BA1\u5212",key:"name",prop:"name"},{label:"\u5F85\u6574\u6539\u9879\u76EE",key:"unRectifyNumber",prop:"unRectifyNumber"},{label:"\u5DF2\u6574\u6539\u9879\u76EE",key:"rectifiedNumber",prop:"rectifiedNumber"},{label:"\u64CD\u4F5C",slot:"action",fixed:"right",width:"80"}]),r=t([]),n=t(0),s=async(e=l.value.pageParams)=>{const a=await f({...e});r.value=a.data.records,n.value=a.data.total};return h(()=>{s()}),(e,a)=>{const m=i("table-list"),p=i("el-card");return v(),y("div",null,[d(p,null,{header:o(()=>[k("\u5217\u8868")]),default:o(()=>[d(m,{ref_key:"tableListRef",ref:l,column:u,data:r.value,total:n.value,onGetTableData:s},{action:o(({scope:c})=>[N("a",{onClick:C=>e.$router.push({name:"reformProjectList",query:{title:c.row.name,planId:c.row.id}})},"\u8BE6\u60C5",8,w)]),_:1},8,["column","data","total"])]),_:1})])}}});export{B as default};
