3.22ee00ae2a8a6d3a4bb6.js 30 KB

12
  1. webpackJsonp([3],{"/TW5":function(e,t){},"23yR":function(e,t){},"6mDz":function(e,t){},FVMa:function(e,t){},ZPwd:function(e,t){},a7co:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var l=a("l/JR"),s=a("t4zo"),r=a.n(s),i=a("uXZL"),n=a.n(i),o={props:["dialogVisibledele","deleContent","alarList"],data:function(){return{isWidth:"31.3%",butName:"删除",butNames:"取消"}},methods:{handleClose:function(){this.$emit("delepop")},elearm:function(){var e=this;"告警"===this.deleContent.type?Object(l.u)(this.alarList).then(function(t){1==t.resultCode?(e.$message({message:t.resultMsg,type:"success"}),e.$emit("delepop")):e.$message.error(t.resultMsg)}):"订单"===this.deleContent.type?Object(l.T)(this.alarList).then(function(t){1==t.resultCode?(e.$message({message:t.resultMsg,type:"success"}),e.$emit("delepop")):e.$message.error(t.resultMsg)}):"标签"===this.deleContent.type?Object(l.I)(this.alarList).then(function(t){1==t.resultCode?(e.$message({message:t.resultMsg,type:"success"}),e.$emit("delepop")):e.$message.error(t.resultMsg)}):"网络"===this.deleContent.type&&Object(l.P)(this.alarList).then(function(t){1==t.resultCode?(e.$message({message:t.resultMsg,type:"success"}),e.$emit("delepop")):e.$message.error(t.resultMsg)})}}},d={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"delepop"},[a("el-dialog",{attrs:{title:"",visible:e.dialogVisibledele,"modal-append-to-body":!1,"before-close":e.handleClose,width:e.isWidth},on:{"update:visible":function(t){e.dialogVisibledele=t}}},[a("div",{staticClass:"deletepopup_header"},[a("div",{staticClass:"left"},[a("p",[e._v(e._s(e.deleContent.name))])])]),e._v(" "),a("div",{staticClass:"deletepopup_cont"},[e._v("\n "+e._s(e.deleContent.cont)+"\n ")]),e._v(" "),a("div",{staticClass:"footer"},[a("el-button",{staticClass:"delebut",on:{click:e.elearm}},[e._v("\n "+e._s(e.butName)+"\n ")]),e._v(" "),a("el-button",{staticClass:"elebuts",on:{click:e.handleClose}},[e._v("\n "+e._s(e.butNames)+"\n ")])],1)])],1)},staticRenderFns:[]};var u={props:["dialogVisibledarm","listdata"],data:function(){return{isWidth:"43%",butName:"保存",butNames:"取消",form:{tagname:null,source:null,alarm_position:null,alarm_content:null,handle_methode:null},rules:{tagname:[{required:!0,message:"请输入标签",trigger:"blur"}],source:[{required:!0,message:"请输入来源",trigger:"blur"}],alarm_position:[{required:!0,message:"请输入告警位置",trigger:"blur"}],alarm_content:[{required:!0,message:"请输入告警内容",trigger:"blur"}],handle_methode:[{required:!0,message:"请输入处理方法",trigger:"blur"}]}}},watch:{listdata:function(){this.listdata.list&&(this.form=this.listdata.list)}},methods:{handleClose:function(){this.form={tagname:null,source:null,alarm_position:null,alarm_content:null,handle_methode:null},this.$emit("arlem")},elearm:function(){var e=this;this.$refs.form.validate(function(t){if(!t)return!1;e.form.tagname=e.form.tagname.replace(/\s*/g,""),e.form.source=e.form.source.replace(/\s*/g,""),e.form.alarm_position=e.form.alarm_position.replace(/\s*/g,""),e.form.alarm_content=e.form.alarm_content.replace(/\s*/g,""),e.form.handle_methode=e.form.handle_methode.replace(/\s*/g,""),0==e.listdata.type?Object(l.t)(e.form).then(function(t){1==t.resultCode?(e.$message({message:t.resultMsg,type:"success"}),e.form={tagname:null,source:null,alarm_position:null,alarm_content:null,handle_methode:null},e.$emit("arlem")):e.$message.error(t.resultMsg)}):Object(l.v)(e.form).then(function(t){1==t.resultCode?(e.$message({message:t.resultMsg,type:"success"}),e.form={tagname:null,source:null,alarm_position:null,alarm_content:null,handle_methode:null},e.$emit("arlem")):e.$message.error(t.resultMsg)})})}}},c={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"alarmConfigpop"},[a("el-dialog",{attrs:{title:"",visible:e.dialogVisibledarm,"modal-append-to-body":!1,"before-close":e.handleClose,width:e.isWidth},on:{"update:visible":function(t){e.dialogVisibledarm=t}}},[a("div",{staticClass:"strategyaddpop_header"},[a("div",{staticClass:"left"},[a("p",[e._v(e._s(e.listdata.name))])])]),e._v(" "),a("el-form",{ref:"form",attrs:{model:e.form,rules:e.rules,"label-width":"110px",size:"small "}},[a("el-row",{attrs:{gutter:24}},[a("el-col",{attrs:{span:12}},[a("el-form-item",{attrs:{label:"标签",prop:"tagname"}},[a("el-input",{attrs:{placeholder:"请输入标签(必填)"},model:{value:e.form.tagname,callback:function(t){e.$set(e.form,"tagname",t)},expression:"form.tagname"}})],1)],1),e._v(" "),a("el-col",{attrs:{span:12}},[a("el-form-item",{attrs:{label:"来源",prop:"source"}},[a("el-input",{attrs:{placeholder:"请输入来源(必填)"},model:{value:e.form.source,callback:function(t){e.$set(e.form,"source",t)},expression:"form.source"}})],1)],1)],1),e._v(" "),a("el-row",{attrs:{gutter:24}},[a("el-col",{attrs:{span:12}},[a("el-form-item",{attrs:{label:"告警位置",prop:"alarm_position"}},[a("el-input",{attrs:{placeholder:"请输入告警位置(必填)"},model:{value:e.form.alarm_position,callback:function(t){e.$set(e.form,"alarm_position",t)},expression:"form.alarm_position"}})],1)],1),e._v(" "),a("el-col",{attrs:{span:12}},[a("el-form-item",{attrs:{label:"告警内容",prop:"alarm_content"}},[a("el-input",{attrs:{placeholder:"请输入告警内容(必填)"},model:{value:e.form.alarm_content,callback:function(t){e.$set(e.form,"alarm_content",t)},expression:"form.alarm_content"}})],1)],1)],1),e._v(" "),a("el-row",[a("el-col",{attrs:{span:24}},[a("el-form-item",{attrs:{label:"处理方法",prop:"handle_methode"}},[a("el-input",{attrs:{placeholder:"请输入处理方法(必填)"},model:{value:e.form.handle_methode,callback:function(t){e.$set(e.form,"handle_methode",t)},expression:"form.handle_methode"}})],1)],1)],1)],1),e._v(" "),a("div",{staticClass:"footer"},[a("el-button",{staticClass:"delebut",on:{click:e.elearm}},[e._v("\n "+e._s(e.butName)+"\n ")]),e._v(" "),a("el-button",{staticClass:"elebuts",on:{click:e.handleClose}},[e._v("\n "+e._s(e.butNames)+"\n ")])],1)],1)],1)},staticRenderFns:[]};var m={props:["dialogVisiblenetwork","listdata"],data:function(){return{butName:"保存",butNames:"取消",isWidth:"22.6%",form:{ipname:null,adress:null},rules:{ipname:[{required:!0,message:"请输入标签",trigger:"blur"}],adress:[{required:!0,message:"请输入来源",trigger:"blur"}]}}},watch:{listdata:function(){this.listdata.list&&(this.form=this.listdata.list)}},methods:{handleClose:function(){this.form={ipname:null,adress:null},this.$emit("workConadd")},elearm:function(){var e=this;this.$refs.form.validate(function(t){if(!t)return!1;e.form.ipname=e.form.ipname.replace(/\s*/g,""),e.form.adress=e.form.adress.replace(/\s*/g,""),0==e.listdata.type?Object(l.O)(e.form).then(function(t){1==t.resultCode?(e.$message({message:t.resultMsg,type:"success"}),e.form={ipname:null,adress:null},e.$emit("workConadd")):e.$message.error(t.resultMsg)}):Object(l.Q)(e.form).then(function(t){1==t.resultCode?(e.$message({message:t.resultMsg,type:"success"}),e.form={ipname:null,adress:null},e.$emit("workConadd")):e.$message.error(t.resultMsg)})})}}},p={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"networkConfigpop"},[a("el-dialog",{attrs:{title:"",visible:e.dialogVisiblenetwork,"modal-append-to-body":!1,"before-close":e.handleClose,width:e.isWidth},on:{"update:visible":function(t){e.dialogVisiblenetwork=t}}},[a("div",{staticClass:"strategyaddpop_header"},[a("div",{staticClass:"left"},[a("p",[e._v(e._s(e.listdata.name))])])]),e._v(" "),a("el-form",{ref:"form",attrs:{model:e.form,rules:e.rules,"label-width":"110px",size:"small "}},[a("el-row",[a("el-col",{attrs:{span:24}},[a("el-form-item",{attrs:{label:"车辆",prop:"ipname"}},[a("el-input",{attrs:{placeholder:"请输入标签(必填)"},model:{value:e.form.ipname,callback:function(t){e.$set(e.form,"ipname",t)},expression:"form.ipname"}})],1)],1)],1),e._v(" "),a("el-row",[a("el-col",{attrs:{span:24}},[a("el-form-item",{attrs:{label:"地址",prop:"adress"}},[a("el-input",{attrs:{placeholder:"请输入来源(必填)"},model:{value:e.form.adress,callback:function(t){e.$set(e.form,"adress",t)},expression:"form.adress"}})],1)],1)],1)],1),e._v(" "),a("div",{staticClass:"footer"},[a("el-button",{staticClass:"delebut",on:{click:e.elearm}},[e._v("\n "+e._s(e.butName)+"\n ")]),e._v(" "),a("el-button",{staticClass:"elebuts",on:{click:e.handleClose}},[e._v("\n "+e._s(e.butNames)+"\n ")])],1)],1)],1)},staticRenderFns:[]};var g={props:["dialogVisibledoder","listdata"],data:function(){return{isWidth:"43%",butName:"保存",butNames:"取消",form:{tagname:null,destination:null,bagtag:null,securite_result:null,securite_tagname:null,car_name:null,station_name:null,order_id:null},rules:{tagname:[{required:!0,message:"请输入任务标签",trigger:"blur"}],destination:[{required:!0,message:"请输入目的地",trigger:"blur"}],bagtag:[{required:!0,message:"请输入行李标签",trigger:"blur"}],securite_result:[{required:!0,message:"请输入安检结果",trigger:"blur"}],securite_tagname:[{required:!0,message:"请输入安检标签",trigger:"blur"}],car_name:[{required:!0,message:"请输入车辆匹配",trigger:"blur"}],station_name:[{required:!0,message:"请输入站点匹配",trigger:"blur"}],order_id:[{required:!0,message:"请输入匹配订单号",trigger:"blur"}]}}},watch:{listdata:function(){this.listdata.list&&(this.form=this.listdata.list)}},methods:{handleClose:function(){this.form={tagname:null,destination:null,bagtag:null,securite_result:null,securite_tagname:null,car_name:null,station_name:null,order_id:null},this.$emit("oderadd")},elearm:function(){var e=this;this.$refs.form.validate(function(t){if(!t)return!1;e.form.tagname=e.form.tagname.replace(/\s*/g,""),e.form.destination=e.form.destination.replace(/\s*/g,""),e.form.bagtag=e.form.bagtag.replace(/\s*/g,""),e.form.securite_result=e.form.securite_result.replace(/\s*/g,""),e.form.securite_tagname=e.form.securite_tagname.replace(/\s*/g,""),0==e.listdata.type?Object(l.S)(e.form).then(function(t){1==t.resultCode?(e.$message({message:t.resultMsg,type:"success"}),e.form={tagname:null,destination:null,bagtag:null,securite_result:null,securite_tagname:null,car_name:null,station_name:null,order_id:null},e.$emit("oderadd")):(e.$message.error(t.resultMsg),e.form={tagname:null,destination:null,bagtag:null,securite_result:null,securite_tagname:null,car_name:null,station_name:null,order_id:null})}):Object(l.U)(e.form).then(function(t){1==t.resultCode?(e.$message({message:t.resultMsg,type:"success"}),e.form={tagname:null,destination:null,bagtag:null,securite_result:null,securite_tagname:null,car_name:null,station_name:null,order_id:null},e.$emit("oderadd")):e.$message.error(t.resultMsg)})})}}},f={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"orderConfigpop"},[a("el-dialog",{attrs:{title:"",visible:e.dialogVisibledoder,"modal-append-to-body":!1,"before-close":e.handleClose,width:e.isWidth},on:{"update:visible":function(t){e.dialogVisibledoder=t}}},[a("div",{staticClass:"strategyaddpop_header"},[a("div",{staticClass:"left"},[a("p",[e._v(e._s(e.listdata.name))])])]),e._v(" "),a("el-form",{ref:"form",attrs:{model:e.form,rules:e.rules,"label-width":"110px",size:"small "}},[a("el-row",{attrs:{gutter:12}},[a("el-col",{attrs:{span:12}},[a("el-form-item",{attrs:{label:"任务标签",prop:"tagname"}},[a("el-input",{attrs:{placeholder:"请输入标签(必填)"},model:{value:e.form.tagname,callback:function(t){e.$set(e.form,"tagname",t)},expression:"form.tagname"}})],1)],1),e._v(" "),a("el-col",{attrs:{span:12}},[a("el-form-item",{attrs:{label:"目的地",prop:"destination"}},[a("el-input",{attrs:{placeholder:"请输入来源(必填)"},model:{value:e.form.destination,callback:function(t){e.$set(e.form,"destination",t)},expression:"form.destination"}})],1)],1)],1),e._v(" "),a("el-row",{attrs:{gutter:12}},[a("el-col",{attrs:{span:12}},[a("el-form-item",{attrs:{label:"行李标签",prop:"bagtag"}},[a("el-input",{attrs:{placeholder:"请输入标签(必填)"},model:{value:e.form.bagtag,callback:function(t){e.$set(e.form,"bagtag",t)},expression:"form.bagtag"}})],1)],1),e._v(" "),a("el-col",{attrs:{span:12}},[a("el-form-item",{attrs:{label:"安检结果(字符串)",prop:"securite_result"}},[a("el-input",{attrs:{placeholder:"请输入来源(必填)"},model:{value:e.form.securite_result,callback:function(t){e.$set(e.form,"securite_result",t)},expression:"form.securite_result"}})],1)],1)],1),e._v(" "),a("el-row",{attrs:{gutter:12}},[a("el-col",{attrs:{span:12}},[a("el-form-item",{attrs:{label:"安检标签",prop:"securite_tagname"}},[a("el-input",{attrs:{placeholder:"请输入标签(必填)"},model:{value:e.form.securite_tagname,callback:function(t){e.$set(e.form,"securite_tagname",t)},expression:"form.securite_tagname"}})],1)],1),e._v(" "),a("el-col",{attrs:{span:12}},[a("el-form-item",{attrs:{label:"车辆匹配",prop:"car_name"}},[a("el-input",{attrs:{type:"number",placeholder:"请输入来源(必填)"},model:{value:e.form.car_name,callback:function(t){e.$set(e.form,"car_name",t)},expression:"form.car_name"}})],1)],1)],1),e._v(" "),a("el-row",{attrs:{gutter:12}},[a("el-col",{attrs:{span:12}},[a("el-form-item",{attrs:{label:"站点匹配",prop:"station_name"}},[a("el-input",{attrs:{type:"number",placeholder:"请输入标签(必填)"},model:{value:e.form.station_name,callback:function(t){e.$set(e.form,"station_name",t)},expression:"form.station_name"}})],1)],1),e._v(" "),a("el-col",{attrs:{span:12}},[a("el-form-item",{attrs:{label:"匹配订单号",prop:"order_id"}},[a("el-input",{attrs:{type:"number",placeholder:"请输入来源(必填)"},model:{value:e.form.order_id,callback:function(t){e.$set(e.form,"order_id",t)},expression:"form.order_id"}})],1)],1)],1)],1),e._v(" "),a("div",{staticClass:"footer"},[a("el-button",{staticClass:"delebut",on:{click:e.elearm}},[e._v("\n "+e._s(e.butName)+"\n ")]),e._v(" "),a("el-button",{staticClass:"elebuts",on:{click:e.handleClose}},[e._v("\n "+e._s(e.butNames)+"\n ")])],1)],1)],1)},staticRenderFns:[]};var b={props:["dialogVisibledlabe","listdata"],data:function(){return{radio:0,isWidth:"43%",butName:"保存",butNames:"取消",option:[{label:"停用",id:0},{label:"启用",id:1}],form:{tagname:null,conv_name:null,ip:null,state:null},rules:{tagname:[{required:!0,message:"请输入标签",trigger:"blur"}],conv_name:[{required:!0,message:"请输入对应输送机",trigger:"blur"}],ip:[{required:!0,message:"请输入来源",trigger:"blur"}]}}},watch:{listdata:function(){this.listdata.list&&(this.form=this.listdata.list,this.radio=this.listdata.list.state)}},methods:{handleClose:function(){this.form={tagname:null,conv_name:null,ip:null,state:null},this.radio=0,this.$emit("labeladd")},elearm:function(){var e=this;this.$refs.form.validate(function(t){if(!t)return!1;e.form.tagname=e.form.tagname.replace(/\s*/g,""),e.form.conv_name=e.form.conv_name.replace(/\s*/g,""),e.form.ip=e.form.ip.replace(/\s*/g,""),e.form.state=e.radio,0==e.listdata.type?Object(l.K)(e.form).then(function(t){1==t.resultCode?(e.$message({message:t.resultMsg,type:"success"}),e.form={tagname:null,conv_name:null,ip:null,state:null},e.$emit("labeladd")):e.$message.error(t.resultMsg)}):Object(l.L)(e.form).then(function(t){1==t.resultCode?(e.$message({message:t.resultMsg,type:"success"}),e.form={tagname:null,conv_name:null,ip:null,state:null},e.$emit("labeladd")):e.$message.error(t.resultMsg)})})}}},h={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"labelConfigpop"},[a("el-dialog",{attrs:{title:"",visible:e.dialogVisibledlabe,"modal-append-to-body":!1,"before-close":e.handleClose,width:e.isWidth},on:{"update:visible":function(t){e.dialogVisibledlabe=t}}},[a("div",{staticClass:"strategyaddpop_header"},[a("div",{staticClass:"left"},[a("p",[e._v(e._s(e.listdata.name))])])]),e._v(" "),a("el-form",{ref:"form",attrs:{model:e.form,rules:e.rules,"label-width":"110px",size:"small "}},[a("el-row",{attrs:{gutter:12}},[a("el-col",{attrs:{span:12}},[a("el-form-item",{attrs:{label:"标签",prop:"tagname"}},[a("el-input",{attrs:{placeholder:"请输入标签(必填)"},model:{value:e.form.tagname,callback:function(t){e.$set(e.form,"tagname",t)},expression:"form.tagname"}})],1)],1),e._v(" "),a("el-col",{attrs:{span:12}},[a("el-form-item",{attrs:{label:"对应输送机",prop:"conv_name"}},[a("el-input",{attrs:{placeholder:"请输入对应输送机(必填)"},model:{value:e.form.conv_name,callback:function(t){e.$set(e.form,"conv_name",t)},expression:"form.conv_name"}})],1)],1)],1),e._v(" "),a("el-row",{attrs:{gutter:12}},[a("el-col",{attrs:{span:12}},[a("el-form-item",{attrs:{label:"来源",prop:"ip"}},[a("el-input",{attrs:{placeholder:"请输入来源(必填)"},model:{value:e.form.ip,callback:function(t){e.$set(e.form,"ip",t)},expression:"form.ip"}})],1)],1),e._v(" "),a("el-col",{staticStyle:{"padding-left":"35px",display:"flex"},attrs:{span:12}},[a("p",{staticStyle:{"margin-right":"30px",color:"#6cb1ec","line-height":"33px","margin-top":"0","margin-bottom":"0"}},[e._v("是否启用")]),e._v(" "),e._l(e.option,function(t,l){return a("el-radio",{key:l,attrs:{label:t.id},model:{value:e.radio,callback:function(t){e.radio=t},expression:"radio"}},[e._v(e._s(t.label))])})],2)],1)],1),e._v(" "),a("div",{staticClass:"footer"},[a("el-button",{staticClass:"delebut",on:{click:e.elearm}},[e._v("\n "+e._s(e.butName)+"\n ")]),e._v(" "),a("el-button",{staticClass:"elebuts",on:{click:e.handleClose}},[e._v("\n "+e._s(e.butNames)+"\n ")])],1)],1)],1)},staticRenderFns:[]};var v={name:"User",data:function(){var e=this;return{currentPage3:1,totalPages:0,dialogVisiblenetwork:!1,dialogVisibledarm:!1,dialogVisibledoder:!1,dialogVisibledlabe:!1,listdata:{},alarList:{},deleContent:{name:"删除告警信息",cont:"是否确认删除该告警信息?",type:"告警"},dialogVisibledele:!1,heighter:"100%",pageCount:0,navName:"网络配置",tableData:[],actives:0,navList:[{name:"网络配置"},{name:"订单配置"},{name:"标签配置"},{name:"告警配置"},{name:"其他配置"}],form:{addUserName:"",addUserPwd:"",addUserRoleValue:"",addUserStateValue:""},radio:1,dialogVisible:!1,rules:{userName:[{required:!0,validator:function(t,a,l){""===e.form.addUserName?l(new Error("用户名不能为空")):(e.userTableData.forEach(function(t,a,s){e.form.addUserName==t.username&&l(new Error("用户名已存在"))}),l())},trigger:["blur","change"]}],userPwd:[{required:!0,validator:function(t,a,l){""===e.form.addUserPwd?l(new Error("密码不能为空")):e.form.addUserPwd.length<6?l(new Error("密码不能小于6位")):l()},trigger:["blur","change"]}],userRole:[{required:!0,message:"请选择类型",trigger:"blur"}],userState:[{required:!0,message:"请选择状态",trigger:"blur"}]},isAdmin:!1,userTableData:[{username:"165asas",password:"123456",role:"user",state:"unlock"},{username:"sa223sas",password:"123456",role:"user",state:"unlock"},{username:"admin4",password:"123456",role:"admin",state:"unlock"}],addUserRole:[{value:"admin",label:"admin"},{value:"user",label:"user"}],addUserState:[{value:"lock",label:"lock"},{value:"unlock",label:"unlock"}]}},mounted:function(){this.network()},watch:{actives:function(){this.currentPage3=1,0==this.actives?this.network():1==this.actives?this.orderConfig():2==this.actives?this.labelConfig():3==this.actives&&this.giveAn()},currentPage3:function(){0==this.actives?this.network():1==this.actives?this.orderConfig():2==this.actives?this.labelConfig():3==this.actives&&this.giveAn(),console.log(this.currentPage3)}},methods:{navUp:function(e,t){this.navName=t.name,this.actives=e},changePage:function(e){this.pageSize=e,0==this.actives?this.network():1==this.actives?this.orderConfig():2==this.actives&&this.giveAn()},network:function(){var e=this,t={page:this.currentPage3,PageSize:10};Object(l.N)(t).then(function(t){e.tableData=t.resultData,e.totalPages=10*t.pageNumber})},networkmod:function(e){this.dialogVisiblenetwork=!0,this.listdata={name:"修改网络配置",type:1,list:e.row}},networkele:function(e){this.dialogVisibledele=!0,this.alarList=e.row,this.deleContent={name:"删除网络信息",cont:"是否确认删除该网络信息?",type:"网络"}},orderConfig:function(){var e=this,t={page:this.currentPage3,PageSize:10};Object(l.R)(t).then(function(t){e.tableData=t.resultData,e.totalPages=10*t.pageNumber})},ordermod:function(e){this.dialogVisibledoder=!0,this.listdata={name:"修改订单配置",type:1,list:e.row}},orderele:function(e){this.dialogVisibledele=!0,this.alarList=e.row,this.deleContent={name:"删除订单信息",cont:"是否确认删除该订单信息?",type:"订单"}},labelConfig:function(){var e=this,t={page:this.currentPage3,PageSize:10};Object(l.J)(t).then(function(t){t.resultData.forEach(function(e){e.states=1==e.state?"启用":"停用"}),e.tableData=t.resultData,e.totalPages=10*t.pageNumber})},labelConfigmod:function(e){this.dialogVisibledlabe=!0,this.listdata={name:"修改标签配置",type:1,list:e.row}},labelConfigele:function(e){this.dialogVisibledele=!0,this.alarList=e.row,this.deleContent={name:"删除标签信息",cont:"是否确认删除该标签信息?",type:"标签"}},giveAn:function(){var e=this,t={page:this.currentPage3,PageSize:10};Object(l.s)(t).then(function(t){e.tableData=t.resultData,e.totalPages=10*t.pageNumber})},newAdd:function(){3==this.actives?(this.dialogVisibledarm=!0,this.listdata={name:"新增告警配置",type:0}):0==this.actives?(this.dialogVisiblenetwork=!0,this.listdata={name:"新增网络配置",type:0}):1==this.actives?(this.dialogVisibledoder=!0,this.listdata={name:"新增订单配置",type:0}):2==this.actives&&(this.dialogVisibledlabe=!0,this.listdata={name:"新增标签配置",type:0})},newalarmmod:function(e){3==this.actives&&(this.dialogVisibledarm=!0,this.listdata={name:"修改告警配置",type:1,list:e.row})},alarmele:function(e){this.dialogVisibledele=!0,this.alarList=e.row,this.deleContent={name:"删除告警配置",cont:"是否确认删除该告警配置?",type:"告警"}},delepop:function(){this.dialogVisibledele=!1,0==this.actives?this.network():1==this.actives?this.orderConfig():2==this.actives?this.labelConfig():3==this.actives&&this.giveAn()},arlem:function(){this.dialogVisibledarm=!1,this.giveAn()},workConadd:function(){this.dialogVisiblenetwork=!1,this.network()},oderadd:function(){this.dialogVisibledoder=!1,this.orderConfig()},labeladd:function(){this.dialogVisibledlabe=!1,this.labelConfig()},downlodTable:function(){var e=this;this.$confirm("是否需要导出xlsx文档, 是否继续?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){e.downFile(),e.$message({type:"success",message:"导出成功!"})}).catch(function(){e.$message({type:"info",message:"已取消导出"})})},downFile:function(){var e=n.a.utils.table_to_book(document.querySelector("#userTableData")),t=n.a.write(e,{bookType:"xlsx",bookSST:!0,type:"array"});try{r.a.saveAs(new Blob([t],{type:"application/octet-stream"}),"user.xlsx")}catch(e){"undefined"!=typeof console&&console.log(e,t)}return t},addUser:function(){this.dialogVisible=!0}},components:{Delepop:a("VU/8")(o,d,!1,function(e){a("zoa/")},null,null).exports,AlarmConfigpop:a("VU/8")(u,c,!1,function(e){a("6mDz")},null,null).exports,NetworkConfigpop:a("VU/8")(m,p,!1,function(e){a("FVMa")},null,null).exports,OrderConfigpop:a("VU/8")(g,f,!1,function(e){a("ZPwd")},null,null).exports,LabelConfigpop:a("VU/8")(b,h,!1,function(e){a("23yR")},null,null).exports}},_={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"logBox"},[a("div",{staticClass:"border_left_top border"}),e._v(" "),a("div",{staticClass:"border_top border"}),e._v(" "),a("div",{staticClass:"border_right_top border"}),e._v(" "),a("div",{staticClass:"border_left border"}),e._v(" "),a("div",{staticClass:"border_right border"}),e._v(" "),a("div",{staticClass:"border_left_bottom border"}),e._v(" "),a("div",{staticClass:"border_bottom border"}),e._v(" "),a("div",{staticClass:"border_right_bottom border"}),e._v(" "),a("el-button-group",{attrs:{id:"topButton2"}},[a("el-button",{staticClass:"active",attrs:{type:"primary"}},[e._v(e._s(e.navName))])],1),e._v(" "),a("div",{staticClass:"nav_modify"},[a("ul",e._l(e.navList,function(t,l){return a("li",{key:l,class:e.actives===l?"nav_childup":"nav_child",on:{click:function(a){return e.navUp(l,t)}}},[e._v(e._s(t.name))])}),0)]),e._v(" "),a("div",{staticClass:"downlodTables"},[e._v("导入")]),e._v(" "),a("div",{staticClass:"downlodTable",on:{click:e.downlodTable}},[e._v("导出")]),e._v(" "),a("div",{staticClass:"downlodTableer",on:{click:function(t){return e.newAdd()}}},[e._v("新增")]),e._v(" "),a("el-table",{directives:[{name:"show",rawName:"v-show",value:0==e.actives,expression:"actives == 0"}],staticStyle:{width:"100%",color:"#2DAFF5"},attrs:{data:e.tableData,id:"userTableData"}},[a("el-table-column",{attrs:{prop:"ipname",align:"center",label:"车辆"}}),e._v(" "),a("el-table-column",{attrs:{prop:"adress",align:"center",label:"地址"}}),e._v(" "),a("el-table-column",{attrs:{prop:"name",label:"操作",width:"300px",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-button",{staticClass:"Colorbutton",on:{click:function(a){return e.networkmod(t)}}},[e._v("修改")]),e._v(" "),a("el-button",{staticClass:"Colorbutton_red",on:{click:function(a){return e.networkele(t)}}},[e._v("删除")])]}}])})],1),e._v(" "),a("el-table",{directives:[{name:"show",rawName:"v-show",value:1==e.actives,expression:"actives == 1"}],staticStyle:{width:"100%",color:"#2DAFF5"},attrs:{data:e.tableData,id:"userTableData"}},[a("el-table-column",{attrs:{prop:"tagname",align:"center",label:"任务标签"}}),e._v(" "),a("el-table-column",{attrs:{prop:"destination",align:"center",label:"目的地"}}),e._v(" "),a("el-table-column",{attrs:{prop:"bagtag",align:"center",label:"行李标签"}}),e._v(" "),a("el-table-column",{attrs:{prop:"securite_result",align:"center",label:"安检结果(字符串)"}}),e._v(" "),a("el-table-column",{attrs:{prop:"securite_tagname",align:"center",label:"安检标签"}}),e._v(" "),a("el-table-column",{attrs:{prop:"car_name",align:"center",label:"车辆匹配"}}),e._v(" "),a("el-table-column",{attrs:{prop:"station_name",align:"center",label:"站点匹配"}}),e._v(" "),a("el-table-column",{attrs:{prop:"order_id",align:"center",label:"匹配订单号"}}),e._v(" "),a("el-table-column",{attrs:{prop:"name",label:"操作",width:"300px",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-button",{staticClass:"Colorbutton",on:{click:function(a){return e.ordermod(t)}}},[e._v("修改")]),e._v(" "),a("el-button",{staticClass:"Colorbutton_red",on:{click:function(a){return e.orderele(t)}}},[e._v("删除")])]}}])})],1),e._v(" "),a("el-table",{directives:[{name:"show",rawName:"v-show",value:2==e.actives,expression:"actives == 2"}],staticStyle:{width:"100%",color:"#2DAFF5"},attrs:{data:e.tableData,id:"userTableData"}},[a("el-table-column",{attrs:{prop:"tagname",align:"center",label:"标签"}}),e._v(" "),a("el-table-column",{attrs:{prop:"conv_name",align:"center",label:"对应输送机"}}),e._v(" "),a("el-table-column",{attrs:{prop:"ip",align:"center",label:"来源"}}),e._v(" "),a("el-table-column",{attrs:{prop:"states",align:"center",label:"是否启用"}}),e._v(" "),a("el-table-column",{attrs:{prop:"name",label:"操作",width:"300px",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-button",{staticClass:"Colorbutton",on:{click:function(a){return e.labelConfigmod(t)}}},[e._v("修改")]),e._v(" "),a("el-button",{staticClass:"Colorbutton_red",on:{click:function(a){return e.labelConfigele(t)}}},[e._v("删除")])]}}])})],1),e._v(" "),a("el-table",{directives:[{name:"show",rawName:"v-show",value:3==e.actives,expression:"actives == 3"}],staticStyle:{width:"100%",color:"#2DAFF5"},attrs:{data:e.tableData,id:"userTableData",height:e.heighter}},[a("el-table-column",{attrs:{prop:"tagname",align:"center",label:"标签",width:"200px"}}),e._v(" "),a("el-table-column",{attrs:{prop:"source",align:"center",label:"来源",width:"200px"}}),e._v(" "),a("el-table-column",{attrs:{prop:"alarm_position",align:"center",label:"告警位置",width:"200px"}}),e._v(" "),a("el-table-column",{attrs:{prop:"alarm_content",align:"center",label:"告警内容"}}),e._v(" "),a("el-table-column",{attrs:{prop:"handle_methode",align:"center",label:"处理方法"}}),e._v(" "),a("el-table-column",{attrs:{prop:"name",label:"操作",width:"300px",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-button",{staticClass:"Colorbutton",on:{click:function(a){return e.newalarmmod(t)}}},[e._v("修改")]),e._v(" "),a("el-button",{staticClass:"Colorbutton_red",on:{click:function(a){return e.alarmele(t)}}},[e._v("删除")])]}}])})],1),e._v(" "),a("el-table",{directives:[{name:"show",rawName:"v-show",value:4==e.actives,expression:"actives == 4"}],staticStyle:{width:"100%",color:"#2DAFF5"},attrs:{data:e.tableData,id:"userTableData"}},[a("el-table-column",{attrs:{prop:"nickname",align:"center",label:"项目"}}),e._v(" "),a("el-table-column",{attrs:{prop:"work_order_count",align:"center",label:"设置值"}})],1),e._v(" "),a("el-pagination",{attrs:{background:"",layout:"prev, pager, next, jumper","current-page":e.currentPage3,total:e.totalPages},on:{"update:currentPage":function(t){e.currentPage3=t},"update:current-page":function(t){e.currentPage3=t}}}),e._v(" "),a("Delepop",{attrs:{deleContent:e.deleContent,dialogVisibledele:e.dialogVisibledele,alarList:e.alarList},on:{delepop:e.delepop}}),e._v(" "),a("AlarmConfigpop",{attrs:{dialogVisibledarm:e.dialogVisibledarm,listdata:e.listdata},on:{arlem:e.arlem}}),e._v(" "),a("NetworkConfigpop",{attrs:{dialogVisiblenetwork:e.dialogVisiblenetwork,listdata:e.listdata},on:{workConadd:e.workConadd}}),e._v(" "),a("OrderConfigpop",{attrs:{dialogVisibledoder:e.dialogVisibledoder,listdata:e.listdata},on:{oderadd:e.oderadd}}),e._v(" "),a("LabelConfigpop",{attrs:{dialogVisibledlabe:e.dialogVisibledlabe,listdata:e.listdata},on:{labeladd:e.labeladd}})],1)},staticRenderFns:[]};var C=a("VU/8")(v,_,!1,function(e){a("/TW5")},"data-v-487dc8d5",null);t.default=C.exports},"zoa/":function(e,t){}});
  2. //# sourceMappingURL=3.22ee00ae2a8a6d3a4bb6.js.map