(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-00065982"],{
/***/"3d15":
/***/function(t,e,a){"use strict";
/* harmony export (binding) */a.d(e,"a",(function(){return o})),
/* harmony export (binding) */a.d(e,"c",(function(){return u})),
/* harmony export (binding) */a.d(e,"b",(function(){return d})),
/* harmony export (binding) */a.d(e,"d",(function(){return f})),
/* harmony export (binding) */a.d(e,"e",(function(){return h})),
/* harmony export (binding) */a.d(e,"g",(function(){return O})),
/* harmony export (binding) */a.d(e,"f",(function(){return y}));
/* harmony import */var r=a("c7eb"),n=a("1da1"),c=a("7424"),i=a("b775");
/* harmony import */
/**
 * 触发器添加
 */
function o(t){return s.apply(this,arguments)}
/**
 * 触发器编辑
 */function s(){return(s=Object(n.a)(Object(r.a)().mark((function t(e){return Object(r.a)().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",Object(i.g)(c.ALARMTRIGGERADD,i.b.POST,e));case 1:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function u(t){return l.apply(this,arguments)}
/**
 * 触发器删除
 */function l(){return(l=Object(n.a)(Object(r.a)().mark((function t(e){return Object(r.a)().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",Object(i.g)(c.ALARMTRIGGEREDIT,i.b.POST,e));case 1:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function d(t){return p.apply(this,arguments)}
/**
 * 触发器获取
 */function p(){return(p=Object(n.a)(Object(r.a)().mark((function t(e){return Object(r.a)().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",Object(i.g)(c.ALARMTRIGGERDEL,i.b.POST,e));case 1:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function f(){return m.apply(this,arguments)}
/**
 * 实时告警
 */function m(){return(m=Object(n.a)(Object(r.a)().mark((function t(){return Object(r.a)().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",Object(i.g)(c.ALARMTRIGGERLIST,i.b.POST));case 1:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function h(t){return b.apply(this,arguments)}
/**
 * 操作告警
 */function b(){return(b=Object(n.a)(Object(r.a)().mark((function t(e){return Object(r.a)().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",Object(i.g)(c.CURRENTALARMLIST,i.b.POST,e));case 1:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function O(t){return g.apply(this,arguments)}
/**
 * 屏蔽告警
 */function g(){return(g=Object(n.a)(Object(r.a)().mark((function t(e){return Object(r.a)().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",Object(i.g)(c.UPDATECURRENTALARM,i.b.POST,e));case 1:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function y(t){return v.apply(this,arguments)}function v(){return(v=Object(n.a)(Object(r.a)().mark((function t(e){return Object(r.a)().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",Object(i.g)(c.SHIELDALARMLIST,i.b.POST,e));case 1:case"end":return t.stop()}}),t)})))).apply(this,arguments)}
/* unused harmony default export */},
/***/"600d":
/***/function(t,e,a){"use strict";
/* unused harmony export deviceOrZoneAdd */
/* harmony export (binding) */a.d(e,"j",(function(){return o})),
/* harmony export (binding) */a.d(e,"f",(function(){return u})),
/* harmony export (binding) */a.d(e,"e",(function(){return d})),
/* harmony export (binding) */a.d(e,"i",(function(){return f})),
/* harmony export (binding) */a.d(e,"h",(function(){return h})),
/* harmony export (binding) */a.d(e,"k",(function(){return O})),
/* harmony export (binding) */a.d(e,"l",(function(){return y})),
/* harmony export (binding) */a.d(e,"m",(function(){return D})),
/* harmony export (binding) */a.d(e,"n",(function(){return S})),
/* harmony export (binding) */a.d(e,"b",(function(){return A})),
/* harmony export (binding) */a.d(e,"d",(function(){return L})),
/* harmony export (binding) */a.d(e,"a",(function(){return x})),
/* harmony export (binding) */a.d(e,"g",(function(){return k})),
/* harmony export (binding) */a.d(e,"c",(function(){return E}));
/* harmony import */var r=a("c7eb"),n=a("1da1"),c=a("7424"),i=a("b775");
/* harmony import */function o(){return s.apply(this,arguments)}function s(){return(s=Object(n.a)(Object(r.a)().mark((function t(){return Object(r.a)().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",Object(i.g)(c.MONITORTREE,i.b.POST));case 1:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function u(t){return l.apply(this,arguments)}function l(){return(l=Object(n.a)(Object(r.a)().mark((function t(e){return Object(r.a)().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",Object(i.g)(c.MONITORADD,i.b.POST,e,{timeout:12e6}));case 1:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function d(t){return p.apply(this,arguments)}function p(){return(p=Object(n.a)(Object(r.a)().mark((function t(e){return Object(r.a)().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",Object(i.g)(c.PINGICMP,i.b.POST,e,{timeout:12e6}));case 1:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function f(t){return m.apply(this,arguments)}function m(){return(m=Object(n.a)(Object(r.a)().mark((function t(e){return Object(r.a)().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",Object(i.g)(c.MONITOREDIT,i.b.POST,e,{timeout:12e6}));case 1:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function h(t){return b.apply(this,arguments)}function b(){return(b=Object(n.a)(Object(r.a)().mark((function t(e){return Object(r.a)().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",Object(i.g)(c.MONITORDEL,i.b.POST,e,{timeout:12e6}));case 1:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function O(t){return g.apply(this,arguments)}function g(){return(g=Object(n.a)(Object(r.a)().mark((function t(e){return Object(r.a)().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",Object(i.g)(c.MONITORREALDATA,i.b.POST,e));case 1:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function y(t){return v.apply(this,arguments)}function v(){return(v=Object(n.a)(Object(r.a)().mark((function t(e){return Object(r.a)().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",Object(i.g)(c.MONITORREALDATABYUUID,i.b.POST,e));case 1:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function D(t){return j.apply(this,arguments)}function j(){return(j=Object(n.a)(Object(r.a)().mark((function t(e){return Object(r.a)().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",Object(i.g)(c.SUPPORTDEVICELIST,i.b.POST,e));case 1:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function S(t){return w.apply(this,arguments)}function w(){return(w=Object(n.a)(Object(r.a)().mark((function t(e){return Object(r.a)().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",Object(i.g)(c.SETDATA,i.b.POST,e,{timeout:1e4}));case 1:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function A(t){return T.apply(this,arguments)}function T(){return(T=Object(n.a)(Object(r.a)().mark((function t(e){return Object(r.a)().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",Object(i.g)(c.GETDEVICEMODELDATALIST,i.b.POST,e));case 1:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function L(t){return M.apply(this,arguments)}function M(){return(M=Object(n.a)(Object(r.a)().mark((function t(e){return Object(r.a)().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",Object(i.g)(c.SETDEVICESTARTORSTOP,i.b.POST,e));case 1:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function x(t){return _.apply(this,arguments)}function _(){return(_=Object(n.a)(Object(r.a)().mark((function t(e){return Object(r.a)().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",Object(i.g)(c.MONITORCOPY,i.b.POST,e,{timeout:12e6}));case 1:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function k(t){return $.apply(this,arguments)}function $(){return($=Object(n.a)(Object(r.a)().mark((function t(e){return Object(r.a)().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",Object(i.g)(c.MONITORDELALL,i.b.POST,e,{timeout:12e6}));case 1:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function E(t){return R.apply(this,arguments)}function R(){return(R=Object(n.a)(Object(r.a)().mark((function t(e){return Object(r.a)().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",Object(i.g)(c.GETREALDATATOTABLE,i.b.POST,e,{timeout:12e6}));case 1:case"end":return t.stop()}}),t)})))).apply(this,arguments)}
/* unused harmony default export */},
/***/"8f1c":
/***/function(t,e,a){"use strict";
/* harmony import */a("e409");
/* harmony import */},
/***/bb39:
/***/function(t,e,a){"use strict";
// ESM COMPAT FLAG
a.r(e);
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.function.name.js
a("b0c0"),a("14d9"),a("fb6a"),a("d3b7"),a("0643"),a("4e3e"),a("159b");
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"411544a2-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/pages/alarm/currentAlarm/currentAlarm.vue?vue&type=template&id=65442fe3
var r=a("600d"),n=a("3d15"),c=a("c1df"),i=a.n(c),o=a("cf45"),s=a("f2d9"),u={name:"CurrentAlarm",i18n:a("89fe"),components:{DownloadExcel:s.a},data:function(){var t=this;return{dataZ:[],valueData:"",treePageSize:100,scrollPage:1,frontDataZ:[],pagination:{pageSize:15,showSizeChanger:!0},loadExecl:null,isLoadExecl:!1,exportName:"",json_fields_cn:{"名称":{field:"AlarmName",
//自定义回调函数
callback:function(e){return t.$t(e)}},
//常规字段
"设备":"DeviceName",
//支持嵌套属性
"告警显示":{field:"AlarmMessage",
//自定义回调函数
callback:function(e){return t.$t(e)}},"告警时间":{field:"HappenTime",
//自定义回调函数
callback:function(t){var e=new Date(t);return Object(o.a)(e,"yyyy-MM-dd hh:mm:ss")}},"告警等级":{field:"alarmLevel",
//自定义回调函数
callback:function(e){switch(e){case 0:return t.$t("dataModel.alarm.Tips");case 1:return t.$t("dataModel.alarm.Minor");case 2:return t.$t("dataModel.alarm.Importance");case 3:return t.$t("dataModel.alarm.Urgency");case 4:return t.$t("dataModel.alarm.Deadly")}}}},json_fields_en:{AlarmName:{field:"AlarmName",
//自定义回调函数
callback:function(e){return t.$t(e)}},
//常规字段
DeviceName:"DeviceName",
//支持嵌套属性
AlarmMessage:{field:"AlarmMessage",
//自定义回调函数
callback:function(e){return t.$t(e)}},HappenTime:{field:"HappenTime",
//自定义回调函数
callback:function(t){var e=new Date(t);return Object(o.a)(e,"yyyy-MM-dd hh:mm:ss")}},AlarmLevel:{field:"alarmLevel",
//自定义回调函数
callback:function(e){switch(e){case 0:return t.$t("dataModel.alarm.Tips");case 1:return t.$t("dataModel.alarm.Minor");case 2:return t.$t("dataModel.alarm.Importance");case 3:return t.$t("dataModel.alarm.Urgency");case 4:return t.$t("dataModel.alarm.Deadly")}}}},json_fields:{},json_meta:[[{" key ":" charset "," value ":" utf- 8 "}]],SelectDateType:"Day",SelectDevice:[],SelectDateRange:"",SelectAlarmData:[],deviceTreeData:[],AlarmDataTree:[],form:this.$form.createForm(this),messageShowLoad:!1,advanced:!0,refIconLoading:!1,columns:[{slotName:"reporting.AlarmHistory.DeviceName",width:"10%",scopedSlots:{customRender:"DeviceName",title:"reporting.AlarmHistory.DeviceName"},dataIndex:"DeviceName"},{width:"10%",slotName:"reporting.AlarmHistory.AlarmName",scopedSlots:{customRender:"AlarmName",title:"reporting.AlarmHistory.AlarmName"},dataIndex:"AlarmName"},{width:"10%",slotName:"dataModel.editData.AlarmMessage",scopedSlots:{customRender:"AlarmMessage",title:"dataModel.editData.AlarmMessage"},dataIndex:"AlarmMessage"},{width:"10%",slotName:"reporting.AlarmHistory.HappenTime",scopedSlots:{customRender:"HappenTime",title:"reporting.AlarmHistory.HappenTime"},dataIndex:"HappenTime"},{width:"5%",slotName:"reporting.AlarmHistory.AlarmLevel",scopedSlots:{customRender:"AlarmLevel",title:"reporting.AlarmHistory.AlarmLevel"},dataIndex:"AlarmLevel"},{slotName:"dataModel.modelTableOpt",width:"10%",scopedSlots:{customRender:"action",title:"dataModel.modelTableOpt"}}],dataSource:[],conditionExpress:"",selectedRows:[]}},authorize:{},mounted:function(){this.getMonitorTree(),this.GetDeviceModelDataList(),"CN"==this.$i18n.locale?this.json_fields=this.json_fields_cn:this.json_fields=this.json_fields_en,this.exportName=this.$t("alarm.current.CurrentAlarmReport")+"."+Object(o.a)(new Date,"yyyy-MM-dd hh:mm:ss")+".xls",this.QueryAlarmList()},activated:function(){},filters:{formatDate:function(t){var e=new Date(t);return Object(o.a)(e,"yyyy-MM-dd hh:mm:ss")}},created:function(){},watch:{$route:function(){this.getMonitorTree()},$i18n:function(){"CN"==this.$i18n.locale?this.json_fields=this.json_fields_cn:this.json_fields=this.json_fields_en,this.exportName=this.$t("alarm.current.CurrentAlarmReport")+"."+Object(o.a)(new Date,"yyyy-MM-dd hh:mm:ss")+".xls"}},methods:{ClearAlarm:function(t){var e=this;e.dataSource=[];var a={type:1,update:{duid:t.DeviceUuid,uuid:t.DataUuid}};this.messageShowLoad=!0,Object(n.g)(a).then((function(t){0==t.data.code?(e.QueryAlarmList(),e.$message.success(e.$t("alarm.current.ClearSuccess"),3)):e.$message.error(e.$t("alarm.current.ClearFailed"),3),e.messageShowLoad=!1})).catch((function(){e.messageShowLoad=!1,e.$message.error(e.$t("loginPage.serverError"),3)}))},ShieldAlarm:function(t,e){var a=this;a.dataSource=[];var r={type:2,update:{duid:t.DeviceUuid,uuid:t.DataUuid,AlarmShield:e}};this.messageShowLoad=!0,Object(n.g)(r).then((function(t){0==t.data.code?(a.QueryAlarmList(),a.$message.success(a.$t("alarm.current.ShieldSuccess"),3)):a.$message.error(a.$t("alarm.current.ShieldFailed"),3),a.messageShowLoad=!1})).catch((function(){a.messageShowLoad=!1,a.$message.error(a.$t("loginPage.serverError"),3)}))},handleSearch:function(t){var e=this;this.valueData=t,t?(this.frontDataZ=[],this.scrollPage=1,this.dataZ.forEach((function(a){a.name.indexOf(t)>=0&&e.frontDataZ.push(a)})),this.allDataZ=this.frontDataZ,this.frontDataZ=this.frontDataZ.slice(0,100)):this.GetDeviceModelDataList()},
//下拉框下滑事件
handlePopupScroll:function(t){var e=t.target,a=e.scrollHeight-e.scrollTop,r=e.clientHeight;
// 下拉框不下拉的时候
if(0===a&&0===r)this.scrollPage=1;else
// 当下拉框滚动条到达底部的时候
if(a<r+5){this.scrollPage=this.scrollPage+1;var n=this.scrollPage,c=this.treePageSize*(n||1),i=[],o="";// 获取当前页
// max 为能展示的数据的最大条数
// 如果总数据的条数大于需要展示的数据
o=this.dataZ.length>c?c:this.dataZ.length,
// 判断是否有搜索
this.valueData?this.allDataZ.forEach((function(t,e){e<o&&
// 当data数组的下标小于max时
i.push(t)})):this.dataZ.forEach((function(t,e){e<o&&
// 当data数组的下标小于max时
i.push(t)})),this.frontDataZ=i}},startDownload:function(){this.isLoadExecl=!0,this.loadExecl=this.$message.loading(this.$t("reporting.DataHistory.LoadingExecl"),0)},finishDownload:function(){this.$message.destroy(this.loadExecl),this.isLoadExecl=!1},filterOption:function(t,e){return e.componentOptions.children[0].text.toLowerCase().indexOf(t.toLowerCase())>=0},SelectTreeDevice:function(t,e,a){this.GetDeviceModelDataList()},GetDeviceModelDataList:function(){var t=this;this.AlarmDataTree=[],t.dataZ=[],t.frontDataZ=[];var e={SelectDevice:this.SelectDevice,getType:1};Object(r.b)(e).then((function(e){if(0==e.data.code){for(var a=0;a<e.data.list.length;a++)if(void 0!==e.data.list[a].DataList&&null!=e.data.list[a].DataList)for(var r=0;r<e.data.list[a].DataList.length;r++)t.dataZ.push(e.data.list[a].DataList[r]),t.AlarmDataTree.push(e.data.list[a].DataList[r]);t.frontDataZ=t.dataZ.slice(0,100)}}))},onDateChange:function(t,e){this.SelectDateRange=e},onWeeklyDateChange:function(t,e){var a=i()(t).day(1).format("YYYY-MM-DD"),r=i()(t).day(7).format("YYYY-MM-DD");// 周一日期
// 周日日期
this.SelectDateRange=[a,r]},getMonitorTree:function(){var t=this;this.deviceTreeData=[],Object(r.j)().then((function(e){0==e.data.code&&(t.deviceTreeData=e.data.list)}))},QueryAlarmList:function(){var t=this;t.dataSource=[];var e={deviceList:this.SelectDevice,dataList:this.SelectAlarmData};this.messageShowLoad=!0,Object(n.e)(e).then((function(e){0==e.data.code&&(t.dataSource=e.data.list),t.messageShowLoad=!1})).catch((function(){t.messageShowLoad=!1,t.$message.error(t.$t("loginPage.serverError"),3)}))}}},l=(a("8f1c"),a("2877")),d=Object(l.a)(u,(function(){var t=this,e=t._self._c;return e("a-card",[e("div",[e("a-form",{attrs:{layout:"horizontal"}},[e("div",{class:t.advanced?null:"fold"},[e("a-row",[e("a-col",{attrs:{md:8,sm:24}},[e("a-form-item",{attrs:{label:t.$t("reporting.AlarmHistory.DeviceList"),labelCol:{span:5},wrapperCol:{span:18,offset:1}}},[e("a-tree-select",{staticStyle:{width:"100%"},attrs:{"show-search":"","tree-node-filter-prop":"title","tree-checkable":"","allow-clear":"","dropdown-style":{maxHeight:"400px",overflow:"auto"},"tree-data":t.deviceTreeData,"replace-fields":{value:"key",title:"text"},placeholder:t.$t("reporting.AlarmHistory.DeviceList"),"tree-default-expand-all":""},on:{change:t.SelectTreeDevice},model:{value:t.SelectDevice,callback:function(e){t.SelectDevice=e},expression:"SelectDevice"}})],1)],1),e("a-col",{attrs:{md:8,sm:24}},[e("a-form-item",{attrs:{label:t.$t("reporting.AlarmHistory.DataList"),labelCol:{span:5},wrapperCol:{span:18,offset:1}}},[e("a-select",{staticStyle:{width:"100%"},attrs:{allowClear:"","show-search":"",optionFilterProp:"children",mode:"multiple","token-separators":[","]},on:{dropdownVisibleChange:t.GetDeviceModelDataList,popupScroll:t.handlePopupScroll,search:t.handleSearch},model:{value:t.SelectAlarmData,callback:function(e){t.SelectAlarmData=e},expression:"SelectAlarmData"}},t._l(t.frontDataZ,(function(a,r){return e("a-select-option",{key:r,attrs:{value:a.uuid}},[t._v(" "+t._s(t.$t(a.name))+" ")])})),1)],1)],1),e("a-col",{attrs:{md:2,sm:24}},[e("span",{staticStyle:{float:"right","margin-top":"3px"}},[e("a-button",{attrs:{disabled:t.messageShowLoad,type:"primary"},on:{click:t.QueryAlarmList}},[t._v(t._s(t.$t("reporting.AlarmHistory.Query")))])],1)]),e("a-col",{attrs:{md:2,sm:24}},[e("span",{staticStyle:{float:"left","margin-top":"3px"}},[e("download-excel",{staticClass:"export-excel-wrapper",attrs:{data:t.dataSource,fields:t.json_fields,name:t.exportName,"before-generate":t.startDownload,"before-finish":t.finishDownload}},[e("a-button",{staticStyle:{"margin-left":"5px"},attrs:{disabled:t.isLoadExecl,type:"default"}},[t._v(t._s(t.$t("reporting.AlarmHistory.Export")))])],1)],1)])],1),e("a-row")],1)])],1),e("a-spin",{staticStyle:{padding:"1px"},attrs:{spinning:t.messageShowLoad,tip:"Loading..."}},[e("a-table",{attrs:{pagination:t.pagination,columns:t.columns,"data-source":t.dataSource,rowKey:"DeviceName"},scopedSlots:t._u([{key:"AlarmName",fn:function(a){return e("span",{},[t._v(" "+t._s(t.$t(a))+" ")])}},{key:"AlarmMessage",fn:function(a){return e("span",{},[t._v(" "+t._s(t.$t(a))+" ")])}},{key:"HappenTime",fn:function(a){return e("span",{},[t._v(" "+t._s(t._f("formatDate")(a))+" ")])}},{key:"ClearTime",fn:function(a){return e("span",{},[t._v(" "+t._s(t._f("formatDate")(a))+" ")])}},{key:"AlarmLevel",fn:function(a){return e("span",{},[0==a?e("a-tag",{staticStyle:{"background-color":"#0099FF"}},[t._v(" "+t._s(t.$t("dataModel.alarm.Tips"))+" ")]):t._e(),1==a?e("a-tag",{staticStyle:{"background-color":"#0099FF"}},[t._v(" "+t._s(t.$t("dataModel.alarm.Minor"))+" ")]):t._e(),2==a?e("a-tag",{staticStyle:{"background-color":"#ffff00"}},[t._v(" "+t._s(t.$t("dataModel.alarm.Importance"))+" ")]):t._e(),3==a?e("a-tag",{staticStyle:{"background-color":"#ffa500"}},[t._v(" "+t._s(t.$t("dataModel.alarm.Urgency"))+" ")]):4==a?e("a-tag",{staticStyle:{"background-color":"#ff0000"}},[t._v(" "+t._s(t.$t("dataModel.alarm.Deadly"))+" ")]):t._e()],1)}},{key:"action",fn:function(a,r){return e("div",{},[e("a",{on:{click:function(e){return t.ClearAlarm(r)}}},[e("icon-font",{attrs:{type:"icon-qingchu"}}),e("span",{staticStyle:{"margin-left":"2px"}},[t._v(t._s(t.$t("alarm.current.Clear")))])],1),t._v(" | "),e("a-popconfirm",{attrs:{title:t.$t("alarm.current.AlarmMaskTips")},on:{confirm:function(e){return t.ShieldAlarm(r,1)}}},[e("a-icon",{staticStyle:{color:"red"},attrs:{slot:"icon",type:"question-circle-o"},slot:"icon"}),e("a",[e("icon-font",{attrs:{type:"icon-DCIMku-erjicaidan-gaojingpingbi"}}),t._v(t._s(t.$t("alarm.current.Shield")))],1)],1)],1)}}])},[t._l(t.columns,(function(a,r){return e("template",{slot:a.slotName},[e("span",{key:r},[t._v(t._s(t.$t(a.slotName)))])])}))],2)],1)],1)}),[],!1,null,null,null)
/* harmony default export */;e.default=d.exports},
/***/e409:
/***/function(t,e,a){
// extracted by mini-css-extract-plugin
/***/}}]);