您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

2 行
1.1KB

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