No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.

index.228729ba.js 1.3KB

1
  1. import{l as f}from"./unitSelfEvaluation.02ef3045.js";import{d as b,r as t,b as k,a0 as i,o as h,c as d,e as v,f as y,h as m,i as l,j as g,g as w}from"./index.0660698f.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=>i("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=>i("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 f({...e});n.value=a.data.records,r.value=a.data.total};return h(()=>{s()}),(e,a)=>{const u=d("table-list"),_=d("el-card");return v(),y("div",null,[m(_,null,{header:l(()=>[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:c})=>[w("a",{onClick:D=>e.$router.push({name:"unitSelfProjectList",query:{title:c.row.name,planId:c.row.id}})},"\u81EA\u8BC4",8,x)]),_:1},8,["column","data","total"])]),_:1})])}}});export{B as default};