You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

index-d9228646.js 1.1KB

1
  1. import{l as f}from"./projectReform-d35123d8.js";import{r as a,a as _,o as b,b as c,c as k,d as v,f as d,h as o,i as y,e as h,k as N}from"./index-bf7ad5b5.js";const w=["onClick"],x=N({name:"projectReform"}),B=Object.assign(x,{setup(C){const l=a(),u=_([{label:"序号",type:"index",width:"80"},{label:"评价计划",key:"name",prop:"name"},{label:"待整改项目",key:"unRectifyNumber",prop:"unRectifyNumber"},{label:"已整改项目",key:"rectifiedNumber",prop:"rectifiedNumber"},{label:"操作",slot:"action",fixed:"right",width:"80"}]),r=a([]),n=a(0),s=async(t=l.value.pageParams)=>{const e=await f({...t});r.value=e.data.records,n.value=e.data.total};return b(()=>{s()}),(t,e)=>{const m=c("table-list"),p=c("el-card");return k(),v("div",null,[d(p,null,{header:o(()=>e[0]||(e[0]=[y("列表")])),default:o(()=>[d(m,{ref_key:"tableListRef",ref:l,column:u,data:r.value,total:n.value,onGetTableData:s},{action:o(({scope:i})=>[h("a",{onClick:R=>t.$router.push({name:"reformProjectList",query:{title:i.row.name,planId:i.row.id}})},"详情",8,w)]),_:1},8,["column","data","total"])]),_:1})])}}});export{B as default};