(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-321e30df"],{"129f":function(e,t){e.exports=Object.is||function(e,t){return e===t?0!==e||1/e===1/t:e!=e&&t!=t}},"3aef":function(e,t,a){"use strict";a.d(t,"a",(function(){return i}));var i=[{id:1,name:"合法电台",color:"#43FD87"},{id:2,name:"区域非法",color:"#F6EE55"},{id:3,name:"时间非法",color:"#1296DB"},{id:4,name:"频率非法",color:"#DC24F6"},{id:5,name:"内容非法",color:"#F64D3B"}]},7e3:function(e,t,a){"use strict";a.r(t);var i=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("el-row",[a("el-col",{staticStyle:{height:"45px","text-align":"left","margin-top":"20px",display:"flex"},attrs:{span:24}},[a("el-radio-group",{staticStyle:{"margin-right":"15px"},model:{value:e.type,callback:function(t){e.type=t},expression:"type"}},[a("el-radio-button",{attrs:{label:"时间段"}}),a("el-radio-button",{attrs:{label:"单日"}}),a("el-radio-button",{attrs:{label:"单月"}}),a("el-radio-button",{attrs:{label:"年度"}})],1),a("span",{staticStyle:{"margin-right":"15px"}},[a("el-date-picker",{staticStyle:{width:"130px"},attrs:{type:"时间段"==e.type?"date":"单月"==e.type?"month":"年度"==e.type?"year":"date",placeholder:"时间段"==e.type?"选择日期":"单月"==e.type?"选择月份":"年度"==e.type?"选择年份":"选择日期",clearable:""},model:{value:e.search.valueDay,callback:function(t){e.$set(e.search,"valueDay",t)},expression:"search.valueDay"}})],1),a("span",{directives:[{name:"show",rawName:"v-show",value:"时间段"==e.type,expression:"type == '时间段'"}],staticStyle:{"margin-right":"15px"}},[a("el-time-select",{staticStyle:{width:"130px"},attrs:{"picker-options":{start:"00:00",step:"00:30",end:"23:30"},placeholder:"选择时间",clearable:""},model:{value:e.search.valueTime,callback:function(t){e.$set(e.search,"valueTime",t)},expression:"search.valueTime"}})],1),a("el-input",{staticStyle:{"margin-right":"15px",width:"130px"},attrs:{placeholder:"查询广播","suffix-icon":"el-icon-service"},model:{value:e.search.search_fm,callback:function(t){e.$set(e.search,"search_fm",t)},expression:"search.search_fm"}}),a("el-select",{staticStyle:{"margin-right":"15px"},attrs:{placeholder:"请选择"},on:{change:e.handleChange},model:{value:e.determine,callback:function(t){e.determine=t},expression:"determine"}},e._l(e.options,(function(e){return a("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),1),a("div",{staticStyle:{width:"30%",display:"flex"}},[a("span",{staticStyle:{width:"100px","line-height":"28px"}},[e._v("录音方式:")]),a("el-select",{attrs:{placeholder:"请选择录音方式"},model:{value:e.isUnderWayValue,callback:function(t){e.isUnderWayValue=t},expression:"isUnderWayValue"}},[a("el-option",{attrs:{label:"定时录制",value:"0"}}),a("el-option",{attrs:{label:"监听录制",value:"3"}}),a("el-option",{attrs:{label:"采样录制",value:"4"}})],1)],1)],1),a("el-col",{staticClass:"Device",staticStyle:{"margin-top":"30px"},attrs:{span:24}},[a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],staticClass:"detailTable",attrs:{data:e.tableData,height:e.tableH,stripe:"",size:"small"}},[a("el-table-column",{attrs:{label:"monitorpointId",prop:"monitorpointId"}}),a("el-table-column",{attrs:{label:"monitorpointName",prop:"monitorpointName"}}),a("el-table-column",{attrs:{label:"frequency",prop:"frequency"}}),a("el-table-column",{attrs:{label:"startTime",prop:"startTime"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(" "+e._s(e.dateFormatter(new Date(t.row.startTime)))+" ")]}}])}),a("el-table-column",{attrs:{label:"stopTime",prop:"stopTime"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(" "+e._s(e.dateFormatter(new Date(t.row.stopTime)))+" ")]}}])}),a("el-table-column",{attrs:{label:"recordStatus",prop:"recordStatus"}}),a("el-table-column",{attrs:{label:"操作"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",[a("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:"点击回放",placement:"top"}},[a("i",{staticClass:"el-icon-refresh-right",on:{click:function(a){return e.rePlay(t)}}})])],1)]}}])})],1)],1),a("el-col",{staticStyle:{"margin-top":"5px"},attrs:{span:24}},[a("el-pagination",{attrs:{"current-page":e.pageNo,"page-sizes":[10,20,30,50],"page-size":e.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:e.totalCount},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}})],1)],1),a("el-dialog",{attrs:{visible:e.socketPlay,width:"50"},on:{"update:visible":function(t){e.socketPlay=t},close:e.socketReplay}},[a("video",{ref:"socketVidoPlay",attrs:{id:"socketVidoPlay",src:"",controls:"",preload:"",width:"100%",height:"300"}})])],1)},n=[],r=a("ade3"),o=(a("d3b7"),a("3ca3"),a("ddb0"),a("2b3d"),a("159b"),a("ac1f"),a("841c"),a("1276"),a("a9e3"),a("3aef")),l={watch:{isUnderWayValue:{handler:function(e,t){var a=this;this.timer&&clearTimeout(this.timer),this.timer=setTimeout((function(){a.getData()}),300)},deep:!0},search:{handler:function(e,t){var a=this;this.timer&&clearTimeout(this.timer),this.timer=setTimeout((function(){a.getData()}),300)},deep:!0},determine:{handler:function(e,t){var a=this;this.timer&&clearTimeout(this.timer),this.timer=setTimeout((function(){a.getData()}),500)},deep:!0},type:{handler:function(e,t){var a=this;this.timer&&clearTimeout(this.timer),this.timer=setTimeout((function(){a.getData()}),500)},deep:!0}},data:function(){var e;return e={isUnderWayValue:"0",playVideo:null,socketPlay:!1,tableH:0,timer:null,totalCount:100,pageNo:1,pageSize:10,tableData:[]},Object(r["a"])(e,"tableH",null),Object(r["a"])(e,"otherAct",[{item:"查看所有",id:"",type:"primary"}]),Object(r["a"])(e,"type","年度"),Object(r["a"])(e,"options",[]),Object(r["a"])(e,"queryParams",{page:1,size:10,VF:"",table:"t_fm_scan_timestamp"}),Object(r["a"])(e,"determine",""),Object(r["a"])(e,"search",{valueTime:(new Date).getHours()+":00",valueDay:new Date,search_fm:""}),Object(r["a"])(e,"loading",!1),Object(r["a"])(e,"colors",o["a"]),Object(r["a"])(e,"color",[{color:"#9D96F5",percentage:10},{color:"#FF9F7F",percentage:20},{color:"#FB7293",percentage:30},{color:"#37A2DA",percentage:40},{color:"#67E0E3",percentage:50},{color:"#9FE6B8",percentage:60},{color:"#E690D1",percentage:80},{color:"#E7BCF3",percentage:100}]),e},mounted:function(){this.tableH=window.innerHeight-135,this.getData()},methods:{dateFormatter:function(e){if(e){var t=e.getFullYear(),a=e.getMonth()+1,i=e.getDate(),n=e.getHours(),r=e.getMinutes(),o=e.getSeconds();return this.add0(t)+"-"+this.add0(a)+"-"+this.add0(i)+" "+this.add0(n)+":"+this.add0(r)+":"+this.add0(o)}return 0},socketReplay:function(){this.playVideo&&(this.playVideo.pause(),this.playVideo=null)},rePlay:function(e){var t=this;if(e.row.stopTime){var a=this.dateFormatter(new Date(new Date(e.row.startTime).getTime())),i=this.dateFormatter(new Date(new Date(e.row.stopTime).getTime()+108e5)),n=new URLSearchParams;n.append("method","mutipleReview"),n.append("instruct",1),n.append("playType",1),n.append("hls",1),n.append("key",123456),n.append("monitorpointId",e.row.monitorpointId),n.append("frequencyValue",e.row.frequency),n.append("startTime",a),n.append("endTime",i),this.$post("http://wiibox.xicp.io:19868/FRP/NetRequest.do",n).then((function(e){if("true"==e.success)if(t.socketPlay=!0,t.playVideo=t.$refs.socketVidoPlay,Hls.isSupported()){var a=new Hls;a.loadSource(e.url),a.attachMedia(t.playVideo),a.on(Hls.Events.MANIFEST_PARSED,(function(){this.playVideo.play()}))}else t.playVideo.canPlayType("application/vnd.apple.mpegurl")&&(t.playVideo.src=e.url,t.playVideo.addEventListener("loadedmetadata",(function(){this.playVideo.play()})));else t.$message.error(e.msg)}))}else this.$message.warning("尚未有回放")},handleSizeChange:function(e){this.pageSize=e,this.getData()},handleCurrentChange:function(e){this.pageNo=e,this.getData()},getOptions:function(){var e=this;this.$getJSON("http://wiibox.xicp.io:8484/dataservice/getNoTokenData?bid=getChannelSettingB").then((function(t){e.options=[];var a=t.data.data[0];a.forEach((function(t){var a={value:t.monitorpointId,label:t.monitorpointName};e.options.push(a)}))}))},handleChange:function(e){this.queryParams.determine=e},getData:function(){var e=this;this.loading=!0;var t=this.formatType(this.type),a=""==this.search.valueDay?"2021":this.formatDate(this.search.valueDay),i="时间段"==this.type?this.search.valueTime.split(":")[0]:"";this.$getJSON("http://wiibox.xicp.io:8484/dataservice/getNoTokenData",{bid:"getRecordHistory",isUnderWay:this.isUnderWayValue,querymode:t,timevalue1:a,timevalue2:i,monitorpointid:this.determine,frequency:this.search.search_fm,pageno:this.pageNo,pagesize:this.pageSize}).then((function(t){console.log(t),e.loading=!1,e.tableData=t.data.data[0],e.totalCount=Number(t.data.data[1][0].counter)}))},formatType:function(e){return"时间段"==e?"time":"单日"==e?"day":"单月"==e?"month":"年度"==e?"year":void 0},formatDate:function(e){if(e){var t=e.getFullYear(),a=e.getMonth()+1,i=e.getDate();return"年度"==this.type?t:"单月"==this.type?t+"-"+this.add0(a):"单日"==this.type||"时间段"==this.type?t+"-"+this.add0(a)+"-"+this.add0(i):""}},add0:function(e){return e<10?"0"+e:e}}},s=l,c=a("2877"),p=Object(c["a"])(s,i,n,!1,null,null,null);t["default"]=p.exports},"841c":function(e,t,a){"use strict";var i=a("d784"),n=a("825a"),r=a("1d80"),o=a("129f"),l=a("14c3");i("search",(function(e,t,a){return[function(t){var a=r(this),i=void 0==t?void 0:t[e];return void 0!==i?i.call(t,a):new RegExp(t)[e](String(a))},function(e){var i=a(t,this,e);if(i.done)return i.value;var r=n(this),s=String(e),c=r.lastIndex;o(c,0)||(r.lastIndex=0);var p=l(r,s);return o(r.lastIndex,c)||(r.lastIndex=c),null===p?-1:p.index}]}))}}]);
|