1 line
1.6 KiB
JavaScript
1 line
1.6 KiB
JavaScript
(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-78b8"],{OT53:function(t,n,e){},"Z8d/":function(t,n,e){"use strict";e.r(n);var a=e("t3Un"),o=function(){return Object(a.a)({url:"/runlog/GetAbnormalLogList",method:"post"})},l=function(t){return Object(a.a)({url:"/runlog/UpdateAbnormalLog",method:"post",data:t})},r={data:function(){return{LogData:[]}},mounted:function(){this.getAbnoramlRecord({})},created:function(){},methods:{getAbnoramlRecord:function(){var t=this;o({type:0}).then(function(n){t.LogData=n.data.data})},HandleAbnormalLog:function(t){var n=this;l({id:t}).then(function(t){n.getAbnoramlRecord()})}}},i=(e("emEv"),e("KHd+")),u=Object(i.a)(r,function(){var t=this,n=t.$createElement,e=t._self._c||n;return e("div",[e("h1",{staticClass:"title"}),t._v(" "),e("el-table",{staticStyle:{width:"100%","margin-left":"50px"},attrs:{data:t.LogData,border:"",fit:"","highlight-current-row":""}},[e("el-table-column",{attrs:{prop:"id",label:"ID",width:"180"}}),t._v(" "),e("el-table-column",{attrs:{prop:"type",label:"异常类型",width:"180"}}),t._v(" "),e("el-table-column",{attrs:{prop:"content",label:"日志内容",width:"600"}}),t._v(" "),e("el-table-column",{attrs:{prop:"createtime",label:"故障时间",width:"250"}}),t._v(" "),e("el-table-column",{attrs:{label:"操作",width:"100"},scopedSlots:t._u([{key:"default",fn:function(n){return[e("el-button",{on:{click:function(e){t.HandleAbnormalLog(n.row.id)}}},[t._v(" 处理 ")])]}}])})],1)],1)},[],!1,null,null,null);u.options.__file="abnormal.vue";n.default=u.exports},emEv:function(t,n,e){"use strict";var a=e("OT53");e.n(a).a}}]); |