1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-e5d7b000"],{"014b":function(t,e,n){"use strict";var r=n("e53d"),o=n("07e3"),a=n("8e60"),c=n("63b6"),i=n("9138"),u=n("ebfd").KEY,s=n("294c"),f=n("dbdb"),d=n("45f2"),l=n("62a0"),h=n("5168"),p=n("ccb9"),b=n("6718"),m=n("47ee"),g=n("9003"),v=n("e4ae"),y=n("f772"),O=n("36c3"),w=n("1bc3"),j=n("aebd"),k=n("a159"),S=n("0395"),T=n("bf0b"),_=n("d9f6"),x=n("c3a1"),P=T.f,C=_.f,E=S.f,N=r.Symbol,F=r.JSON,I=F&&F.stringify,$="prototype",D=h("_hidden"),M=h("toPrimitive"),J={}.propertyIsEnumerable,U=f("symbol-registry"),A=f("symbols"),B=f("op-symbols"),K=Object[$],R="function"==typeof N,Y=r.QObject,z=!Y||!Y[$]||!Y[$].findChild,W=a&&s(function(){return 7!=k(C({},"a",{get:function(){return C(this,"a",{value:7}).a}})).a})?function(t,e,n){var r=P(K,e);r&&delete K[e],C(t,e,n),r&&t!==K&&C(K,e,r)}:C,V=function(t){var e=A[t]=k(N[$]);return e._k=t,e},q=R&&"symbol"==typeof N.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof N},G=function(t,e,n){return t===K&&G(B,e,n),v(t),e=w(e,!0),v(n),o(A,e)?(n.enumerable?(o(t,D)&&t[D][e]&&(t[D][e]=!1),n=k(n,{enumerable:j(0,!1)})):(o(t,D)||C(t,D,j(1,{})),t[D][e]=!0),W(t,e,n)):C(t,e,n)},Q=function(t,e){v(t);var n,r=m(e=O(e)),o=0,a=r.length;while(a>o)G(t,n=r[o++],e[n]);return t},H=function(t,e){return void 0===e?k(t):Q(k(t),e)},L=function(t){var e=J.call(this,t=w(t,!0));return!(this===K&&o(A,t)&&!o(B,t))&&(!(e||!o(this,t)||!o(A,t)||o(this,D)&&this[D][t])||e)},X=function(t,e){if(t=O(t),e=w(e,!0),t!==K||!o(A,e)||o(B,e)){var n=P(t,e);return!n||!o(A,e)||o(t,D)&&t[D][e]||(n.enumerable=!0),n}},Z=function(t){var e,n=E(O(t)),r=[],a=0;while(n.length>a)o(A,e=n[a++])||e==D||e==u||r.push(e);return r},tt=function(t){var e,n=t===K,r=E(n?B:O(t)),a=[],c=0;while(r.length>c)!o(A,e=r[c++])||n&&!o(K,e)||a.push(A[e]);return a};R||(N=function(){if(this instanceof N)throw TypeError("Symbol is not a constructor!");var t=l(arguments.length>0?arguments[0]:void 0),e=function(n){this===K&&e.call(B,n),o(this,D)&&o(this[D],t)&&(this[D][t]=!1),W(this,t,j(1,n))};return a&&z&&W(K,t,{configurable:!0,set:e}),V(t)},i(N[$],"toString",function(){return this._k}),T.f=X,_.f=G,n("6abf").f=S.f=Z,n("355d").f=L,n("9aa9").f=tt,a&&!n("b8e3")&&i(K,"propertyIsEnumerable",L,!0),p.f=function(t){return V(h(t))}),c(c.G+c.W+c.F*!R,{Symbol:N});for(var et="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),nt=0;et.length>nt;)h(et[nt++]);for(var rt=x(h.store),ot=0;rt.length>ot;)b(rt[ot++]);c(c.S+c.F*!R,"Symbol",{for:function(t){return o(U,t+="")?U[t]:U[t]=N(t)},keyFor:function(t){if(!q(t))throw TypeError(t+" is not a symbol!");for(var e in U)if(U[e]===t)return e},useSetter:function(){z=!0},useSimple:function(){z=!1}}),c(c.S+c.F*!R,"Object",{create:H,defineProperty:G,defineProperties:Q,getOwnPropertyDescriptor:X,getOwnPropertyNames:Z,getOwnPropertySymbols:tt}),F&&c(c.S+c.F*(!R||s(function(){var t=N();return"[null]"!=I([t])||"{}"!=I({a:t})||"{}"!=I(Object(t))})),"JSON",{stringify:function(t){var e,n,r=[t],o=1;while(arguments.length>o)r.push(arguments[o++]);if(n=e=r[1],(y(e)||void 0!==t)&&!q(t))return g(e)||(e=function(t,e){if("function"==typeof n&&(e=n.call(this,t,e)),!q(e))return e}),r[1]=e,I.apply(F,r)}}),N[$][M]||n("35e8")(N[$],M,N[$].valueOf),d(N,"Symbol"),d(Math,"Math",!0),d(r.JSON,"JSON",!0)},"0395":function(t,e,n){var r=n("36c3"),o=n("6abf").f,a={}.toString,c="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],i=function(t){try{return o(t)}catch(e){return c.slice()}};t.exports.f=function(t){return c&&"[object Window]"==a.call(t)?i(t):o(r(t))}},"24ec":function(t,e,n){"use strict";n.d(e,"i",function(){return i}),n.d(e,"e",function(){return u}),n.d(e,"c",function(){return s}),n.d(e,"j",function(){return f}),n.d(e,"g",function(){return d}),n.d(e,"p",function(){return l}),n.d(e,"m",function(){return h}),n.d(e,"n",function(){return p}),n.d(e,"o",function(){return b}),n.d(e,"a",function(){return m}),n.d(e,"f",function(){return g}),n.d(e,"l",function(){return v}),n.d(e,"k",function(){return y}),n.d(e,"d",function(){return O}),n.d(e,"h",function(){return w}),n.d(e,"b",function(){return j});var r=n("8982"),o="/industryParkApi",a="/wx/user",c="/wx/frameUser";function i(t){return Object(r["a"])({url:o+a+"/login_by_app_main",method:"post",data:t})}function u(t){return Object(r["a"])({url:o+a+"/editMyInformation",method:"post",data:t})}function s(t){return Object(r["a"])({url:o+a+"/changePassword",method:"post",data:t})}function f(t){return Object(r["a"])({url:o+c+"/getById",method:"post",data:t})}function d(t){return Object(r["a"])({url:o+a+"/getById",method:"post",data:t})}function l(t){return Object(r["a"])({url:o+a+"/wechatUnBind",method:"post",data:t})}function h(t){return Object(r["a"])({url:o+a+"/unbound",method:"post",data:t})}function p(t){return Object(r["a"])({url:o+a+"/unbound2",method:"post",data:t})}function b(t){return Object(r["a"])({url:o+a+"/wechatBind",method:"post",data:t})}function m(t){return Object(r["a"])({url:o+a+"/binding",method:"post",data:t})}function g(t){return Object(r["a"])({url:o+c+"/editPassword",method:"post",data:t})}function v(t){return Object(r["a"])({url:o+a+"/send",method:"post",data:t})}function y(t){return Object(r["a"])({url:o+a+"/register_by_account",method:"post",data:t})}function O(t){return Object(r["a"])({url:o+a+"/checkAccount",method:"post",data:t})}function w(t){return Object(r["a"])({url:o+a+"/userInfo/"+t,method:"post"})}function j(t){return Object(r["a"])({url:o+a+"/bizInfo/"+t,method:"post"})}},"268f":function(t,e,n){t.exports=n("fde4")},"47ee":function(t,e,n){var r=n("c3a1"),o=n("9aa9"),a=n("355d");t.exports=function(t){var e=r(t),n=o.f;if(n){var c,i=n(t),u=a.f,s=0;while(i.length>s)u.call(t,c=i[s++])&&e.push(c)}return e}},6718:function(t,e,n){var r=n("e53d"),o=n("584a"),a=n("b8e3"),c=n("ccb9"),i=n("d9f6").f;t.exports=function(t){var e=o.Symbol||(o.Symbol=a?{}:r.Symbol||{});"_"==t.charAt(0)||t in e||i(e,t,{value:c.f(t)})}},"6abf":function(t,e,n){var r=n("e6f3"),o=n("1691").concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,o)}},"7a63":function(t,e,n){},8982:function(t,e,n){"use strict";n.d(e,"a",function(){return h}),n.d(e,"b",function(){return p});var r=n("795b"),o=n.n(r),a=n("bc3a"),c=n.n(a),i=n("4328"),u=n.n(i),s=n("4360"),f=n("5cab"),d=n("a18c"),l=n("3089");function h(t,e){t.headers||(t.headers={}),t.headers&&f["a"].getToken()&&(t.headers["RC-Token"]=f["a"].getToken());var n={method:t.method,url:t.url,data:u.a.stringify(t.data)};return e&&(n.data=t.data),t.headers&&(n.headers=t.headers),new o.a(function(e,r){c()(n).then(function(t){if(t&&t.data&&200===t.status){var n=t.data;switch(n.errno){case 501:Object(l["Toast"])(n.errmsg),setTimeout(function(){s["a"].dispatch("user/logout").then(function(){d["a"].push("/login")})},1500),r(n.errmsg);break;case 401:case 402:case 502:case 503:case 504:case 505:case 506:case 507:case 508:case 801:Object(l["Toast"])(n.errmsg),r(n.errmsg);break}e(n)}else console.log(t),r(t)}).catch(function(e,n){console.log(t.url+" fail",e,n),Object(l["Toast"])(e),r(e,n)})})}function p(t){t.headers||(t.headers={}),t.headers&&f["a"].getToken()&&(t.headers["RC-Token"]=f["a"].getToken());var e={method:t.method,url:t.url};return e.data=t.data,t.headers&&(e.headers=t.headers,e.headers["MVVM-Key"]=String((new Date).getTime()),e.headers["xx"]="anything",e.headers["Content-Type"]="application/json;charset=UTF-8"),console.log("request: ",t),new o.a(function(n,r){c.a.defaults.withCredentials=!0,c()(e).then(function(t){if(console.log("response:",t),t&&t.data&&200===t.status){var e=t.data;switch(e.errno){case 501:Object(l["Toast"])(e.errmsg),setTimeout(function(){s["a"].dispatch("user/logout").then(function(){d["a"].push("/login")})},1500),r(e.errmsg);break;case 401:case 402:case 502:case 503:case 504:case 505:case 506:case 507:case 508:case 801:Object(l["Toast"])(e.errmsg),r(e.errmsg);break}n(e)}else console.log(t),r(t)}).catch(function(e,n){console.log(t.url+" fail",e,n),Object(l["Toast"])(e),r(e,n)})})}},bf0b:function(t,e,n){var r=n("355d"),o=n("aebd"),a=n("36c3"),c=n("1bc3"),i=n("07e3"),u=n("794b"),s=Object.getOwnPropertyDescriptor;e.f=n("8e60")?s:function(t,e){if(t=a(t),e=c(e,!0),u)try{return s(t,e)}catch(n){}if(i(t,e))return o(!r.f.call(t,e),t[e])}},bf90:function(t,e,n){var r=n("36c3"),o=n("bf0b").f;n("ce7e")("getOwnPropertyDescriptor",function(){return function(t,e){return o(r(t),e)}})},c6f7:function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"login"},[n("div",{staticClass:"login-form"},[n("div",{staticClass:"title"},[t._v("密码登录")]),n("div",{staticClass:"form-input"},[t._m(0),n("input",{directives:[{name:"model",rawName:"v-model",value:t.account,expression:"account"}],attrs:{type:"text",placeholder:"请输入手机号"},domProps:{value:t.account},on:{input:function(e){e.target.composing||(t.account=e.target.value)}}})]),n("div",{staticClass:"form-input"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.password,expression:"password"}],attrs:{type:"password",placeholder:"请输入密码"},domProps:{value:t.password},on:{input:function(e){e.target.composing||(t.password=e.target.value)}}}),n("p",{staticClass:"right",on:{click:function(e){return t.$router.push("/register")}}},[t._v("忘记密码")])])]),n("div",{staticClass:"login-button"},[n("p",[n("button",{staticClass:"but-type1",attrs:{type:"info"},on:{click:t.loginMain}},[t._v("\n\t\t\t\t\t登录\n\t\t\t\t")])]),n("p",[n("button",{staticClass:"but-type2",on:{click:function(e){return t.$router.push("/register")}}},[t._v("\n\t\t\t\t\t去注册\n\t\t\t\t")])])]),n("div",{staticClass:"foot-pact"},[n("div",{staticClass:"check"},[n("van-checkbox",{attrs:{"checked-color":"#2A3980"},model:{value:t.checked,callback:function(e){t.checked=e},expression:"checked"}})],1),n("div",{staticClass:"text1"},[t._v("已阅读并同意")]),n("div",{staticClass:"text2"},[t._v("《服务协议条款及隐私条款》")])])])},o=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("p",{staticClass:"left"},[n("span",[t._v(" +81 ")]),n("span",[n("i",{staticClass:"iconfont icon-zuo"})])])}],a=n("cebc"),c=n("2f62"),i=n("24ec"),u=n("3089"),s={data:function(){return{checked:!1,account:"",password:""}},methods:Object(a["a"])({},Object(c["b"])({login:"user/login"}),{loginMain:function(){var t=this;return this.account&&this.password?!1===this.checked?(Object(u["Toast"])("请阅读并同意服务协议条款及隐私条款"),!1):(this.$auth.setUserType(this.$auth.TYPE_USER),void Object(i["i"])({userName:this.account,password:this.password,code:"",type:this.$auth.TYPE_USER}).then(function(e){0===e.errno&&e.data?(t.login(e.data),t.$router.push({path:"/home"})):Object(u["Toast"])(e.errmsg)})):(Object(u["Toast"])("请填写账号和密码"),!1)}})},f=s,d=(n("de28"),n("2877")),l=Object(d["a"])(f,r,o,!1,null,"6a080450",null);e["default"]=l.exports},ccb9:function(t,e,n){e.f=n("5168")},cebc:function(t,e,n){"use strict";n.d(e,"a",function(){return f});var r=n("268f"),o=n.n(r),a=n("e265"),c=n.n(a),i=n("a4bb"),u=n.n(i),s=n("bd86");function f(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},r=u()(n);"function"===typeof c.a&&(r=r.concat(c()(n).filter(function(t){return o()(n,t).enumerable}))),r.forEach(function(e){Object(s["a"])(t,e,n[e])})}return t}},de28:function(t,e,n){"use strict";var r=n("7a63"),o=n.n(r);o.a},e265:function(t,e,n){t.exports=n("ed33")},ebfd:function(t,e,n){var r=n("62a0")("meta"),o=n("f772"),a=n("07e3"),c=n("d9f6").f,i=0,u=Object.isExtensible||function(){return!0},s=!n("294c")(function(){return u(Object.preventExtensions({}))}),f=function(t){c(t,r,{value:{i:"O"+ ++i,w:{}}})},d=function(t,e){if(!o(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!a(t,r)){if(!u(t))return"F";if(!e)return"E";f(t)}return t[r].i},l=function(t,e){if(!a(t,r)){if(!u(t))return!0;if(!e)return!1;f(t)}return t[r].w},h=function(t){return s&&p.NEED&&u(t)&&!a(t,r)&&f(t),t},p=t.exports={KEY:r,NEED:!1,fastKey:d,getWeak:l,onFreeze:h}},ed33:function(t,e,n){n("014b"),t.exports=n("584a").Object.getOwnPropertySymbols},fde4:function(t,e,n){n("bf90");var r=n("584a").Object;t.exports=function(t,e){return r.getOwnPropertyDescriptor(t,e)}}}]);
|