5.15b63eb75060eb2faa46.js 9.1 KB

12
  1. webpackJsonp([5],{"3McR":function(t,e,i){t.exports=i.p+"static/img/upperdaohang2@2x.7acd4f2.png"},"Vk/j":function(t,e){},X42X:function(t,e){},"giw/":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=i("l/JR"),l={name:"App",data:function(){return{agreepersonlist:[],isWarn:!1,reqData:{ctg:"curr",opt:"nonexcel"},userName:"",updateApiData:{oldApi:"",newApi:""},updateApitoogle:!1,updatePsd:!1,updatePsdData:{oldPwd:"123456",newPwd:"",okNewPwd:""},titleindex:0,FullS:!1,menudata:[{title:"首页",path:"/admin"},{title:"AMR管理",path:"/ArmManage"},{title:"行李信息查询",path:"/Baggage"},{title:"系统配置",path:"/SystemSet"},{title:"报表统计",path:"/ReportStatistics"},{title:"Alarm",path:"/Alarm"}]}},mounted:function(){this.monitorfullScreen(),this.refersh(),this.userName=JSON.parse(sessionStorage.getItem("userData")).userName;var t=this;setInterval(function(){t.getDataAlarm()},2e3)},methods:{alarmList:function(){var t=this;Object(n.w)({value:!1,PageIndex:1,PageSize:8}).then(function(e){t.agreepersonlist=e.resultData.result,Object(n.a)().then(function(i){t.agreepersonlist=e.resultData.result;var n=new Audio;n.src=i.resultData,t.agreepersonlist.length>0?n.play():t.audio.pause()})})},showWarn:function(){this.$router.push({path:"/Alarm"})},getDataAlarm:function(){var t=this,e=this;Object(n.e)(this.reqData).then(function(i){console.log(i),console.log(i.AlarmInfo),i.AlarmInfo.length>0&&(t.isWarn=!0,setTimeout(function(){e.isWarn=!1},1e3))})},updateApi:function(){this.updateApitoogle=!0},refersh:function(){var t=window.location.href;"/Alarm/RealTime"==t.substring(t.indexOf("#")+1)||"/Alarm/History"==t.substring(t.indexOf("#")+1)?this.titleindex=5:"/ReportStatistics"==t.substring(t.indexOf("#")+1)?this.titleindex=4:"/SystemSet/index"==t.substring(t.indexOf("#")+1)||"/SystemSet/User"==t.substring(t.indexOf("#")+1)?this.titleindex=3:"/DeliveryManage/index"==t.substring(t.indexOf("#")+1)?this.titleindex=2:"/ArmManage"==t.substring(t.indexOf("#")+1)?this.titleindex=1:this.titleindex=0},gohome:function(){this.$router.push({path:"/admin"}),this.titleindex=0},checktitle:function(t,e){this.titleindex=e,this.$router.push({path:t.path})},exitLogin:function(){var t=this;this.$confirm("退出登录, 是否继续?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){sessionStorage.removeItem("userData"),t.$router.push({path:"/"}),t.$message({type:"success",message:"已退出登录!"})}).catch(function(){t.$message({type:"info",message:"已取消操作"})})},monitorfullScreen:function(){var t=this;document.addEventListener("webkitfullscreenchange",function(){document.webkitIsFullScreen?t.FullS=!0:t.FullS=!1}),document.addEventListener("fullscreenchange",function(){document.fullscreen?t.FullS=!0:t.FullS=!1}),document.addEventListener("msfullscreenchange",function(){document.msFullscreenElement?t.FullS=!0:t.FullS=!1}),document.addEventListener("mozfullscreenchange",function(){document.mozFullScreen?t.FullS=!0:t.FullS=!1})},goFullScreen:function(){this.FullS?this.exitFullScreen2():this.FullScreen()},FullScreen:function(){var t,e=this.$refs.body,i=e.requestFullScreen||e.webkitRequestFullScreen||e.mozRequestFullScreen||e.msRequestFullScreen;void 0!==i&&i?i.call(e):void 0!==window.ActiveXObject&&(t=new ActiveXObject("WScript.Shell"))&&t.SendKeys("{F11}")},exitFullScreen2:function(){document.exitFullscreen?document.exitFullscreen():document.mozCancelFullScreen?document.mozCancelFullScreen():document.webkitCancelFullScreen?document.webkitCancelFullScreen():document.msExitFullscreen&&document.msExitFullscreen()},updatePwdF:function(){this.updatePsd=!0}}},a={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{ref:"body",staticClass:"home_body"},[n("div",{staticClass:"home_body_padding"},[n("div",{staticClass:"home_title_body"},[n("div",{staticClass:"home_title_left"},[n("img",{staticClass:"home_title_left_img1",attrs:{src:i("xFLp"),alt:""}}),t._v(" "),n("img",{staticClass:"home_title_left_img",attrs:{src:i("3McR"),alt:""}}),t._v(" "),n("div",{staticClass:"left_title_body"},[n("div",{staticClass:"home_logo"},[n("div",{staticClass:"LOGO_name",on:{click:t.gohome}},[t._v("AMR")]),t._v(" "),n("div",{staticClass:"system_name",on:{click:t.gohome}},[t._v("/ AMR管理系统")])]),t._v(" "),n("div",{staticClass:"title_body"},t._l(t.menudata,function(e,i){return n("div",{key:i,staticClass:"title_item",style:{color:t.titleindex==i?"#FFF":""},on:{click:function(n){return t.checktitle(e,i)}}},[t._v("\n "+t._s(e.title)+"\n ")])}),0)])]),t._v(" "),n("div",{staticClass:"home_title_right title_right_font"},[n("img",{staticClass:"right_title_img",attrs:{src:i("sOFp"),alt:""}}),t._v(" "),n("div",{staticClass:"left_title_body"},[n("div",{class:t.isWarn?"Warning_lamp":"Warning_lamper"}),t._v(" "),n("el-tooltip",{staticClass:"item",staticStyle:{position:"relative"},attrs:{effect:"light",content:"打开全屏",placement:"bottom"}},[n("i",{staticClass:"el-icon-full-screen",staticStyle:{"font-size":"14px","margin-left":"5px"},on:{click:t.goFullScreen}})]),t._v(" "),n("i",{staticClass:"el-icon-minus line_ icon_right"}),t._v(" "),n("el-dropdown",[n("span",{staticClass:"el-dropdown-link title_right_font"},[n("label",[t._v(t._s(this.userName))]),n("i",{staticClass:"el-icon-caret-bottom el-icon--right"})]),t._v(" "),n("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[n("el-dropdown-item",{nativeOn:{click:function(e){return t.exitLogin(e)}}},[t._v("退出登录")])],1)],1)],1)])]),t._v(" "),n("div",{staticClass:"content_body EditCMBox panel_home"},[n("div",{staticClass:"inner_home"},[n("router-view")],1)])]),t._v(" "),n("el-dialog",{attrs:{title:"修改密码",visible:t.updatePsd,width:"600px",id:"addUserDialog"},on:{"update:visible":function(e){t.updatePsd=e}}},[n("el-form",{ref:"form",attrs:{model:t.updatePsdData,"label-position":"right"}},[n("el-form-item",{attrs:{label:"旧密码:","label-width":"120px"}},[n("el-input",{attrs:{placeholder:"请输入旧密码"},model:{value:t.updatePsdData.oldPwd,callback:function(e){t.$set(t.updatePsdData,"oldPwd",e)},expression:"updatePsdData.oldPwd"}})],1),t._v(" "),n("el-form-item",{attrs:{label:"新密码:","label-width":"120px"}},[n("el-input",{attrs:{placeholder:"请输入要修改的密码"},model:{value:t.updatePsdData.newPwd,callback:function(e){t.$set(t.updatePsdData,"newPwd",e)},expression:"updatePsdData.newPwd"}})],1),t._v(" "),n("el-form-item",{attrs:{label:"确认密码:","label-width":"120px"}},[n("el-input",{attrs:{placeholder:"请输入确认输入要修改的密码"},model:{value:t.updatePsdData.okNewPwd,callback:function(e){t.$set(t.updatePsdData,"okNewPwd",e)},expression:"updatePsdData.okNewPwd"}})],1)],1),t._v(" "),n("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[n("el-button",{attrs:{type:"primary",id:"sureBtn"},on:{click:function(e){t.updatePsd=!1}}},[t._v("确 定")]),t._v(" "),n("el-button",{attrs:{type:"primary",id:"sureBtn"},on:{click:function(e){t.updatePsd=!1}}},[t._v("取消")])],1)],1)],1)},staticRenderFns:[]};var s=i("VU/8")(l,a,!1,function(t){i("Vk/j"),i("X42X")},"data-v-5f7be062",null);e.default=s.exports},sOFp:function(t,e,i){t.exports=i.p+"static/img/upper_daohang3@2x.5d1fb14.png"},xFLp:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyFpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNS1jMDE0IDc5LjE1MTQ4MSwgMjAxMy8wMy8xMy0xMjow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