import{a as k,u as $,ah as S,r as x,e as C,dO as N,$ as R,o as a,c as n,v as s,p as c,q as b,x as e,n as d,F as p,A as l,t as w,ak as B}from"./index.8d733f79.js";const D={class:"subPage-content"},L={class:"nav"},T={key:0,class:"details-wrap",style:{overflow:"auto"}},q={style:{"margin-bottom":"12px"}},V={style:{"padding-right":"16px"}},z={style:{"padding-right":"16px"}},E={style:{"padding-right":"16px"}},F={style:{"padding-right":"16px"}},I={style:{"padding-right":"16px"}},O={style:{"margin-bottom":"12px"}},P=["src"],j={__name:"details",setup(A){const u=k(),m=$(),g=S({reportName:u.query.reportName,pageNo:1,pageSize:10}),i=x({});C(()=>{h()});const _=()=>{m.push("/system/signalReport")},y=t=>JSON.parse(t);async function h(){const t=await N(g);i.value=t.data.content[0]}return(t,J)=>{const v=R("Back"),f=B;return a(),n("div",D,[s("div",L,[c(f,{color:"#0052D9",size:"24",onClick:_,style:{cursor:"pointer"}},{default:b(()=>[c(v)]),_:1}),s("span",null,e(t.$t("reportDetail")),1)]),d(i).testTimeRange?(a(),n("div",T,[s("div",null,e(t.$t("testTime"))+"\uFF1A"+e(d(i).testTimeRange),1),(a(!0),n(p,null,l(d(i).contents,r=>(a(),n("div",{key:r.testTime,style:{margin:"20px 0","border-bottom":"1px solid #fff"}},[s("div",q,e(t.$t("signalLevel"))+"\uFF1A"+e(r.signalLevel),1),(a(!0),n(p,null,l(y(r.signalDetail),o=>(a(),n("div",{key:o.id,style:{"margin-bottom":"8px"}},[s("span",V,"RSSI: "+e(o.rssi),1),s("span",z,"SNR: "+e(o.snr),1),s("span",E,e(t.$t("areaCode"))+": "+e(o.areaCode),1),s("span",F,e(t.$t("stationCode"))+": "+e(o.stationCode),1),s("span",I,e(t.$t("isSupportDevice"))+": "+e(o.isSupport?t.$t("yes"):t.$t("no")),1)]))),128)),s("div",null,e(t.$t("remark"))+"\uFF1A",1),s("div",O,e(r.remark),1),(a(!0),n(p,null,l(r.images,o=>(a(),n("div",{key:o},[s("img",{src:o,alt:"",style:{width:"100px",margin:"0 10px 10px 0"}},null,8,P)]))),128))]))),128))])):w("",!0)])}}};export{j as default};
