text: webpackJsonp([29],{O1Jx:function(t,e){},k3QV:function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=l("lbHh"),i=l.n(a),o={name:"systemList",data:function(){return{list:[],dialogVisible:!1,dialogTitle:"",id:"",callTime_dialog:"",pttOnTime_dialog:"",pttSilentTime_dialog:"",gpsReportInterval_dialog:"",appHeartInterval_dialog:"",audioHeartInterval_dialog:"",tcpListenPort_dialog:"",appVoicePort_dialog:"",bdId_dialog:"",bdListenPort_dialog:"",bdVoicePort_dialog:"",gpsServerPort_dialog:"",dbSynPort_dialog:"",videoRecPath_dialog:"",wavRecPath_dialog:"",videoUrlPrefix_dialog:"",vAGWAddress_dialog:"",vAGWPort_dialog:"",addBtnStatus:!1,updateBtnStatus:!1,checkStatus:!0}},mounted:function(){this.searchList()},methods:{updateSystem:function(){var t=this,e={id:this.id,callTime:this.callTime_dialog,pttOnTime:this.pttOnTime_dialog,pttSilentTime:this.pttSilentTime_dialog,gpsReportInterval:this.gpsReportInterval_dialog,appHeartInterval:this.appHeartInterval_dialog,audioHeartInterval:this.audioHeartInterval_dialog,tcpListenPort:this.tcpListenPort_dialog,appVoicePort:this.appVoicePort_dialog,bdId:this.bdId_dialog,bdListenPort:this.bdListenPort_dialog,bdVoicePort:this.bdVoicePort_dialog,gpsServerPort:this.gpsServerPort_dialog,dbSynPort:this.dbSynPort_dialog,videoRecPath:this.videoRecPath_dialog,wavRecPath:this.wavRecPath_dialog,videoUrlPrefix:this.videoUrlPrefix_dialog,vAGWAddress:this.vAGWAddress_dialog,vAGWPort:this.vAGWPort_dialog};this.$axios.post("system/updateSystem",e).then(function(){t.alertMessage("更新成功"),t.searchList()}).catch(function(e){t.alertMessage("更新失败"+e)}),this.dialogVisible=!1},alertMessage:function(t){var e=this.$createElement;this.$message({message:e("p",null,[e("span",{style:"color: teal"},t)])})},showUpdateDialog:function(t,e){console.log(e),this.dialogTitle="修改",this.id=e.id,this.callTime_dialog=e.callTime,this.pttOnTime_dialog=e.pttOnTime,this.pttSilentTime_dialog=e.pttSilentTime,this.gpsReportInterval_dialog=e.gpsReportInterval,this.appHeartInterval_dialog=e.appHeartInterval,this.audioHeartInterval_dialog=e.audioHeartInterval,this.tcpListenPort_dialog=e.tcpListenPort,this.appVoicePort_dialog=e.appVoicePort,this.bdId_dialog=e.bdId,this.bdListenPort_dialog=e.bdListenPort,this.bdVoicePort_dialog=e.bdVoicePort,this.gpsServerPort_dialog=e.gpsServerPort,this.dbSynPort_dialog=e.dbSynPort,this.videoRecPath_dialog=e.videoRecPath,this.wavRecPath_dialog=e.wavRecPath,this.videoUrlPrefix_dialog=e.videoUrlPrefix,this.vAGWAddress_dialog=e.vAGWAddress,this.vAGWPort_dialog=e.vAGWPort,this.addBtnStatus=!1,this.updateBtnStatus=!0,this.dialogVisible=!0,this.checkStatus=!1},handleClose:function(t){t()},axiosUrl:function(){var t=this;this.$axios.get("system/systemList?start=&limit=&id=").then(function(e){t.list=e.data.data.list}).catch(function(t){console.log(t),i.a.remove("token"),location.reload()})},searchList:function(){this.axiosUrl()}}},s={render:function(){var t=this,e=t.$createElement,l=t._self._c||e;return l("div",[[l("el-table",{staticStyle:{width:"100%"},attrs:{data:t.list}},[l("el-table-column",{attrs:{prop:"callTime",label:"呼叫通话时长"}}),t._v(" "),l("el-table-column",{attrs:{prop:"pttOnTime",label:"ptt on 时长"}}),t._v(" "),l("el-table-column",{attrs:{prop:"pttSilentTime",label:"ptt静默时长"}}),t._v(" "),l("el-table-column",{attrs:{prop:"gpsReportInterval",label:"GPS上报时间间隔"}}),t._v(" "),l("el-table-column",{attrs:{prop:"appHeartInterval",label:"APP用户心跳时间间隔"}}),t._v(" "),l("el-table-column",{attrs:{prop:"audioHeartInterval",label:"语音传输通道建立后心跳间隔"}}),t._v(" "),l("el-table-column",{attrs:{prop:"tcpListenPort",label:"TCP监听端口"}}),t._v(" "),l("el-table-column",{attrs:{prop:"appVoicePort",label:"语音端口"}}),t._v(" "),l("el-table-column",{attrs:{prop:"bdId",label:"本地局向码"}}),t._v(" "),l("el-table-column",{attrs:{prop:"bdListenPort",label:"本地局监听端口"}}),t._v(" "),l("el-table-column",{attrs:{prop:"bdVoicePort",label:"本地局语音端口"}}),t._v(" "),l("el-table-column",{attrs:{prop:"gpsServerPort",label:"GPS服务端口"}}),t._v(" "),l("el-table-column",{attrs:{prop:"dbSynPort",label:"数据库同步端口"}}),t._v(" "),l("el-table-column",{attrs:{prop:"videoRecPath",label:"视频存储路径"}}),t._v(" "),l("el-table-column",{attrs:{prop:"wavRecPath",label:"录音存储路径"}}),t._v(" "),l("el-table-column",{attrs:{prop:"videoUrlPrefix",label:"视频流前缀"}}),t._v(" "),l("el-table-column",{attrs:{prop:"vAGWAddress",label:"视频网关IP地址"}}),t._v(" "),l("el-table-column",{attrs:{prop:"vAGWPort",label:"视频网关监听端口"}}),t._v(" "),l("el-table-column",{attrs:{label:"操作"},scopedSlots:t._u([{key:"default",fn:function(e){return[l("el-button",{attrs:{size:"mini"},on:{click:function(l){return t.showUpdateDialog(e.$index,e.row)}}},[t._v("修改\n          ")]),t._v(" "),l("el-button",{attrs:{size:"mini",type:"danger"},on:{click:function(l){return t.deleteSystem(e.$index,e.row)}}},[t._v("删除\n          ")])]}}])})],1)],t._v(" "),l("el-dialog",{attrs:{title:t.dialogTitle,visible:t.dialogVisible,width:"30%","before-close":t.handleClose},on:{"update:visible":function(e){t.dialogVisible=e}}},[l("el-row",[l("el-col",{attrs:{span:12}},[l("el-input",{staticClass:"dialogInput",attrs:{type:"number",placeholder:"呼叫通话时长",oninput:"if(value.length>11)value=value.slice(0,11);if(value<0)value=0"},model:{value:t.callTime_dialog,callback:function(e){t.callTime_dialog=e},expression:"callTime_dialog"}})],1),t._v(" "),l("el-col",{attrs:{span:12}},[l("el-input",{staticClass:"dialogInput",attrs:{type:"number",placeholder:"PTT on 时长",oninput:"if(value.length>11)value=value.slice(0,11);if(value<0)value=0"},model:{value:t.pttOnTime_dialog,callback:function(e){t.pttOnTime_dialog=e},expression:"pttOnTime_dialog"}})],1)],1),t._v(" "),l("el-row",[l("el-col",{attrs:{span:12}},[l("el-input",{staticClass:"dialogInput",attrs:{type:"number",placeholder:"ptt静默时长",oninput:"if(value.length>11)value=value.slice(0,11);if(value<0)value=0"},model:{value:t.pttSilentTime_dialog,callback:function(e){t.pttSilentTime_dialog=e},expression:"pttSilentTime_dialog"}})],1),t._v(" "),l("el-col",{attrs:{span:12}},[l("el-input",{staticClass:"dialogInput",attrs:{type:"number",placeholder:"GPS上报时间间隔",oninput:"if(value.length>11)value=value.slice(0,11);if(value<0)value=0"},model:{value:t.gpsReportInterval_dialog,callback:function(e){t.gpsReportInterval_dialog=e},expression:"gpsReportInterval_dialog"}})],1)],1),t._v(" "),l("el-row",[l("el-col",{attrs:{span:12}},[l("el-input",{staticClass:"dialogInput",attrs:{type:"number",placeholder:"APP用户心跳时间间隔",oninput:"if(value.length>11)value=value.slice(0,11);if(value<0)value=0"},model:{value:t.appHeartInterval_dialog,callback:function(e){t.appHeartInterval_dialog=e},expression:"appHeartInterval_dialog"}})],1),t._v(" "),l("el-col",{attrs:{span:12}},[l("el-input",{staticClass:"dialogInput",attrs:{type:"number",placeholder:"语音传输建立后心跳间隔",oninput:"if(value.length>11)value=value.slice(0,11);if(value<0)value=0"},model:{value:t.audioHeartInterval_dialog,callback:function(e){t.audioHeartInterval_dialog=e},expression:"audioHeartInterval_dialog"}})],1)],1),t._v(" "),l("el-row",[l("el-col",{attrs:{span:12}},[l("el-input",{staticClass:"dialogInput",attrs:{type:"number",placeholder:"TCP监听端口",oninput:"if(value.length>11)value=value.slice(0,11);if(value<0)value=0"},model:{value:t.tcpListenPort_dialog,callback:function(e){t.tcpListenPort_dialog=e},expression:"tcpListenPort_dialog"}})],1),t._v(" "),l("el-col",{attrs:{span:12}},[l("el-input",{staticClass:"dialogInput",attrs:{type:"number",placeholder:"语音端口",oninput:"if(value.length>11)value=value.slice(0,11);if(value<0)value=0"},model:{value:t.appVoicePort_dialog,callback:function(e){t.appVoicePort_dialog=e},expression:"appVoicePort_dialog"}})],1)],1),t._v(" "),l("el-row",[l("el-col",{attrs:{span:12}},[l("el-input",{staticClass:"dialogInput",attrs:{type:"text",placeholder:"本地局向码",maxlength:"30","show-word-limit":""},model:{value:t.bdId_dialog,callback:function(e){t.bdId_dialog=e},expression:"bdId_dialog"}})],1),t._v(" "),l("el-col",{attrs:{span:12}},[l("el-input",{staticClass:"dialogInput",attrs:{type:"number",placeholder:"本地局监听端口",oninput:"if(value.length>11)value=value.slice(0,11);if(value<0)value=0"},model:{value:t.bdListenPort_dialog,callback:function(e){t.bdListenPort_dialog=e},expression:"bdListenPort_dialog"}})],1)],1),t._v(" "),l("el-row",[l("el-col",{attrs:{span:12}},[l("el-input",{staticClass:"dialogInput",attrs:{type:"number",placeholder:"本地局语音端口",oninput:"if(value.length>11)value=value.slice(0,11);if(value<0)value=0"},model:{value:t.bdVoicePort_dialog,callback:function(e){t.bdVoicePort_dialog=e},expression:"bdVoicePort_dialog"}})],1),t._v(" "),l("el-col",{attrs:{span:12}},[l("el-input",{staticClass:"dialogInput",attrs:{type:"number",placeholder:"GPS服务端口",oninput:"if(value.length>11)value=value.slice(0,11);if(value<0)value=0"},model:{value:t.gpsServerPort_dialog,callback:function(e){t.gpsServerPort_dialog=e},expression:"gpsServerPort_dialog"}})],1)],1),t._v(" "),l("el-row",[l("el-col",{attrs:{span:12}},[l("el-input",{staticClass:"dialogInput",attrs:{type:"number",placeholder:"数据库同步端口",oninput:"if(value.length>11)value=value.slice(0,11);if(value<0)value=0"},model:{value:t.dbSynPort_dialog,callback:function(e){t.dbSynPort_dialog=e},expression:"dbSynPort_dialog"}})],1),t._v(" "),l("el-col",{attrs:{span:12}},[l("el-input",{staticClass:"dialogInput",attrs:{type:"text",placeholder:"视频存储路径",maxlength:"256","show-word-limit":""},model:{value:t.videoRecPath_dialog,callback:function(e){t.videoRecPath_dialog=e},expression:"videoRecPath_dialog"}})],1)],1),t._v(" "),l("el-row",[l("el-col",{attrs:{span:12}},[l("el-input",{staticClass:"dialogInput",attrs:{type:"text",placeholder:"录音存储路径",maxlength:"256","show-word-limit":""},model:{value:t.wavRecPath_dialog,callback:function(e){t.wavRecPath_dialog=e},expression:"wavRecPath_dialog"}})],1),t._v(" "),l("el-col",{attrs:{span:12}},[l("el-input",{staticClass:"dialogInput",attrs:{type:"text",placeholder:"视频流前缀",maxlength:"256","show-word-limit":""},model:{value:t.videoUrlPrefix_dialog,callback:function(e){t.videoUrlPrefix_dialog=e},expression:"videoUrlPrefix_dialog"}})],1)],1),t._v(" "),l("el-row",[l("el-col",{attrs:{span:12}},[l("el-input",{staticClass:"dialogInput",attrs:{type:"text",placeholder:"视频网关IP地址",maxlength:"40","show-word-limit":""},model:{value:t.vAGWAddress_dialog,callback:function(e){t.vAGWAddress_dialog=e},expression:"vAGWAddress_dialog"}})],1),t._v(" "),l("el-col",{attrs:{span:12}},[l("el-input",{staticClass:"dialogInput",attrs:{type:"number",placeholder:"视频网关监听端口",oninput:"if(value.length>11)value=value.slice(0,11);if(value<0)value=0"},model:{value:t.vAGWPort_dialog,callback:function(e){t.vAGWPort_dialog=e},expression:"vAGWPort_dialog"}})],1)],1),t._v(" "),l("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[l("el-button",{on:{click:function(e){t.dialogVisible=!1}}},[t._v("取 消")]),t._v(" "),l("el-button",{directives:[{name:"show",rawName:"v-show",value:t.updateBtnStatus,expression:"updateBtnStatus"}],attrs:{type:"primary",disabled:t.checkStatus},on:{click:t.updateSystem}},[t._v("更 新")])],1)],1)],2)},staticRenderFns:[]};var r=l("VU/8")(o,s,!1,function(t){l("O1Jx")},"data-v-1e3315e1",null);e.default=r.exports}});
  //# sourceMappingURL=29.798ec2a484aa6dc272ac.js.map