import{r as d,b as s,o as m,c as u,f as o,w as p,g as n,h as f,N as k,i as g}from"./index-bb1600c6.js";import{l as y}from"./TaskData-ccc03cdb.js";import{_ as h}from"./PageHeader-30187700.js";import{_ as T}from"./DataTable-a287c4be.js";import"./RadioGroup-3051618a.js";import"./get-slot-1efb97e5.js";import"./Tooltip-f0032eab.js";const x={class:"h-full flex flex-col gap-y-3"},O={__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 m(),u("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{O as default};
