group-controlApp.14afb8a2.js 7.1 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["group-controlApp"],{"02f4":function(e,t,r){var n=r("4588"),o=r("be13");e.exports=function(e){return function(t,r){var c,a,i=String(o(t)),u=n(r),s=i.length;return u<0||u>=s?e?"":void 0:(c=i.charCodeAt(u),c<55296||c>56319||u+1===s||(a=i.charCodeAt(u+1))<56320||a>57343?e?i.charAt(u):c:e?i.slice(u,u+2):a-56320+(c-55296<<10)+65536)}}},"0390":function(e,t,r){"use strict";var n=r("02f4")(!0);e.exports=function(e,t,r){return t+(r?n(e,t).length:1)}},"0bfb":function(e,t,r){"use strict";var n=r("cb7c");e.exports=function(){var e=n(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},"214f":function(e,t,r){"use strict";r("b0c5");var n=r("2aba"),o=r("32e9"),c=r("79e5"),a=r("be13"),i=r("2b4c"),u=r("520a"),s=i("species"),l=!c((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")})),f=function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var r="ab".split(e);return 2===r.length&&"a"===r[0]&&"b"===r[1]}();e.exports=function(e,t,r){var p=i(e),d=!c((function(){var t={};return t[p]=function(){return 7},7!=""[e](t)})),v=d?!c((function(){var t=!1,r=/a/;return r.exec=function(){return t=!0,null},"split"===e&&(r.constructor={},r.constructor[s]=function(){return r}),r[p](""),!t})):void 0;if(!d||!v||"replace"===e&&!l||"split"===e&&!f){var h=/./[p],g=r(a,p,""[e],(function(e,t,r,n,o){return t.exec===u?d&&!o?{done:!0,value:h.call(t,r,n)}:{done:!0,value:e.call(r,t,n)}:{done:!1}})),b=g[0],m=g[1];n(String.prototype,e,b),o(RegExp.prototype,p,2==t?function(e,t){return m.call(e,this,t)}:function(e){return m.call(e,this)})}}},"520a":function(e,t,r){"use strict";var n=r("0bfb"),o=RegExp.prototype.exec,c=String.prototype.replace,a=o,i="lastIndex",u=function(){var e=/a/,t=/b*/g;return o.call(e,"a"),o.call(t,"a"),0!==e[i]||0!==t[i]}(),s=void 0!==/()??/.exec("")[1],l=u||s;l&&(a=function(e){var t,r,a,l,f=this;return s&&(r=new RegExp("^"+f.source+"$(?!\\s)",n.call(f))),u&&(t=f[i]),a=o.call(f,e),u&&a&&(f[i]=f.global?a.index+a[0].length:t),s&&a&&a.length>1&&c.call(a[0],r,(function(){for(l=1;l<arguments.length-2;l++)void 0===arguments[l]&&(a[l]=void 0)})),a}),e.exports=a},"5f1b":function(e,t,r){"use strict";var n=r("23c6"),o=RegExp.prototype.exec;e.exports=function(e,t){var r=e.exec;if("function"===typeof r){var c=r.call(e,t);if("object"!==typeof c)throw new TypeError("RegExp exec method returned something other than an Object or null");return c}if("RegExp"!==n(e))throw new TypeError("RegExp#exec called on incompatible receiver");return o.call(e,t)}},"73e6":function(e,t,r){"use strict";var n=r("c6cc"),o=r.n(n);o.a},a481:function(e,t,r){"use strict";var n=r("cb7c"),o=r("4bf8"),c=r("9def"),a=r("4588"),i=r("0390"),u=r("5f1b"),s=Math.max,l=Math.min,f=Math.floor,p=/\$([$&`']|\d\d?|<[^>]*>)/g,d=/\$([$&`']|\d\d?)/g,v=function(e){return void 0===e?e:String(e)};r("214f")("replace",2,(function(e,t,r,h){return[function(n,o){var c=e(this),a=void 0==n?void 0:n[t];return void 0!==a?a.call(n,c,o):r.call(String(c),n,o)},function(e,t){var o=h(r,e,this,t);if(o.done)return o.value;var f=n(e),p=String(this),d="function"===typeof t;d||(t=String(t));var b=f.global;if(b){var m=f.unicode;f.lastIndex=0}var x=[];while(1){var y=u(f,p);if(null===y)break;if(x.push(y),!b)break;var w=String(y[0]);""===w&&(f.lastIndex=i(p,c(f.lastIndex),m))}for(var S="",E=0,C=0;C<x.length;C++){y=x[C];for(var k=String(y[0]),$=s(l(a(y.index),p.length),0),_=[],j=1;j<y.length;j++)_.push(v(y[j]));var A=y.groups;if(d){var O=[k].concat(_,$,p);void 0!==A&&O.push(A);var R=String(t.apply(void 0,O))}else R=g(k,p,$,_,A,t);$>=E&&(S+=p.slice(E,$)+R,E=$+k.length)}return S+p.slice(E)}];function g(e,t,n,c,a,i){var u=n+e.length,s=c.length,l=d;return void 0!==a&&(a=o(a),l=p),r.call(i,l,(function(r,o){var i;switch(o.charAt(0)){case"$":return"$";case"&":return e;case"`":return t.slice(0,n);case"'":return t.slice(u);case"<":i=a[o.slice(1,-1)];break;default:var l=+o;if(0===l)return r;if(l>s){var p=f(l/10);return 0===p?r:p<=s?void 0===c[p-1]?o.charAt(1):c[p-1]+o.charAt(1):r}i=c[l-1]}return void 0===i?"":i}))}}))},b0c5:function(e,t,r){"use strict";var n=r("520a");r("5ca1")({target:"RegExp",proto:!0,forced:n!==/./.exec},{exec:n})},c6cc:function(e,t,r){},c8fb:function(e,t,r){"use strict";r.r(t);var n=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"notfound"},[r("div",{staticClass:"sun"}),r("form",{attrs:{role:"form"}},[r("div"),r("div",[r("el-input",{attrs:{name:"username",placeholder:"请输入用户名",required:"required"},model:{value:e.username,callback:function(t){e.username=t},expression:"username"}})],1),r("div",[r("el-input",{attrs:{placeholder:"请输入密码","show-password":"",required:"required"},model:{value:e.password,callback:function(t){e.password=t},expression:"password"}})],1),r("div",[r("el-button",{attrs:{type:"primary",loading:e.loading},on:{click:function(t){return t.preventDefault(),e.submit(t)}}},[e._v(e._s(e.loading?"请稍等":"登录"))]),e.error?r("p",{staticClass:"error"},[e._v("登录账号或密码错误")]):e._e()],1)])])},o=[],c=(r("a481"),r("7ded")),a={name:"ControlLogin",data:function(){return{error:!1,loading:!1,username:"",password:""}},watch:{},created:function(){var e=this;document.onkeypress=function(t){var r;if(!t)window.event;t.keyCode?r=t.keyCode:t.which&&(r=t.which),13==r&&e.submit()}},mounted:function(){},methods:{submit:function(){var e=this;this.username&&this.password?(this.loading=!0,Object(c["b"])({username:this.username,password:this.password,loginFrom:"student"}).then((function(t){t&&"1"==t.ok?e.$router.replace({name:"App"}):e.error=!0,e.loading=!1}),(function(){e.error=!0,e.loading=!1}))):this.error=!0}}},i=a,u=(r("e810"),r("73e6"),r("2877")),s=Object(u["a"])(i,n,o,!1,null,"5e73da99",null);t["default"]=s.exports},ccbd:function(e,t,r){"use strict";var n=r("df3c"),o=r.n(n);o.a},df3c:function(e,t,r){},f078:function(e,t,r){"use strict";r.r(t);var n=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"home-page"},[r("SrpElement",{attrs:{config:e.config,type:e.type}})],1)},o=[],c=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r(e.currentComponent,{tag:"component",attrs:{config:e.config}})},a=[],i=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"default-label",style:e.config.eleStyle,domProps:{innerHTML:e._s(e.config.text)}})},u=[],s={props:{config:Object}},l=s,f=r("2877"),p=Object(f["a"])(l,i,u,!1,null,"a8a76f14",null),d=p.exports,v={name:"SrpElement",components:{SrpLabel:d},props:{config:Object,type:String},data:function(){return{}},computed:{currentComponent:function(){var e=this.type.charAt(0).toUpperCase()+this.type.slice(1);return"Srp"+e}}},h=v,g=Object(f["a"])(h,c,a,!1,null,null,null),b=g.exports,m={name:"UserTest",components:{SrpElement:b},data:function(){return{config:{text:"单行文字",fillType:"none",colorPercent:0,imgPercent:0,backgroundColor:"#fff",color:"#fff",src:"",borderType:"none",borderSize:"1",eleStyle:{}},type:"label"}},created:function(){},methods:{}},x=m,y=(r("ccbd"),Object(f["a"])(x,n,o,!1,null,"537eb314",null));t["default"]=y.exports}}]);