|
- import{l as p}from"./reformCheck-d72527b2.js";import{r as a,a as _,o as b,b as c,c as k,d as h,f as d,h as o,i as v,e as y,k as C}from"./index-dd5fae99.js";const N=["onClick"],w=C({name:"reformCheck"}),B=Object.assign(w,{setup(x){const l=a(),u=_([{label:"序号",type:"index",width:"80"},{label:"评价计划",key:"name",prop:"name"},{label:"待核查项目",key:"unRectifyAuditNumber",prop:"unRectifyAuditNumber"},{label:"已核查项目",key:"rectifiedAuditNumber",prop:"rectifiedAuditNumber"},{label:"操作",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 b(()=>{s()}),(t,e)=>{const m=c("table-list"),f=c("el-card");return k(),h("div",null,[d(f,null,{header:o(()=>e[0]||(e[0]=[v("列表")])),default:o(()=>[d(m,{ref_key:"tableListRef",ref:l,column:u,data:r.value,total:n.value,onGetTableData:s},{action:o(({scope:i})=>[y("a",{onClick:g=>t.$router.push({name:"reformCheckProjectList",query:{title:i.row.name,planId:i.row.id}})},"详情",8,N)]),_:1},8,["column","data","total"])]),_:1})])}}});export{B as default};
|