(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-6eca8dec"],{"20d2":function(t,e,i){},6340:function(t,e,i){"use strict";i("20d2")},"686f":function(t,e,i){"use strict";i.r(e);var s=function(){var t=this,e=t._self._c;return e("div",{staticStyle:{height:"100vh"}},[e("div",{staticClass:"bdy"},[e("div",{on:{click:function(e){return t.handleGo(1)}}},[t._v("完工")]),e("div",{on:{click:function(e){return t.handleGo(2)}}},[t._v("质检")]),e("div",{on:{click:function(e){return t.handleGo(3)}}},[t._v("包装")]),e("div",{on:{click:function(e){return t.handleGo(4)}}},[t._v("包装打印")])])])},n=[];document.title="工位屏";var r={data(){return{}},created(){console.log(this.$route.query);let t=JSON.parse(JSON.stringify(this.$route.query));if(!t.Authorization||!t.site)return this.$Message.warning({content:"请联系开发者,缺少站点和人员信息!",duration:0,closable:!0});let e={site:t.site},i=t.Authorization,s="prod"==t.systemType?"http://122.112.250.253:7774/":"test"==t.systemType?"http://121.36.142.167:7774/":"";localStorage.setItem("site",JSON.stringify(e)),localStorage.setItem("token",i),localStorage.setItem("dwy_url",s)},methods:{handleGo(t){switch(t){case 1:this.$router.push("/cms/chipFinish");break;case 2:this.$router.push("/cms/chipQualityTesting");break;case 3:this.$router.push("/cms/chipPackage");break;case 4:this.$router.push("/cms/chipBoxOrder");break}}}},c=r,o=(i("6340"),i("2877")),a=Object(o["a"])(c,s,n,!1,null,"4e52f1ee",null);e["default"]=a.exports}}]);