import{a5 as m,r as i,o as u,c as y,v as e,x as s,n as l,J as v}from"./index.8d733f79.js";import{j as b}from"./dashboard.62cdb0f4.js";const f={style:{flex:"1",padding:"10px 12px","line-height":"40px"}},C={class:"plan_box"},g={class:"row"},$={class:"labelCell"},w=["title"],T={class:"row"},D={class:"labelCell"},F=["title"],N={class:"labelCell"},k=["title"],x={class:"row"},B={class:"labelCell"},J={class:"contentCell"},L={class:"labelCell"},O={class:"contentCell",style:{border:"none"}},S={class:"row",style:{"border-bottom":"none"}},j={class:"labelCell"},I={class:"contentCell"},A={class:"labelCell"},E={class:"contentCell",style:{border:"none"}},V=m({name:"AlarmTrend"}),H=Object.assign(V,{setup(q,{expose:p}){const t=i({}),a=i(),d=i();function h(o){b({deviceId:o}).then(c=>{var _,r;t.value=c.data||{},a.value=(_=v.session.getJSON("enums").supportType.find(n=>+n.key===t.value.supportType))==null?void 0:_.desc,d.value=(r=v.session.getJSON("enums").deviceForm.find(n=>+n.key===t.value.deviceForm))==null?void 0:r.desc}).catch(()=>{})}return p({getData:h}),(o,c)=>(u(),y("div",f,[e("div",C,[e("div",g,[e("div",$,s(o.$t("name")),1),e("div",{style:{flex:"1",padding:"0 16px"},class:"txt_ellipsis",title:l(t).name},s(l(t).name),9,w)]),e("div",T,[e("div",D,s(o.$t("type")),1),e("div",{class:"contentCell",title:l(t).deviceTypeName},s(l(t).deviceTypeName),9,F),e("div",N,s(o.$t("code")),1),e("div",{class:"contentCell",style:{border:"none"},title:l(t).code},s(l(t).showCode),9,k)]),e("div",x,[e("div",B,s(o.$t("isFollow")),1),e("div",J,s(l(t).isFollow?o.$t("yes"):o.$t("no")),1),e("div",L,s(o.$t("grade")),1),e("div",O,s(l(t).importantLevel),1)]),e("div",S,[e("div",j,s(o.$t("form")),1),e("div",I,s(l(d)),1),e("div",A,s(o.$t("sType")),1),e("div",E,s(l(a)),1)])])]))}});export{H as default};
