Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

2 linhas
1.3KB

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