Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.

2 wiersze
1.2KB

  1. import{l as _}from"./projectReview.30fa037e.js";import{d as f,r,b,a0 as h,o as w,c as p,e as k,f as v,h as d,i as o,j as y,g as G}from"./index.d340e473.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=>h("span",e.remark||"-")},{label:"\u64CD\u4F5C",slot:"action",fixed:"right",width:"80"}]),n=r([]),s=r(1),i=async(e=l.value.pageParams)=>{const t=await _({...e});n.value=t.data.records,s.value=t.data.total};return w(()=>{i()}),(e,t)=>{const m=p("table-list"),u=p("el-card");return k(),v("div",null,[d(u,null,{header:o(()=>[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:a})=>[G("a",{onClick:A=>e.$router.push({name:"reviewProjectList",query:{id:a.row.id,title:a.row.name+"-"+a.row.reAppraisalGroupName,reAppraisalGroupId:a.row.reAppraisalGroupId}})},"\u590D\u8BC4",8,N)]),_:1},8,["column","data","total"])]),_:1})])}}});export{B as default};