12 |
- webpackJsonp([24],{3142:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"a",function(){return Service});var __WEBPACK_IMPORTED_MODULE_0_babel_runtime_core_js_promise__=__webpack_require__("//Fk"),__WEBPACK_IMPORTED_MODULE_0_babel_runtime_core_js_promise___default=__webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_babel_runtime_core_js_promise__),__WEBPACK_IMPORTED_MODULE_1_axios__=__webpack_require__("mtWM"),__WEBPACK_IMPORTED_MODULE_1_axios___default=__webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_axios__),__WEBPACK_IMPORTED_MODULE_2_element_ui__=__webpack_require__("zL8q"),__WEBPACK_IMPORTED_MODULE_2_element_ui___default=__webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_element_ui__),__WEBPACK_IMPORTED_MODULE_3_qs__=__webpack_require__("mw3O"),__WEBPACK_IMPORTED_MODULE_3_qs___default=__webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3_qs__);__WEBPACK_IMPORTED_MODULE_1_axios___default.a.defaults.timeout=5e4;var G=window.g,ConfigBaseURL="";__WEBPACK_IMPORTED_MODULE_1_axios___default.a.get("static/serve.json").then(function(res){sessionStorage.setItem("baseURL",eval("("+res.data+")").baseUrl),sessionStorage.setItem("mapURL",eval("("+res.data+")").mapUrl),ConfigBaseURL=eval("("+res.data+")").baseUrl}),ConfigBaseURL=sessionStorage.getItem("baseURL");var loadingInstance=null,Token="YWRtaW4sMTYwMDMyMjU1MDU1Niw5MDEzNWM1YmUxOGUxMTM4NjNlNDgxNGEyYTkzNzM3YQ==",Service=__WEBPACK_IMPORTED_MODULE_1_axios___default.a.create({timeout:5e3,baseURL:G?G.url:Object({NODE_ENV:"production",API_ROOT:"//192.168.30.100:9090/api"}).BASE_API,method:"get、post、put、patch、delete",headers:{"Content-Type":"application/json;charset=UTF-8"}});Service.interceptors.request.use(function(e){return e}),Service.interceptors.response.use(function(e){return e.data},function(e){return console.log("TCL: error",e),__WEBPACK_IMPORTED_MODULE_0_babel_runtime_core_js_promise___default.a.reject(e)})},NHnr:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("7+uW"),a=n("Xxa5"),o=n.n(a),u=n("exGp"),i=n.n(u),c=n("l/JR"),l={name:"App",data:function(){return{_gap_time:0,_beforeUnload_time:0,start:0,audio:new Audio}},created:function(){},mounted:function(){var e=this;setInterval(function(){e.alarmList()},2e3)},destroyed:function(){var e=this;return i()(o.a.mark(function t(){return o.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:case"end":return e.stop()}},t,e)}))()},watch:{start:function(){this.linhear()}},methods:{linhear:function(){var e=this;Object(c.a)().then(function(t){var n=new Audio;n.src=t.resultData,1==e.start?n.play():n.pause()})},alarmList:function(){var e=this;Object(c.w)({value:!1,PageIndex:1,PageSize:8}).then(function(t){e.agreepersonlist=t.resultData.result,e.agreepersonlist.length>0?e.start=1:e.start=0})}}},s={render:function(){var e=this.$createElement,t=this._self._c||e;return t("div",{attrs:{id:"app"}},[t("audio"),this._v(" "),t("router-view")],1)},staticRenderFns:[]};var d=n("VU/8")(l,s,!1,function(e){n("nVjU")},null,null).exports,m=n("zL8q"),_=n.n(m),p=(n("tvR6"),n("/ocq"));r.default.use(p.a);var f=p.a.prototype.push;p.a.prototype.push=function(e){return f.call(this,e).catch(function(e){return e})};var h={path:"/",name:"home",component:function(){return n.e(6).then(n.bind(null,"Kktx"))}},g={path:"/CarMap",name:"CarMap",component:function(){return n.e(15).then(n.bind(null,"rkqn"))}},b={path:"/CarAdministration",name:"CarAdministration",component:function(){return n.e(7).then(n.bind(null,"q5kO"))}},O={path:"/OrderAdministration",name:"OrderAdministration",component:function(){return n.e(2).then(n.bind(null,"8w7g"))}},P={path:"/Alarm",name:"Alarm",component:function(){return n.e(20).then(n.bind(null,"by9T"))},redirect:"/Alarm/RealTime",children:[{path:"/Alarm/RealTime",name:"RealTime",component:function(){return Promise.all([n.e(0),n.e(4)]).then(n.bind(null,"S1V/"))}},{path:"/Alarm/History",name:"History",component:function(){return Promise.all([n.e(0),n.e(12)]).then(n.bind(null,"swbJ"))}}]},A={path:"/ArmManage",name:"ArmManage",component:function(){return n.e(1).then(n.bind(null,"L60T"))}},w={path:"/DeliveryManage",name:"DeliveryManage",redirect:"/DeliveryManage/index",component:function(){return n.e(21).then(n.bind(null,"Gc5M"))},children:[{path:"/DeliveryManage/index",name:"DeliveryManageIndex",component:function(){return n.e(8).then(n.bind(null,"cNdC"))}}]},S={path:"/ReportStatistics",name:"ReportStatistics",component:function(){return Promise.all([n.e(0),n.e(10)]).then(n.bind(null,"Tcp0"))}},j={path:"/SystemSet",name:"SystemSet",redirect:"/SystemSet/index",component:function(){return n.e(22).then(n.bind(null,"SPdZ"))},children:[{path:"/SystemSet/index",name:"SystemSetIndex",component:function(){return n.e(11).then(n.bind(null,"1dIK"))}},{path:"/SystemSet/Parameter",name:"Parameter",component:function(){return n.e(9).then(n.bind(null,"DEl5"))}},{path:"/SystemSet/User",name:"User",component:function(){return Promise.all([n.e(0),n.e(3)]).then(n.bind(null,"a7co"))}},{path:"/SystemSet/Users",name:"Users",component:function(){return Promise.all([n.e(0),n.e(16)]).then(n.bind(null,"0II0"))}},{path:"/SystemSet/Restart",name:"Restart",component:function(){return n.e(13).then(n.bind(null,"7lf9"))}}]},D={path:"/Baggage",name:"Baggage",redirect:"/Baggage/index",component:function(){return n.e(17).then(n.bind(null,"wKA/"))},children:[{path:"/Baggage/index",name:"BaggageIndex",component:function(){return n.e(19).then(n.bind(null,"/rDY"))}},{path:"/Baggage/Baggageser",name:"Baggageser",component:function(){return n.e(18).then(n.bind(null,"IeZm"))}}]},I=[{path:"/",name:"login",component:function(){return n.e(14).then(n.bind(null,"Luci"))}},{path:"/admin",name:"admin",component:function(){return n.e(5).then(n.bind(null,"giw/"))},children:[]}];I[1].children.push(h),I[1].children.push(g),I[1].children.push(b),I[1].children.push(O),I[1].children.push(P),I[1].children.push(A),I[1].children.push(w),I[1].children.push(S),I[1].children.push(j),I[1].children.push(D);var M=new p.a({routes:I}),k=n("NYxO"),v={login:function(e){return e.login.userData}},E={state:{userData:{}},mutations:{MsetUserData:function(e,t){e.userData=t}},actions:{AsetUserData:function(e,t){(0,e.commit)("MsetUserData",t)}}};r.default.use(k.a);var U=new k.a.Store({modules:{login:E},getters:v}),L={data:function(){return{}},methods:{}},C={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"body"},[n("div",{staticClass:"title_body"},[n("span",{staticStyle:{"padding-left":"10px"}},[e._v(e._s(e.title)+" ")])]),e._v(" "),n("div",{staticClass:"title_line"},["车辆信息"==e.title&&0==e.isSet?n("div",{staticStyle:{"margin-top":"5px",color:"#fff"}}):e._e()]),e._v(" "),n("div",{staticClass:"title_right"})])},staticRenderFns:[]};var T=n("VU/8")({props:{title:""},data:function(){return{carNum:1,isSet:!1,num:1}},methods:{toSetCarNum:function(){this.isSet=!0,this.num=this.carNum},setCarNum:function(){this.isSet=!1,this.carNum=this.num},unSet:function(){this.isSet=!1}}},C,!1,function(e){n("iInY")},"data-v-2c6f28a0",null).exports,F={install:function(e){e.component("top-title",T)}},x=n("3142"),R=n("kZvW"),y=n.n(R),B=null,W=function(e){B&&B.close(),B=Object(m.Message)(e)};["error","success","info","warning"].forEach(function(e){W[e]=function(t){return Object(m.Message)({showClose:!0,duration:100,type:e,message:t})}});var z=W,q=n("XLwt"),G=n.n(q);n("7t+N");r.default.use(y.a),r.default.prototype.$message=z,r.default.use(k.a),r.default.prototype.$echarts=G.a,r.default.prototype.$axios=x.a,r.default.config.productionTip=!1,r.default.use(_.a),r.default.use(U),r.default.use(F),r.default.use(L),new r.default({el:"#app",router:M,store:U,components:{App:d},template:"<App/>"})},iInY:function(e,t){},"l/JR":function(e,t,n){"use strict";t.D=function(e){return Object(o.a)({url:"/Framework/IDSInfo/VehiclesInfo?page="+e.page+"&perpage="+e.perpage,method:"get"})},t.E=function(){return Object(o.a)({url:"/Framework/AmrPlc/GetAmrUpperPlcList",method:"get"})},t.A=function(e){return Object(o.a)({url:"/vehicles/"+e,method:"get"})},t.X=function(e){return Object(o.a)({url:"/Framework/AmrPlc/ControlAmrPlc",method:"post",data:e})},t.C=function(){return Object(o.a)({url:"/Framework/AmrPlc/GetAmrUpperPlcList",method:"get"})},t.F=function(){return Object(o.a)({url:"/Framework/Boutton/GetBouttonState",method:"get"})},t.w=function(e){return Object(o.a)({url:"/Framework/AlarmPlc/GetAlarmList?value="+e.value+"&PageIndex="+e.PageIndex+"&PageSize="+e.PageSize,method:"get"})},t.B=function(){return Object(o.a)({url:"/dbvehiclebpc",method:"get"})},t.y=function(){return Object(o.a)({url:"/localisation",method:"get"})},t.V=function(e){return Object(o.a)({url:"/Framework/IDSInfo/TemplatesSendMission",method:"post",data:e})},t.Y=function(e){return Object(o.a)({url:"/Framework/VehiclesIDS/CommandVehicels",method:"post",data:e})},t.m=function(e){return e.filter_by_state?Object(o.a)({url:"/Framework/IDSInfo/OrdersInfo?page="+e.page+"&perpage="+e.filter_by_state+"&perpage=10",method:"get",data:e}):Object(o.a)({url:"/Framework/IDSInfo/OrdersInfo?page="+e.page+"&perpage=10",method:"get",data:e})},t.k=function(){return Object(o.a)({url:"/Framework/IDSInfo/TemplatesInfo",method:"get",params:{page:-1}})},t.z=function(e){return Object(o.a)({url:"/orders?order_id="+e,method:"get"})},t.q=function(e){return Object(o.a)({url:"/orders",method:"post",data:e})},t.l=function(){return Object(o.a)({url:"/Framework/UserInfo/GetAllList",method:"get",params:{page:-1}})},t.o=function(e){return console.log(a()(e)),Object(o.a)({url:"/homeadduser",method:"post",data:e})},t.n=function(e){return Object(o.a)({url:"/home",method:"post",data:e})},t.G=function(e){return Object(o.a)({url:"/homedeleteuser",method:"post",data:e})},t.p=function(){return Object(o.a)({url:"/reboot",method:"post"})},t.i=function(e){return Object(o.a)({url:"/Framework/IDSInfo/StatisticsInfo",method:"get",params:e})},t.e=function(e){return Object(o.a)({url:"/dbalarm",method:"post",data:e})},t.f=function(e){return Object(o.a)({url:"/averagetime",method:"get"})},t.h=function(){return Object(o.a)({url:"/dbcarry",method:"get"})},t.j=function(){return Object(o.a)({url:"/deblock",method:"get"})},t.g=function(){return Object(o.a)({url:"/dbbpc",method:"get"})},t.c=function(e){return Object(o.a)({url:"/Framework/Mission/MissionSwitch",method:"post",data:e})},t.d=function(e){return Object(o.a)({url:"/Framework/LimitCar/OnlineLimt",method:"post",data:e})},t.H=function(e){return Object(o.a)({url:"/limcar",method:"post",data:e})},t.W=function(e){return Object(o.a)({url:"/dbcarry",method:"post",data:e})},t.N=function(e){return Object(o.a)({url:"/Framework/AmrPlc/GetAllList?PageIndex="+e.page+"&PageSize="+e.PageSize,method:"get",data:e})},t.O=function(e){return Object(o.a)({url:"/Framework/AmrPlc/AddAmrPlc",method:"post",data:e})},t.Q=function(e){return Object(o.a)({url:"/Framework/AmrPlc/UpdateAmrPlc",method:"post",data:e})},t.P=function(e){return Object(o.a)({url:"/Framework/AmrPlc/DeletAmrPlc",method:"post",data:e})},t.R=function(e){return Object(o.a)({url:"/Framework/OrderConfig/GetAllList?PageIndex="+e.page+"&PageSize="+e.PageSize,method:"get",data:e})},t.S=function(e){return Object(o.a)({url:"/Framework/OrderConfig/AddOrderConfig",method:"post",data:e})},t.U=function(e){return Object(o.a)({url:"/Framework/OrderConfig/UpdateOrderConfig",method:"post",data:e})},t.T=function(e){return Object(o.a)({url:"/Framework/OrderConfig/DeletOrderConfig",method:"post",data:e})},t.J=function(e){return Object(o.a)({url:"/Framework/TagPlc/GetAllList?PageIndex="+e.page+"&PageSize="+e.PageSize,method:"get",data:e})},t.K=function(e){return Object(o.a)({url:"/Framework/TagPlc/AddTagPlc",method:"post",data:e})},t.L=function(e){return Object(o.a)({url:"/Framework/TagPlc/UpdateTagPlc",method:"post",data:e})},t.I=function(e){return Object(o.a)({url:"/Framework/TagPlc/DeleteTagPlc",method:"post",data:e})},t.s=function(e){return Object(o.a)({url:"/Framework/AlarmPlc/GetAllList?PageIndex="+e.page+"&PageSize="+e.PageSize,method:"get",data:e})},t.t=function(e){return Object(o.a)({url:"/Framework/AlarmPlc/AddAlarmPlc",method:"post",data:e})},t.v=function(e){return Object(o.a)({url:"/Framework/AlarmPlc/UpdateAmrPlc",method:"post",data:e})},t.u=function(e){return Object(o.a)({url:"/Framework/AlarmPlc/DeletAmrPlc",method:"post",data:e})},t.M=function(){return Object(o.a)({url:"/Framework/MapAddr/SonPatch",method:"get"})},t.x=function(e){return Object(o.a)({url:"/Framework/AmrPlc/GetAllList?PageIndex=1&PageSize=999",method:"get",data:e})},t.r=function(){return Object(o.a)({url:"/Framework/IDSInfo/TemplatesInfo?page=1",method:"get"})},t.b=function(e){return 0==e.bagid.length?Object(o.a)({url:"/Framework/BagTrack/GetAllList?PageIndex="+e.page+"&PageSize="+e.PageSize,method:"get",data:e}):Object(o.a)({url:"/Framework/BagTrack/GetAllList?PageIndex="+e.page+"&PageSize="+e.PageSize+"&bagid="+e.bagid,method:"get",data:e})},t.a=function(e){return Object(o.a)({url:"/Framework/AlarmSon/SonPatch",method:"get",data:e})};var r=n("mvHQ"),a=n.n(r),o=n("3142")},nVjU:function(e,t){},tvR6:function(e,t){}},["NHnr"]);
- //# sourceMappingURL=app.23e10449c235a2ad2d0b.js.map
|