Commit e3084e5f by fairyly

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

parent f477c697
<!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.34ae0be7d1fb6ff433bdfe5e8e94631e.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.6260f600a42eb3f0ecfe.js></script><script type=text/javascript src=./static/js/vendor.2cff6c68669f76f7bb26.js></script><script type=text/javascript src=./static/js/app.526ea7bf8d69d8ab6ed2.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.2851b6885cbc0b4d831d64791c20fdb7.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.7cc236814a740fb7356f.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}},"0kNl":function(t,e){},"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})})}},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("0kNl")},"data-v-eff0905a",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}}});
\ 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)]}},"7TH0":function(t,e){},"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,R="process"==l(O),L=function(){},E=o=w.f,k=!!function(){try{var t=C.resolve(1),e=(t.constructor={})[r("dSzd")("species")]=function(t){t(L,L)};return(R||"function"==typeof PromiseRejectionEvent)&&t.then(L)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&&M(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=F(t);if(i&&(e=b(function(){R?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=R||F(t)?2:1),t._a=void 0,i&&e.e)throw e.v})},F=function(t){return 1!==t._h&&0===(t._a||t._c).length},M=function(t){g.call(c,function(){var e;R?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=R?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(L)})),"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(L),!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),L(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;L(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 R(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 L(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function E(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(R,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("mw3O"),a=r.n(i),s={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:""}}},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",a.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",a.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"}},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,this.userInfo=JSON.parse(localStorage.getItem("userInfo"))}},c={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 u=r("VU/8")(s,c,!1,function(t){r("7TH0")},"data-v-26488f70",null);e.a=u.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}}});
\ No newline at end of file
webpackJsonp([12],{F47J:function(e,t){},odfG:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s=a("3E4D"),o=a("Ch4/"),l=a("PI0u"),i=a("P9l9"),r={name:"app-detail",props:{brandId:{type:String,default:function(){return""}},tabType:{type:String,default:function(){return"1"}},activeGroupId:{type:String,default:function(){return""}}},data:function(){return{projectName:"",activeName:"first",activeGroup:this.activeGroupId,wxEnterpriseRelatedId:JSON.parse(localStorage.getItem("userInfo")).wxEnterpriseId,myCustomData:{searchFlag:!1,chatFlag:!1,mainStoreFlag:!1,minorStoreFlag:!1,openCardStoreFlag:!1,clerkSeeOtherFlag:!1,isSeeAuthMember:!1,allowGuideContact:!1,allowGuideMobile:!1,allowGuideMessage:!1,allowGuideOnlineChat:!1}}},methods:{submit:Object(l.a)(function(e){this.setData(e)},500),setData:function(e){var t=this,a={wxEnterpriseRelatedId:t.wxEnterpriseRelatedId},l=void 0;"showFlag"!=e?(a[e]=t.myCustomData[e]?1:0,l="/haoban-app-customer-web/customer/save-online-chat-setting","searchFlag"===e&&(l="/haoban-app-customer-web/customer/save-customer-setting")):(a.mainStoreFlag=t.myCustomData.mainStoreFlag?1:0,a.minorStoreFlag=t.myCustomData.minorStoreFlag?1:0,a.openCardStoreFlag=t.myCustomData.openCardStoreFlag?1:0,a.clerkSeeOtherFlag=t.myCustomData.clerkSeeOtherFlag?1:0,a.allowGuideContact=t.myCustomData.allowGuideContact?1:0,a.allowGuideMobile=t.myCustomData.allowGuideMobile?1:0,a.allowGuideMessage=t.myCustomData.allowGuideMessage?1:0,a.allowGuideOnlineChat=t.myCustomData.allowGuideOnlineChat?1:0,a.isSeeAuthMember=t.myCustomData.isSeeAuthMember?1:0,a.chatFlag=t.myCustomData.chatFlag,a.isMessageRemind=t.myCustomData.isMessageRemind,a.messageRemindTime=t.myCustomData.messageRemindTime,a.isTemplateMessage=t.myCustomData.isTemplateMessage,a.isImgMessage=t.myCustomData.isImgMessage,a.isGoodMessage=t.myCustomData.isGoodMessage,a.isIntegralGoodMessage=t.myCustomData.isIntegralGoodMessage,l="/haoban-app-customer-web/customer/save-member-show-setting"),Object(i.b)(l,a).then(function(e){var t=e.data;1!=t.errorCode?o.a.errorMsg(t):s.a.showmsg("保存成功","success")}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},changeAllowGuide:function(e){this.myCustomData.allowGuideMobile=e,this.myCustomData.allowGuideMessage=e,this.myCustomData.allowGuideOnlineChat=e},changeContact:function(){this.myCustomData.allowGuideMobile||this.myCustomData.allowGuideMessage||this.myCustomData.allowGuideOnlineChat||(this.myCustomData.allowGuideContact=!1)},getShowSet:function(e){var t=this,a={wxEnterpriseRelatedId:t.wxEnterpriseRelatedId};Object(i.b)("/haoban-app-customer-web/customer/find-member-show-setting",a).then(function(e){var a=e.data;1!=a.errorCode?o.a.errorMsg(a):a.result&&(a.result.mainStoreFlag=1==a.result.mainStoreFlag,a.result.minorStoreFlag=1==a.result.minorStoreFlag,a.result.openCardStoreFlag=1==a.result.openCardStoreFlag,a.result.clerkSeeOtherFlag=1==a.result.clerkSeeOtherFlag,a.result.allowGuideContact=1==a.result.allowGuideContact,a.result.allowGuideMobile=1==a.result.allowGuideMobile,a.result.allowGuideMessage=1==a.result.allowGuideMessage,a.result.allowGuideOnlineChat=1==a.result.allowGuideOnlineChat,a.result.isSeeAuthMember=1==a.result.isSeeAuthMember,a.result.searchFlag=1==a.result.searchFlag,t.myCustomData=a.result)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})}},watch:{},mounted:function(){this.$emit("showTab","11"),this.getShowSet(this.brandId)},components:{}},m={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"app-detail-wrap"},[a("div",{staticClass:"app-detail-pane border-box p-20"},[a("div",{staticClass:"m-b-20"},[a("el-checkbox",{staticClass:"w-195",model:{value:e.myCustomData.mainStoreFlag,callback:function(t){e.$set(e.myCustomData,"mainStoreFlag",t)},expression:"myCustomData.mainStoreFlag"}},[e._v("展示服务门店会员")]),e._v(" "),a("div",{staticClass:"font-14 color-909399 set-tip-item"},[e._v("注:保存勾选项后,门店导购和店长可查看本门店作为服务门店名下会员")])],1),e._v(" "),a("div",{staticClass:"m-b-20"},[a("el-checkbox",{staticClass:"w-195",model:{value:e.myCustomData.minorStoreFlag,callback:function(t){e.$set(e.myCustomData,"minorStoreFlag",t)},expression:"myCustomData.minorStoreFlag"}},[e._v("展示协管门店会员")]),e._v(" "),a("div",{staticClass:"font-14 color-909399 set-tip-item"},[e._v("注:保存勾选项后,门店导购和店长可查看本门店作为协管门店名下会员")])],1),e._v(" "),a("div",{staticClass:"m-b-20"},[a("el-checkbox",{staticClass:"w-195",model:{value:e.myCustomData.openCardStoreFlag,callback:function(t){e.$set(e.myCustomData,"openCardStoreFlag",t)},expression:"myCustomData.openCardStoreFlag"}},[e._v("展示开卡门店会员")]),e._v(" "),a("div",{staticClass:"font-14 color-909399 set-tip-item"},[e._v("注:保存勾选项后,门店导购和店长可查看本门店作为开卡门店名下会员")])],1),e._v(" "),a("div",{staticClass:"m-b-20"},[a("el-checkbox",{staticClass:"w-195",model:{value:e.myCustomData.isSeeAuthMember,callback:function(t){e.$set(e.myCustomData,"isSeeAuthMember",t)},expression:"myCustomData.isSeeAuthMember"}},[e._v("展示已开卡会员")]),e._v(" "),a("div",{staticClass:"font-14 color-909399 set-tip-item"},[e._v("注:保存勾选项后,门店导购和店长可查看本门店微信会员(不含未开卡会员)及POS会员,不勾选将展示微信会员(即微信总量,含未开卡会员)及POS会员")])],1),e._v(" "),a("div",{staticClass:"m-b-20"},[a("el-checkbox",{staticClass:"w-195",model:{value:e.myCustomData.clerkSeeOtherFlag,callback:function(t){e.$set(e.myCustomData,"clerkSeeOtherFlag",t)},expression:"myCustomData.clerkSeeOtherFlag"}},[e._v("允许导购查看其他导购会员")]),e._v(" "),a("div",{staticClass:"font-14 color-909399 set-tip-item"},[e._v("注:保存勾选项后,门店导购可查看本门店其他导购名下会员")])],1),e._v(" "),a("div",{staticClass:"m-b-20"},[a("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:"注:开启后,可选择导购在 < 我的顾客 > 中是否通过以下方式联系会员",placement:"top-start"}},[a("span",{staticClass:"font-14 color-606266 m-r-20",staticStyle:{cursor:"pointer","padding-bottom":"2px","border-bottom":"1px dashed #2F54EB"}},[e._v("导购联系会员方式:")])]),e._v(" "),a("el-checkbox",{on:{change:e.changeContact},model:{value:e.myCustomData.allowGuideMobile,callback:function(t){e.$set(e.myCustomData,"allowGuideMobile",t)},expression:"myCustomData.allowGuideMobile"}},[e._v("电话")]),e._v(" "),a("el-checkbox",{on:{change:e.changeContact},model:{value:e.myCustomData.allowGuideMessage,callback:function(t){e.$set(e.myCustomData,"allowGuideMessage",t)},expression:"myCustomData.allowGuideMessage"}},[e._v("短信")]),e._v(" "),a("el-checkbox",{on:{change:e.changeContact},model:{value:e.myCustomData.allowGuideOnlineChat,callback:function(t){e.$set(e.myCustomData,"allowGuideOnlineChat",t)},expression:"myCustomData.allowGuideOnlineChat"}},[e._v("添加会员/发消息")])],1),e._v(" "),a("div",{staticClass:"m-t-46"},[a("el-button",{attrs:{type:"primary"},on:{click:function(t){return e.submit("showFlag")}}},[e._v("保 存")])],1)])])},staticRenderFns:[]};var n=a("VU/8")(r,m,!1,function(e){a("F47J")},"data-v-c3a5dfae",null);t.default=n.exports}});
\ No newline at end of file
webpackJsonp([11],{F47J:function(e,t){},odfG:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s=a("3E4D"),o=a("Ch4/"),l=a("PI0u"),i=a("P9l9"),r={name:"app-detail",props:{brandId:{type:String,default:function(){return""}},tabType:{type:String,default:function(){return"1"}},activeGroupId:{type:String,default:function(){return""}}},data:function(){return{projectName:"",activeName:"first",activeGroup:this.activeGroupId,wxEnterpriseRelatedId:JSON.parse(localStorage.getItem("userInfo")).wxEnterpriseId,myCustomData:{searchFlag:!1,chatFlag:!1,mainStoreFlag:!1,minorStoreFlag:!1,openCardStoreFlag:!1,clerkSeeOtherFlag:!1,isSeeAuthMember:!1,allowGuideContact:!1,allowGuideMobile:!1,allowGuideMessage:!1,allowGuideOnlineChat:!1}}},methods:{submit:Object(l.a)(function(e){this.setData(e)},500),setData:function(e){var t=this,a={wxEnterpriseRelatedId:t.wxEnterpriseRelatedId},l=void 0;"showFlag"!=e?(a[e]=t.myCustomData[e]?1:0,l="/haoban-app-customer-web/customer/save-online-chat-setting","searchFlag"===e&&(l="/haoban-app-customer-web/customer/save-customer-setting")):(a.mainStoreFlag=t.myCustomData.mainStoreFlag?1:0,a.minorStoreFlag=t.myCustomData.minorStoreFlag?1:0,a.openCardStoreFlag=t.myCustomData.openCardStoreFlag?1:0,a.clerkSeeOtherFlag=t.myCustomData.clerkSeeOtherFlag?1:0,a.allowGuideContact=t.myCustomData.allowGuideContact?1:0,a.allowGuideMobile=t.myCustomData.allowGuideMobile?1:0,a.allowGuideMessage=t.myCustomData.allowGuideMessage?1:0,a.allowGuideOnlineChat=t.myCustomData.allowGuideOnlineChat?1:0,a.isSeeAuthMember=t.myCustomData.isSeeAuthMember?1:0,a.chatFlag=t.myCustomData.chatFlag,a.isMessageRemind=t.myCustomData.isMessageRemind,a.messageRemindTime=t.myCustomData.messageRemindTime,a.isTemplateMessage=t.myCustomData.isTemplateMessage,a.isImgMessage=t.myCustomData.isImgMessage,a.isGoodMessage=t.myCustomData.isGoodMessage,a.isIntegralGoodMessage=t.myCustomData.isIntegralGoodMessage,l="/haoban-app-customer-web/customer/save-member-show-setting"),Object(i.b)(l,a).then(function(e){var t=e.data;1!=t.errorCode?o.a.errorMsg(t):s.a.showmsg("保存成功","success")}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},changeAllowGuide:function(e){this.myCustomData.allowGuideMobile=e,this.myCustomData.allowGuideMessage=e,this.myCustomData.allowGuideOnlineChat=e},changeContact:function(){this.myCustomData.allowGuideMobile||this.myCustomData.allowGuideMessage||this.myCustomData.allowGuideOnlineChat||(this.myCustomData.allowGuideContact=!1)},getShowSet:function(e){var t=this,a={wxEnterpriseRelatedId:t.wxEnterpriseRelatedId};Object(i.b)("/haoban-app-customer-web/customer/find-member-show-setting",a).then(function(e){var a=e.data;1!=a.errorCode?o.a.errorMsg(a):a.result&&(a.result.mainStoreFlag=1==a.result.mainStoreFlag,a.result.minorStoreFlag=1==a.result.minorStoreFlag,a.result.openCardStoreFlag=1==a.result.openCardStoreFlag,a.result.clerkSeeOtherFlag=1==a.result.clerkSeeOtherFlag,a.result.allowGuideContact=1==a.result.allowGuideContact,a.result.allowGuideMobile=1==a.result.allowGuideMobile,a.result.allowGuideMessage=1==a.result.allowGuideMessage,a.result.allowGuideOnlineChat=1==a.result.allowGuideOnlineChat,a.result.isSeeAuthMember=1==a.result.isSeeAuthMember,a.result.searchFlag=1==a.result.searchFlag,t.myCustomData=a.result)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})}},watch:{},mounted:function(){this.$emit("showTab","11"),this.getShowSet(this.brandId)},components:{}},m={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"app-detail-wrap"},[a("div",{staticClass:"app-detail-pane border-box p-20"},[a("div",{staticClass:"m-b-20"},[a("el-checkbox",{staticClass:"w-195",model:{value:e.myCustomData.mainStoreFlag,callback:function(t){e.$set(e.myCustomData,"mainStoreFlag",t)},expression:"myCustomData.mainStoreFlag"}},[e._v("展示服务门店会员")]),e._v(" "),a("div",{staticClass:"font-14 color-909399 set-tip-item"},[e._v("注:保存勾选项后,门店导购和店长可查看本门店作为服务门店名下会员")])],1),e._v(" "),a("div",{staticClass:"m-b-20"},[a("el-checkbox",{staticClass:"w-195",model:{value:e.myCustomData.minorStoreFlag,callback:function(t){e.$set(e.myCustomData,"minorStoreFlag",t)},expression:"myCustomData.minorStoreFlag"}},[e._v("展示协管门店会员")]),e._v(" "),a("div",{staticClass:"font-14 color-909399 set-tip-item"},[e._v("注:保存勾选项后,门店导购和店长可查看本门店作为协管门店名下会员")])],1),e._v(" "),a("div",{staticClass:"m-b-20"},[a("el-checkbox",{staticClass:"w-195",model:{value:e.myCustomData.openCardStoreFlag,callback:function(t){e.$set(e.myCustomData,"openCardStoreFlag",t)},expression:"myCustomData.openCardStoreFlag"}},[e._v("展示开卡门店会员")]),e._v(" "),a("div",{staticClass:"font-14 color-909399 set-tip-item"},[e._v("注:保存勾选项后,门店导购和店长可查看本门店作为开卡门店名下会员")])],1),e._v(" "),a("div",{staticClass:"m-b-20"},[a("el-checkbox",{staticClass:"w-195",model:{value:e.myCustomData.isSeeAuthMember,callback:function(t){e.$set(e.myCustomData,"isSeeAuthMember",t)},expression:"myCustomData.isSeeAuthMember"}},[e._v("展示已开卡会员")]),e._v(" "),a("div",{staticClass:"font-14 color-909399 set-tip-item"},[e._v("注:保存勾选项后,门店导购和店长可查看本门店微信会员(不含未开卡会员)及POS会员,不勾选将展示微信会员(即微信总量,含未开卡会员)及POS会员")])],1),e._v(" "),a("div",{staticClass:"m-b-20"},[a("el-checkbox",{staticClass:"w-195",model:{value:e.myCustomData.clerkSeeOtherFlag,callback:function(t){e.$set(e.myCustomData,"clerkSeeOtherFlag",t)},expression:"myCustomData.clerkSeeOtherFlag"}},[e._v("允许导购查看其他导购会员")]),e._v(" "),a("div",{staticClass:"font-14 color-909399 set-tip-item"},[e._v("注:保存勾选项后,门店导购可查看本门店其他导购名下会员")])],1),e._v(" "),a("div",{staticClass:"m-b-20"},[a("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:"注:开启后,可选择导购在 < 我的顾客 > 中是否通过以下方式联系会员",placement:"top-start"}},[a("span",{staticClass:"font-14 color-606266 m-r-20",staticStyle:{cursor:"pointer","padding-bottom":"2px","border-bottom":"1px dashed #2F54EB"}},[e._v("导购联系会员方式:")])]),e._v(" "),a("el-checkbox",{on:{change:e.changeContact},model:{value:e.myCustomData.allowGuideMobile,callback:function(t){e.$set(e.myCustomData,"allowGuideMobile",t)},expression:"myCustomData.allowGuideMobile"}},[e._v("电话")]),e._v(" "),a("el-checkbox",{on:{change:e.changeContact},model:{value:e.myCustomData.allowGuideMessage,callback:function(t){e.$set(e.myCustomData,"allowGuideMessage",t)},expression:"myCustomData.allowGuideMessage"}},[e._v("短信")]),e._v(" "),a("el-checkbox",{on:{change:e.changeContact},model:{value:e.myCustomData.allowGuideOnlineChat,callback:function(t){e.$set(e.myCustomData,"allowGuideOnlineChat",t)},expression:"myCustomData.allowGuideOnlineChat"}},[e._v("添加会员/发消息")])],1),e._v(" "),a("div",{staticClass:"m-t-46"},[a("el-button",{attrs:{type:"primary"},on:{click:function(t){return e.submit("showFlag")}}},[e._v("保 存")])],1)])])},staticRenderFns:[]};var n=a("VU/8")(r,m,!1,function(e){a("F47J")},"data-v-c3a5dfae",null);t.default=n.exports}});
\ No newline at end of file
webpackJsonp([11],{JXTs:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s=a("mvHQ"),o=a.n(s),i=a("NKg7"),n=a("P9l9"),r=a("Ch4/"),c={name:"index",data:function(){return{projectName:"haoban-manage-web",contentHeight:"0px",collapseFlag:!1,showCustomDialog:!1,customType:"",customTitle:"",purchaseApp:[],noPurchaseApp:[{applicationId:1,applicationUrl:"https://hope.demogic.com/mobile-haoban-file/images/appicon/workbench/customer_center.png",applicationName:"测试应用",describe:"应用描述应用描述应用描述应用描述应用描述"}],versionData:{id:1,name:"基础版",date:(new Date).getTime(),storeNum:100,storeAllNum:150},helpList:[{id:1,name:"测试帮助中心"}]}},methods:{changeRoute:function(t){this.$router.push(t)},toOverStore:function(){this.changeRoute("/overStoreList")},toAppView:function(t){this.changeRoute(""+t.applicationPath)},goShopping:function(t){this.changeRoute("/")},toRouterView:function(t){this.$router.push({path:t.path})},collapseTag:function(t){this.collapseFlag=t},toAlert:function(){this.$confirm("您所在企业尚未订购好办 ,请前往升级版本后继续使用。","提示",{confirmButtonText:"立即前往订购",cancelButtonText:"取消",type:"warning"}).then(function(){window.open("")})},toTip:function(){this.$confirm("您没有该功能的使用权限,请联系管理员授权后继续使用。","提示",{confirmButtonText:"知道了",type:"warning"}).then(function(){window.open("")})},getEnterpriseData:function(){var t=this;Object(n.a)("/haoban-manage-web/home/find-enterprise-info",{}).then(function(e){var a=e.data;if(1==a.errorCode)return a.result.balance=Number(a.result.balance).toFixed(2),0==a.result.yesterdayUseNumber&&(a.result.yesterdayUseNumber=String(a.result.yesterdayUseNumber)),t.companyObj=a.result,void t.$nextTick(function(){t.getUserData()});r.a.errorMsg(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},getUserData:function(){var t=this;Object(n.a)("/haoban-manage-web/emp/get-user-info",{}).then(function(e){var a=e.data;if(1==a.errorCode)return localStorage.setItem("userInfo",o()(a.result)),void t.$nextTick(function(){t.$refs.headerMenu.getHeaderMenu()});t.$message.error({duration:1e3,message:a.message})}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},getAppData:function(t){var e=this,a={type:t};Object(n.a)("/haoban-manage3-web/application-list",a).then(function(a){var s=a.data;1!=s.errorCode?r.a.errorMsg(s):1==t?e.purchaseApp=JSON.parse(o()(s.result)):e.noPurchaseApp=JSON.parse(o()(s.result))}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},toLogin:function(){var t=this;Object(n.b)("/haoban-manage3-web/get-login-info",{}).then(function(t){var e=t.data;1!=e.errorCode?r.a.errorMsg(e):localStorage.setItem("userInfo",o()(e.result))}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})}},mounted:function(){this.getAppData(1),localStorage.getItem("userInfo")||this.toLogin(),this.contentHeight=(document.documentElement.clientHeight||document.body.clientHeight)-204+"px"},components:{vueOfficeHeader:i.a}},l={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{attrs:{id:"index"}},[a("vue-office-header",{ref:"headerMenu",attrs:{projectName:t.projectName},on:{collapseTag:t.collapseTag,toRouterView:t.toRouterView}}),t._v(" "),a("div",{staticClass:"content",attrs:{id:"content"}},[a("div",{staticClass:"content-body",style:{minHeight:t.contentHeight}},[a("div",{staticClass:"index-body flex flex-row"},[a("div",{staticClass:"index-body-left"},[a("div",{staticClass:"index-body-left_top border-box"},[a("div",{staticClass:"app-title font-16 color-303133"},[t._v("已订购的应用")]),t._v(" "),a("ul",t._l(t.purchaseApp,function(e,s){return a("li",{key:s+"app",staticClass:"border-box",on:{click:function(a){return t.toAppView(e)}}},[a("div",{staticClass:"app-li-cell border-box flex"},[a("div",{staticClass:"app-cell-left"},[a("img",{attrs:{src:e.applicationUrl,alt:"img"}})]),t._v(" "),a("div",{staticClass:"app-cell-right"},[a("div",{staticClass:"app-name font-14 color-303133"},[t._v(t._s(e.applicationName))]),t._v(" "),a("div",{staticClass:"app-info"},[a("div",{staticClass:"app-version font-12 color-909399"},[t._v(t._s(e.versionName))]),t._v(" "),a("div",{staticClass:"app-date font-12 color-909399"},[t._v(t._s(t._f("timeStampToYmd")(e.date)))])])])])])}),0)]),t._v(" "),a("div",{staticClass:"index-body-left_bottom border-box"},[a("div",{staticClass:"app-title font-16 color-303133"},[t._v("未订购的应用")]),t._v(" "),a("ul",t._l(t.noPurchaseApp,function(e,s){return a("li",{key:s+"appno",staticClass:"border-box"},[a("div",{staticClass:"app-li-cell border-box flex"},[a("div",{staticClass:"app-cell-left"},[a("img",{attrs:{src:e.applicationUrl,alt:"img"}})]),t._v(" "),a("div",{staticClass:"app-cell-right"},[a("div",{staticClass:"app-name font-14 color-303133"},[t._v(t._s(e.applicationName))]),t._v(" "),a("div",{staticClass:"app-info"},[a("div",{staticClass:"app-describe font-12 color-909399"},[t._v(t._s(e.describe))])])])])])}),0)])]),t._v(" "),a("div",{staticClass:"index-body-right"},[a("div",{staticClass:"index-body-right_top border-box"},[a("div",{staticClass:"serve-info"},[a("div",{staticClass:"serve-version flex"},[a("span",{staticClass:"w-86 font-14 color-909399 text-left"},[t._v("版本")]),t._v(" "),a("span",{staticClass:"font-14 color-303133"},[t._v(t._s(t.versionData.name))])]),t._v(" "),a("div",{staticClass:"serve-date flex m-t-20"},[a("span",{staticClass:"w-86 font-14 color-909399 text-left"},[t._v("到期时间")]),t._v(" "),a("span",{staticClass:"font-14 color-303133"},[t._v(t._s(t._f("timeStampToYmd")(t.versionData.date)))])]),t._v(" "),a("div",{staticClass:"serve-store flex m-t-20"},[a("span",{staticClass:"w-86 font-14 color-909399 text-left"},[t._v("门店容量")]),t._v(" "),a("span",{staticClass:"font-14 color-303133 "},[t._v(t._s(t.versionData.storeAllNum)+"/"+t._s(t.versionData.storeNum))]),t.versionData.storeAllNum>t.versionData.storeNum?a("span",{staticClass:" cursor-pointer font-12 p-l-10 color-f5222d",on:{click:t.toOverStore}},[t._v("("+t._s(t.versionData.storeAllNum-t.versionData.storeNum)+"家门店溢出)")]):t._e()]),t._v(" "),a("div",{staticClass:"serve-btn text-center m-t-30"},[a("el-button",{attrs:{type:"primary"},on:{click:t.goShopping}},[t._v("前往订购")])],1)])]),t._v(" "),a("div",{staticClass:"index-body-right_bottom border-box m-t-10"},[a("div",{staticClass:"help-title font-16 color-303133 font-w-600"},[t._v("帮助中心")]),t._v(" "),a("ul",{staticClass:"help-list"},t._l(t.helpList,function(e,s){return a("li",{key:s+"help",staticClass:"font-14 color-606266"},[t._v("\n "+t._s(e.name)+"\n ")])}),0)])])])]),t._v(" "),a("vue-gic-footer")],1)],1)},staticRenderFns:[]};var p=a("VU/8")(c,l,!1,function(t){a("k3Uo")},"data-v-cd4f8018",null);e.default=p.exports},k3Uo:function(t,e){}});
\ No newline at end of file
webpackJsonp([13],{JARP:function(t,e){},Z3Aa:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s=a("3E4D"),r=a("Ch4/"),n=a("PI0u"),o=a("P9l9"),i={name:"app-detail",props:{brandId:{type:String,default:function(){return""}},tabType:{type:String,default:function(){return"1"}},activeGroupId:{type:String,default:function(){return""}}},data:function(){return{projectName:"",wxEnterpriseRelatedId:JSON.parse(localStorage.getItem("userInfo")).wxEnterpriseId,myCustomData:{searchFlag:!1},activeId:"1"}},methods:{submit:Object(n.a)(function(t){this.setData(t)},500),setData:function(t){var e=this,a={wxEnterpriseRelatedId:e.wxEnterpriseRelatedId},n=void 0;"showFlag"!=t&&(a[t]=e.myCustomData[t]?1:0,n="/haoban-app-customer-web/customer/save-online-chat-setting","searchFlag"===t&&(n="/haoban-app-customer-web/customer/save-customer-setting")),Object(o.b)(n,a).then(function(t){var e=t.data;1!=e.errorCode?r.a.errorMsg(e):s.a.showmsg("保存成功","success")}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},changeAllowGuide:function(t){this.myCustomData.allowGuideMobile=t,this.myCustomData.allowGuideMessage=t,this.myCustomData.allowGuideOnlineChat=t},changeContact:function(){this.myCustomData.allowGuideMobile||this.myCustomData.allowGuideMessage||this.myCustomData.allowGuideOnlineChat||(this.myCustomData.allowGuideContact=!1)},getCustomerSet:function(t){var e=this,a={wxEnterpriseRelatedId:e.wxEnterpriseRelatedId};Object(o.b)("/haoban-app-customer-web/customer/find-customer-setting",a).then(function(t){var a=t.data;1!=a.errorCode?r.a.errorMsg(a):a.result&&(e.myCustomData.searchFlag=!!a.result.searchFlag)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})}},watch:{},mounted:function(){this.$emit("showTab","13"),this.getCustomerSet(this.brandId)},components:{}},u={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"app-detail-wrap"},[a("div",{staticClass:"app-detail-pane border-box p-20"},[a("el-checkbox",{model:{value:t.myCustomData.searchFlag,callback:function(e){t.$set(t.myCustomData,"searchFlag",e)},expression:"myCustomData.searchFlag"}},[t._v("允许全品牌搜索")]),t._v(" "),a("div",{staticClass:"m-t-46"},[a("el-button",{attrs:{type:"primary"},on:{click:function(e){return t.submit("searchFlag")}}},[t._v("保 存")])],1)],1)])},staticRenderFns:[]};var c=a("VU/8")(i,u,!1,function(t){a("JARP")},"data-v-5eaead02",null);e.default=c.exports}});
\ No newline at end of file
webpackJsonp([12],{JARP:function(t,e){},Z3Aa:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s=a("3E4D"),r=a("Ch4/"),n=a("PI0u"),o=a("P9l9"),i={name:"app-detail",props:{brandId:{type:String,default:function(){return""}},tabType:{type:String,default:function(){return"1"}},activeGroupId:{type:String,default:function(){return""}}},data:function(){return{projectName:"",wxEnterpriseRelatedId:JSON.parse(localStorage.getItem("userInfo")).wxEnterpriseId,myCustomData:{searchFlag:!1},activeId:"1"}},methods:{submit:Object(n.a)(function(t){this.setData(t)},500),setData:function(t){var e=this,a={wxEnterpriseRelatedId:e.wxEnterpriseRelatedId},n=void 0;"showFlag"!=t&&(a[t]=e.myCustomData[t]?1:0,n="/haoban-app-customer-web/customer/save-online-chat-setting","searchFlag"===t&&(n="/haoban-app-customer-web/customer/save-customer-setting")),Object(o.b)(n,a).then(function(t){var e=t.data;1!=e.errorCode?r.a.errorMsg(e):s.a.showmsg("保存成功","success")}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},changeAllowGuide:function(t){this.myCustomData.allowGuideMobile=t,this.myCustomData.allowGuideMessage=t,this.myCustomData.allowGuideOnlineChat=t},changeContact:function(){this.myCustomData.allowGuideMobile||this.myCustomData.allowGuideMessage||this.myCustomData.allowGuideOnlineChat||(this.myCustomData.allowGuideContact=!1)},getCustomerSet:function(t){var e=this,a={wxEnterpriseRelatedId:e.wxEnterpriseRelatedId};Object(o.b)("/haoban-app-customer-web/customer/find-customer-setting",a).then(function(t){var a=t.data;1!=a.errorCode?r.a.errorMsg(a):a.result&&(e.myCustomData.searchFlag=!!a.result.searchFlag)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})}},watch:{},mounted:function(){this.$emit("showTab","13"),this.getCustomerSet(this.brandId)},components:{}},u={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"app-detail-wrap"},[a("div",{staticClass:"app-detail-pane border-box p-20"},[a("el-checkbox",{model:{value:t.myCustomData.searchFlag,callback:function(e){t.$set(t.myCustomData,"searchFlag",e)},expression:"myCustomData.searchFlag"}},[t._v("允许全品牌搜索")]),t._v(" "),a("div",{staticClass:"m-t-46"},[a("el-button",{attrs:{type:"primary"},on:{click:function(e){return t.submit("searchFlag")}}},[t._v("保 存")])],1)],1)])},staticRenderFns:[]};var c=a("VU/8")(i,u,!1,function(t){a("JARP")},"data-v-5eaead02",null);e.default=c.exports}});
\ No newline at end of file
webpackJsonp([13],{CcEv:function(t,e){},JXTs:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s=a("mvHQ"),o=a.n(s),i=a("NKg7"),n=a("P9l9"),r=a("Ch4/"),c={name:"index",data:function(){return{projectName:"haoban-manage-web",contentHeight:"0px",collapseFlag:!1,showCustomDialog:!1,customType:"",customTitle:"",purchaseApp:[],noPurchaseApp:[{applicationId:1,applicationUrl:"https://hope.demogic.com/mobile-haoban-file/images/appicon/workbench/customer_center.png",applicationName:"测试应用",describe:"应用描述应用描述应用描述应用描述应用描述"}],versionData:{id:1,name:"基础版",date:(new Date).getTime(),storeNum:100,storeAllNum:150},helpList:[{id:1,name:"测试帮助中心"}]}},methods:{changeRoute:function(t){this.$router.push(t)},toOverStore:function(){this.changeRoute("/overStoreList")},toAppView:function(t){this.changeRoute(""+t.applicationPath)},goShopping:function(t){this.changeRoute("/")},toRouterView:function(t){this.$router.push({path:t.path})},collapseTag:function(t){this.collapseFlag=t},toAlert:function(){this.$confirm("您所在企业尚未订购好办 ,请前往升级版本后继续使用。","提示",{confirmButtonText:"立即前往订购",cancelButtonText:"取消",type:"warning"}).then(function(){window.open("")})},toTip:function(){this.$confirm("您没有该功能的使用权限,请联系管理员授权后继续使用。","提示",{confirmButtonText:"知道了",type:"warning"}).then(function(){window.open("")})},getEnterpriseData:function(){var t=this;Object(n.a)("/haoban-manage-web/home/find-enterprise-info",{}).then(function(e){var a=e.data;if(1==a.errorCode)return a.result.balance=Number(a.result.balance).toFixed(2),0==a.result.yesterdayUseNumber&&(a.result.yesterdayUseNumber=String(a.result.yesterdayUseNumber)),t.companyObj=a.result,void t.$nextTick(function(){t.getUserData()});r.a.errorMsg(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},getUserData:function(){var t=this;Object(n.a)("/haoban-manage-web/emp/get-user-info",{}).then(function(e){var a=e.data;if(1==a.errorCode)return localStorage.setItem("userInfo",o()(a.result)),void t.$nextTick(function(){t.$refs.headerMenu.getHeaderMenu()});t.$message.error({duration:1e3,message:a.message})}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},getAppData:function(t){var e=this,a={type:t};Object(n.a)("/haoban-manage3-web/application-list",a).then(function(a){var s=a.data;1!=s.errorCode?r.a.errorMsg(s):1==t?e.purchaseApp=JSON.parse(o()(s.result)):e.noPurchaseApp=JSON.parse(o()(s.result))}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})}},mounted:function(){this.getAppData(1),this.contentHeight=(document.documentElement.clientHeight||document.body.clientHeight)-204+"px"},components:{vueOfficeHeader:i.a}},l={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{attrs:{id:"index"}},[a("vue-office-header",{ref:"headerMenu",attrs:{projectName:t.projectName},on:{collapseTag:t.collapseTag,toRouterView:t.toRouterView}}),t._v(" "),a("div",{staticClass:"content",attrs:{id:"content"}},[a("div",{staticClass:"content-body",style:{minHeight:t.contentHeight}},[a("div",{staticClass:"index-body flex flex-row"},[a("div",{staticClass:"index-body-left"},[a("div",{staticClass:"index-body-left_top border-box"},[a("div",{staticClass:"app-title font-16 color-303133"},[t._v("已订购的应用")]),t._v(" "),a("ul",t._l(t.purchaseApp,function(e,s){return a("li",{key:s+"app",staticClass:"border-box",on:{click:function(a){return t.toAppView(e)}}},[a("div",{staticClass:"app-li-cell border-box flex"},[a("div",{staticClass:"app-cell-left"},[a("img",{attrs:{src:e.applicationUrl,alt:"img"}})]),t._v(" "),a("div",{staticClass:"app-cell-right"},[a("div",{staticClass:"app-name font-14 color-303133"},[t._v(t._s(e.applicationName))]),t._v(" "),a("div",{staticClass:"app-info"},[a("div",{staticClass:"app-version font-12 color-909399"},[t._v(t._s(e.versionName))]),t._v(" "),a("div",{staticClass:"app-date font-12 color-909399"},[t._v(t._s(t._f("timeStampToYmd")(e.date)))])])])])])}),0)]),t._v(" "),a("div",{staticClass:"index-body-left_bottom border-box"},[a("div",{staticClass:"app-title font-16 color-303133"},[t._v("未订购的应用")]),t._v(" "),a("ul",t._l(t.noPurchaseApp,function(e,s){return a("li",{key:s+"appno",staticClass:"border-box"},[a("div",{staticClass:"app-li-cell border-box flex"},[a("div",{staticClass:"app-cell-left"},[a("img",{attrs:{src:e.applicationUrl,alt:"img"}})]),t._v(" "),a("div",{staticClass:"app-cell-right"},[a("div",{staticClass:"app-name font-14 color-303133"},[t._v(t._s(e.applicationName))]),t._v(" "),a("div",{staticClass:"app-info"},[a("div",{staticClass:"app-describe font-12 color-909399"},[t._v(t._s(e.describe))])])])])])}),0)])]),t._v(" "),a("div",{staticClass:"index-body-right"},[a("div",{staticClass:"index-body-right_top border-box"},[a("div",{staticClass:"serve-info"},[a("div",{staticClass:"serve-version flex"},[a("span",{staticClass:"w-86 font-14 color-909399 text-left"},[t._v("版本")]),t._v(" "),a("span",{staticClass:"font-14 color-303133"},[t._v(t._s(t.versionData.name))])]),t._v(" "),a("div",{staticClass:"serve-date flex m-t-20"},[a("span",{staticClass:"w-86 font-14 color-909399 text-left"},[t._v("到期时间")]),t._v(" "),a("span",{staticClass:"font-14 color-303133"},[t._v(t._s(t._f("timeStampToYmd")(t.versionData.date)))])]),t._v(" "),a("div",{staticClass:"serve-store flex m-t-20"},[a("span",{staticClass:"w-86 font-14 color-909399 text-left"},[t._v("门店容量")]),t._v(" "),a("span",{staticClass:"font-14 color-303133 "},[t._v(t._s(t.versionData.storeAllNum)+"/"+t._s(t.versionData.storeNum))]),t.versionData.storeAllNum>t.versionData.storeNum?a("span",{staticClass:" cursor-pointer font-12 p-l-10 color-f5222d",on:{click:t.toOverStore}},[t._v("("+t._s(t.versionData.storeAllNum-t.versionData.storeNum)+"家门店溢出)")]):t._e()]),t._v(" "),a("div",{staticClass:"serve-btn text-center m-t-30"},[a("el-button",{attrs:{type:"primary"},on:{click:t.goShopping}},[t._v("前往订购")])],1)])]),t._v(" "),a("div",{staticClass:"index-body-right_bottom border-box m-t-10"},[a("div",{staticClass:"help-title font-16 color-303133 font-w-600"},[t._v("帮助中心")]),t._v(" "),a("ul",{staticClass:"help-list"},t._l(t.helpList,function(e,s){return a("li",{key:s+"help",staticClass:"font-14 color-606266"},[t._v("\n "+t._s(e.name)+"\n ")])}),0)])])])]),t._v(" "),a("vue-gic-footer")],1)],1)},staticRenderFns:[]};var p=a("VU/8")(c,l,!1,function(t){a("CcEv")},"data-v-5095e8ff",null);e.default=p.exports}});
\ No newline at end of file
webpackJsonp([20],{"/NA0":function(e,t){},0:function(e,t,n){n("j1ja"),e.exports=n("NHnr")},"4qCZ":function(e,t){},"5tgt":function(e,t,n){e.exports=function(e,t){return function(o){n("Opzk")("./"+e+"/"+t+".vue").then(function(e){o(e)})}}},AmOA:function(e,t){},LP53:function(e,t,n){"use strict";function o(e,t,n,o,r,a,i,s,u,c){"boolean"!=typeof i&&(u=s,s=i,i=!1);const p="function"==typeof n?n.options:n;let m;if(e&&e.render&&(p.render=e.render,p.staticRenderFns=e.staticRenderFns,p._compiled=!0,r&&(p.functional=!0)),o&&(p._scopeId=o),a?(m=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),t&&t.call(this,u(e)),e&&e._registeredComponents&&e._registeredComponents.add(a)},p._ssrRegister=m):t&&(m=i?function(e){t.call(this,c(e,this.$root.$options.shadowRoot))}:function(e){t.call(this,s(e))}),m)if(p.functional){const e=p.render;p.render=function(t,n){return m.call(n),e(t,n)}}else{const e=p.beforeCreate;p.beforeCreate=e?[].concat(e,m):[m]}return n}n.d(t,"a",function(){return o});"undefined"!=typeof navigator&&/msie [6-9]\\b/.test(navigator.userAgent.toLowerCase())},NHnr:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n("fZjL"),r=n.n(o),a=(n("j1ja"),n("hKoQ")),i=n.n(a),s={render:function(){var e=this.$createElement,t=this._self._c||e;return t("div",{attrs:{id:"app"}},[t("transition",{attrs:{name:"fade",mode:"out-in"}},[t("router-view")],1)],1)},staticRenderFns:[]};var u=n("VU/8")({name:"App",data:function(){return{}}},s,!1,function(e){n("/NA0")},null,null).exports,c=n("lRwf"),p=n.n(c),m=n("pRNm"),g=n.n(m),d=n("5tgt"),l=n.n(d);p.a.use(g.a);var f=function(e){n.e(1).then(n.bind(null,"ODjX")).then(function(t){e(t)})};window.sessionStorage.getItem("token")&&store.commit(types.LOGIN,window.sessionStorage.getItem("token"));var h,v=[{path:"/",name:"/",redirect:"login"},{path:"/login",name:"登录",component:l()("login","index")},{path:"/index",name:"index",component:l()("index","index")},{path:"/contacts",name:"通讯录",redirect:"contactsList",component:l()("business","index"),children:[{path:"/contactsList",name:"通讯录",component:l()("business","contacts")},{path:"/orgStructSet",name:"组织架构管理",component:l()("business","orgStructSet")},{path:"/recycle",name:"组织架构管理",component:l()("business","recycle")}]},{path:"/overStore",name:"溢出门店",redirect:"unreview",component:l()("overstore","index"),children:[{path:"/overStoreList",name:"溢出门店",component:l()("overstore","overStoreList")}]},{path:"/apps",name:"企业应用",redirect:"mycustomer",component:l()("apps","index"),children:[{path:"/mycustomer",name:"我的顾客的",redirect:"/memberShowSet",component:l()("apps/customerApp","index"),children:[{path:"/memberShowSet",name:"会员展示设置",component:l()("apps/customerApp","memberShowSet")},{path:"/memberGroupSet",name:"会员分组设置",component:l()("apps/customerApp","memberGroupSet")},{path:"/memberSearchSet",name:"会员搜索设置",component:l()("apps/customerApp","memberSearchSet")}]}]},{path:"/gic-error",name:"gic跳转失败页",component:l()("errorPage","gic-error")},{path:"/403",name:"无权访问",component:f},{path:"/404",name:"error404",component:f},{path:"/500",name:"error500",component:f},{path:"*",redirect:"/404",hidden:!0}],S=new g.a({routes:v,scrollBehavior:function(){return{y:0}}}),w=n("zL8q"),b=n.n(w),x=n("Rf8U"),A=n.n(x),V=n("mtWM"),M=n.n(V),y=n("bOdI"),R=n.n(y),D=n("SJI6"),_=n.n(D);p.a.use(_.a);var T=new _.a.Store({state:{user:{},token:null,title:"",show:!1,bgHeight:window.screen.availHeight-440-24+"px"},mutations:(h={},R()(h,"login",function(e,t){sessionStorage.token=t,e.token=t}),R()(h,"logout",function(e){sessionStorage.removeItem("token"),e.token=null}),R()(h,"title",function(e,t){e.title=t}),R()(h,"show",function(e,t){e.show=t}),h)}),E=(n("4qCZ"),n("uKUT"),n("Xcu2"),{dateFormat:function(e,t){if(e){e=10===e.toString().length?1e3*e:e;var n=new Date(e),o={"M+":n.getMonth()+1,"D+":n.getDate(),W:"日一二三四五六".charAt(n.getDay()),"h+":n.getHours(),"m+":n.getMinutes(),"s+":n.getSeconds(),"q+":Math.floor((n.getMonth()+3)/3),S:n.getMilliseconds()};for(var r in/(Y+)/.test(t)&&(t=t.replace(RegExp.$1,(n.getFullYear()+"").substr(4-RegExp.$1.length))),o)new RegExp("("+r+")").test(t)&&(t=t.replace(RegExp.$1,1===RegExp.$1.length?o[r]:("00"+o[r]).substr((""+o[r]).length)));return t}},formatTimeStamp:function(e){if(e){var t=new Date(e),n=t.getMonth()+1,o=t.getDate()<10?"0"+t.getDate():t.getDate(),r=n<10?"0"+n:n,a=t.getHours()<10?"0"+t.getHours():t.getHours(),i=t.getMinutes()<10?"0"+t.getMinutes():t.getMinutes(),s=t.getSeconds()<10?"0"+t.getSeconds():t.getSeconds();return t.getFullYear()+"-"+r+"-"+o+" "+a+":"+i+":"+s}},timeStampToYmd:function(e){if(e){var t=new Date(e),n=t.getMonth()+1,o=t.getDate()<10?"0"+t.getDate():t.getDate(),r=n<10?"0"+n:n;return t.getFullYear()+"-"+r+"-"+o}},timeStampToHms:function(e){if(e){var t=new Date(e);return(t.getHours()<10?"0"+t.getHours():t.getHours())+":"+(t.getMinutes()<10?"0"+t.getMinutes():t.getMinutes())+":"+(t.getSeconds()<10?"0"+t.getSeconds():t.getSeconds())}},formatTimeYmdHms:function(e){if(e){var t=new Date(e),n=t.getMonth()+1,o=t.getDate()<10?"0"+t.getDate():t.getDate(),r=n<10?"0"+n:n,a=t.getHours()<10?"0"+t.getHours():t.getHours(),i=t.getMinutes()<10?"0"+t.getMinutes():t.getMinutes(),s=t.getSeconds()<10?"0"+t.getSeconds():t.getSeconds();return t.getFullYear()+"."+r+"."+o+" "+a+":"+i+":"+s}},formatPhoneNum:function(e){return e?(e=e.toString()).substr(0,3)+"****"+e.substr(7,11):""}}),O=n("TUaa"),P=n.n(O),H=n("tyqE"),j=n.n(H),k=n("pRVe"),C=n.n(k),I=n("XsK6"),L=n.n(I),N=n("QRL9"),$=n.n(N),F=n("eMjc"),G=n.n(F),U=n("l9mu"),X=n.n(U),Y={install:function(e,t){e.prototype.getPdf=function(){var e=this.htmlTitle;G()(document.querySelector("#pdfDom"),{allowTaint:!0,foreignObjectRendering:!0}).then(function(t){var n=t.width,o=t.height,r=n/592.28*841.89,a=o,i=0,s=592.28/n*o,u=t.toDataURL("image/jpeg",1),c=new X.a("","pt","a4");if(a<r)c.addImage(u,"JPEG",0,0,595.28,s);else for(;a>0;)c.addImage(u,"JPEG",0,i,595.28,s),i-=841.89,(a-=r)>0&&c.addPage();c.save(e+".pdf")})}}},J=n("/IwO"),K=n.n(J),q=n("iUJ9");n("AmOA");i.a.polyfill(),Vue.use(q.a),Vue.use(K.a),K.a.initAMapApiLoader({key:"d53a58848be368a7398dc56d5670fe9c",plugin:["Autocomplete","PlaceSearch","Scale","OverView","Geocoder","ToolBar","MapType","PolyEditor","AMap.CircleEditor"],v:"1.4.4"}),Vue.use(Y),Vue.use(L.a),Vue.use($.a),Vue.use(C.a),Vue.use(j.a),Vue.use(P.a),Vue.config.productionTip=!1,Vue.use(b.a,{size:"large"}),Vue.use(A.a,M.a),Vue.axios.defaults.withCredentials=!0,r()(E).forEach(function(e){Vue.filter(e,E[e])}),S.beforeEach(function(e,t,n){var o=window.location.origin;o.indexOf("localhost"),localStorage.getItem("userInfo"),"/"==e.path?n({path:"/login"}):n()}),new Vue({el:"#app",router:S,store:T,components:{App:u},template:"<App/>"})},Opzk:function(e,t,n){var o={"./apps/customerApp/index.vue":["QHTa",0,7],"./apps/customerApp/memberGroupSet.vue":["JuNN",0,15],"./apps/customerApp/memberSearchSet.vue":["Z3Aa",0,13],"./apps/customerApp/memberShowSet.vue":["odfG",0,12],"./apps/index.vue":["K1Vb",0,16],"./business/contacts.vue":["/W60",0,2],"./business/index.vue":["jPcV",0,18],"./business/orgStructSet.vue":["OI5V",0,3],"./business/recycle.vue":["K8Yn",0,10],"./errorPage/403.vue":["6XGN",8],"./errorPage/404.vue":["AejC",9],"./errorPage/500.vue":["FskK",5],"./errorPage/gic-error.vue":["Q3j/",6],"./errorPage/index.vue":["ODjX",1],"./index/index.vue":["JXTs",0,11],"./login/index.vue":["T+/8",0,4],"./overstore/index.vue":["Y55K",0,17],"./overstore/overStoreList.vue":["vuAV",0,14]};function r(e){var t=o[e];return t?Promise.all(t.slice(1).map(n.e)).then(function(){return n(t[0])}):Promise.reject(new Error("Cannot find module '"+e+"'."))}r.keys=function(){return Object.keys(o)},r.id="Opzk",e.exports=r},SJI6:function(e,t){e.exports=Vuex},Xcu2:function(e,t){},lRwf:function(e,t){e.exports=Vue},pRNm:function(e,t){e.exports=VueRouter},uKUT:function(e,t){}},[0]);
\ No newline at end of file
webpackJsonp([20],{"/NA0":function(e,t){},0:function(e,t,n){n("j1ja"),e.exports=n("NHnr")},"4qCZ":function(e,t){},"5tgt":function(e,t,n){e.exports=function(e,t){return function(o){n("Opzk")("./"+e+"/"+t+".vue").then(function(e){o(e)})}}},AmOA:function(e,t){},LP53:function(e,t,n){"use strict";function o(e,t,n,o,r,a,i,s,u,c){"boolean"!=typeof i&&(u=s,s=i,i=!1);const p="function"==typeof n?n.options:n;let m;if(e&&e.render&&(p.render=e.render,p.staticRenderFns=e.staticRenderFns,p._compiled=!0,r&&(p.functional=!0)),o&&(p._scopeId=o),a?(m=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),t&&t.call(this,u(e)),e&&e._registeredComponents&&e._registeredComponents.add(a)},p._ssrRegister=m):t&&(m=i?function(e){t.call(this,c(e,this.$root.$options.shadowRoot))}:function(e){t.call(this,s(e))}),m)if(p.functional){const e=p.render;p.render=function(t,n){return m.call(n),e(t,n)}}else{const e=p.beforeCreate;p.beforeCreate=e?[].concat(e,m):[m]}return n}n.d(t,"a",function(){return o});"undefined"!=typeof navigator&&/msie [6-9]\\b/.test(navigator.userAgent.toLowerCase())},NHnr:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n("fZjL"),r=n.n(o),a=(n("j1ja"),n("hKoQ")),i=n.n(a),s={render:function(){var e=this.$createElement,t=this._self._c||e;return t("div",{attrs:{id:"app"}},[t("transition",{attrs:{name:"fade",mode:"out-in"}},[t("router-view")],1)],1)},staticRenderFns:[]};var u=n("VU/8")({name:"App",data:function(){return{}}},s,!1,function(e){n("/NA0")},null,null).exports,c=n("lRwf"),p=n.n(c),m=n("pRNm"),g=n.n(m),d=n("5tgt"),l=n.n(d);p.a.use(g.a);var f=function(e){n.e(1).then(n.bind(null,"ODjX")).then(function(t){e(t)})};window.sessionStorage.getItem("token")&&store.commit(types.LOGIN,window.sessionStorage.getItem("token"));var h,v=[{path:"/",name:"/",redirect:"login"},{path:"/login",name:"登录",component:l()("login","index")},{path:"/index",name:"index",component:l()("index","index")},{path:"/contacts",name:"通讯录",redirect:"contactsList",component:l()("business","index"),children:[{path:"/contactsList",name:"通讯录",component:l()("business","contacts")},{path:"/orgStructSet",name:"组织架构管理",component:l()("business","orgStructSet")},{path:"/recycle",name:"组织架构管理",component:l()("business","recycle")}]},{path:"/overStore",name:"溢出门店",redirect:"unreview",component:l()("overstore","index"),children:[{path:"/overStoreList",name:"溢出门店",component:l()("overstore","overStoreList")}]},{path:"/apps",name:"企业应用",redirect:"mycustomer",component:l()("apps","index"),children:[{path:"/mycustomer",name:"我的顾客的",redirect:"/memberShowSet",component:l()("apps/customerApp","index"),children:[{path:"/memberShowSet",name:"会员展示设置",component:l()("apps/customerApp","memberShowSet")},{path:"/memberGroupSet",name:"会员分组设置",component:l()("apps/customerApp","memberGroupSet")},{path:"/memberSearchSet",name:"会员搜索设置",component:l()("apps/customerApp","memberSearchSet")}]}]},{path:"/gic-error",name:"gic跳转失败页",component:l()("errorPage","gic-error")},{path:"/403",name:"无权访问",component:f},{path:"/404",name:"error404",component:f},{path:"/500",name:"error500",component:f},{path:"*",redirect:"/404",hidden:!0}],S=new g.a({routes:v,scrollBehavior:function(){return{y:0}}}),w=n("zL8q"),b=n.n(w),x=n("Rf8U"),A=n.n(x),V=n("mtWM"),M=n.n(V),y=n("bOdI"),R=n.n(y),D=n("SJI6"),_=n.n(D);p.a.use(_.a);var T=new _.a.Store({state:{user:{},token:null,title:"",show:!1,bgHeight:window.screen.availHeight-440-24+"px"},mutations:(h={},R()(h,"login",function(e,t){sessionStorage.token=t,e.token=t}),R()(h,"logout",function(e){sessionStorage.removeItem("token"),e.token=null}),R()(h,"title",function(e,t){e.title=t}),R()(h,"show",function(e,t){e.show=t}),h)}),E=(n("4qCZ"),n("uKUT"),n("Xcu2"),{dateFormat:function(e,t){if(e){e=10===e.toString().length?1e3*e:e;var n=new Date(e),o={"M+":n.getMonth()+1,"D+":n.getDate(),W:"日一二三四五六".charAt(n.getDay()),"h+":n.getHours(),"m+":n.getMinutes(),"s+":n.getSeconds(),"q+":Math.floor((n.getMonth()+3)/3),S:n.getMilliseconds()};for(var r in/(Y+)/.test(t)&&(t=t.replace(RegExp.$1,(n.getFullYear()+"").substr(4-RegExp.$1.length))),o)new RegExp("("+r+")").test(t)&&(t=t.replace(RegExp.$1,1===RegExp.$1.length?o[r]:("00"+o[r]).substr((""+o[r]).length)));return t}},formatTimeStamp:function(e){if(e){var t=new Date(e),n=t.getMonth()+1,o=t.getDate()<10?"0"+t.getDate():t.getDate(),r=n<10?"0"+n:n,a=t.getHours()<10?"0"+t.getHours():t.getHours(),i=t.getMinutes()<10?"0"+t.getMinutes():t.getMinutes(),s=t.getSeconds()<10?"0"+t.getSeconds():t.getSeconds();return t.getFullYear()+"-"+r+"-"+o+" "+a+":"+i+":"+s}},timeStampToYmd:function(e){if(e){var t=new Date(e),n=t.getMonth()+1,o=t.getDate()<10?"0"+t.getDate():t.getDate(),r=n<10?"0"+n:n;return t.getFullYear()+"-"+r+"-"+o}},timeStampToHms:function(e){if(e){var t=new Date(e);return(t.getHours()<10?"0"+t.getHours():t.getHours())+":"+(t.getMinutes()<10?"0"+t.getMinutes():t.getMinutes())+":"+(t.getSeconds()<10?"0"+t.getSeconds():t.getSeconds())}},formatTimeYmdHms:function(e){if(e){var t=new Date(e),n=t.getMonth()+1,o=t.getDate()<10?"0"+t.getDate():t.getDate(),r=n<10?"0"+n:n,a=t.getHours()<10?"0"+t.getHours():t.getHours(),i=t.getMinutes()<10?"0"+t.getMinutes():t.getMinutes(),s=t.getSeconds()<10?"0"+t.getSeconds():t.getSeconds();return t.getFullYear()+"."+r+"."+o+" "+a+":"+i+":"+s}},formatPhoneNum:function(e){return e?(e=e.toString()).substr(0,3)+"****"+e.substr(7,11):""}}),O=n("TUaa"),P=n.n(O),H=n("tyqE"),j=n.n(H),k=n("pRVe"),C=n.n(k),I=n("XsK6"),L=n.n(I),N=n("QRL9"),$=n.n(N),F=n("eMjc"),G=n.n(F),U=n("l9mu"),X=n.n(U),Y={install:function(e,t){e.prototype.getPdf=function(){var e=this.htmlTitle;G()(document.querySelector("#pdfDom"),{allowTaint:!0,foreignObjectRendering:!0}).then(function(t){var n=t.width,o=t.height,r=n/592.28*841.89,a=o,i=0,s=592.28/n*o,u=t.toDataURL("image/jpeg",1),c=new X.a("","pt","a4");if(a<r)c.addImage(u,"JPEG",0,0,595.28,s);else for(;a>0;)c.addImage(u,"JPEG",0,i,595.28,s),i-=841.89,(a-=r)>0&&c.addPage();c.save(e+".pdf")})}}},J=n("/IwO"),K=n.n(J),q=n("iUJ9");n("AmOA");i.a.polyfill(),Vue.use(q.a),Vue.use(K.a),K.a.initAMapApiLoader({key:"d53a58848be368a7398dc56d5670fe9c",plugin:["Autocomplete","PlaceSearch","Scale","OverView","Geocoder","ToolBar","MapType","PolyEditor","AMap.CircleEditor"],v:"1.4.4"}),Vue.use(Y),Vue.use(L.a),Vue.use($.a),Vue.use(C.a),Vue.use(j.a),Vue.use(P.a),Vue.config.productionTip=!1,Vue.use(b.a,{size:"large"}),Vue.use(A.a,M.a),Vue.axios.defaults.withCredentials=!0,r()(E).forEach(function(e){Vue.filter(e,E[e])}),S.beforeEach(function(e,t,n){var o=window.location.origin;o.indexOf("localhost"),localStorage.getItem("userInfo"),"/"==e.path?n({path:"/login"}):n()}),new Vue({el:"#app",router:S,store:T,components:{App:u},template:"<App/>"})},Opzk:function(e,t,n){var o={"./apps/customerApp/index.vue":["QHTa",0,7],"./apps/customerApp/memberGroupSet.vue":["JuNN",0,15],"./apps/customerApp/memberSearchSet.vue":["Z3Aa",0,12],"./apps/customerApp/memberShowSet.vue":["odfG",0,11],"./apps/index.vue":["K1Vb",0,16],"./business/contacts.vue":["/W60",0,2],"./business/index.vue":["jPcV",0,18],"./business/orgStructSet.vue":["OI5V",0,3],"./business/recycle.vue":["K8Yn",0,10],"./errorPage/403.vue":["6XGN",8],"./errorPage/404.vue":["AejC",9],"./errorPage/500.vue":["FskK",5],"./errorPage/gic-error.vue":["Q3j/",6],"./errorPage/index.vue":["ODjX",1],"./index/index.vue":["JXTs",0,13],"./login/index.vue":["T+/8",0,4],"./overstore/index.vue":["Y55K",0,17],"./overstore/overStoreList.vue":["vuAV",0,14]};function r(e){var t=o[e];return t?Promise.all(t.slice(1).map(n.e)).then(function(){return n(t[0])}):Promise.reject(new Error("Cannot find module '"+e+"'."))}r.keys=function(){return Object.keys(o)},r.id="Opzk",e.exports=r},SJI6:function(e,t){e.exports=Vuex},Xcu2:function(e,t){},lRwf:function(e,t){e.exports=Vue},pRNm:function(e,t){e.exports=VueRouter},uKUT:function(e,t){}},[0]);
\ No newline at end of file
!function(e){var n=window.webpackJsonp;window.webpackJsonp=function(r,a,c){for(var f,d,b,i=0,u=[];i<r.length;i++)d=r[i],t[d]&&u.push(t[d][0]),t[d]=0;for(f in a)Object.prototype.hasOwnProperty.call(a,f)&&(e[f]=a[f]);for(n&&n(r,a,c);u.length;)u.shift()();if(c)for(i=0;i<c.length;i++)b=o(o.s=c[i]);return b};var r={},t={21:0};function o(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,o),t.l=!0,t.exports}o.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,o){n=t[e]=[r,o]});n[2]=r;var a=document.getElementsByTagName("head")[0],c=document.createElement("script");c.type="text/javascript",c.charset="utf-8",c.async=!0,c.timeout=12e4,o.nc&&c.setAttribute("nonce",o.nc),c.src=o.p+"static/js/"+e+"."+{0:"df83d5351bb9e8882766",1:"9a1776fdc262362d75b8",2:"9311f0519f0b2899a4a7",3:"6cea545a95ebe6cb1eb5",4:"114df92ac52300136d2e",5:"afc7b726a46486df899a",6:"9e12ea68528f2ad5f9a5",7:"4c95fe66c59573d7da03",8:"c2a3c1c2b9ffb4687826",9:"4b8efecc95608bc88200",10:"9c5ebbe659b7a663ddb3",11:"e0ef37bbae35125bd787",12:"d90be435e90fc03b61dd",13:"863fcfef38d982f04a9d",14:"6ddcbf8576b81570a798",15:"0a934f87a0f05eee4293",16:"ceb943561fcf2e88bc01",17:"30b2bb1593a5d6e55f0a",18:"b918fbf8403d96eac90a"}[e]+".js";var f=setTimeout(d,12e4);function d(){c.onerror=c.onload=null,clearTimeout(f);var n=t[e];0!==n&&(n&&n[1](new Error("Loading chunk "+e+" failed.")),t[e]=void 0)}return c.onerror=c.onload=d,a.appendChild(c),r},o.m=e,o.c=r,o.d=function(e,n,r){o.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},o.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(n,"a",n),n},o.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},o.p="./",o.oe=function(e){throw console.error(e),e}}([]);
\ No newline at end of file
!function(e){var n=window.webpackJsonp;window.webpackJsonp=function(r,o,c){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 o)Object.prototype.hasOwnProperty.call(o,f)&&(e[f]=o[f]);for(n&&n(r,o,c);d.length;)d.shift()();if(c)for(b=0;b<c.length;b++)u=a(a.s=c[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 o=document.getElementsByTagName("head")[0],c=document.createElement("script");c.type="text/javascript",c.charset="utf-8",c.async=!0,c.timeout=12e4,a.nc&&c.setAttribute("nonce",a.nc),c.src=a.p+"static/js/"+e+"."+{0:"53eb6e199d501a7bb981",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(){c.onerror=c.onload=null,clearTimeout(f);var n=t[e];0!==n&&(n&&n[1](new Error("Loading chunk "+e+" failed.")),t[e]=void 0)}return c.onerror=c.onload=i,o.appendChild(c),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-20 10:21:48
* @LastEditTime : 2020-02-24 19:58:54
-->
<template>
<div class="navheader">
......@@ -48,7 +48,8 @@
</div>
</template>
<script>
// import { getRequest } from './api';
import { postRequest } from '@/api/api';
import errMsg from '@/common/js/error';
import qs from 'qs';
export default {
name: 'vue-office-header',
......@@ -75,7 +76,10 @@ export default {
userInfo: {
name: '',
phoneNumber: '',
headPic: ''
headPic: '',
staffDTO: {
staffName: ''
}
}
};
},
......@@ -292,6 +296,30 @@ export default {
projectName: function(newData, oldData) {
const that = this;
that.repProjectName = newData || 'haoban-manage-web';
},
/**
* 登录 --- api
*/
toLogin() {
const that = this;
let para = {};
postRequest('/haoban-manage3-web/get-login-info', para)
.then(res => {
let resData = res.data;
if (resData.errorCode == 1) {
localStorage.setItem('userInfo', JSON.stringify(resData.result));
that.userInfo = resData.result;
return;
}
errMsg.errorMsg(resData);
})
.catch(function(error) {
that.$message.error({
duration: 1000,
message: error.message
});
});
}
},
mounted() {
......@@ -309,8 +337,11 @@ export default {
that.repProjectName = that.projectName || 'haoban-manage-web';
that.isCollapse = that.collapseFlag;
// 获取菜单
if (!localStorage.getItem('userInfo')) {
that.toLogin();
}
// Promise.all([that.getHeaderMenu(), that.getMenuDetail()]);
that.userInfo = JSON.parse(localStorage.getItem('userInfo'));
// that.userInfo = JSON.parse(localStorage.getItem('userInfo'));
}
};
</script>
......
......@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2018-10-10 14:44:45
* @LastEditors : 无尘
* @LastEditTime : 2020-02-24 16:04:48
* @LastEditTime : 2020-02-24 20:01:04
-->
<template>
<div id="index">
......@@ -90,7 +90,7 @@
<script>
// 公共头部菜单
import vueOfficeHeader from '@/components/vue-office-header';
import { getRequest, postRequest } from '@/api/api';
import { getRequest } from '@/api/api';
import errMsg from '@/common/js/error';
export default {
name: 'index',
......@@ -105,13 +105,13 @@ export default {
// 购买应用
purchaseApp: [
/* {
applicationId: 1,
applicationUrl: 'https://hope.demogic.com/mobile-haoban-file/images/appicon/workbench/customer_center.png',
applicationName: '我的顾客',
versionName: '基础版',
date: new Date().getTime(),
describe: '应用描述应用描述应用描述应用描述应用描述'
} */
applicationId: 1,
applicationUrl: 'https://hope.demogic.com/mobile-haoban-file/images/appicon/workbench/customer_center.png',
applicationName: '我的顾客',
versionName: '基础版',
date: new Date().getTime(),
describe: '应用描述应用描述应用描述应用描述应用描述'
} */
],
// 未购买应用
noPurchaseApp: [
......@@ -295,37 +295,11 @@ export default {
message: error.message
});
});
},
/**
* 登录 --- api
*/
toLogin() {
const that = this;
let para = {};
postRequest('/haoban-manage3-web/get-login-info', para)
.then(res => {
let resData = res.data;
if (resData.errorCode == 1) {
localStorage.setItem('userInfo', JSON.stringify(resData.result));
return;
}
errMsg.errorMsg(resData);
})
.catch(function(error) {
that.$message.error({
duration: 1000,
message: error.message
});
});
}
},
mounted() {
const that = this;
that.getAppData(1);
if (!localStorage.getItem('userInfo')) {
that.toLogin();
}
/* that.getAppData(2); */
that.contentHeight = (document.documentElement.clientHeight || document.body.clientHeight) - 204 + 'px';
},
......
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