|
- import{l as p}from"./reformCheck.7b038d5b.js";import{d as _,r as a,b,o as h,c as i,e as k,f as v,h as d,i as o,j as y,g as C}from"./index.5bb861d3.js";const N=["onClick"],w=_({name:"reformCheck"}),j=Object.assign(w,{setup(g){const l=a(),u=b([{label:"\u5E8F\u53F7",type:"index",width:"80"},{label:"\u8BC4\u4EF7\u8BA1\u5212",key:"name",prop:"name"},{label:"\u5F85\u6838\u67E5\u9879\u76EE",key:"unRectifyAuditNumber",prop:"unRectifyAuditNumber"},{label:"\u5DF2\u6838\u67E5\u9879\u76EE",key:"rectifiedAuditNumber",prop:"rectifiedAuditNumber"},{label:"\u64CD\u4F5C",slot:"action",fixed:"right",width:"80"}]),r=a([]),n=a(0),s=async(e=l.value.pageParams)=>{const t=await p({...e});r.value=t.data.records,n.value=t.data.total};return h(()=>{s()}),(e,t)=>{const m=i("table-list"),f=i("el-card");return k(),v("div",null,[d(f,null,{header:o(()=>[y("\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})=>[C("a",{onClick:x=>e.$router.push({name:"reformCheckProjectList",query:{title:c.row.name,planId:c.row.id}})},"\u8BE6\u60C5",8,N)]),_:1},8,["column","data","total"])]),_:1})])}}});export{j as default};
|