Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

2 Zeilen
1.2KB

  1. import{l as _}from"./unitSelfEvaluation-247fb738.js";import{r as t,a as b,$ as c,o as k,b as d,c as v,d as y,f as m,h as l,i as h,e as $,k as w}from"./index-dd5fae99.js";const x=["onClick"],C=w({name:"unitSelfEvaluation"}),L=Object.assign(C,{setup(g){const o=t(),p=b([{label:"序号",type:"index",width:"80"},{label:"评价计划",key:"name",prop:"name"},{label:"自评时间",key:"time",prop:"time",render:e=>c("span",`项目终验后${e.startSelfDays}天后开始自评,${e.completeSelfDays}天内完成自评`)},{label:"备注",key:"remark",prop:"remark",render:e=>c("span",`${e.remark||"-"}`)},{label:"操作",slot:"action",fixed:"right",width:"80"}]),n=t([]),r=t(0),s=async(e=o.value.pageParams)=>{const a=await _({...e});n.value=a.data.records,r.value=a.data.total};return k(()=>{s()}),(e,a)=>{const u=d("table-list"),f=d("el-card");return v(),y("div",null,[m(f,null,{header:l(()=>a[0]||(a[0]=[h("列表")])),default:l(()=>[m(u,{ref_key:"tableListRef",ref:o,column:p,data:n.value,total:r.value,onGetTableData:s},{action:l(({scope:i})=>[$("a",{onClick:D=>e.$router.push({name:"unitSelfProjectList",query:{title:i.row.name,planId:i.row.id}})},"自评",8,x)]),_:1},8,["column","data","total"])]),_:1})])}}});export{L as default};