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.152c40be.js 1.4KB

3 kuukautta sitten
1
  1. import{d as b,r as l,b as h,o as v,c as d,e as w,f as g,h as c,i as t,j as k,g as a,t as n}from"./index.a2494fc2.js";const y=["onClick"],x=b({name:"finalReview"}),D=Object.assign(x,{setup(C){const o=l(),u=h([{label:"\u5E8F\u53F7",type:"index",width:"80"},{label:"\u8BA1\u5212\u540D\u79F0",key:"name",prop:"name",minWidth:"200"},{label:"\u8BC4\u4EF7\u65F6\u95F4",slot:"time",width:"280"},{label:"\u8BC4\u4EF7\u9879\u76EE\u6570\u91CF",key:"nums",prop:"nums",minWidth:"120"},{label:"\u64CD\u4F5C",slot:"action",fixed:"right",width:"80"}]),i=l([]),p=l(1),s=async(r=o.value.pageParams)=>{i.value=[{name:"2022\u5E74\u8F6F\u4EF6\u7C7B\u9879\u76EE\u7EE9\u6548\u8BC4\u4EF7",time1:"2023-11-21 ~ 2023-11-30",time2:"2023-12-01 ~ 2022-12-15",time3:"2023-11-16 ~ 2023-12-30",nums:36}]};return v(()=>{s()}),(r,m)=>{const _=d("table-list"),f=d("el-card");return w(),g("div",null,[c(f,null,{header:t(()=>m[0]||(m[0]=[k("\u5217\u8868")])),default:t(()=>[c(_,{ref_key:"tableListRef",ref:o,column:u,data:i.value,total:p.value,onGetTableData:s},{time:t(({scope:e})=>[a("p",null,"\u81EA\u8BC4\uFF1A"+n(e.row.time1),1),a("p",null,"\u590D\u8BC4\uFF1A"+n(e.row.time2),1),a("p",null,"\u6838\u67E5\uFF1A"+n(e.row.time3),1)]),action:t(({scope:e})=>[a("a",{onClick:j=>r.$router.push({name:"finalProjectList",query:{id:e.row.id}})},"\u6838\u67E5",8,y)]),_:1},8,["column","data","total"])]),_:1})])}}});export{D as default};