Commit 10f42b94 by fairyly

fix: 修改接口参数

parent f730b75b
<!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.35bab662512c83f025fdc83a6ac6b286.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.9d4e711acc736332fc75.js></script><script type=text/javascript src=./static/js/vendor.2cff6c68669f76f7bb26.js></script><script type=text/javascript src=./static/js/app.7d1911e81801125a9883.js></script></body></html> <!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.9b1e7b0a1668fbd27a6bff4abd61da49.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.24aacf23cd2c95d46ee6.js></script><script type=text/javascript src=./static/js/vendor.2cff6c68669f76f7bb26.js></script><script type=text/javascript src=./static/js/app.02c6842c787a4505fee7.js></script></body></html>
\ No newline at end of file \ No newline at end of file
webpackJsonp([0],{"//Fk":function(e,t,r){e.exports={default:r("U5ju"),__esModule:!0}},"2KxR":function(e,t){e.exports=function(e,t,r,n){if(!(e instanceof t)||void 0!==n&&n in e)throw TypeError(r+": incorrect invocation!");return e}},"3E4D":function(e,t,r){"use strict";var n=r("zL8q");r.n(n);t.a={showmsg:function(e,t){Object(n.Message)({duration:1e3,message:e,type:t})}}},"3Xzz":function(e,t,r){"use strict";var n=r("P9l9"),o=r("Ch4/"),a={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(e,t){t?window.location.href=e:this.$router.push(e)},getNavPath:function(){var e=this,t={project:e.projectName,path:e.$route.path.split("/")[1]};Object(n.b)("/api-auth/get-current-memu-data",t).then(function(t){var r=t.data;if(0==r.errorCode)return!!r.result&&(e.navpath=[],void(r.result.list&&r.result.list.length&&r.result.list.forEach(function(t,n){t.name=t.menuName,t.path="",n==r.result.list.length-1&&(t.path="/"+t.menuUrl),n>0&&e.navpath.push(t)})));o.a.errorMsg(r)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})}},mounted:function(){}},i={render:function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"navwrap border-box"},[r("el-breadcrumb",{attrs:{"separator-class":"el-icon-arrow-right"}},[e._l(e.navpath,function(t,n){return[t.path?[r("el-breadcrumb-item",{key:"nav"+n,attrs:{to:{path:t.path}},on:{click:function(r){return e.changeRoute(t.path,t.relocation)}}},[r("span",{staticClass:"el-breadcrumb__inner is-link",on:{click:function(r){return e.changeRoute(t.path,t.relocation)}}},[e._v("\n "+e._s(t.name)+"\n ")])])]:[r("el-breadcrumb-item",{key:"nav"+n},[e._v(e._s(t.name))])]]})],2)],1)},staticRenderFns:[]};var s=r("VU/8")(a,i,!1,function(e){r("jd4q")},"data-v-0c26364e",null);t.a=s.exports},"3fs2":function(e,t,r){var n=r("RY/4"),o=r("dSzd")("iterator"),a=r("/bQp");e.exports=r("FeBl").getIteratorMethod=function(e){if(void 0!=e)return e[o]||e["@@iterator"]||a[n(e)]}},"7L/I":function(e,t){},"82Mu":function(e,t,r){var n=r("7KvD"),o=r("L42u").set,a=n.MutationObserver||n.WebKitMutationObserver,i=n.process,s=n.Promise,c="process"==r("R9M2")(i);e.exports=function(){var e,t,r,u=function(){var n,o;for(c&&(n=i.domain)&&n.exit();e;){o=e.fn,e=e.next;try{o()}catch(n){throw e?r():t=void 0,n}}t=void 0,n&&n.enter()};if(c)r=function(){i.nextTick(u)};else if(!a||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 a(u).observe(p,{characterData:!0}),r=function(){p.data=f=!f}}return function(n){var o={fn:n,next:void 0};t&&(t.next=o),e||(e=o,r()),t=o}}},CXw9:function(e,t,r){"use strict";var n,o,a,i,s=r("O4g8"),c=r("7KvD"),u=r("+ZMJ"),l=r("RY/4"),f=r("kM2E"),p=r("EqjI"),d=r("lOnJ"),h=r("2KxR"),v=r("NWt+"),m=r("t8x9"),g=r("L42u").set,y=r("82Mu")(),b=r("qARP"),w=r("dNDb"),x=r("iUbK"),j=r("fJUb"),P=c.TypeError,_=c.process,O=_&&_.versions,C=O&&O.v8||"",N=c.Promise,R="process"==l(_),A=function(){},D=o=b.f,k=!!function(){try{var e=N.resolve(1),t=(e.constructor={})[r("dSzd")("species")]=function(e){e(A,A)};return(R||"function"==typeof PromiseRejectionEvent)&&e.then(A)instanceof t&&0!==C.indexOf("6.6")&&-1===x.indexOf("Chrome/66")}catch(e){}}(),S=function(e){var t;return!(!p(e)||"function"!=typeof(t=e.then))&&t},M=function(e,t){if(!e._n){e._n=!0;var r=e._c;y(function(){for(var n=e._v,o=1==e._s,a=0,i=function(t){var r,a,i,s=o?t.ok:t.fail,c=t.resolve,u=t.reject,l=t.domain;try{s?(o||(2==e._h&&I(e),e._h=1),!0===s?r=n:(l&&l.enter(),r=s(n),l&&(l.exit(),i=!0)),r===t.promise?u(P("Promise-chain cycle")):(a=S(r))?a.call(r,c,u):c(r)):u(n)}catch(e){l&&!i&&l.exit(),u(e)}};r.length>a;)i(r[a++]);e._c=[],e._n=!1,t&&!e._h&&E(e)})}},E=function(e){g.call(c,function(){var t,r,n,o=e._v,a=L(e);if(a&&(t=w(function(){R?_.emit("unhandledRejection",o,e):(r=c.onunhandledrejection)?r({promise:e,reason:o}):(n=c.console)&&n.error&&n.error("Unhandled promise rejection",o)}),e._h=R||L(e)?2:1),e._a=void 0,a&&t.e)throw t.v})},L=function(e){return 1!==e._h&&0===(e._a||e._c).length},I=function(e){g.call(c,function(){var t;R?_.emit("rejectionHandled",e):(t=c.onrejectionhandled)&&t({promise:e,reason:e._v})})},F=function(e){var t=this;t._d||(t._d=!0,(t=t._w||t)._v=e,t._s=2,t._a||(t._a=t._c.slice()),M(t,!0))},U=function(e){var t,r=this;if(!r._d){r._d=!0,r=r._w||r;try{if(r===e)throw P("Promise can't be resolved itself");(t=S(e))?y(function(){var n={_w:r,_d:!1};try{t.call(e,u(U,n,1),u(F,n,1))}catch(e){F.call(n,e)}}):(r._v=e,r._s=1,M(r,!1))}catch(e){F.call({_w:r,_d:!1},e)}}};k||(N=function(e){h(this,N,"Promise","_h"),d(e),n.call(this);try{e(u(U,this,1),u(F,this,1))}catch(e){F.call(this,e)}},(n=function(e){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")(N.prototype,{then:function(e,t){var r=D(m(this,N));return r.ok="function"!=typeof e||e,r.fail="function"==typeof t&&t,r.domain=R?_.domain:void 0,this._c.push(r),this._a&&this._a.push(r),this._s&&M(this,!1),r.promise},catch:function(e){return this.then(void 0,e)}}),a=function(){var e=new n;this.promise=e,this.resolve=u(U,e,1),this.reject=u(F,e,1)},b.f=D=function(e){return e===N||e===i?new a(e):o(e)}),f(f.G+f.W+f.F*!k,{Promise:N}),r("e6n0")(N,"Promise"),r("bRrM")("Promise"),i=r("FeBl").Promise,f(f.S+f.F*!k,"Promise",{reject:function(e){var t=D(this);return(0,t.reject)(e),t.promise}}),f(f.S+f.F*(s||!k),"Promise",{resolve:function(e){return j(s&&this===i?N:this,e)}}),f(f.S+f.F*!(k&&r("dY0y")(function(e){N.all(e).catch(A)})),"Promise",{all:function(e){var t=this,r=D(t),n=r.resolve,o=r.reject,a=w(function(){var r=[],a=0,i=1;v(e,!1,function(e){var s=a++,c=!1;r.push(void 0),i++,t.resolve(e).then(function(e){c||(c=!0,r[s]=e,--i||n(r))},o)}),--i||n(r)});return a.e&&o(a.v),r.promise},race:function(e){var t=this,r=D(t),n=r.reject,o=w(function(){v(e,!1,function(e){t.resolve(e).then(r.resolve,n)})});return o.e&&n(o.v),r.promise}})},"Ch4/":function(e,t,r){"use strict";var n=r("zL8q");r.n(n);t.a={errorMsg:function(e){var t=window.location.origin;if(1!=e.errorCode){if(10==e.errorCode)return window.location.href=t+"/haoban-manage3-web/#/index",!1;n.Message.error({duration:1e3,message:e.message})}}}},CwSZ:function(e,t,r){"use strict";var n=r("p8xL"),o=r("XgCd"),a={brackets:function(e){return e+"[]"},indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},i=Date.prototype.toISOString,s={delimiter:"&",encode:!0,encoder:n.encode,encodeValuesOnly:!1,serializeDate:function(e){return i.call(e)},skipNulls:!1,strictNullHandling:!1},c=function e(t,r,o,a,i,c,u,l,f,p,d,h){var v=t;if("function"==typeof u)v=u(r,v);else if(v instanceof Date)v=p(v);else if(null===v){if(a)return c&&!h?c(r,s.encoder):r;v=""}if("string"==typeof v||"number"==typeof v||"boolean"==typeof v||n.isBuffer(v))return c?[d(h?r:c(r,s.encoder))+"="+d(c(v,s.encoder))]:[d(r)+"="+d(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 b=0;b<m.length;++b){var w=m[b];i&&null===v[w]||(g=Array.isArray(v)?g.concat(e(v[w],o(r,w),o,a,i,c,u,l,f,p,d,h)):g.concat(e(v[w],r+(f?"."+w:"["+w+"]"),o,a,i,c,u,l,f,p,d,h)))}return g};e.exports=function(e,t){var r=e,i=t?n.assign({},t):{};if(null!==i.encoder&&void 0!==i.encoder&&"function"!=typeof i.encoder)throw new TypeError("Encoder has to be a function.");var u=void 0===i.delimiter?s.delimiter:i.delimiter,l="boolean"==typeof i.strictNullHandling?i.strictNullHandling:s.strictNullHandling,f="boolean"==typeof i.skipNulls?i.skipNulls:s.skipNulls,p="boolean"==typeof i.encode?i.encode:s.encode,d="function"==typeof i.encoder?i.encoder:s.encoder,h="function"==typeof i.sort?i.sort:null,v=void 0!==i.allowDots&&i.allowDots,m="function"==typeof i.serializeDate?i.serializeDate:s.serializeDate,g="boolean"==typeof i.encodeValuesOnly?i.encodeValuesOnly:s.encodeValuesOnly;if(void 0===i.format)i.format=o.default;else if(!Object.prototype.hasOwnProperty.call(o.formatters,i.format))throw new TypeError("Unknown format option provided.");var y,b,w=o.formatters[i.format];"function"==typeof i.filter?r=(b=i.filter)("",r):Array.isArray(i.filter)&&(y=b=i.filter);var x,j=[];if("object"!=typeof r||null===r)return"";x=i.arrayFormat in a?i.arrayFormat:"indices"in i?i.indices?"indices":"repeat":"indices";var P=a[x];y||(y=Object.keys(r)),h&&y.sort(h);for(var _=0;_<y.length;++_){var O=y[_];f&&null===r[O]||(j=j.concat(c(r[O],O,P,l,f,p?d:null,b,h,v,m,w,g)))}var C=j.join(u),N=!0===i.addQueryPrefix?"?":"";return C.length>0?N+C:""}},DDCP:function(e,t,r){"use strict";var n=r("p8xL"),o=Object.prototype.hasOwnProperty,a={allowDots:!1,allowPrototypes:!1,arrayLimit:20,decoder:n.decode,delimiter:"&",depth:5,parameterLimit:1e3,plainObjects:!1,strictNullHandling:!1},i=function(e,t,r){if(e){var n=r.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,a=/(\[[^[\]]*])/g,i=/(\[[^[\]]*])/.exec(n),s=i?n.slice(0,i.index):n,c=[];if(s){if(!r.plainObjects&&o.call(Object.prototype,s)&&!r.allowPrototypes)return;c.push(s)}for(var u=0;null!==(i=a.exec(n))&&u<r.depth;){if(u+=1,!r.plainObjects&&o.call(Object.prototype,i[1].slice(1,-1))&&!r.allowPrototypes)return;c.push(i[1])}return i&&c.push("["+n.slice(i.index)+"]"),function(e,t,r){for(var n=t,o=e.length-1;o>=0;--o){var a,i=e[o];if("[]"===i)a=(a=[]).concat(n);else{a=r.plainObjects?Object.create(null):{};var s="["===i.charAt(0)&&"]"===i.charAt(i.length-1)?i.slice(1,-1):i,c=parseInt(s,10);!isNaN(c)&&i!==s&&String(c)===s&&c>=0&&r.parseArrays&&c<=r.arrayLimit?(a=[])[c]=n:a[s]=n}n=a}return n}(c,t,r)}};e.exports=function(e,t){var r=t?n.assign({},t):{};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:a.delimiter,r.depth="number"==typeof r.depth?r.depth:a.depth,r.arrayLimit="number"==typeof r.arrayLimit?r.arrayLimit:a.arrayLimit,r.parseArrays=!1!==r.parseArrays,r.decoder="function"==typeof r.decoder?r.decoder:a.decoder,r.allowDots="boolean"==typeof r.allowDots?r.allowDots:a.allowDots,r.plainObjects="boolean"==typeof r.plainObjects?r.plainObjects:a.plainObjects,r.allowPrototypes="boolean"==typeof r.allowPrototypes?r.allowPrototypes:a.allowPrototypes,r.parameterLimit="number"==typeof r.parameterLimit?r.parameterLimit:a.parameterLimit,r.strictNullHandling="boolean"==typeof r.strictNullHandling?r.strictNullHandling:a.strictNullHandling,""===e||null===e||void 0===e)return r.plainObjects?Object.create(null):{};for(var s="string"==typeof e?function(e,t){for(var r={},n=t.ignoreQueryPrefix?e.replace(/^\?/,""):e,i=t.parameterLimit===1/0?void 0:t.parameterLimit,s=n.split(t.delimiter,i),c=0;c<s.length;++c){var u,l,f=s[c],p=f.indexOf("]="),d=-1===p?f.indexOf("="):p+1;-1===d?(u=t.decoder(f,a.decoder),l=t.strictNullHandling?null:""):(u=t.decoder(f.slice(0,d),a.decoder),l=t.decoder(f.slice(d+1),a.decoder)),o.call(r,u)?r[u]=[].concat(r[u]).concat(l):r[u]=l}return r}(e,r):e,c=r.plainObjects?Object.create(null):{},u=Object.keys(s),l=0;l<u.length;++l){var f=u[l],p=i(f,s[f],r);c=n.merge(c,p,r)}return n.compact(c)}},EqBC:function(e,t,r){"use strict";var n=r("kM2E"),o=r("FeBl"),a=r("7KvD"),i=r("t8x9"),s=r("fJUb");n(n.P+n.R,"Promise",{finally:function(e){var t=i(this,o.Promise||a.Promise),r="function"==typeof e;return this.then(r?function(r){return s(t,e()).then(function(){return r})}:e,r?function(r){return s(t,e()).then(function(){throw r})}:e)}})},L42u:function(e,t,r){var n,o,a,i=r("+ZMJ"),s=r("knuC"),c=r("RPLV"),u=r("ON07"),l=r("7KvD"),f=l.process,p=l.setImmediate,d=l.clearImmediate,h=l.MessageChannel,v=l.Dispatch,m=0,g={},y=function(){var e=+this;if(g.hasOwnProperty(e)){var t=g[e];delete g[e],t()}},b=function(e){y.call(e.data)};p&&d||(p=function(e){for(var t=[],r=1;arguments.length>r;)t.push(arguments[r++]);return g[++m]=function(){s("function"==typeof e?e:Function(e),t)},n(m),m},d=function(e){delete g[e]},"process"==r("R9M2")(f)?n=function(e){f.nextTick(i(y,e,1))}:v&&v.now?n=function(e){v.now(i(y,e,1))}:h?(a=(o=new h).port2,o.port1.onmessage=b,n=i(a.postMessage,a,1)):l.addEventListener&&"function"==typeof postMessage&&!l.importScripts?(n=function(e){l.postMessage(e+"","*")},l.addEventListener("message",b,!1)):n="onreadystatechange"in u("script")?function(e){c.appendChild(u("script")).onreadystatechange=function(){c.removeChild(this),y.call(e)}}:function(e){setTimeout(i(y,e,1),0)}),e.exports={set:p,clear:d}},Mhyx:function(e,t,r){var n=r("/bQp"),o=r("dSzd")("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(n.Array===e||a[o]===e)}},NKg7:function(e,t,r){"use strict";var n=r("mvHQ"),o=r.n(n),a=r("mw3O"),i=r.n(a),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 e=window.location.origin;"-1"!=e.indexOf("localhost")?this.baseUrl="http://www.gicdev.com":this.baseUrl=e},methods:{changeRouter:function(e){this.$router.push(e)},handleCollapse:function(){this.isCollapse=1!=this.isCollapse,this.$emit("collapseTag",this.isCollapse)},toGicLogin:function(){var e=window.location.origin.includes("demogic.com")?window.location.origin:"https://hope.demogic.com";window.location.href=e+"/gic-web/#/"},toLoginOut:function(){var e=this;e.$confirm("确认退出吗?","提示",{type:"warning"}).then(function(){e.axios.post(e.baseUrl+"/haoban-manage-web/logout",{}).then(function(t){var r=t.data;if(1==r.errorCode)return e.$message({message:"退出成功",type:"success"}),void(window.location.href=window.location.origin+"/haoban-manage3-web/#/login");e.$message.error({duration:1e3,message:r.message})}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})}).catch(function(){})},toRouter:function(e,t,r){var n={path:"/"+e,name:t};this.$emit("toRouterView",n)},treeData:function(e){return e.filter(function(t){var r=e.filter(function(e){return t.haobanMenuRightId==e.parentRightId});return r.length>0&&(t.children=r),-1==t.parentRightId})},getMenuDetail:function(){var e=this,t={router:e.routePathName,project:e.repProjectName,requestProject:e.repProjectName};e.axios.post(e.baseUrl+"/haoban-manage-web/menu-detail",i.a.stringify(t)).then(function(t){var r=t.data;1!=r.errorCode?e.$message.error({duration:1e3,message:r.message}):e.pathName="/"+r.result.top.url}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},getHeaderMenu:function(){var e=this,t={project:e.repProjectName,requestProject:e.repProjectName};e.axios.post(e.baseUrl+"/haoban-manage-web/menu-list",i.a.stringify(t)).then(function(t){var r=t.data;if(1==r.errorCode)return r.result.forEach(function(e,t){e.url="/"+e.url}),e.menuHead=e.treeData(r.result),void e.$nextTick(function(){e.userInfo=JSON.parse(localStorage.getItem("userInfo")),e.userInfo||(e.userInfo={name:"",headPic:"",phoneNumber:""},e.getUserData())});e.$message.error({duration:1e3,message:r.message})}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},getUserData:function(){var e=this;e.axios.get(e.baseUrl+"/haoban-manage-web/emp/get-user-info",{}).then(function(t){var r=t.data;if(1==r.errorCode)return e.userInfo=r.result,void localStorage.setItem("userInfo",o()(r.result));e.$message.error({duration:1e3,message:r.message})}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})}},watch:{$route:{handler:function(e,t){},deep:!0},collapseFlag:function(e,t){this.isCollapse=e},projectName:function(e,t){this.repProjectName=e||"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}},c={render:function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"navheader"},[r("div",{staticClass:"navheader-logo fl",class:{moveleft:e.isCollapse,moveright:!e.isCollapse}},[r("span",{staticClass:"pro-name"},[e._v("好办管理平台")])]),e._v(" "),r("div",{staticClass:"navheader-item fl"},[e._l(e.menuHead,function(t,n){return[r("a",{key:n,class:["itemlink bottom menu-mall menu-font-16",e.pathName==t.url?"current-module":""],on:{click:function(r){return e.changeRouter(t.url)}}},[e._v("\n "+e._s(t.rightName)+"\n ")])]}),e._v(" "),r("div",{staticClass:"navuserinfo fr"},[r("span",{staticClass:"span-log color-909399 iconfont iconrizhifuwu"}),e._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(t){return t.stopPropagation(),e.toLoginOut(t)}}},[r("a",{staticClass:"usertext"},[e._v("退出登录")])])]),e._v(" "),r("a",{staticClass:"nav-user-name",attrs:{slot:"reference"},slot:"reference"},[r("span",{staticClass:"font-12 color-606266"},[e._v(e._s(e.userInfo.name||"--"))]),e._v(" "),r("i",{staticClass:"iconfont iconxiala arrowico"})])])],1)],2)])},staticRenderFns:[]};var u=r("VU/8")(s,c,!1,function(e){r("7L/I")},"data-v-2bfe51d4",null);t.a=u.exports},"NWt+":function(e,t,r){var n=r("+ZMJ"),o=r("msXi"),a=r("Mhyx"),i=r("77Pl"),s=r("QRG4"),c=r("3fs2"),u={},l={};(t=e.exports=function(e,t,r,f,p){var d,h,v,m,g=p?function(){return e}:c(e),y=n(r,f,t?2:1),b=0;if("function"!=typeof g)throw TypeError(e+" is not iterable!");if(a(g)){for(d=s(e.length);d>b;b++)if((m=t?y(i(h=e[b])[0],h[1]):y(e[b]))===u||m===l)return m}else for(v=g.call(e);!(h=v.next()).done;)if((m=o(v,y,h.value,t))===u||m===l)return m}).BREAK=u,t.RETURN=l},P9l9:function(e,t,r){"use strict";r.d(t,"a",function(){return p}),r.d(t,"b",function(){return d});var n=r("//Fk"),o=r.n(n),a=r("lRwf"),i=r.n(a),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;i.a.axios.defaults.headers.post.haobansign=l,i.a.axios.defaults.headers.get.haobansign=l}i.a.axios.defaults.timeout=25e3;var f=window.location.origin;i.a.axios.interceptors.request.use(function(e){return e},function(e){return u.Message.error({message:"请求超时!"}),o.a.resolve(e)}),i.a.axios.interceptors.response.use(function(e){if(e.status&&200==e.status&&1!=e.data.errorCode){if(4==e.data.errorCode){if(-1!=window.location.href.indexOf("gic-error"))return!1;window.location.href=f+"/haoban-manage3-web/#/login"}return 10!=e.data.errorCode&&7!=e.data.errorCode||(window.location.href=f+"/haoban-manage3-web/#/index"),e}return e},function(e){return 504==e.response.status||404==e.response.status||e.response.status,o.a.resolve(e)});var p=function(e,t){return t.requestProject="haoban-manage-web",i.a.axios({method:"get",url:""+f+e,data:{},params:t,headers:{"Content-type":"application/x-www-form-urlencoded"}})},d=function(e,t){return t.requestProject="haoban-manage-web",i.a.axios({method:"post",url:""+f+e,data:c.a.stringify(t),headers:{"Content-type":"application/x-www-form-urlencoded"}})}},PI0u:function(e,t,r){"use strict";t.a=function(e,t){var r,t=t||200;return function(){var n=this,o=arguments;r&&clearTimeout(r),r=setTimeout(function(){r=null,e.apply(n,o)},t)}}},"RY/4":function(e,t,r){var n=r("R9M2"),o=r("dSzd")("toStringTag"),a="Arguments"==n(function(){return arguments}());e.exports=function(e){var t,r,i;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),o))?r:a?n(t):"Object"==(i=n(t))&&"function"==typeof t.callee?"Arguments":i}},U5ju:function(e,t,r){r("M6a0"),r("zQR9"),r("+tPU"),r("CXw9"),r("EqBC"),r("jKW+"),e.exports=r("FeBl").Promise},XgCd:function(e,t,r){"use strict";var n=String.prototype.replace,o=/%20/g;e.exports={default:"RFC3986",formatters:{RFC1738:function(e){return n.call(e,o,"+")},RFC3986:function(e){return e}},RFC1738:"RFC1738",RFC3986:"RFC3986"}},bRrM:function(e,t,r){"use strict";var n=r("7KvD"),o=r("FeBl"),a=r("evD5"),i=r("+E39"),s=r("dSzd")("species");e.exports=function(e){var t="function"==typeof o[e]?o[e]:n[e];i&&t&&!t[s]&&a.f(t,s,{configurable:!0,get:function(){return this}})}},dNDb:function(e,t){e.exports=function(e){try{return{e:!1,v:e()}}catch(e){return{e:!0,v:e}}}},dY0y:function(e,t,r){var n=r("dSzd")("iterator"),o=!1;try{var a=[7][n]();a.return=function(){o=!0},Array.from(a,function(){throw 2})}catch(e){}e.exports=function(e,t){if(!t&&!o)return!1;var r=!1;try{var a=[7],i=a[n]();i.next=function(){return{done:r=!0}},a[n]=function(){return i},e(a)}catch(e){}return r}},fJUb:function(e,t,r){var n=r("77Pl"),o=r("EqjI"),a=r("qARP");e.exports=function(e,t){if(n(e),o(t)&&t.constructor===e)return t;var r=a.f(e);return(0,r.resolve)(t),r.promise}},iUbK:function(e,t,r){var n=r("7KvD").navigator;e.exports=n&&n.userAgent||""},"jKW+":function(e,t,r){"use strict";var n=r("kM2E"),o=r("qARP"),a=r("dNDb");n(n.S,"Promise",{try:function(e){var t=o.f(this),r=a(e);return(r.e?t.reject:t.resolve)(r.v),t.promise}})},jd4q:function(e,t){},knuC:function(e,t){e.exports=function(e,t,r){var n=void 0===r;switch(t.length){case 0:return n?e():e.call(r);case 1:return n?e(t[0]):e.call(r,t[0]);case 2:return n?e(t[0],t[1]):e.call(r,t[0],t[1]);case 3:return n?e(t[0],t[1],t[2]):e.call(r,t[0],t[1],t[2]);case 4:return n?e(t[0],t[1],t[2],t[3]):e.call(r,t[0],t[1],t[2],t[3])}return e.apply(r,t)}},msXi:function(e,t,r){var n=r("77Pl");e.exports=function(e,t,r,o){try{return o?t(n(r)[0],r[1]):t(r)}catch(t){var a=e.return;throw void 0!==a&&n(a.call(e)),t}}},mvHQ:function(e,t,r){e.exports={default:r("qkKv"),__esModule:!0}},mw3O:function(e,t,r){"use strict";var n=r("CwSZ"),o=r("DDCP"),a=r("XgCd");e.exports={formats:a,parse:o,stringify:n}},p8xL:function(e,t,r){"use strict";var n=Object.prototype.hasOwnProperty,o=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),a=function(e,t){for(var r=t&&t.plainObjects?Object.create(null):{},n=0;n<e.length;++n)void 0!==e[n]&&(r[n]=e[n]);return r};e.exports={arrayToObject:a,assign:function(e,t){return Object.keys(t).reduce(function(e,r){return e[r]=t[r],e},e)},compact:function(e){for(var t=[{obj:{o:e},prop:"o"}],r=[],n=0;n<t.length;++n)for(var o=t[n],a=o.obj[o.prop],i=Object.keys(a),s=0;s<i.length;++s){var c=i[s],u=a[c];"object"==typeof u&&null!==u&&-1===r.indexOf(u)&&(t.push({obj:a,prop:c}),r.push(u))}return function(e){for(var t;e.length;){var r=e.pop();if(t=r.obj[r.prop],Array.isArray(t)){for(var n=[],o=0;o<t.length;++o)void 0!==t[o]&&n.push(t[o]);r.obj[r.prop]=n}}return t}(t)},decode:function(e){try{return decodeURIComponent(e.replace(/\+/g," "))}catch(t){return e}},encode:function(e){if(0===e.length)return e;for(var t="string"==typeof e?e:String(e),r="",n=0;n<t.length;++n){var a=t.charCodeAt(n);45===a||46===a||95===a||126===a||a>=48&&a<=57||a>=65&&a<=90||a>=97&&a<=122?r+=t.charAt(n):a<128?r+=o[a]:a<2048?r+=o[192|a>>6]+o[128|63&a]:a<55296||a>=57344?r+=o[224|a>>12]+o[128|a>>6&63]+o[128|63&a]:(n+=1,a=65536+((1023&a)<<10|1023&t.charCodeAt(n)),r+=o[240|a>>18]+o[128|a>>12&63]+o[128|a>>6&63]+o[128|63&a])}return r},isBuffer:function(e){return null!==e&&void 0!==e&&!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},isRegExp:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},merge:function e(t,r,o){if(!r)return t;if("object"!=typeof r){if(Array.isArray(t))t.push(r);else{if("object"!=typeof t)return[t,r];(o.plainObjects||o.allowPrototypes||!n.call(Object.prototype,r))&&(t[r]=!0)}return t}if("object"!=typeof t)return[t].concat(r);var i=t;return Array.isArray(t)&&!Array.isArray(r)&&(i=a(t,o)),Array.isArray(t)&&Array.isArray(r)?(r.forEach(function(r,a){n.call(t,a)?t[a]&&"object"==typeof t[a]?t[a]=e(t[a],r,o):t.push(r):t[a]=r}),t):Object.keys(r).reduce(function(t,a){var i=r[a];return n.call(t,a)?t[a]=e(t[a],i,o):t[a]=i,t},i)}}},qARP:function(e,t,r){"use strict";var n=r("lOnJ");e.exports.f=function(e){return new function(e){var t,r;this.promise=new e(function(e,n){if(void 0!==t||void 0!==r)throw TypeError("Bad Promise constructor");t=e,r=n}),this.resolve=n(t),this.reject=n(r)}(e)}},qkKv:function(e,t,r){var n=r("FeBl"),o=n.JSON||(n.JSON={stringify:JSON.stringify});e.exports=function(e){return o.stringify.apply(o,arguments)}},t8x9:function(e,t,r){var n=r("77Pl"),o=r("lOnJ"),a=r("dSzd")("species");e.exports=function(e,t){var r,i=n(e).constructor;return void 0===i||void 0==(r=n(i)[a])?t:o(r)}},"xH/j":function(e,t,r){var n=r("hJx8");e.exports=function(e,t,r){for(var o in t)r&&e[o]?e[o]=t[o]:n(e,o,t[o]);return e}}}); webpackJsonp([0],{"//Fk":function(e,t,r){e.exports={default:r("U5ju"),__esModule:!0}},"2KxR":function(e,t){e.exports=function(e,t,r,n){if(!(e instanceof t)||void 0!==n&&n in e)throw TypeError(r+": incorrect invocation!");return e}},"2SpP":function(e,t){},"3E4D":function(e,t,r){"use strict";var n=r("zL8q");r.n(n);t.a={showmsg:function(e,t){Object(n.Message)({duration:1e3,message:e,type:t})}}},"3Xzz":function(e,t,r){"use strict";var n=r("P9l9"),o=r("Ch4/"),a={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(e,t){t?window.location.href=e:this.$router.push(e)},getNavPath:function(){var e=this,t={project:e.projectName,path:e.$route.path.split("/")[1]};Object(n.b)("/api-auth/get-current-memu-data",t).then(function(t){var r=t.data;if(0==r.errorCode)return!!r.result&&(e.navpath=[],void(r.result.list&&r.result.list.length&&r.result.list.forEach(function(t,n){t.name=t.menuName,t.path="",n==r.result.list.length-1&&(t.path="/"+t.menuUrl),n>0&&e.navpath.push(t)})));o.a.errorMsg(r)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})}},mounted:function(){}},i={render:function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"navwrap border-box"},[r("el-breadcrumb",{attrs:{"separator-class":"el-icon-arrow-right"}},[e._l(e.navpath,function(t,n){return[t.path?[r("el-breadcrumb-item",{key:"nav"+n,attrs:{to:{path:t.path}},on:{click:function(r){return e.changeRoute(t.path,t.relocation)}}},[r("span",{staticClass:"el-breadcrumb__inner is-link",on:{click:function(r){return e.changeRoute(t.path,t.relocation)}}},[e._v("\n "+e._s(t.name)+"\n ")])])]:[r("el-breadcrumb-item",{key:"nav"+n},[e._v(e._s(t.name))])]]})],2)],1)},staticRenderFns:[]};var s=r("VU/8")(a,i,!1,function(e){r("jd4q")},"data-v-0c26364e",null);t.a=s.exports},"3fs2":function(e,t,r){var n=r("RY/4"),o=r("dSzd")("iterator"),a=r("/bQp");e.exports=r("FeBl").getIteratorMethod=function(e){if(void 0!=e)return e[o]||e["@@iterator"]||a[n(e)]}},"82Mu":function(e,t,r){var n=r("7KvD"),o=r("L42u").set,a=n.MutationObserver||n.WebKitMutationObserver,i=n.process,s=n.Promise,c="process"==r("R9M2")(i);e.exports=function(){var e,t,r,u=function(){var n,o;for(c&&(n=i.domain)&&n.exit();e;){o=e.fn,e=e.next;try{o()}catch(n){throw e?r():t=void 0,n}}t=void 0,n&&n.enter()};if(c)r=function(){i.nextTick(u)};else if(!a||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 a(u).observe(p,{characterData:!0}),r=function(){p.data=f=!f}}return function(n){var o={fn:n,next:void 0};t&&(t.next=o),e||(e=o,r()),t=o}}},CXw9:function(e,t,r){"use strict";var n,o,a,i,s=r("O4g8"),c=r("7KvD"),u=r("+ZMJ"),l=r("RY/4"),f=r("kM2E"),p=r("EqjI"),d=r("lOnJ"),h=r("2KxR"),v=r("NWt+"),m=r("t8x9"),g=r("L42u").set,y=r("82Mu")(),b=r("qARP"),w=r("dNDb"),x=r("iUbK"),j=r("fJUb"),P=c.TypeError,_=c.process,O=_&&_.versions,C=O&&O.v8||"",N=c.Promise,R="process"==l(_),S=function(){},A=o=b.f,D=!!function(){try{var e=N.resolve(1),t=(e.constructor={})[r("dSzd")("species")]=function(e){e(S,S)};return(R||"function"==typeof PromiseRejectionEvent)&&e.then(S)instanceof t&&0!==C.indexOf("6.6")&&-1===x.indexOf("Chrome/66")}catch(e){}}(),k=function(e){var t;return!(!p(e)||"function"!=typeof(t=e.then))&&t},M=function(e,t){if(!e._n){e._n=!0;var r=e._c;y(function(){for(var n=e._v,o=1==e._s,a=0,i=function(t){var r,a,i,s=o?t.ok:t.fail,c=t.resolve,u=t.reject,l=t.domain;try{s?(o||(2==e._h&&F(e),e._h=1),!0===s?r=n:(l&&l.enter(),r=s(n),l&&(l.exit(),i=!0)),r===t.promise?u(P("Promise-chain cycle")):(a=k(r))?a.call(r,c,u):c(r)):u(n)}catch(e){l&&!i&&l.exit(),u(e)}};r.length>a;)i(r[a++]);e._c=[],e._n=!1,t&&!e._h&&E(e)})}},E=function(e){g.call(c,function(){var t,r,n,o=e._v,a=I(e);if(a&&(t=w(function(){R?_.emit("unhandledRejection",o,e):(r=c.onunhandledrejection)?r({promise:e,reason:o}):(n=c.console)&&n.error&&n.error("Unhandled promise rejection",o)}),e._h=R||I(e)?2:1),e._a=void 0,a&&t.e)throw t.v})},I=function(e){return 1!==e._h&&0===(e._a||e._c).length},F=function(e){g.call(c,function(){var t;R?_.emit("rejectionHandled",e):(t=c.onrejectionhandled)&&t({promise:e,reason:e._v})})},L=function(e){var t=this;t._d||(t._d=!0,(t=t._w||t)._v=e,t._s=2,t._a||(t._a=t._c.slice()),M(t,!0))},U=function(e){var t,r=this;if(!r._d){r._d=!0,r=r._w||r;try{if(r===e)throw P("Promise can't be resolved itself");(t=k(e))?y(function(){var n={_w:r,_d:!1};try{t.call(e,u(U,n,1),u(L,n,1))}catch(e){L.call(n,e)}}):(r._v=e,r._s=1,M(r,!1))}catch(e){L.call({_w:r,_d:!1},e)}}};D||(N=function(e){h(this,N,"Promise","_h"),d(e),n.call(this);try{e(u(U,this,1),u(L,this,1))}catch(e){L.call(this,e)}},(n=function(e){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")(N.prototype,{then:function(e,t){var r=A(m(this,N));return r.ok="function"!=typeof e||e,r.fail="function"==typeof t&&t,r.domain=R?_.domain:void 0,this._c.push(r),this._a&&this._a.push(r),this._s&&M(this,!1),r.promise},catch:function(e){return this.then(void 0,e)}}),a=function(){var e=new n;this.promise=e,this.resolve=u(U,e,1),this.reject=u(L,e,1)},b.f=A=function(e){return e===N||e===i?new a(e):o(e)}),f(f.G+f.W+f.F*!D,{Promise:N}),r("e6n0")(N,"Promise"),r("bRrM")("Promise"),i=r("FeBl").Promise,f(f.S+f.F*!D,"Promise",{reject:function(e){var t=A(this);return(0,t.reject)(e),t.promise}}),f(f.S+f.F*(s||!D),"Promise",{resolve:function(e){return j(s&&this===i?N:this,e)}}),f(f.S+f.F*!(D&&r("dY0y")(function(e){N.all(e).catch(S)})),"Promise",{all:function(e){var t=this,r=A(t),n=r.resolve,o=r.reject,a=w(function(){var r=[],a=0,i=1;v(e,!1,function(e){var s=a++,c=!1;r.push(void 0),i++,t.resolve(e).then(function(e){c||(c=!0,r[s]=e,--i||n(r))},o)}),--i||n(r)});return a.e&&o(a.v),r.promise},race:function(e){var t=this,r=A(t),n=r.reject,o=w(function(){v(e,!1,function(e){t.resolve(e).then(r.resolve,n)})});return o.e&&n(o.v),r.promise}})},"Ch4/":function(e,t,r){"use strict";var n=r("zL8q");r.n(n);t.a={errorMsg:function(e){var t=window.location.origin;if(1!=e.errorCode){if(10==e.errorCode)return window.location.href=t+"/haoban-manage3-web/#/index",!1;n.Message.error({duration:1e3,message:e.message})}}}},CwSZ:function(e,t,r){"use strict";var n=r("p8xL"),o=r("XgCd"),a={brackets:function(e){return e+"[]"},indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},i=Date.prototype.toISOString,s={delimiter:"&",encode:!0,encoder:n.encode,encodeValuesOnly:!1,serializeDate:function(e){return i.call(e)},skipNulls:!1,strictNullHandling:!1},c=function e(t,r,o,a,i,c,u,l,f,p,d,h){var v=t;if("function"==typeof u)v=u(r,v);else if(v instanceof Date)v=p(v);else if(null===v){if(a)return c&&!h?c(r,s.encoder):r;v=""}if("string"==typeof v||"number"==typeof v||"boolean"==typeof v||n.isBuffer(v))return c?[d(h?r:c(r,s.encoder))+"="+d(c(v,s.encoder))]:[d(r)+"="+d(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 b=0;b<m.length;++b){var w=m[b];i&&null===v[w]||(g=Array.isArray(v)?g.concat(e(v[w],o(r,w),o,a,i,c,u,l,f,p,d,h)):g.concat(e(v[w],r+(f?"."+w:"["+w+"]"),o,a,i,c,u,l,f,p,d,h)))}return g};e.exports=function(e,t){var r=e,i=t?n.assign({},t):{};if(null!==i.encoder&&void 0!==i.encoder&&"function"!=typeof i.encoder)throw new TypeError("Encoder has to be a function.");var u=void 0===i.delimiter?s.delimiter:i.delimiter,l="boolean"==typeof i.strictNullHandling?i.strictNullHandling:s.strictNullHandling,f="boolean"==typeof i.skipNulls?i.skipNulls:s.skipNulls,p="boolean"==typeof i.encode?i.encode:s.encode,d="function"==typeof i.encoder?i.encoder:s.encoder,h="function"==typeof i.sort?i.sort:null,v=void 0!==i.allowDots&&i.allowDots,m="function"==typeof i.serializeDate?i.serializeDate:s.serializeDate,g="boolean"==typeof i.encodeValuesOnly?i.encodeValuesOnly:s.encodeValuesOnly;if(void 0===i.format)i.format=o.default;else if(!Object.prototype.hasOwnProperty.call(o.formatters,i.format))throw new TypeError("Unknown format option provided.");var y,b,w=o.formatters[i.format];"function"==typeof i.filter?r=(b=i.filter)("",r):Array.isArray(i.filter)&&(y=b=i.filter);var x,j=[];if("object"!=typeof r||null===r)return"";x=i.arrayFormat in a?i.arrayFormat:"indices"in i?i.indices?"indices":"repeat":"indices";var P=a[x];y||(y=Object.keys(r)),h&&y.sort(h);for(var _=0;_<y.length;++_){var O=y[_];f&&null===r[O]||(j=j.concat(c(r[O],O,P,l,f,p?d:null,b,h,v,m,w,g)))}var C=j.join(u),N=!0===i.addQueryPrefix?"?":"";return C.length>0?N+C:""}},DDCP:function(e,t,r){"use strict";var n=r("p8xL"),o=Object.prototype.hasOwnProperty,a={allowDots:!1,allowPrototypes:!1,arrayLimit:20,decoder:n.decode,delimiter:"&",depth:5,parameterLimit:1e3,plainObjects:!1,strictNullHandling:!1},i=function(e,t,r){if(e){var n=r.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,a=/(\[[^[\]]*])/g,i=/(\[[^[\]]*])/.exec(n),s=i?n.slice(0,i.index):n,c=[];if(s){if(!r.plainObjects&&o.call(Object.prototype,s)&&!r.allowPrototypes)return;c.push(s)}for(var u=0;null!==(i=a.exec(n))&&u<r.depth;){if(u+=1,!r.plainObjects&&o.call(Object.prototype,i[1].slice(1,-1))&&!r.allowPrototypes)return;c.push(i[1])}return i&&c.push("["+n.slice(i.index)+"]"),function(e,t,r){for(var n=t,o=e.length-1;o>=0;--o){var a,i=e[o];if("[]"===i)a=(a=[]).concat(n);else{a=r.plainObjects?Object.create(null):{};var s="["===i.charAt(0)&&"]"===i.charAt(i.length-1)?i.slice(1,-1):i,c=parseInt(s,10);!isNaN(c)&&i!==s&&String(c)===s&&c>=0&&r.parseArrays&&c<=r.arrayLimit?(a=[])[c]=n:a[s]=n}n=a}return n}(c,t,r)}};e.exports=function(e,t){var r=t?n.assign({},t):{};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:a.delimiter,r.depth="number"==typeof r.depth?r.depth:a.depth,r.arrayLimit="number"==typeof r.arrayLimit?r.arrayLimit:a.arrayLimit,r.parseArrays=!1!==r.parseArrays,r.decoder="function"==typeof r.decoder?r.decoder:a.decoder,r.allowDots="boolean"==typeof r.allowDots?r.allowDots:a.allowDots,r.plainObjects="boolean"==typeof r.plainObjects?r.plainObjects:a.plainObjects,r.allowPrototypes="boolean"==typeof r.allowPrototypes?r.allowPrototypes:a.allowPrototypes,r.parameterLimit="number"==typeof r.parameterLimit?r.parameterLimit:a.parameterLimit,r.strictNullHandling="boolean"==typeof r.strictNullHandling?r.strictNullHandling:a.strictNullHandling,""===e||null===e||void 0===e)return r.plainObjects?Object.create(null):{};for(var s="string"==typeof e?function(e,t){for(var r={},n=t.ignoreQueryPrefix?e.replace(/^\?/,""):e,i=t.parameterLimit===1/0?void 0:t.parameterLimit,s=n.split(t.delimiter,i),c=0;c<s.length;++c){var u,l,f=s[c],p=f.indexOf("]="),d=-1===p?f.indexOf("="):p+1;-1===d?(u=t.decoder(f,a.decoder),l=t.strictNullHandling?null:""):(u=t.decoder(f.slice(0,d),a.decoder),l=t.decoder(f.slice(d+1),a.decoder)),o.call(r,u)?r[u]=[].concat(r[u]).concat(l):r[u]=l}return r}(e,r):e,c=r.plainObjects?Object.create(null):{},u=Object.keys(s),l=0;l<u.length;++l){var f=u[l],p=i(f,s[f],r);c=n.merge(c,p,r)}return n.compact(c)}},EqBC:function(e,t,r){"use strict";var n=r("kM2E"),o=r("FeBl"),a=r("7KvD"),i=r("t8x9"),s=r("fJUb");n(n.P+n.R,"Promise",{finally:function(e){var t=i(this,o.Promise||a.Promise),r="function"==typeof e;return this.then(r?function(r){return s(t,e()).then(function(){return r})}:e,r?function(r){return s(t,e()).then(function(){throw r})}:e)}})},L42u:function(e,t,r){var n,o,a,i=r("+ZMJ"),s=r("knuC"),c=r("RPLV"),u=r("ON07"),l=r("7KvD"),f=l.process,p=l.setImmediate,d=l.clearImmediate,h=l.MessageChannel,v=l.Dispatch,m=0,g={},y=function(){var e=+this;if(g.hasOwnProperty(e)){var t=g[e];delete g[e],t()}},b=function(e){y.call(e.data)};p&&d||(p=function(e){for(var t=[],r=1;arguments.length>r;)t.push(arguments[r++]);return g[++m]=function(){s("function"==typeof e?e:Function(e),t)},n(m),m},d=function(e){delete g[e]},"process"==r("R9M2")(f)?n=function(e){f.nextTick(i(y,e,1))}:v&&v.now?n=function(e){v.now(i(y,e,1))}:h?(a=(o=new h).port2,o.port1.onmessage=b,n=i(a.postMessage,a,1)):l.addEventListener&&"function"==typeof postMessage&&!l.importScripts?(n=function(e){l.postMessage(e+"","*")},l.addEventListener("message",b,!1)):n="onreadystatechange"in u("script")?function(e){c.appendChild(u("script")).onreadystatechange=function(){c.removeChild(this),y.call(e)}}:function(e){setTimeout(i(y,e,1),0)}),e.exports={set:p,clear:d}},Mhyx:function(e,t,r){var n=r("/bQp"),o=r("dSzd")("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(n.Array===e||a[o]===e)}},NKg7:function(e,t,r){"use strict";var n=r("mvHQ"),o=r.n(n),a=r("mw3O"),i=r.n(a),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 e=window.location.origin;"-1"!=e.indexOf("localhost")?this.baseUrl="http://www.gicdev.com":this.baseUrl=e},methods:{changeRouter:function(e){this.$router.push(e)},handleCollapse:function(){this.isCollapse=1!=this.isCollapse,this.$emit("collapseTag",this.isCollapse)},toGicLogin:function(){var e=window.location.origin.includes("demogic.com")?window.location.origin:"https://hope.demogic.com";window.location.href=e+"/gic-web/#/"},toLoginOut:function(){var e=this;e.$confirm("确认退出吗?","提示",{type:"warning"}).then(function(){e.axios.post(e.baseUrl+"/haoban-manage-web/logout",{}).then(function(t){var r=t.data;if(1==r.errorCode)return e.$message({message:"退出成功",type:"success"}),void(window.location.href=window.location.origin+"/haoban-manage3-web/#/login");e.$message.error({duration:1e3,message:r.message})}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})}).catch(function(){})},toRouter:function(e,t,r){var n={path:"/"+e,name:t};this.$emit("toRouterView",n)},treeData:function(e){return e.filter(function(t){var r=e.filter(function(e){return t.haobanMenuRightId==e.parentRightId});return r.length>0&&(t.children=r),-1==t.parentRightId})},getMenuDetail:function(){var e=this,t={router:e.routePathName,project:e.repProjectName,requestProject:e.repProjectName};e.axios.post(e.baseUrl+"/haoban-manage-web/menu-detail",i.a.stringify(t)).then(function(t){var r=t.data;1!=r.errorCode?e.$message.error({duration:1e3,message:r.message}):e.pathName="/"+r.result.top.url}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},getHeaderMenu:function(){var e=this,t={project:e.repProjectName,requestProject:e.repProjectName};e.axios.post(e.baseUrl+"/haoban-manage-web/menu-list",i.a.stringify(t)).then(function(t){var r=t.data;if(1==r.errorCode)return r.result.forEach(function(e,t){e.url="/"+e.url}),e.menuHead=e.treeData(r.result),void e.$nextTick(function(){e.userInfo=JSON.parse(localStorage.getItem("userInfo")),e.userInfo||(e.userInfo={name:"",headPic:"",phoneNumber:""},e.getUserData())});e.$message.error({duration:1e3,message:r.message})}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},getUserData:function(){var e=this;e.axios.get(e.baseUrl+"/haoban-manage-web/emp/get-user-info",{}).then(function(t){var r=t.data;if(1==r.errorCode)return e.userInfo=r.result,void localStorage.setItem("userInfo",o()(r.result));e.$message.error({duration:1e3,message:r.message})}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})}},watch:{$route:{handler:function(e,t){},deep:!0},collapseFlag:function(e,t){this.isCollapse=e},projectName:function(e,t){this.repProjectName=e||"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 e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"navheader"},[r("div",{staticClass:"navheader-logo fl",class:{moveleft:e.isCollapse,moveright:!e.isCollapse}},[r("span",{staticClass:"pro-name"},[e._v("好办管理平台")])]),e._v(" "),r("div",{staticClass:"navheader-item fl"},[e._l(e.menuHead,function(t,n){return[r("a",{key:n,class:["itemlink bottom menu-mall menu-font-16",e.pathName==t.url?"current-module":""],on:{click:function(r){return e.changeRouter(t.url)}}},[e._v("\n "+e._s(t.rightName)+"\n ")])]}),e._v(" "),r("div",{staticClass:"navuserinfo fr"},[r("span",{staticClass:"span-log color-909399 iconfont iconrizhifuwu"}),e._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(t){return t.stopPropagation(),e.toLoginOut(t)}}},[r("a",{staticClass:"usertext"},[e._v("退出登录")])])]),e._v(" "),r("a",{staticClass:"nav-user-name",attrs:{slot:"reference"},slot:"reference"},[r("span",{staticClass:"font-12 color-606266"},[e._v(e._s(e.userInfo.staffDTO.staffName||"--"))]),e._v(" "),r("i",{staticClass:"iconfont iconxiala arrowico"})])])],1)],2)])},staticRenderFns:[]};var u=r("VU/8")(s,c,!1,function(e){r("2SpP")},"data-v-0143babf",null);t.a=u.exports},"NWt+":function(e,t,r){var n=r("+ZMJ"),o=r("msXi"),a=r("Mhyx"),i=r("77Pl"),s=r("QRG4"),c=r("3fs2"),u={},l={};(t=e.exports=function(e,t,r,f,p){var d,h,v,m,g=p?function(){return e}:c(e),y=n(r,f,t?2:1),b=0;if("function"!=typeof g)throw TypeError(e+" is not iterable!");if(a(g)){for(d=s(e.length);d>b;b++)if((m=t?y(i(h=e[b])[0],h[1]):y(e[b]))===u||m===l)return m}else for(v=g.call(e);!(h=v.next()).done;)if((m=o(v,y,h.value,t))===u||m===l)return m}).BREAK=u,t.RETURN=l},P9l9:function(e,t,r){"use strict";r.d(t,"a",function(){return p}),r.d(t,"b",function(){return d});var n=r("//Fk"),o=r.n(n),a=r("lRwf"),i=r.n(a),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;i.a.axios.defaults.headers.post.haobansign=l,i.a.axios.defaults.headers.get.haobansign=l}i.a.axios.defaults.timeout=25e3;var f=window.location.origin;i.a.axios.interceptors.request.use(function(e){return e},function(e){return u.Message.error({message:"请求超时!"}),o.a.resolve(e)}),i.a.axios.interceptors.response.use(function(e){if(e.status&&200==e.status&&1!=e.data.errorCode){if(4==e.data.errorCode){if(-1!=window.location.href.indexOf("gic-error"))return!1;window.location.href=f+"/haoban-manage3-web/#/login"}return 10!=e.data.errorCode&&7!=e.data.errorCode||(window.location.href=f+"/haoban-manage3-web/#/index"),e}return e},function(e){return 504==e.response.status||404==e.response.status||e.response.status,o.a.resolve(e)});var p=function(e,t){return t.requestProject="haoban-manage-web",i.a.axios({method:"get",url:""+f+e,data:{},params:t,headers:{"Content-type":"application/x-www-form-urlencoded"}})},d=function(e,t){return t.requestProject="haoban-manage-web",i.a.axios({method:"post",url:""+f+e,data:c.a.stringify(t),headers:{"Content-type":"application/x-www-form-urlencoded"}})}},PI0u:function(e,t,r){"use strict";t.a=function(e,t){var r,t=t||200;return function(){var n=this,o=arguments;r&&clearTimeout(r),r=setTimeout(function(){r=null,e.apply(n,o)},t)}}},"RY/4":function(e,t,r){var n=r("R9M2"),o=r("dSzd")("toStringTag"),a="Arguments"==n(function(){return arguments}());e.exports=function(e){var t,r,i;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),o))?r:a?n(t):"Object"==(i=n(t))&&"function"==typeof t.callee?"Arguments":i}},U5ju:function(e,t,r){r("M6a0"),r("zQR9"),r("+tPU"),r("CXw9"),r("EqBC"),r("jKW+"),e.exports=r("FeBl").Promise},XgCd:function(e,t,r){"use strict";var n=String.prototype.replace,o=/%20/g;e.exports={default:"RFC3986",formatters:{RFC1738:function(e){return n.call(e,o,"+")},RFC3986:function(e){return e}},RFC1738:"RFC1738",RFC3986:"RFC3986"}},bRrM:function(e,t,r){"use strict";var n=r("7KvD"),o=r("FeBl"),a=r("evD5"),i=r("+E39"),s=r("dSzd")("species");e.exports=function(e){var t="function"==typeof o[e]?o[e]:n[e];i&&t&&!t[s]&&a.f(t,s,{configurable:!0,get:function(){return this}})}},dNDb:function(e,t){e.exports=function(e){try{return{e:!1,v:e()}}catch(e){return{e:!0,v:e}}}},dY0y:function(e,t,r){var n=r("dSzd")("iterator"),o=!1;try{var a=[7][n]();a.return=function(){o=!0},Array.from(a,function(){throw 2})}catch(e){}e.exports=function(e,t){if(!t&&!o)return!1;var r=!1;try{var a=[7],i=a[n]();i.next=function(){return{done:r=!0}},a[n]=function(){return i},e(a)}catch(e){}return r}},fJUb:function(e,t,r){var n=r("77Pl"),o=r("EqjI"),a=r("qARP");e.exports=function(e,t){if(n(e),o(t)&&t.constructor===e)return t;var r=a.f(e);return(0,r.resolve)(t),r.promise}},iUbK:function(e,t,r){var n=r("7KvD").navigator;e.exports=n&&n.userAgent||""},"jKW+":function(e,t,r){"use strict";var n=r("kM2E"),o=r("qARP"),a=r("dNDb");n(n.S,"Promise",{try:function(e){var t=o.f(this),r=a(e);return(r.e?t.reject:t.resolve)(r.v),t.promise}})},jd4q:function(e,t){},knuC:function(e,t){e.exports=function(e,t,r){var n=void 0===r;switch(t.length){case 0:return n?e():e.call(r);case 1:return n?e(t[0]):e.call(r,t[0]);case 2:return n?e(t[0],t[1]):e.call(r,t[0],t[1]);case 3:return n?e(t[0],t[1],t[2]):e.call(r,t[0],t[1],t[2]);case 4:return n?e(t[0],t[1],t[2],t[3]):e.call(r,t[0],t[1],t[2],t[3])}return e.apply(r,t)}},msXi:function(e,t,r){var n=r("77Pl");e.exports=function(e,t,r,o){try{return o?t(n(r)[0],r[1]):t(r)}catch(t){var a=e.return;throw void 0!==a&&n(a.call(e)),t}}},mvHQ:function(e,t,r){e.exports={default:r("qkKv"),__esModule:!0}},mw3O:function(e,t,r){"use strict";var n=r("CwSZ"),o=r("DDCP"),a=r("XgCd");e.exports={formats:a,parse:o,stringify:n}},p8xL:function(e,t,r){"use strict";var n=Object.prototype.hasOwnProperty,o=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),a=function(e,t){for(var r=t&&t.plainObjects?Object.create(null):{},n=0;n<e.length;++n)void 0!==e[n]&&(r[n]=e[n]);return r};e.exports={arrayToObject:a,assign:function(e,t){return Object.keys(t).reduce(function(e,r){return e[r]=t[r],e},e)},compact:function(e){for(var t=[{obj:{o:e},prop:"o"}],r=[],n=0;n<t.length;++n)for(var o=t[n],a=o.obj[o.prop],i=Object.keys(a),s=0;s<i.length;++s){var c=i[s],u=a[c];"object"==typeof u&&null!==u&&-1===r.indexOf(u)&&(t.push({obj:a,prop:c}),r.push(u))}return function(e){for(var t;e.length;){var r=e.pop();if(t=r.obj[r.prop],Array.isArray(t)){for(var n=[],o=0;o<t.length;++o)void 0!==t[o]&&n.push(t[o]);r.obj[r.prop]=n}}return t}(t)},decode:function(e){try{return decodeURIComponent(e.replace(/\+/g," "))}catch(t){return e}},encode:function(e){if(0===e.length)return e;for(var t="string"==typeof e?e:String(e),r="",n=0;n<t.length;++n){var a=t.charCodeAt(n);45===a||46===a||95===a||126===a||a>=48&&a<=57||a>=65&&a<=90||a>=97&&a<=122?r+=t.charAt(n):a<128?r+=o[a]:a<2048?r+=o[192|a>>6]+o[128|63&a]:a<55296||a>=57344?r+=o[224|a>>12]+o[128|a>>6&63]+o[128|63&a]:(n+=1,a=65536+((1023&a)<<10|1023&t.charCodeAt(n)),r+=o[240|a>>18]+o[128|a>>12&63]+o[128|a>>6&63]+o[128|63&a])}return r},isBuffer:function(e){return null!==e&&void 0!==e&&!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},isRegExp:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},merge:function e(t,r,o){if(!r)return t;if("object"!=typeof r){if(Array.isArray(t))t.push(r);else{if("object"!=typeof t)return[t,r];(o.plainObjects||o.allowPrototypes||!n.call(Object.prototype,r))&&(t[r]=!0)}return t}if("object"!=typeof t)return[t].concat(r);var i=t;return Array.isArray(t)&&!Array.isArray(r)&&(i=a(t,o)),Array.isArray(t)&&Array.isArray(r)?(r.forEach(function(r,a){n.call(t,a)?t[a]&&"object"==typeof t[a]?t[a]=e(t[a],r,o):t.push(r):t[a]=r}),t):Object.keys(r).reduce(function(t,a){var i=r[a];return n.call(t,a)?t[a]=e(t[a],i,o):t[a]=i,t},i)}}},qARP:function(e,t,r){"use strict";var n=r("lOnJ");e.exports.f=function(e){return new function(e){var t,r;this.promise=new e(function(e,n){if(void 0!==t||void 0!==r)throw TypeError("Bad Promise constructor");t=e,r=n}),this.resolve=n(t),this.reject=n(r)}(e)}},qkKv:function(e,t,r){var n=r("FeBl"),o=n.JSON||(n.JSON={stringify:JSON.stringify});e.exports=function(e){return o.stringify.apply(o,arguments)}},t8x9:function(e,t,r){var n=r("77Pl"),o=r("lOnJ"),a=r("dSzd")("species");e.exports=function(e,t){var r,i=n(e).constructor;return void 0===i||void 0==(r=n(i)[a])?t:o(r)}},"xH/j":function(e,t,r){var n=r("hJx8");e.exports=function(e,t,r){for(var o in t)r&&e[o]?e[o]=t[o]:n(e,o,t[o]);return e}}});
\ No newline at end of file \ No newline at end of file
webpackJsonp([12],{Z3Aa:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s=a("3E4D"),o=a("Ch4/"),n=a("PI0u"),r=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:"",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.brandId},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(r.b)(n,a).then(function(t){var e=t.data;1!=e.errorCode?o.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:t};Object(r.b)("/haoban-app-customer-web/customer/find-customer-setting",a).then(function(t){var a=t.data;1!=a.errorCode?o.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("quv1")},"data-v-7f259169",null);e.default=c.exports},quv1:function(t,e){}});
\ 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([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([13],{vuAV:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=a("3Xzz"),s=a("P9l9"),r=a("Ch4/"),l=a("PI0u"),o={name:"reviewed",data:function(){return{bgHeight:window.screen.availHeight-380+"px",navpath:[{name:"首页",path:"/index"},{name:"溢出门店",path:""}],searchInput:"",currentPage:1,pageSize:20,total:0,tableData:[]}},computed:{},methods:{changeRoute:function(t){this.$router.push(t)},toInput:Object(l.a)(function(t,e){this.currentPage=1,this.getTableList()},500),clearInput:function(){this.currentPage=1,this.getTableList()},handleSizeChange:function(t){this.pageSize=t,this.getTableList()},handleCurrentChange:function(t){this.currentPage=t,this.getTableList()},getTableList:function(t){var e=this,a={keyWord:e.searchInput||"",pageNum:e.currentPage,pageSize:e.pageSize};Object(s.a)("/haoban-manage3-web/store-full-list",a).then(function(t){var a=t.data;if(1==a.errorCode)return e.tableData=a.result.list||[],e.total=a.result.pageInfo.total,!1;r.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})}},watch:{},mounted:function(){this.getTableList(),document.documentElement.style.backgroundColor="#f0f2f5"},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{navCrumb:n.a}},i={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"my-customer-wrap common-set-wrap"},[a("nav-crumb",{attrs:{navpath:t.navpath}}),t._v(" "),a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box",style:{"min-height":t.bgHeight}},[a("div",{staticClass:"apps-content flex",style:{"min-height":t.bgHeight}},[a("div",{staticClass:"apps-content-right"},[a("div",{staticClass:"overstore-body"},[t._m(0),t._v(" "),a("div",{staticClass:"table-condition-search m-t-20"},[a("el-input",{staticClass:"w-293",attrs:{placeholder:"请输入门店名称/CODE/ID",clearable:""},on:{clear:t.clearInput},nativeOn:{keyup:function(e){return a=e,t.toInput(a,t.searchInput);var a}},model:{value:t.searchInput,callback:function(e){t.searchInput=e},expression:"searchInput"}})],1),t._v(" "),a("div",{staticClass:"m-t-20"},[a("el-table",{ref:"multipleTable",staticClass:"select-table",style:{width:"100%",minHeight:t.tableH},attrs:{data:t.tableData,"tooltip-effect":"dark"}},[a("el-table-column",{attrs:{label:"门店名称","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",{staticClass:"iconfont icondianpu-kuai color-2f54eb"}),a("span",{staticClass:"p-l-10"},[t._v(t._s(e.row.departmentName||"--"))])]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"ERP CODE","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.storeCode||"--"))]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"企业微信部门ID","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.wxDepartmentId||"--"))]}}])})],1),t._v(" "),0!=t.tableData.length?a("div",{staticClass:"block common-wrap__page text-right m-t-24"},[a("el-pagination",{attrs:{background:"","current-page":t.currentPage,"page-sizes":[20,40,60,80],"page-size":t.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:t.total},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}})],1):t._e()],1)])])])])]),t._v(" "),a("vue-gic-footer")],1)},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"overstore-tip"},[e("div",{staticClass:"el-alert el-alert--info flex flex-align-start",attrs:{role:"alert"}},[e("i",{staticClass:"el-alert__icon el-icon-info font-12 color-2f54eb"}),this._v(" "),e("div",{staticClass:"el-alert__content"},[e("span",{staticClass:"el-alert__title color-606266 font-14"},[this._v("什么是溢出门店?"),e("br"),this._v("当新增的门店超出你所订购的门店容量,系统会自动将其放入该列表。这些门店的所有业务功能都被禁用了,请尽快前往应用市场扩容门店容量,溢出门店将在门店容量充足的情况下自动恢复为可用状态。")])])])])}]};var c=a("VU/8")(o,i,!1,function(t){a("wPOC")},"data-v-4d4471f2",null);e.default=c.exports},wPOC:function(t,e){}}); webpackJsonp([14],{vuAV:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=a("3Xzz"),s=a("P9l9"),r=a("Ch4/"),l=a("PI0u"),o={name:"reviewed",data:function(){return{bgHeight:window.screen.availHeight-380+"px",navpath:[{name:"首页",path:"/index"},{name:"溢出门店",path:""}],searchInput:"",currentPage:1,pageSize:20,total:0,tableData:[]}},computed:{},methods:{changeRoute:function(t){this.$router.push(t)},toInput:Object(l.a)(function(t,e){this.currentPage=1,this.getTableList()},500),clearInput:function(){this.currentPage=1,this.getTableList()},handleSizeChange:function(t){this.pageSize=t,this.getTableList()},handleCurrentChange:function(t){this.currentPage=t,this.getTableList()},getTableList:function(t){var e=this,a={keyWord:e.searchInput||"",pageNum:e.currentPage,pageSize:e.pageSize};Object(s.a)("/haoban-manage3-web/store-full-list",a).then(function(t){var a=t.data;if(1==a.errorCode)return e.tableData=a.result.list||[],e.total=a.result.pageInfo.total,!1;r.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})}},watch:{},mounted:function(){this.getTableList(),document.documentElement.style.backgroundColor="#f0f2f5"},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{navCrumb:n.a}},i={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"my-customer-wrap common-set-wrap"},[a("nav-crumb",{attrs:{navpath:t.navpath}}),t._v(" "),a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box",style:{"min-height":t.bgHeight}},[a("div",{staticClass:"apps-content flex",style:{"min-height":t.bgHeight}},[a("div",{staticClass:"apps-content-right"},[a("div",{staticClass:"overstore-body"},[t._m(0),t._v(" "),a("div",{staticClass:"table-condition-search m-t-20"},[a("el-input",{staticClass:"w-293",attrs:{placeholder:"请输入门店名称/CODE/ID",clearable:""},on:{clear:t.clearInput},nativeOn:{keyup:function(e){return a=e,t.toInput(a,t.searchInput);var a}},model:{value:t.searchInput,callback:function(e){t.searchInput=e},expression:"searchInput"}})],1),t._v(" "),a("div",{staticClass:"m-t-20"},[a("el-table",{ref:"multipleTable",staticClass:"select-table",style:{width:"100%",minHeight:t.tableH},attrs:{data:t.tableData,"tooltip-effect":"dark"}},[a("el-table-column",{attrs:{label:"门店名称","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",{staticClass:"iconfont icondianpu-kuai color-2f54eb"}),a("span",{staticClass:"p-l-10"},[t._v(t._s(e.row.departmentName||"--"))])]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"ERP CODE","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.storeCode||"--"))]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"企业微信部门ID","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.wxDepartmentId||"--"))]}}])})],1),t._v(" "),0!=t.tableData.length?a("div",{staticClass:"block common-wrap__page text-right m-t-24"},[a("el-pagination",{attrs:{background:"","current-page":t.currentPage,"page-sizes":[20,40,60,80],"page-size":t.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:t.total},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}})],1):t._e()],1)])])])])]),t._v(" "),a("vue-gic-footer")],1)},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"overstore-tip"},[e("div",{staticClass:"el-alert el-alert--info flex flex-align-start",attrs:{role:"alert"}},[e("i",{staticClass:"el-alert__icon el-icon-info font-12 color-2f54eb"}),this._v(" "),e("div",{staticClass:"el-alert__content"},[e("span",{staticClass:"el-alert__title color-606266 font-14"},[this._v("什么是溢出门店?"),e("br"),this._v("当新增的门店超出你所订购的门店容量,系统会自动将其放入该列表。这些门店的所有业务功能都被禁用了,请尽快前往应用市场扩容门店容量,溢出门店将在门店容量充足的情况下自动恢复为可用状态。")])])])])}]};var c=a("VU/8")(o,i,!1,function(t){a("wPOC")},"data-v-4d4471f2",null);e.default=c.exports},wPOC:function(t,e){}});
\ No newline at end of file \ No newline at end of file
webpackJsonp([14],{"Z13+":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,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.brandId},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:e};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("Z13+")},"data-v-48c561c0",null);t.default=n.exports}});
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
webpackJsonp([4],{"1H6C":function(t,e,r){var n=function(){return this}()||Function("return this")(),o=n.regeneratorRuntime&&Object.getOwnPropertyNames(n).indexOf("regeneratorRuntime")>=0,a=o&&n.regeneratorRuntime;if(n.regeneratorRuntime=void 0,t.exports=r("HhN8"),o)n.regeneratorRuntime=a;else try{delete n.regeneratorRuntime}catch(t){n.regeneratorRuntime=void 0}},HhN8:function(t,e){!function(e){"use strict";var r,n=Object.prototype,o=n.hasOwnProperty,a="function"==typeof Symbol?Symbol:{},i=a.iterator||"@@iterator",s=a.asyncIterator||"@@asyncIterator",c=a.toStringTag||"@@toStringTag",u="object"==typeof t,l=e.regeneratorRuntime;if(l)u&&(t.exports=l);else{(l=e.regeneratorRuntime=u?t.exports:{}).wrap=w;var p="suspendedStart",f="suspendedYield",h="executing",d="completed",m={},g={};g[i]=function(){return this};var v=Object.getPrototypeOf,b=v&&v(v(T([])));b&&b!==n&&o.call(b,i)&&(g=b);var y=C.prototype=x.prototype=Object.create(g);S.prototype=y.constructor=C,C.constructor=S,C[c]=S.displayName="GeneratorFunction",l.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===S||"GeneratorFunction"===(e.displayName||e.name))},l.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,C):(t.__proto__=C,c in t||(t[c]="GeneratorFunction")),t.prototype=Object.create(y),t},l.awrap=function(t){return{__await:t}},I(G.prototype),G.prototype[s]=function(){return this},l.AsyncIterator=G,l.async=function(t,e,r,n){var o=new G(w(t,e,r,n));return l.isGeneratorFunction(e)?o:o.next().then(function(t){return t.done?t.value:o.next()})},I(y),y[c]="Generator",y[i]=function(){return this},y.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=T,k.prototype={constructor:k,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(j),!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 a=this.tryEntries.length-1;a>=0;--a){var i=this.tryEntries[a],s=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var c=o.call(i,"catchLoc"),u=o.call(i,"finallyLoc");if(c&&u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.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 a=n;break}}a&&("break"===t||"continue"===t)&&a.tryLoc<=e&&e<=a.finallyLoc&&(a=null);var i=a?a.completion:{};return i.type=t,i.arg=e,a?(this.method="next",this.next=a.finallyLoc,m):this.complete(i)},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),m},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),j(r),m}},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;j(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:T(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=r),m}}}function w(t,e,r,n){var o=e&&e.prototype instanceof x?e:x,a=Object.create(o.prototype),i=new k(n||[]);return a._invoke=function(t,e,r){var n=p;return function(o,a){if(n===h)throw new Error("Generator is already running");if(n===d){if("throw"===o)throw a;return E()}for(r.method=o,r.arg=a;;){var i=r.delegate;if(i){var s=L(i,r);if(s){if(s===m)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(n===p)throw n=d,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n=h;var c=_(t,e,r);if("normal"===c.type){if(n=r.done?d:f,c.arg===m)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(n=d,r.method="throw",r.arg=c.arg)}}}(t,r,i),a}function _(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}function x(){}function S(){}function C(){}function I(t){["next","throw","return"].forEach(function(e){t[e]=function(t){return this._invoke(e,t)}})}function G(t){var e;this._invoke=function(r,n){function a(){return new Promise(function(e,a){!function e(r,n,a,i){var s=_(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,a,i)},function(t){e("throw",t,a,i)}):Promise.resolve(u).then(function(t){c.value=t,a(c)},i)}i(s.arg)}(r,n,e,a)})}return e=e?e.then(a,a):a()}}function L(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,L(t,e),"throw"===e.method))return m;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return m}var o=_(n,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,m;var a=o.arg;return a?a.done?(e[t.resultName]=a.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=r),e.delegate=null,m):a:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,m)}function O(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 j(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function k(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(O,this),this.reset(!0)}function T(t){if(t){var e=t[i];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,a=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 a.next=a}}return{next:E}}function E(){return{value:r,done:!0}}}(function(){return this}()||Function("return this")())},JuNN:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("Xxa5"),o=r.n(n),a=r("exGp"),i=r.n(a),s=r("3E4D"),c=r("Ch4/"),u=r("PI0u"),l=r("P9l9"),p={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,myCustomData:{searchFlag:!1,chatFlag:!1,mainStoreFlag:!1,minorStoreFlag:!1,openCardStoreFlag:!1,clerkSeeOtherFlag:!1,isSeeAuthMember:!1,allowGuideContact:!1,allowGuideMobile:!1,allowGuideMessage:!1,allowGuideOnlineChat:!1},overTimeSeeFlag:!1,conditionObj:{searchInput:"",classifyName:"",effectiveStatus:""},groupListData:[],classifyList:[],currentPage:1,pageSize:20,total:0,syncDate:""}},beforeMount:function(){var t=window.location.origin;-1!=t.indexOf("localhost")?this.baseUrl="http://www.gicdev.com":this.baseUrl=t},methods:{getSyncDate:function(t){var e=this,r={wxEnterpriseRelatedId:e.brandId||t};Object(l.b)("/haoban-app-customer-web/memberGroup/get-group_last_syn_time",r).then(function(t){var r=t.data;1!=r.errorCode?c.a.errorMsg(r):e.syncDate=r.result}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},toSync:Object(u.a)(function(){var t=this,e={wxEnterpriseRelatedId:t.brandId};Object(l.b)("/haoban-app-customer-web/memberGroup/syn-group",e).then(function(e){var r=e.data;if(1==r.errorCode)return s.a.showmsg("同步成功","success"),void t.getSyncDate();c.a.errorMsg(r)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},500),handleTabClick:function(t,e){var r=this;return i()(o.a.mark(function e(){var n;return o.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(n=r,"first"!=t.name){e.next=5;break}n.getCustomerSet(n.brandId),e.next=15;break;case 5:if("second"!=t.name){e.next=9;break}n.getShowSet(n.brandId),e.next=15;break;case 9:return e.next=11,n.getGroupClassSet(n.brandId);case 11:return e.next=13,n.getGroupClassify(n.brandId);case 13:return e.next=15,n.getGroupList(n.brandId);case 15:case"end":return e.stop()}},e,r)}))()},getGroupClassSet:function(t){var e=this,r={wxEnterpriseRelatedId:t};Object(l.b)("/haoban-app-customer-web/memberGroup/get-member-group-setting",r).then(function(t){var r=t.data;1!=r.errorCode?c.a.errorMsg(r):e.overTimeSeeFlag=0!=r.result}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},saveGroupSet:function(){var t=this,e={wxEnterpriseRelatedId:t.brandId,overTimeSeeFlag:1==t.overTimeSeeFlag?1:0};Object(l.b)("/haoban-app-customer-web/memberGroup/save-member-group-setting",e).then(function(t){var e=t.data;if(1==e.errorCode)return s.a.showmsg("设置成功","success"),!1;c.a.errorMsg(e)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},toInput:Object(u.a)(function(t,e){this.currentPage=1,this.getGroupList(this.brandId)},500),clearInput:function(){this.currentPage=1,this.getGroupList(this.brandId)},changeCondition:function(){this.currentPage=1,this.getGroupList(this.brandId)},getGroupClassify:function(t){var e=this,r={wxEnterpriseRelatedId:t};Object(l.b)("/haoban-app-customer-web/memberGroup/get-member-class-list",r).then(function(t){var r=t.data;1!=r.errorCode?c.a.errorMsg(r):e.classifyList=r.result.list||[]}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},toChangeTemp:function(t,e,r){var n=this;console.log(t,e,r);var o={wxEnterpriseRelatedId:n.brandId,memberTagGroupId:r.memberTagGroupId,isSendTemplate:1==r.isSendTemplate?1:0};Object(l.b)("/haoban-app-customer-web/memberGroup/save-member-group-is-template-message",o).then(function(t){var e=t.data;if(1==e.errorCode)return s.a.showmsg("操作成功","success"),n.pageNum=1,void n.getGroupList(n.brandId);r.isSendTemplate=!1,c.a.errorMsg(e)}).catch(function(t){n.$message.error({duration:1e3,message:t.message})})},handleSizeChange:function(t){this.pageSize=t,this.getGroupList(this.brandId)},handleCurrentChange:function(t){this.currentPage=t,this.getGroupList(this.brandId)},getGroupList:function(t){var e=this,r={wxEnterpriseRelatedId:t,memberGroupName:e.conditionObj.searchInput,classifyName:e.conditionObj.classifyName,effectiveStatus:e.conditionObj.effectiveStatus,pageNum:e.currentPage,pageSize:e.pageSize};Object(l.b)("/haoban-app-customer-web/memberGroup/member-tag-group-list",r).then(function(t){var r=t.data;if(1==r.errorCode)return r.result.list&&r.result.list.length&&r.result.list.forEach(function(t){t.isSendTemplate=1==t.isSendTemplate}),e.groupListData=r.result.list||[],void(e.total=r.result.pageInfo.total);c.a.errorMsg(r)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})}},watch:{},mounted:function(){this.$emit("showTab","12"),this.getGroupClassify(this.brandId),this.getGroupList(this.brandId),this.getGroupClassSet(this.brandId),this.getSyncDate(this.brandId)},components:{}},f={render:function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"app-detail-wrap"},[r("div",{staticClass:"app-detail-pane border-box p-20"},[r("div",{staticClass:"condition-wrap flex flex-space-between"},[r("div",[r("el-input",{staticClass:"w-264",staticStyle:{width:"217px"},attrs:{placeholder:"请输入分组名称","prefix-icon":"el-icon-search",clearable:""},on:{clear:t.clearInput},nativeOn:{keyup:function(e){return r=e,t.toInput(r,t.conditionObj.searchInput);var r}},model:{value:t.conditionObj.searchInput,callback:function(e){t.$set(t.conditionObj,"searchInput",e)},expression:"conditionObj.searchInput"}}),t._v(" "),r("el-select",{staticClass:"w-168 m-l-10",attrs:{placeholder:"全部分类"},on:{change:t.changeCondition},model:{value:t.conditionObj.classifyName,callback:function(e){t.$set(t.conditionObj,"classifyName",e)},expression:"conditionObj.classifyName"}},[r("el-option",{attrs:{label:"全部分类",value:""}}),t._v(" "),t._l(t.classifyList,function(t){return r("el-option",{key:t,attrs:{label:t,value:t}})})],2),t._v(" "),r("el-select",{staticClass:"w-168 m-l-10",attrs:{placeholder:"全部状态"},on:{change:t.changeCondition},model:{value:t.conditionObj.effectiveStatus,callback:function(e){t.$set(t.conditionObj,"effectiveStatus",e)},expression:"conditionObj.effectiveStatus"}},[r("el-option",{attrs:{label:"全部状态",value:""}}),t._v(" "),r("el-option",{attrs:{label:"有效",value:"1"}}),t._v(" "),r("el-option",{attrs:{label:"失效",value:"0"}})],1)],1),t._v(" "),r("div",[r("el-checkbox",{on:{change:t.saveGroupSet},model:{value:t.overTimeSeeFlag,callback:function(e){t.overTimeSeeFlag=e},expression:"overTimeSeeFlag"}}),t._v(" "),r("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:"开启后,GIC中设置的好办端会员分组到期后,好办移动端将不再展示该条分组",placement:"top-start"}},[r("span",{staticClass:"font-14 color-606266 m-r-20",staticStyle:{cursor:"pointer","padding-bottom":"2px","border-bottom":"1px dashed #2F54EB"}},[t._v("会员分组到期后不展示")])]),t._v(" "),r("el-button",{attrs:{type:"primary"},on:{click:t.toSync}},[t._v("立即同步")]),t._v(" "),t.syncDate?r("span",{staticClass:"font-14 color-606266 p-r-10"},[t._v("最近一次同步时间:"+t._s(t._f("formatTimeStamp")(t.syncDate)))]):t._e()],1)]),t._v(" "),r("div",{staticClass:"m-t-20"},[r("el-table",{ref:"multipleTable",staticClass:"select-table",style:{width:"100%"},attrs:{data:t.groupListData,"tooltip-effect":"dark"}},[r("el-table-column",{attrs:{label:"分组名称",width:"120","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.groupName))]}}])}),t._v(" "),r("el-table-column",{attrs:{prop:"",label:"分类"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.memberTagGroupClassifyName))]}}])}),t._v(" "),r("el-table-column",{attrs:{prop:"",label:"是否实时","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(1==e.row.isRealTime?"是":"否"))]}}])}),t._v(" "),r("el-table-column",{attrs:{prop:"",label:"更新频率","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(1==e.row.updateType?"每日":2==e.row.updateType?"每周":3==e.row.updateType?"每月":"-")+" "+t._s(1==e.row.updateType?"一次":2==e.row.updateType?"周"+e.row.updateDay:3==e.row.updateType?e.row.updateDay+"号":"-")+" ")]}}])}),t._v(" "),r("el-table-column",{attrs:{prop:"",label:"状态","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s("1"==e.row.effectiveStatus?"有效":"失效"))]}}])}),t._v(" "),r("el-table-column",{attrs:{prop:"",label:"覆盖人数","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.memberCount||0)+"人")]}}])}),t._v(" "),r("el-table-column",{attrs:{prop:"",label:"到期时间","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[r("div",[t._v(t._s(t._f("timeStampToYmd")(e.row.effectiveDate)))]),t._v(" "),r("div",[t._v(t._s(t._f("timeStampToHms")(e.row.effectiveDate)))])]}}])})],1),t._v(" "),0!=t.groupListData.length?r("div",{staticClass:"block common-wrap__page text-right m-t-24"},[r("el-pagination",{attrs:{background:"","current-page":t.currentPage,"page-sizes":[20,40,60,80],"page-size":t.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:t.total},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}})],1):t._e()],1)])])},staticRenderFns:[]};var h=r("VU/8")(p,f,!1,function(t){r("OikW")},"data-v-12abb932",null);e.default=h.exports},OikW:function(t,e){},Xxa5:function(t,e,r){t.exports=r("1H6C")},exGp:function(t,e,r){"use strict";e.__esModule=!0;var n,o=r("//Fk"),a=(n=o)&&n.__esModule?n:{default:n};e.default=function(t){return function(){var e=t.apply(this,arguments);return new a.default(function(t,r){return function n(o,i){try{var s=e[o](i),c=s.value}catch(t){return void r(t)}if(!s.done)return a.default.resolve(c).then(function(t){n("next",t)},function(t){n("throw",t)});t(c)}("next")})}}}});
\ No newline at end of file
webpackJsonp([4],{"0IVV":function(e,t){},"1H6C":function(e,t,r){var n=function(){return this}()||Function("return this")(),o=n.regeneratorRuntime&&Object.getOwnPropertyNames(n).indexOf("regeneratorRuntime")>=0,a=o&&n.regeneratorRuntime;if(n.regeneratorRuntime=void 0,e.exports=r("HhN8"),o)n.regeneratorRuntime=a;else try{delete n.regeneratorRuntime}catch(e){n.regeneratorRuntime=void 0}},HhN8:function(e,t){!function(t){"use strict";var r,n=Object.prototype,o=n.hasOwnProperty,a="function"==typeof Symbol?Symbol:{},i=a.iterator||"@@iterator",s=a.asyncIterator||"@@asyncIterator",c=a.toStringTag||"@@toStringTag",u="object"==typeof e,l=t.regeneratorRuntime;if(l)u&&(e.exports=l);else{(l=t.regeneratorRuntime=u?e.exports:{}).wrap=w;var p="suspendedStart",f="suspendedYield",d="executing",h="completed",m={},g={};g[i]=function(){return this};var v=Object.getPrototypeOf,b=v&&v(v(k([])));b&&b!==n&&o.call(b,i)&&(g=b);var y=I.prototype=x.prototype=Object.create(g);S.prototype=y.constructor=I,I.constructor=S,I[c]=S.displayName="GeneratorFunction",l.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===S||"GeneratorFunction"===(t.displayName||t.name))},l.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,I):(e.__proto__=I,c in e||(e[c]="GeneratorFunction")),e.prototype=Object.create(y),e},l.awrap=function(e){return{__await:e}},C(G.prototype),G.prototype[s]=function(){return this},l.AsyncIterator=G,l.async=function(e,t,r,n){var o=new G(w(e,t,r,n));return l.isGeneratorFunction(t)?o:o.next().then(function(e){return e.done?e.value:o.next()})},C(y),y[c]="Generator",y[i]=function(){return this},y.toString=function(){return"[object Generator]"},l.keys=function(e){var t=[];for(var r in e)t.push(r);return t.reverse(),function r(){for(;t.length;){var n=t.pop();if(n in e)return r.value=n,r.done=!1,r}return r.done=!0,r}},l.values=k,j.prototype={constructor:j,reset:function(e){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(E),!e)for(var t in this)"t"===t.charAt(0)&&o.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=r)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function n(n,o){return s.type="throw",s.arg=e,t.next=n,o&&(t.method="next",t.arg=r),!!o}for(var a=this.tryEntries.length-1;a>=0;--a){var i=this.tryEntries[a],s=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var c=o.call(i,"catchLoc"),u=o.call(i,"finallyLoc");if(c&&u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(e,t){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 a=n;break}}a&&("break"===e||"continue"===e)&&a.tryLoc<=t&&t<=a.finallyLoc&&(a=null);var i=a?a.completion:{};return i.type=e,i.arg=t,a?(this.method="next",this.next=a.finallyLoc,m):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),m},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),E(r),m}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;E(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:k(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=r),m}}}function w(e,t,r,n){var o=t&&t.prototype instanceof x?t:x,a=Object.create(o.prototype),i=new j(n||[]);return a._invoke=function(e,t,r){var n=p;return function(o,a){if(n===d)throw new Error("Generator is already running");if(n===h){if("throw"===o)throw a;return T()}for(r.method=o,r.arg=a;;){var i=r.delegate;if(i){var s=L(i,r);if(s){if(s===m)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(n===p)throw n=h,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n=d;var c=_(e,t,r);if("normal"===c.type){if(n=r.done?h:f,c.arg===m)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(n=h,r.method="throw",r.arg=c.arg)}}}(e,r,i),a}function _(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}function x(){}function S(){}function I(){}function C(e){["next","throw","return"].forEach(function(t){e[t]=function(e){return this._invoke(t,e)}})}function G(e){var t;this._invoke=function(r,n){function a(){return new Promise(function(t,a){!function t(r,n,a,i){var s=_(e[r],e,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(e){t("next",e,a,i)},function(e){t("throw",e,a,i)}):Promise.resolve(u).then(function(e){c.value=e,a(c)},i)}i(s.arg)}(r,n,t,a)})}return t=t?t.then(a,a):a()}}function L(e,t){var n=e.iterator[t.method];if(n===r){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=r,L(e,t),"throw"===t.method))return m;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return m}var o=_(n,e.iterator,t.arg);if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,m;var a=o.arg;return a?a.done?(t[e.resultName]=a.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=r),t.delegate=null,m):a:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,m)}function O(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function E(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function j(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(O,this),this.reset(!0)}function k(e){if(e){var t=e[i];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,a=function t(){for(;++n<e.length;)if(o.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=r,t.done=!0,t};return a.next=a}}return{next:T}}function T(){return{value:r,done:!0}}}(function(){return this}()||Function("return this")())},JuNN:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r("Xxa5"),o=r.n(n),a=r("exGp"),i=r.n(a),s=r("3E4D"),c=r("Ch4/"),u=r("PI0u"),l=r("P9l9"),p={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},overTimeSeeFlag:!1,conditionObj:{searchInput:"",classifyName:"",effectiveStatus:""},groupListData:[],classifyList:[],currentPage:1,pageSize:20,total:0,syncDate:""}},beforeMount:function(){var e=window.location.origin;-1!=e.indexOf("localhost")?this.baseUrl="http://www.gicdev.com":this.baseUrl=e},methods:{getSyncDate:function(e){var t=this,r={wxEnterpriseRelatedId:t.wxEnterpriseRelatedId};Object(l.b)("/haoban-app-customer-web/memberGroup/get-group_last_syn_time",r).then(function(e){var r=e.data;1!=r.errorCode?c.a.errorMsg(r):t.syncDate=r.result}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},toSync:Object(u.a)(function(){var e=this,t={wxEnterpriseRelatedId:e.wxEnterpriseRelatedId};Object(l.b)("/haoban-app-customer-web/memberGroup/syn-group",t).then(function(t){var r=t.data;if(1==r.errorCode)return s.a.showmsg("同步成功","success"),void e.getSyncDate();c.a.errorMsg(r)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},500),handleTabClick:function(e,t){var r=this;return i()(o.a.mark(function t(){var n;return o.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(n=r,"first"!=e.name){t.next=5;break}n.getCustomerSet(n.brandId),t.next=15;break;case 5:if("second"!=e.name){t.next=9;break}n.getShowSet(n.brandId),t.next=15;break;case 9:return t.next=11,n.getGroupClassSet(n.brandId);case 11:return t.next=13,n.getGroupClassify(n.brandId);case 13:return t.next=15,n.getGroupList(n.brandId);case 15:case"end":return t.stop()}},t,r)}))()},getGroupClassSet:function(e){var t=this,r={wxEnterpriseRelatedId:t.wxEnterpriseRelatedId};Object(l.b)("/haoban-app-customer-web/memberGroup/get-member-group-setting",r).then(function(e){var r=e.data;1!=r.errorCode?c.a.errorMsg(r):t.overTimeSeeFlag=0!=r.result}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},saveGroupSet:function(){var e=this,t={wxEnterpriseRelatedId:e.wxEnterpriseRelatedId,overTimeSeeFlag:1==e.overTimeSeeFlag?1:0};Object(l.b)("/haoban-app-customer-web/memberGroup/save-member-group-setting",t).then(function(e){var t=e.data;if(1==t.errorCode)return s.a.showmsg("设置成功","success"),!1;c.a.errorMsg(t)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},toInput:Object(u.a)(function(e,t){this.currentPage=1,this.getGroupList(this.brandId)},500),clearInput:function(){this.currentPage=1,this.getGroupList(this.brandId)},changeCondition:function(){this.currentPage=1,this.getGroupList(this.brandId)},getGroupClassify:function(e){var t=this,r={wxEnterpriseRelatedId:t.wxEnterpriseRelatedId};Object(l.b)("/haoban-app-customer-web/memberGroup/get-member-class-list",r).then(function(e){var r=e.data;1!=r.errorCode?c.a.errorMsg(r):t.classifyList=r.result.list||[]}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},toChangeTemp:function(e,t,r){var n=this;console.log(e,t,r);var o={wxEnterpriseRelatedId:n.wxEnterpriseRelatedId,memberTagGroupId:r.memberTagGroupId,isSendTemplate:1==r.isSendTemplate?1:0};Object(l.b)("/haoban-app-customer-web/memberGroup/save-member-group-is-template-message",o).then(function(e){var t=e.data;if(1==t.errorCode)return s.a.showmsg("操作成功","success"),n.pageNum=1,void n.getGroupList(n.brandId);r.isSendTemplate=!1,c.a.errorMsg(t)}).catch(function(e){n.$message.error({duration:1e3,message:e.message})})},handleSizeChange:function(e){this.pageSize=e,this.getGroupList(this.brandId)},handleCurrentChange:function(e){this.currentPage=e,this.getGroupList(this.brandId)},getGroupList:function(e){var t=this,r={wxEnterpriseRelatedId:t.wxEnterpriseRelatedId,memberGroupName:t.conditionObj.searchInput,classifyName:t.conditionObj.classifyName,effectiveStatus:t.conditionObj.effectiveStatus,pageNum:t.currentPage,pageSize:t.pageSize};Object(l.b)("/haoban-app-customer-web/memberGroup/member-tag-group-list",r).then(function(e){var r=e.data;if(1==r.errorCode)return r.result.list&&r.result.list.length&&r.result.list.forEach(function(e){e.isSendTemplate=1==e.isSendTemplate}),t.groupListData=r.result.list||[],void(t.total=r.result.pageInfo.total);c.a.errorMsg(r)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})}},watch:{},mounted:function(){this.$emit("showTab","12"),this.getGroupClassify(this.brandId),this.getGroupList(this.brandId),this.getGroupClassSet(this.brandId),this.getSyncDate(this.brandId)},components:{}},f={render:function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"app-detail-wrap"},[r("div",{staticClass:"app-detail-pane border-box p-20"},[r("div",{staticClass:"condition-wrap flex flex-space-between"},[r("div",[r("el-input",{staticClass:"w-264",staticStyle:{width:"217px"},attrs:{placeholder:"请输入分组名称","prefix-icon":"el-icon-search",clearable:""},on:{clear:e.clearInput},nativeOn:{keyup:function(t){return r=t,e.toInput(r,e.conditionObj.searchInput);var r}},model:{value:e.conditionObj.searchInput,callback:function(t){e.$set(e.conditionObj,"searchInput",t)},expression:"conditionObj.searchInput"}}),e._v(" "),r("el-select",{staticClass:"w-168 m-l-10",attrs:{placeholder:"全部分类"},on:{change:e.changeCondition},model:{value:e.conditionObj.classifyName,callback:function(t){e.$set(e.conditionObj,"classifyName",t)},expression:"conditionObj.classifyName"}},[r("el-option",{attrs:{label:"全部分类",value:""}}),e._v(" "),e._l(e.classifyList,function(e){return r("el-option",{key:e,attrs:{label:e,value:e}})})],2),e._v(" "),r("el-select",{staticClass:"w-168 m-l-10",attrs:{placeholder:"全部状态"},on:{change:e.changeCondition},model:{value:e.conditionObj.effectiveStatus,callback:function(t){e.$set(e.conditionObj,"effectiveStatus",t)},expression:"conditionObj.effectiveStatus"}},[r("el-option",{attrs:{label:"全部状态",value:""}}),e._v(" "),r("el-option",{attrs:{label:"有效",value:"1"}}),e._v(" "),r("el-option",{attrs:{label:"失效",value:"0"}})],1)],1),e._v(" "),r("div",[r("el-checkbox",{on:{change:e.saveGroupSet},model:{value:e.overTimeSeeFlag,callback:function(t){e.overTimeSeeFlag=t},expression:"overTimeSeeFlag"}}),e._v(" "),r("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:"开启后,GIC中设置的好办端会员分组到期后,好办移动端将不再展示该条分组",placement:"top-start"}},[r("span",{staticClass:"font-14 color-606266 m-r-20",staticStyle:{cursor:"pointer","padding-bottom":"2px","border-bottom":"1px dashed #2F54EB"}},[e._v("会员分组到期后不展示")])]),e._v(" "),r("el-button",{attrs:{type:"primary"},on:{click:e.toSync}},[e._v("立即同步")]),e._v(" "),e.syncDate?r("span",{staticClass:"font-14 color-606266 p-r-10"},[e._v("最近一次同步时间:"+e._s(e._f("formatTimeStamp")(e.syncDate)))]):e._e()],1)]),e._v(" "),r("div",{staticClass:"m-t-20"},[r("el-table",{ref:"multipleTable",staticClass:"select-table",style:{width:"100%"},attrs:{data:e.groupListData,"tooltip-effect":"dark"}},[r("el-table-column",{attrs:{label:"分组名称",width:"120","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.groupName))]}}])}),e._v(" "),r("el-table-column",{attrs:{prop:"",label:"分类"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.memberTagGroupClassifyName))]}}])}),e._v(" "),r("el-table-column",{attrs:{prop:"",label:"是否实时","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(1==t.row.isRealTime?"是":"否"))]}}])}),e._v(" "),r("el-table-column",{attrs:{prop:"",label:"更新频率","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(1==t.row.updateType?"每日":2==t.row.updateType?"每周":3==t.row.updateType?"每月":"-")+" "+e._s(1==t.row.updateType?"一次":2==t.row.updateType?"周"+t.row.updateDay:3==t.row.updateType?t.row.updateDay+"号":"-")+" ")]}}])}),e._v(" "),r("el-table-column",{attrs:{prop:"",label:"状态","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s("1"==t.row.effectiveStatus?"有效":"失效"))]}}])}),e._v(" "),r("el-table-column",{attrs:{prop:"",label:"覆盖人数","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.memberCount||0)+"人")]}}])}),e._v(" "),r("el-table-column",{attrs:{prop:"",label:"到期时间","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[r("div",[e._v(e._s(e._f("timeStampToYmd")(t.row.effectiveDate)))]),e._v(" "),r("div",[e._v(e._s(e._f("timeStampToHms")(t.row.effectiveDate)))])]}}])})],1),e._v(" "),0!=e.groupListData.length?r("div",{staticClass:"block common-wrap__page text-right m-t-24"},[r("el-pagination",{attrs:{background:"","current-page":e.currentPage,"page-sizes":[20,40,60,80],"page-size":e.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:e.total},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}})],1):e._e()],1)])])},staticRenderFns:[]};var d=r("VU/8")(p,f,!1,function(e){r("0IVV")},"data-v-49f279b9",null);t.default=d.exports},Xxa5:function(e,t,r){e.exports=r("1H6C")},exGp:function(e,t,r){"use strict";t.__esModule=!0;var n,o=r("//Fk"),a=(n=o)&&n.__esModule?n:{default:n};t.default=function(e){return function(){var t=e.apply(this,arguments);return new a.default(function(e,r){return function n(o,i){try{var s=t[o](i),c=s.value}catch(e){return void r(e)}if(!s.done)return a.default.resolve(c).then(function(e){n("next",e)},function(e){n("throw",e)});e(c)}("next")})}}}});
\ No newline at end of file
webpackJsonp([5],{"7Otq":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAKQ2lDQ1BJQ0MgcHJvZmlsZQAAeNqdU3dYk/cWPt/3ZQ9WQtjwsZdsgQAiI6wIyBBZohCSAGGEEBJAxYWIClYUFRGcSFXEgtUKSJ2I4qAouGdBiohai1VcOO4f3Ke1fXrv7e371/u855zn/M55zw+AERImkeaiagA5UoU8Otgfj09IxMm9gAIVSOAEIBDmy8JnBcUAAPADeXh+dLA//AGvbwACAHDVLiQSx+H/g7pQJlcAIJEA4CIS5wsBkFIAyC5UyBQAyBgAsFOzZAoAlAA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mFOMqgJ2tLrD9OjnlDPZvbP8+UMc0mnUwH8T27OvFFlm4b6UeBtoAHpVrA5hNRLWCaqB02/WbZvHVqmXO9qKfgyIvZOHloMogvtOg1iQM7TBzowU1YpJz6sH2jCzGWzCZrp4LkS6YQANQB3/5/AgwALSeqB4Ipk3UAAAAASUVORK5CYII="},MJLE:function(t,e,r){var o,n;n=function(){function t(t){this.mode=r.MODE_8BIT_BYTE,this.data=t,this.parsedData=[];for(var e=0,o=this.data.length;e<o;e++){var n=[],i=this.data.charCodeAt(e);i>65536?(n[0]=240|(1835008&i)>>>18,n[1]=128|(258048&i)>>>12,n[2]=128|(4032&i)>>>6,n[3]=128|63&i):i>2048?(n[0]=224|(61440&i)>>>12,n[1]=128|(4032&i)>>>6,n[2]=128|63&i):i>128?(n[0]=192|(1984&i)>>>6,n[1]=128|63&i):n[0]=i,this.parsedData.push(n)}this.parsedData=Array.prototype.concat.apply([],this.parsedData),this.parsedData.length!=this.data.length&&(this.parsedData.unshift(191),this.parsedData.unshift(187),this.parsedData.unshift(239))}function e(t,e){this.typeNumber=t,this.errorCorrectLevel=e,this.modules=null,this.moduleCount=0,this.dataCache=null,this.dataList=[]}t.prototype={getLength:function(t){return this.parsedData.length},write:function(t){for(var e=0,r=this.parsedData.length;e<r;e++)t.put(this.parsedData[e],8)}},e.prototype={addData:function(e){var r=new t(e);this.dataList.push(r),this.dataCache=null},isDark:function(t,e){if(t<0||this.moduleCount<=t||e<0||this.moduleCount<=e)throw new Error(t+","+e);return this.modules[t][e]},getModuleCount:function(){return this.moduleCount},make:function(){this.makeImpl(!1,this.getBestMaskPattern())},makeImpl:function(t,r){this.moduleCount=4*this.typeNumber+17,this.modules=new Array(this.moduleCount);for(var o=0;o<this.moduleCount;o++){this.modules[o]=new Array(this.moduleCount);for(var n=0;n<this.moduleCount;n++)this.modules[o][n]=null}this.setupPositionProbePattern(0,0),this.setupPositionProbePattern(this.moduleCount-7,0),this.setupPositionProbePattern(0,this.moduleCount-7),this.setupPositionAdjustPattern(),this.setupTimingPattern(),this.setupTypeInfo(t,r),this.typeNumber>=7&&this.setupTypeNumber(t),null==this.dataCache&&(this.dataCache=e.createData(this.typeNumber,this.errorCorrectLevel,this.dataList)),this.mapData(this.dataCache,r)},setupPositionProbePattern:function(t,e){for(var r=-1;r<=7;r++)if(!(t+r<=-1||this.moduleCount<=t+r))for(var o=-1;o<=7;o++)e+o<=-1||this.moduleCount<=e+o||(this.modules[t+r][e+o]=0<=r&&r<=6&&(0==o||6==o)||0<=o&&o<=6&&(0==r||6==r)||2<=r&&r<=4&&2<=o&&o<=4)},getBestMaskPattern:function(){for(var t=0,e=0,r=0;r<8;r++){this.makeImpl(!0,r);var o=d.getLostPoint(this);(0==r||t>o)&&(t=o,e=r)}return e},createMovieClip:function(t,e,r){var o=t.createEmptyMovieClip(e,r);this.make();for(var n=0;n<this.modules.length;n++)for(var i=1*n,a=0;a<this.modules[n].length;a++){var s=1*a;this.modules[n][a]&&(o.beginFill(0,100),o.moveTo(s,i),o.lineTo(s+1,i),o.lineTo(s+1,i+1),o.lineTo(s,i+1),o.endFill())}return o},setupTimingPattern:function(){for(var t=8;t<this.moduleCount-8;t++)null==this.modules[t][6]&&(this.modules[t][6]=t%2==0);for(var e=8;e<this.moduleCount-8;e++)null==this.modules[6][e]&&(this.modules[6][e]=e%2==0)},setupPositionAdjustPattern:function(){for(var t=d.getPatternPosition(this.typeNumber),e=0;e<t.length;e++)for(var r=0;r<t.length;r++){var o=t[e],n=t[r];if(null==this.modules[o][n])for(var i=-2;i<=2;i++)for(var a=-2;a<=2;a++)this.modules[o+i][n+a]=-2==i||2==i||-2==a||2==a||0==i&&0==a}},setupTypeNumber:function(t){for(var e=d.getBCHTypeNumber(this.typeNumber),r=0;r<18;r++){var o=!t&&1==(e>>r&1);this.modules[Math.floor(r/3)][r%3+this.moduleCount-8-3]=o}for(r=0;r<18;r++){o=!t&&1==(e>>r&1);this.modules[r%3+this.moduleCount-8-3][Math.floor(r/3)]=o}},setupTypeInfo:function(t,e){for(var r=this.errorCorrectLevel<<3|e,o=d.getBCHTypeInfo(r),n=0;n<15;n++){var i=!t&&1==(o>>n&1);n<6?this.modules[n][8]=i:n<8?this.modules[n+1][8]=i:this.modules[this.moduleCount-15+n][8]=i}for(n=0;n<15;n++){i=!t&&1==(o>>n&1);n<8?this.modules[8][this.moduleCount-n-1]=i:n<9?this.modules[8][15-n-1+1]=i:this.modules[8][15-n-1]=i}this.modules[this.moduleCount-8][8]=!t},mapData:function(t,e){for(var r=-1,o=this.moduleCount-1,n=7,i=0,a=this.moduleCount-1;a>0;a-=2)for(6==a&&a--;;){for(var s=0;s<2;s++)if(null==this.modules[o][a-s]){var h=!1;i<t.length&&(h=1==(t[i]>>>n&1)),d.getMask(e,o,a-s)&&(h=!h),this.modules[o][a-s]=h,-1==--n&&(i++,n=7)}if((o+=r)<0||this.moduleCount<=o){o-=r,r=-r;break}}}},e.PAD0=236,e.PAD1=17,e.createData=function(t,r,o){for(var n=A.getRSBlocks(t,r),i=new v,a=0;a<o.length;a++){var s=o[a];i.put(s.mode,4),i.put(s.getLength(),d.getLengthInBits(s.mode,t)),s.write(i)}var h=0;for(a=0;a<n.length;a++)h+=n[a].dataCount;if(i.getLengthInBits()>8*h)throw new Error("code length overflow. ("+i.getLengthInBits()+">"+8*h+")");for(i.getLengthInBits()+4<=8*h&&i.put(0,4);i.getLengthInBits()%8!=0;)i.putBit(!1);for(;!(i.getLengthInBits()>=8*h||(i.put(e.PAD0,8),i.getLengthInBits()>=8*h));)i.put(e.PAD1,8);return e.createBytes(i,n)},e.createBytes=function(t,e){for(var r=0,o=0,n=0,i=new Array(e.length),a=new Array(e.length),s=0;s<e.length;s++){var h=e[s].dataCount,l=e[s].totalCount-h;o=Math.max(o,h),n=Math.max(n,l),i[s]=new Array(h);for(var u=0;u<i[s].length;u++)i[s][u]=255&t.buffer[u+r];r+=h;var c=d.getErrorCorrectPolynomial(l),g=new m(i[s],c.getLength()-1).mod(c);a[s]=new Array(c.getLength()-1);for(u=0;u<a[s].length;u++){var f=u+g.getLength()-a[s].length;a[s][u]=f>=0?g.get(f):0}}var p=0;for(u=0;u<e.length;u++)p+=e[u].totalCount;var A=new Array(p),v=0;for(u=0;u<o;u++)for(s=0;s<e.length;s++)u<i[s].length&&(A[v++]=i[s][u]);for(u=0;u<n;u++)for(s=0;s<e.length;s++)u<a[s].length&&(A[v++]=a[s][u]);return A};for(var r={MODE_NUMBER:1,MODE_ALPHA_NUM:2,MODE_8BIT_BYTE:4,MODE_KANJI:8},n={L:1,M:0,Q:3,H:2},i=0,a=1,s=2,h=3,l=4,u=5,c=6,g=7,d={PATTERN_POSITION_TABLE:[[],[6,18],[6,22],[6,26],[6,30],[6,34],[6,22,38],[6,24,42],[6,26,46],[6,28,50],[6,30,54],[6,32,58],[6,34,62],[6,26,46,66],[6,26,48,70],[6,26,50,74],[6,30,54,78],[6,30,56,82],[6,30,58,86],[6,34,62,90],[6,28,50,72,94],[6,26,50,74,98],[6,30,54,78,102],[6,28,54,80,106],[6,32,58,84,110],[6,30,58,86,114],[6,34,62,90,118],[6,26,50,74,98,122],[6,30,54,78,102,126],[6,26,52,78,104,130],[6,30,56,82,108,134],[6,34,60,86,112,138],[6,30,58,86,114,142],[6,34,62,90,118,146],[6,30,54,78,102,126,150],[6,24,50,76,102,128,154],[6,28,54,80,106,132,158],[6,32,58,84,110,136,162],[6,26,54,82,110,138,166],[6,30,58,86,114,142,170]],G15:1335,G18:7973,G15_MASK:21522,getBCHTypeInfo:function(t){for(var e=t<<10;d.getBCHDigit(e)-d.getBCHDigit(d.G15)>=0;)e^=d.G15<<d.getBCHDigit(e)-d.getBCHDigit(d.G15);return(t<<10|e)^d.G15_MASK},getBCHTypeNumber:function(t){for(var e=t<<12;d.getBCHDigit(e)-d.getBCHDigit(d.G18)>=0;)e^=d.G18<<d.getBCHDigit(e)-d.getBCHDigit(d.G18);return t<<12|e},getBCHDigit:function(t){for(var e=0;0!=t;)e++,t>>>=1;return e},getPatternPosition:function(t){return d.PATTERN_POSITION_TABLE[t-1]},getMask:function(t,e,r){switch(t){case i:return(e+r)%2==0;case a:return e%2==0;case s:return r%3==0;case h:return(e+r)%3==0;case l:return(Math.floor(e/2)+Math.floor(r/3))%2==0;case u:return e*r%2+e*r%3==0;case c:return(e*r%2+e*r%3)%2==0;case g:return(e*r%3+(e+r)%2)%2==0;default:throw new Error("bad maskPattern:"+t)}},getErrorCorrectPolynomial:function(t){for(var e=new m([1],0),r=0;r<t;r++)e=e.multiply(new m([1,f.gexp(r)],0));return e},getLengthInBits:function(t,e){if(1<=e&&e<10)switch(t){case r.MODE_NUMBER:return 10;case r.MODE_ALPHA_NUM:return 9;case r.MODE_8BIT_BYTE:case r.MODE_KANJI:return 8;default:throw new Error("mode:"+t)}else if(e<27)switch(t){case r.MODE_NUMBER:return 12;case r.MODE_ALPHA_NUM:return 11;case r.MODE_8BIT_BYTE:return 16;case r.MODE_KANJI:return 10;default:throw new Error("mode:"+t)}else{if(!(e<41))throw new Error("type:"+e);switch(t){case r.MODE_NUMBER:return 14;case r.MODE_ALPHA_NUM:return 13;case r.MODE_8BIT_BYTE:return 16;case r.MODE_KANJI:return 12;default:throw new Error("mode:"+t)}}},getLostPoint:function(t){for(var e=t.getModuleCount(),r=0,o=0;o<e;o++)for(var n=0;n<e;n++){for(var i=0,a=t.isDark(o,n),s=-1;s<=1;s++)if(!(o+s<0||e<=o+s))for(var h=-1;h<=1;h++)n+h<0||e<=n+h||0==s&&0==h||a==t.isDark(o+s,n+h)&&i++;i>5&&(r+=3+i-5)}for(o=0;o<e-1;o++)for(n=0;n<e-1;n++){var l=0;t.isDark(o,n)&&l++,t.isDark(o+1,n)&&l++,t.isDark(o,n+1)&&l++,t.isDark(o+1,n+1)&&l++,0!=l&&4!=l||(r+=3)}for(o=0;o<e;o++)for(n=0;n<e-6;n++)t.isDark(o,n)&&!t.isDark(o,n+1)&&t.isDark(o,n+2)&&t.isDark(o,n+3)&&t.isDark(o,n+4)&&!t.isDark(o,n+5)&&t.isDark(o,n+6)&&(r+=40);for(n=0;n<e;n++)for(o=0;o<e-6;o++)t.isDark(o,n)&&!t.isDark(o+1,n)&&t.isDark(o+2,n)&&t.isDark(o+3,n)&&t.isDark(o+4,n)&&!t.isDark(o+5,n)&&t.isDark(o+6,n)&&(r+=40);var u=0;for(n=0;n<e;n++)for(o=0;o<e;o++)t.isDark(o,n)&&u++;return r+=10*(Math.abs(100*u/e/e-50)/5)}},f={glog:function(t){if(t<1)throw new Error("glog("+t+")");return f.LOG_TABLE[t]},gexp:function(t){for(;t<0;)t+=255;for(;t>=256;)t-=255;return f.EXP_TABLE[t]},EXP_TABLE:new Array(256),LOG_TABLE:new Array(256)},p=0;p<8;p++)f.EXP_TABLE[p]=1<<p;for(p=8;p<256;p++)f.EXP_TABLE[p]=f.EXP_TABLE[p-4]^f.EXP_TABLE[p-5]^f.EXP_TABLE[p-6]^f.EXP_TABLE[p-8];for(p=0;p<255;p++)f.LOG_TABLE[f.EXP_TABLE[p]]=p;function m(t,e){if(void 0==t.length)throw new Error(t.length+"/"+e);for(var r=0;r<t.length&&0==t[r];)r++;this.num=new Array(t.length-r+e);for(var o=0;o<t.length-r;o++)this.num[o]=t[o+r]}function A(t,e){this.totalCount=t,this.dataCount=e}function v(){this.buffer=[],this.length=0}m.prototype={get:function(t){return this.num[t]},getLength:function(){return this.num.length},multiply:function(t){for(var e=new Array(this.getLength()+t.getLength()-1),r=0;r<this.getLength();r++)for(var o=0;o<t.getLength();o++)e[r+o]^=f.gexp(f.glog(this.get(r))+f.glog(t.get(o)));return new m(e,0)},mod:function(t){if(this.getLength()-t.getLength()<0)return this;for(var e=f.glog(this.get(0))-f.glog(t.get(0)),r=new Array(this.getLength()),o=0;o<this.getLength();o++)r[o]=this.get(o);for(o=0;o<t.getLength();o++)r[o]^=f.gexp(f.glog(t.get(o))+e);return new m(r,0).mod(t)}},A.RS_BLOCK_TABLE=[[1,26,19],[1,26,16],[1,26,13],[1,26,9],[1,44,34],[1,44,28],[1,44,22],[1,44,16],[1,70,55],[1,70,44],[2,35,17],[2,35,13],[1,100,80],[2,50,32],[2,50,24],[4,25,9],[1,134,108],[2,67,43],[2,33,15,2,34,16],[2,33,11,2,34,12],[2,86,68],[4,43,27],[4,43,19],[4,43,15],[2,98,78],[4,49,31],[2,32,14,4,33,15],[4,39,13,1,40,14],[2,121,97],[2,60,38,2,61,39],[4,40,18,2,41,19],[4,40,14,2,41,15],[2,146,116],[3,58,36,2,59,37],[4,36,16,4,37,17],[4,36,12,4,37,13],[2,86,68,2,87,69],[4,69,43,1,70,44],[6,43,19,2,44,20],[6,43,15,2,44,16],[4,101,81],[1,80,50,4,81,51],[4,50,22,4,51,23],[3,36,12,8,37,13],[2,116,92,2,117,93],[6,58,36,2,59,37],[4,46,20,6,47,21],[7,42,14,4,43,15],[4,133,107],[8,59,37,1,60,38],[8,44,20,4,45,21],[12,33,11,4,34,12],[3,145,115,1,146,116],[4,64,40,5,65,41],[11,36,16,5,37,17],[11,36,12,5,37,13],[5,109,87,1,110,88],[5,65,41,5,66,42],[5,54,24,7,55,25],[11,36,12],[5,122,98,1,123,99],[7,73,45,3,74,46],[15,43,19,2,44,20],[3,45,15,13,46,16],[1,135,107,5,136,108],[10,74,46,1,75,47],[1,50,22,15,51,23],[2,42,14,17,43,15],[5,150,120,1,151,121],[9,69,43,4,70,44],[17,50,22,1,51,23],[2,42,14,19,43,15],[3,141,113,4,142,114],[3,70,44,11,71,45],[17,47,21,4,48,22],[9,39,13,16,40,14],[3,135,107,5,136,108],[3,67,41,13,68,42],[15,54,24,5,55,25],[15,43,15,10,44,16],[4,144,116,4,145,117],[17,68,42],[17,50,22,6,51,23],[19,46,16,6,47,17],[2,139,111,7,140,112],[17,74,46],[7,54,24,16,55,25],[34,37,13],[4,151,121,5,152,122],[4,75,47,14,76,48],[11,54,24,14,55,25],[16,45,15,14,46,16],[6,147,117,4,148,118],[6,73,45,14,74,46],[11,54,24,16,55,25],[30,46,16,2,47,17],[8,132,106,4,133,107],[8,75,47,13,76,48],[7,54,24,22,55,25],[22,45,15,13,46,16],[10,142,114,2,143,115],[19,74,46,4,75,47],[28,50,22,6,51,23],[33,46,16,4,47,17],[8,152,122,4,153,123],[22,73,45,3,74,46],[8,53,23,26,54,24],[12,45,15,28,46,16],[3,147,117,10,148,118],[3,73,45,23,74,46],[4,54,24,31,55,25],[11,45,15,31,46,16],[7,146,116,7,147,117],[21,73,45,7,74,46],[1,53,23,37,54,24],[19,45,15,26,46,16],[5,145,115,10,146,116],[19,75,47,10,76,48],[15,54,24,25,55,25],[23,45,15,25,46,16],[13,145,115,3,146,116],[2,74,46,29,75,47],[42,54,24,1,55,25],[23,45,15,28,46,16],[17,145,115],[10,74,46,23,75,47],[10,54,24,35,55,25],[19,45,15,35,46,16],[17,145,115,1,146,116],[14,74,46,21,75,47],[29,54,24,19,55,25],[11,45,15,46,46,16],[13,145,115,6,146,116],[14,74,46,23,75,47],[44,54,24,7,55,25],[59,46,16,1,47,17],[12,151,121,7,152,122],[12,75,47,26,76,48],[39,54,24,14,55,25],[22,45,15,41,46,16],[6,151,121,14,152,122],[6,75,47,34,76,48],[46,54,24,10,55,25],[2,45,15,64,46,16],[17,152,122,4,153,123],[29,74,46,14,75,47],[49,54,24,10,55,25],[24,45,15,46,46,16],[4,152,122,18,153,123],[13,74,46,32,75,47],[48,54,24,14,55,25],[42,45,15,32,46,16],[20,147,117,4,148,118],[40,75,47,7,76,48],[43,54,24,22,55,25],[10,45,15,67,46,16],[19,148,118,6,149,119],[18,75,47,31,76,48],[34,54,24,34,55,25],[20,45,15,61,46,16]],A.getRSBlocks=function(t,e){var r=A.getRsBlockTable(t,e);if(void 0==r)throw new Error("bad rs block @ typeNumber:"+t+"/errorCorrectLevel:"+e);for(var o=r.length/3,n=[],i=0;i<o;i++)for(var a=r[3*i+0],s=r[3*i+1],h=r[3*i+2],l=0;l<a;l++)n.push(new A(s,h));return n},A.getRsBlockTable=function(t,e){switch(e){case n.L:return A.RS_BLOCK_TABLE[4*(t-1)+0];case n.M:return A.RS_BLOCK_TABLE[4*(t-1)+1];case n.Q:return A.RS_BLOCK_TABLE[4*(t-1)+2];case n.H:return A.RS_BLOCK_TABLE[4*(t-1)+3];default:return}},v.prototype={get:function(t){var e=Math.floor(t/8);return 1==(this.buffer[e]>>>7-t%8&1)},put:function(t,e){for(var r=0;r<e;r++)this.putBit(1==(t>>>e-r-1&1))},getLengthInBits:function(){return this.length},putBit:function(t){var e=Math.floor(this.length/8);this.buffer.length<=e&&this.buffer.push(0),t&&(this.buffer[e]|=128>>>this.length%8),this.length++}};var C=[[17,14,11,7],[32,26,20,14],[53,42,32,24],[78,62,46,34],[106,84,60,44],[134,106,74,58],[154,122,86,64],[192,152,108,84],[230,180,130,98],[271,213,151,119],[321,251,177,137],[367,287,203,155],[425,331,241,177],[458,362,258,194],[520,412,292,220],[586,450,322,250],[644,504,364,280],[718,560,394,310],[792,624,442,338],[858,666,482,382],[929,711,509,403],[1003,779,565,439],[1091,857,611,461],[1171,911,661,511],[1273,997,715,535],[1367,1059,751,593],[1465,1125,805,625],[1528,1190,868,658],[1628,1264,908,698],[1732,1370,982,742],[1840,1452,1030,790],[1952,1538,1112,842],[2068,1628,1168,898],[2188,1722,1228,958],[2303,1809,1283,983],[2431,1911,1351,1051],[2563,1989,1423,1093],[2699,2099,1499,1139],[2809,2213,1579,1219],[2953,2331,1663,1273]];function b(){var t=!1,e=navigator.userAgent;if(/android/i.test(e)){t=!0;var r=e.toString().match(/android ([0-9]\.[0-9])/i);r&&r[1]&&(t=parseFloat(r[1]))}return t}var I=function(){var t=function(t,e){this._el=t,this._htOption=e};return t.prototype.draw=function(t){var e=this._htOption,r=this._el,o=t.getModuleCount();Math.floor(e.width/o),Math.floor(e.height/o);function n(t,e){var r=document.createElementNS("http://www.w3.org/2000/svg",t);for(var o in e)e.hasOwnProperty(o)&&r.setAttribute(o,e[o]);return r}this.clear();var i=n("svg",{viewBox:"0 0 "+String(o)+" "+String(o),width:"100%",height:"100%",fill:e.colorLight});i.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns:xlink","http://www.w3.org/1999/xlink"),r.appendChild(i),i.appendChild(n("rect",{fill:e.colorLight,width:"100%",height:"100%"})),i.appendChild(n("rect",{fill:e.colorDark,width:"1",height:"1",id:"template"}));for(var a=0;a<o;a++)for(var s=0;s<o;s++)if(t.isDark(a,s)){var h=n("use",{x:String(s),y:String(a)});h.setAttributeNS("http://www.w3.org/1999/xlink","href","#template"),i.appendChild(h)}},t.prototype.clear=function(){for(;this._el.hasChildNodes();)this._el.removeChild(this._el.lastChild)},t}(),L="svg"===document.documentElement.tagName.toLowerCase()?I:"undefined"==typeof CanvasRenderingContext2D?function(){var t=function(t,e){this._el=t,this._htOption=e};return t.prototype.draw=function(t){for(var e=this._htOption,r=this._el,o=t.getModuleCount(),n=Math.floor(e.width/o),i=Math.floor(e.height/o),a=['<table style="border:0;border-collapse:collapse;">'],s=0;s<o;s++){a.push("<tr>");for(var h=0;h<o;h++)a.push('<td style="border:0;border-collapse:collapse;padding:0;margin:0;width:'+n+"px;height:"+i+"px;background-color:"+(t.isDark(s,h)?e.colorDark:e.colorLight)+';"></td>');a.push("</tr>")}a.push("</table>"),r.innerHTML=a.join("");var l=r.childNodes[0],u=(e.width-l.offsetWidth)/2,c=(e.height-l.offsetHeight)/2;u>0&&c>0&&(l.style.margin=c+"px "+u+"px")},t.prototype.clear=function(){this._el.innerHTML=""},t}():function(){function t(){this._elImage.src=this._elCanvas.toDataURL("image/png"),this._elImage.style.display="block",this._elCanvas.style.display="none"}if(this._android&&this._android<=2.1){var e=1/window.devicePixelRatio,r=CanvasRenderingContext2D.prototype.drawImage;CanvasRenderingContext2D.prototype.drawImage=function(t,o,n,i,a,s,h,l,u){if("nodeName"in t&&/img/i.test(t.nodeName))for(var c=arguments.length-1;c>=1;c--)arguments[c]=arguments[c]*e;else void 0===l&&(arguments[1]*=e,arguments[2]*=e,arguments[3]*=e,arguments[4]*=e);r.apply(this,arguments)}}var o=function(t,e){this._bIsPainted=!1,this._android=b(),this._htOption=e,this._elCanvas=document.createElement("canvas"),this._elCanvas.width=e.width,this._elCanvas.height=e.height,t.appendChild(this._elCanvas),this._el=t,this._oContext=this._elCanvas.getContext("2d"),this._bIsPainted=!1,this._elImage=document.createElement("img"),this._elImage.alt="Scan me!",this._elImage.style.display="none",this._el.appendChild(this._elImage),this._bSupportDataURI=null};return o.prototype.draw=function(t){var e=this._elImage,r=this._oContext,o=this._htOption,n=t.getModuleCount(),i=o.width/n,a=o.height/n,s=Math.round(i),h=Math.round(a);e.style.display="none",this.clear();for(var l=0;l<n;l++)for(var u=0;u<n;u++){var c=t.isDark(l,u),g=u*i,d=l*a;r.strokeStyle=c?o.colorDark:o.colorLight,r.lineWidth=1,r.fillStyle=c?o.colorDark:o.colorLight,r.fillRect(g,d,i,a),r.strokeRect(Math.floor(g)+.5,Math.floor(d)+.5,s,h),r.strokeRect(Math.ceil(g)-.5,Math.ceil(d)-.5,s,h)}this._bIsPainted=!0},o.prototype.makeImage=function(){this._bIsPainted&&function(t,e){var r=this;if(r._fFail=e,r._fSuccess=t,null===r._bSupportDataURI){var o=document.createElement("img"),n=function(){r._bSupportDataURI=!1,r._fFail&&r._fFail.call(r)};return o.onabort=n,o.onerror=n,o.onload=function(){r._bSupportDataURI=!0,r._fSuccess&&r._fSuccess.call(r)},void(o.src="data:image/gif;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg==")}!0===r._bSupportDataURI&&r._fSuccess?r._fSuccess.call(r):!1===r._bSupportDataURI&&r._fFail&&r._fFail.call(r)}.call(this,t)},o.prototype.isPainted=function(){return this._bIsPainted},o.prototype.clear=function(){this._oContext.clearRect(0,0,this._elCanvas.width,this._elCanvas.height),this._bIsPainted=!1},o.prototype.round=function(t){return t?Math.floor(1e3*t)/1e3:t},o}();function w(t,e){for(var r=1,o=function(t){var e=encodeURI(t).toString().replace(/\%[0-9a-fA-F]{2}/g,"a");return e.length+(e.length!=t?3:0)}(t),i=0,a=C.length;i<=a;i++){var s=0;switch(e){case n.L:s=C[i][0];break;case n.M:s=C[i][1];break;case n.Q:s=C[i][2];break;case n.H:s=C[i][3]}if(o<=s)break;r++}if(r>C.length)throw new Error("Too long data");return r}return(o=function(t,e){if(this._htOption={width:256,height:256,typeNumber:4,colorDark:"#000000",colorLight:"#ffffff",correctLevel:n.H},"string"==typeof e&&(e={text:e}),e)for(var r in e)this._htOption[r]=e[r];"string"==typeof t&&(t=document.getElementById(t)),this._htOption.useSVG&&(L=I),this._android=b(),this._el=t,this._oQRCode=null,this._oDrawing=new L(this._el,this._htOption),this._htOption.text&&this.makeCode(this._htOption.text)}).prototype.makeCode=function(t){this._oQRCode=new e(w(t,this._htOption.correctLevel),this._htOption.correctLevel),this._oQRCode.addData(t),this._oQRCode.make(),this._el.title=t,this._oDrawing.draw(this._oQRCode),this.makeImage()},o.prototype.makeImage=function(){"function"==typeof this._oDrawing.makeImage&&(!this._android||this._android>=3)&&this._oDrawing.makeImage()},o.prototype.clear=function(){this._oDrawing.clear()},o.CorrectLevel=n,o},t.exports=n()},"T+/8":function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=r("mvHQ"),n=r.n(o),i=r("PI0u"),a=r("MJLE"),s=r.n(a),h=r("Ch4/"),l=r("P9l9"),u={name:"login",data:function(){return{qrcodeCase:"",qrcodeNum:"",enterpriseId:"",expiredFlag:!1,canSelectFlag:!1,userId:"",ajaxTime:null,chooseTab:"qrcode",enterpriseList:[],numberCode:""}},computed:{},methods:{toRouterView:function(t){this.$router.push({path:t.path})},chooseLogin:function(t,e){this.chooseTab=e,document.getElementById("qrcode").innerHTML="",this.qrcodeCase.clear(),clearInterval(this.ajaxTime),"pass"!=e?(this.getQrcode(),this.expiredFlag=!1):this.qrcodeNum="",document.getElementById("line-active").style.width=t.target.offsetWidth+"px",document.getElementById("line-active").style.left=t.target.offsetLeft+"px"},collapseTag:function(t){this.collapseFlag=t},qrcode:function(t){var e={type:"web-login",data:t||"123456789"};this.qrcodeCase=new s.a("qrcode",{width:190,height:190,text:n()(e)}),document.getElementById("qrcode").title=""},refreshCode:Object(i.a)(function(){this.qrcodeCase&&(document.getElementById("qrcode").innerHTML="",this.qrcodeCase.clear()),this.getQrcode(),this.expiredFlag=!1},500),toIndex:Object(i.a)(function(){this.toLogin()},500),toLogin:Object(i.a)(function(){var t=this;if(!t.enterpriseId)return t.$message.error({duration:1e3,message:"请选择企业"}),!1;var e={qrcode:t.qrcodeNum||"debug",enterpriseId:t.enterpriseId,userId:t.userId};Object(l.b)("/haoban-manage3-web/login",e).then(function(e){var r=e.data;if(1==r.errorCode)return localStorage.removeItem("userInfo"),localStorage.setItem("userInfo",n()(r.result)),void t.$router.push("/index");30004==r.errorCode&&(t.canSelectFlag=!1,"qrcode"==t.chooseTab&&(t.getQrcode(),t.expiredFlag=!1)),h.a.errorMsg(r)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},500),checkLogin:function(){var t=this,e={qrcode:t.qrcodeNum};Object(l.b)("/haoban-manage3-web/login-check",e).then(function(e){var r=e.data;if(1!=r.errorCode)30002==r.errorCode&&(t.expiredFlag=!0),h.a.errorMsg(r),clearInterval(t.ajaxTime);else if(r.result&&r.result.enterpriseList&&r.result.enterpriseList.length){if(t.enterpriseList=r.result.enterpriseList,t.enterpriseId=t.enterpriseList[0].enterpriseId,t.userId=r.result.userId,document.getElementById("qrcode").innerHTML="",t.qrcodeCase.clear(),clearInterval(t.ajaxTime),1==r.result.enterpriseList.length)return t.toLogin(),!1;t.canSelectFlag=!0}}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},checkScan:function(){var t=this;clearInterval(t.ajaxTime),t.ajaxTime=null,t.ajaxTime=setInterval(function(){t.checkLogin()},3e3)},getQrcode:function(){var t=this;Object(l.b)("/haoban-manage3-web/get-login-qrcode",{}).then(function(e){var r=e.data;if(1==r.errorCode)return t.qrcodeNum=r.result,void t.qrcode(t.qrcodeNum);h.a.errorMsg(r)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},changeCode:function(t){this.numberCode=t}},mounted:function(){this.getQrcode(),localStorage.getItem("userInfo")&&localStorage.removeItem("userInfo")},components:{}},c={render:function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"login-wrap"},[r("section",[r("div",{staticClass:"login-body-top"},[t._m(0),t._v(" "),r("div",{staticClass:"login-body-qrcode"},[r("div",{staticClass:"login-qrcode-inner border-box"},[r("div",{staticClass:"qrcode-title font-18 color-303133 m-b-20"},[t._v("企业微信扫码登录")]),t._v(" "),r("div",{attrs:{id:"qrcode",title:""}}),t._v(" "),r("div",{staticClass:"qrcode-refresh m-t-20"},[r("el-button",{staticClass:"font-12",attrs:{type:"text"},on:{click:t.refreshCode}},[t._v("刷新 "),r("span",{staticClass:"color-2f54eb iconfont iconshuaxin"})])],1)])]),t._v(" "),r("div",{staticClass:"bg-dot"}),t._v(" "),r("div",{staticClass:"bg-dot-center"})]),t._v(" "),r("div",{staticClass:"login-body-bottom"})]),t._v(" "),r("footer",{staticClass:"p-t-35"},[r("vue-gic-footer")],1)])},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"login-body-head"},[e("div",{staticClass:"login-body-head_inner border-box flex"},[e("img",{staticClass:"login-body-logo",attrs:{src:r("7Otq"),alt:"logo"}}),this._v(" "),e("span",{staticClass:"login-body-title p-l-7"},[this._v("好办管理后台")])])])}]};var g=r("VU/8")(u,c,!1,function(t){r("xZtV")},"data-v-65dd07cb",null);e.default=g.exports},xZtV:function(t,e){}}); webpackJsonp([5],{"7Otq":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAKQ2lDQ1BJQ0MgcHJvZmlsZQAAeNqdU3dYk/cWPt/3ZQ9WQtjwsZdsgQAiI6wI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icxO7/fgX9Yngyj56TRHs/AOx7sGZxN/XB5gayB4z501D1NIq4AcdEt3whdZw3DmH+zh0jG0sDlYpBcOQB3OJm4kBg7nqMO+mw/T2yVZ0pf6sQ60U9i+r3qf3OTXvsTYtsLSllMQKEb2hCyS2u6Y9SGGAbWsLP9G5aTJMRj/LWotPesomuJkouWsyjC+16GGtK/cT2wdD3HTUgpWr54mFOMqgJ2tLrD9OjnlDPZvbP8+UMc0mnUwH8T27OvFFlm4b6UeBtoAHpVrA5hNRLWCaqB02/WbZvHVqmXO9qKfgyIvZOHloMogvtOg1iQM7TBzowU1YpJz6sH2jCzGWzCZrp4LkS6YQANQB3/5/AgwALSeqB4Ipk3UAAAAASUVORK5CYII="},MJLE:function(t,e,r){var n,o;o=function(){function t(t){this.mode=r.MODE_8BIT_BYTE,this.data=t,this.parsedData=[];for(var e=0,n=this.data.length;e<n;e++){var o=[],i=this.data.charCodeAt(e);i>65536?(o[0]=240|(1835008&i)>>>18,o[1]=128|(258048&i)>>>12,o[2]=128|(4032&i)>>>6,o[3]=128|63&i):i>2048?(o[0]=224|(61440&i)>>>12,o[1]=128|(4032&i)>>>6,o[2]=128|63&i):i>128?(o[0]=192|(1984&i)>>>6,o[1]=128|63&i):o[0]=i,this.parsedData.push(o)}this.parsedData=Array.prototype.concat.apply([],this.parsedData),this.parsedData.length!=this.data.length&&(this.parsedData.unshift(191),this.parsedData.unshift(187),this.parsedData.unshift(239))}function e(t,e){this.typeNumber=t,this.errorCorrectLevel=e,this.modules=null,this.moduleCount=0,this.dataCache=null,this.dataList=[]}t.prototype={getLength:function(t){return this.parsedData.length},write:function(t){for(var e=0,r=this.parsedData.length;e<r;e++)t.put(this.parsedData[e],8)}},e.prototype={addData:function(e){var r=new t(e);this.dataList.push(r),this.dataCache=null},isDark:function(t,e){if(t<0||this.moduleCount<=t||e<0||this.moduleCount<=e)throw new Error(t+","+e);return this.modules[t][e]},getModuleCount:function(){return this.moduleCount},make:function(){this.makeImpl(!1,this.getBestMaskPattern())},makeImpl:function(t,r){this.moduleCount=4*this.typeNumber+17,this.modules=new Array(this.moduleCount);for(var n=0;n<this.moduleCount;n++){this.modules[n]=new Array(this.moduleCount);for(var o=0;o<this.moduleCount;o++)this.modules[n][o]=null}this.setupPositionProbePattern(0,0),this.setupPositionProbePattern(this.moduleCount-7,0),this.setupPositionProbePattern(0,this.moduleCount-7),this.setupPositionAdjustPattern(),this.setupTimingPattern(),this.setupTypeInfo(t,r),this.typeNumber>=7&&this.setupTypeNumber(t),null==this.dataCache&&(this.dataCache=e.createData(this.typeNumber,this.errorCorrectLevel,this.dataList)),this.mapData(this.dataCache,r)},setupPositionProbePattern:function(t,e){for(var r=-1;r<=7;r++)if(!(t+r<=-1||this.moduleCount<=t+r))for(var n=-1;n<=7;n++)e+n<=-1||this.moduleCount<=e+n||(this.modules[t+r][e+n]=0<=r&&r<=6&&(0==n||6==n)||0<=n&&n<=6&&(0==r||6==r)||2<=r&&r<=4&&2<=n&&n<=4)},getBestMaskPattern:function(){for(var t=0,e=0,r=0;r<8;r++){this.makeImpl(!0,r);var n=d.getLostPoint(this);(0==r||t>n)&&(t=n,e=r)}return e},createMovieClip:function(t,e,r){var n=t.createEmptyMovieClip(e,r);this.make();for(var o=0;o<this.modules.length;o++)for(var i=1*o,a=0;a<this.modules[o].length;a++){var s=1*a;this.modules[o][a]&&(n.beginFill(0,100),n.moveTo(s,i),n.lineTo(s+1,i),n.lineTo(s+1,i+1),n.lineTo(s,i+1),n.endFill())}return n},setupTimingPattern:function(){for(var t=8;t<this.moduleCount-8;t++)null==this.modules[t][6]&&(this.modules[t][6]=t%2==0);for(var e=8;e<this.moduleCount-8;e++)null==this.modules[6][e]&&(this.modules[6][e]=e%2==0)},setupPositionAdjustPattern:function(){for(var t=d.getPatternPosition(this.typeNumber),e=0;e<t.length;e++)for(var r=0;r<t.length;r++){var n=t[e],o=t[r];if(null==this.modules[n][o])for(var i=-2;i<=2;i++)for(var a=-2;a<=2;a++)this.modules[n+i][o+a]=-2==i||2==i||-2==a||2==a||0==i&&0==a}},setupTypeNumber:function(t){for(var e=d.getBCHTypeNumber(this.typeNumber),r=0;r<18;r++){var n=!t&&1==(e>>r&1);this.modules[Math.floor(r/3)][r%3+this.moduleCount-8-3]=n}for(r=0;r<18;r++){n=!t&&1==(e>>r&1);this.modules[r%3+this.moduleCount-8-3][Math.floor(r/3)]=n}},setupTypeInfo:function(t,e){for(var r=this.errorCorrectLevel<<3|e,n=d.getBCHTypeInfo(r),o=0;o<15;o++){var i=!t&&1==(n>>o&1);o<6?this.modules[o][8]=i:o<8?this.modules[o+1][8]=i:this.modules[this.moduleCount-15+o][8]=i}for(o=0;o<15;o++){i=!t&&1==(n>>o&1);o<8?this.modules[8][this.moduleCount-o-1]=i:o<9?this.modules[8][15-o-1+1]=i:this.modules[8][15-o-1]=i}this.modules[this.moduleCount-8][8]=!t},mapData:function(t,e){for(var r=-1,n=this.moduleCount-1,o=7,i=0,a=this.moduleCount-1;a>0;a-=2)for(6==a&&a--;;){for(var s=0;s<2;s++)if(null==this.modules[n][a-s]){var h=!1;i<t.length&&(h=1==(t[i]>>>o&1)),d.getMask(e,n,a-s)&&(h=!h),this.modules[n][a-s]=h,-1==--o&&(i++,o=7)}if((n+=r)<0||this.moduleCount<=n){n-=r,r=-r;break}}}},e.PAD0=236,e.PAD1=17,e.createData=function(t,r,n){for(var o=A.getRSBlocks(t,r),i=new v,a=0;a<n.length;a++){var s=n[a];i.put(s.mode,4),i.put(s.getLength(),d.getLengthInBits(s.mode,t)),s.write(i)}var h=0;for(a=0;a<o.length;a++)h+=o[a].dataCount;if(i.getLengthInBits()>8*h)throw new Error("code length overflow. ("+i.getLengthInBits()+">"+8*h+")");for(i.getLengthInBits()+4<=8*h&&i.put(0,4);i.getLengthInBits()%8!=0;)i.putBit(!1);for(;!(i.getLengthInBits()>=8*h||(i.put(e.PAD0,8),i.getLengthInBits()>=8*h));)i.put(e.PAD1,8);return e.createBytes(i,o)},e.createBytes=function(t,e){for(var r=0,n=0,o=0,i=new Array(e.length),a=new Array(e.length),s=0;s<e.length;s++){var h=e[s].dataCount,l=e[s].totalCount-h;n=Math.max(n,h),o=Math.max(o,l),i[s]=new Array(h);for(var u=0;u<i[s].length;u++)i[s][u]=255&t.buffer[u+r];r+=h;var c=d.getErrorCorrectPolynomial(l),g=new m(i[s],c.getLength()-1).mod(c);a[s]=new Array(c.getLength()-1);for(u=0;u<a[s].length;u++){var f=u+g.getLength()-a[s].length;a[s][u]=f>=0?g.get(f):0}}var p=0;for(u=0;u<e.length;u++)p+=e[u].totalCount;var A=new Array(p),v=0;for(u=0;u<n;u++)for(s=0;s<e.length;s++)u<i[s].length&&(A[v++]=i[s][u]);for(u=0;u<o;u++)for(s=0;s<e.length;s++)u<a[s].length&&(A[v++]=a[s][u]);return A};for(var r={MODE_NUMBER:1,MODE_ALPHA_NUM:2,MODE_8BIT_BYTE:4,MODE_KANJI:8},o={L:1,M:0,Q:3,H:2},i=0,a=1,s=2,h=3,l=4,u=5,c=6,g=7,d={PATTERN_POSITION_TABLE:[[],[6,18],[6,22],[6,26],[6,30],[6,34],[6,22,38],[6,24,42],[6,26,46],[6,28,50],[6,30,54],[6,32,58],[6,34,62],[6,26,46,66],[6,26,48,70],[6,26,50,74],[6,30,54,78],[6,30,56,82],[6,30,58,86],[6,34,62,90],[6,28,50,72,94],[6,26,50,74,98],[6,30,54,78,102],[6,28,54,80,106],[6,32,58,84,110],[6,30,58,86,114],[6,34,62,90,118],[6,26,50,74,98,122],[6,30,54,78,102,126],[6,26,52,78,104,130],[6,30,56,82,108,134],[6,34,60,86,112,138],[6,30,58,86,114,142],[6,34,62,90,118,146],[6,30,54,78,102,126,150],[6,24,50,76,102,128,154],[6,28,54,80,106,132,158],[6,32,58,84,110,136,162],[6,26,54,82,110,138,166],[6,30,58,86,114,142,170]],G15:1335,G18:7973,G15_MASK:21522,getBCHTypeInfo:function(t){for(var e=t<<10;d.getBCHDigit(e)-d.getBCHDigit(d.G15)>=0;)e^=d.G15<<d.getBCHDigit(e)-d.getBCHDigit(d.G15);return(t<<10|e)^d.G15_MASK},getBCHTypeNumber:function(t){for(var e=t<<12;d.getBCHDigit(e)-d.getBCHDigit(d.G18)>=0;)e^=d.G18<<d.getBCHDigit(e)-d.getBCHDigit(d.G18);return t<<12|e},getBCHDigit:function(t){for(var e=0;0!=t;)e++,t>>>=1;return e},getPatternPosition:function(t){return d.PATTERN_POSITION_TABLE[t-1]},getMask:function(t,e,r){switch(t){case i:return(e+r)%2==0;case a:return e%2==0;case s:return r%3==0;case h:return(e+r)%3==0;case l:return(Math.floor(e/2)+Math.floor(r/3))%2==0;case u:return e*r%2+e*r%3==0;case c:return(e*r%2+e*r%3)%2==0;case g:return(e*r%3+(e+r)%2)%2==0;default:throw new Error("bad maskPattern:"+t)}},getErrorCorrectPolynomial:function(t){for(var e=new m([1],0),r=0;r<t;r++)e=e.multiply(new m([1,f.gexp(r)],0));return e},getLengthInBits:function(t,e){if(1<=e&&e<10)switch(t){case r.MODE_NUMBER:return 10;case r.MODE_ALPHA_NUM:return 9;case r.MODE_8BIT_BYTE:case r.MODE_KANJI:return 8;default:throw new Error("mode:"+t)}else if(e<27)switch(t){case r.MODE_NUMBER:return 12;case r.MODE_ALPHA_NUM:return 11;case r.MODE_8BIT_BYTE:return 16;case r.MODE_KANJI:return 10;default:throw new Error("mode:"+t)}else{if(!(e<41))throw new Error("type:"+e);switch(t){case r.MODE_NUMBER:return 14;case r.MODE_ALPHA_NUM:return 13;case r.MODE_8BIT_BYTE:return 16;case r.MODE_KANJI:return 12;default:throw new Error("mode:"+t)}}},getLostPoint:function(t){for(var e=t.getModuleCount(),r=0,n=0;n<e;n++)for(var o=0;o<e;o++){for(var i=0,a=t.isDark(n,o),s=-1;s<=1;s++)if(!(n+s<0||e<=n+s))for(var h=-1;h<=1;h++)o+h<0||e<=o+h||0==s&&0==h||a==t.isDark(n+s,o+h)&&i++;i>5&&(r+=3+i-5)}for(n=0;n<e-1;n++)for(o=0;o<e-1;o++){var l=0;t.isDark(n,o)&&l++,t.isDark(n+1,o)&&l++,t.isDark(n,o+1)&&l++,t.isDark(n+1,o+1)&&l++,0!=l&&4!=l||(r+=3)}for(n=0;n<e;n++)for(o=0;o<e-6;o++)t.isDark(n,o)&&!t.isDark(n,o+1)&&t.isDark(n,o+2)&&t.isDark(n,o+3)&&t.isDark(n,o+4)&&!t.isDark(n,o+5)&&t.isDark(n,o+6)&&(r+=40);for(o=0;o<e;o++)for(n=0;n<e-6;n++)t.isDark(n,o)&&!t.isDark(n+1,o)&&t.isDark(n+2,o)&&t.isDark(n+3,o)&&t.isDark(n+4,o)&&!t.isDark(n+5,o)&&t.isDark(n+6,o)&&(r+=40);var u=0;for(o=0;o<e;o++)for(n=0;n<e;n++)t.isDark(n,o)&&u++;return r+=10*(Math.abs(100*u/e/e-50)/5)}},f={glog:function(t){if(t<1)throw new Error("glog("+t+")");return f.LOG_TABLE[t]},gexp:function(t){for(;t<0;)t+=255;for(;t>=256;)t-=255;return f.EXP_TABLE[t]},EXP_TABLE:new Array(256),LOG_TABLE:new Array(256)},p=0;p<8;p++)f.EXP_TABLE[p]=1<<p;for(p=8;p<256;p++)f.EXP_TABLE[p]=f.EXP_TABLE[p-4]^f.EXP_TABLE[p-5]^f.EXP_TABLE[p-6]^f.EXP_TABLE[p-8];for(p=0;p<255;p++)f.LOG_TABLE[f.EXP_TABLE[p]]=p;function m(t,e){if(void 0==t.length)throw new Error(t.length+"/"+e);for(var r=0;r<t.length&&0==t[r];)r++;this.num=new Array(t.length-r+e);for(var n=0;n<t.length-r;n++)this.num[n]=t[n+r]}function A(t,e){this.totalCount=t,this.dataCount=e}function v(){this.buffer=[],this.length=0}m.prototype={get:function(t){return this.num[t]},getLength:function(){return this.num.length},multiply:function(t){for(var e=new Array(this.getLength()+t.getLength()-1),r=0;r<this.getLength();r++)for(var n=0;n<t.getLength();n++)e[r+n]^=f.gexp(f.glog(this.get(r))+f.glog(t.get(n)));return new m(e,0)},mod:function(t){if(this.getLength()-t.getLength()<0)return this;for(var e=f.glog(this.get(0))-f.glog(t.get(0)),r=new Array(this.getLength()),n=0;n<this.getLength();n++)r[n]=this.get(n);for(n=0;n<t.getLength();n++)r[n]^=f.gexp(f.glog(t.get(n))+e);return new m(r,0).mod(t)}},A.RS_BLOCK_TABLE=[[1,26,19],[1,26,16],[1,26,13],[1,26,9],[1,44,34],[1,44,28],[1,44,22],[1,44,16],[1,70,55],[1,70,44],[2,35,17],[2,35,13],[1,100,80],[2,50,32],[2,50,24],[4,25,9],[1,134,108],[2,67,43],[2,33,15,2,34,16],[2,33,11,2,34,12],[2,86,68],[4,43,27],[4,43,19],[4,43,15],[2,98,78],[4,49,31],[2,32,14,4,33,15],[4,39,13,1,40,14],[2,121,97],[2,60,38,2,61,39],[4,40,18,2,41,19],[4,40,14,2,41,15],[2,146,116],[3,58,36,2,59,37],[4,36,16,4,37,17],[4,36,12,4,37,13],[2,86,68,2,87,69],[4,69,43,1,70,44],[6,43,19,2,44,20],[6,43,15,2,44,16],[4,101,81],[1,80,50,4,81,51],[4,50,22,4,51,23],[3,36,12,8,37,13],[2,116,92,2,117,93],[6,58,36,2,59,37],[4,46,20,6,47,21],[7,42,14,4,43,15],[4,133,107],[8,59,37,1,60,38],[8,44,20,4,45,21],[12,33,11,4,34,12],[3,145,115,1,146,116],[4,64,40,5,65,41],[11,36,16,5,37,17],[11,36,12,5,37,13],[5,109,87,1,110,88],[5,65,41,5,66,42],[5,54,24,7,55,25],[11,36,12],[5,122,98,1,123,99],[7,73,45,3,74,46],[15,43,19,2,44,20],[3,45,15,13,46,16],[1,135,107,5,136,108],[10,74,46,1,75,47],[1,50,22,15,51,23],[2,42,14,17,43,15],[5,150,120,1,151,121],[9,69,43,4,70,44],[17,50,22,1,51,23],[2,42,14,19,43,15],[3,141,113,4,142,114],[3,70,44,11,71,45],[17,47,21,4,48,22],[9,39,13,16,40,14],[3,135,107,5,136,108],[3,67,41,13,68,42],[15,54,24,5,55,25],[15,43,15,10,44,16],[4,144,116,4,145,117],[17,68,42],[17,50,22,6,51,23],[19,46,16,6,47,17],[2,139,111,7,140,112],[17,74,46],[7,54,24,16,55,25],[34,37,13],[4,151,121,5,152,122],[4,75,47,14,76,48],[11,54,24,14,55,25],[16,45,15,14,46,16],[6,147,117,4,148,118],[6,73,45,14,74,46],[11,54,24,16,55,25],[30,46,16,2,47,17],[8,132,106,4,133,107],[8,75,47,13,76,48],[7,54,24,22,55,25],[22,45,15,13,46,16],[10,142,114,2,143,115],[19,74,46,4,75,47],[28,50,22,6,51,23],[33,46,16,4,47,17],[8,152,122,4,153,123],[22,73,45,3,74,46],[8,53,23,26,54,24],[12,45,15,28,46,16],[3,147,117,10,148,118],[3,73,45,23,74,46],[4,54,24,31,55,25],[11,45,15,31,46,16],[7,146,116,7,147,117],[21,73,45,7,74,46],[1,53,23,37,54,24],[19,45,15,26,46,16],[5,145,115,10,146,116],[19,75,47,10,76,48],[15,54,24,25,55,25],[23,45,15,25,46,16],[13,145,115,3,146,116],[2,74,46,29,75,47],[42,54,24,1,55,25],[23,45,15,28,46,16],[17,145,115],[10,74,46,23,75,47],[10,54,24,35,55,25],[19,45,15,35,46,16],[17,145,115,1,146,116],[14,74,46,21,75,47],[29,54,24,19,55,25],[11,45,15,46,46,16],[13,145,115,6,146,116],[14,74,46,23,75,47],[44,54,24,7,55,25],[59,46,16,1,47,17],[12,151,121,7,152,122],[12,75,47,26,76,48],[39,54,24,14,55,25],[22,45,15,41,46,16],[6,151,121,14,152,122],[6,75,47,34,76,48],[46,54,24,10,55,25],[2,45,15,64,46,16],[17,152,122,4,153,123],[29,74,46,14,75,47],[49,54,24,10,55,25],[24,45,15,46,46,16],[4,152,122,18,153,123],[13,74,46,32,75,47],[48,54,24,14,55,25],[42,45,15,32,46,16],[20,147,117,4,148,118],[40,75,47,7,76,48],[43,54,24,22,55,25],[10,45,15,67,46,16],[19,148,118,6,149,119],[18,75,47,31,76,48],[34,54,24,34,55,25],[20,45,15,61,46,16]],A.getRSBlocks=function(t,e){var r=A.getRsBlockTable(t,e);if(void 0==r)throw new Error("bad rs block @ typeNumber:"+t+"/errorCorrectLevel:"+e);for(var n=r.length/3,o=[],i=0;i<n;i++)for(var a=r[3*i+0],s=r[3*i+1],h=r[3*i+2],l=0;l<a;l++)o.push(new A(s,h));return o},A.getRsBlockTable=function(t,e){switch(e){case o.L:return A.RS_BLOCK_TABLE[4*(t-1)+0];case o.M:return A.RS_BLOCK_TABLE[4*(t-1)+1];case o.Q:return A.RS_BLOCK_TABLE[4*(t-1)+2];case o.H:return A.RS_BLOCK_TABLE[4*(t-1)+3];default:return}},v.prototype={get:function(t){var e=Math.floor(t/8);return 1==(this.buffer[e]>>>7-t%8&1)},put:function(t,e){for(var r=0;r<e;r++)this.putBit(1==(t>>>e-r-1&1))},getLengthInBits:function(){return this.length},putBit:function(t){var e=Math.floor(this.length/8);this.buffer.length<=e&&this.buffer.push(0),t&&(this.buffer[e]|=128>>>this.length%8),this.length++}};var C=[[17,14,11,7],[32,26,20,14],[53,42,32,24],[78,62,46,34],[106,84,60,44],[134,106,74,58],[154,122,86,64],[192,152,108,84],[230,180,130,98],[271,213,151,119],[321,251,177,137],[367,287,203,155],[425,331,241,177],[458,362,258,194],[520,412,292,220],[586,450,322,250],[644,504,364,280],[718,560,394,310],[792,624,442,338],[858,666,482,382],[929,711,509,403],[1003,779,565,439],[1091,857,611,461],[1171,911,661,511],[1273,997,715,535],[1367,1059,751,593],[1465,1125,805,625],[1528,1190,868,658],[1628,1264,908,698],[1732,1370,982,742],[1840,1452,1030,790],[1952,1538,1112,842],[2068,1628,1168,898],[2188,1722,1228,958],[2303,1809,1283,983],[2431,1911,1351,1051],[2563,1989,1423,1093],[2699,2099,1499,1139],[2809,2213,1579,1219],[2953,2331,1663,1273]];function b(){var t=!1,e=navigator.userAgent;if(/android/i.test(e)){t=!0;var r=e.toString().match(/android ([0-9]\.[0-9])/i);r&&r[1]&&(t=parseFloat(r[1]))}return t}var I=function(){var t=function(t,e){this._el=t,this._htOption=e};return t.prototype.draw=function(t){var e=this._htOption,r=this._el,n=t.getModuleCount();Math.floor(e.width/n),Math.floor(e.height/n);function o(t,e){var r=document.createElementNS("http://www.w3.org/2000/svg",t);for(var n in e)e.hasOwnProperty(n)&&r.setAttribute(n,e[n]);return r}this.clear();var i=o("svg",{viewBox:"0 0 "+String(n)+" "+String(n),width:"100%",height:"100%",fill:e.colorLight});i.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns:xlink","http://www.w3.org/1999/xlink"),r.appendChild(i),i.appendChild(o("rect",{fill:e.colorLight,width:"100%",height:"100%"})),i.appendChild(o("rect",{fill:e.colorDark,width:"1",height:"1",id:"template"}));for(var a=0;a<n;a++)for(var s=0;s<n;s++)if(t.isDark(a,s)){var h=o("use",{x:String(s),y:String(a)});h.setAttributeNS("http://www.w3.org/1999/xlink","href","#template"),i.appendChild(h)}},t.prototype.clear=function(){for(;this._el.hasChildNodes();)this._el.removeChild(this._el.lastChild)},t}(),L="svg"===document.documentElement.tagName.toLowerCase()?I:"undefined"==typeof CanvasRenderingContext2D?function(){var t=function(t,e){this._el=t,this._htOption=e};return t.prototype.draw=function(t){for(var e=this._htOption,r=this._el,n=t.getModuleCount(),o=Math.floor(e.width/n),i=Math.floor(e.height/n),a=['<table style="border:0;border-collapse:collapse;">'],s=0;s<n;s++){a.push("<tr>");for(var h=0;h<n;h++)a.push('<td style="border:0;border-collapse:collapse;padding:0;margin:0;width:'+o+"px;height:"+i+"px;background-color:"+(t.isDark(s,h)?e.colorDark:e.colorLight)+';"></td>');a.push("</tr>")}a.push("</table>"),r.innerHTML=a.join("");var l=r.childNodes[0],u=(e.width-l.offsetWidth)/2,c=(e.height-l.offsetHeight)/2;u>0&&c>0&&(l.style.margin=c+"px "+u+"px")},t.prototype.clear=function(){this._el.innerHTML=""},t}():function(){function t(){this._elImage.src=this._elCanvas.toDataURL("image/png"),this._elImage.style.display="block",this._elCanvas.style.display="none"}if(this._android&&this._android<=2.1){var e=1/window.devicePixelRatio,r=CanvasRenderingContext2D.prototype.drawImage;CanvasRenderingContext2D.prototype.drawImage=function(t,n,o,i,a,s,h,l,u){if("nodeName"in t&&/img/i.test(t.nodeName))for(var c=arguments.length-1;c>=1;c--)arguments[c]=arguments[c]*e;else void 0===l&&(arguments[1]*=e,arguments[2]*=e,arguments[3]*=e,arguments[4]*=e);r.apply(this,arguments)}}var n=function(t,e){this._bIsPainted=!1,this._android=b(),this._htOption=e,this._elCanvas=document.createElement("canvas"),this._elCanvas.width=e.width,this._elCanvas.height=e.height,t.appendChild(this._elCanvas),this._el=t,this._oContext=this._elCanvas.getContext("2d"),this._bIsPainted=!1,this._elImage=document.createElement("img"),this._elImage.alt="Scan me!",this._elImage.style.display="none",this._el.appendChild(this._elImage),this._bSupportDataURI=null};return n.prototype.draw=function(t){var e=this._elImage,r=this._oContext,n=this._htOption,o=t.getModuleCount(),i=n.width/o,a=n.height/o,s=Math.round(i),h=Math.round(a);e.style.display="none",this.clear();for(var l=0;l<o;l++)for(var u=0;u<o;u++){var c=t.isDark(l,u),g=u*i,d=l*a;r.strokeStyle=c?n.colorDark:n.colorLight,r.lineWidth=1,r.fillStyle=c?n.colorDark:n.colorLight,r.fillRect(g,d,i,a),r.strokeRect(Math.floor(g)+.5,Math.floor(d)+.5,s,h),r.strokeRect(Math.ceil(g)-.5,Math.ceil(d)-.5,s,h)}this._bIsPainted=!0},n.prototype.makeImage=function(){this._bIsPainted&&function(t,e){var r=this;if(r._fFail=e,r._fSuccess=t,null===r._bSupportDataURI){var n=document.createElement("img"),o=function(){r._bSupportDataURI=!1,r._fFail&&r._fFail.call(r)};return n.onabort=o,n.onerror=o,n.onload=function(){r._bSupportDataURI=!0,r._fSuccess&&r._fSuccess.call(r)},void(n.src="data:image/gif;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg==")}!0===r._bSupportDataURI&&r._fSuccess?r._fSuccess.call(r):!1===r._bSupportDataURI&&r._fFail&&r._fFail.call(r)}.call(this,t)},n.prototype.isPainted=function(){return this._bIsPainted},n.prototype.clear=function(){this._oContext.clearRect(0,0,this._elCanvas.width,this._elCanvas.height),this._bIsPainted=!1},n.prototype.round=function(t){return t?Math.floor(1e3*t)/1e3:t},n}();function w(t,e){for(var r=1,n=function(t){var e=encodeURI(t).toString().replace(/\%[0-9a-fA-F]{2}/g,"a");return e.length+(e.length!=t?3:0)}(t),i=0,a=C.length;i<=a;i++){var s=0;switch(e){case o.L:s=C[i][0];break;case o.M:s=C[i][1];break;case o.Q:s=C[i][2];break;case o.H:s=C[i][3]}if(n<=s)break;r++}if(r>C.length)throw new Error("Too long data");return r}return(n=function(t,e){if(this._htOption={width:256,height:256,typeNumber:4,colorDark:"#000000",colorLight:"#ffffff",correctLevel:o.H},"string"==typeof e&&(e={text:e}),e)for(var r in e)this._htOption[r]=e[r];"string"==typeof t&&(t=document.getElementById(t)),this._htOption.useSVG&&(L=I),this._android=b(),this._el=t,this._oQRCode=null,this._oDrawing=new L(this._el,this._htOption),this._htOption.text&&this.makeCode(this._htOption.text)}).prototype.makeCode=function(t){this._oQRCode=new e(w(t,this._htOption.correctLevel),this._htOption.correctLevel),this._oQRCode.addData(t),this._oQRCode.make(),this._el.title=t,this._oDrawing.draw(this._oQRCode),this.makeImage()},n.prototype.makeImage=function(){"function"==typeof this._oDrawing.makeImage&&(!this._android||this._android>=3)&&this._oDrawing.makeImage()},n.prototype.clear=function(){this._oDrawing.clear()},n.CorrectLevel=o,n},t.exports=o()},"T+/8":function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("mvHQ"),o=r.n(n),i=r("PI0u"),a=r("MJLE"),s=r.n(a),h=r("Ch4/"),l=r("P9l9"),u={name:"login",data:function(){return{qrcodeCase:"",qrcodeNum:"",enterpriseId:"",expiredFlag:!1,canSelectFlag:!1,userId:"",ajaxTime:null,chooseTab:"qrcode",enterpriseList:[],numberCode:""}},computed:{},methods:{toRouterView:function(t){this.$router.push({path:t.path})},chooseLogin:function(t,e){this.chooseTab=e,document.getElementById("qrcode").innerHTML="",this.qrcodeCase.clear(),clearInterval(this.ajaxTime),"pass"!=e?(this.getQrcode(),this.expiredFlag=!1):this.qrcodeNum="",document.getElementById("line-active").style.width=t.target.offsetWidth+"px",document.getElementById("line-active").style.left=t.target.offsetLeft+"px"},collapseTag:function(t){this.collapseFlag=t},qrcode:function(t){var e={type:"web-login",data:t||"123456789"};this.qrcodeCase=new s.a("qrcode",{width:190,height:190,text:o()(e)}),document.getElementById("qrcode").title=""},refreshCode:Object(i.a)(function(){this.qrcodeCase&&(document.getElementById("qrcode").innerHTML="",this.qrcodeCase.clear()),this.getQrcode(),this.expiredFlag=!1},500),toIndex:Object(i.a)(function(){this.toLogin()},500),toLogin:Object(i.a)(function(){var t=this,e={qrcode:t.qrcodeNum||"debug",enterpriseId:t.enterpriseId,userId:t.userId};Object(l.b)("/haoban-manage3-web/login",e).then(function(e){var r=e.data;if(1==r.errorCode)return localStorage.removeItem("userInfo"),localStorage.setItem("userInfo",o()(r.result)),void t.$router.push("/index");30004==r.errorCode&&(t.canSelectFlag=!1,"qrcode"==t.chooseTab&&(t.getQrcode(),t.expiredFlag=!1)),h.a.errorMsg(r)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},500),checkLogin:function(){var t=this,e={qrcode:t.qrcodeNum};Object(l.b)("/haoban-manage3-web/login-check",e).then(function(e){var r=e.data;if(1!=r.errorCode)30002==r.errorCode&&(t.expiredFlag=!0),h.a.errorMsg(r),clearInterval(t.ajaxTime);else if(r.result&&r.result.enterpriseList&&r.result.enterpriseList.length){if(t.enterpriseList=r.result.enterpriseList,t.enterpriseId=t.enterpriseList[0].enterpriseId,t.userId=r.result.userId,document.getElementById("qrcode").innerHTML="",t.qrcodeCase.clear(),clearInterval(t.ajaxTime),1==r.result.enterpriseList.length)return t.toLogin(),!1;t.canSelectFlag=!0}}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},checkScan:function(){var t=this;clearInterval(t.ajaxTime),t.ajaxTime=null,t.ajaxTime=setInterval(function(){t.checkLogin()},3e3)},getQrcode:function(){var t=this;Object(l.b)("/haoban-manage3-web/get-login-qrcode",{}).then(function(e){var r=e.data;if(1==r.errorCode)return t.qrcodeNum=r.result,void t.qrcode(t.qrcodeNum);h.a.errorMsg(r)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},changeCode:function(t){this.numberCode=t}},mounted:function(){this.getQrcode(),this.toLogin()},components:{}},c={render:function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"login-wrap"},[r("section",[r("div",{staticClass:"login-body-top"},[t._m(0),t._v(" "),r("div",{staticClass:"login-body-qrcode"},[r("div",{staticClass:"login-qrcode-inner border-box"},[r("div",{staticClass:"qrcode-title font-18 color-303133 m-b-20"},[t._v("企业微信扫码登录")]),t._v(" "),r("div",{attrs:{id:"qrcode",title:""}}),t._v(" "),r("div",{staticClass:"qrcode-refresh m-t-20"},[r("el-button",{staticClass:"font-12",attrs:{type:"text"},on:{click:t.refreshCode}},[t._v("刷新 "),r("span",{staticClass:"color-2f54eb iconfont iconshuaxin"})])],1)])]),t._v(" "),r("div",{staticClass:"bg-dot"}),t._v(" "),r("div",{staticClass:"bg-dot-center"})]),t._v(" "),r("div",{staticClass:"login-body-bottom"})]),t._v(" "),r("footer",{staticClass:"p-t-35"},[r("vue-gic-footer")],1)])},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"login-body-head"},[e("div",{staticClass:"login-body-head_inner border-box flex"},[e("img",{staticClass:"login-body-logo",attrs:{src:r("7Otq"),alt:"logo"}}),this._v(" "),e("span",{staticClass:"login-body-title p-l-7"},[this._v("好办管理后台")])])])}]};var g=r("VU/8")(u,c,!1,function(t){r("qtzG")},"data-v-f2f1266a",null);e.default=g.exports},qtzG:function(t,e){}});
\ No newline at end of file \ 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,8],"./apps/customerApp/memberGroupSet.vue":["JuNN",0,4],"./apps/customerApp/memberSearchSet.vue":["Z3Aa",0,12],"./apps/customerApp/memberShowSet.vue":["odfG",0,14],"./apps/index.vue":["K1Vb",0,15],"./business/contacts.vue":["/W60",0,3],"./business/index.vue":["jPcV",0,18],"./business/orgStructSet.vue":["OI5V",0,2],"./business/recycle.vue":["K8Yn",0,11],"./errorPage/403.vue":["6XGN",9],"./errorPage/404.vue":["AejC",10],"./errorPage/500.vue":["FskK",6],"./errorPage/gic-error.vue":["Q3j/",7],"./errorPage/index.vue":["ODjX",1],"./index/index.vue":["JXTs",0,17],"./login/index.vue":["T+/8",0,5],"./overstore/index.vue":["Y55K",0,16],"./overstore/overStoreList.vue":["vuAV",0,13]};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]); 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,8],"./apps/customerApp/memberGroupSet.vue":["JuNN",0,4],"./apps/customerApp/memberSearchSet.vue":["Z3Aa",0,13],"./apps/customerApp/memberShowSet.vue":["odfG",0,12],"./apps/index.vue":["K1Vb",0,15],"./business/contacts.vue":["/W60",0,3],"./business/index.vue":["jPcV",0,18],"./business/orgStructSet.vue":["OI5V",0,2],"./business/recycle.vue":["K8Yn",0,11],"./errorPage/403.vue":["6XGN",9],"./errorPage/404.vue":["AejC",10],"./errorPage/500.vue":["FskK",6],"./errorPage/gic-error.vue":["Q3j/",7],"./errorPage/index.vue":["ODjX",1],"./index/index.vue":["JXTs",0,17],"./login/index.vue":["T+/8",0,5],"./overstore/index.vue":["Y55K",0,16],"./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 \ No newline at end of file
!function(e){var n=window.webpackJsonp;window.webpackJsonp=function(r,a,c){for(var f,d,i,u=0,s=[];u<r.length;u++)d=r[u],t[d]&&s.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);s.length;)s.shift()();if(c)for(u=0;u<c.length;u++)i=o(o.s=c[u]);return i};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:"1950ba81fb9e6591f955",1:"9a1776fdc262362d75b8",2:"f8bee3d8e2b83f6a7c8b",3:"d8e37aeae6d56520acad",4:"a0c4f09c879548585390",5:"82d0792d81d7318307e9",6:"689a47e3c9b781d2fb24",7:"e0cce9483623d0364430",8:"8e77474758fd36663e34",9:"1e29ef199801738ed9ad",10:"de993e1c4bc498c9dbd6",11:"a8374649133a25199e44",12:"d90be435e90fc03b61dd",13:"863fcfef38d982f04a9d",14:"6ddcbf8576b81570a798",15:"b2964c8a20328a2a5e5f",16:"188fa59e318626239ae8",17:"213863e51a31745d52c8",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,d=0,s=[];d<r.length;d++)i=r[d],t[i]&&s.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);s.length;)s.shift()();if(c)for(d=0;d<c.length;d++)u=a(a.s=c[d]);return u};var r={},t={21:0};function a(n){if(r[n])return r[n].exports;var t=r[n]={i:n,l:!1,exports:{}};return e[n].call(t.exports,t,t.exports,a),t.l=!0,t.exports}a.e=function(e){var n=t[e];if(0===n)return new Promise(function(e){e()});if(n)return n[2];var r=new Promise(function(r,a){n=t[e]=[r,a]});n[2]=r;var 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:"1a2514d3c933b2ce2263",1:"9a1776fdc262362d75b8",2:"e5a58ce01886c1da461f",3:"d8e37aeae6d56520acad",4:"8744c290d4aba887e920",5:"76530a9ca8a8b1285221",6:"689a47e3c9b781d2fb24",7:"e0cce9483623d0364430",8:"8e77474758fd36663e34",9:"1e29ef199801738ed9ad",10:"de993e1c4bc498c9dbd6",11:"a8374649133a25199e44",12:"088b07815fe670e643cc",13:"610798bb673465353c40",14:"beb077e8e2edcbffb6a8",15:"b2964c8a20328a2a5e5f",16:"188fa59e318626239ae8",17:"213863e51a31745d52c8",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
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
* @Author : 无尘 * @Author : 无尘
* @Date : 2020-02-13 16:13:59 * @Date : 2020-02-13 16:13:59
* @LastEditors : 无尘 * @LastEditors : 无尘
* @LastEditTime : 2020-02-20 08:59:07 * @LastEditTime : 2020-02-20 09:59:18
* @FilePath : \Hapi-demoj:\公司\haoban-3\src\components\company\add-enterprise.vue * @FilePath : \Hapi-demoj:\公司\haoban-3\src\components\company\add-enterprise.vue
--> -->
<!-- <!--
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
<el-form-item label="超级管理员"> <el-form-item label="超级管理员">
{{ partForm.clerkName }} {{ partForm.clerkName }}
</el-form-item> </el-form-item>
<el-form-item label="超级管理员手机号" prop="sex"> {{ partForm.phoneNumber | formatPhoneNum }} <el-button :disabled="!partForm.phoneNumber ? true : false" type="primary" @click="sendCode()">点击短信验证</el-button> </el-form-item> <el-form-item label="超级管理员手机号" prop="sex"> {{ partForm.nationCode }}-{{ partForm.phoneNumber | formatPhoneNum }} <el-button :disabled="!partForm.phoneNumber ? true : false" type="primary" @click="sendCode()">点击短信验证</el-button> </el-form-item>
<el-form-item label="短信验证码" prop="code"> <el-form-item label="短信验证码" prop="code">
<el-input style="width: 180px;" v-model="partForm.code" placeholder="请输入验证码"></el-input> <el-input style="width: 180px;" v-model="partForm.code" placeholder="请输入验证码"></el-input>
</el-form-item> </el-form-item>
...@@ -74,6 +74,8 @@ export default { ...@@ -74,6 +74,8 @@ export default {
memberVisible: true, memberVisible: true,
partForm: { partForm: {
version: '3.0', version: '3.0',
clerkName: '',
enterpriseId: '',
enterpriseName: '', enterpriseName: '',
nationCode: '86', nationCode: '86',
phoneNumber: '', phoneNumber: '',
...@@ -173,14 +175,17 @@ export default { ...@@ -173,14 +175,17 @@ export default {
.then(res => { .then(res => {
let resData = res.data; let resData = res.data;
if (resData.errorCode == 1) { if (resData.errorCode == 1) {
resolve(resData.result || []); if (resData.result) {
resData.result.value = resData.result.enterpriseName;
}
resolve(resData.result ? [resData.result] : []);
return false; return false;
} }
errMsg.errorMsg(resData); errMsg.errorMsg(resData);
resolve(false); resolve([]);
}) })
.catch(function(error) { .catch(function(error) {
resolve(false); resolve([]);
that.$message.error({ that.$message.error({
duration: 1000, duration: 1000,
message: error.message message: error.message
...@@ -193,11 +198,25 @@ export default { ...@@ -193,11 +198,25 @@ export default {
*/ */
async querySearchAsync(queryString, cb) { async querySearchAsync(queryString, cb) {
const that = this; const that = this;
if (queryString == '') {
cb([]);
}
const res = await that.getSearchList(queryString); const res = await that.getSearchList(queryString);
cb([res]); cb(res);
// console.log(res);
// clearTimeout(that.timeout);
// that.timeout = setTimeout(() => {
// cb(res);
// }, 300);
}, },
handleSelect(item) { handleSelect(item) {
// console.log(item); // console.log(item);
const that = this;
that.partForm.enterpriseId = item.enterpriseId;
that.partForm.clerkName = item.clerkName;
that.partForm.nationCode = item.nationCode;
that.partForm.phoneNumber = item.phoneNumber;
that.partForm.code = '';
}, },
/** /**
* 改变对外职务 * 改变对外职务
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* @Author: 无尘 * @Author: 无尘
* @Date: 2018-10-10 17:21:32 * @Date: 2018-10-10 17:21:32
* @LastEditors : 无尘 * @LastEditors : 无尘
* @LastEditTime : 2020-02-19 09:19:02 * @LastEditTime : 2020-02-20 10:21:48
--> -->
<template> <template>
<div class="navheader"> <div class="navheader">
...@@ -40,7 +40,7 @@ ...@@ -40,7 +40,7 @@
<!-- href="javascript:void(0)" --> <!-- href="javascript:void(0)" -->
</ul> </ul>
<a class="nav-user-name" slot="reference"> <a class="nav-user-name" slot="reference">
<span class="font-12 color-606266">{{ userInfo.name || '--' }}</span> <i class="iconfont iconxiala arrowico"></i> <span class="font-12 color-606266">{{ userInfo.staffDTO.staffName || '--' }}</span> <i class="iconfont iconxiala arrowico"></i>
</a> </a>
</el-popover> </el-popover>
</div> </div>
...@@ -310,6 +310,7 @@ export default { ...@@ -310,6 +310,7 @@ export default {
that.isCollapse = that.collapseFlag; that.isCollapse = that.collapseFlag;
// 获取菜单 // 获取菜单
// Promise.all([that.getHeaderMenu(), that.getMenuDetail()]); // Promise.all([that.getHeaderMenu(), that.getMenuDetail()]);
that.userInfo = JSON.parse(localStorage.getItem('userInfo'));
} }
}; };
</script> </script>
......
...@@ -110,6 +110,7 @@ export default { ...@@ -110,6 +110,7 @@ export default {
projectName: '', // 当前项目名 projectName: '', // 当前项目名
activeName: 'first', activeName: 'first',
activeGroup: this.activeGroupId, // 商户(品牌) groupId activeGroup: this.activeGroupId, // 商户(品牌) groupId
wxEnterpriseRelatedId: JSON.parse(localStorage.getItem('userInfo')).wxEnterpriseId,
myCustomData: { myCustomData: {
searchFlag: false, searchFlag: false,
chatFlag: false, chatFlag: false,
...@@ -155,7 +156,7 @@ export default { ...@@ -155,7 +156,7 @@ export default {
getSyncDate(brandId) { getSyncDate(brandId) {
const that = this; const that = this;
let para = { let para = {
wxEnterpriseRelatedId: that.brandId || brandId wxEnterpriseRelatedId: that.wxEnterpriseRelatedId
}; };
postRequest('/haoban-app-customer-web/memberGroup/get-group_last_syn_time', para) postRequest('/haoban-app-customer-web/memberGroup/get-group_last_syn_time', para)
.then(res => { .then(res => {
...@@ -179,7 +180,7 @@ export default { ...@@ -179,7 +180,7 @@ export default {
toSync: _debounce(function() { toSync: _debounce(function() {
const that = this; const that = this;
let para = { let para = {
wxEnterpriseRelatedId: that.brandId wxEnterpriseRelatedId: that.wxEnterpriseRelatedId
}; };
postRequest('/haoban-app-customer-web/memberGroup/syn-group', para) postRequest('/haoban-app-customer-web/memberGroup/syn-group', para)
.then(res => { .then(res => {
...@@ -217,7 +218,7 @@ export default { ...@@ -217,7 +218,7 @@ export default {
getGroupClassSet(brandId) { getGroupClassSet(brandId) {
const that = this; const that = this;
let para = { let para = {
wxEnterpriseRelatedId: brandId wxEnterpriseRelatedId: that.wxEnterpriseRelatedId
}; };
postRequest('/haoban-app-customer-web/memberGroup/get-member-group-setting', para) postRequest('/haoban-app-customer-web/memberGroup/get-member-group-setting', para)
.then(res => { .then(res => {
...@@ -241,7 +242,7 @@ export default { ...@@ -241,7 +242,7 @@ export default {
saveGroupSet() { saveGroupSet() {
const that = this; const that = this;
let para = { let para = {
wxEnterpriseRelatedId: that.brandId, wxEnterpriseRelatedId: that.wxEnterpriseRelatedId,
overTimeSeeFlag: that.overTimeSeeFlag == true ? 1 : 0 overTimeSeeFlag: that.overTimeSeeFlag == true ? 1 : 0
}; };
postRequest('/haoban-app-customer-web/memberGroup/save-member-group-setting', para) postRequest('/haoban-app-customer-web/memberGroup/save-member-group-setting', para)
...@@ -285,7 +286,7 @@ export default { ...@@ -285,7 +286,7 @@ export default {
getGroupClassify(brandId) { getGroupClassify(brandId) {
const that = this; const that = this;
let para = { let para = {
wxEnterpriseRelatedId: brandId wxEnterpriseRelatedId: that.wxEnterpriseRelatedId
}; };
postRequest('/haoban-app-customer-web/memberGroup/get-member-class-list', para) postRequest('/haoban-app-customer-web/memberGroup/get-member-class-list', para)
.then(res => { .then(res => {
...@@ -311,7 +312,7 @@ export default { ...@@ -311,7 +312,7 @@ export default {
const that = this; const that = this;
console.log(e, index, row); console.log(e, index, row);
let para = { let para = {
wxEnterpriseRelatedId: that.brandId, wxEnterpriseRelatedId: that.wxEnterpriseRelatedId,
memberTagGroupId: row.memberTagGroupId, memberTagGroupId: row.memberTagGroupId,
isSendTemplate: row.isSendTemplate == true ? 1 : 0 isSendTemplate: row.isSendTemplate == true ? 1 : 0
}; };
...@@ -360,7 +361,7 @@ export default { ...@@ -360,7 +361,7 @@ export default {
getGroupList(brandId) { getGroupList(brandId) {
const that = this; const that = this;
let para = { let para = {
wxEnterpriseRelatedId: brandId, wxEnterpriseRelatedId: that.wxEnterpriseRelatedId,
memberGroupName: that.conditionObj.searchInput, memberGroupName: that.conditionObj.searchInput,
classifyName: that.conditionObj.classifyName, classifyName: that.conditionObj.classifyName,
effectiveStatus: that.conditionObj.effectiveStatus, effectiveStatus: that.conditionObj.effectiveStatus,
...@@ -400,38 +401,38 @@ export default { ...@@ -400,38 +401,38 @@ export default {
that.getSyncDate(that.brandId); that.getSyncDate(that.brandId);
}, },
components: {} components: {}
}; };
</script> </script>
<style lang="less" scoped> <style lang="less" scoped>
.w-500 { .w-500 {
width: 500px; width: 500px;
} }
.w-168 { .w-168 {
width: 168px; width: 168px;
} }
.w-195 { .w-195 {
width: 195px; width: 195px;
} }
.color-1890ff { .color-1890ff {
color: #1890ff; color: #1890ff;
} }
.p-20 { .p-20 {
padding: 20px; padding: 20px;
} }
.p-l-38 { .p-l-38 {
padding-left: 38px; padding-left: 38px;
} }
.p-l-199 { .p-l-199 {
padding-left: 199px; padding-left: 199px;
} }
.app-detail-wrap { .app-detail-wrap {
height: 100%; height: 100%;
background: #fff; background: #fff;
.el-tabs { .el-tabs {
...@@ -457,5 +458,5 @@ export default { ...@@ -457,5 +458,5 @@ export default {
} }
} }
} }
} }
</style> </style>
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* @Author: 无尘 * @Author: 无尘
* @Date: 2019-03-20 14:36:37 * @Date: 2019-03-20 14:36:37
* @LastEditors : 无尘 * @LastEditors : 无尘
* @LastEditTime : 2020-02-19 09:59:06 * @LastEditTime : 2020-02-20 10:25:37
--> -->
<!-- <!--
...@@ -51,6 +51,7 @@ export default { ...@@ -51,6 +51,7 @@ export default {
data() { data() {
return { return {
projectName: '', // 当前项目名 projectName: '', // 当前项目名
wxEnterpriseRelatedId: JSON.parse(localStorage.getItem('userInfo')).wxEnterpriseId,
myCustomData: { myCustomData: {
searchFlag: false searchFlag: false
}, },
...@@ -72,7 +73,7 @@ export default { ...@@ -72,7 +73,7 @@ export default {
setData(type) { setData(type) {
const that = this; const that = this;
let para = { let para = {
wxEnterpriseRelatedId: that.brandId wxEnterpriseRelatedId: that.wxEnterpriseRelatedId
// enterpriseId: JSON.parse(localStorage.getItem('userInfo')).enterpriseId // enterpriseId: JSON.parse(localStorage.getItem('userInfo')).enterpriseId
}; };
let url; let url;
...@@ -126,7 +127,7 @@ export default { ...@@ -126,7 +127,7 @@ export default {
getCustomerSet(brandId) { getCustomerSet(brandId) {
const that = this; const that = this;
let para = { let para = {
wxEnterpriseRelatedId: brandId wxEnterpriseRelatedId: that.wxEnterpriseRelatedId
}; };
postRequest('/haoban-app-customer-web/customer/find-customer-setting', para) postRequest('/haoban-app-customer-web/customer/find-customer-setting', para)
.then(res => { .then(res => {
......
...@@ -78,6 +78,7 @@ export default { ...@@ -78,6 +78,7 @@ export default {
projectName: '', // 当前项目名 projectName: '', // 当前项目名
activeName: 'first', activeName: 'first',
activeGroup: this.activeGroupId, // 商户(品牌) groupId activeGroup: this.activeGroupId, // 商户(品牌) groupId
wxEnterpriseRelatedId: JSON.parse(localStorage.getItem('userInfo')).wxEnterpriseId,
myCustomData: { myCustomData: {
searchFlag: false, searchFlag: false,
chatFlag: false, chatFlag: false,
...@@ -108,7 +109,7 @@ export default { ...@@ -108,7 +109,7 @@ export default {
setData(type) { setData(type) {
const that = this; const that = this;
let para = { let para = {
wxEnterpriseRelatedId: that.brandId wxEnterpriseRelatedId: that.wxEnterpriseRelatedId
// enterpriseId: JSON.parse(localStorage.getItem('userInfo')).enterpriseId // enterpriseId: JSON.parse(localStorage.getItem('userInfo')).enterpriseId
}; };
let url; let url;
...@@ -180,7 +181,7 @@ export default { ...@@ -180,7 +181,7 @@ export default {
getShowSet(brandId) { getShowSet(brandId) {
const that = this; const that = this;
let para = { let para = {
wxEnterpriseRelatedId: brandId wxEnterpriseRelatedId: that.wxEnterpriseRelatedId
}; };
postRequest('/haoban-app-customer-web/customer/find-member-show-setting', para) postRequest('/haoban-app-customer-web/customer/find-member-show-setting', para)
.then(res => { .then(res => {
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* @Author: 无尘 * @Author: 无尘
* @Date: 2019-03-20 14:36:37 * @Date: 2019-03-20 14:36:37
* @LastEditors : 无尘 * @LastEditors : 无尘
* @LastEditTime : 2020-02-19 15:30:47 * @LastEditTime : 2020-02-20 10:01:12
--> -->
<template> <template>
<div class="my-customer-wrap common-set-wrap"> <div class="my-customer-wrap common-set-wrap">
...@@ -161,7 +161,6 @@ export default { ...@@ -161,7 +161,6 @@ export default {
let resData = res.data; let resData = res.data;
if (resData.errorCode == 1) { if (resData.errorCode == 1) {
that.tableData = resData.result.list || []; that.tableData = resData.result.list || [];
that.total = resData.result.total;
return false; return false;
} }
errMsg.errorMsg(resData); errMsg.errorMsg(resData);
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* @Author: 无尘 * @Author: 无尘
* @Date: 2018-10-10 14:44:45 * @Date: 2018-10-10 14:44:45
* @LastEditors : 无尘 * @LastEditors : 无尘
* @LastEditTime : 2020-02-19 15:15:48 * @LastEditTime : 2020-02-20 10:13:17
--> -->
<template> <template>
<div class="login-wrap"> <div class="login-wrap">
...@@ -155,13 +155,13 @@ export default { ...@@ -155,13 +155,13 @@ export default {
*/ */
toLogin: _debounce(function() { toLogin: _debounce(function() {
const that = this; const that = this;
if (!that.enterpriseId) { // if (!that.enterpriseId) {
that.$message.error({ // that.$message.error({
duration: 1000, // duration: 1000,
message: '请选择企业' // message: '请选择企业'
}); // });
return false; // return false;
} // }
let para = { let para = {
qrcode: that.qrcodeNum || 'debug', qrcode: that.qrcodeNum || 'debug',
enterpriseId: that.enterpriseId, enterpriseId: that.enterpriseId,
...@@ -282,9 +282,10 @@ export default { ...@@ -282,9 +282,10 @@ export default {
mounted() { mounted() {
const that = this; const that = this;
that.getQrcode(); that.getQrcode();
if (!!localStorage.getItem('userInfo')) { that.toLogin();
/* if (!!localStorage.getItem('userInfo')) {
localStorage.removeItem('userInfo'); localStorage.removeItem('userInfo');
} } */
}, },
components: {} components: {}
}; };
......
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