var y=Object.defineProperty;var u=Object.getOwnPropertySymbols;var x=Object.prototype.hasOwnProperty,g=Object.prototype.propertyIsEnumerable;var _=(l,a,e)=>a in l?y(l,a,{enumerable:!0,configurable:!0,writable:!0,value:e}):l[a]=e,f=(l,a)=>{for(var e in a||(a={}))x.call(a,e)&&_(l,e,a[e]);if(u)for(var e of u(a))g.call(a,e)&&_(l,e,a[e]);return l};var v=(l,a,e)=>new Promise((s,n)=>{var i=t=>{try{c(e.next(t))}catch(r){n(r)}},o=t=>{try{c(e.throw(t))}catch(r){n(r)}},c=t=>t.done?s(t.value):Promise.resolve(t.value).then(i,o);c((e=e.apply(l,a)).next())});import{_ as w,d as D,r as d,b as C,a5 as b,o as S,f as k,g as $,h as j,l as h,m,p as E,i as N}from"./index.9fabe127.js";import{l as B}from"./unitSelfEvaluation.ac3ab285.js";const L=["onClick"],P=D({name:"unitSelfEvaluation"}),T=Object.assign(P,{setup(l){const a=d(),e=C([{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:o=>b("span",`\u9879\u76EE\u7EC8\u9A8C\u540E${o.startSelfDays}\u5929\u540E\u5F00\u59CB\u81EA\u8BC4\uFF0C${o.completeSelfDays}\u5929\u5185\u5B8C\u6210\u81EA\u8BC4`)},{label:"\u5907\u6CE8",key:"remark",prop:"remark",render:o=>b("span",`${o.remark||"-"}`)},{label:"\u64CD\u4F5C",slot:"action",fixed:"right",width:"80"}]),s=d([]),n=d(0),i=(...c)=>v(this,[...c],function*(o=a.value.pageParams){const t=yield B(f({},o));s.value=t.data.records,n.value=t.data.total});return S(()=>{i()}),(o,c)=>{const t=k("table-list"),r=k("el-card");return $(),j("div",null,[h(r,null,{header:m(()=>[E("\u5217\u8868")]),default:m(()=>[h(t,{ref_key:"tableListRef",ref:a,column:e,data:s.value,total:n.value,onGetTableData:i},{action:m(({scope:p})=>[N("a",{onClick:V=>o.$router.push({name:"unitSelfProjectList",query:{title:p.row.name,planId:p.row.id}})},"\u81EA\u8BC4",8,L)]),_:1},8,["column","data","total"])]),_:1})])}}}),G=w(T,[["__file","/Users/chenlixin/Documents/work/NDKJ/MyProject/ls-project-v2.0/src/pages/performanceEvaluation/unitSelfEvaluation/index.vue"]]);export{G as default};
