Commit b9db0be1 by fairyly

fix: 修改获取用户信息接口

parent a449d53c
<!DOCTYPE html><html><head><meta charset=utf-8><link rel="shortcut icon" href=./favicon.ico><title>好办管理平台</title><link rel=stylesheet type=text/css href=//web-1251519181.file.myqcloud.com/custom-element/custom-element.1.0.24.css><link href=./static/css/app.8fce51bc9ce88031cf4c7b8109e6567b.css rel=stylesheet></head><body style="min-width: 1400px;" class=damolish><div id=app></div><script src=//web-1251519181.file.myqcloud.com/lib/vue/2.6.6/vue.min.js></script><script src=//web-1251519181.file.myqcloud.com/lib/vue-router/3.0.2/vue-router.min.js></script><script src=//web-1251519181.file.myqcloud.com/lib/vuex/3.1.0/vuex.min.js></script><script src=//web-1251519181.file.myqcloud.com/components/img-preview.2.0.00.js></script><script src=//web-1251519181.file.myqcloud.com/components/footer.2.0.04.js></script><script>// Raven.config('https://3715a345910d4c768e7a1ec14619c2d5@sentry.io/1413672').install();</script><script type=text/javascript src=./static/js/manifest.5a98712940936435f504.js></script><script type=text/javascript src=./static/js/vendor.2cff6c68669f76f7bb26.js></script><script type=text/javascript src=./static/js/app.3d10c11148fe0867bd89.js></script></body></html>
\ No newline at end of file
<!DOCTYPE html><html><head><meta charset=utf-8><link rel="shortcut icon" href=./favicon.ico><title>好办管理平台</title><link rel=stylesheet type=text/css href=//web-1251519181.file.myqcloud.com/custom-element/custom-element.1.0.24.css><link href=./static/css/app.c8c76bdd59c26e9d35629880c491d731.css rel=stylesheet></head><body style="min-width: 1400px;" class=damolish><div id=app></div><script src=//web-1251519181.file.myqcloud.com/lib/vue/2.6.6/vue.min.js></script><script src=//web-1251519181.file.myqcloud.com/lib/vue-router/3.0.2/vue-router.min.js></script><script src=//web-1251519181.file.myqcloud.com/lib/vuex/3.1.0/vuex.min.js></script><script src=//web-1251519181.file.myqcloud.com/components/img-preview.2.0.00.js></script><script src=//web-1251519181.file.myqcloud.com/components/footer.2.0.04.js></script><script>// Raven.config('https://3715a345910d4c768e7a1ec14619c2d5@sentry.io/1413672').install();</script><script type=text/javascript src=./static/js/manifest.7a16bc50cb4b4c109e2d.js></script><script type=text/javascript src=./static/js/vendor.2cff6c68669f76f7bb26.js></script><script type=text/javascript src=./static/js/app.3d10c11148fe0867bd89.js></script></body></html>
\ No newline at end of file
webpackJsonp([0],{"//Fk":function(t,e,r){t.exports={default:r("U5ju"),__esModule:!0}},"1H6C":function(t,e,r){var n=function(){return this}()||Function("return this")(),o=n.regeneratorRuntime&&Object.getOwnPropertyNames(n).indexOf("regeneratorRuntime")>=0,i=o&&n.regeneratorRuntime;if(n.regeneratorRuntime=void 0,t.exports=r("HhN8"),o)n.regeneratorRuntime=i;else try{delete n.regeneratorRuntime}catch(t){n.regeneratorRuntime=void 0}},"2KxR":function(t,e){t.exports=function(t,e,r,n){if(!(t instanceof e)||void 0!==n&&n in t)throw TypeError(r+": incorrect invocation!");return t}},"3E4D":function(t,e,r){"use strict";var n=r("zL8q");r.n(n);e.a={showmsg:function(t,e){Object(n.Message)({duration:1e3,message:t,type:e})}}},"3Xzz":function(t,e,r){"use strict";var n=r("P9l9"),o=r("Ch4/"),i={name:"navpath",data:function(){return{projectName:"member"}},props:{navpath:{type:Array,default:function(){return[]}},slotFlag:{type:Boolean,default:!1},navtip:{type:Boolean,default:!1},subNavText:{type:String,default:""}},methods:{changeRoute:function(t,e){e?window.location.href=t:this.$router.push(t)},getNavPath:function(){var t=this,e={project:t.projectName,path:t.$route.path.split("/")[1]};Object(n.b)("/api-auth/get-current-memu-data",e).then(function(e){var r=e.data;if(0==r.errorCode)return!!r.result&&(t.navpath=[],void(r.result.list&&r.result.list.length&&r.result.list.forEach(function(e,n){e.name=e.menuName,e.path="",n==r.result.list.length-1&&(e.path="/"+e.menuUrl),n>0&&t.navpath.push(e)})));o.a.errorMsg(r)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})}},mounted:function(){}},a={render:function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"navwrap border-box"},[r("el-breadcrumb",{attrs:{"separator-class":"el-icon-arrow-right"}},[t._l(t.navpath,function(e,n){return[e.path?[r("el-breadcrumb-item",{key:"nav"+n,attrs:{to:{path:e.path}},on:{click:function(r){return t.changeRoute(e.path,e.relocation)}}},[r("span",{staticClass:"el-breadcrumb__inner is-link",on:{click:function(r){return t.changeRoute(e.path,e.relocation)}}},[t._v("\n "+t._s(e.name)+"\n ")])])]:[r("el-breadcrumb-item",{key:"nav"+n},[t._v(t._s(e.name))])]]})],2)],1)},staticRenderFns:[]};var s=r("VU/8")(i,a,!1,function(t){r("jd4q")},"data-v-0c26364e",null);e.a=s.exports},"3fs2":function(t,e,r){var n=r("RY/4"),o=r("dSzd")("iterator"),i=r("/bQp");t.exports=r("FeBl").getIteratorMethod=function(t){if(void 0!=t)return t[o]||t["@@iterator"]||i[n(t)]}},"82Mu":function(t,e,r){var n=r("7KvD"),o=r("L42u").set,i=n.MutationObserver||n.WebKitMutationObserver,a=n.process,s=n.Promise,c="process"==r("R9M2")(a);t.exports=function(){var t,e,r,u=function(){var n,o;for(c&&(n=a.domain)&&n.exit();t;){o=t.fn,t=t.next;try{o()}catch(n){throw t?r():e=void 0,n}}e=void 0,n&&n.enter()};if(c)r=function(){a.nextTick(u)};else if(!i||n.navigator&&n.navigator.standalone)if(s&&s.resolve){var l=s.resolve(void 0);r=function(){l.then(u)}}else r=function(){o.call(n,u)};else{var f=!0,p=document.createTextNode("");new i(u).observe(p,{characterData:!0}),r=function(){p.data=f=!f}}return function(n){var o={fn:n,next:void 0};e&&(e.next=o),t||(t=o,r()),e=o}}},CXw9:function(t,e,r){"use strict";var n,o,i,a,s=r("O4g8"),c=r("7KvD"),u=r("+ZMJ"),l=r("RY/4"),f=r("kM2E"),p=r("EqjI"),h=r("lOnJ"),d=r("2KxR"),v=r("NWt+"),m=r("t8x9"),g=r("L42u").set,y=r("82Mu")(),w=r("qARP"),b=r("dNDb"),x=r("iUbK"),j=r("fJUb"),_=c.TypeError,O=c.process,P=O&&O.versions,N=P&&P.v8||"",C=c.Promise,L="process"==l(O),R=function(){},E=o=w.f,k=!!function(){try{var t=C.resolve(1),e=(t.constructor={})[r("dSzd")("species")]=function(t){t(R,R)};return(L||"function"==typeof PromiseRejectionEvent)&&t.then(R)instanceof e&&0!==N.indexOf("6.6")&&-1===x.indexOf("Chrome/66")}catch(t){}}(),S=function(t){var e;return!(!p(t)||"function"!=typeof(e=t.then))&&e},A=function(t,e){if(!t._n){t._n=!0;var r=t._c;y(function(){for(var n=t._v,o=1==t._s,i=0,a=function(e){var r,i,a,s=o?e.ok:e.fail,c=e.resolve,u=e.reject,l=e.domain;try{s?(o||(2==t._h&&F(t),t._h=1),!0===s?r=n:(l&&l.enter(),r=s(n),l&&(l.exit(),a=!0)),r===e.promise?u(_("Promise-chain cycle")):(i=S(r))?i.call(r,c,u):c(r)):u(n)}catch(t){l&&!a&&l.exit(),u(t)}};r.length>i;)a(r[i++]);t._c=[],t._n=!1,e&&!t._h&&D(t)})}},D=function(t){g.call(c,function(){var e,r,n,o=t._v,i=M(t);if(i&&(e=b(function(){L?O.emit("unhandledRejection",o,t):(r=c.onunhandledrejection)?r({promise:t,reason:o}):(n=c.console)&&n.error&&n.error("Unhandled promise rejection",o)}),t._h=L||M(t)?2:1),t._a=void 0,i&&e.e)throw e.v})},M=function(t){return 1!==t._h&&0===(t._a||t._c).length},F=function(t){g.call(c,function(){var e;L?O.emit("rejectionHandled",t):(e=c.onrejectionhandled)&&e({promise:t,reason:t._v})})},I=function(t){var e=this;e._d||(e._d=!0,(e=e._w||e)._v=t,e._s=2,e._a||(e._a=e._c.slice()),A(e,!0))},T=function(t){var e,r=this;if(!r._d){r._d=!0,r=r._w||r;try{if(r===t)throw _("Promise can't be resolved itself");(e=S(t))?y(function(){var n={_w:r,_d:!1};try{e.call(t,u(T,n,1),u(I,n,1))}catch(t){I.call(n,t)}}):(r._v=t,r._s=1,A(r,!1))}catch(t){I.call({_w:r,_d:!1},t)}}};k||(C=function(t){d(this,C,"Promise","_h"),h(t),n.call(this);try{t(u(T,this,1),u(I,this,1))}catch(t){I.call(this,t)}},(n=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=r("xH/j")(C.prototype,{then:function(t,e){var r=E(m(this,C));return r.ok="function"!=typeof t||t,r.fail="function"==typeof e&&e,r.domain=L?O.domain:void 0,this._c.push(r),this._a&&this._a.push(r),this._s&&A(this,!1),r.promise},catch:function(t){return this.then(void 0,t)}}),i=function(){var t=new n;this.promise=t,this.resolve=u(T,t,1),this.reject=u(I,t,1)},w.f=E=function(t){return t===C||t===a?new i(t):o(t)}),f(f.G+f.W+f.F*!k,{Promise:C}),r("e6n0")(C,"Promise"),r("bRrM")("Promise"),a=r("FeBl").Promise,f(f.S+f.F*!k,"Promise",{reject:function(t){var e=E(this);return(0,e.reject)(t),e.promise}}),f(f.S+f.F*(s||!k),"Promise",{resolve:function(t){return j(s&&this===a?C:this,t)}}),f(f.S+f.F*!(k&&r("dY0y")(function(t){C.all(t).catch(R)})),"Promise",{all:function(t){var e=this,r=E(e),n=r.resolve,o=r.reject,i=b(function(){var r=[],i=0,a=1;v(t,!1,function(t){var s=i++,c=!1;r.push(void 0),a++,e.resolve(t).then(function(t){c||(c=!0,r[s]=t,--a||n(r))},o)}),--a||n(r)});return i.e&&o(i.v),r.promise},race:function(t){var e=this,r=E(e),n=r.reject,o=b(function(){v(t,!1,function(t){e.resolve(t).then(r.resolve,n)})});return o.e&&n(o.v),r.promise}})},"Ch4/":function(t,e,r){"use strict";var n=r("zL8q");r.n(n);e.a={errorMsg:function(t){var e=window.location.origin;if(1!=t.errorCode){if(10==t.errorCode)return window.location.href=e+"/haoban-3/#/index",!1;n.Message.error({duration:1e3,message:t.message})}}}},CwSZ:function(t,e,r){"use strict";var n=r("p8xL"),o=r("XgCd"),i={brackets:function(t){return t+"[]"},indices:function(t,e){return t+"["+e+"]"},repeat:function(t){return t}},a=Date.prototype.toISOString,s={delimiter:"&",encode:!0,encoder:n.encode,encodeValuesOnly:!1,serializeDate:function(t){return a.call(t)},skipNulls:!1,strictNullHandling:!1},c=function t(e,r,o,i,a,c,u,l,f,p,h,d){var v=e;if("function"==typeof u)v=u(r,v);else if(v instanceof Date)v=p(v);else if(null===v){if(i)return c&&!d?c(r,s.encoder):r;v=""}if("string"==typeof v||"number"==typeof v||"boolean"==typeof v||n.isBuffer(v))return c?[h(d?r:c(r,s.encoder))+"="+h(c(v,s.encoder))]:[h(r)+"="+h(String(v))];var m,g=[];if(void 0===v)return g;if(Array.isArray(u))m=u;else{var y=Object.keys(v);m=l?y.sort(l):y}for(var w=0;w<m.length;++w){var b=m[w];a&&null===v[b]||(g=Array.isArray(v)?g.concat(t(v[b],o(r,b),o,i,a,c,u,l,f,p,h,d)):g.concat(t(v[b],r+(f?"."+b:"["+b+"]"),o,i,a,c,u,l,f,p,h,d)))}return g};t.exports=function(t,e){var r=t,a=e?n.assign({},e):{};if(null!==a.encoder&&void 0!==a.encoder&&"function"!=typeof a.encoder)throw new TypeError("Encoder has to be a function.");var u=void 0===a.delimiter?s.delimiter:a.delimiter,l="boolean"==typeof a.strictNullHandling?a.strictNullHandling:s.strictNullHandling,f="boolean"==typeof a.skipNulls?a.skipNulls:s.skipNulls,p="boolean"==typeof a.encode?a.encode:s.encode,h="function"==typeof a.encoder?a.encoder:s.encoder,d="function"==typeof a.sort?a.sort:null,v=void 0!==a.allowDots&&a.allowDots,m="function"==typeof a.serializeDate?a.serializeDate:s.serializeDate,g="boolean"==typeof a.encodeValuesOnly?a.encodeValuesOnly:s.encodeValuesOnly;if(void 0===a.format)a.format=o.default;else if(!Object.prototype.hasOwnProperty.call(o.formatters,a.format))throw new TypeError("Unknown format option provided.");var y,w,b=o.formatters[a.format];"function"==typeof a.filter?r=(w=a.filter)("",r):Array.isArray(a.filter)&&(y=w=a.filter);var x,j=[];if("object"!=typeof r||null===r)return"";x=a.arrayFormat in i?a.arrayFormat:"indices"in a?a.indices?"indices":"repeat":"indices";var _=i[x];y||(y=Object.keys(r)),d&&y.sort(d);for(var O=0;O<y.length;++O){var P=y[O];f&&null===r[P]||(j=j.concat(c(r[P],P,_,l,f,p?h:null,w,d,v,m,b,g)))}var N=j.join(u),C=!0===a.addQueryPrefix?"?":"";return N.length>0?C+N:""}},DDCP:function(t,e,r){"use strict";var n=r("p8xL"),o=Object.prototype.hasOwnProperty,i={allowDots:!1,allowPrototypes:!1,arrayLimit:20,decoder:n.decode,delimiter:"&",depth:5,parameterLimit:1e3,plainObjects:!1,strictNullHandling:!1},a=function(t,e,r){if(t){var n=r.allowDots?t.replace(/\.([^.[]+)/g,"[$1]"):t,i=/(\[[^[\]]*])/g,a=/(\[[^[\]]*])/.exec(n),s=a?n.slice(0,a.index):n,c=[];if(s){if(!r.plainObjects&&o.call(Object.prototype,s)&&!r.allowPrototypes)return;c.push(s)}for(var u=0;null!==(a=i.exec(n))&&u<r.depth;){if(u+=1,!r.plainObjects&&o.call(Object.prototype,a[1].slice(1,-1))&&!r.allowPrototypes)return;c.push(a[1])}return a&&c.push("["+n.slice(a.index)+"]"),function(t,e,r){for(var n=e,o=t.length-1;o>=0;--o){var i,a=t[o];if("[]"===a)i=(i=[]).concat(n);else{i=r.plainObjects?Object.create(null):{};var s="["===a.charAt(0)&&"]"===a.charAt(a.length-1)?a.slice(1,-1):a,c=parseInt(s,10);!isNaN(c)&&a!==s&&String(c)===s&&c>=0&&r.parseArrays&&c<=r.arrayLimit?(i=[])[c]=n:i[s]=n}n=i}return n}(c,e,r)}};t.exports=function(t,e){var r=e?n.assign({},e):{};if(null!==r.decoder&&void 0!==r.decoder&&"function"!=typeof r.decoder)throw new TypeError("Decoder has to be a function.");if(r.ignoreQueryPrefix=!0===r.ignoreQueryPrefix,r.delimiter="string"==typeof r.delimiter||n.isRegExp(r.delimiter)?r.delimiter:i.delimiter,r.depth="number"==typeof r.depth?r.depth:i.depth,r.arrayLimit="number"==typeof r.arrayLimit?r.arrayLimit:i.arrayLimit,r.parseArrays=!1!==r.parseArrays,r.decoder="function"==typeof r.decoder?r.decoder:i.decoder,r.allowDots="boolean"==typeof r.allowDots?r.allowDots:i.allowDots,r.plainObjects="boolean"==typeof r.plainObjects?r.plainObjects:i.plainObjects,r.allowPrototypes="boolean"==typeof r.allowPrototypes?r.allowPrototypes:i.allowPrototypes,r.parameterLimit="number"==typeof r.parameterLimit?r.parameterLimit:i.parameterLimit,r.strictNullHandling="boolean"==typeof r.strictNullHandling?r.strictNullHandling:i.strictNullHandling,""===t||null===t||void 0===t)return r.plainObjects?Object.create(null):{};for(var s="string"==typeof t?function(t,e){for(var r={},n=e.ignoreQueryPrefix?t.replace(/^\?/,""):t,a=e.parameterLimit===1/0?void 0:e.parameterLimit,s=n.split(e.delimiter,a),c=0;c<s.length;++c){var u,l,f=s[c],p=f.indexOf("]="),h=-1===p?f.indexOf("="):p+1;-1===h?(u=e.decoder(f,i.decoder),l=e.strictNullHandling?null:""):(u=e.decoder(f.slice(0,h),i.decoder),l=e.decoder(f.slice(h+1),i.decoder)),o.call(r,u)?r[u]=[].concat(r[u]).concat(l):r[u]=l}return r}(t,r):t,c=r.plainObjects?Object.create(null):{},u=Object.keys(s),l=0;l<u.length;++l){var f=u[l],p=a(f,s[f],r);c=n.merge(c,p,r)}return n.compact(c)}},EqBC:function(t,e,r){"use strict";var n=r("kM2E"),o=r("FeBl"),i=r("7KvD"),a=r("t8x9"),s=r("fJUb");n(n.P+n.R,"Promise",{finally:function(t){var e=a(this,o.Promise||i.Promise),r="function"==typeof t;return this.then(r?function(r){return s(e,t()).then(function(){return r})}:t,r?function(r){return s(e,t()).then(function(){throw r})}:t)}})},HhN8:function(t,e){!function(e){"use strict";var r,n=Object.prototype,o=n.hasOwnProperty,i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",s=i.asyncIterator||"@@asyncIterator",c=i.toStringTag||"@@toStringTag",u="object"==typeof t,l=e.regeneratorRuntime;if(l)u&&(t.exports=l);else{(l=e.regeneratorRuntime=u?t.exports:{}).wrap=b;var f="suspendedStart",p="suspendedYield",h="executing",d="completed",v={},m={};m[a]=function(){return this};var g=Object.getPrototypeOf,y=g&&g(g(k([])));y&&y!==n&&o.call(y,a)&&(m=y);var w=O.prototype=j.prototype=Object.create(m);_.prototype=w.constructor=O,O.constructor=_,O[c]=_.displayName="GeneratorFunction",l.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===_||"GeneratorFunction"===(e.displayName||e.name))},l.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,O):(t.__proto__=O,c in t||(t[c]="GeneratorFunction")),t.prototype=Object.create(w),t},l.awrap=function(t){return{__await:t}},P(N.prototype),N.prototype[s]=function(){return this},l.AsyncIterator=N,l.async=function(t,e,r,n){var o=new N(b(t,e,r,n));return l.isGeneratorFunction(e)?o:o.next().then(function(t){return t.done?t.value:o.next()})},P(w),w[c]="Generator",w[a]=function(){return this},w.toString=function(){return"[object Generator]"},l.keys=function(t){var e=[];for(var r in t)e.push(r);return e.reverse(),function r(){for(;e.length;){var n=e.pop();if(n in t)return r.value=n,r.done=!1,r}return r.done=!0,r}},l.values=k,E.prototype={constructor:E,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=r,this.done=!1,this.delegate=null,this.method="next",this.arg=r,this.tryEntries.forEach(R),!t)for(var e in this)"t"===e.charAt(0)&&o.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=r)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(n,o){return s.type="throw",s.arg=t,e.next=n,o&&(e.method="next",e.arg=r),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var c=o.call(a,"catchLoc"),u=o.call(a,"finallyLoc");if(c&&u){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&o.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var i=n;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,v):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),v},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),R(r),v}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;R(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:k(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=r),v}}}function b(t,e,r,n){var o=e&&e.prototype instanceof j?e:j,i=Object.create(o.prototype),a=new E(n||[]);return i._invoke=function(t,e,r){var n=f;return function(o,i){if(n===h)throw new Error("Generator is already running");if(n===d){if("throw"===o)throw i;return S()}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var s=C(a,r);if(s){if(s===v)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(n===f)throw n=d,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n=h;var c=x(t,e,r);if("normal"===c.type){if(n=r.done?d:p,c.arg===v)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(n=d,r.method="throw",r.arg=c.arg)}}}(t,r,a),i}function x(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}function j(){}function _(){}function O(){}function P(t){["next","throw","return"].forEach(function(e){t[e]=function(t){return this._invoke(e,t)}})}function N(t){var e;this._invoke=function(r,n){function i(){return new Promise(function(e,i){!function e(r,n,i,a){var s=x(t[r],t,n);if("throw"!==s.type){var c=s.arg,u=c.value;return u&&"object"==typeof u&&o.call(u,"__await")?Promise.resolve(u.__await).then(function(t){e("next",t,i,a)},function(t){e("throw",t,i,a)}):Promise.resolve(u).then(function(t){c.value=t,i(c)},a)}a(s.arg)}(r,n,e,i)})}return e=e?e.then(i,i):i()}}function C(t,e){var n=t.iterator[e.method];if(n===r){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=r,C(t,e),"throw"===e.method))return v;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return v}var o=x(n,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,v;var i=o.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=r),e.delegate=null,v):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,v)}function L(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function R(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function E(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(L,this),this.reset(!0)}function k(t){if(t){var e=t[a];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,i=function e(){for(;++n<t.length;)if(o.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=r,e.done=!0,e};return i.next=i}}return{next:S}}function S(){return{value:r,done:!0}}}(function(){return this}()||Function("return this")())},L42u:function(t,e,r){var n,o,i,a=r("+ZMJ"),s=r("knuC"),c=r("RPLV"),u=r("ON07"),l=r("7KvD"),f=l.process,p=l.setImmediate,h=l.clearImmediate,d=l.MessageChannel,v=l.Dispatch,m=0,g={},y=function(){var t=+this;if(g.hasOwnProperty(t)){var e=g[t];delete g[t],e()}},w=function(t){y.call(t.data)};p&&h||(p=function(t){for(var e=[],r=1;arguments.length>r;)e.push(arguments[r++]);return g[++m]=function(){s("function"==typeof t?t:Function(t),e)},n(m),m},h=function(t){delete g[t]},"process"==r("R9M2")(f)?n=function(t){f.nextTick(a(y,t,1))}:v&&v.now?n=function(t){v.now(a(y,t,1))}:d?(i=(o=new d).port2,o.port1.onmessage=w,n=a(i.postMessage,i,1)):l.addEventListener&&"function"==typeof postMessage&&!l.importScripts?(n=function(t){l.postMessage(t+"","*")},l.addEventListener("message",w,!1)):n="onreadystatechange"in u("script")?function(t){c.appendChild(u("script")).onreadystatechange=function(){c.removeChild(this),y.call(t)}}:function(t){setTimeout(a(y,t,1),0)}),t.exports={set:p,clear:h}},Mhyx:function(t,e,r){var n=r("/bQp"),o=r("dSzd")("iterator"),i=Array.prototype;t.exports=function(t){return void 0!==t&&(n.Array===t||i[o]===t)}},NKg7:function(t,e,r){"use strict";var n=r("mvHQ"),o=r.n(n),i=r("P9l9"),a=r("Ch4/"),s=r("mw3O"),c=r.n(s),u={name:"vue-office-header",props:["menuRouter","collapseFlag","projectName"],data:function(){return{repProjectName:"haoban-manage-web",pathName:"",isCollapse:!1,menuHead:[],baseUrl:"",routePathName:"",userInfo:{name:"",phoneNumber:"",headPic:"",staffDTO:{staffName:""}}}},beforeMount:function(){var t=window.location.origin;"-1"!=t.indexOf("localhost")?this.baseUrl="http://www.gicdev.com":this.baseUrl=t},methods:{changeRouter:function(t){this.$router.push(t)},handleCollapse:function(){this.isCollapse=1!=this.isCollapse,this.$emit("collapseTag",this.isCollapse)},toGicLogin:function(){var t=window.location.origin.includes("demogic.com")?window.location.origin:"https://hope.demogic.com";window.location.href=t+"/gic-web/#/"},toLoginOut:function(){var t=this;t.$confirm("确认退出吗?","提示",{type:"warning"}).then(function(){t.axios.post("/haoban-manage3-web/logout",{}).then(function(e){var r=e.data;if(1==r.errorCode)return t.$message({message:"退出成功",type:"success"}),void(window.location.href=window.location.origin+"/haoban-3/#/login");t.$message.error({duration:1e3,message:r.message})}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})}).catch(function(){})},toRouter:function(t,e,r){var n={path:"/"+t,name:e};this.$emit("toRouterView",n)},treeData:function(t){return t.filter(function(e){var r=t.filter(function(t){return e.haobanMenuRightId==t.parentRightId});return r.length>0&&(e.children=r),-1==e.parentRightId})},getMenuDetail:function(){var t=this,e={router:t.routePathName,project:t.repProjectName,requestProject:t.repProjectName};t.axios.post(t.baseUrl+"/haoban-manage-web/menu-detail",c.a.stringify(e)).then(function(e){var r=e.data;1!=r.errorCode?t.$message.error({duration:1e3,message:r.message}):t.pathName="/"+r.result.top.url}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},getHeaderMenu:function(){var t=this,e={project:t.repProjectName,requestProject:t.repProjectName};t.axios.post(t.baseUrl+"/haoban-manage-web/menu-list",c.a.stringify(e)).then(function(e){var r=e.data;if(1==r.errorCode)return r.result.forEach(function(t,e){t.url="/"+t.url}),t.menuHead=t.treeData(r.result),void t.$nextTick(function(){t.userInfo=JSON.parse(localStorage.getItem("userInfo")),t.userInfo||(t.userInfo={name:"",headPic:"",phoneNumber:""},t.getUserData())});t.$message.error({duration:1e3,message:r.message})}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},getUserData:function(){var t=this;t.axios.get(t.baseUrl+"/haoban-manage-web/emp/get-user-info",{}).then(function(e){var r=e.data;if(1==r.errorCode)return t.userInfo=r.result,void localStorage.setItem("userInfo",o()(r.result));t.$message.error({duration:1e3,message:r.message})}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},toLogin:function(){var t=this;Object(i.b)("/haoban-manage3-web/get-login-info",{}).then(function(e){var r=e.data;if(1==r.errorCode)return localStorage.setItem("userInfo",o()(r.result)),void(t.userInfo=r.result);a.a.errorMsg(r)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})}},watch:{$route:{handler:function(t,e){},deep:!0},collapseFlag:function(t,e){this.isCollapse=t},projectName:function(t,e){this.repProjectName=t||"haoban-manage-web"}},mounted:function(){this.pathName=this.$route.path,this.routePathName=window.location.hash.split("/")[1],-1!=this.routePathName.indexOf("?")&&(this.routePathName=this.routePathName.split("?")[0]),-1!=this.routePathName.indexOf("/")&&(this.routePathName=this.routePathName.split("/")[0]),this.repProjectName=this.projectName||"haoban-manage-web",this.isCollapse=this.collapseFlag,localStorage.getItem("userInfo")||this.toLogin()}},l={render:function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"navheader"},[r("div",{staticClass:"navheader-logo fl",class:{moveleft:t.isCollapse,moveright:!t.isCollapse}},[r("span",{staticClass:"pro-name"},[t._v("好办管理平台")])]),t._v(" "),r("div",{staticClass:"navheader-item fl"},[t._l(t.menuHead,function(e,n){return[r("a",{key:n,class:["itemlink bottom menu-mall menu-font-16",t.pathName==e.url?"current-module":""],on:{click:function(r){return t.changeRouter(e.url)}}},[t._v("\n "+t._s(e.rightName)+"\n ")])]}),t._v(" "),r("div",{staticClass:"navuserinfo fr"},[r("span",{staticClass:"span-log color-909399 iconfont iconrizhifuwu"}),t._v(" "),r("el-popover",{staticStyle:{"min-width":"95px"},attrs:{placement:"bottom",title:"",width:"95",trigger:"hover","popper-class":"user-header-pop"}},[r("ul",{staticClass:"navsuerwrap"},[r("li",{staticClass:"user-item loginout",staticStyle:{"text-align":"center"},on:{click:function(e){return e.stopPropagation(),t.toLoginOut(e)}}},[r("a",{staticClass:"usertext"},[t._v("退出登录")])])]),t._v(" "),r("a",{staticClass:"nav-user-name",attrs:{slot:"reference"},slot:"reference"},[r("span",{staticClass:"font-12 color-606266"},[t._v(t._s(t.userInfo.staffDTO.staffName||"--"))]),t._v(" "),r("i",{staticClass:"iconfont iconxiala arrowico"})])])],1)],2)])},staticRenderFns:[]};var f=r("VU/8")(u,l,!1,function(t){r("y7ak")},"data-v-3a8cf170",null);e.a=f.exports},"NWt+":function(t,e,r){var n=r("+ZMJ"),o=r("msXi"),i=r("Mhyx"),a=r("77Pl"),s=r("QRG4"),c=r("3fs2"),u={},l={};(e=t.exports=function(t,e,r,f,p){var h,d,v,m,g=p?function(){return t}:c(t),y=n(r,f,e?2:1),w=0;if("function"!=typeof g)throw TypeError(t+" is not iterable!");if(i(g)){for(h=s(t.length);h>w;w++)if((m=e?y(a(d=t[w])[0],d[1]):y(t[w]))===u||m===l)return m}else for(v=g.call(t);!(d=v.next()).done;)if((m=o(v,y,d.value,e))===u||m===l)return m}).BREAK=u,e.RETURN=l},P9l9:function(t,e,r){"use strict";r.d(e,"a",function(){return p}),r.d(e,"b",function(){return h});var n=r("//Fk"),o=r.n(n),i=r("lRwf"),a=r.n(i),s=r("mw3O"),c=r.n(s),u=r("zL8q");r.n(u);if(localStorage.getItem("userInfo")){var l=JSON.parse(localStorage.getItem("userInfo")).enterpriseId;a.a.axios.defaults.headers.post.haobansign=l,a.a.axios.defaults.headers.get.haobansign=l}a.a.axios.defaults.timeout=25e3;var f=window.location.origin;a.a.axios.interceptors.request.use(function(t){return t},function(t){return u.Message.error({message:"请求超时!"}),o.a.resolve(t)}),a.a.axios.interceptors.response.use(function(t){return t.status&&200==t.status&&1!=t.data.errorCode?(4!=t.data.errorCode||-1==window.location.href.indexOf("gic-error"))&&(10==t.data.errorCode||t.data.errorCode,t):t},function(t){return 504==t.response.status||404==t.response.status||t.response.status,o.a.resolve(t)});var p=function(t,e){return e.requestProject="haoban-manage-web",a.a.axios({method:"get",url:""+f+t,data:{},params:e,headers:{"Content-type":"application/x-www-form-urlencoded"}})},h=function(t,e){return e.requestProject="haoban-manage-web",a.a.axios({method:"post",url:""+f+t,data:c.a.stringify(e),headers:{"Content-type":"application/x-www-form-urlencoded"}})}},PI0u:function(t,e,r){"use strict";e.a=function(t,e){var r,e=e||200;return function(){var n=this,o=arguments;r&&clearTimeout(r),r=setTimeout(function(){r=null,t.apply(n,o)},e)}}},"RY/4":function(t,e,r){var n=r("R9M2"),o=r("dSzd")("toStringTag"),i="Arguments"==n(function(){return arguments}());t.exports=function(t){var e,r,a;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=function(t,e){try{return t[e]}catch(t){}}(e=Object(t),o))?r:i?n(e):"Object"==(a=n(e))&&"function"==typeof e.callee?"Arguments":a}},U5ju:function(t,e,r){r("M6a0"),r("zQR9"),r("+tPU"),r("CXw9"),r("EqBC"),r("jKW+"),t.exports=r("FeBl").Promise},XgCd:function(t,e,r){"use strict";var n=String.prototype.replace,o=/%20/g;t.exports={default:"RFC3986",formatters:{RFC1738:function(t){return n.call(t,o,"+")},RFC3986:function(t){return t}},RFC1738:"RFC1738",RFC3986:"RFC3986"}},Xxa5:function(t,e,r){t.exports=r("1H6C")},bRrM:function(t,e,r){"use strict";var n=r("7KvD"),o=r("FeBl"),i=r("evD5"),a=r("+E39"),s=r("dSzd")("species");t.exports=function(t){var e="function"==typeof o[t]?o[t]:n[t];a&&e&&!e[s]&&i.f(e,s,{configurable:!0,get:function(){return this}})}},dNDb:function(t,e){t.exports=function(t){try{return{e:!1,v:t()}}catch(t){return{e:!0,v:t}}}},dY0y:function(t,e,r){var n=r("dSzd")("iterator"),o=!1;try{var i=[7][n]();i.return=function(){o=!0},Array.from(i,function(){throw 2})}catch(t){}t.exports=function(t,e){if(!e&&!o)return!1;var r=!1;try{var i=[7],a=i[n]();a.next=function(){return{done:r=!0}},i[n]=function(){return a},t(i)}catch(t){}return r}},exGp:function(t,e,r){"use strict";e.__esModule=!0;var n,o=r("//Fk"),i=(n=o)&&n.__esModule?n:{default:n};e.default=function(t){return function(){var e=t.apply(this,arguments);return new i.default(function(t,r){return function n(o,a){try{var s=e[o](a),c=s.value}catch(t){return void r(t)}if(!s.done)return i.default.resolve(c).then(function(t){n("next",t)},function(t){n("throw",t)});t(c)}("next")})}}},fJUb:function(t,e,r){var n=r("77Pl"),o=r("EqjI"),i=r("qARP");t.exports=function(t,e){if(n(t),o(e)&&e.constructor===t)return e;var r=i.f(t);return(0,r.resolve)(e),r.promise}},iUbK:function(t,e,r){var n=r("7KvD").navigator;t.exports=n&&n.userAgent||""},"jKW+":function(t,e,r){"use strict";var n=r("kM2E"),o=r("qARP"),i=r("dNDb");n(n.S,"Promise",{try:function(t){var e=o.f(this),r=i(t);return(r.e?e.reject:e.resolve)(r.v),e.promise}})},jd4q:function(t,e){},knuC:function(t,e){t.exports=function(t,e,r){var n=void 0===r;switch(e.length){case 0:return n?t():t.call(r);case 1:return n?t(e[0]):t.call(r,e[0]);case 2:return n?t(e[0],e[1]):t.call(r,e[0],e[1]);case 3:return n?t(e[0],e[1],e[2]):t.call(r,e[0],e[1],e[2]);case 4:return n?t(e[0],e[1],e[2],e[3]):t.call(r,e[0],e[1],e[2],e[3])}return t.apply(r,e)}},msXi:function(t,e,r){var n=r("77Pl");t.exports=function(t,e,r,o){try{return o?e(n(r)[0],r[1]):e(r)}catch(e){var i=t.return;throw void 0!==i&&n(i.call(t)),e}}},mvHQ:function(t,e,r){t.exports={default:r("qkKv"),__esModule:!0}},mw3O:function(t,e,r){"use strict";var n=r("CwSZ"),o=r("DDCP"),i=r("XgCd");t.exports={formats:i,parse:o,stringify:n}},p8xL:function(t,e,r){"use strict";var n=Object.prototype.hasOwnProperty,o=function(){for(var t=[],e=0;e<256;++e)t.push("%"+((e<16?"0":"")+e.toString(16)).toUpperCase());return t}(),i=function(t,e){for(var r=e&&e.plainObjects?Object.create(null):{},n=0;n<t.length;++n)void 0!==t[n]&&(r[n]=t[n]);return r};t.exports={arrayToObject:i,assign:function(t,e){return Object.keys(e).reduce(function(t,r){return t[r]=e[r],t},t)},compact:function(t){for(var e=[{obj:{o:t},prop:"o"}],r=[],n=0;n<e.length;++n)for(var o=e[n],i=o.obj[o.prop],a=Object.keys(i),s=0;s<a.length;++s){var c=a[s],u=i[c];"object"==typeof u&&null!==u&&-1===r.indexOf(u)&&(e.push({obj:i,prop:c}),r.push(u))}return function(t){for(var e;t.length;){var r=t.pop();if(e=r.obj[r.prop],Array.isArray(e)){for(var n=[],o=0;o<e.length;++o)void 0!==e[o]&&n.push(e[o]);r.obj[r.prop]=n}}return e}(e)},decode:function(t){try{return decodeURIComponent(t.replace(/\+/g," "))}catch(e){return t}},encode:function(t){if(0===t.length)return t;for(var e="string"==typeof t?t:String(t),r="",n=0;n<e.length;++n){var i=e.charCodeAt(n);45===i||46===i||95===i||126===i||i>=48&&i<=57||i>=65&&i<=90||i>=97&&i<=122?r+=e.charAt(n):i<128?r+=o[i]:i<2048?r+=o[192|i>>6]+o[128|63&i]:i<55296||i>=57344?r+=o[224|i>>12]+o[128|i>>6&63]+o[128|63&i]:(n+=1,i=65536+((1023&i)<<10|1023&e.charCodeAt(n)),r+=o[240|i>>18]+o[128|i>>12&63]+o[128|i>>6&63]+o[128|63&i])}return r},isBuffer:function(t){return null!==t&&void 0!==t&&!!(t.constructor&&t.constructor.isBuffer&&t.constructor.isBuffer(t))},isRegExp:function(t){return"[object RegExp]"===Object.prototype.toString.call(t)},merge:function t(e,r,o){if(!r)return e;if("object"!=typeof r){if(Array.isArray(e))e.push(r);else{if("object"!=typeof e)return[e,r];(o.plainObjects||o.allowPrototypes||!n.call(Object.prototype,r))&&(e[r]=!0)}return e}if("object"!=typeof e)return[e].concat(r);var a=e;return Array.isArray(e)&&!Array.isArray(r)&&(a=i(e,o)),Array.isArray(e)&&Array.isArray(r)?(r.forEach(function(r,i){n.call(e,i)?e[i]&&"object"==typeof e[i]?e[i]=t(e[i],r,o):e.push(r):e[i]=r}),e):Object.keys(r).reduce(function(e,i){var a=r[i];return n.call(e,i)?e[i]=t(e[i],a,o):e[i]=a,e},a)}}},qARP:function(t,e,r){"use strict";var n=r("lOnJ");t.exports.f=function(t){return new function(t){var e,r;this.promise=new t(function(t,n){if(void 0!==e||void 0!==r)throw TypeError("Bad Promise constructor");e=t,r=n}),this.resolve=n(e),this.reject=n(r)}(t)}},qkKv:function(t,e,r){var n=r("FeBl"),o=n.JSON||(n.JSON={stringify:JSON.stringify});t.exports=function(t){return o.stringify.apply(o,arguments)}},t8x9:function(t,e,r){var n=r("77Pl"),o=r("lOnJ"),i=r("dSzd")("species");t.exports=function(t,e){var r,a=n(t).constructor;return void 0===a||void 0==(r=n(a)[i])?e:o(r)}},"xH/j":function(t,e,r){var n=r("hJx8");t.exports=function(t,e,r){for(var o in e)r&&t[o]?t[o]=e[o]:n(t,o,e[o]);return t}},y7ak:function(t,e){}});
\ No newline at end of file
webpackJsonp([0],{"+Lhd":function(t,e){},"//Fk":function(t,e,r){t.exports={default:r("U5ju"),__esModule:!0}},"1H6C":function(t,e,r){var n=function(){return this}()||Function("return this")(),o=n.regeneratorRuntime&&Object.getOwnPropertyNames(n).indexOf("regeneratorRuntime")>=0,i=o&&n.regeneratorRuntime;if(n.regeneratorRuntime=void 0,t.exports=r("HhN8"),o)n.regeneratorRuntime=i;else try{delete n.regeneratorRuntime}catch(t){n.regeneratorRuntime=void 0}},"2KxR":function(t,e){t.exports=function(t,e,r,n){if(!(t instanceof e)||void 0!==n&&n in t)throw TypeError(r+": incorrect invocation!");return t}},"3E4D":function(t,e,r){"use strict";var n=r("zL8q");r.n(n);e.a={showmsg:function(t,e){Object(n.Message)({duration:1e3,message:t,type:e})}}},"3Xzz":function(t,e,r){"use strict";var n=r("P9l9"),o=r("Ch4/"),i={name:"navpath",data:function(){return{projectName:"member"}},props:{navpath:{type:Array,default:function(){return[]}},slotFlag:{type:Boolean,default:!1},navtip:{type:Boolean,default:!1},subNavText:{type:String,default:""}},methods:{changeRoute:function(t,e){e?window.location.href=t:this.$router.push(t)},getNavPath:function(){var t=this,e={project:t.projectName,path:t.$route.path.split("/")[1]};Object(n.b)("/api-auth/get-current-memu-data",e).then(function(e){var r=e.data;if(0==r.errorCode)return!!r.result&&(t.navpath=[],void(r.result.list&&r.result.list.length&&r.result.list.forEach(function(e,n){e.name=e.menuName,e.path="",n==r.result.list.length-1&&(e.path="/"+e.menuUrl),n>0&&t.navpath.push(e)})));o.a.errorMsg(r)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})}},mounted:function(){}},a={render:function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"navwrap border-box"},[r("el-breadcrumb",{attrs:{"separator-class":"el-icon-arrow-right"}},[t._l(t.navpath,function(e,n){return[e.path?[r("el-breadcrumb-item",{key:"nav"+n,attrs:{to:{path:e.path}},on:{click:function(r){return t.changeRoute(e.path,e.relocation)}}},[r("span",{staticClass:"el-breadcrumb__inner is-link",on:{click:function(r){return t.changeRoute(e.path,e.relocation)}}},[t._v("\n "+t._s(e.name)+"\n ")])])]:[r("el-breadcrumb-item",{key:"nav"+n},[t._v(t._s(e.name))])]]})],2)],1)},staticRenderFns:[]};var s=r("VU/8")(i,a,!1,function(t){r("jd4q")},"data-v-0c26364e",null);e.a=s.exports},"3fs2":function(t,e,r){var n=r("RY/4"),o=r("dSzd")("iterator"),i=r("/bQp");t.exports=r("FeBl").getIteratorMethod=function(t){if(void 0!=t)return t[o]||t["@@iterator"]||i[n(t)]}},"82Mu":function(t,e,r){var n=r("7KvD"),o=r("L42u").set,i=n.MutationObserver||n.WebKitMutationObserver,a=n.process,s=n.Promise,c="process"==r("R9M2")(a);t.exports=function(){var t,e,r,u=function(){var n,o;for(c&&(n=a.domain)&&n.exit();t;){o=t.fn,t=t.next;try{o()}catch(n){throw t?r():e=void 0,n}}e=void 0,n&&n.enter()};if(c)r=function(){a.nextTick(u)};else if(!i||n.navigator&&n.navigator.standalone)if(s&&s.resolve){var l=s.resolve(void 0);r=function(){l.then(u)}}else r=function(){o.call(n,u)};else{var f=!0,h=document.createTextNode("");new i(u).observe(h,{characterData:!0}),r=function(){h.data=f=!f}}return function(n){var o={fn:n,next:void 0};e&&(e.next=o),t||(t=o,r()),e=o}}},CXw9:function(t,e,r){"use strict";var n,o,i,a,s=r("O4g8"),c=r("7KvD"),u=r("+ZMJ"),l=r("RY/4"),f=r("kM2E"),h=r("EqjI"),p=r("lOnJ"),d=r("2KxR"),v=r("NWt+"),m=r("t8x9"),g=r("L42u").set,y=r("82Mu")(),w=r("qARP"),b=r("dNDb"),x=r("iUbK"),j=r("fJUb"),_=c.TypeError,O=c.process,P=O&&O.versions,N=P&&P.v8||"",C=c.Promise,L="process"==l(O),R=function(){},E=o=w.f,k=!!function(){try{var t=C.resolve(1),e=(t.constructor={})[r("dSzd")("species")]=function(t){t(R,R)};return(L||"function"==typeof PromiseRejectionEvent)&&t.then(R)instanceof e&&0!==N.indexOf("6.6")&&-1===x.indexOf("Chrome/66")}catch(t){}}(),S=function(t){var e;return!(!h(t)||"function"!=typeof(e=t.then))&&e},A=function(t,e){if(!t._n){t._n=!0;var r=t._c;y(function(){for(var n=t._v,o=1==t._s,i=0,a=function(e){var r,i,a,s=o?e.ok:e.fail,c=e.resolve,u=e.reject,l=e.domain;try{s?(o||(2==t._h&&F(t),t._h=1),!0===s?r=n:(l&&l.enter(),r=s(n),l&&(l.exit(),a=!0)),r===e.promise?u(_("Promise-chain cycle")):(i=S(r))?i.call(r,c,u):c(r)):u(n)}catch(t){l&&!a&&l.exit(),u(t)}};r.length>i;)a(r[i++]);t._c=[],t._n=!1,e&&!t._h&&D(t)})}},D=function(t){g.call(c,function(){var e,r,n,o=t._v,i=M(t);if(i&&(e=b(function(){L?O.emit("unhandledRejection",o,t):(r=c.onunhandledrejection)?r({promise:t,reason:o}):(n=c.console)&&n.error&&n.error("Unhandled promise rejection",o)}),t._h=L||M(t)?2:1),t._a=void 0,i&&e.e)throw e.v})},M=function(t){return 1!==t._h&&0===(t._a||t._c).length},F=function(t){g.call(c,function(){var e;L?O.emit("rejectionHandled",t):(e=c.onrejectionhandled)&&e({promise:t,reason:t._v})})},I=function(t){var e=this;e._d||(e._d=!0,(e=e._w||e)._v=t,e._s=2,e._a||(e._a=e._c.slice()),A(e,!0))},T=function(t){var e,r=this;if(!r._d){r._d=!0,r=r._w||r;try{if(r===t)throw _("Promise can't be resolved itself");(e=S(t))?y(function(){var n={_w:r,_d:!1};try{e.call(t,u(T,n,1),u(I,n,1))}catch(t){I.call(n,t)}}):(r._v=t,r._s=1,A(r,!1))}catch(t){I.call({_w:r,_d:!1},t)}}};k||(C=function(t){d(this,C,"Promise","_h"),p(t),n.call(this);try{t(u(T,this,1),u(I,this,1))}catch(t){I.call(this,t)}},(n=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=r("xH/j")(C.prototype,{then:function(t,e){var r=E(m(this,C));return r.ok="function"!=typeof t||t,r.fail="function"==typeof e&&e,r.domain=L?O.domain:void 0,this._c.push(r),this._a&&this._a.push(r),this._s&&A(this,!1),r.promise},catch:function(t){return this.then(void 0,t)}}),i=function(){var t=new n;this.promise=t,this.resolve=u(T,t,1),this.reject=u(I,t,1)},w.f=E=function(t){return t===C||t===a?new i(t):o(t)}),f(f.G+f.W+f.F*!k,{Promise:C}),r("e6n0")(C,"Promise"),r("bRrM")("Promise"),a=r("FeBl").Promise,f(f.S+f.F*!k,"Promise",{reject:function(t){var e=E(this);return(0,e.reject)(t),e.promise}}),f(f.S+f.F*(s||!k),"Promise",{resolve:function(t){return j(s&&this===a?C:this,t)}}),f(f.S+f.F*!(k&&r("dY0y")(function(t){C.all(t).catch(R)})),"Promise",{all:function(t){var e=this,r=E(e),n=r.resolve,o=r.reject,i=b(function(){var r=[],i=0,a=1;v(t,!1,function(t){var s=i++,c=!1;r.push(void 0),a++,e.resolve(t).then(function(t){c||(c=!0,r[s]=t,--a||n(r))},o)}),--a||n(r)});return i.e&&o(i.v),r.promise},race:function(t){var e=this,r=E(e),n=r.reject,o=b(function(){v(t,!1,function(t){e.resolve(t).then(r.resolve,n)})});return o.e&&n(o.v),r.promise}})},"Ch4/":function(t,e,r){"use strict";var n=r("zL8q");r.n(n);e.a={errorMsg:function(t){var e=window.location.origin;if(1!=t.errorCode){if(10==t.errorCode)return window.location.href=e+"/haoban-3/#/index",!1;n.Message.error({duration:1e3,message:t.message})}}}},CwSZ:function(t,e,r){"use strict";var n=r("p8xL"),o=r("XgCd"),i={brackets:function(t){return t+"[]"},indices:function(t,e){return t+"["+e+"]"},repeat:function(t){return t}},a=Date.prototype.toISOString,s={delimiter:"&",encode:!0,encoder:n.encode,encodeValuesOnly:!1,serializeDate:function(t){return a.call(t)},skipNulls:!1,strictNullHandling:!1},c=function t(e,r,o,i,a,c,u,l,f,h,p,d){var v=e;if("function"==typeof u)v=u(r,v);else if(v instanceof Date)v=h(v);else if(null===v){if(i)return c&&!d?c(r,s.encoder):r;v=""}if("string"==typeof v||"number"==typeof v||"boolean"==typeof v||n.isBuffer(v))return c?[p(d?r:c(r,s.encoder))+"="+p(c(v,s.encoder))]:[p(r)+"="+p(String(v))];var m,g=[];if(void 0===v)return g;if(Array.isArray(u))m=u;else{var y=Object.keys(v);m=l?y.sort(l):y}for(var w=0;w<m.length;++w){var b=m[w];a&&null===v[b]||(g=Array.isArray(v)?g.concat(t(v[b],o(r,b),o,i,a,c,u,l,f,h,p,d)):g.concat(t(v[b],r+(f?"."+b:"["+b+"]"),o,i,a,c,u,l,f,h,p,d)))}return g};t.exports=function(t,e){var r=t,a=e?n.assign({},e):{};if(null!==a.encoder&&void 0!==a.encoder&&"function"!=typeof a.encoder)throw new TypeError("Encoder has to be a function.");var u=void 0===a.delimiter?s.delimiter:a.delimiter,l="boolean"==typeof a.strictNullHandling?a.strictNullHandling:s.strictNullHandling,f="boolean"==typeof a.skipNulls?a.skipNulls:s.skipNulls,h="boolean"==typeof a.encode?a.encode:s.encode,p="function"==typeof a.encoder?a.encoder:s.encoder,d="function"==typeof a.sort?a.sort:null,v=void 0!==a.allowDots&&a.allowDots,m="function"==typeof a.serializeDate?a.serializeDate:s.serializeDate,g="boolean"==typeof a.encodeValuesOnly?a.encodeValuesOnly:s.encodeValuesOnly;if(void 0===a.format)a.format=o.default;else if(!Object.prototype.hasOwnProperty.call(o.formatters,a.format))throw new TypeError("Unknown format option provided.");var y,w,b=o.formatters[a.format];"function"==typeof a.filter?r=(w=a.filter)("",r):Array.isArray(a.filter)&&(y=w=a.filter);var x,j=[];if("object"!=typeof r||null===r)return"";x=a.arrayFormat in i?a.arrayFormat:"indices"in a?a.indices?"indices":"repeat":"indices";var _=i[x];y||(y=Object.keys(r)),d&&y.sort(d);for(var O=0;O<y.length;++O){var P=y[O];f&&null===r[P]||(j=j.concat(c(r[P],P,_,l,f,h?p:null,w,d,v,m,b,g)))}var N=j.join(u),C=!0===a.addQueryPrefix?"?":"";return N.length>0?C+N:""}},DDCP:function(t,e,r){"use strict";var n=r("p8xL"),o=Object.prototype.hasOwnProperty,i={allowDots:!1,allowPrototypes:!1,arrayLimit:20,decoder:n.decode,delimiter:"&",depth:5,parameterLimit:1e3,plainObjects:!1,strictNullHandling:!1},a=function(t,e,r){if(t){var n=r.allowDots?t.replace(/\.([^.[]+)/g,"[$1]"):t,i=/(\[[^[\]]*])/g,a=/(\[[^[\]]*])/.exec(n),s=a?n.slice(0,a.index):n,c=[];if(s){if(!r.plainObjects&&o.call(Object.prototype,s)&&!r.allowPrototypes)return;c.push(s)}for(var u=0;null!==(a=i.exec(n))&&u<r.depth;){if(u+=1,!r.plainObjects&&o.call(Object.prototype,a[1].slice(1,-1))&&!r.allowPrototypes)return;c.push(a[1])}return a&&c.push("["+n.slice(a.index)+"]"),function(t,e,r){for(var n=e,o=t.length-1;o>=0;--o){var i,a=t[o];if("[]"===a)i=(i=[]).concat(n);else{i=r.plainObjects?Object.create(null):{};var s="["===a.charAt(0)&&"]"===a.charAt(a.length-1)?a.slice(1,-1):a,c=parseInt(s,10);!isNaN(c)&&a!==s&&String(c)===s&&c>=0&&r.parseArrays&&c<=r.arrayLimit?(i=[])[c]=n:i[s]=n}n=i}return n}(c,e,r)}};t.exports=function(t,e){var r=e?n.assign({},e):{};if(null!==r.decoder&&void 0!==r.decoder&&"function"!=typeof r.decoder)throw new TypeError("Decoder has to be a function.");if(r.ignoreQueryPrefix=!0===r.ignoreQueryPrefix,r.delimiter="string"==typeof r.delimiter||n.isRegExp(r.delimiter)?r.delimiter:i.delimiter,r.depth="number"==typeof r.depth?r.depth:i.depth,r.arrayLimit="number"==typeof r.arrayLimit?r.arrayLimit:i.arrayLimit,r.parseArrays=!1!==r.parseArrays,r.decoder="function"==typeof r.decoder?r.decoder:i.decoder,r.allowDots="boolean"==typeof r.allowDots?r.allowDots:i.allowDots,r.plainObjects="boolean"==typeof r.plainObjects?r.plainObjects:i.plainObjects,r.allowPrototypes="boolean"==typeof r.allowPrototypes?r.allowPrototypes:i.allowPrototypes,r.parameterLimit="number"==typeof r.parameterLimit?r.parameterLimit:i.parameterLimit,r.strictNullHandling="boolean"==typeof r.strictNullHandling?r.strictNullHandling:i.strictNullHandling,""===t||null===t||void 0===t)return r.plainObjects?Object.create(null):{};for(var s="string"==typeof t?function(t,e){for(var r={},n=e.ignoreQueryPrefix?t.replace(/^\?/,""):t,a=e.parameterLimit===1/0?void 0:e.parameterLimit,s=n.split(e.delimiter,a),c=0;c<s.length;++c){var u,l,f=s[c],h=f.indexOf("]="),p=-1===h?f.indexOf("="):h+1;-1===p?(u=e.decoder(f,i.decoder),l=e.strictNullHandling?null:""):(u=e.decoder(f.slice(0,p),i.decoder),l=e.decoder(f.slice(p+1),i.decoder)),o.call(r,u)?r[u]=[].concat(r[u]).concat(l):r[u]=l}return r}(t,r):t,c=r.plainObjects?Object.create(null):{},u=Object.keys(s),l=0;l<u.length;++l){var f=u[l],h=a(f,s[f],r);c=n.merge(c,h,r)}return n.compact(c)}},EqBC:function(t,e,r){"use strict";var n=r("kM2E"),o=r("FeBl"),i=r("7KvD"),a=r("t8x9"),s=r("fJUb");n(n.P+n.R,"Promise",{finally:function(t){var e=a(this,o.Promise||i.Promise),r="function"==typeof t;return this.then(r?function(r){return s(e,t()).then(function(){return r})}:t,r?function(r){return s(e,t()).then(function(){throw r})}:t)}})},HhN8:function(t,e){!function(e){"use strict";var r,n=Object.prototype,o=n.hasOwnProperty,i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",s=i.asyncIterator||"@@asyncIterator",c=i.toStringTag||"@@toStringTag",u="object"==typeof t,l=e.regeneratorRuntime;if(l)u&&(t.exports=l);else{(l=e.regeneratorRuntime=u?t.exports:{}).wrap=b;var f="suspendedStart",h="suspendedYield",p="executing",d="completed",v={},m={};m[a]=function(){return this};var g=Object.getPrototypeOf,y=g&&g(g(k([])));y&&y!==n&&o.call(y,a)&&(m=y);var w=O.prototype=j.prototype=Object.create(m);_.prototype=w.constructor=O,O.constructor=_,O[c]=_.displayName="GeneratorFunction",l.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===_||"GeneratorFunction"===(e.displayName||e.name))},l.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,O):(t.__proto__=O,c in t||(t[c]="GeneratorFunction")),t.prototype=Object.create(w),t},l.awrap=function(t){return{__await:t}},P(N.prototype),N.prototype[s]=function(){return this},l.AsyncIterator=N,l.async=function(t,e,r,n){var o=new N(b(t,e,r,n));return l.isGeneratorFunction(e)?o:o.next().then(function(t){return t.done?t.value:o.next()})},P(w),w[c]="Generator",w[a]=function(){return this},w.toString=function(){return"[object Generator]"},l.keys=function(t){var e=[];for(var r in t)e.push(r);return e.reverse(),function r(){for(;e.length;){var n=e.pop();if(n in t)return r.value=n,r.done=!1,r}return r.done=!0,r}},l.values=k,E.prototype={constructor:E,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=r,this.done=!1,this.delegate=null,this.method="next",this.arg=r,this.tryEntries.forEach(R),!t)for(var e in this)"t"===e.charAt(0)&&o.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=r)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(n,o){return s.type="throw",s.arg=t,e.next=n,o&&(e.method="next",e.arg=r),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var c=o.call(a,"catchLoc"),u=o.call(a,"finallyLoc");if(c&&u){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&o.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var i=n;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,v):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),v},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),R(r),v}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;R(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:k(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=r),v}}}function b(t,e,r,n){var o=e&&e.prototype instanceof j?e:j,i=Object.create(o.prototype),a=new E(n||[]);return i._invoke=function(t,e,r){var n=f;return function(o,i){if(n===p)throw new Error("Generator is already running");if(n===d){if("throw"===o)throw i;return S()}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var s=C(a,r);if(s){if(s===v)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(n===f)throw n=d,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n=p;var c=x(t,e,r);if("normal"===c.type){if(n=r.done?d:h,c.arg===v)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(n=d,r.method="throw",r.arg=c.arg)}}}(t,r,a),i}function x(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}function j(){}function _(){}function O(){}function P(t){["next","throw","return"].forEach(function(e){t[e]=function(t){return this._invoke(e,t)}})}function N(t){var e;this._invoke=function(r,n){function i(){return new Promise(function(e,i){!function e(r,n,i,a){var s=x(t[r],t,n);if("throw"!==s.type){var c=s.arg,u=c.value;return u&&"object"==typeof u&&o.call(u,"__await")?Promise.resolve(u.__await).then(function(t){e("next",t,i,a)},function(t){e("throw",t,i,a)}):Promise.resolve(u).then(function(t){c.value=t,i(c)},a)}a(s.arg)}(r,n,e,i)})}return e=e?e.then(i,i):i()}}function C(t,e){var n=t.iterator[e.method];if(n===r){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=r,C(t,e),"throw"===e.method))return v;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return v}var o=x(n,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,v;var i=o.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=r),e.delegate=null,v):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,v)}function L(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function R(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function E(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(L,this),this.reset(!0)}function k(t){if(t){var e=t[a];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,i=function e(){for(;++n<t.length;)if(o.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=r,e.done=!0,e};return i.next=i}}return{next:S}}function S(){return{value:r,done:!0}}}(function(){return this}()||Function("return this")())},L42u:function(t,e,r){var n,o,i,a=r("+ZMJ"),s=r("knuC"),c=r("RPLV"),u=r("ON07"),l=r("7KvD"),f=l.process,h=l.setImmediate,p=l.clearImmediate,d=l.MessageChannel,v=l.Dispatch,m=0,g={},y=function(){var t=+this;if(g.hasOwnProperty(t)){var e=g[t];delete g[t],e()}},w=function(t){y.call(t.data)};h&&p||(h=function(t){for(var e=[],r=1;arguments.length>r;)e.push(arguments[r++]);return g[++m]=function(){s("function"==typeof t?t:Function(t),e)},n(m),m},p=function(t){delete g[t]},"process"==r("R9M2")(f)?n=function(t){f.nextTick(a(y,t,1))}:v&&v.now?n=function(t){v.now(a(y,t,1))}:d?(i=(o=new d).port2,o.port1.onmessage=w,n=a(i.postMessage,i,1)):l.addEventListener&&"function"==typeof postMessage&&!l.importScripts?(n=function(t){l.postMessage(t+"","*")},l.addEventListener("message",w,!1)):n="onreadystatechange"in u("script")?function(t){c.appendChild(u("script")).onreadystatechange=function(){c.removeChild(this),y.call(t)}}:function(t){setTimeout(a(y,t,1),0)}),t.exports={set:h,clear:p}},Mhyx:function(t,e,r){var n=r("/bQp"),o=r("dSzd")("iterator"),i=Array.prototype;t.exports=function(t){return void 0!==t&&(n.Array===t||i[o]===t)}},NKg7:function(t,e,r){"use strict";var n=r("mvHQ"),o=r.n(n),i=r("P9l9"),a=r("Ch4/"),s=r("mw3O"),c=r.n(s),u={name:"vue-office-header",props:["menuRouter","collapseFlag","projectName"],data:function(){return{repProjectName:"haoban-manage-web",pathName:"",isCollapse:!1,menuHead:[],baseUrl:"",routePathName:"",userInfo:{name:"",phoneNumber:"",headPic:"",staffDTO:{staffName:""}}}},beforeMount:function(){var t=window.location.origin;"-1"!=t.indexOf("localhost")?this.baseUrl="http://www.gicdev.com":this.baseUrl=t},methods:{changeRouter:function(t){this.$router.push(t)},handleCollapse:function(){this.isCollapse=1!=this.isCollapse,this.$emit("collapseTag",this.isCollapse)},toGicLogin:function(){var t=window.location.origin.includes("demogic.com")?window.location.origin:"https://hope.demogic.com";window.location.href=t+"/gic-web/#/"},toLoginOut:function(){var t=this;t.$confirm("确认退出吗?","提示",{type:"warning"}).then(function(){t.axios.post("/haoban-manage3-web/logout",{}).then(function(e){var r=e.data;if(1==r.errorCode)return t.$message({message:"退出成功",type:"success"}),void(window.location.href=window.location.origin+"/haoban-3/#/login");t.$message.error({duration:1e3,message:r.message})}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})}).catch(function(){})},toRouter:function(t,e,r){var n={path:"/"+t,name:e};this.$emit("toRouterView",n)},treeData:function(t){return t.filter(function(e){var r=t.filter(function(t){return e.haobanMenuRightId==t.parentRightId});return r.length>0&&(e.children=r),-1==e.parentRightId})},getMenuDetail:function(){var t=this,e={router:t.routePathName,project:t.repProjectName,requestProject:t.repProjectName};t.axios.post(t.baseUrl+"/haoban-manage-web/menu-detail",c.a.stringify(e)).then(function(e){var r=e.data;1!=r.errorCode?t.$message.error({duration:1e3,message:r.message}):t.pathName="/"+r.result.top.url}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},getHeaderMenu:function(){var t=this,e={project:t.repProjectName,requestProject:t.repProjectName};t.axios.post(t.baseUrl+"/haoban-manage-web/menu-list",c.a.stringify(e)).then(function(e){var r=e.data;if(1==r.errorCode)return r.result.forEach(function(t,e){t.url="/"+t.url}),t.menuHead=t.treeData(r.result),void t.$nextTick(function(){t.userInfo=JSON.parse(localStorage.getItem("userInfo")),t.userInfo||(t.userInfo={name:"",headPic:"",phoneNumber:""},t.getUserData())});t.$message.error({duration:1e3,message:r.message})}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},getUserData:function(){var t=this;t.axios.get(t.baseUrl+"/haoban-manage-web/emp/get-user-info",{}).then(function(e){var r=e.data;if(1==r.errorCode)return t.userInfo=r.result,void localStorage.setItem("userInfo",o()(r.result));t.$message.error({duration:1e3,message:r.message})}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})}},watch:{$route:{handler:function(t,e){},deep:!0},collapseFlag:function(t,e){this.isCollapse=t},projectName:function(t,e){this.repProjectName=t||"haoban-manage-web"},toLogin:function(){var t=this;Object(i.b)("/haoban-manage3-web/get-login-info",{}).then(function(e){var r=e.data;if(1==r.errorCode)return localStorage.setItem("userInfo",o()(r.result)),void(t.userInfo=r.result);a.a.errorMsg(r)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})}},mounted:function(){this.pathName=this.$route.path,this.routePathName=window.location.hash.split("/")[1],-1!=this.routePathName.indexOf("?")&&(this.routePathName=this.routePathName.split("?")[0]),-1!=this.routePathName.indexOf("/")&&(this.routePathName=this.routePathName.split("/")[0]),this.repProjectName=this.projectName||"haoban-manage-web",this.isCollapse=this.collapseFlag,localStorage.getItem("userInfo")||this.toLogin()}},l={render:function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"navheader"},[r("div",{staticClass:"navheader-logo fl",class:{moveleft:t.isCollapse,moveright:!t.isCollapse}},[r("span",{staticClass:"pro-name"},[t._v("好办管理平台")])]),t._v(" "),r("div",{staticClass:"navheader-item fl"},[t._l(t.menuHead,function(e,n){return[r("a",{key:n,class:["itemlink bottom menu-mall menu-font-16",t.pathName==e.url?"current-module":""],on:{click:function(r){return t.changeRouter(e.url)}}},[t._v("\n "+t._s(e.rightName)+"\n ")])]}),t._v(" "),r("div",{staticClass:"navuserinfo fr"},[r("span",{staticClass:"span-log color-909399 iconfont iconrizhifuwu"}),t._v(" "),r("el-popover",{staticStyle:{"min-width":"95px"},attrs:{placement:"bottom",title:"",width:"95",trigger:"hover","popper-class":"user-header-pop"}},[r("ul",{staticClass:"navsuerwrap"},[r("li",{staticClass:"user-item loginout",staticStyle:{"text-align":"center"},on:{click:function(e){return e.stopPropagation(),t.toLoginOut(e)}}},[r("a",{staticClass:"usertext"},[t._v("退出登录")])])]),t._v(" "),r("a",{staticClass:"nav-user-name",attrs:{slot:"reference"},slot:"reference"},[r("span",{staticClass:"font-12 color-606266"},[t._v(t._s(t.userInfo.staffDTO.staffName||"--"))]),t._v(" "),r("i",{staticClass:"iconfont iconxiala arrowico"})])])],1)],2)])},staticRenderFns:[]};var f=r("VU/8")(u,l,!1,function(t){r("+Lhd")},"data-v-751ccbae",null);e.a=f.exports},"NWt+":function(t,e,r){var n=r("+ZMJ"),o=r("msXi"),i=r("Mhyx"),a=r("77Pl"),s=r("QRG4"),c=r("3fs2"),u={},l={};(e=t.exports=function(t,e,r,f,h){var p,d,v,m,g=h?function(){return t}:c(t),y=n(r,f,e?2:1),w=0;if("function"!=typeof g)throw TypeError(t+" is not iterable!");if(i(g)){for(p=s(t.length);p>w;w++)if((m=e?y(a(d=t[w])[0],d[1]):y(t[w]))===u||m===l)return m}else for(v=g.call(t);!(d=v.next()).done;)if((m=o(v,y,d.value,e))===u||m===l)return m}).BREAK=u,e.RETURN=l},P9l9:function(t,e,r){"use strict";r.d(e,"a",function(){return h}),r.d(e,"b",function(){return p});var n=r("//Fk"),o=r.n(n),i=r("lRwf"),a=r.n(i),s=r("mw3O"),c=r.n(s),u=r("zL8q");r.n(u);if(localStorage.getItem("userInfo")){var l=JSON.parse(localStorage.getItem("userInfo")).enterpriseId;a.a.axios.defaults.headers.post.haobansign=l,a.a.axios.defaults.headers.get.haobansign=l}a.a.axios.defaults.timeout=25e3;var f=window.location.origin;a.a.axios.interceptors.request.use(function(t){return t},function(t){return u.Message.error({message:"请求超时!"}),o.a.resolve(t)}),a.a.axios.interceptors.response.use(function(t){return t.status&&200==t.status&&1!=t.data.errorCode?(4!=t.data.errorCode||-1==window.location.href.indexOf("gic-error"))&&(10==t.data.errorCode||t.data.errorCode,t):t},function(t){return 504==t.response.status||404==t.response.status||t.response.status,o.a.resolve(t)});var h=function(t,e){return e.requestProject="haoban-manage-web",a.a.axios({method:"get",url:""+f+t,data:{},params:e,headers:{"Content-type":"application/x-www-form-urlencoded"}})},p=function(t,e){return e.requestProject="haoban-manage-web",a.a.axios({method:"post",url:""+f+t,data:c.a.stringify(e),headers:{"Content-type":"application/x-www-form-urlencoded"}})}},PI0u:function(t,e,r){"use strict";e.a=function(t,e){var r,e=e||200;return function(){var n=this,o=arguments;r&&clearTimeout(r),r=setTimeout(function(){r=null,t.apply(n,o)},e)}}},"RY/4":function(t,e,r){var n=r("R9M2"),o=r("dSzd")("toStringTag"),i="Arguments"==n(function(){return arguments}());t.exports=function(t){var e,r,a;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=function(t,e){try{return t[e]}catch(t){}}(e=Object(t),o))?r:i?n(e):"Object"==(a=n(e))&&"function"==typeof e.callee?"Arguments":a}},U5ju:function(t,e,r){r("M6a0"),r("zQR9"),r("+tPU"),r("CXw9"),r("EqBC"),r("jKW+"),t.exports=r("FeBl").Promise},XgCd:function(t,e,r){"use strict";var n=String.prototype.replace,o=/%20/g;t.exports={default:"RFC3986",formatters:{RFC1738:function(t){return n.call(t,o,"+")},RFC3986:function(t){return t}},RFC1738:"RFC1738",RFC3986:"RFC3986"}},Xxa5:function(t,e,r){t.exports=r("1H6C")},bRrM:function(t,e,r){"use strict";var n=r("7KvD"),o=r("FeBl"),i=r("evD5"),a=r("+E39"),s=r("dSzd")("species");t.exports=function(t){var e="function"==typeof o[t]?o[t]:n[t];a&&e&&!e[s]&&i.f(e,s,{configurable:!0,get:function(){return this}})}},dNDb:function(t,e){t.exports=function(t){try{return{e:!1,v:t()}}catch(t){return{e:!0,v:t}}}},dY0y:function(t,e,r){var n=r("dSzd")("iterator"),o=!1;try{var i=[7][n]();i.return=function(){o=!0},Array.from(i,function(){throw 2})}catch(t){}t.exports=function(t,e){if(!e&&!o)return!1;var r=!1;try{var i=[7],a=i[n]();a.next=function(){return{done:r=!0}},i[n]=function(){return a},t(i)}catch(t){}return r}},exGp:function(t,e,r){"use strict";e.__esModule=!0;var n,o=r("//Fk"),i=(n=o)&&n.__esModule?n:{default:n};e.default=function(t){return function(){var e=t.apply(this,arguments);return new i.default(function(t,r){return function n(o,a){try{var s=e[o](a),c=s.value}catch(t){return void r(t)}if(!s.done)return i.default.resolve(c).then(function(t){n("next",t)},function(t){n("throw",t)});t(c)}("next")})}}},fJUb:function(t,e,r){var n=r("77Pl"),o=r("EqjI"),i=r("qARP");t.exports=function(t,e){if(n(t),o(e)&&e.constructor===t)return e;var r=i.f(t);return(0,r.resolve)(e),r.promise}},iUbK:function(t,e,r){var n=r("7KvD").navigator;t.exports=n&&n.userAgent||""},"jKW+":function(t,e,r){"use strict";var n=r("kM2E"),o=r("qARP"),i=r("dNDb");n(n.S,"Promise",{try:function(t){var e=o.f(this),r=i(t);return(r.e?e.reject:e.resolve)(r.v),e.promise}})},jd4q:function(t,e){},knuC:function(t,e){t.exports=function(t,e,r){var n=void 0===r;switch(e.length){case 0:return n?t():t.call(r);case 1:return n?t(e[0]):t.call(r,e[0]);case 2:return n?t(e[0],e[1]):t.call(r,e[0],e[1]);case 3:return n?t(e[0],e[1],e[2]):t.call(r,e[0],e[1],e[2]);case 4:return n?t(e[0],e[1],e[2],e[3]):t.call(r,e[0],e[1],e[2],e[3])}return t.apply(r,e)}},msXi:function(t,e,r){var n=r("77Pl");t.exports=function(t,e,r,o){try{return o?e(n(r)[0],r[1]):e(r)}catch(e){var i=t.return;throw void 0!==i&&n(i.call(t)),e}}},mvHQ:function(t,e,r){t.exports={default:r("qkKv"),__esModule:!0}},mw3O:function(t,e,r){"use strict";var n=r("CwSZ"),o=r("DDCP"),i=r("XgCd");t.exports={formats:i,parse:o,stringify:n}},p8xL:function(t,e,r){"use strict";var n=Object.prototype.hasOwnProperty,o=function(){for(var t=[],e=0;e<256;++e)t.push("%"+((e<16?"0":"")+e.toString(16)).toUpperCase());return t}(),i=function(t,e){for(var r=e&&e.plainObjects?Object.create(null):{},n=0;n<t.length;++n)void 0!==t[n]&&(r[n]=t[n]);return r};t.exports={arrayToObject:i,assign:function(t,e){return Object.keys(e).reduce(function(t,r){return t[r]=e[r],t},t)},compact:function(t){for(var e=[{obj:{o:t},prop:"o"}],r=[],n=0;n<e.length;++n)for(var o=e[n],i=o.obj[o.prop],a=Object.keys(i),s=0;s<a.length;++s){var c=a[s],u=i[c];"object"==typeof u&&null!==u&&-1===r.indexOf(u)&&(e.push({obj:i,prop:c}),r.push(u))}return function(t){for(var e;t.length;){var r=t.pop();if(e=r.obj[r.prop],Array.isArray(e)){for(var n=[],o=0;o<e.length;++o)void 0!==e[o]&&n.push(e[o]);r.obj[r.prop]=n}}return e}(e)},decode:function(t){try{return decodeURIComponent(t.replace(/\+/g," "))}catch(e){return t}},encode:function(t){if(0===t.length)return t;for(var e="string"==typeof t?t:String(t),r="",n=0;n<e.length;++n){var i=e.charCodeAt(n);45===i||46===i||95===i||126===i||i>=48&&i<=57||i>=65&&i<=90||i>=97&&i<=122?r+=e.charAt(n):i<128?r+=o[i]:i<2048?r+=o[192|i>>6]+o[128|63&i]:i<55296||i>=57344?r+=o[224|i>>12]+o[128|i>>6&63]+o[128|63&i]:(n+=1,i=65536+((1023&i)<<10|1023&e.charCodeAt(n)),r+=o[240|i>>18]+o[128|i>>12&63]+o[128|i>>6&63]+o[128|63&i])}return r},isBuffer:function(t){return null!==t&&void 0!==t&&!!(t.constructor&&t.constructor.isBuffer&&t.constructor.isBuffer(t))},isRegExp:function(t){return"[object RegExp]"===Object.prototype.toString.call(t)},merge:function t(e,r,o){if(!r)return e;if("object"!=typeof r){if(Array.isArray(e))e.push(r);else{if("object"!=typeof e)return[e,r];(o.plainObjects||o.allowPrototypes||!n.call(Object.prototype,r))&&(e[r]=!0)}return e}if("object"!=typeof e)return[e].concat(r);var a=e;return Array.isArray(e)&&!Array.isArray(r)&&(a=i(e,o)),Array.isArray(e)&&Array.isArray(r)?(r.forEach(function(r,i){n.call(e,i)?e[i]&&"object"==typeof e[i]?e[i]=t(e[i],r,o):e.push(r):e[i]=r}),e):Object.keys(r).reduce(function(e,i){var a=r[i];return n.call(e,i)?e[i]=t(e[i],a,o):e[i]=a,e},a)}}},qARP:function(t,e,r){"use strict";var n=r("lOnJ");t.exports.f=function(t){return new function(t){var e,r;this.promise=new t(function(t,n){if(void 0!==e||void 0!==r)throw TypeError("Bad Promise constructor");e=t,r=n}),this.resolve=n(e),this.reject=n(r)}(t)}},qkKv:function(t,e,r){var n=r("FeBl"),o=n.JSON||(n.JSON={stringify:JSON.stringify});t.exports=function(t){return o.stringify.apply(o,arguments)}},t8x9:function(t,e,r){var n=r("77Pl"),o=r("lOnJ"),i=r("dSzd")("species");t.exports=function(t,e){var r,a=n(t).constructor;return void 0===a||void 0==(r=n(a)[i])?e:o(r)}},"xH/j":function(t,e,r){var n=r("hJx8");t.exports=function(t,e,r){for(var o in e)r&&t[o]?t[o]=e[o]:n(t,o,e[o]);return t}}});
\ No newline at end of file
!function(e){var n=window.webpackJsonp;window.webpackJsonp=function(r,c,o){for(var f,i,u,d=0,b=[];d<r.length;d++)i=r[d],t[i]&&b.push(t[i][0]),t[i]=0;for(f in c)Object.prototype.hasOwnProperty.call(c,f)&&(e[f]=c[f]);for(n&&n(r,c,o);b.length;)b.shift()();if(o)for(d=0;d<o.length;d++)u=a(a.s=o[d]);return u};var r={},t={21:0};function a(n){if(r[n])return r[n].exports;var t=r[n]={i:n,l:!1,exports:{}};return e[n].call(t.exports,t,t.exports,a),t.l=!0,t.exports}a.e=function(e){var n=t[e];if(0===n)return new Promise(function(e){e()});if(n)return n[2];var r=new Promise(function(r,a){n=t[e]=[r,a]});n[2]=r;var c=document.getElementsByTagName("head")[0],o=document.createElement("script");o.type="text/javascript",o.charset="utf-8",o.async=!0,o.timeout=12e4,a.nc&&o.setAttribute("nonce",a.nc),o.src=a.p+"static/js/"+e+"."+{0:"f2e960fccdfe1ba4e3bd",1:"9a1776fdc262362d75b8",2:"9311f0519f0b2899a4a7",3:"6cea545a95ebe6cb1eb5",4:"114df92ac52300136d2e",5:"afc7b726a46486df899a",6:"9e12ea68528f2ad5f9a5",7:"4c95fe66c59573d7da03",8:"c2a3c1c2b9ffb4687826",9:"4b8efecc95608bc88200",10:"9c5ebbe659b7a663ddb3",11:"29941951e052f4942eca",12:"c95e6e2e763aa2d73679",13:"28d4554055ef8599c8af",14:"6ddcbf8576b81570a798",15:"0a934f87a0f05eee4293",16:"ceb943561fcf2e88bc01",17:"30b2bb1593a5d6e55f0a",18:"b918fbf8403d96eac90a"}[e]+".js";var f=setTimeout(i,12e4);function i(){o.onerror=o.onload=null,clearTimeout(f);var n=t[e];0!==n&&(n&&n[1](new Error("Loading chunk "+e+" failed.")),t[e]=void 0)}return o.onerror=o.onload=i,c.appendChild(o),r},a.m=e,a.c=r,a.d=function(e,n,r){a.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},a.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(n,"a",n),n},a.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},a.p="./",a.oe=function(e){throw console.error(e),e}}([]);
\ No newline at end of file
!function(e){var n=window.webpackJsonp;window.webpackJsonp=function(r,c,o){for(var f,i,u,b=0,d=[];b<r.length;b++)i=r[b],t[i]&&d.push(t[i][0]),t[i]=0;for(f in c)Object.prototype.hasOwnProperty.call(c,f)&&(e[f]=c[f]);for(n&&n(r,c,o);d.length;)d.shift()();if(o)for(b=0;b<o.length;b++)u=a(a.s=o[b]);return u};var r={},t={21:0};function a(n){if(r[n])return r[n].exports;var t=r[n]={i:n,l:!1,exports:{}};return e[n].call(t.exports,t,t.exports,a),t.l=!0,t.exports}a.e=function(e){var n=t[e];if(0===n)return new Promise(function(e){e()});if(n)return n[2];var r=new Promise(function(r,a){n=t[e]=[r,a]});n[2]=r;var c=document.getElementsByTagName("head")[0],o=document.createElement("script");o.type="text/javascript",o.charset="utf-8",o.async=!0,o.timeout=12e4,a.nc&&o.setAttribute("nonce",a.nc),o.src=a.p+"static/js/"+e+"."+{0:"cbd8baab911002c79be8",1:"9a1776fdc262362d75b8",2:"9311f0519f0b2899a4a7",3:"6cea545a95ebe6cb1eb5",4:"114df92ac52300136d2e",5:"afc7b726a46486df899a",6:"9e12ea68528f2ad5f9a5",7:"4c95fe66c59573d7da03",8:"c2a3c1c2b9ffb4687826",9:"4b8efecc95608bc88200",10:"9c5ebbe659b7a663ddb3",11:"29941951e052f4942eca",12:"c95e6e2e763aa2d73679",13:"28d4554055ef8599c8af",14:"6ddcbf8576b81570a798",15:"0a934f87a0f05eee4293",16:"ceb943561fcf2e88bc01",17:"30b2bb1593a5d6e55f0a",18:"b918fbf8403d96eac90a"}[e]+".js";var f=setTimeout(i,12e4);function i(){o.onerror=o.onload=null,clearTimeout(f);var n=t[e];0!==n&&(n&&n[1](new Error("Loading chunk "+e+" failed.")),t[e]=void 0)}return o.onerror=o.onload=i,c.appendChild(o),r},a.m=e,a.c=r,a.d=function(e,n,r){a.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},a.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(n,"a",n),n},a.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},a.p="./",a.oe=function(e){throw console.error(e),e}}([]);
\ No newline at end of file
......@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2018-10-10 17:21:32
* @LastEditors : 无尘
* @LastEditTime : 2020-02-24 20:12:41
* @LastEditTime : 2020-02-24 20:22:47
-->
<template>
<div class="navheader">
......@@ -275,27 +275,6 @@ export default {
message: error.message
});
});
}
},
watch: {
$route: {
handler: function(val, oldVal) {
// const that = this;
// that.getMenuDetail();
},
// 深度观察监听
deep: true
},
collapseFlag: function(newData, oldData) {
const that = this;
that.isCollapse = newData;
},
projectName: function(newData, oldData) {
const that = this;
that.repProjectName = newData || 'haoban-manage-web';
},
/**
* 登录 --- api
......@@ -321,6 +300,27 @@ export default {
});
}
},
watch: {
$route: {
handler: function(val, oldVal) {
// const that = this;
// that.getMenuDetail();
},
// 深度观察监听
deep: true
},
collapseFlag: function(newData, oldData) {
const that = this;
that.isCollapse = newData;
},
projectName: function(newData, oldData) {
const that = this;
that.repProjectName = newData || 'haoban-manage-web';
}
},
mounted() {
const that = this;
that.pathName = that.$route.path;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment