import{s as d}from"./index-5a47c360-1785478469326v=1.0.0.js";import{E as b}from"./eleVendor-bc05bc4d-1785478469326v=1.0.0.js";import{x as f,r as t,k as h,al as g,y as _,z as x,Q as C,I as p,L as y,u as o}from"./vendor-46662d77-1785478469326v=1.0.0.js";const H=f({__name:"PhysicalHealthTest",props:{tsId:{default:""},searchParam:{default:{}}},emits:[],setup(c,{expose:i,emit:I}){const l=c,m=t([{label:"\u6D4B\u8BD5\u65F6\u95F4",prop:"testDate"},{label:"\u8EAB\u9AD8(cm)",prop:"height"},{label:"\u4F53\u91CD(kg)",prop:"weight"},{label:"BMI",prop:"bmiPassScore"},{label:"\u80BA\u6D3B\u91CF(L)",prop:"lungCapacity"},{label:"50\u7C73\u8DD1(s)",prop:"run50m"},{label:"\u5750\u4F4D\u4F53\u524D\u5C48(cm)",prop:"sitReach"},{label:"\u7ACB\u5B9A\u8DF3\u8FDC(cm)",prop:"standingJump"},{label:"\u5F15\u4F53\u5411\u4E0A(\u4E2A)",prop:"pullUpsNum"},{label:"1000\u7C73\u8DD1(\u5206)",prop:"run1000m"},{label:"\u5206\u6570",prop:"totalScore"},{label:"\u6210\u7EE9",prop:"fitnessTestScoreCn"}]),s=t([]),a=t(!1),r=async()=>{try{a.value=!0;const e=await d({tsId:l.tsId,...l.searchParam});e.code===0&&(s.value=e.data.listData||[])}catch(e){b.error(e)}finally{a.value=!1}};return h(()=>{r()}),i({initData:r}),(e,n)=>{const u=g("HZProTable");return _(),x("div",null,[C(u,{columns:o(m),data:o(s),isFlex:!1,loading:o(a)},{tableHeader:p(()=>n[0]||(n[0]=[])),toolButton:p(()=>[y(' <el-button @click="handleExport"> \u5BFC\u51FA </el-button> ')]),_:1},8,["columns","data","loading"])])}}});export{H as _};
