(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-fa27c6ca"],{"19b9":function(t,e,a){},"19c7":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",[a("div",{staticClass:"tableDiv"},[a("el-table",{staticStyle:{width:"100%"},attrs:{data:t.tableData},on:{"expand-change":t.expandChange}},[a("el-table-column",{attrs:{label:"ID",prop:"monitorpointId"}}),a("el-table-column",{attrs:{label:"监测点名称",prop:"monitorstationId_name"}}),a("el-table-column",{attrs:{type:"expand",label:"查看通道",width:"150"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("el-tabs",{attrs:{type:"card"},on:{"tab-click":t.handleClick},model:{value:t.activeName,callback:function(e){t.activeName=e},expression:"activeName"}},[a("el-tab-pane",{attrs:{label:"扫描通道",name:"first"}},[a("el-table",{attrs:{data:t.showFirst,"show-header":!1}},[a("el-table-column",{attrs:{label:"channelId",prop:"channelId"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",[t._v(" "+t._s(t._f("formatChannelId")(e.row.channelId))+" ")])]}}],null,!0)}),a("el-table-column",{attrs:{label:"STATUS",prop:"STATUS"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",[t._v(" "+t._s(t._f("formatSTATUS")(e.row.STATUS))+" ")])]}}],null,!0)}),a("el-table-column",{attrs:{label:"frequencyValue",prop:"frequencyValue"}}),a("el-table-column",{attrs:{label:"start_time",prop:"start_time"}}),a("el-table-column",{attrs:{label:"stop_time",prop:"stop_time"}}),a("el-table-column",{attrs:{label:"操作"},scopedSlots:t._u([{key:"default",fn:function(t){return[a("div",[a("i",{staticClass:"el-icon-video-play"}),a("i",{staticClass:"el-icon-video-pause"})])]}}],null,!0)})],1)],1),a("el-tab-pane",{attrs:{label:"频率清单",name:"second"}},[a("el-table",{attrs:{data:t.showSecond}},[a("el-table-column",{attrs:{label:"频率",prop:"frequencyValue"}}),a("el-table-column",{attrs:{label:"类型"}}),a("el-table-column",{attrs:{label:"信号",prop:"level"}})],1)],1)],1)]}}])}),a("el-table-column",{attrs:{label:"录音回放"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",[a("el-button",{attrs:{size:"mini",type:"success"},on:{click:function(a){return t.lookBack(e)}}},[t._v("回放")])],1)]}}])})],1)],1)])},o=[],l=(a("d3b7"),a("3ca3"),a("ddb0"),a("2b3d"),{filters:{formatChannelId:function(t){return console.log(t),1==t?"监听通道":"录制通道"},formatSTATUS:function(t){return"1"==t?"正在录制":"0"==t?"停止录制":void 0}},data:function(){return{tableData:[],activeName:"first",showFirst:[],showSecond:[]}},mounted:function(){this.getInfo()},methods:{getInfo:function(){var t=this,e=new URLSearchParams;e.append("method","searchByPage"),e.append("type",1),e.append("key",10010),e.append("iDisplayStart",0),e.append("iDisplayLength",1e5),this.$getJSON("http://wiibox.xicp.io:19868/FRP/TMonitorpointInfo.do",e).then((function(e){console.log(e),t.tableData=e.aaData}))},lookBack:function(t){},handleClick:function(t,e){console.log(t,e)},expandChange:function(t,e){var a=this,n=new URLSearchParams;n.append("bid","getCurrPointFreqs"),n.append("monitorpointId",t.monitorpointId),this.$getJSON("http://wiibox.xicp.io:8484/dataservice/getNoTokenData",n).then((function(t){console.log(t),a.showSecond=t.data.data[0],console.log(a.showSecond)}));var o=new URLSearchParams;o.append("bid","getChannelRecord"),o.append("monitorpointId",t.monitorpointId),this.$getJSON("http://wiibox.xicp.io:8484/dataservice/getNoTokenData",o).then((function(t){console.log(t),a.showFirst=t.data.data[0],console.log(a.showFirst)}))}}}),i=l,s=(a("77d3"),a("2877")),c=Object(s["a"])(i,n,o,!1,null,null,null);e["default"]=c.exports},"77d3":function(t,e,a){"use strict";a("19b9")}}]); //# sourceMappingURL=chunk-fa27c6ca.3e2fbf8a.js.map