Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

2 строки
1.3KB

  1. import{l as _}from"./unitSelfEvaluation.47978418.js";import{d as b,r as t,b as k,Z as c,o as v,c as d,e as y,f as h,h as m,i as l,j as g,g as w}from"./index.88314652.js";const x=["onClick"],C=b({name:"unitSelfEvaluation"}),B=Object.assign(C,{setup($){const o=t(),p=k([{label:"\u5E8F\u53F7",type:"index",width:"80"},{label:"\u8BC4\u4EF7\u8BA1\u5212",key:"name",prop:"name"},{label:"\u81EA\u8BC4\u65F6\u95F4",key:"time",prop:"time",render:e=>c("span",`\u9879\u76EE\u7EC8\u9A8C\u540E${e.startSelfDays}\u5929\u540E\u5F00\u59CB\u81EA\u8BC4\uFF0C${e.completeSelfDays}\u5929\u5185\u5B8C\u6210\u81EA\u8BC4`)},{label:"\u5907\u6CE8",key:"remark",prop:"remark",render:e=>c("span",`${e.remark||"-"}`)},{label:"\u64CD\u4F5C",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 v(()=>{s()}),(e,a)=>{const u=d("table-list"),f=d("el-card");return y(),h("div",null,[m(f,null,{header:l(()=>a[0]||(a[0]=[g("\u5217\u8868")])),default:l(()=>[m(u,{ref_key:"tableListRef",ref:o,column:p,data:n.value,total:r.value,onGetTableData:s},{action:l(({scope:i})=>[w("a",{onClick:D=>e.$router.push({name:"unitSelfProjectList",query:{title:i.row.name,planId:i.row.id}})},"\u81EA\u8BC4",8,x)]),_:1},8,["column","data","total"])]),_:1})])}}});export{B as default};