|
1 |
- import{l as p}from"./reformCheck.76e32442.js";import{d as _,r as a,b,o as k,c,e as h,f as v,h as d,i as o,j as y,g as C}from"./index.a2494fc2.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(t=l.value.pageParams)=>{const e=await p({...t});r.value=e.data.records,n.value=e.data.total};return k(()=>{s()}),(t,e)=>{const m=c("table-list"),f=c("el-card");return h(),v("div",null,[d(f,null,{header:o(()=>e[0]||(e[0]=[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:i})=>[C("a",{onClick:x=>t.$router.push({name:"reformCheckProjectList",query:{title:i.row.name,planId:i.row.id}})},"\u8BE6\u60C5",8,N)]),_:1},8,["column","data","total"])]),_:1})])}}});export{j as default};
|