(function(e){function n(n){for(var c,a,i=n[0],r=n[1],h=n[2],d=0,l=[];d{}),document.body.addEventListener("focusout",()=>{var e=window.navigator.userAgent;(e.indexOf("iPhone")>0||e.indexOf("iPad")>0)&&(document.body.scrollTop=c,document.documentElement.scrollTop=c)})},"56d7":function(e,n,t){"use strict";t.r(n);var c=t("2b0e"),a=t("3dfd"),o=t("8c4f");const u=[{path:"/cms/refresh",name:"refresh",meta:{index:3},component:e=>t.e("chunk-2d21022e").then(function(){var n=[t("b736")];e.apply(null,n)}.bind(this)).catch(t.oe)},{path:"/cms/home",name:"Home",meta:{index:3},component:e=>t.e("chunk-39ff265f").then(function(){var n=[t("40cf")];e.apply(null,n)}.bind(this)).catch(t.oe)},{path:"/cms/work",name:"work",meta:{index:3},component:e=>t.e("chunk-03f11e0c").then(function(){var n=[t("5bf1")];e.apply(null,n)}.bind(this)).catch(t.oe)},{path:"/cms/mine",name:"Mine",meta:{index:3},component:e=>t.e("chunk-59c734f5").then(function(){var n=[t("109a")];e.apply(null,n)}.bind(this)).catch(t.oe)},{path:"/cms/finish",name:"finish",meta:{index:3},component:e=>t.e("chunk-77aba47c").then(function(){var n=[t("0d9e")];e.apply(null,n)}.bind(this)).catch(t.oe)},{path:"/cms/finish/detail",name:"finishDetail",meta:{index:3},component:e=>t.e("chunk-28f7aa99").then(function(){var n=[t("7c15")];e.apply(null,n)}.bind(this)).catch(t.oe)},{path:"/cms/finish/detailed",name:"finishDetailed",meta:{index:3},component:e=>t.e("chunk-7b519954").then(function(){var n=[t("3e1e")];e.apply(null,n)}.bind(this)).catch(t.oe)},{path:"/cms/Package/index",name:"PackageIndex",meta:{index:3},component:e=>t.e("chunk-2b2e2df3").then(function(){var n=[t("4462")];e.apply(null,n)}.bind(this)).catch(t.oe)},{path:"/cms/Package/detail",name:"PackageDetail",meta:{index:3},component:e=>t.e("chunk-d6085eaa").then(function(){var n=[t("4331")];e.apply(null,n)}.bind(this)).catch(t.oe)},{path:"/cms/Package/detailed",name:"PackageDetailed",meta:{index:3},component:e=>t.e("chunk-537c879e").then(function(){var n=[t("a42d")];e.apply(null,n)}.bind(this)).catch(t.oe)},{path:"/cms/dispatch/detail",name:"dispatchDetail",meta:{index:3},component:e=>t.e("chunk-b41f9964").then(function(){var n=[t("6a30")];e.apply(null,n)}.bind(this)).catch(t.oe)},{path:"/cms/dispatch/detailed",name:"dispatchDetailed",meta:{index:3},component:e=>t.e("chunk-0e4071d4").then(function(){var n=[t("b3a6")];e.apply(null,n)}.bind(this)).catch(t.oe)},{path:"/cms/inventory/detail",name:"inventoryDetail",meta:{index:3},component:e=>t.e("chunk-8f5b42dc").then(function(){var n=[t("0119")];e.apply(null,n)}.bind(this)).catch(t.oe)},{path:"/cms/inventory/index",name:"inventoryIndex",meta:{index:3},component:e=>t.e("chunk-aaa580e2").then(function(){var n=[t("ccd2")];e.apply(null,n)}.bind(this)).catch(t.oe)},{path:"/cms/ceshi",name:"ceshi",meta:{index:3},component:e=>t.e("chunk-6e4aceda").then(function(){var n=[t("e5c7")];e.apply(null,n)}.bind(this)).catch(t.oe)}];var i=u;const r=o["a"].prototype.push;o["a"].prototype.push=function(e){return r.call(this,e).catch(e=>e)},c["default"].use(o["a"]);const h=[{path:"/",name:"Login",meta:{index:1,title:"九方软件"},component:e=>t.e("chunk-0cced9c4").then(function(){var n=[t("a55b")];e.apply(null,n)}.bind(this)).catch(t.oe)},{path:"/cms/print",name:"print",component:e=>Promise.all([t.e("chunk-2d0aa5b8"),t.e("chunk-07510353")]).then(function(){var n=[t("d027")];e.apply(null,n)}.bind(this)).catch(t.oe)},{path:"/cms/chipScreen",name:"chipScreen",component:e=>t.e("chunk-6eca8dec").then(function(){var n=[t("686f")];e.apply(null,n)}.bind(this)).catch(t.oe)},{path:"/cms/chipFinish",name:"chipFinish",component:e=>t.e("chunk-4ca68f57").then(function(){var n=[t("16e1")];e.apply(null,n)}.bind(this)).catch(t.oe)},{path:"/cms/chipQualityTesting",name:"chipQualityTesting",component:e=>t.e("chunk-fa19435e").then(function(){var n=[t("80c4")];e.apply(null,n)}.bind(this)).catch(t.oe)},{path:"/cms/chipPackage",name:"chipPackage",component:e=>t.e("chunk-84f0305a").then(function(){var n=[t("7362")];e.apply(null,n)}.bind(this)).catch(t.oe)},{path:"/cms/chipBoxOrder",name:"chipBoxOrder",component:e=>Promise.all([t.e("chunk-2d0aa5b8"),t.e("chunk-1141e8ce")]).then(function(){var n=[t("9755")];e.apply(null,n)}.bind(this)).catch(t.oe)},{path:"/cms/inOut",name:"inOut",component:e=>t.e("chunk-32f53b72").then(function(){var n=[t("5e6f")];e.apply(null,n)}.bind(this)).catch(t.oe)},{path:"/cms/chipBoxPrint",name:"chipBoxPrint",component:e=>Promise.all([t.e("chunk-2d0aa5b8"),t.e("chunk-63a29b4e")]).then(function(){var n=[t("5d86")];e.apply(null,n)}.bind(this)).catch(t.oe)},{path:"/cms",name:"Cms",meta:{index:2},component:e=>t.e("chunk-041a3dfe").then(function(){var n=[t("ea84")];e.apply(null,n)}.bind(this)).catch(t.oe),children:i}],d=new o["a"]({routes:h,mode:"hash",linkActiveClass:"active"});d.beforeEach((e,n,t)=>{if("/"===e.path)t();else{const n=localStorage.getItem("token");n||"/cms/print"===e.path||"/cms/chipBoxPrint"===e.path||"/cms/inOut"===e.path||"/cms/chipBoxOrder"===e.path||"/cms/chipPackage"===e.path||"/cms/chipFinish"===e.path||"/cms/chipQualityTesting"===e.path||"/cms/chipScreen"===e.path?t():t("/")}t()});var l=d,p=t("2f62");c["default"].use(p["a"]);var f=new p["a"].Store({state:{ip:"http://fyy_api.qingyaokeji.com"},mutations:{},actions:{},modules:{}}),s=t("cee4");let m={};const b=s["a"].create(m);m={timeout:0,withCredentials:!0},b.interceptors.request.use((function(e){const n=localStorage.getItem("token"),t=JSON.parse(localStorage.getItem("site")),c="http://fyy_api.qingyaokeji.com";return e.url=c+e.url,"http://122.112.250.253:7774/jbl/api/mes/login"===e.data.url||"http://122.112.250.253:7774/jbl/api/site/all/ignore-action?_allow_anonymous=true"===e.data.url||"http://clouddevice.qingyaokeji.com/api/inout"===e.data.url?e.data.header=["Content-Type:application/json"]:e.data.header=["Authorization:Bearer "+n,"Content-Type:application/json","Site:"+t.site],e}),(function(e){return Promise.reject(e)})),b.interceptors.response.use(e=>200===e.status?200===e.data.code?e.data:401===e.data.code?(localStorage.removeItem("mobile_token"),location.reload()):(c["default"].prototype.$Message.error(e.data.msg||"未知错误"),e.data||e):c["default"].prototype.$Message.error("请求超时"),e=>(c["default"].prototype.$Notice.error({title:"请求失败",desc:e}),e));var k=b,y=t("5f5b"),v=t("b1e0"),g=t("f825"),x=t.n(g),P=(t("f8ce"),{stringToHex(e){var n=(new TextEncoder).encode(e),t=Array.prototype.map.call(n,(function(e){return("0"+e.toString(16)).slice(-2)})).join("");return t},hexToString(e){var n=e.match(/.{1,2}/g).map((function(e){return parseInt(e,16)})),t=(new TextDecoder).decode(new Uint8Array(n));return t}}),w=(t("f9e3"),t("2dd8"),t("bb6f")),O=t.n(w),T=t("b970");t("157a");c["default"].use(x.a),c["default"].use(O.a),c["default"].use(T["a"]),c["default"].prototype.func=P,c["default"].use(y["a"]),c["default"].use(v["a"]),c["default"].config.productionTip=!1,c["default"].prototype.axios=k,new c["default"]({router:l,store:f,render:e=>e(a["default"])}).$mount("#app")},"9abc":function(e,n,t){"use strict";t.d(n,"a",(function(){return c})),t.d(n,"b",(function(){return a}));var c=function(){var e=this,n=e._self._c;e._self._setupProxy;return n("div",{attrs:{id:"app"}},[n("router-view",{staticClass:"content"})],1)},a=[]},a817:function(e,n,t){"use strict";t("2808")}});