(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["8686b74e"],{7604:function(e,t,a){"use strict";var n=a("e686"),l=a.n(n);l.a},e686:function(e,t,a){},e76f:function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"message part full-height page-content"},[a("q-table",{staticClass:"scroll myTable-line",attrs:{data:e.tableData,columns:e.columns,"row-key":"id",loading:e.tableLoading,"table-style":"max-height: 708px","hide-bottom":"",pagination:{rowsPerPage:0},"no-data-label":"暂无数据"},scopedSlots:e._u([{key:"body",fn:function(t){return[a("q-tr",{attrs:{props:t}},[a("q-td",{key:"type",attrs:{props:t}},[a("span",{staticClass:"round",style:{"background-color":e.eventColor[t.row.type]}}),e._v("\r\n          "+e._s(e.eventExplain[t.row.type])+"\r\n        ")]),a("q-td",{key:"device",attrs:{props:t}},[e._v(e._s(t.row.device))]),a("q-td",{key:"time",attrs:{props:t}},[e._v(e._s(t.row.time))])],1)]}}])})],1)},l=[],i={name:"message",data:function(){return{tableLoading:!1,tableData:[],columns:[{name:"type",align:"left",label:"状态类型",field:"type",check:!0},{name:"device",align:"left",label:"设备",field:"device",check:!0},{name:"time",align:"left",label:"发生时间",field:"time",check:!0}],eventColor:{process:"#18D77F",stop:"#FF8559",break:"#999999",offLine:"#666666",alert:"#E43434",changeLine:"#AC70F2",fault:"#F7B82D",repair:"#44D8C6"},eventExplain:{process:"加工",stop:"停机",break:"断开",offLine:"离线",alert:"报警",changeLine:"换线",fault:"故障",repair:"维修"}}},created:function(){this.getData()},methods:{getData:function(){this.tableData=[{type:"alert",device:"设备(123456)",time:"2019-12-10 15:50:28"},{type:"alert",device:"设备(123456)",time:"2019-12-10 15:50:28"}]}}},s=i,o=(a("7604"),a("2877")),r=Object(o["a"])(s,n,l,!1,null,"64841d59",null);t["default"]=r.exports}}]);