import{r as d,f as s,o as u,c as m,i as o,w as p,j as n,k as f,N as k,l as g}from"./index-e497b666.js";import{l as y}from"./TaskData-11f744cb.js";import{_ as h}from"./PageHeader-74caddbf.js";import{_ as T}from"./DataTable-41a24bfd.js";import"./RadioGroup-6edab0a1.js";import"./get-slot-1efb97e5.js";const x={class:"h-full flex flex-col gap-y-3"},I={__name:"index",setup(v){const l=window.sessionStorage.getItem("task")?JSON.parse(window.sessionStorage.getItem("task")):{},r=d({T_task_id:l.T_task_id}),i=[{title:"编号",key:"T_id"},{title:"SN",key:"T_sn"},{title:"数据量",key:"T_unm"},{title:"时间间隔",key:"T_time_interval"},{title:"开始时间",key:"Time_start"},{title:"结束时间",key:"Time_end"},{title:"结果",key:"Result",width:700,render(e){return f(k,{type:e.Result===200?"success":"error",bordered:!1,size:"large"},{default:()=>e.Result===200?"OK":e.Result_str})}}],a=s([]),t=s(!1);return(async()=>{try{t.value=!0;const{data:e}=await y(r);a.value=e.Data?e.Data:[]}catch(e){console.log(e)}finally{t.value=!1}})(),(e,D)=>{const c=h,_=T;return u(),m("div",x,[o(c,{onBack:e.$router.back},{title:p(()=>[g(" 数据校验 ")]),_:1},8,["onBack"]),o(_,{remote:"",loading:n(t),columns:i,data:n(a),bordered:!1,"flex-height":"",class:"flex-1"},null,8,["loading","data"])])}}};export{I as default};