import{ax as f}from"./index.17037962789732.js";import"./index.1703796278973300.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.1703796278973305.js";import"./index.1703796278973306.js";import{e as x}from"./log.17037962789732.js";import{a as d}from"./dayjs.min.1703796278973.js";import{d as g,O as Y,k,r,o as b,c as H,a as e,b as s,u as a,z as o,A as m}from"./vue.1703796278973.js";import"./index.17037962789733.js";import"./isArray.1703796278973.js";import"./editor.api.1703796278973.js";import"./preload-helper.1703796278973.js";import"./monaco.contribution.1703796278973.js";import"./system.1703796278973.js";import"./comm.1703796278973.js";import"./index.170379627897333.js";import"./index.170379627897334.js";import"./_plugin-vue_export-helper.1703796278973.js";import"./default.1703796278973.js";import"./permission.1703796278973.js";import"./consts.1703796278973.js";import"./404.1703796278973.js";const P=o("h3",null,"记录列表",-1),ne=g({__name:"index",emits:["closeLog"],setup(S,{emit:q}){var p;const c=[{column:"alarmRecordId",termType:"eq",value:(p=Y().query)==null?void 0:p.id,type:"and"}],i=[{title:"处理时间",dataIndex:"handleTime",key:"handleTime",scopedSlots:!0,width:180,search:{type:"date"}},{dataIndex:"handleType",title:"处理类型",key:"handleType",scopedSlots:!0,width:120,search:{type:"select",options:[{label:"系统",value:"system"},{label:"人工",value:"user"}]}},{title:"告警时间",dataIndex:"alarmTime",key:"alarmTime",scopedSlots:!0,search:{type:"date"},width:180},{title:"告警处理",dataIndex:"description",key:"description",ellipsis:!0,search:{type:"string"}}],n=k(),u=l=>{n.value=l};return(l,I)=>{const h=r("pro-search"),_=f,y=r("FullPage"),T=r("page-container");return b(),H(T,null,{default:e(()=>[s(h,{columns:i,target:"bind-channel",onSearch:u}),s(y,null,{default:e(()=>[s(_,{model:"TABLE",columns:i,defaultParams:{sorts:[{name:"createTime",order:"desc"}],terms:c},request:a(x),params:a(n)},{headerTitle:e(()=>[P]),handleTime:e(t=>[o("span",null,m(a(d)(t.handleTime).format("YYYY-MM-DD HH:mm:ss")),1)]),handleType:e(t=>[o("span",null,m(t.handleType.text),1)]),alarmTime:e(t=>[o("span",null,m(a(d)(t.alarmTime).format("YYYY-MM-DD HH:mm:ss")),1)]),_:1},8,["defaultParams","request","params"])]),_:1})]),_:1})}}});export{ne as default};
