(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-login-filter-index"],{"0276":function(e,t,n){"use strict";n.r(t);var r=n("ebbb"),i=n("eaf5");for(var o in i)["default"].indexOf(o)<0&&function(e){n.d(t,e,(function(){return i[e]}))}(o);var u=n("f0c5"),a=Object(u["a"])(i["default"],r["b"],r["c"],!1,null,"8fd69944",null,!1,r["a"],void 0);t["default"]=a.exports},b3b2:function(e,t,n){"use strict";n("7a82");var r=n("4ea4").default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n("c7eb")),o=r(n("1da1"));n("e9c4"),n("4d63"),n("c607"),n("ac1f"),n("2c3e"),n("25f0");var u={data:function(){return{}},onLoad:function(){this.loginFilter()},methods:{loginFilter:function(){var e=this.getQueryString("cardNumber"),t=this.getQueryString("error"),n=this.getQueryString("errorMsg");t?uni.showToast({title:n,icon:"error",mask:!0,duration:1e3}):e?(uni.setStorageSync("token",e),uni.setStorageSync("identity",JSON.stringify(0)),this.getDetailMess()):window.location.href="https://open.wecard.qq.com/connect/oauth/authorize?app_key=EE28EE2C93296F4E&response_type=code&scope=snsapi_base&ocode=1015730314&redirect_uri=https://jtishfw.ncjti.edu.cn/baoxiu/repairApi/wx/getCardNumber&state=STATE"},getQueryString:function(e){var t=window.location.href,n=new RegExp("[?&]"+e+"=([^&]+)","i"),r=n.exec(t);return!(null==r||r.length<1)&&decodeURIComponent(r[1])},getDetailMess:function(){var e=this;return(0,o.default)((0,i.default)().mark((function t(){var n,r;return(0,i.default)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,e.$myRequest({method:"post",url:"/student/queryByStudentId"});case 2:n=t.sent,200==n.status&&(uni.setStorageSync("student",n.data),r=uni.getStorageSync("updataMsg"),r?(console.log("主页"),uni.reLaunch({url:"../home/home"})):(console.log("信息页"),uni.reLaunch({url:"../personal-information/personal-information"})));case 4:case"end":return t.stop()}}),t)})))()}}};t.default=u},eaf5:function(e,t,n){"use strict";n.r(t);var r=n("b3b2"),i=n.n(r);for(var o in r)["default"].indexOf(o)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(o);t["default"]=i.a},ebbb:function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"c",(function(){return i})),n.d(t,"a",(function(){}));var r=function(){var e=this.$createElement,t=this._self._c||e;return t("v-uni-view")},i=[]}}]);