import{$ as y,aK as u}from"./index.17037962789732.js";import"./index.1703796278973305.js";import"./index.170379627897315.js";import"./index.170379627897317.js";import"./index.1703796278973301.js";import"./index.1703796278973302.js";import"./index.170379627897332.js";import"./index.1703796278973303.js";import"./index.170379627897339.js";import"./index.170379627897316.js";import"./index.170379627897314.js";import"./index.1703796278973304.js";import"./index.170379627897335.js";import{d as p,k as h,o,x as s,z as t,b as r,a as v,A as k,B as c,F as b,u as f,G as w,H as g}from"./vue.1703796278973.js";import{_ as I}from"./_plugin-vue_export-helper.1703796278973.js";import"./index.17037962789733.js";import"./dayjs.min.1703796278973.js";import"./isArray.1703796278973.js";import"./editor.api.1703796278973.js";import"./preload-helper.1703796278973.js";import"./monaco.contribution.1703796278973.js";const i=e=>(w("data-v-7bb767bc"),e=e(),g(),e),D={class:"home-card"},B=i(()=>t("div",{class:"card-header"},[t("div",{class:"title"}," 最新告警消息 ")],-1)),C={class:"card-content"},S={key:0,style:{width:"120px","white-space":"nowrap",overflow:"hidden","text-overflow":"ellipsis"}},T=i(()=>t("a",null,"确认",-1)),M=i(()=>t("a",null,"忽略",-1)),N=p({name:"WarningMessage"}),V=p({...N,setup(e){const l=[{title:"告警级别",width:80,dataIndex:"level",key:"level"},{title:"告警位置",dataIndex:"position",key:"position"},{title:"设备名称",dataIndex:"name",key:"name"},{title:"告警类型",dataIndex:"type",key:"type"},{title:"告警描述",width:120,dataIndex:"desc",key:"desc"},{title:"告警时间",width:150,dataIndex:"warningTime",key:"warningTime"},{title:"状态",width:60,dataIndex:"status",key:"status"},{title:"操作",key:"action"}],n=h([]);return(()=>{for(let a=0;a<20;a++)n.value.push({id:a,level:"一级",position:"xxxxx",name:"xxxxx",type:"xxx",desc:"xxxxxxxxxxxxxx",warningTime:"2022-02-02 16:20:13",status:"xxx"})})(),(a,j)=>{const x=y,_=u;return o(),s("div",D,[B,t("div",C,[r(_,{columns:l,"data-source":f(n),pagination:!1,size:"small",scroll:{y:203,x:800}},{bodyCell:v(({column:d,record:m,index:z})=>[d.key==="desc"?(o(),s("span",S,k(m.desc),1)):c("",!0),d.key==="action"?(o(),s(b,{key:1},[T,r(x,{type:"vertical"}),M],64)):c("",!0)]),_:1},8,["data-source"])])])}}});const ot=I(V,[["__scopeId","data-v-7bb767bc"]]);export{ot as default};
