Commit 5d52bae2 by 无尘

fix: 修改授权

parent 935f1650
.auth-step-body[data-v-a7d9b548]{width:400px;margin:0 auto}.el-alert__title[data-v-c9f514f8]{line-height:23px}.color-f5222d[data-v-c9f514f8]{color:#f5222d}.auth-commit-success[data-v-97eb5448]{margin-top:154px}.auth-commit-success .color-49c958[data-v-97eb5448]{color:#49c958}.auth-commit-success .font-60[data-v-97eb5448]{font-size:60px}.auth-commit-success .m-t-12[data-v-97eb5448]{margin-top:12px}.auth-commit-success .m-t-28[data-v-97eb5448]{margin-top:28px}.input-line-cell[data-v-2859c084]{position:relative;display:inline-block}.w-340[data-v-2859c084]{width:340px}.w-340[data-v-2859c084] .el-input__inner{font-size:14px;color:#fff;background-color:hsla(0,0%,100%,.1)}.el-textarea[data-v-2859c084] .el-textarea__inner{font-size:14px;color:#606266;background-color:hsla(0,0%,100%,.1);resize:none;font-family:Helvetica Neue,Helvetica,PingFang SC,Hiragino Sans GB,Microsoft YaHei,"\5FAE\8F6F\96C5\9ED1",Arial,sans-serif}.el-textarea.is-disabled[data-v-2859c084]{opacity:.5}.el-input .is-disabled[data-v-2859c084] .el-input__inner{font-size:14px;color:#fff;background-color:hsla(0,0%,100%,.1)}.tip[data-v-2859c084]{position:absolute;bottom:-5px;right:10px;display:inline-block;line-height:32px;text-align:right;font-size:12px;color:#909399}.auth-commit-admin[data-v-706c4074]{width:400px;margin:0 auto}.auth-commit-admin .color-49c958[data-v-706c4074]{color:#49c958}.auth-commit-admin .font-60[data-v-706c4074]{font-size:60px}.auth-commit-admin .m-t-12[data-v-706c4074]{margin-top:12px}.auth-commit-admin .m-t-28[data-v-706c4074]{margin-top:28px}.auth-commit-admin .m-b-32[data-v-706c4074]{margin-bottom:32px}.auth-commit-admin .w-198[data-v-706c4074]{width:198px}.auth-commit-admin .audit-admin-body[data-v-706c4074]{min-width:500px}.auth-commit-admin .audit-admin-body .audit-admin[data-v-706c4074]{position:relative;color:#606266;font-size:14px;padding:0 8px;margin-bottom:10px}.auth-commit-admin .audit-admin-body .audit-admin[data-v-706c4074]:nth-child(2n):after{content:"";position:absolute;left:0;top:10px;width:0;height:14px;border-left:1px solid #dcdfe6}.select-tree-wrap[data-v-408654a0]{height:445px;overflow-y:auto;border:1px solid #e4e7ed}.span-dot[data-v-f36d3c80]{display:inline-block;vertical-align:middle;width:6px;height:6px;margin-right:6px;border-radius:3px}.span-dot.bg-52c41a[data-v-f36d3c80]{background:#52c41a}.span-dot.bg-f5222d[data-v-f36d3c80]{background:#f5222d}.m-t-35[data-v-f36d3c80]{margin-top:35px}.bg-82c5ff[data-v-f36d3c80]{background:#82c5ff}.color-508cee[data-v-f36d3c80]{color:#508cee}.color-ff585c[data-v-f36d3c80]{color:#ff585c}.line-h-18[data-v-f36d3c80]{line-height:18px}.tooltip-text[data-v-f36d3c80]{width:100%;white-space:pre-wrap;word-break:break-all}.my-customer-wrap[data-v-f36d3c80]{height:100%}.my-customer-wrap .w-227[data-v-f36d3c80]{width:227px}.my-customer-wrap .auth-tip-body[data-v-f36d3c80]{width:645px;margin:0 auto}.my-customer-wrap .enterprise-version[data-v-f36d3c80]{display:inline-block;vertical-align:top;width:76px;height:32px;margin-right:-1px;background:#f5f7fa;border-radius:2px 0 0 2px;border:1px solid #c4c6cf;border-right:0;font-size:14px;color:#c0c4cc;text-align:center}.my-customer-wrap .store-item-content[data-v-f36d3c80]{position:relative;width:302px;height:32px;overflow:hidden;white-space:nowrap;border-radius:2px;border:1px solid #c4c6cf;cursor:pointer;-webkit-box-sizing:border-box;box-sizing:border-box}.my-customer-wrap .store-item-content .el-select__tags[data-v-f36d3c80]{max-width:348px;white-space:nowrap;overflow:hidden}.right-content[data-v-f36d3c80]{padding:0 20px 20px 20px;min-height:calc(100% - 160px)}.right-content .right-box[data-v-f36d3c80]{background:#fff;min-height:500px;padding:0}.right-content .right-box .apps-content .apps-content-right[data-v-f36d3c80]{width:100%;padding:20px;background:#fff}.right-content .right-box .apps-content .apps-content-right .common-set-wrap[data-v-f36d3c80]{height:100%;background:#fff}
\ No newline at end of file
.auth-step-body[data-v-a7d9b548]{width:400px;margin:0 auto}.el-alert__title[data-v-c9f514f8]{line-height:23px}.color-f5222d[data-v-c9f514f8]{color:#f5222d}.auth-commit-success[data-v-97eb5448]{margin-top:154px}.auth-commit-success .color-49c958[data-v-97eb5448]{color:#49c958}.auth-commit-success .font-60[data-v-97eb5448]{font-size:60px}.auth-commit-success .m-t-12[data-v-97eb5448]{margin-top:12px}.auth-commit-success .m-t-28[data-v-97eb5448]{margin-top:28px}.input-line-cell[data-v-2859c084]{position:relative;display:inline-block}.w-340[data-v-2859c084]{width:340px}.w-340[data-v-2859c084] .el-input__inner{font-size:14px;color:#fff;background-color:hsla(0,0%,100%,.1)}.el-textarea[data-v-2859c084] .el-textarea__inner{font-size:14px;color:#606266;background-color:hsla(0,0%,100%,.1);resize:none;font-family:Helvetica Neue,Helvetica,PingFang SC,Hiragino Sans GB,Microsoft YaHei,"\5FAE\8F6F\96C5\9ED1",Arial,sans-serif}.el-textarea.is-disabled[data-v-2859c084]{opacity:.5}.el-input .is-disabled[data-v-2859c084] .el-input__inner{font-size:14px;color:#fff;background-color:hsla(0,0%,100%,.1)}.tip[data-v-2859c084]{position:absolute;bottom:-5px;right:10px;display:inline-block;line-height:32px;text-align:right;font-size:12px;color:#909399}.auth-commit-admin[data-v-706c4074]{width:400px;margin:0 auto}.auth-commit-admin .color-49c958[data-v-706c4074]{color:#49c958}.auth-commit-admin .font-60[data-v-706c4074]{font-size:60px}.auth-commit-admin .m-t-12[data-v-706c4074]{margin-top:12px}.auth-commit-admin .m-t-28[data-v-706c4074]{margin-top:28px}.auth-commit-admin .m-b-32[data-v-706c4074]{margin-bottom:32px}.auth-commit-admin .w-198[data-v-706c4074]{width:198px}.auth-commit-admin .audit-admin-body[data-v-706c4074]{min-width:500px}.auth-commit-admin .audit-admin-body .audit-admin[data-v-706c4074]{position:relative;color:#606266;font-size:14px;padding:0 8px;margin-bottom:10px}.auth-commit-admin .audit-admin-body .audit-admin[data-v-706c4074]:nth-child(2n):after{content:"";position:absolute;left:0;top:10px;width:0;height:14px;border-left:1px solid #dcdfe6}.select-tree-wrap[data-v-408654a0]{height:445px;overflow-y:auto;border:1px solid #e4e7ed}.span-dot[data-v-ed918c5e]{display:inline-block;vertical-align:middle;width:6px;height:6px;margin-right:6px;border-radius:3px}.span-dot.bg-52c41a[data-v-ed918c5e]{background:#52c41a}.span-dot.bg-f5222d[data-v-ed918c5e]{background:#f5222d}.m-t-35[data-v-ed918c5e]{margin-top:35px}.bg-82c5ff[data-v-ed918c5e]{background:#82c5ff}.color-508cee[data-v-ed918c5e]{color:#508cee}.color-ff585c[data-v-ed918c5e]{color:#ff585c}.line-h-18[data-v-ed918c5e]{line-height:18px}.tooltip-text[data-v-ed918c5e]{width:100%;white-space:pre-wrap;word-break:break-all}.my-customer-wrap[data-v-ed918c5e]{height:100%}.my-customer-wrap .w-227[data-v-ed918c5e]{width:227px}.my-customer-wrap .auth-tip-body[data-v-ed918c5e]{width:645px;margin:0 auto}.my-customer-wrap .enterprise-version[data-v-ed918c5e]{display:inline-block;vertical-align:top;width:76px;height:32px;margin-right:-1px;background:#f5f7fa;border-radius:2px 0 0 2px;border:1px solid #c4c6cf;border-right:0;font-size:14px;color:#c0c4cc;text-align:center}.my-customer-wrap .store-item-content[data-v-ed918c5e]{position:relative;width:302px;height:32px;overflow:hidden;white-space:nowrap;border-radius:2px;border:1px solid #c4c6cf;cursor:pointer;-webkit-box-sizing:border-box;box-sizing:border-box}.my-customer-wrap .store-item-content .el-select__tags[data-v-ed918c5e]{max-width:348px;white-space:nowrap;overflow:hidden}.right-content[data-v-ed918c5e]{padding:0 20px 20px 20px;min-height:calc(100% - 160px)}.right-content .right-box[data-v-ed918c5e]{background:#fff;min-height:500px;padding:0}.right-content .right-box .apps-content .apps-content-right[data-v-ed918c5e]{width:100%;padding:20px;background:#fff}.right-content .right-box .apps-content .apps-content-right .common-set-wrap[data-v-ed918c5e]{height:100%;background:#fff}
\ No newline at end of file
<!DOCTYPE html><html lang=cn><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><meta name=viewport content="width=device-width,initial-scale=1"><link rel=icon href=favicon.ico><link rel=stylesheet type=text/css href=//web-1251519181.file.myqcloud.com/custom-element/custom-element.1.0.44.css><link rel=stylesheet type=text/css href=static/fonts/iconfont.css><title>好办</title><link href=css/chunk-056d2763.3ce9c4ac.css rel=prefetch><link href=css/chunk-088075fe.85747dd1.css rel=prefetch><link href=css/chunk-08caf83f.90a90189.css rel=prefetch><link href=css/chunk-09469871.0d5615a8.css rel=prefetch><link href=css/chunk-0b606e56.e2d9bedf.css rel=prefetch><link href=css/chunk-16a8dcde.2a3bfb87.css rel=prefetch><link href=css/chunk-19db1fc6.ba890a33.css rel=prefetch><link href=css/chunk-1b93a01a.01549a8d.css rel=prefetch><link href=css/chunk-1d258c3c.6cf7c149.css rel=prefetch><link href=css/chunk-2798c70e.c68e8777.css rel=prefetch><link href=css/chunk-3614f1eb.7f2fa781.css rel=prefetch><link href=css/chunk-429a3986.0608ee5b.css rel=prefetch><link href=css/chunk-604da622.c1e9b3ff.css rel=prefetch><link href=css/chunk-63cd2773.5fbdcef6.css rel=prefetch><link href=css/chunk-666544b4.bee76fa9.css rel=prefetch><link href=css/chunk-672b9464.0543d323.css rel=prefetch><link href=css/chunk-753346ba.c468c061.css rel=prefetch><link href=css/chunk-76f8f268.22f587ad.css rel=prefetch><link href=css/chunk-7dc8c2b3.943c31ad.css rel=prefetch><link href=css/chunk-7ea1f4c1.2edbc58c.css rel=prefetch><link href=css/chunk-8c4ab320.aa69d1c8.css rel=prefetch><link href=css/chunk-8e8a2f30.6b267902.css rel=prefetch><link href=css/chunk-998becb6.20cf710c.css rel=prefetch><link href=css/chunk-b168be3a.2870bdd9.css rel=prefetch><link href=css/chunk-b2e2b802.c64ee928.css rel=prefetch><link href=css/chunk-ddcd4406.8a6b709f.css rel=prefetch><link href=css/chunk-de2234c0.cfd35ff6.css rel=prefetch><link href=css/chunk-f424bd76.b437b2a0.css rel=prefetch><link href=js/chunk-056d2763.7dbda16a.js rel=prefetch><link href=js/chunk-088075fe.07dadc4b.js rel=prefetch><link href=js/chunk-08caf83f.90081f64.js rel=prefetch><link href=js/chunk-09469871.6447b088.js rel=prefetch><link href=js/chunk-0b606e56.fe02cbc2.js rel=prefetch><link href=js/chunk-16a8dcde.422b0989.js rel=prefetch><link href=js/chunk-19db1fc6.10fbf935.js rel=prefetch><link href=js/chunk-1b93a01a.19b25334.js rel=prefetch><link href=js/chunk-1d258c3c.996577af.js rel=prefetch><link href=js/chunk-2798c70e.2081f8b5.js rel=prefetch><link href=js/chunk-3614f1eb.baca650f.js rel=prefetch><link href=js/chunk-429a3986.b423f1a1.js rel=prefetch><link href=js/chunk-604da622.015574bb.js rel=prefetch><link href=js/chunk-63cd2773.7c931d9c.js rel=prefetch><link href=js/chunk-666544b4.bb49f625.js rel=prefetch><link href=js/chunk-672b9464.f64f41b7.js rel=prefetch><link href=js/chunk-753346ba.18034c91.js rel=prefetch><link href=js/chunk-76f8f268.10476fbc.js rel=prefetch><link href=js/chunk-7dc8c2b3.1edf6c75.js rel=prefetch><link href=js/chunk-7ea1f4c1.fd6c8daa.js rel=prefetch><link href=js/chunk-8c4ab320.bb7d43be.js rel=prefetch><link href=js/chunk-8e8a2f30.ddd4f558.js rel=prefetch><link href=js/chunk-998becb6.49b55d91.js rel=prefetch><link href=js/chunk-b168be3a.add3e8ed.js rel=prefetch><link href=js/chunk-b2e2b802.bec5c404.js rel=prefetch><link href=js/chunk-ddcd4406.ffb36fff.js rel=prefetch><link href=js/chunk-de2234c0.61f9ea75.js rel=prefetch><link href=js/chunk-f424bd76.80568434.js rel=prefetch><link href=css/app.dc6afa5f.css rel=preload as=style><link href=css/chunk-vendors.635bc84a.css rel=preload as=style><link href=js/app.897c8e29.js rel=preload as=script><link href=js/chunk-vendors.4646af85.js rel=preload as=script><link href=css/chunk-vendors.635bc84a.css rel=stylesheet><link href=css/app.dc6afa5f.css rel=stylesheet></head><body class=damolish><noscript><strong>We're sorry but damolish doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id=app></div><script src=//web-1251519181.file.myqcloud.com/lib-4.0/vue/2.6.10/vue.min.js></script><script src=//web-1251519181.file.myqcloud.com/lib-4.0/vuex/3.0.1/vuex.js></script><script src=//web-1251519181.file.myqcloud.com/lib-4.0/axios/0.19.0/axios.min.js></script><script src=//web-1251519181.file.myqcloud.com/components/pagination.1.0.8.js></script><script src=//web-1251519181.file.myqcloud.com/components/perm-button.1.0.0.js></script><script src=js/chunk-vendors.4646af85.js></script><script src=js/app.897c8e29.js></script></body></html>
\ No newline at end of file
<!DOCTYPE html><html lang=cn><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><meta name=viewport content="width=device-width,initial-scale=1"><link rel=icon href=favicon.ico><link rel=stylesheet type=text/css href=//web-1251519181.file.myqcloud.com/custom-element/custom-element.1.0.44.css><link rel=stylesheet type=text/css href=static/fonts/iconfont.css><title>好办</title><link href=css/chunk-056d2763.3ce9c4ac.css rel=prefetch><link href=css/chunk-088075fe.85747dd1.css rel=prefetch><link href=css/chunk-08caf83f.90a90189.css rel=prefetch><link href=css/chunk-09469871.0d5615a8.css rel=prefetch><link href=css/chunk-0b606e56.e2d9bedf.css rel=prefetch><link href=css/chunk-16a8dcde.2a3bfb87.css rel=prefetch><link href=css/chunk-19db1fc6.ba890a33.css rel=prefetch><link href=css/chunk-1b93a01a.01549a8d.css rel=prefetch><link href=css/chunk-1d258c3c.6cf7c149.css rel=prefetch><link href=css/chunk-2798c70e.c68e8777.css rel=prefetch><link href=css/chunk-3614f1eb.7f2fa781.css rel=prefetch><link href=css/chunk-429a3986.0608ee5b.css rel=prefetch><link href=css/chunk-604da622.c1e9b3ff.css rel=prefetch><link href=css/chunk-63cd2773.5fbdcef6.css rel=prefetch><link href=css/chunk-666544b4.bee76fa9.css rel=prefetch><link href=css/chunk-672b9464.0543d323.css rel=prefetch><link href=css/chunk-713b997e.d731c8a7.css rel=prefetch><link href=css/chunk-753346ba.c468c061.css rel=prefetch><link href=css/chunk-76f8f268.22f587ad.css rel=prefetch><link href=css/chunk-7dc8c2b3.943c31ad.css rel=prefetch><link href=css/chunk-7ea1f4c1.2edbc58c.css rel=prefetch><link href=css/chunk-8c4ab320.aa69d1c8.css rel=prefetch><link href=css/chunk-8e8a2f30.6b267902.css rel=prefetch><link href=css/chunk-998becb6.20cf710c.css rel=prefetch><link href=css/chunk-b168be3a.2870bdd9.css rel=prefetch><link href=css/chunk-ddcd4406.8a6b709f.css rel=prefetch><link href=css/chunk-de2234c0.cfd35ff6.css rel=prefetch><link href=css/chunk-f424bd76.b437b2a0.css rel=prefetch><link href=js/chunk-056d2763.7dbda16a.js rel=prefetch><link href=js/chunk-088075fe.07dadc4b.js rel=prefetch><link href=js/chunk-08caf83f.90081f64.js rel=prefetch><link href=js/chunk-09469871.6447b088.js rel=prefetch><link href=js/chunk-0b606e56.fe02cbc2.js rel=prefetch><link href=js/chunk-16a8dcde.422b0989.js rel=prefetch><link href=js/chunk-19db1fc6.10fbf935.js rel=prefetch><link href=js/chunk-1b93a01a.19b25334.js rel=prefetch><link href=js/chunk-1d258c3c.996577af.js rel=prefetch><link href=js/chunk-2798c70e.2081f8b5.js rel=prefetch><link href=js/chunk-3614f1eb.baca650f.js rel=prefetch><link href=js/chunk-429a3986.b423f1a1.js rel=prefetch><link href=js/chunk-604da622.015574bb.js rel=prefetch><link href=js/chunk-63cd2773.7c931d9c.js rel=prefetch><link href=js/chunk-666544b4.bb49f625.js rel=prefetch><link href=js/chunk-672b9464.f64f41b7.js rel=prefetch><link href=js/chunk-713b997e.74dcdcb5.js rel=prefetch><link href=js/chunk-753346ba.18034c91.js rel=prefetch><link href=js/chunk-76f8f268.10476fbc.js rel=prefetch><link href=js/chunk-7dc8c2b3.1edf6c75.js rel=prefetch><link href=js/chunk-7ea1f4c1.fd6c8daa.js rel=prefetch><link href=js/chunk-8c4ab320.bb7d43be.js rel=prefetch><link href=js/chunk-8e8a2f30.ddd4f558.js rel=prefetch><link href=js/chunk-998becb6.49b55d91.js rel=prefetch><link href=js/chunk-b168be3a.add3e8ed.js rel=prefetch><link href=js/chunk-ddcd4406.ffb36fff.js rel=prefetch><link href=js/chunk-de2234c0.61f9ea75.js rel=prefetch><link href=js/chunk-f424bd76.80568434.js rel=prefetch><link href=css/app.dc6afa5f.css rel=preload as=style><link href=css/chunk-vendors.635bc84a.css rel=preload as=style><link href=js/app.a589f4d7.js rel=preload as=script><link href=js/chunk-vendors.4646af85.js rel=preload as=script><link href=css/chunk-vendors.635bc84a.css rel=stylesheet><link href=css/app.dc6afa5f.css rel=stylesheet></head><body class=damolish><noscript><strong>We're sorry but damolish doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id=app></div><script src=//web-1251519181.file.myqcloud.com/lib-4.0/vue/2.6.10/vue.min.js></script><script src=//web-1251519181.file.myqcloud.com/lib-4.0/vuex/3.0.1/vuex.js></script><script src=//web-1251519181.file.myqcloud.com/lib-4.0/axios/0.19.0/axios.min.js></script><script src=//web-1251519181.file.myqcloud.com/components/pagination.1.0.8.js></script><script src=//web-1251519181.file.myqcloud.com/components/perm-button.1.0.0.js></script><script src=js/chunk-vendors.4646af85.js></script><script src=js/app.a589f4d7.js></script></body></html>
\ No newline at end of file
(function(e){function n(n){for(var r,c,u=n[0],i=n[1],s=n[2],f=0,d=[];f<u.length;f++)c=u[f],Object.prototype.hasOwnProperty.call(a,c)&&a[c]&&d.push(a[c][0]),a[c]=0;for(r in i)Object.prototype.hasOwnProperty.call(i,r)&&(e[r]=i[r]);h&&h(n);while(d.length)d.shift()();return o.push.apply(o,s||[]),t()}function t(){for(var e,n=0;n<o.length;n++){for(var t=o[n],r=!0,c=1;c<t.length;c++){var u=t[c];0!==a[u]&&(r=!1)}r&&(o.splice(n--,1),e=i(i.s=t[0]))}return e}var r={},c={app:0},a={app:0},o=[];function u(e){return i.p+"js/"+({}[e]||e)+"."+{"chunk-088075fe":"07dadc4b","chunk-08caf83f":"90081f64","chunk-7dc8c2b3":"1edf6c75","chunk-de2234c0":"61f9ea75","chunk-09469871":"6447b088","chunk-0b606e56":"fe02cbc2","chunk-16a8dcde":"422b0989","chunk-19db1fc6":"10fbf935","chunk-1b93a01a":"19b25334","chunk-1d258c3c":"996577af","chunk-2798c70e":"2081f8b5","chunk-3614f1eb":"baca650f","chunk-056d2763":"7dbda16a","chunk-b2e2b802":"bec5c404","chunk-429a3986":"b423f1a1","chunk-604da622":"015574bb","chunk-63cd2773":"7c931d9c","chunk-666544b4":"bb49f625","chunk-672b9464":"f64f41b7","chunk-753346ba":"18034c91","chunk-76f8f268":"10476fbc","chunk-7ea1f4c1":"fd6c8daa","chunk-8c4ab320":"bb7d43be","chunk-8e8a2f30":"ddd4f558","chunk-998becb6":"49b55d91","chunk-b168be3a":"add3e8ed","chunk-ddcd4406":"ffb36fff","chunk-f424bd76":"80568434"}[e]+".js"}function i(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,i),t.l=!0,t.exports}i.e=function(e){var n=[],t={"chunk-088075fe":1,"chunk-08caf83f":1,"chunk-7dc8c2b3":1,"chunk-de2234c0":1,"chunk-09469871":1,"chunk-0b606e56":1,"chunk-16a8dcde":1,"chunk-19db1fc6":1,"chunk-1b93a01a":1,"chunk-1d258c3c":1,"chunk-2798c70e":1,"chunk-3614f1eb":1,"chunk-056d2763":1,"chunk-b2e2b802":1,"chunk-429a3986":1,"chunk-604da622":1,"chunk-63cd2773":1,"chunk-666544b4":1,"chunk-672b9464":1,"chunk-753346ba":1,"chunk-76f8f268":1,"chunk-7ea1f4c1":1,"chunk-8c4ab320":1,"chunk-8e8a2f30":1,"chunk-998becb6":1,"chunk-b168be3a":1,"chunk-ddcd4406":1,"chunk-f424bd76":1};c[e]?n.push(c[e]):0!==c[e]&&t[e]&&n.push(c[e]=new Promise((function(n,t){for(var r="css/"+({}[e]||e)+"."+{"chunk-088075fe":"85747dd1","chunk-08caf83f":"90a90189","chunk-7dc8c2b3":"943c31ad","chunk-de2234c0":"cfd35ff6","chunk-09469871":"0d5615a8","chunk-0b606e56":"e2d9bedf","chunk-16a8dcde":"2a3bfb87","chunk-19db1fc6":"ba890a33","chunk-1b93a01a":"01549a8d","chunk-1d258c3c":"6cf7c149","chunk-2798c70e":"c68e8777","chunk-3614f1eb":"7f2fa781","chunk-056d2763":"3ce9c4ac","chunk-b2e2b802":"c64ee928","chunk-429a3986":"0608ee5b","chunk-604da622":"c1e9b3ff","chunk-63cd2773":"5fbdcef6","chunk-666544b4":"bee76fa9","chunk-672b9464":"0543d323","chunk-753346ba":"c468c061","chunk-76f8f268":"22f587ad","chunk-7ea1f4c1":"2edbc58c","chunk-8c4ab320":"aa69d1c8","chunk-8e8a2f30":"6b267902","chunk-998becb6":"20cf710c","chunk-b168be3a":"2870bdd9","chunk-ddcd4406":"8a6b709f","chunk-f424bd76":"b437b2a0"}[e]+".css",a=i.p+r,o=document.getElementsByTagName("link"),u=0;u<o.length;u++){var s=o[u],f=s.getAttribute("data-href")||s.getAttribute("href");if("stylesheet"===s.rel&&(f===r||f===a))return n()}var d=document.getElementsByTagName("style");for(u=0;u<d.length;u++){s=d[u],f=s.getAttribute("data-href");if(f===r||f===a)return n()}var h=document.createElement("link");h.rel="stylesheet",h.type="text/css",h.onload=n,h.onerror=function(n){var r=n&&n.target&&n.target.src||a,o=new Error("Loading CSS chunk "+e+" failed.\n("+r+")");o.code="CSS_CHUNK_LOAD_FAILED",o.request=r,delete c[e],h.parentNode.removeChild(h),t(o)},h.href=a;var b=document.getElementsByTagName("head")[0];b.appendChild(h)})).then((function(){c[e]=0})));var r=a[e];if(0!==r)if(r)n.push(r[2]);else{var o=new Promise((function(n,t){r=a[e]=[n,t]}));n.push(r[2]=o);var s,f=document.createElement("script");f.charset="utf-8",f.timeout=120,i.nc&&f.setAttribute("nonce",i.nc),f.src=u(e);var d=new Error;s=function(n){f.onerror=f.onload=null,clearTimeout(h);var t=a[e];if(0!==t){if(t){var r=n&&("load"===n.type?"missing":n.type),c=n&&n.target&&n.target.src;d.message="Loading chunk "+e+" failed.\n("+r+": "+c+")",d.name="ChunkLoadError",d.type=r,d.request=c,t[1](d)}a[e]=void 0}};var h=setTimeout((function(){s({type:"timeout",target:f})}),12e4);f.onerror=f.onload=s,document.head.appendChild(f)}return Promise.all(n)},i.m=e,i.c=r,i.d=function(e,n,t){i.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:t})},i.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,n){if(1&n&&(e=i(e)),8&n)return e;if(4&n&&"object"===typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(i.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var r in e)i.d(t,r,function(n){return e[n]}.bind(null,r));return t},i.n=function(e){var n=e&&e.__esModule?function(){return e["default"]}:function(){return e};return i.d(n,"a",n),n},i.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},i.p="",i.oe=function(e){throw e};var s=window["webpackJsonp"]=window["webpackJsonp"]||[],f=s.push.bind(s);s.push=n,s=s.slice();for(var d=0;d<s.length;d++)n(s[d]);var h=f;o.push([0,"chunk-vendors"]),t()})({0:function(e,n,t){t("db4d"),e.exports=t("56d7")},"1a5d":function(e,n,t){var r={"./business/audit-log.vue":["0912","chunk-1d258c3c"],"./business/auth-merchant.vue":["56b3","chunk-088075fe"],"./business/contacts.vue":["a269","chunk-76f8f268"],"./business/index.vue":["50c8","chunk-666544b4"],"./business/new-auth-merchant.vue":["62a7","chunk-3614f1eb","chunk-b2e2b802"],"./business/sync-log.vue":["b155","chunk-604da622"],"./enterprise/admin-list.vue":["db80","chunk-b168be3a"],"./enterprise/admin-list/role-list.vue":["0082","chunk-ddcd4406"],"./enterprise/edit-admin.vue":["7dc6","chunk-3614f1eb","chunk-056d2763"],"./enterprise/edit-role.vue":["2249","chunk-8e8a2f30"],"./enterprise/edit-role/menu-tree.vue":["a088","chunk-2798c70e"],"./enterprise/edit-store-role.vue":["a960","chunk-8c4ab320"],"./enterprise/enterprise-set.vue":["b735","chunk-429a3986"],"./enterprise/index.vue":["ea02","chunk-08caf83f","chunk-de2234c0"],"./enterprise/store-admin-list.vue":["2058","chunk-998becb6"],"./enterprise/super-admin.vue":["9b74","chunk-f424bd76"],"./errorPage/403.vue":["da34","chunk-16a8dcde"],"./errorPage/404.vue":["fde5","chunk-63cd2773"],"./errorPage/500.vue":["8e0b","chunk-19db1fc6"],"./errorPage/gic-error.vue":["4be5","chunk-7ea1f4c1"],"./errorPage/index.vue":["2f3e","chunk-1b93a01a"],"./index/index.vue":["37f9","chunk-0b606e56"],"./login/index.vue":["9ed6","chunk-09469871"],"./reviewCenter/index.vue":["0c85","chunk-08caf83f","chunk-7dc8c2b3"],"./reviewCenter/reviewed.vue":["c6f4","chunk-753346ba"],"./reviewCenter/unreview.vue":["ab25","chunk-672b9464"]};function c(e){if(!t.o(r,e))return Promise.resolve().then((function(){var n=new Error("Cannot find module '"+e+"'");throw n.code="MODULE_NOT_FOUND",n}));var n=r[e],c=n[0];return Promise.all(n.slice(1).map(t.e)).then((function(){return t(c)}))}c.keys=function(){return Object.keys(r)},c.id="1a5d",e.exports=c},"4f94":function(e,n,t){},"56d7":function(e,n,t){"use strict";t.r(n);t("456d"),t("ac6a"),t("cadf"),t("551c"),t("f751"),t("097d"),t("db4d"),t("0fae"),t("4f94"),t("d31c");var r=t("8bbf"),c=t.n(r),a=t("8c4f"),o=t("cebe"),u=t.n(o),i=t("5c96"),s=t.n(i),f=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("div",{staticClass:"dm-reset",attrs:{id:"app"}},[t("router-view")],1)},d=[],h={name:"App"},b=h,p=t("2877"),l=Object(p["a"])(b,f,d,!1,null,null,null),m=l.exports,g=t("e2b2"),k=t.n(g),v=function(e){t.e("chunk-1b93a01a").then(t.bind(null,"2f3e")).then((function(n){e(n)}))},w=[{path:"/",name:"/",redirect:"login"},{path:"/login",name:"登录",component:k()("login","index")},{path:"/index",name:"index",component:k()("index","index")},{path:"/contacts",name:"通讯录",redirect:"contactsList",component:k()("business","index"),children:[{path:"/contactsList",name:"通讯录",component:k()("business","contacts")},{path:"/syncLog",name:"通讯录日志",component:k()("business","sync-log")},{path:"/authMerchant",name:"授权商户",component:k()("business","auth-merchant")},{path:"/newAuthMerchant",name:"新增授权",component:k()("business","new-auth-merchant")},{path:"/auditLog",name:"审核日志",component:k()("business","audit-log")}]},{path:"/reviewCenter",name:"审核中心",redirect:"unreview",component:k()("reviewCenter","index"),children:[{path:"/reviewed",name:"已审核",component:k()("reviewCenter","reviewed")},{path:"/unreview",name:"未审核",component:k()("reviewCenter","unreview")}]},{path:"/enterprise",name:"企业设置",redirect:"enterpriseSet",component:k()("enterprise","index"),children:[{path:"/enterpriseSet",name:"企业信息",component:k()("enterprise","enterprise-set")},{path:"/admin-list",name:"管理员",component:k()("enterprise","admin-list")},{path:"/edit-role",name:"新建、编辑角色",component:k()("enterprise","edit-role")},{path:"/edit-admin",name:"新建编辑管理员",component:k()("enterprise","edit-admin")},{path:"/store-admin-list",name:"门店角色",component:k()("enterprise","store-admin-list")},{path:"/edit-store-role",name:"编辑门店角色",component:k()("enterprise","edit-store-role")},{path:"/superAdmin",name:"超级管理员",component:k()("enterprise","super-admin")}]},{path:"/gic-error",name:"gic跳转失败页",component:k()("errorPage","gic-error")},{path:"/403",name:"无权访问",component:v},{path:"/404",name:"error404",component:v},{path:"/500",name:"error500",component:v},{path:"*",redirect:"/404",hidden:!0}],y=a["a"].prototype.push;a["a"].prototype.push=function(e){return y.call(this,e).catch((function(e){return e}))};var x=new a["a"]({routes:w}),M=x,S=(t("c5f6"),t("3b2b"),t("a481"),t("6b54"),function(e,n){if(e){e=10===e.toString().length?1e3*e:e;var t=new Date(e),r={"M+":t.getMonth()+1,"D+":t.getDate(),W:"日一二三四五六".charAt(t.getDay()),"h+":t.getHours(),"m+":t.getMinutes(),"s+":t.getSeconds(),"q+":Math.floor((t.getMonth()+3)/3),S:t.getMilliseconds()};for(var c in/(Y+)/.test(n)&&(n=n.replace(RegExp.$1,(t.getFullYear()+"").substr(4-RegExp.$1.length))),r)new RegExp("("+c+")").test(n)&&(n=n.replace(RegExp.$1,1===RegExp.$1.length?r[c]:("00"+r[c]).substr((""+r[c]).length)));return n}}),O=function(e){if(e){var n=new Date(e),t=n.getMonth()+1,r=n.getDate()<10?"0"+n.getDate():n.getDate(),c=t<10?"0"+t:t,a=n.getHours()<10?"0"+n.getHours():n.getHours(),o=n.getMinutes()<10?"0"+n.getMinutes():n.getMinutes(),u=n.getSeconds()<10?"0"+n.getSeconds():n.getSeconds();return"".concat(n.getFullYear(),"-").concat(c,"-").concat(r," ").concat(a,":").concat(o,":").concat(u)}},D=function(e){if(e){var n=new Date(e),t=n.getMonth()+1,r=n.getDate()<10?"0"+n.getDate():n.getDate(),c=t<10?"0"+t:t,a=n.getHours()<10?"0"+n.getHours():n.getHours(),o=n.getMinutes()<10?"0"+n.getMinutes():n.getMinutes(),u=n.getSeconds()<10?"0"+n.getSeconds():n.getSeconds();return"".concat(n.getFullYear(),".").concat(c,".").concat(r," ").concat(a,":").concat(o,":").concat(u)}},j=function(e){if(e){var n=new Date(e),t=n.getMonth()+1,r=t<10?"0"+t:t;return"".concat(n.getFullYear(),"-").concat(r)}},A=function(e){if(e){var n=new Date(e),t=n.getMonth()+1,r=n.getDate()<10?"0"+n.getDate():n.getDate(),c=t<10?"0"+t:t;return"".concat(n.getFullYear(),"-").concat(c,"-").concat(r)}},E=function(e){if(e){var n=new Date(e),t=n.getHours()<10?"0"+n.getHours():n.getHours(),r=n.getMinutes()<10?"0"+n.getMinutes():n.getMinutes(),c=n.getSeconds()<10?"0"+n.getSeconds():n.getSeconds();return"".concat(t,":").concat(r,":").concat(c)}},P=function(e){if(e){var n=new Date,t=new Date(Number(e)).getTime()-n.getTime();if(t<0)return"";var r=Math.floor(t/864e5),c=t%864e5,a=Math.floor(c/36e5),o=c%36e5,u=Math.floor(o/6e4);return"".concat(r,"天").concat(a,"小时").concat(u,"分")}},C=function(e){return e?(e=e.toString(),e.substr(0,3)+"****"+e.substr(7,11)):""},T=function(e){return e?(e=e.toString(),"**"+e.substr(e.length-1,e.length)):""},H=function(e){return e?(e=e.toString(),e.length>6?e.substr(0,5)+"...":e):""},L=function(e){if(!e)return"00:00:00";var n=e/1e3,t=Math.floor(n/60/60/24),r=24*t+Math.floor(n/60/60)%24<10?"0"+(24*t+Math.floor(n/60/60)%24):24*t+Math.floor(n/60/60)%24,c=Math.floor(n/60)%60<10?"0"+Math.floor(n/60)%60:Math.floor(n/60)%60,a=Math.floor(n)%60<10?"0"+Math.floor(n)%60:Math.floor(n)%60;return"".concat(r,":").concat(c,":").concat(a)},_={dateFormat:S,formatTimeStamp:O,timeStampToYm:j,timeStampToYmd:A,timeStampToHms:E,formatTimeYmdHms:D,formatPhoneNum:C,formatName:T,timeStampSpace:P,formatTime:L,formatWord:H},F=(t("96cf"),t("1da1")),N=(t("5df3"),t("b775")),R=t("f121"),Y=[],$=[],U={};function q(){var e=Object(N["a"])({url:"/hb-manage-web/list-staff-role-menu"}).then((function(e){$=B(e.result||[])})),n=Object(N["a"])({url:"/hb-manage-web/list-staff-role-opeation"}).then((function(e){U=I(e.result||[])}));return Promise.all([e,n])}function B(e){var n=[];return e.forEach((function(e){e.menuUrl&&n.push(e.menuUrl),Array.isArray(e.children)&&(n=n.concat(B(e.children)))})),n}function I(e){var n={};return e.forEach((function(e){n[e.menuCode]=!0})),n}function J(e){var n=[];return e.forEach((function(e){Array.isArray(e.children)&&(n=n.concat(J(e.children))),n.push(e.path)})),n}function W(e,n,t){var r=$.some((function(n){return n.indexOf("/#")>=0?n=="/#".concat(e.path):n==e.path}));if(r)return t();Y.some((function(n){return n==e.path}))||0==$.length?(window.location.href="".concat(R["c"],"/haoban-4/#/gic-error"),window.location.reload()):t($[0])}function K(e){return!!U[e]}var V=function(e){var n=e.whiteRoute,t=e.router,r=e.routes,c=e.createApp;window.onload=Object(F["a"])(regeneratorRuntime.mark((function e(){var a;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(a=window.location.href,-1!=a.indexOf("/login")||-1!=a.indexOf("/gic-error")){e.next=4;break}return e.next=4,q();case 4:Array.isArray(n)&&($=$.concat(n)),Array.isArray(r)&&(Y=J(r)),t.beforeEach(W),"function"==typeof c&&c();case 8:case"end":return e.stop()}}),e)})))};c.a.use(a["a"]),c.a.use(s.a),u.a.defaults.withCredentials=!0,c.a.prototype.axios=u.a,c.a.prototype.$itemPerm=K,c.a.prototype.$itemCode=R["a"],c.a.config.devtools=!1,c.a.config.productionTip=!1,Object.keys(_).forEach((function(e){c.a.filter(e,_[e])})),V({whiteRoute:["/login","/contactsList","/gic-error","/403","/404","/500"],router:M,routes:w,createApp:function(){new c.a({router:M,render:function(e){return e(m)}}).$mount("#app")}})},"8bbf":function(e,n){e.exports=Vue},b775:function(e,n,t){"use strict";t.d(n,"a",(function(){return s}));var r=t("cebe"),c=t.n(r),a=t("4328"),o=t.n(a),u=t("5c96"),i=t("f121");c.a.defaults.baseURL=i["c"],c.a.defaults.withCredentials=!0;var s=function(e,n){n=Object.assign({},n),e=Object.assign({},e);var t={url:"",params:"",data:"",method:"get",useFormData:!1,useIntercept:!0,headers:{}};switch(t=Object.assign(t,e),t.useFormData&&(n=o.a.stringify(n)),t.method.toLowerCase()){case"get":t.params=n;break;case"post":t.data=n;break;default:t.data=n;break}return new Promise((function(e,n){c()(t).then((function(r){var c=r.data;if(c.code!=i["b"])return t.useIntercept&&c.code!=i["d"]?(Object(u["Message"])({message:c.message||"未知错误",type:"warning"}),n(c)):void e(c);window.location.href="".concat(i["c"],"/haoban-4/#/login")})).catch((function(e){var t=e.response||{},r=t.data||{};Object(u["Message"])({message:r.message||"未知错误",type:"warning"}),n(e)}))}))}},cebe:function(e,n){e.exports=axios},d31c:function(e,n,t){},e2b2:function(e,n,t){e.exports=function(e,n){return function(r){t("1a5d")("./"+e+"/"+n+".vue").then((function(e){r(e)}))}}},f121:function(e,n,t){"use strict";function r(){var e=window.location.origin;return(e.indexOf("localhost")>=0||e.indexOf("192.168")>=0)&&(e="https://four.gicdev.com"),e}t.d(n,"c",(function(){return c})),t.d(n,"d",(function(){return a})),t.d(n,"b",(function(){return o})),t.d(n,"a",(function(){return u}));var c=r(),a="0000",o="0003",u={batchAudit:"batchAudit"}}});
\ No newline at end of file
(function(e){function n(n){for(var r,c,u=n[0],i=n[1],s=n[2],d=0,f=[];d<u.length;d++)c=u[d],Object.prototype.hasOwnProperty.call(a,c)&&a[c]&&f.push(a[c][0]),a[c]=0;for(r in i)Object.prototype.hasOwnProperty.call(i,r)&&(e[r]=i[r]);h&&h(n);while(f.length)f.shift()();return o.push.apply(o,s||[]),t()}function t(){for(var e,n=0;n<o.length;n++){for(var t=o[n],r=!0,c=1;c<t.length;c++){var u=t[c];0!==a[u]&&(r=!1)}r&&(o.splice(n--,1),e=i(i.s=t[0]))}return e}var r={},c={app:0},a={app:0},o=[];function u(e){return i.p+"js/"+({}[e]||e)+"."+{"chunk-088075fe":"07dadc4b","chunk-08caf83f":"90081f64","chunk-7dc8c2b3":"1edf6c75","chunk-de2234c0":"61f9ea75","chunk-09469871":"6447b088","chunk-0b606e56":"fe02cbc2","chunk-16a8dcde":"422b0989","chunk-19db1fc6":"10fbf935","chunk-1b93a01a":"19b25334","chunk-1d258c3c":"996577af","chunk-2798c70e":"2081f8b5","chunk-3614f1eb":"baca650f","chunk-056d2763":"7dbda16a","chunk-713b997e":"74dcdcb5","chunk-429a3986":"b423f1a1","chunk-604da622":"015574bb","chunk-63cd2773":"7c931d9c","chunk-666544b4":"bb49f625","chunk-672b9464":"f64f41b7","chunk-753346ba":"18034c91","chunk-76f8f268":"10476fbc","chunk-7ea1f4c1":"fd6c8daa","chunk-8c4ab320":"bb7d43be","chunk-8e8a2f30":"ddd4f558","chunk-998becb6":"49b55d91","chunk-b168be3a":"add3e8ed","chunk-ddcd4406":"ffb36fff","chunk-f424bd76":"80568434"}[e]+".js"}function i(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,i),t.l=!0,t.exports}i.e=function(e){var n=[],t={"chunk-088075fe":1,"chunk-08caf83f":1,"chunk-7dc8c2b3":1,"chunk-de2234c0":1,"chunk-09469871":1,"chunk-0b606e56":1,"chunk-16a8dcde":1,"chunk-19db1fc6":1,"chunk-1b93a01a":1,"chunk-1d258c3c":1,"chunk-2798c70e":1,"chunk-3614f1eb":1,"chunk-056d2763":1,"chunk-713b997e":1,"chunk-429a3986":1,"chunk-604da622":1,"chunk-63cd2773":1,"chunk-666544b4":1,"chunk-672b9464":1,"chunk-753346ba":1,"chunk-76f8f268":1,"chunk-7ea1f4c1":1,"chunk-8c4ab320":1,"chunk-8e8a2f30":1,"chunk-998becb6":1,"chunk-b168be3a":1,"chunk-ddcd4406":1,"chunk-f424bd76":1};c[e]?n.push(c[e]):0!==c[e]&&t[e]&&n.push(c[e]=new Promise((function(n,t){for(var r="css/"+({}[e]||e)+"."+{"chunk-088075fe":"85747dd1","chunk-08caf83f":"90a90189","chunk-7dc8c2b3":"943c31ad","chunk-de2234c0":"cfd35ff6","chunk-09469871":"0d5615a8","chunk-0b606e56":"e2d9bedf","chunk-16a8dcde":"2a3bfb87","chunk-19db1fc6":"ba890a33","chunk-1b93a01a":"01549a8d","chunk-1d258c3c":"6cf7c149","chunk-2798c70e":"c68e8777","chunk-3614f1eb":"7f2fa781","chunk-056d2763":"3ce9c4ac","chunk-713b997e":"d731c8a7","chunk-429a3986":"0608ee5b","chunk-604da622":"c1e9b3ff","chunk-63cd2773":"5fbdcef6","chunk-666544b4":"bee76fa9","chunk-672b9464":"0543d323","chunk-753346ba":"c468c061","chunk-76f8f268":"22f587ad","chunk-7ea1f4c1":"2edbc58c","chunk-8c4ab320":"aa69d1c8","chunk-8e8a2f30":"6b267902","chunk-998becb6":"20cf710c","chunk-b168be3a":"2870bdd9","chunk-ddcd4406":"8a6b709f","chunk-f424bd76":"b437b2a0"}[e]+".css",a=i.p+r,o=document.getElementsByTagName("link"),u=0;u<o.length;u++){var s=o[u],d=s.getAttribute("data-href")||s.getAttribute("href");if("stylesheet"===s.rel&&(d===r||d===a))return n()}var f=document.getElementsByTagName("style");for(u=0;u<f.length;u++){s=f[u],d=s.getAttribute("data-href");if(d===r||d===a)return n()}var h=document.createElement("link");h.rel="stylesheet",h.type="text/css",h.onload=n,h.onerror=function(n){var r=n&&n.target&&n.target.src||a,o=new Error("Loading CSS chunk "+e+" failed.\n("+r+")");o.code="CSS_CHUNK_LOAD_FAILED",o.request=r,delete c[e],h.parentNode.removeChild(h),t(o)},h.href=a;var p=document.getElementsByTagName("head")[0];p.appendChild(h)})).then((function(){c[e]=0})));var r=a[e];if(0!==r)if(r)n.push(r[2]);else{var o=new Promise((function(n,t){r=a[e]=[n,t]}));n.push(r[2]=o);var s,d=document.createElement("script");d.charset="utf-8",d.timeout=120,i.nc&&d.setAttribute("nonce",i.nc),d.src=u(e);var f=new Error;s=function(n){d.onerror=d.onload=null,clearTimeout(h);var t=a[e];if(0!==t){if(t){var r=n&&("load"===n.type?"missing":n.type),c=n&&n.target&&n.target.src;f.message="Loading chunk "+e+" failed.\n("+r+": "+c+")",f.name="ChunkLoadError",f.type=r,f.request=c,t[1](f)}a[e]=void 0}};var h=setTimeout((function(){s({type:"timeout",target:d})}),12e4);d.onerror=d.onload=s,document.head.appendChild(d)}return Promise.all(n)},i.m=e,i.c=r,i.d=function(e,n,t){i.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:t})},i.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,n){if(1&n&&(e=i(e)),8&n)return e;if(4&n&&"object"===typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(i.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var r in e)i.d(t,r,function(n){return e[n]}.bind(null,r));return t},i.n=function(e){var n=e&&e.__esModule?function(){return e["default"]}:function(){return e};return i.d(n,"a",n),n},i.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},i.p="",i.oe=function(e){throw e};var s=window["webpackJsonp"]=window["webpackJsonp"]||[],d=s.push.bind(s);s.push=n,s=s.slice();for(var f=0;f<s.length;f++)n(s[f]);var h=d;o.push([0,"chunk-vendors"]),t()})({0:function(e,n,t){t("db4d"),e.exports=t("56d7")},"1a5d":function(e,n,t){var r={"./business/audit-log.vue":["0912","chunk-1d258c3c"],"./business/auth-merchant.vue":["56b3","chunk-088075fe"],"./business/contacts.vue":["a269","chunk-76f8f268"],"./business/index.vue":["50c8","chunk-666544b4"],"./business/new-auth-merchant.vue":["62a7","chunk-3614f1eb","chunk-713b997e"],"./business/sync-log.vue":["b155","chunk-604da622"],"./enterprise/admin-list.vue":["db80","chunk-b168be3a"],"./enterprise/admin-list/role-list.vue":["0082","chunk-ddcd4406"],"./enterprise/edit-admin.vue":["7dc6","chunk-3614f1eb","chunk-056d2763"],"./enterprise/edit-role.vue":["2249","chunk-8e8a2f30"],"./enterprise/edit-role/menu-tree.vue":["a088","chunk-2798c70e"],"./enterprise/edit-store-role.vue":["a960","chunk-8c4ab320"],"./enterprise/enterprise-set.vue":["b735","chunk-429a3986"],"./enterprise/index.vue":["ea02","chunk-08caf83f","chunk-de2234c0"],"./enterprise/store-admin-list.vue":["2058","chunk-998becb6"],"./enterprise/super-admin.vue":["9b74","chunk-f424bd76"],"./errorPage/403.vue":["da34","chunk-16a8dcde"],"./errorPage/404.vue":["fde5","chunk-63cd2773"],"./errorPage/500.vue":["8e0b","chunk-19db1fc6"],"./errorPage/gic-error.vue":["4be5","chunk-7ea1f4c1"],"./errorPage/index.vue":["2f3e","chunk-1b93a01a"],"./index/index.vue":["37f9","chunk-0b606e56"],"./login/index.vue":["9ed6","chunk-09469871"],"./reviewCenter/index.vue":["0c85","chunk-08caf83f","chunk-7dc8c2b3"],"./reviewCenter/reviewed.vue":["c6f4","chunk-753346ba"],"./reviewCenter/unreview.vue":["ab25","chunk-672b9464"]};function c(e){if(!t.o(r,e))return Promise.resolve().then((function(){var n=new Error("Cannot find module '"+e+"'");throw n.code="MODULE_NOT_FOUND",n}));var n=r[e],c=n[0];return Promise.all(n.slice(1).map(t.e)).then((function(){return t(c)}))}c.keys=function(){return Object.keys(r)},c.id="1a5d",e.exports=c},"4f94":function(e,n,t){},"56d7":function(e,n,t){"use strict";t.r(n);t("456d"),t("ac6a"),t("cadf"),t("551c"),t("f751"),t("097d"),t("db4d"),t("0fae"),t("4f94"),t("d31c");var r=t("8bbf"),c=t.n(r),a=t("8c4f"),o=t("cebe"),u=t.n(o),i=t("5c96"),s=t.n(i),d=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("div",{staticClass:"dm-reset",attrs:{id:"app"}},[t("router-view")],1)},f=[],h={name:"App"},p=h,b=t("2877"),l=Object(b["a"])(p,d,f,!1,null,null,null),m=l.exports,g=t("e2b2"),k=t.n(g),v=function(e){t.e("chunk-1b93a01a").then(t.bind(null,"2f3e")).then((function(n){e(n)}))},w=[{path:"/",name:"/",redirect:"login"},{path:"/login",name:"登录",component:k()("login","index")},{path:"/index",name:"index",component:k()("index","index")},{path:"/contacts",name:"通讯录",redirect:"contactsList",component:k()("business","index"),children:[{path:"/contactsList",name:"通讯录",component:k()("business","contacts")},{path:"/syncLog",name:"通讯录日志",component:k()("business","sync-log")},{path:"/authMerchant",name:"授权商户",component:k()("business","auth-merchant")},{path:"/newAuthMerchant",name:"新增授权",component:k()("business","new-auth-merchant")},{path:"/auditLog",name:"审核日志",component:k()("business","audit-log")}]},{path:"/reviewCenter",name:"审核中心",redirect:"unreview",component:k()("reviewCenter","index"),children:[{path:"/reviewed",name:"已审核",component:k()("reviewCenter","reviewed")},{path:"/unreview",name:"未审核",component:k()("reviewCenter","unreview")}]},{path:"/enterprise",name:"企业设置",redirect:"enterpriseSet",component:k()("enterprise","index"),children:[{path:"/enterpriseSet",name:"企业信息",component:k()("enterprise","enterprise-set")},{path:"/admin-list",name:"管理员",component:k()("enterprise","admin-list")},{path:"/edit-role",name:"新建、编辑角色",component:k()("enterprise","edit-role")},{path:"/edit-admin",name:"新建编辑管理员",component:k()("enterprise","edit-admin")},{path:"/store-admin-list",name:"门店角色",component:k()("enterprise","store-admin-list")},{path:"/edit-store-role",name:"编辑门店角色",component:k()("enterprise","edit-store-role")},{path:"/superAdmin",name:"超级管理员",component:k()("enterprise","super-admin")}]},{path:"/gic-error",name:"gic跳转失败页",component:k()("errorPage","gic-error")},{path:"/403",name:"无权访问",component:v},{path:"/404",name:"error404",component:v},{path:"/500",name:"error500",component:v},{path:"*",redirect:"/404",hidden:!0}],y=a["a"].prototype.push;a["a"].prototype.push=function(e){return y.call(this,e).catch((function(e){return e}))};var x=new a["a"]({routes:w}),M=x,S=(t("c5f6"),t("3b2b"),t("a481"),t("6b54"),function(e,n){if(e){e=10===e.toString().length?1e3*e:e;var t=new Date(e),r={"M+":t.getMonth()+1,"D+":t.getDate(),W:"日一二三四五六".charAt(t.getDay()),"h+":t.getHours(),"m+":t.getMinutes(),"s+":t.getSeconds(),"q+":Math.floor((t.getMonth()+3)/3),S:t.getMilliseconds()};for(var c in/(Y+)/.test(n)&&(n=n.replace(RegExp.$1,(t.getFullYear()+"").substr(4-RegExp.$1.length))),r)new RegExp("("+c+")").test(n)&&(n=n.replace(RegExp.$1,1===RegExp.$1.length?r[c]:("00"+r[c]).substr((""+r[c]).length)));return n}}),O=function(e){if(e){var n=new Date(e),t=n.getMonth()+1,r=n.getDate()<10?"0"+n.getDate():n.getDate(),c=t<10?"0"+t:t,a=n.getHours()<10?"0"+n.getHours():n.getHours(),o=n.getMinutes()<10?"0"+n.getMinutes():n.getMinutes(),u=n.getSeconds()<10?"0"+n.getSeconds():n.getSeconds();return"".concat(n.getFullYear(),"-").concat(c,"-").concat(r," ").concat(a,":").concat(o,":").concat(u)}},D=function(e){if(e){var n=new Date(e),t=n.getMonth()+1,r=n.getDate()<10?"0"+n.getDate():n.getDate(),c=t<10?"0"+t:t,a=n.getHours()<10?"0"+n.getHours():n.getHours(),o=n.getMinutes()<10?"0"+n.getMinutes():n.getMinutes(),u=n.getSeconds()<10?"0"+n.getSeconds():n.getSeconds();return"".concat(n.getFullYear(),".").concat(c,".").concat(r," ").concat(a,":").concat(o,":").concat(u)}},j=function(e){if(e){var n=new Date(e),t=n.getMonth()+1,r=t<10?"0"+t:t;return"".concat(n.getFullYear(),"-").concat(r)}},A=function(e){if(e){var n=new Date(e),t=n.getMonth()+1,r=n.getDate()<10?"0"+n.getDate():n.getDate(),c=t<10?"0"+t:t;return"".concat(n.getFullYear(),"-").concat(c,"-").concat(r)}},E=function(e){if(e){var n=new Date(e),t=n.getHours()<10?"0"+n.getHours():n.getHours(),r=n.getMinutes()<10?"0"+n.getMinutes():n.getMinutes(),c=n.getSeconds()<10?"0"+n.getSeconds():n.getSeconds();return"".concat(t,":").concat(r,":").concat(c)}},P=function(e){if(e){var n=new Date,t=new Date(Number(e)).getTime()-n.getTime();if(t<0)return"";var r=Math.floor(t/864e5),c=t%864e5,a=Math.floor(c/36e5),o=c%36e5,u=Math.floor(o/6e4);return"".concat(r,"天").concat(a,"小时").concat(u,"分")}},C=function(e){return e?(e=e.toString(),e.substr(0,3)+"****"+e.substr(7,11)):""},T=function(e){return e?(e=e.toString(),"**"+e.substr(e.length-1,e.length)):""},H=function(e){return e?(e=e.toString(),e.length>6?e.substr(0,5)+"...":e):""},L=function(e){if(!e)return"00:00:00";var n=e/1e3,t=Math.floor(n/60/60/24),r=24*t+Math.floor(n/60/60)%24<10?"0"+(24*t+Math.floor(n/60/60)%24):24*t+Math.floor(n/60/60)%24,c=Math.floor(n/60)%60<10?"0"+Math.floor(n/60)%60:Math.floor(n/60)%60,a=Math.floor(n)%60<10?"0"+Math.floor(n)%60:Math.floor(n)%60;return"".concat(r,":").concat(c,":").concat(a)},_={dateFormat:S,formatTimeStamp:O,timeStampToYm:j,timeStampToYmd:A,timeStampToHms:E,formatTimeYmdHms:D,formatPhoneNum:C,formatName:T,timeStampSpace:P,formatTime:L,formatWord:H},F=(t("96cf"),t("1da1")),N=(t("5df3"),t("b775")),R=t("f121"),Y=[],$=[],U={};function q(){var e=Object(N["a"])({url:"/hb-manage-web/list-staff-role-menu"}).then((function(e){$=B(e.result||[])})),n=Object(N["a"])({url:"/hb-manage-web/list-staff-role-opeation"}).then((function(e){U=I(e.result||[])}));return Promise.all([e,n])}function B(e){var n=[];return e.forEach((function(e){e.menuUrl&&n.push(e.menuUrl),Array.isArray(e.children)&&(n=n.concat(B(e.children)))})),n}function I(e){var n={};return e.forEach((function(e){n[e.menuCode]=!0})),n}function J(e){var n=[];return e.forEach((function(e){Array.isArray(e.children)&&(n=n.concat(J(e.children))),n.push(e.path)})),n}function W(e,n,t){var r=$.some((function(n){return n.indexOf("/#")>=0?n=="/#".concat(e.path):n==e.path}));if(r)return t();Y.some((function(n){return n==e.path}))||0==$.length?(window.location.href="".concat(R["c"],"/haoban-4/#/gic-error"),window.location.reload()):t($[0])}function K(e){return!!U[e]}var V=function(e){var n=e.whiteRoute,t=e.router,r=e.routes,c=e.createApp;window.onload=Object(F["a"])(regeneratorRuntime.mark((function e(){var a;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(a=window.location.href,-1!=a.indexOf("/login")||-1!=a.indexOf("/gic-error")){e.next=4;break}return e.next=4,q();case 4:Array.isArray(n)&&($=$.concat(n)),Array.isArray(r)&&(Y=J(r)),t.beforeEach(W),"function"==typeof c&&c();case 8:case"end":return e.stop()}}),e)})))};c.a.use(a["a"]),c.a.use(s.a),u.a.defaults.withCredentials=!0,c.a.prototype.axios=u.a,c.a.prototype.$itemPerm=K,c.a.prototype.$itemCode=R["a"],c.a.config.devtools=!1,c.a.config.productionTip=!1,Object.keys(_).forEach((function(e){c.a.filter(e,_[e])})),V({whiteRoute:["/login","/contactsList","/gic-error","/403","/404","/500"],router:M,routes:w,createApp:function(){new c.a({router:M,render:function(e){return e(m)}}).$mount("#app")}})},"8bbf":function(e,n){e.exports=Vue},b775:function(e,n,t){"use strict";t.d(n,"a",(function(){return s}));var r=t("cebe"),c=t.n(r),a=t("4328"),o=t.n(a),u=t("5c96"),i=t("f121");c.a.defaults.baseURL=i["c"],c.a.defaults.withCredentials=!0;var s=function(e,n){n=Object.assign({},n),e=Object.assign({},e);var t={url:"",params:"",data:"",method:"get",useFormData:!1,useIntercept:!0,headers:{}};switch(t=Object.assign(t,e),t.useFormData&&(n=o.a.stringify(n)),t.method.toLowerCase()){case"get":t.params=n;break;case"post":t.data=n;break;default:t.data=n;break}return new Promise((function(e,n){c()(t).then((function(r){var c=r.data;if(c.code!=i["b"])return t.useIntercept&&c.code!=i["d"]?(Object(u["Message"])({message:c.message||"未知错误",type:"warning"}),n(c)):void e(c);window.location.href="".concat(i["c"],"/haoban-4/#/login")})).catch((function(e){var t=e.response||{},r=t.data||{};Object(u["Message"])({message:r.message||"未知错误",type:"warning"}),n(e)}))}))}},cebe:function(e,n){e.exports=axios},d31c:function(e,n,t){},e2b2:function(e,n,t){e.exports=function(e,n){return function(r){t("1a5d")("./"+e+"/"+n+".vue").then((function(e){r(e)}))}}},f121:function(e,n,t){"use strict";function r(){var e=window.location.origin;return(e.indexOf("localhost")>=0||e.indexOf("192.168")>=0)&&(e="https://four.gicdev.com"),e}t.d(n,"c",(function(){return c})),t.d(n,"d",(function(){return a})),t.d(n,"b",(function(){return o})),t.d(n,"a",(function(){return u}));var c=r(),a="0000",o="0003",u={batchAudit:"batchAudit"}}});
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-713b997e"],{"05c9":function(t,e,a){"use strict";var n=a("24e5"),r=a.n(n);r.a},1448:function(t,e,a){"use strict";var n=a("a79b"),r=a.n(n);r.a},"1f7e":function(t,e,a){"use strict";var n=a("d0be"),r=a.n(n);r.a},"24e5":function(t,e,a){},2802:function(t,e,a){"use strict";a("4917");e["a"]={getByteLen:function(t){for(var e=""==t||null==t?"":t,a=0,n=0;n<e.length;n++){var r=e.charAt(n);null!=r.match(/[^\x00-\xff]/gi)?a+=2:a+=1}return a},getZhLen:function(t){for(var e=""==t||null==t?"":t,a=0,n=0;n<e.length;n++){var r=e.charAt(n);null!=r.match(/[^\x00-\xff]/gi)?a+=1:a+=.5}return Math.ceil(a)},cutStr:function(t,e,a){for(var n=0,r=0;r<t.length;r++){var i=t.charAt(r);if(1==a&&(encodeURI(i).length>2?n+=1:n+=.5),2==a&&(n+=1),n>=e){var s=n==e?r+1:r;return t.substr(0,s)}}},getByteVal:function(t,e){for(var a=""==t||null==t?"":t,n="",r=0,i=0;i<a.length;i++){if(null!=a[i].match(/[^\x00-\xff]/gi)?r+=1:r+=.5,r>e)break;n+=a[i]}return n},getCharVal:function(t,e){for(var a=""==t||null==t?"":t,n="",r=0,i=0;i<a.length;i++){if(null!=a[i].match(/[^\x00-\xff]/gi)?r+=2:r+=1,r>e)break;n+=a[i]}return n},regPos:function(t){var e=/^\d+(\.\d+)?$/;return e.test(t)}}},3904:function(t,e,a){},4917:function(t,e,a){"use strict";var n=a("cb7c"),r=a("9def"),i=a("0390"),s=a("5f1b");a("214f")("match",1,(function(t,e,a,o){return[function(a){var n=t(this),r=void 0==a?void 0:a[e];return void 0!==r?r.call(a,n):new RegExp(a)[e](String(n))},function(t){var e=o(a,t,this);if(e.done)return e.value;var c=n(t),u=String(this);if(!c.global)return s(c,u);var l=c.unicode;c.lastIndex=0;var m,d=[],h=0;while(null!==(m=s(c,u))){var p=String(m[0]);d[h]=p,""===p&&(c.lastIndex=i(u,r(c.lastIndex),l)),h++}return 0===h?null:d}]}))},"62a7":function(t,e,a){"use strict";a.r(e);var n=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}}),a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box",staticStyle:{"min-height":"calc(100vh - 104px)"}},[a("div",{staticClass:"apps-content flex",staticStyle:{"min-height":"calc(100vh - 104px)"}},[a("div",{staticClass:"apps-content-right"},[a("div",{staticClass:"new-auth-body"},[2!=t.activeStep?a("div",[a("auth-step",{attrs:{activeStep:t.activeStep}})],1):t._e(),0==t.activeStep?a("div",{staticClass:"auth-tip-body"},[a("auth-tip",{staticClass:"m-t-30"}),a("el-form",{ref:"authForm",staticClass:"dialog-form m-t-20",attrs:{model:t.authForm,rules:t.rules,"label-width":"100px"}},[a("el-form-item",{attrs:{label:"选择商户",prop:"enterpriseId"}},[a("el-autocomplete",{staticStyle:{width:"302px"},attrs:{disabled:!!t.$route.query.enterpriseId,placeholder:"请搜索选择商户","fetch-suggestions":t.querySearchAsync},on:{select:t.getAdmin},model:{value:t.authForm.enterpriseName,callback:function(e){t.$set(t.authForm,"enterpriseName",e)},expression:"authForm.enterpriseName"}},[a("template",{slot:"prepend"},[t._v("GIC4.0")])],2)],1),a("el-form-item",{attrs:{label:"门店绑定",prop:"bindRange"}},[a("div",{staticClass:"el-select store-item-content",on:{click:function(e){return t.showStore(1)}}},[0!=t.authForm.bindStoreMode?a("div",{staticClass:"el-select__tags"},[a("span",{staticStyle:{display:"block"}},[t._l(t.authForm.bindRange,(function(e,n){return[a("span",{key:n+"bind",staticClass:"el-tag el-tag--info el-tag--small"},[a("span",{staticClass:"el-select__tags-text"},[t._v(t._s(e.storeInfoName||e.storeGroupName))]),a("i",{staticClass:"el-tag__close el-icon-close",on:{click:function(e){return e.stopPropagation(),t.delStore(n,t.authForm.bindRange)}}})])]}))],2)]):t._e(),0==t.authForm.bindStoreMode&&""!==t.authForm.bindStoreMode?a("span",{staticClass:"p-l-10 font-14 color-909399"},[t._v("已选全部")]):t._e()])]),a("el-form-item",{attrs:{label:"门店共享",prop:"shareRange"}},[a("div",{staticClass:"el-select store-item-content",on:{click:function(e){return t.showStore(2)}}},[0!=t.authForm.shareStoreMode?a("div",{staticClass:"el-select__tags"},[a("span",{staticStyle:{display:"block"}},[t._l(t.authForm.shareRange,(function(e,n){return[a("span",{key:n+"bind",staticClass:"el-tag el-tag--info el-tag--small"},[a("span",{staticClass:"el-select__tags-text"},[t._v(t._s(e.storeInfoName||e.storeGroupName))]),a("i",{staticClass:"el-tag__close el-icon-close",on:{click:function(e){return e.stopPropagation(),t.delStore(n,t.authForm.shareRange)}}})])]}))],2)]):t._e(),0==t.authForm.shareStoreMode&&""!==t.authForm.shareStoreMode?a("span",{staticClass:"p-l-10 font-14 color-909399"},[t._v("已选全部")]):t._e()])]),a("el-form-item",[a("el-button",{on:{click:t.cancel}},[t._v("取消")]),a("el-button",{attrs:{disabled:!t.changeFlag||""===t.authForm.shareStoreMode&&""===t.authForm.bindStoreMode,type:"primary"},on:{click:function(e){return t.submitForm("authForm")}}},[t._v("下一步")])],1)],1)],1):t._e(),1==t.activeStep?a("div",{staticClass:"commit-success-body m-t-35"},[a("auth-commit",{attrs:{adminList:t.adminList,reason:t.authForm.auditReason},on:{changeStep:t.changeStep,returnStep:t.returnStep}})],1):t._e(),2==t.activeStep?a("div",{staticClass:"commit-success-body"},[a("auth-commit-success",{attrs:{enterpriseId:t.authForm.enterpriseId}})],1):t._e()])])])])]),t.setVisible?a("store-auth-dialog",{attrs:{enterpriseId:t.authForm.enterpriseId,isSelectAll:t.isSelectAll,selectMode:t.selectMode,rangeData:t.rangeData,bindType:t.bindType},on:{closeSet:t.closeSet}}):t._e()],1)},r=[],i=(a("96cf"),a("1da1")),s=(a("ac6a"),a("29b6")),o=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("div",{class:["auth-step-body",0==t.active?"step-one":"step-two"]},[a("el-steps",{attrs:{active:t.active,"finish-status":"success"}},[a("el-step",{attrs:{title:"GIC商户授权",description:""}}),a("el-step",{attrs:{title:"审核员授权",description:""}})],1)],1)])},c=[],u={name:"auth-step",components:{},props:{activeStep:{type:String,default:function(){return"0"}}},data:function(){return{active:"0"}},methods:{},watch:{activeStep:function(t){this.active=t}},mounted:function(){var t=this;t.active=t.activeStep}},l=u,m=(a("1448"),a("2877")),d=Object(m["a"])(l,o,c,!1,null,"a7d9b548",null),h=d.exports,p=function(){var t=this,e=t.$createElement;t._self._c;return t._m(0)},f=[function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"auth-tip"},[a("div",{staticStyle:{width:"645px"}},[a("div",{staticClass:"el-alert el-alert--info flex flex-align-start",staticStyle:{width:"645px"},attrs:{role:"alert"}},[a("i",{staticClass:"el-alert__icon el-icon-info font-12 color-2f54eb"}),a("div",{staticClass:"el-alert__content"},[a("span",{staticClass:"el-alert__title color-606266 font-13"},[t._v("\n 商户授权须知:"),a("br"),t._v("\n 1. 商户授权可以是多个商户授权到1个企业下,但是需保证使用的服务号或小程序在同一开放平台"),a("br"),t._v("\n    下,否则绑定商户的客户获取的unionid会不一致,最终会无法识别企业微信客户与会员的绑定性;"),a("br"),t._v("\n 2. 商户绑定后,可选择部分门店绑定,如商户有100家门店,可授权其中50家;"),a("br"),t._v("\n 3. 绑定商户结束后,导购可通过企业微信好办小程序绑定导购账号后登录;"),a("br"),t._v("\n 4. 进行门店绑定后,请勿随意操作门店绑定范围,如果门店范围取消,会导致用户关联的导购账号"),a("br"),t._v("\n    解绑,"),a("span",{staticClass:"color-f5222d"},[t._v("如果24小时内未恢复范围,会永久解绑。")])])])])])])}],g={name:"auth-tip",components:{},props:{},data:function(){return{}},methods:{changeRoute:function(t){this.$router.push(t)}},watch:{}},v=g,b=(a("8b4c"),Object(m["a"])(v,p,f,!1,null,"c9f514f8",null)),S=b.exports,y=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"auth-commit-success"},[t._m(0),a("div",{staticClass:"commit-success-text text-center font-14 color-303133 m-t-12"},[t._v("已提交管理员审核,请通知管理员及时审核")]),a("div",{staticClass:"commit-success-btn text-center m-t-28"},[a("el-button",{on:{click:function(e){return t.changeRoute("/authMerchant")}}},[t._v("返回授权列表")]),a("el-button",{on:{click:function(e){return t.changeRoute("/auditLog?enterpriseId="+t.enterpriseId)}}},[t._v("进入审核列表")])],1)])},_=[function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"commit-success-img text-center"},[a("span",{staticClass:"iconfont iconchenggong color-49c958 font-60"})])}],F={name:"auth-commit-success",components:{},props:{enterpriseId:{type:String,default:""}},data:function(){return{}},methods:{changeRoute:function(t){this.$router.push(t)}},watch:{}},R=F,C=(a("1f7e"),Object(m["a"])(R,y,_,!1,null,"97eb5448",null)),x=C.exports,I=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"auth-commit-admin"},[a("common-alert-tip",{staticClass:"m-b-32",attrs:{width:"328px",tipContent:t.tipContent}}),a("el-form",{ref:"commitForm",staticClass:"dialog-form",attrs:{model:t.commitForm,rules:t.rules,"label-width":"100px"}},[a("el-form-item",{attrs:{label:"申请事项",prop:"commitName"}},[a("el-input",{staticClass:"w-198",attrs:{disabled:""},model:{value:t.commitForm.commitName,callback:function(e){t.$set(t.commitForm,"commitName",e)},expression:"commitForm.commitName"}})],1),a("el-form-item",{attrs:{label:"申请理由",prop:"auditReason"}},[a("limit-textarea",{attrs:{inputWidth:298,inputValue:t.commitForm.auditReason,holder:"请输入申请理由",getByType:"word",maxLength:50},on:{"update:inputValue":function(e){return t.$set(t.commitForm,"auditReason",e)},"update:input-value":function(e){return t.$set(t.commitForm,"auditReason",e)}}})],1),a("el-form-item",{attrs:{label:"审核人",prop:""}},[a("div",{staticClass:"flex flex-wrap audit-admin-body"},[t._l(t.commitForm.auditAdmin,(function(e,n){return[a("span",{key:n+"admin",staticClass:"audit-admin"},[t._v("\n "+t._s(t._f("formatWord")(e.clerkName))+"("+t._s(e.nationCode+"-"+e.phoneNumber)+")\n ")])]}))],2)]),a("el-form-item",[a("el-button",{on:{click:t.cancel}},[t._v("取消")]),a("el-button",{attrs:{type:"primary",loading:t.loadBtn},on:{click:function(e){return t.submitForm("commitForm")}}},[t._v("提交审核")])],1)],1)],1)},N=[],D=a("3081"),w=a("c8a8"),M=a("d157"),O={name:"auth-commit",components:{commonAlertTip:D["a"],limitTextarea:w["a"]},props:{reason:{type:String,default:""},adminList:{type:[Object,Array],default:function(){return[]}}},data:function(){return{tipContent:"提交商户绑定审核,经审核员同意后绑定成功",commitForm:{commitType:1,commitName:"商户授权",auditReason:this.reason||"",auditAdmin:[]},rules:{auditReason:[{required:!0,message:"请输入申请理由",trigger:"blur"}]},loadBtn:!1}},methods:{cancel:function(){var t=this;t.$emit("returnStep")},submitForm:Object(M["b"])((function(t){var e=this;e.loadBtn=!0,e.$refs[t].validate((function(t){if(!t)return e.loadBtn=!1,!1;e.toCommitPost()}))}),5e3),toCommitPost:function(){var t=this;t.$emit("changeStep",t.commitForm.auditReason),t.$nextTick((function(){t.loadBtn=!1}))},changeRoute:function(t){this.$router.push(t)}},watch:{adminList:function(t){var e=this;e.commitForm.auditAdmin=JSON.parse(JSON.stringify(t))}},mounted:function(){var t=this;t.commitForm.auditAdmin=JSON.parse(JSON.stringify(t.adminList))}},L=O,k=(a("acca"),Object(m["a"])(L,I,N,!1,null,"706c4074",null)),$=k.exports,V=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("el-dialog",{attrs:{width:"554px",title:1==t.bindType?"门店绑定":"门店共享",visible:t.setVisible,"append-to-body":"","before-close":t.handleClose},on:{"update:visible":function(e){t.setVisible=e}}},[a("div",{staticClass:"bind-store-body"},[a("div",{staticClass:"el-form-item el-form-item--large"},[a("label",{staticClass:"el-form-item__label",staticStyle:{width:"120px"},attrs:{for:"name"}},[t._v("\n 选择绑定门店\n ")]),a("div",{staticClass:"el-form-item__content",staticStyle:{"margin-left":"110px"}},[a("el-radio",{attrs:{disabled:1==t.isSelectAll&&1==t.bindType,label:"0"},on:{change:t.changeRange},model:{value:t.formData.sendRange,callback:function(e){t.$set(t.formData,"sendRange",e)},expression:"formData.sendRange"}},[t._v("所有门店")]),a("el-radio",{staticClass:"m-l-40 m-r-8",attrs:{label:"1"},on:{change:t.changeRange},model:{value:t.formData.sendRange,callback:function(e){t.$set(t.formData,"sendRange",e)},expression:"formData.sendRange"}},[t._v("选择分组")]),a("el-radio",{staticClass:"m-l-40 m-r-8",attrs:{label:"2"},on:{change:t.changeRange},model:{value:t.formData.sendRange,callback:function(e){t.$set(t.formData,"sendRange",e)},expression:"formData.sendRange"}},[t._v("选择门店")]),("1"!=t.formData.sendRange&&"2"!=t.formData.sendRange||t.formData.selectList.length)&&"null"!=String(t.formData.sendRange)&&""!==t.formData.sendRange?t._e():a("div",{staticClass:"el-form-item__error"},[t._v("请选择绑定门店")]),"1"==t.formData.sendRange?a("store-auth-group",{attrs:{companyId:t.enterpriseId,storeType:t.bindType,selectGroup:t.selectGroupData},on:{checkGroupIds:t.checkGroupIds}}):t._e(),"2"==t.formData.sendRange?a("store-auth-store",{attrs:{companyId:t.enterpriseId,storeType:t.bindType,selectStore:t.selectStoreData},on:{checkStoreIds:t.checkStoreIds}}):t._e()],1)])]),a("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:function(e){return e.stopPropagation(),t.cancel(e)}}},[t._v("取消")]),a("el-button",{attrs:{type:"primary"},on:{click:function(e){return e.stopPropagation(),t.submitForm(e)}}},[t._v("确定")])],1)])},J=[],A=(a("c5f6"),a("7ca9")),E=a("418e"),B=(a("5b4e"),{props:{isSelectAll:{type:[String,Number],default:"0"},enterpriseId:{type:String,default:""},bindType:{type:[String,Number],default:"1"},selectMode:{type:[String,Number],default:"0"},rangeData:{type:[Object,Array],default:function(){return[]}}},data:function(){return{setVisible:!0,formData:{sendRange:"0",selectList:[]},selectGroupData:[],selectStoreData:[]}},computed:{},methods:{changeRange:function(t){var e=this;e.formData.sendRange=t,e.formData.selectList=[]},handleClose:function(t){var e=this;t(),e.$emit("closeSet","close"),e.selectGroupData=[],e.selectStoreData=[]},cancel:function(){var t=this;t.$emit("closeSet","close"),t.selectGroupData=[],t.selectStoreData=[]},filterNode:function(t,e){return!t||!e.label||-1!==e.label.indexOf(t)},toInput:Object(M["a"])((function(t,e){var a=this;if(!a.groupDataCopy.length)return!1}),200),clearSearch:function(){var t=this;t.groupData=JSON.parse(JSON.stringify(t.groupDataCopy))},checkGroupIds:function(t){var e=this;e.formData.selectList=JSON.parse(JSON.stringify(t))},checkStoreIds:function(t){var e=this;e.formData.selectList=JSON.parse(JSON.stringify(t))},submitForm:function(){var t=this;return"null"!=String(t.formData.sendRange)&&""!==t.formData.sendRange&&(!("1"==t.formData.sendRange&&!t.formData.selectList.length)&&(!("2"==t.formData.sendRange&&!t.formData.selectList.length)&&void t.$emit("closeSet",String(t.formData.sendRange),t.formData.selectList)))}},components:{storeAuthGroup:A["a"],storeAuthStore:E["a"]},watch:{searchSelect:function(t){this.$refs.groupTree.filter(t)},selectMode:function(t){var e=this;e.formData.sendRange=String(t)},rangeData:function(t){var e=this;e.selectGroupData=1==e.selectMode?JSON.parse(JSON.stringify(t)):[],e.selectStoreData=2==e.selectMode?JSON.parse(JSON.stringify(t)):[],e.formData.selectList=JSON.parse(JSON.stringify(t))||[]}},mounted:function(){var t=this;t.formData.sendRange=String(t.selectMode),t.selectGroupData=1==t.selectMode?JSON.parse(JSON.stringify(t.rangeData)):[],t.selectStoreData=2==t.selectMode?JSON.parse(JSON.stringify(t.rangeData)):[],t.formData.selectList=JSON.parse(JSON.stringify(t.rangeData))||[]}}),T=B,G=(a("05c9"),Object(m["a"])(T,V,J,!1,null,"408654a0",null)),j=G.exports,q=a("21f4"),P=q["a"].getAuthDetail,U=q["a"].getEnterprise,W=q["a"].getEnterpriseDetail,Z=q["a"].getGicAdmin,z=q["a"].postEnterpriseAuth,H={name:"newAuthMerchant",data:function(){return{navpath:[{name:"通讯录",path:"/contactsList"},{name:"授权商户",path:"/authMerchant"},{name:this.$route.query.enterpriseId?"编辑授权":"新建授权",path:""}],wxEnterpriseId:localStorage.getItem("haoBanUser")?JSON.parse(localStorage.getItem("haoBanUser")).wxEnterpriseId:"",auditorName:localStorage.getItem("haoBanUser")?JSON.parse(localStorage.getItem("haoBanUser")).staffName:"",activeStep:"0",brandOptions:[],authForm:{storeRangeAuditId:"",enterpriseId:"",enterpriseName:"",bindRange:[],shareRange:[],shareStoreMode:"",bindStoreMode:"",auditReason:""},rules:{enterpriseId:[{required:!0,message:"请选择商户",trigger:"change"}]},isSelectAll:0,changeFlag:!1,setVisible:!1,selectMode:"0",rangeData:[],bindType:1,adminList:[]}},computed:{},methods:{closeSet:function(t,e){var a=this;if(a.setVisible=!1,"close"==t)return!1;a.selectMode=String(t),1==a.bindType?(a.authForm.bindStoreMode=String(t),a.authForm.bindRange=JSON.parse(JSON.stringify(e))):(a.authForm.shareStoreMode=String(t),a.authForm.shareRange=JSON.parse(JSON.stringify(e))),a.changeFlag=!0},showStore:function(t){var e=this;if(!e.authForm.enterpriseId)return!1;e.selectMode=1==t?e.authForm.bindStoreMode:e.authForm.shareStoreMode,e.rangeData=1==t?e.authForm.bindRange:e.authForm.shareRange,e.bindType=t,e.setVisible=!0,e.getEnterpriseData()},getSearchList:function(t){var e={enterpriseName:t};return""==t?[]:new Promise((function(t,a){U(e).then((function(e){"0000"==e.code?(e.result&&e.result.forEach((function(t){t.value=t.enterpriseName})),t(e.result)):t([])})).catch((function(e){t([])}))}))},querySearchAsync:function(){var t=Object(i["a"])(regeneratorRuntime.mark((function t(e,a){var n,r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=this,""==e&&a([]),t.next=4,n.getSearchList(e);case 4:r=t.sent,a(r);case 6:case"end":return t.stop()}}),t,this)})));function e(e,a){return t.apply(this,arguments)}return e}(),returnStep:function(){var t=this;t.activeStep=0},cancel:function(){var t=this;t.$router.push("/authMerchant")},submitForm:function(t){var e=this;e.$refs[t].validate((function(t){if(!t)return!1;e.activeStep=1}))},delStore:function(t,e){var a=this;e.splice(t,1),a.changeFlag=!0,a.authForm.shareStoreMode=!a.authForm.shareRange.length&&a.authForm.shareStoreMode>0?"":String(a.authForm.shareStoreMode),a.authForm.bindStoreMode=!a.authForm.bindRange.length&&a.authForm.bindStoreMode>0?"":String(a.authForm.bindStoreMode)},getAdmin:function(t){var e=this;e.authForm.enterpriseId=t.enterpriseId,e.authForm.bindRange=[],e.authForm.shareRange=[],e.authForm.shareStoreMode="",e.authForm.bindStoreMode="",e.adminList=[],e.$refs["authForm"].validate((function(t){return!!t&&void 0})),e.getAdminList(t.enterpriseId)},getAdminList:function(t){var e=this;Z({enterpriseId:t}).then((function(t){t.result&&t.result.length&&(e.adminList=t.result||[])})).catch((function(t){}))},changeStep:function(t){var e=this;e.authForm.auditReason=Object(M["c"])(t);var a={enterpriseId:e.authForm.enterpriseId,wxEnterpriseId:e.wxEnterpriseId,shareRange:0!=e.authForm.shareStoreMode?1==e.authForm.shareStoreMode?e.authForm.shareRange.map((function(t){return t.storeGroupId})).join(","):e.authForm.shareRange.map((function(t){return t.storeInfoId})).join(","):"",bindRange:0!=e.authForm.bindStoreMode?1==e.authForm.bindStoreMode?e.authForm.bindRange.map((function(t){return t.storeGroupId})).join(","):e.authForm.bindRange.map((function(t){return t.storeInfoId})).join(","):"",auditReason:e.authForm.auditReason,shareStoreMode:e.authForm.shareRange.length||0==e.authForm.shareStoreMode?String(e.authForm.shareStoreMode):"",bindStoreMode:e.authForm.bindRange.length||0==e.authForm.bindStoreMode?String(e.authForm.bindStoreMode):"",auditorName:e.auditorName};z(a).then((function(t){"0000"==t.code?e.activeStep=2:e.$message({message:t.message||"未知错误",type:"warning"})})).catch((function(t){}))},changeRoute:function(t){this.$router.push(t)},getEnterpriseData:function(){var t=this;W({enterpriseId:t.$route.query.enterpriseId||t.authForm.enterpriseId}).then((function(e){t.isSelectAll=e.result.bindFlag})).catch((function(t){}))},getData:function(t){var e=this,a={enterpriseId:e.$route.query.enterpriseId,wxEnterpriseId:e.wxEnterpriseId};P(a).then((function(t){"0000"==t.code&&(t.result.bindRange?t.result.bindRange=JSON.parse(t.result.bindRange):t.result.bindRange=[],t.result.shareRange?t.result.shareRange=JSON.parse(t.result.shareRange):t.result.shareRange=[],e.authForm=t.result||{},e.getAdminList(t.result.enterpriseId))})).catch((function(t){}))}},watch:{},mounted:function(){var t=this;t.$route.query.enterpriseId&&t.getData(),document.documentElement.style.backgroundColor="#f0f2f5"},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{navCrumb:s["a"],authStep:h,authTip:S,authCommitSuccess:x,authCommit:$,storeAuthDialog:j}},K=H,Q=(a("f82f"),Object(m["a"])(K,n,r,!1,null,"ed918c5e",null));e["default"]=Q.exports},"8b4c":function(t,e,a){"use strict";var n=a("8f87"),r=a.n(n);r.a},"8cf1":function(t,e,a){"use strict";var n=a("b211"),r=a.n(n);r.a},"8f87":function(t,e,a){},a79b:function(t,e,a){},acca:function(t,e,a){"use strict";var n=a("3904"),r=a.n(n);r.a},b211:function(t,e,a){},c8a8:function(t,e,a){"use strict";var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"input-line-cell",style:{width:t.inputWidth+"px"}},[a("el-input",{style:{width:t.inputWidth+"px"},attrs:{placeholder:t.holder,type:"textarea",rows:3,disabled:t.disInput},on:{blur:function(e){return t.inputBlur()},focus:function(e){return t.inputFocus()}},nativeOn:{keyup:function(e){return function(e){return t.toInput(e)}(e)}},model:{value:t.itemValue,callback:function(e){t.itemValue=e},expression:"itemValue"}}),a("span",{staticClass:"tip"},[a("span",{staticClass:"len_span"},[t._v(t._s(t.inputNum))]),t._v("/"+t._s(t.limitLength))])],1)},r=[],i=(a("c5f6"),a("2802")),s={name:"limittextarea",props:{inputValue:{type:String,default:""},maxLength:{type:Number,default:10},inputWidth:{type:Number,default:500},getByType:{type:String,default:"word"},holder:{type:String,default:"请输入"},disInput:{type:Boolean,default:!1}},data:function(){return{inputNum:0,limitLength:10,itemValue:""}},methods:{inputFocus:function(t){},toInput:function(t){var e=this,a="";"word"==e.getByType?(a=i["a"].getByteVal(t.target.value,e.limitLength),e.itemValue=a,e.inputNum=i["a"].getZhLen(e.itemValue)):(a=i["a"].getCharVal(t.target.value,e.limitLength),e.itemValue=a,e.inputNum=i["a"].getByteLen(e.itemValue)),e.$emit("update:inputValue",e.itemValue)},inputBlur:function(){var t=this;t.$emit("update:inputValue",t.itemValue)}},watch:{maxLength:function(t,e){var a=this;a.limitLength=t},inputValue:function(t,e){var a=this;a.itemValue=t,"word"==a.getByType?a.inputNum=i["a"].getZhLen(a.itemValue):a.inputNum=i["a"].getByteLen(a.itemValue)}},mounted:function(){var t=this;t.limitLength=t.maxLength,t.itemValue=t.inputValue||"","word"==t.getByType?t.inputNum=i["a"].getZhLen(t.inputValue):t.inputNum=i["a"].getByteLen(t.inputValue)}},o=s,c=(a("8cf1"),a("2877")),u=Object(c["a"])(o,n,r,!1,null,"2859c084",null);e["a"]=u.exports},ca54:function(t,e,a){},d0be:function(t,e,a){},f82f:function(t,e,a){"use strict";var n=a("ca54"),r=a.n(n);r.a}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-b2e2b802"],{"05c9":function(t,e,a){"use strict";var n=a("24e5"),r=a.n(n);r.a},1448:function(t,e,a){"use strict";var n=a("a79b"),r=a.n(n);r.a},"199f":function(t,e,a){"use strict";var n=a("f222"),r=a.n(n);r.a},"1f7e":function(t,e,a){"use strict";var n=a("d0be"),r=a.n(n);r.a},"24e5":function(t,e,a){},2802:function(t,e,a){"use strict";a("4917");e["a"]={getByteLen:function(t){for(var e=""==t||null==t?"":t,a=0,n=0;n<e.length;n++){var r=e.charAt(n);null!=r.match(/[^\x00-\xff]/gi)?a+=2:a+=1}return a},getZhLen:function(t){for(var e=""==t||null==t?"":t,a=0,n=0;n<e.length;n++){var r=e.charAt(n);null!=r.match(/[^\x00-\xff]/gi)?a+=1:a+=.5}return Math.ceil(a)},cutStr:function(t,e,a){for(var n=0,r=0;r<t.length;r++){var i=t.charAt(r);if(1==a&&(encodeURI(i).length>2?n+=1:n+=.5),2==a&&(n+=1),n>=e){var o=n==e?r+1:r;return t.substr(0,o)}}},getByteVal:function(t,e){for(var a=""==t||null==t?"":t,n="",r=0,i=0;i<a.length;i++){if(null!=a[i].match(/[^\x00-\xff]/gi)?r+=1:r+=.5,r>e)break;n+=a[i]}return n},getCharVal:function(t,e){for(var a=""==t||null==t?"":t,n="",r=0,i=0;i<a.length;i++){if(null!=a[i].match(/[^\x00-\xff]/gi)?r+=2:r+=1,r>e)break;n+=a[i]}return n},regPos:function(t){var e=/^\d+(\.\d+)?$/;return e.test(t)}}},3904:function(t,e,a){},4917:function(t,e,a){"use strict";var n=a("cb7c"),r=a("9def"),i=a("0390"),o=a("5f1b");a("214f")("match",1,(function(t,e,a,s){return[function(a){var n=t(this),r=void 0==a?void 0:a[e];return void 0!==r?r.call(a,n):new RegExp(a)[e](String(n))},function(t){var e=s(a,t,this);if(e.done)return e.value;var c=n(t),u=String(this);if(!c.global)return o(c,u);var l=c.unicode;c.lastIndex=0;var m,d=[],h=0;while(null!==(m=o(c,u))){var p=String(m[0]);d[h]=p,""===p&&(c.lastIndex=i(u,r(c.lastIndex),l)),h++}return 0===h?null:d}]}))},"62a7":function(t,e,a){"use strict";a.r(e);var n=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}}),a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box",staticStyle:{"min-height":"calc(100vh - 104px)"}},[a("div",{staticClass:"apps-content flex",staticStyle:{"min-height":"calc(100vh - 104px)"}},[a("div",{staticClass:"apps-content-right"},[a("div",{staticClass:"new-auth-body"},[2!=t.activeStep?a("div",[a("auth-step",{attrs:{activeStep:t.activeStep}})],1):t._e(),0==t.activeStep?a("div",{staticClass:"auth-tip-body"},[a("auth-tip",{staticClass:"m-t-30"}),a("el-form",{ref:"authForm",staticClass:"dialog-form m-t-20",attrs:{model:t.authForm,rules:t.rules,"label-width":"100px"}},[a("el-form-item",{attrs:{label:"选择商户",prop:"enterpriseId"}},[a("el-autocomplete",{staticStyle:{width:"302px"},attrs:{disabled:!!t.$route.query.enterpriseId,placeholder:"请搜索选择商户","fetch-suggestions":t.querySearchAsync},on:{select:t.getAdmin},model:{value:t.authForm.enterpriseName,callback:function(e){t.$set(t.authForm,"enterpriseName",e)},expression:"authForm.enterpriseName"}},[a("template",{slot:"prepend"},[t._v("GIC4.0")])],2)],1),a("el-form-item",{attrs:{label:"门店绑定",prop:"bindRange"}},[a("div",{staticClass:"el-select store-item-content",on:{click:function(e){return t.showStore(1)}}},[0!=t.authForm.bindStoreMode?a("div",{staticClass:"el-select__tags"},[a("span",{staticStyle:{display:"block"}},[t._l(t.authForm.bindRange,(function(e,n){return[a("span",{key:n+"bind",staticClass:"el-tag el-tag--info el-tag--small"},[a("span",{staticClass:"el-select__tags-text"},[t._v(t._s(e.storeInfoName||e.storeGroupName))]),a("i",{staticClass:"el-tag__close el-icon-close",on:{click:function(e){return e.stopPropagation(),t.delStore(n,t.authForm.bindRange)}}})])]}))],2)]):t._e(),0==t.authForm.bindStoreMode&&""!==t.authForm.bindStoreMode?a("span",{staticClass:"p-l-10 font-14 color-909399"},[t._v("已选全部")]):t._e()])]),a("el-form-item",{attrs:{label:"门店共享",prop:"shareRange"}},[a("div",{staticClass:"el-select store-item-content",on:{click:function(e){return t.showStore(2)}}},[0!=t.authForm.shareStoreMode?a("div",{staticClass:"el-select__tags"},[a("span",{staticStyle:{display:"block"}},[t._l(t.authForm.shareRange,(function(e,n){return[a("span",{key:n+"bind",staticClass:"el-tag el-tag--info el-tag--small"},[a("span",{staticClass:"el-select__tags-text"},[t._v(t._s(e.storeInfoName||e.storeGroupName))]),a("i",{staticClass:"el-tag__close el-icon-close",on:{click:function(e){return e.stopPropagation(),t.delStore(n,t.authForm.shareRange)}}})])]}))],2)]):t._e(),0==t.authForm.shareStoreMode&&""!==t.authForm.shareStoreMode?a("span",{staticClass:"p-l-10 font-14 color-909399"},[t._v("已选全部")]):t._e()])]),a("el-form-item",[a("el-button",{on:{click:t.cancel}},[t._v("取消")]),a("el-button",{attrs:{disabled:""===t.authForm.shareStoreMode&&""===t.authForm.bindStoreMode||!t.changeFlag&&""!=t.authForm.shareStoreMode&&""!=t.authForm.bindStoreMode,type:"primary"},on:{click:function(e){return t.submitForm("authForm")}}},[t._v("下一步")])],1)],1)],1):t._e(),1==t.activeStep?a("div",{staticClass:"commit-success-body m-t-35"},[a("auth-commit",{attrs:{adminList:t.adminList,reason:t.authForm.auditReason},on:{changeStep:t.changeStep,returnStep:t.returnStep}})],1):t._e(),2==t.activeStep?a("div",{staticClass:"commit-success-body"},[a("auth-commit-success",{attrs:{enterpriseId:t.authForm.enterpriseId}})],1):t._e()])])])])]),t.setVisible?a("store-auth-dialog",{attrs:{enterpriseId:t.authForm.enterpriseId,isSelectAll:t.isSelectAll,selectMode:t.selectMode,rangeData:t.rangeData,bindType:t.bindType},on:{closeSet:t.closeSet}}):t._e()],1)},r=[],i=(a("96cf"),a("1da1")),o=(a("ac6a"),a("29b6")),s=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("div",{class:["auth-step-body",0==t.active?"step-one":"step-two"]},[a("el-steps",{attrs:{active:t.active,"finish-status":"success"}},[a("el-step",{attrs:{title:"GIC商户授权",description:""}}),a("el-step",{attrs:{title:"审核员授权",description:""}})],1)],1)])},c=[],u={name:"auth-step",components:{},props:{activeStep:{type:String,default:function(){return"0"}}},data:function(){return{active:"0"}},methods:{},watch:{activeStep:function(t){this.active=t}},mounted:function(){var t=this;t.active=t.activeStep}},l=u,m=(a("1448"),a("2877")),d=Object(m["a"])(l,s,c,!1,null,"a7d9b548",null),h=d.exports,p=function(){var t=this,e=t.$createElement;t._self._c;return t._m(0)},f=[function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"auth-tip"},[a("div",{staticStyle:{width:"645px"}},[a("div",{staticClass:"el-alert el-alert--info flex flex-align-start",staticStyle:{width:"645px"},attrs:{role:"alert"}},[a("i",{staticClass:"el-alert__icon el-icon-info font-12 color-2f54eb"}),a("div",{staticClass:"el-alert__content"},[a("span",{staticClass:"el-alert__title color-606266 font-13"},[t._v("\n 商户授权须知:"),a("br"),t._v("\n 1. 商户授权可以是多个商户授权到1个企业下,但是需保证使用的服务号或小程序在同一开放平台"),a("br"),t._v("\n    下,否则绑定商户的客户获取的unionid会不一致,最终会无法识别企业微信客户与会员的绑定性;"),a("br"),t._v("\n 2. 商户绑定后,可选择部分门店绑定,如商户有100家门店,可授权其中50家;"),a("br"),t._v("\n 3. 绑定商户结束后,导购可通过企业微信好办小程序绑定导购账号后登录;"),a("br"),t._v("\n 4. 进行门店绑定后,请勿随意操作门店绑定范围,如果门店范围取消,会导致用户关联的导购账号"),a("br"),t._v("\n    解绑,"),a("span",{staticClass:"color-f5222d"},[t._v("如果24小时内未恢复范围,会永久解绑。")])])])])])])}],g={name:"auth-tip",components:{},props:{},data:function(){return{}},methods:{changeRoute:function(t){this.$router.push(t)}},watch:{}},v=g,b=(a("8b4c"),Object(m["a"])(v,p,f,!1,null,"c9f514f8",null)),S=b.exports,y=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"auth-commit-success"},[t._m(0),a("div",{staticClass:"commit-success-text text-center font-14 color-303133 m-t-12"},[t._v("已提交管理员审核,请通知管理员及时审核")]),a("div",{staticClass:"commit-success-btn text-center m-t-28"},[a("el-button",{on:{click:function(e){return t.changeRoute("/authMerchant")}}},[t._v("返回授权列表")]),a("el-button",{on:{click:function(e){return t.changeRoute("/auditLog?enterpriseId="+t.enterpriseId)}}},[t._v("进入审核列表")])],1)])},_=[function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"commit-success-img text-center"},[a("span",{staticClass:"iconfont iconchenggong color-49c958 font-60"})])}],F={name:"auth-commit-success",components:{},props:{enterpriseId:{type:String,default:""}},data:function(){return{}},methods:{changeRoute:function(t){this.$router.push(t)}},watch:{}},R=F,C=(a("1f7e"),Object(m["a"])(R,y,_,!1,null,"97eb5448",null)),x=C.exports,I=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"auth-commit-admin"},[a("common-alert-tip",{staticClass:"m-b-32",attrs:{width:"328px",tipContent:t.tipContent}}),a("el-form",{ref:"commitForm",staticClass:"dialog-form",attrs:{model:t.commitForm,rules:t.rules,"label-width":"100px"}},[a("el-form-item",{attrs:{label:"申请事项",prop:"commitName"}},[a("el-input",{staticClass:"w-198",attrs:{disabled:""},model:{value:t.commitForm.commitName,callback:function(e){t.$set(t.commitForm,"commitName",e)},expression:"commitForm.commitName"}})],1),a("el-form-item",{attrs:{label:"申请理由",prop:"auditReason"}},[a("limit-textarea",{attrs:{inputWidth:298,inputValue:t.commitForm.auditReason,holder:"请输入申请理由",getByType:"word",maxLength:50},on:{"update:inputValue":function(e){return t.$set(t.commitForm,"auditReason",e)},"update:input-value":function(e){return t.$set(t.commitForm,"auditReason",e)}}})],1),a("el-form-item",{attrs:{label:"审核人",prop:""}},[a("div",{staticClass:"flex flex-wrap audit-admin-body"},[t._l(t.commitForm.auditAdmin,(function(e,n){return[a("span",{key:n+"admin",staticClass:"audit-admin"},[t._v("\n "+t._s(t._f("formatWord")(e.clerkName))+"("+t._s(e.nationCode+"-"+e.phoneNumber)+")\n ")])]}))],2)]),a("el-form-item",[a("el-button",{on:{click:t.cancel}},[t._v("取消")]),a("el-button",{attrs:{type:"primary",loading:t.loadBtn},on:{click:function(e){return t.submitForm("commitForm")}}},[t._v("提交审核")])],1)],1)],1)},N=[],D=a("3081"),w=a("c8a8"),M=a("d157"),O={name:"auth-commit",components:{commonAlertTip:D["a"],limitTextarea:w["a"]},props:{reason:{type:String,default:""},adminList:{type:[Object,Array],default:function(){return[]}}},data:function(){return{tipContent:"提交商户绑定审核,经审核员同意后绑定成功",commitForm:{commitType:1,commitName:"商户授权",auditReason:this.reason||"",auditAdmin:[]},rules:{auditReason:[{required:!0,message:"请输入申请理由",trigger:"blur"}]},loadBtn:!1}},methods:{cancel:function(){var t=this;t.$emit("returnStep")},submitForm:Object(M["b"])((function(t){var e=this;e.loadBtn=!0,e.$refs[t].validate((function(t){if(!t)return e.loadBtn=!1,!1;e.toCommitPost()}))}),5e3),toCommitPost:function(){var t=this;t.$emit("changeStep",t.commitForm.auditReason),t.$nextTick((function(){t.loadBtn=!1}))},changeRoute:function(t){this.$router.push(t)}},watch:{adminList:function(t){var e=this;e.commitForm.auditAdmin=JSON.parse(JSON.stringify(t))}},mounted:function(){var t=this;t.commitForm.auditAdmin=JSON.parse(JSON.stringify(t.adminList))}},L=O,k=(a("acca"),Object(m["a"])(L,I,N,!1,null,"706c4074",null)),$=k.exports,V=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("el-dialog",{attrs:{width:"554px",title:1==t.bindType?"门店绑定":"门店共享",visible:t.setVisible,"append-to-body":"","before-close":t.handleClose},on:{"update:visible":function(e){t.setVisible=e}}},[a("div",{staticClass:"bind-store-body"},[a("div",{staticClass:"el-form-item el-form-item--large"},[a("label",{staticClass:"el-form-item__label",staticStyle:{width:"120px"},attrs:{for:"name"}},[t._v("\n 选择绑定门店\n ")]),a("div",{staticClass:"el-form-item__content",staticStyle:{"margin-left":"110px"}},[a("el-radio",{attrs:{disabled:1==t.isSelectAll&&1==t.bindType,label:"0"},on:{change:t.changeRange},model:{value:t.formData.sendRange,callback:function(e){t.$set(t.formData,"sendRange",e)},expression:"formData.sendRange"}},[t._v("所有门店")]),a("el-radio",{staticClass:"m-l-40 m-r-8",attrs:{label:"1"},on:{change:t.changeRange},model:{value:t.formData.sendRange,callback:function(e){t.$set(t.formData,"sendRange",e)},expression:"formData.sendRange"}},[t._v("选择分组")]),a("el-radio",{staticClass:"m-l-40 m-r-8",attrs:{label:"2"},on:{change:t.changeRange},model:{value:t.formData.sendRange,callback:function(e){t.$set(t.formData,"sendRange",e)},expression:"formData.sendRange"}},[t._v("选择门店")]),("1"!=t.formData.sendRange&&"2"!=t.formData.sendRange||t.formData.selectList.length)&&"null"!=String(t.formData.sendRange)&&""!==t.formData.sendRange?t._e():a("div",{staticClass:"el-form-item__error"},[t._v("请选择绑定门店")]),"1"==t.formData.sendRange?a("store-auth-group",{attrs:{companyId:t.enterpriseId,storeType:t.bindType,selectGroup:t.selectGroupData},on:{checkGroupIds:t.checkGroupIds}}):t._e(),"2"==t.formData.sendRange?a("store-auth-store",{attrs:{companyId:t.enterpriseId,storeType:t.bindType,selectStore:t.selectStoreData},on:{checkStoreIds:t.checkStoreIds}}):t._e()],1)])]),a("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:function(e){return e.stopPropagation(),t.cancel(e)}}},[t._v("取消")]),a("el-button",{attrs:{type:"primary"},on:{click:function(e){return e.stopPropagation(),t.submitForm(e)}}},[t._v("确定")])],1)])},J=[],A=(a("c5f6"),a("7ca9")),E=a("418e"),B=(a("5b4e"),{props:{isSelectAll:{type:[String,Number],default:"0"},enterpriseId:{type:String,default:""},bindType:{type:[String,Number],default:"1"},selectMode:{type:[String,Number],default:"0"},rangeData:{type:[Object,Array],default:function(){return[]}}},data:function(){return{setVisible:!0,formData:{sendRange:"0",selectList:[]},selectGroupData:[],selectStoreData:[]}},computed:{},methods:{changeRange:function(t){var e=this;e.formData.sendRange=t,e.formData.selectList=[]},handleClose:function(t){var e=this;t(),e.$emit("closeSet","close"),e.selectGroupData=[],e.selectStoreData=[]},cancel:function(){var t=this;t.$emit("closeSet","close"),t.selectGroupData=[],t.selectStoreData=[]},filterNode:function(t,e){return!t||!e.label||-1!==e.label.indexOf(t)},toInput:Object(M["a"])((function(t,e){var a=this;if(!a.groupDataCopy.length)return!1}),200),clearSearch:function(){var t=this;t.groupData=JSON.parse(JSON.stringify(t.groupDataCopy))},checkGroupIds:function(t){var e=this;e.formData.selectList=JSON.parse(JSON.stringify(t))},checkStoreIds:function(t){var e=this;e.formData.selectList=JSON.parse(JSON.stringify(t))},submitForm:function(){var t=this;return"null"!=String(t.formData.sendRange)&&""!==t.formData.sendRange&&(!("1"==t.formData.sendRange&&!t.formData.selectList.length)&&(!("2"==t.formData.sendRange&&!t.formData.selectList.length)&&void t.$emit("closeSet",String(t.formData.sendRange),t.formData.selectList)))}},components:{storeAuthGroup:A["a"],storeAuthStore:E["a"]},watch:{searchSelect:function(t){this.$refs.groupTree.filter(t)},selectMode:function(t){var e=this;e.formData.sendRange=String(t)},rangeData:function(t){var e=this;e.selectGroupData=1==e.selectMode?JSON.parse(JSON.stringify(t)):[],e.selectStoreData=2==e.selectMode?JSON.parse(JSON.stringify(t)):[],e.formData.selectList=JSON.parse(JSON.stringify(t))||[]}},mounted:function(){var t=this;t.formData.sendRange=String(t.selectMode),t.selectGroupData=1==t.selectMode?JSON.parse(JSON.stringify(t.rangeData)):[],t.selectStoreData=2==t.selectMode?JSON.parse(JSON.stringify(t.rangeData)):[],t.formData.selectList=JSON.parse(JSON.stringify(t.rangeData))||[]}}),T=B,G=(a("05c9"),Object(m["a"])(T,V,J,!1,null,"408654a0",null)),j=G.exports,q=a("21f4"),P=q["a"].getAuthDetail,U=q["a"].getEnterprise,W=q["a"].getEnterpriseDetail,Z=q["a"].getGicAdmin,z=q["a"].postEnterpriseAuth,H={name:"newAuthMerchant",data:function(){return{navpath:[{name:"通讯录",path:"/contactsList"},{name:"授权商户",path:"/authMerchant"},{name:this.$route.query.enterpriseId?"编辑授权":"新建授权",path:""}],wxEnterpriseId:localStorage.getItem("haoBanUser")?JSON.parse(localStorage.getItem("haoBanUser")).wxEnterpriseId:"",auditorName:localStorage.getItem("haoBanUser")?JSON.parse(localStorage.getItem("haoBanUser")).staffName:"",activeStep:"0",brandOptions:[],authForm:{storeRangeAuditId:"",enterpriseId:"",enterpriseName:"",bindRange:[],shareRange:[],shareStoreMode:"",bindStoreMode:"",auditReason:""},rules:{enterpriseId:[{required:!0,message:"请选择商户",trigger:"change"}]},isSelectAll:0,changeFlag:!1,setVisible:!1,selectMode:"0",rangeData:[],bindType:1,adminList:[]}},computed:{},methods:{closeSet:function(t,e){var a=this;if(a.setVisible=!1,"close"==t)return!1;a.selectMode=String(t),1==a.bindType?(a.authForm.bindStoreMode=String(t),a.authForm.bindRange=JSON.parse(JSON.stringify(e))):(a.authForm.shareStoreMode=String(t),a.authForm.shareRange=JSON.parse(JSON.stringify(e))),a.changeFlag=!0},showStore:function(t){var e=this;if(!e.authForm.enterpriseId)return!1;e.selectMode=1==t?e.authForm.bindStoreMode:e.authForm.shareStoreMode,e.rangeData=1==t?e.authForm.bindRange:e.authForm.shareRange,e.bindType=t,e.setVisible=!0,e.getEnterpriseData()},getSearchList:function(t){var e={enterpriseName:t};return""==t?[]:new Promise((function(t,a){U(e).then((function(e){"0000"==e.code?(e.result&&e.result.forEach((function(t){t.value=t.enterpriseName})),t(e.result)):t([])})).catch((function(e){t([])}))}))},querySearchAsync:function(){var t=Object(i["a"])(regeneratorRuntime.mark((function t(e,a){var n,r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=this,""==e&&a([]),t.next=4,n.getSearchList(e);case 4:r=t.sent,a(r);case 6:case"end":return t.stop()}}),t,this)})));function e(e,a){return t.apply(this,arguments)}return e}(),returnStep:function(){var t=this;t.activeStep=0},cancel:function(){var t=this;t.$router.push("/authMerchant")},submitForm:function(t){var e=this;e.$refs[t].validate((function(t){if(!t)return!1;e.activeStep=1}))},delStore:function(t,e){var a=this;e.splice(t,1),a.changeFlag=!0,a.authForm.shareStoreMode=!a.authForm.shareRange.length&&a.authForm.shareStoreMode>0?"":String(a.authForm.shareStoreMode),a.authForm.bindStoreMode=!a.authForm.bindRange.length&&a.authForm.bindStoreMode>0?"":String(a.authForm.bindStoreMode)},getAdmin:function(t){var e=this;e.authForm.enterpriseId=t.enterpriseId,e.authForm.bindRange=[],e.authForm.shareRange=[],e.authForm.shareStoreMode="",e.authForm.bindStoreMode="",e.adminList=[],e.$refs["authForm"].validate((function(t){return!!t&&void 0})),e.getAdminList(t.enterpriseId)},getAdminList:function(t){var e=this;Z({enterpriseId:t}).then((function(t){t.result&&t.result.length&&(e.adminList=t.result||[])})).catch((function(t){}))},changeStep:function(t){var e=this;e.authForm.auditReason=Object(M["c"])(t);var a={enterpriseId:e.authForm.enterpriseId,wxEnterpriseId:e.wxEnterpriseId,shareRange:0!=e.authForm.shareStoreMode?1==e.authForm.shareStoreMode?e.authForm.shareRange.map((function(t){return t.storeGroupId})).join(","):e.authForm.shareRange.map((function(t){return t.storeInfoId})).join(","):"",bindRange:0!=e.authForm.bindStoreMode?1==e.authForm.bindStoreMode?e.authForm.bindRange.map((function(t){return t.storeGroupId})).join(","):e.authForm.bindRange.map((function(t){return t.storeInfoId})).join(","):"",auditReason:e.authForm.auditReason,shareStoreMode:e.authForm.shareRange.length||0==e.authForm.shareStoreMode?String(e.authForm.shareStoreMode):"",bindStoreMode:e.authForm.bindRange.length||0==e.authForm.bindStoreMode?String(e.authForm.bindStoreMode):"",auditorName:e.auditorName};z(a).then((function(t){"0000"==t.code?e.activeStep=2:e.$message({message:t.message||"未知错误",type:"warning"})})).catch((function(t){}))},changeRoute:function(t){this.$router.push(t)},getEnterpriseData:function(){var t=this;W({enterpriseId:t.$route.query.enterpriseId||t.authForm.enterpriseId}).then((function(e){t.isSelectAll=e.result.bindFlag})).catch((function(t){}))},getData:function(t){var e=this,a={enterpriseId:e.$route.query.enterpriseId,wxEnterpriseId:e.wxEnterpriseId};P(a).then((function(t){"0000"==t.code&&(t.result.bindRange?t.result.bindRange=JSON.parse(t.result.bindRange):t.result.bindRange=[],t.result.shareRange?t.result.shareRange=JSON.parse(t.result.shareRange):t.result.shareRange=[],e.authForm=t.result||{},e.getAdminList(t.result.enterpriseId))})).catch((function(t){}))}},watch:{},mounted:function(){var t=this;t.$route.query.enterpriseId&&t.getData(),document.documentElement.style.backgroundColor="#f0f2f5"},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{navCrumb:o["a"],authStep:h,authTip:S,authCommitSuccess:x,authCommit:$,storeAuthDialog:j}},K=H,Q=(a("199f"),Object(m["a"])(K,n,r,!1,null,"f36d3c80",null));e["default"]=Q.exports},"8b4c":function(t,e,a){"use strict";var n=a("8f87"),r=a.n(n);r.a},"8cf1":function(t,e,a){"use strict";var n=a("b211"),r=a.n(n);r.a},"8f87":function(t,e,a){},a79b:function(t,e,a){},acca:function(t,e,a){"use strict";var n=a("3904"),r=a.n(n);r.a},b211:function(t,e,a){},c8a8:function(t,e,a){"use strict";var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"input-line-cell",style:{width:t.inputWidth+"px"}},[a("el-input",{style:{width:t.inputWidth+"px"},attrs:{placeholder:t.holder,type:"textarea",rows:3,disabled:t.disInput},on:{blur:function(e){return t.inputBlur()},focus:function(e){return t.inputFocus()}},nativeOn:{keyup:function(e){return function(e){return t.toInput(e)}(e)}},model:{value:t.itemValue,callback:function(e){t.itemValue=e},expression:"itemValue"}}),a("span",{staticClass:"tip"},[a("span",{staticClass:"len_span"},[t._v(t._s(t.inputNum))]),t._v("/"+t._s(t.limitLength))])],1)},r=[],i=(a("c5f6"),a("2802")),o={name:"limittextarea",props:{inputValue:{type:String,default:""},maxLength:{type:Number,default:10},inputWidth:{type:Number,default:500},getByType:{type:String,default:"word"},holder:{type:String,default:"请输入"},disInput:{type:Boolean,default:!1}},data:function(){return{inputNum:0,limitLength:10,itemValue:""}},methods:{inputFocus:function(t){},toInput:function(t){var e=this,a="";"word"==e.getByType?(a=i["a"].getByteVal(t.target.value,e.limitLength),e.itemValue=a,e.inputNum=i["a"].getZhLen(e.itemValue)):(a=i["a"].getCharVal(t.target.value,e.limitLength),e.itemValue=a,e.inputNum=i["a"].getByteLen(e.itemValue)),e.$emit("update:inputValue",e.itemValue)},inputBlur:function(){var t=this;t.$emit("update:inputValue",t.itemValue)}},watch:{maxLength:function(t,e){var a=this;a.limitLength=t},inputValue:function(t,e){var a=this;a.itemValue=t,"word"==a.getByType?a.inputNum=i["a"].getZhLen(a.itemValue):a.inputNum=i["a"].getByteLen(a.itemValue)}},mounted:function(){var t=this;t.limitLength=t.maxLength,t.itemValue=t.inputValue||"","word"==t.getByType?t.inputNum=i["a"].getZhLen(t.inputValue):t.inputNum=i["a"].getByteLen(t.inputValue)}},s=o,c=(a("8cf1"),a("2877")),u=Object(c["a"])(s,n,r,!1,null,"2859c084",null);e["a"]=u.exports},d0be:function(t,e,a){},f222:function(t,e,a){}}]);
\ No newline at end of file
......@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2019-03-20 14:36:37
* @LastEditors: 无尘
* @LastEditTime: 2020-08-12 09:16:57
* @LastEditTime: 2020-08-12 16:09:16
-->
<template>
<div class="my-customer-wrap common-set-wrap">
......@@ -57,7 +57,7 @@
</el-form-item>
<el-form-item>
<el-button @click="cancel">取消</el-button>
<el-button :disabled="authForm.shareStoreMode === '' && authForm.bindStoreMode === '' || (!changeFlag && authForm.shareStoreMode != '' && authForm.bindStoreMode != '' )" type="primary" @click="submitForm('authForm')">下一步</el-button>
<el-button :disabled="!changeFlag || (authForm.shareStoreMode === '' && authForm.bindStoreMode === '')" type="primary" @click="submitForm('authForm')">下一步</el-button>
</el-form-item>
</el-form>
</div>
......
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