(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-3692c002"],{"39ae":function(t,e,a){"use strict";a("d92b")},"7cf8":function(t,e,a){"use strict";a.d(e,"b",(function(){return r})),a.d(e,"c",(function(){return o})),a.d(e,"a",(function(){return s})),a.d(e,"d",(function(){return i})),a.d(e,"e",(function(){return c})),a.d(e,"g",(function(){return l})),a.d(e,"f",(function(){return u}));var n=a("b775");function r(t){return Object(n["a"])({url:"/system/monitor/pageList",method:"post",data:t})}function o(t){return Object(n["a"])({url:"/system/monitor/list",method:"get",data:t})}function s(t){return Object(n["a"])({url:"/system/monitor/".concat(t),method:"get"})}function i(t){return Object(n["a"])({url:"/system/monitor/add",method:"post",data:t})}function c(t){return Object(n["a"])({url:"/system/monitor/getSecret",method:"get",data:t})}function l(t){return Object(n["a"])({url:"/system/monitor/update",method:"post",data:t})}function u(t){return Object(n["a"])({url:"/system/monitor/delete/".concat(t),method:"get"})}},b07d:function(t,e,a){"use strict";a.r(e);var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"dashboard-container"},[a("div",{staticClass:"search-content"},[a("el-select",{staticStyle:{width:"220px","margin-right":"20px"},attrs:{placeholder:"请选择监测系统名称",filterable:"",clearable:""},model:{value:t.searchData.monitorSystemName,callback:function(e){t.$set(t.searchData,"monitorSystemName",e)},expression:"searchData.monitorSystemName"}},t._l(t.monitorNameData,(function(t){return a("el-option",{key:t.monitorSystemName,attrs:{label:t.monitorSystemName,value:t.monitorSystemName}})})),1),a("el-select",{staticStyle:{width:"220px"},attrs:{clearable:"",placeholder:"请选择状态"},model:{value:t.searchData.status,callback:function(e){t.$set(t.searchData,"status",e)},expression:"searchData.status"}},[a("el-option",{attrs:{label:"在线",value:"1"}}),a("el-option",{attrs:{label:"离线",value:"2"}})],1),a("div",{staticClass:"search-btn"},[a("div",{staticClass:"search",on:{click:function(e){return t.searchBtn()}}},[t._v("查询")]),a("div",{staticClass:"reset",on:{click:function(e){return t.reset()}}},[t._v("重置")])])],1),a("div",{staticClass:"table-content"},[a("div",{staticStyle:{width:"100%",height:"30px"}},[a("div",{staticClass:"btn",staticStyle:{"margin-right":"-3px"},on:{click:function(e){return t.reset()}}},[t._v("刷新")])]),a("el-table",{ref:"multipleTable",staticStyle:{width:"100%"},attrs:{data:t.tableData,"tooltip-effect":"dark"}},[a("el-table-column",{attrs:{type:"index",label:"序号",width:"80"}}),a("el-table-column",{attrs:{prop:"monitorSystemName",label:"监测系统名称"}}),a("el-table-column",{attrs:{prop:"statusName",label:"状态"},scopedSlots:t._u([{key:"default",fn:function(e){return["未联通"==e.row.statusName?a("span",{staticStyle:{color:"red"}},[t._v("离线")]):a("span",[t._v("在线")])]}}])}),a("el-table-column",{attrs:{label:"报警数量"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",{staticStyle:{color:"blue",cursor:"pointer"},on:{click:function(a){return t.toAlarmList(e.row,"")}}},[t._v(t._s(e.row.countAll||0))])]}}])}),a("el-table-column",{attrs:{label:"未解除报警总数"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",{staticStyle:{color:"blue",cursor:"pointer"},on:{click:function(a){return t.toAlarmList(e.row,"2")}}},[t._v(t._s(e.row.failureToReport||0))])]}}])}),a("el-table-column",{attrs:{prop:"turnOnTime",label:"最近接入时间",width:"300px"}})],1),a("div",{staticClass:"pagination"},[a("el-pagination",{attrs:{"page-sizes":[10,15,20],"page-size":t.searchData.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:t.total},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}})],1)],1)])},r=[],o=(a("14d9"),a("b7e8")),s=a("7cf8"),i={name:"monitoringSystemMonitoring",data:function(){return{tableData:[],total:0,searchData:{pageNum:1,pageSize:10,monitorSystemName:"",status:""},monitorNameData:[]}},created:function(){this.getList(this.searchData),this.getMonitoreName()},methods:{getMonitoreName:function(){var t=this,e={};Object(s["c"])(e).then((function(e){t.monitorNameData=e.data}))},getList:function(t){var e=this;Object(o["a"])(t).then((function(t){200==t.code&&(e.tableData=t.data.records,e.total=t.data.total)}))},searchBtn:function(){this.searchData.pageNum=1,this.getList(this.searchData)},reset:function(){this.searchData={pageNum:1,pageSize:10,monitorSystemName:"",status:""},this.getList(this.searchData)},handleSizeChange:function(t){this.searchData.pageSize=t,this.getList(this.searchData)},handleCurrentChange:function(t){this.searchData.pageNum=t,this.getList(this.searchData)},toAlarmList:function(t,e){this.$router.push({name:"List",params:{pageNum:1,pageSize:10,source:t.clientId,isLock:e}})}}},c=i,l=(a("39ae"),a("2877")),u=Object(l["a"])(c,n,r,!1,null,"809cc838",null);e["default"]=u.exports},b7e8:function(t,e,a){"use strict";a.d(e,"b",(function(){return r})),a.d(e,"a",(function(){return o}));var n=a("b775");function r(t){return Object(n["a"])({method:"post",url:"/monitor/vehicleposition/vehiclePositionPage",data:t})}function o(t){return Object(n["a"])({method:"post",url:"/system/monitor/monitorSystemPage",data:t})}},d92b:function(t,e,a){}}]);