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.

2 lines
1.1KB

  1. import{l as _}from"./applicationEvaluate.93bcdcce.js";import{d as f,r as l,b,o as v,c as d,e as k,f as h,h as c,i as o,j as w,g as y}from"./index.88314652.js";const g=["onClick"],x=f({name:"applicationEvaluate"}),G=Object.assign(x,{setup(C){const n=l(),p=b([{label:"\u5E8F\u53F7",type:"index",width:"80"},{label:"\u8BC4\u4EF7\u8BA1\u5212",key:"name",prop:"name",minWidth:100},{label:"\u5907\u6CE8",key:"remark",prop:"remark"},{label:"\u64CD\u4F5C",slot:"action",fixed:"right",width:"80"}]),r=l([]),s=l(0),i=async(e=n.value.pageParams)=>{const a=await _({...e});r.value=a.data.records,s.value=a.data.total};return v(()=>{i()}),(e,a)=>{const u=d("table-list"),m=d("el-card");return k(),h("div",null,[c(m,null,{header:o(()=>a[0]||(a[0]=[w("\u5217\u8868")])),default:o(()=>[c(u,{ref_key:"tableListRef",ref:n,column:p,data:r.value,total:s.value,onGetTableData:i},{action:o(({scope:t})=>[y("a",{onClick:B=>e.$router.push({name:"applicationEvaluateDetail",query:{title:t.row.name,planId:t.row.id,reAppraisalGroupId:t.row.reAppraisalGroupId}})},"\u8BE6\u60C5",8,g)]),_:1},8,["column","data","total"])]),_:1})])}}});export{G as default};