Commit a7d4b6e6 by 无尘

fix: 修改选择商户

parent 0e601c5f
.auth-step-body[data-v-c9703e40]{width:400px;margin:0 auto}.el-alert__title[data-v-6246f46e]{line-height:23px}.color-f5222d[data-v-6246f46e]{color:#f5222d}.auth-commit-success[data-v-68854cb4]{margin-top:154px}.auth-commit-success .color-49c958[data-v-68854cb4]{color:#49c958}.auth-commit-success .font-60[data-v-68854cb4]{font-size:60px}.auth-commit-success .m-t-12[data-v-68854cb4]{margin-top:12px}.auth-commit-success .m-t-28[data-v-68854cb4]{margin-top:28px}.input-line-cell[data-v-730049ed]{position:relative;display:inline-block}.w-340[data-v-730049ed]{width:340px}.w-340[data-v-730049ed] .el-input__inner{font-size:14px;color:#fff;background-color:hsla(0,0%,100%,.1)}.el-textarea[data-v-730049ed] .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-730049ed]{opacity:.5}.el-input .is-disabled[data-v-730049ed] .el-input__inner{font-size:14px;color:#fff;background-color:hsla(0,0%,100%,.1)}.tip[data-v-730049ed]{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-1b25395e]{width:400px;margin:0 auto}.auth-commit-admin .color-49c958[data-v-1b25395e]{color:#49c958}.auth-commit-admin .font-60[data-v-1b25395e]{font-size:60px}.auth-commit-admin .m-t-12[data-v-1b25395e]{margin-top:12px}.auth-commit-admin .m-t-28[data-v-1b25395e]{margin-top:28px}.auth-commit-admin .m-b-32[data-v-1b25395e]{margin-bottom:32px}.auth-commit-admin .w-198[data-v-1b25395e]{width:198px}.auth-commit-admin .audit-admin-body[data-v-1b25395e]{min-width:500px}.auth-commit-admin .audit-admin-body .audit-admin[data-v-1b25395e]{position:relative;color:#606266;font-size:14px;padding:0 8px;margin-bottom:10px}.auth-commit-admin .audit-admin-body .audit-admin[data-v-1b25395e]: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-d61df484]{height:445px;overflow-y:auto;border:1px solid #e4e7ed}.m-b-20[data-v-638575ea]{margin-bottom:20px}.w-173[data-v-638575ea]{width:173px}.w-267[data-v-6ffc129d]{width:267px}.m-t-35[data-v-6ffc129d]{margin-top:35px}.el-input-group__prepend[data-v-6ffc129d]{display:inline-block;width:86px;height:32px;line-height:32px;vertical-align:top}.select-search-input[data-v-6ffc129d]{display:inline-block;margin-left:-2px}.company-select[data-v-6ffc129d]{position:relative}.company-select .el-select-dropdown__item[data-v-6ffc129d]{height:52px;line-height:52px}.company-select .text-ellipsis[data-v-6ffc129d]{max-width:200px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.my-customer-wrap[data-v-6ffc129d]{height:100%}.my-customer-wrap .w-227[data-v-6ffc129d]{width:227px}.my-customer-wrap .auth-tip-body[data-v-6ffc129d]{width:645px;margin:0 auto}.my-customer-wrap .enterprise-version[data-v-6ffc129d]{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-6ffc129d]{position:relative;width:350px;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-6ffc129d]{max-width:348px;white-space:nowrap;overflow:hidden}.right-content[data-v-6ffc129d]{padding:0 20px 20px 20px;min-height:calc(100% - 160px)}.right-content .right-box[data-v-6ffc129d]{background:#fff;min-height:500px;padding:0}.right-content .right-box .apps-content .apps-content-right[data-v-6ffc129d]{width:100%;padding:20px;background:#fff}.right-content .right-box .apps-content .apps-content-right .common-set-wrap[data-v-6ffc129d]{height:100%;background:#fff} .auth-step-body[data-v-c9703e40]{width:400px;margin:0 auto}.el-alert__title[data-v-6246f46e]{line-height:23px}.color-f5222d[data-v-6246f46e]{color:#f5222d}.auth-commit-success[data-v-68854cb4]{margin-top:154px}.auth-commit-success .color-49c958[data-v-68854cb4]{color:#49c958}.auth-commit-success .font-60[data-v-68854cb4]{font-size:60px}.auth-commit-success .m-t-12[data-v-68854cb4]{margin-top:12px}.auth-commit-success .m-t-28[data-v-68854cb4]{margin-top:28px}.input-line-cell[data-v-730049ed]{position:relative;display:inline-block}.w-340[data-v-730049ed]{width:340px}.w-340[data-v-730049ed] .el-input__inner{font-size:14px;color:#fff;background-color:hsla(0,0%,100%,.1)}.el-textarea[data-v-730049ed] .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-730049ed]{opacity:.5}.el-input .is-disabled[data-v-730049ed] .el-input__inner{font-size:14px;color:#fff;background-color:hsla(0,0%,100%,.1)}.tip[data-v-730049ed]{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-1b25395e]{width:400px;margin:0 auto}.auth-commit-admin .color-49c958[data-v-1b25395e]{color:#49c958}.auth-commit-admin .font-60[data-v-1b25395e]{font-size:60px}.auth-commit-admin .m-t-12[data-v-1b25395e]{margin-top:12px}.auth-commit-admin .m-t-28[data-v-1b25395e]{margin-top:28px}.auth-commit-admin .m-b-32[data-v-1b25395e]{margin-bottom:32px}.auth-commit-admin .w-198[data-v-1b25395e]{width:198px}.auth-commit-admin .audit-admin-body[data-v-1b25395e]{min-width:500px}.auth-commit-admin .audit-admin-body .audit-admin[data-v-1b25395e]{position:relative;color:#606266;font-size:14px;padding:0 8px;margin-bottom:10px}.auth-commit-admin .audit-admin-body .audit-admin[data-v-1b25395e]: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-d61df484]{height:445px;overflow-y:auto;border:1px solid #e4e7ed}.m-b-20[data-v-53942dfc]{margin-bottom:20px}.w-173[data-v-53942dfc]{width:173px}.w-267[data-v-6ffc129d]{width:267px}.m-t-35[data-v-6ffc129d]{margin-top:35px}.el-input-group__prepend[data-v-6ffc129d]{display:inline-block;width:86px;height:32px;line-height:32px;vertical-align:top}.select-search-input[data-v-6ffc129d]{display:inline-block;margin-left:-2px}.company-select[data-v-6ffc129d]{position:relative}.company-select .el-select-dropdown__item[data-v-6ffc129d]{height:52px;line-height:52px}.company-select .text-ellipsis[data-v-6ffc129d]{max-width:200px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.my-customer-wrap[data-v-6ffc129d]{height:100%}.my-customer-wrap .w-227[data-v-6ffc129d]{width:227px}.my-customer-wrap .auth-tip-body[data-v-6ffc129d]{width:645px;margin:0 auto}.my-customer-wrap .enterprise-version[data-v-6ffc129d]{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-6ffc129d]{position:relative;width:350px;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-6ffc129d]{max-width:348px;white-space:nowrap;overflow:hidden}.right-content[data-v-6ffc129d]{padding:0 20px 20px 20px;min-height:calc(100% - 160px)}.right-content .right-box[data-v-6ffc129d]{background:#fff;min-height:500px;padding:0}.right-content .right-box .apps-content .apps-content-right[data-v-6ffc129d]{width:100%;padding:20px;background:#fff}.right-content .right-box .apps-content .apps-content-right .common-set-wrap[data-v-6ffc129d]{height:100%;background:#fff}
\ No newline at end of file \ 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-00bd7ece.83ca8e47.css rel=prefetch><link href=css/chunk-064f007c.c42ef571.css rel=prefetch><link href=css/chunk-069d60c9.e5a9c2cb.css rel=prefetch><link href=css/chunk-1cc109e4.d4e92463.css rel=prefetch><link href=css/chunk-2270cb54.31ea5e58.css rel=prefetch><link href=css/chunk-2351fb9b.6efba3e1.css rel=prefetch><link href=css/chunk-25973b4d.ee520c65.css rel=prefetch><link href=css/chunk-2d0f5358.79adbaee.css rel=prefetch><link href=css/chunk-30f81def.134f322f.css rel=prefetch><link href=css/chunk-32d6ccb7.10b34206.css rel=prefetch><link href=css/chunk-3484ffc3.26d10b65.css rel=prefetch><link href=css/chunk-34a8e7a5.3a1368a9.css rel=prefetch><link href=css/chunk-366d46a4.128e230e.css rel=prefetch><link href=css/chunk-37259986.34356bc6.css rel=prefetch><link href=css/chunk-3b67bfe6.b8d5d6ad.css rel=prefetch><link href=css/chunk-443450ae.a3d126c0.css rel=prefetch><link href=css/chunk-45b70e81.aba0a312.css rel=prefetch><link href=css/chunk-4b898c1e.07d02776.css rel=prefetch><link href=css/chunk-4d95ae81.d3090a82.css rel=prefetch><link href=css/chunk-50f71fea.be3a3db1.css rel=prefetch><link href=css/chunk-52de3f88.7f8e8b41.css rel=prefetch><link href=css/chunk-58c7cfe7.2453681b.css rel=prefetch><link href=css/chunk-5ac51054.19d62a1f.css rel=prefetch><link href=css/chunk-6cfb9fed.d549d8d8.css rel=prefetch><link href=css/chunk-6dfc1c36.effcfd5e.css rel=prefetch><link href=css/chunk-6f32e3dc.b27b0c13.css rel=prefetch><link href=css/chunk-75476f62.5810db8d.css rel=prefetch><link href=css/chunk-75a9f160.91762898.css rel=prefetch><link href=css/chunk-769c26e2.1376fd41.css rel=prefetch><link href=css/chunk-7c18fb37.93e19818.css rel=prefetch><link href=css/chunk-7e20a98d.0b6786a8.css rel=prefetch><link href=css/chunk-81c7fbf0.7a5e892c.css rel=prefetch><link href=css/chunk-8d83647e.e5a9c2cb.css rel=prefetch><link href=css/chunk-b073f330.b7424a51.css rel=prefetch><link href=css/chunk-b5a93cb0.cb766a2c.css rel=prefetch><link href=css/chunk-b9a7d4fe.4b46a7ff.css rel=prefetch><link href=css/chunk-ba1c12aa.813bfa0b.css rel=prefetch><link href=css/chunk-bb378fe4.a54d7159.css rel=prefetch><link href=css/chunk-c2d4f890.7e26fbb5.css rel=prefetch><link href=css/chunk-d770307c.6d90556c.css rel=prefetch><link href=css/chunk-e81c0d56.d1685639.css rel=prefetch><link href=css/chunk-f217a9ae.f8b8c9ac.css rel=prefetch><link href=css/chunk-f4b91c90.030efe69.css rel=prefetch><link href=css/chunk-f7d636a6.e116ab36.css rel=prefetch><link href=js/chunk-00bd7ece.7e334edd.js rel=prefetch><link href=js/chunk-064f007c.cca954a8.js rel=prefetch><link href=js/chunk-069d60c9.8351ea1e.js rel=prefetch><link href=js/chunk-06fd5be4.82ef5609.js rel=prefetch><link href=js/chunk-1cc109e4.35cbc29c.js rel=prefetch><link href=js/chunk-2270cb54.2c02cf73.js rel=prefetch><link href=js/chunk-2351fb9b.8f3632bd.js rel=prefetch><link href=js/chunk-25973b4d.906decc4.js rel=prefetch><link href=js/chunk-2d0f5358.7e6da25b.js rel=prefetch><link href=js/chunk-30f81def.ad856fca.js rel=prefetch><link href=js/chunk-32d6ccb7.fb59b610.js rel=prefetch><link href=js/chunk-3484ffc3.3a43fde2.js rel=prefetch><link href=js/chunk-34a8e7a5.7d94842d.js rel=prefetch><link href=js/chunk-366d46a4.5ccf5281.js rel=prefetch><link href=js/chunk-37259986.f844e1c7.js rel=prefetch><link href=js/chunk-3b67bfe6.1a84c1ab.js rel=prefetch><link href=js/chunk-443450ae.98575a04.js rel=prefetch><link href=js/chunk-45b70e81.056e5325.js rel=prefetch><link href=js/chunk-4b898c1e.1776e041.js rel=prefetch><link href=js/chunk-4d95ae81.7c9b156a.js rel=prefetch><link href=js/chunk-50f71fea.b4f25ec6.js rel=prefetch><link href=js/chunk-52de3f88.38089c38.js rel=prefetch><link href=js/chunk-58c7cfe7.1867ec2e.js rel=prefetch><link href=js/chunk-5ac51054.ce025817.js rel=prefetch><link href=js/chunk-6cfb9fed.5a079026.js rel=prefetch><link href=js/chunk-6dfc1c36.3daf41cf.js rel=prefetch><link href=js/chunk-6f32e3dc.bd190efc.js rel=prefetch><link href=js/chunk-75476f62.543acc23.js rel=prefetch><link href=js/chunk-75a9f160.35c54393.js rel=prefetch><link href=js/chunk-769c26e2.d0ffc599.js rel=prefetch><link href=js/chunk-7c18fb37.3ecac0cc.js rel=prefetch><link href=js/chunk-7e20a98d.e9361ba0.js rel=prefetch><link href=js/chunk-81c7fbf0.fd621299.js rel=prefetch><link href=js/chunk-8d83647e.54c208d4.js rel=prefetch><link href=js/chunk-b073f330.e8356f25.js rel=prefetch><link href=js/chunk-b5a93cb0.b9e5b887.js rel=prefetch><link href=js/chunk-b9a7d4fe.3cf8fd52.js rel=prefetch><link href=js/chunk-ba1c12aa.7f20ac59.js rel=prefetch><link href=js/chunk-bb378fe4.e9aef7ca.js rel=prefetch><link href=js/chunk-c2d4f890.8fdfad26.js rel=prefetch><link href=js/chunk-d770307c.d9df8b41.js rel=prefetch><link href=js/chunk-e81c0d56.685880f8.js rel=prefetch><link href=js/chunk-f217a9ae.d9df0710.js rel=prefetch><link href=js/chunk-f4b91c90.97ddbee5.js rel=prefetch><link href=js/chunk-f7d636a6.3c390ae2.js rel=prefetch><link href=css/app.f1525482.css rel=preload as=style><link href=css/chunk-vendors.635bc84a.css rel=preload as=style><link href=js/app.c14d93bc.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.f1525482.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=//web-1251519181.file.myqcloud.com/components/transfer.1.0.24.js></script><script src=js/chunk-vendors.4646af85.js></script><script src=js/app.c14d93bc.js></script></body></html> <!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-00bd7ece.83ca8e47.css rel=prefetch><link href=css/chunk-064f007c.c42ef571.css rel=prefetch><link href=css/chunk-069d60c9.e5a9c2cb.css rel=prefetch><link href=css/chunk-1cc109e4.d4e92463.css rel=prefetch><link href=css/chunk-2270cb54.31ea5e58.css rel=prefetch><link href=css/chunk-2351fb9b.6efba3e1.css rel=prefetch><link href=css/chunk-25973b4d.ee520c65.css rel=prefetch><link href=css/chunk-2d0f5358.79adbaee.css rel=prefetch><link href=css/chunk-30f81def.134f322f.css rel=prefetch><link href=css/chunk-32d6ccb7.10b34206.css rel=prefetch><link href=css/chunk-3484ffc3.26d10b65.css rel=prefetch><link href=css/chunk-34a8e7a5.3a1368a9.css rel=prefetch><link href=css/chunk-366d46a4.128e230e.css rel=prefetch><link href=css/chunk-37259986.34356bc6.css rel=prefetch><link href=css/chunk-3b67bfe6.b8d5d6ad.css rel=prefetch><link href=css/chunk-443450ae.a3d126c0.css rel=prefetch><link href=css/chunk-45b70e81.aba0a312.css rel=prefetch><link href=css/chunk-4b898c1e.07d02776.css rel=prefetch><link href=css/chunk-4d95ae81.d3090a82.css rel=prefetch><link href=css/chunk-50f71fea.be3a3db1.css rel=prefetch><link href=css/chunk-52de3f88.7f8e8b41.css rel=prefetch><link href=css/chunk-58c7cfe7.2453681b.css rel=prefetch><link href=css/chunk-5aa5a0da.5fd69993.css rel=prefetch><link href=css/chunk-5ac51054.19d62a1f.css rel=prefetch><link href=css/chunk-6cfb9fed.d549d8d8.css rel=prefetch><link href=css/chunk-6dfc1c36.effcfd5e.css rel=prefetch><link href=css/chunk-6f32e3dc.b27b0c13.css rel=prefetch><link href=css/chunk-75476f62.5810db8d.css rel=prefetch><link href=css/chunk-75a9f160.91762898.css rel=prefetch><link href=css/chunk-769c26e2.1376fd41.css rel=prefetch><link href=css/chunk-7c18fb37.93e19818.css rel=prefetch><link href=css/chunk-7e20a98d.0b6786a8.css rel=prefetch><link href=css/chunk-81c7fbf0.7a5e892c.css rel=prefetch><link href=css/chunk-8d83647e.e5a9c2cb.css rel=prefetch><link href=css/chunk-b073f330.b7424a51.css rel=prefetch><link href=css/chunk-b5a93cb0.cb766a2c.css rel=prefetch><link href=css/chunk-b9a7d4fe.4b46a7ff.css rel=prefetch><link href=css/chunk-ba1c12aa.813bfa0b.css rel=prefetch><link href=css/chunk-bb378fe4.a54d7159.css rel=prefetch><link href=css/chunk-c2d4f890.7e26fbb5.css rel=prefetch><link href=css/chunk-d770307c.6d90556c.css rel=prefetch><link href=css/chunk-e81c0d56.d1685639.css rel=prefetch><link href=css/chunk-f4b91c90.030efe69.css rel=prefetch><link href=css/chunk-f7d636a6.e116ab36.css rel=prefetch><link href=js/chunk-00bd7ece.7e334edd.js rel=prefetch><link href=js/chunk-064f007c.cca954a8.js rel=prefetch><link href=js/chunk-069d60c9.8351ea1e.js rel=prefetch><link href=js/chunk-06fd5be4.82ef5609.js rel=prefetch><link href=js/chunk-1cc109e4.35cbc29c.js rel=prefetch><link href=js/chunk-2270cb54.2c02cf73.js rel=prefetch><link href=js/chunk-2351fb9b.8f3632bd.js rel=prefetch><link href=js/chunk-25973b4d.906decc4.js rel=prefetch><link href=js/chunk-2d0f5358.7e6da25b.js rel=prefetch><link href=js/chunk-30f81def.ad856fca.js rel=prefetch><link href=js/chunk-32d6ccb7.fb59b610.js rel=prefetch><link href=js/chunk-3484ffc3.3a43fde2.js rel=prefetch><link href=js/chunk-34a8e7a5.7d94842d.js rel=prefetch><link href=js/chunk-366d46a4.5ccf5281.js rel=prefetch><link href=js/chunk-37259986.f844e1c7.js rel=prefetch><link href=js/chunk-3b67bfe6.1a84c1ab.js rel=prefetch><link href=js/chunk-443450ae.98575a04.js rel=prefetch><link href=js/chunk-45b70e81.056e5325.js rel=prefetch><link href=js/chunk-4b898c1e.1776e041.js rel=prefetch><link href=js/chunk-4d95ae81.7c9b156a.js rel=prefetch><link href=js/chunk-50f71fea.b4f25ec6.js rel=prefetch><link href=js/chunk-52de3f88.38089c38.js rel=prefetch><link href=js/chunk-58c7cfe7.1867ec2e.js rel=prefetch><link href=js/chunk-5aa5a0da.276b9ebb.js rel=prefetch><link href=js/chunk-5ac51054.ce025817.js rel=prefetch><link href=js/chunk-6cfb9fed.5a079026.js rel=prefetch><link href=js/chunk-6dfc1c36.3daf41cf.js rel=prefetch><link href=js/chunk-6f32e3dc.bd190efc.js rel=prefetch><link href=js/chunk-75476f62.543acc23.js rel=prefetch><link href=js/chunk-75a9f160.35c54393.js rel=prefetch><link href=js/chunk-769c26e2.d0ffc599.js rel=prefetch><link href=js/chunk-7c18fb37.3ecac0cc.js rel=prefetch><link href=js/chunk-7e20a98d.e9361ba0.js rel=prefetch><link href=js/chunk-81c7fbf0.fd621299.js rel=prefetch><link href=js/chunk-8d83647e.54c208d4.js rel=prefetch><link href=js/chunk-b073f330.e8356f25.js rel=prefetch><link href=js/chunk-b5a93cb0.b9e5b887.js rel=prefetch><link href=js/chunk-b9a7d4fe.3cf8fd52.js rel=prefetch><link href=js/chunk-ba1c12aa.7f20ac59.js rel=prefetch><link href=js/chunk-bb378fe4.e9aef7ca.js rel=prefetch><link href=js/chunk-c2d4f890.8fdfad26.js rel=prefetch><link href=js/chunk-d770307c.d9df8b41.js rel=prefetch><link href=js/chunk-e81c0d56.685880f8.js rel=prefetch><link href=js/chunk-f4b91c90.97ddbee5.js rel=prefetch><link href=js/chunk-f7d636a6.3c390ae2.js rel=prefetch><link href=css/app.f1525482.css rel=preload as=style><link href=css/chunk-vendors.635bc84a.css rel=preload as=style><link href=js/app.9f7cf101.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.f1525482.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=//web-1251519181.file.myqcloud.com/components/transfer.1.0.24.js></script><script src=js/chunk-vendors.4646af85.js></script><script src=js/app.9f7cf101.js></script></body></html>
\ No newline at end of file \ No newline at end of file
(function(e){function n(n){for(var c,a,o=n[0],i=n[1],s=n[2],d=0,f=[];d<o.length;d++)a=o[d],Object.prototype.hasOwnProperty.call(r,a)&&r[a]&&f.push(r[a][0]),r[a]=0;for(c in i)Object.prototype.hasOwnProperty.call(i,c)&&(e[c]=i[c]);h&&h(n);while(f.length)f.shift()();return u.push.apply(u,s||[]),t()}function t(){for(var e,n=0;n<u.length;n++){for(var t=u[n],c=!0,a=1;a<t.length;a++){var o=t[a];0!==r[o]&&(c=!1)}c&&(u.splice(n--,1),e=i(i.s=t[0]))}return e}var c={},a={app:0},r={app:0},u=[];function o(e){return i.p+"js/"+({}[e]||e)+"."+{"chunk-00bd7ece":"7e334edd","chunk-064f007c":"cca954a8","chunk-069d60c9":"8351ea1e","chunk-06fd5be4":"82ef5609","chunk-443450ae":"98575a04","chunk-f7d636a6":"3c390ae2","chunk-3484ffc3":"3a43fde2","chunk-58c7cfe7":"1867ec2e","chunk-1cc109e4":"35cbc29c","chunk-2270cb54":"2c02cf73","chunk-2351fb9b":"8f3632bd","chunk-25973b4d":"906decc4","chunk-2d0f5358":"7e6da25b","chunk-30f81def":"ad856fca","chunk-32d6ccb7":"fb59b610","chunk-34a8e7a5":"7d94842d","chunk-366d46a4":"5ccf5281","chunk-37259986":"f844e1c7","chunk-3b67bfe6":"1a84c1ab","chunk-45b70e81":"056e5325","chunk-4b898c1e":"1776e041","chunk-4d95ae81":"7c9b156a","chunk-50f71fea":"b4f25ec6","chunk-52de3f88":"38089c38","chunk-5ac51054":"ce025817","chunk-6cfb9fed":"5a079026","chunk-6dfc1c36":"3daf41cf","chunk-6f32e3dc":"bd190efc","chunk-75476f62":"543acc23","chunk-75a9f160":"35c54393","chunk-769c26e2":"d0ffc599","chunk-7c18fb37":"3ecac0cc","chunk-7e20a98d":"e9361ba0","chunk-81c7fbf0":"fd621299","chunk-8d83647e":"54c208d4","chunk-b073f330":"e8356f25","chunk-b9a7d4fe":"3cf8fd52","chunk-ba1c12aa":"7f20ac59","chunk-bb378fe4":"e9aef7ca","chunk-c2d4f890":"8fdfad26","chunk-d770307c":"d9df8b41","chunk-e81c0d56":"685880f8","chunk-b5a93cb0":"b9e5b887","chunk-f217a9ae":"d9df0710","chunk-f4b91c90":"97ddbee5"}[e]+".js"}function i(n){if(c[n])return c[n].exports;var t=c[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-00bd7ece":1,"chunk-064f007c":1,"chunk-069d60c9":1,"chunk-443450ae":1,"chunk-f7d636a6":1,"chunk-3484ffc3":1,"chunk-58c7cfe7":1,"chunk-1cc109e4":1,"chunk-2270cb54":1,"chunk-2351fb9b":1,"chunk-25973b4d":1,"chunk-2d0f5358":1,"chunk-30f81def":1,"chunk-32d6ccb7":1,"chunk-34a8e7a5":1,"chunk-366d46a4":1,"chunk-37259986":1,"chunk-3b67bfe6":1,"chunk-45b70e81":1,"chunk-4b898c1e":1,"chunk-4d95ae81":1,"chunk-50f71fea":1,"chunk-52de3f88":1,"chunk-5ac51054":1,"chunk-6cfb9fed":1,"chunk-6dfc1c36":1,"chunk-6f32e3dc":1,"chunk-75476f62":1,"chunk-75a9f160":1,"chunk-769c26e2":1,"chunk-7c18fb37":1,"chunk-7e20a98d":1,"chunk-81c7fbf0":1,"chunk-8d83647e":1,"chunk-b073f330":1,"chunk-b9a7d4fe":1,"chunk-ba1c12aa":1,"chunk-bb378fe4":1,"chunk-c2d4f890":1,"chunk-d770307c":1,"chunk-e81c0d56":1,"chunk-b5a93cb0":1,"chunk-f217a9ae":1,"chunk-f4b91c90":1};a[e]?n.push(a[e]):0!==a[e]&&t[e]&&n.push(a[e]=new Promise((function(n,t){for(var c="css/"+({}[e]||e)+"."+{"chunk-00bd7ece":"83ca8e47","chunk-064f007c":"c42ef571","chunk-069d60c9":"e5a9c2cb","chunk-06fd5be4":"31d6cfe0","chunk-443450ae":"a3d126c0","chunk-f7d636a6":"e116ab36","chunk-3484ffc3":"26d10b65","chunk-58c7cfe7":"2453681b","chunk-1cc109e4":"d4e92463","chunk-2270cb54":"31ea5e58","chunk-2351fb9b":"6efba3e1","chunk-25973b4d":"ee520c65","chunk-2d0f5358":"79adbaee","chunk-30f81def":"134f322f","chunk-32d6ccb7":"10b34206","chunk-34a8e7a5":"3a1368a9","chunk-366d46a4":"128e230e","chunk-37259986":"34356bc6","chunk-3b67bfe6":"b8d5d6ad","chunk-45b70e81":"aba0a312","chunk-4b898c1e":"07d02776","chunk-4d95ae81":"d3090a82","chunk-50f71fea":"be3a3db1","chunk-52de3f88":"7f8e8b41","chunk-5ac51054":"19d62a1f","chunk-6cfb9fed":"d549d8d8","chunk-6dfc1c36":"effcfd5e","chunk-6f32e3dc":"b27b0c13","chunk-75476f62":"5810db8d","chunk-75a9f160":"91762898","chunk-769c26e2":"1376fd41","chunk-7c18fb37":"93e19818","chunk-7e20a98d":"0b6786a8","chunk-81c7fbf0":"7a5e892c","chunk-8d83647e":"e5a9c2cb","chunk-b073f330":"b7424a51","chunk-b9a7d4fe":"4b46a7ff","chunk-ba1c12aa":"813bfa0b","chunk-bb378fe4":"a54d7159","chunk-c2d4f890":"7e26fbb5","chunk-d770307c":"6d90556c","chunk-e81c0d56":"d1685639","chunk-b5a93cb0":"cb766a2c","chunk-f217a9ae":"f8b8c9ac","chunk-f4b91c90":"030efe69"}[e]+".css",r=i.p+c,u=document.getElementsByTagName("link"),o=0;o<u.length;o++){var s=u[o],d=s.getAttribute("data-href")||s.getAttribute("href");if("stylesheet"===s.rel&&(d===c||d===r))return n()}var f=document.getElementsByTagName("style");for(o=0;o<f.length;o++){s=f[o],d=s.getAttribute("data-href");if(d===c||d===r)return n()}var h=document.createElement("link");h.rel="stylesheet",h.type="text/css",h.onload=n,h.onerror=function(n){var c=n&&n.target&&n.target.src||r,u=new Error("Loading CSS chunk "+e+" failed.\n("+c+")");u.code="CSS_CHUNK_LOAD_FAILED",u.request=c,delete a[e],h.parentNode.removeChild(h),t(u)},h.href=r;var p=document.getElementsByTagName("head")[0];p.appendChild(h)})).then((function(){a[e]=0})));var c=r[e];if(0!==c)if(c)n.push(c[2]);else{var u=new Promise((function(n,t){c=r[e]=[n,t]}));n.push(c[2]=u);var s,d=document.createElement("script");d.charset="utf-8",d.timeout=120,i.nc&&d.setAttribute("nonce",i.nc),d.src=o(e);var f=new Error;s=function(n){d.onerror=d.onload=null,clearTimeout(h);var t=r[e];if(0!==t){if(t){var c=n&&("load"===n.type?"missing":n.type),a=n&&n.target&&n.target.src;f.message="Loading chunk "+e+" failed.\n("+c+": "+a+")",f.name="ChunkLoadError",f.type=c,f.request=a,t[1](f)}r[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=c,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 c in e)i.d(t,c,function(n){return e[n]}.bind(null,c));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;u.push([0,"chunk-vendors"]),t()})({0:function(e,n,t){t("db4d"),e.exports=t("56d7")},"1a5d":function(e,n,t){var c={"./app-controls/app-detail.vue":["9bc6","chunk-6cfb9fed"],"./app-controls/app-list.vue":["4a78","chunk-25973b4d"],"./app-controls/index.vue":["b04c","chunk-8d83647e"],"./apps/customer-app/clerk-tag.vue":["b5b0","chunk-06fd5be4","chunk-f7d636a6","chunk-58c7cfe7"],"./apps/customer-app/crowd-scene.vue":["c7d7","chunk-06fd5be4","chunk-f7d636a6","chunk-3484ffc3"],"./apps/customer-app/customer-assign.vue":["12eb","chunk-75476f62"],"./apps/customer-app/customer-data-set.vue":["3cf8","chunk-2d0f5358"],"./apps/customer-app/customer-show-set.vue":["f766","chunk-769c26e2"],"./apps/customer-app/data-dimension.vue":["55f3","chunk-06fd5be4","chunk-443450ae"],"./apps/customer-app/index.vue":["c3d9","chunk-366d46a4"],"./apps/index.vue":["7f2e","chunk-d770307c"],"./business/audit-log.vue":["0912","chunk-81c7fbf0"],"./business/auth-merchant.vue":["56b3","chunk-52de3f88"],"./business/contacts.vue":["a269","chunk-50f71fea"],"./business/index.vue":["50c8","chunk-bb378fe4"],"./business/new-auth-merchant.vue":["62a7","chunk-e81c0d56","chunk-f217a9ae"],"./business/sync-log.vue":["b155","chunk-b9a7d4fe"],"./enterprise/admin-list.vue":["db80","chunk-f4b91c90"],"./enterprise/admin-list/role-list.vue":["0082","chunk-b073f330"],"./enterprise/edit-admin.vue":["7dc6","chunk-e81c0d56","chunk-b5a93cb0"],"./enterprise/edit-role.vue":["2249","chunk-1cc109e4"],"./enterprise/edit-role/menu-tree.vue":["a088","chunk-34a8e7a5"],"./enterprise/edit-store-role.vue":["a960","chunk-3b67bfe6"],"./enterprise/enterprise-set.vue":["b735","chunk-7e20a98d"],"./enterprise/index.vue":["ea02","chunk-75a9f160"],"./enterprise/store-admin-list.vue":["2058","chunk-6f32e3dc"],"./enterprise/super-admin.vue":["9b74","chunk-c2d4f890"],"./error-page/403.vue":["5140","chunk-ba1c12aa"],"./error-page/404.vue":["1db4","chunk-2351fb9b"],"./error-page/500.vue":["721c","chunk-6dfc1c36"],"./error-page/gic-error.vue":["442d","chunk-37259986"],"./error-page/index.vue":["4cf1","chunk-7c18fb37"],"./index/index.vue":["37f9","chunk-45b70e81"],"./login/index.vue":["9ed6","chunk-2270cb54"],"./review-center/audit-config.vue":["daa8","chunk-4b898c1e"],"./review-center/audit-group-list.vue":["ff23","chunk-064f007c"],"./review-center/audit-item-list.vue":["727c","chunk-4d95ae81"],"./review-center/create-audit-group.vue":["ea11","chunk-32d6ccb7"],"./review-center/create-audit-item.vue":["e0c0","chunk-30f81def"],"./review-center/index.vue":["2cad","chunk-069d60c9"],"./review-center/reviewed.vue":["dacc","chunk-5ac51054"],"./review-center/unreview.vue":["1005","chunk-00bd7ece"]};function a(e){if(!t.o(c,e))return Promise.resolve().then((function(){var n=new Error("Cannot find module '"+e+"'");throw n.code="MODULE_NOT_FOUND",n}));var n=c[e],a=n[0];return Promise.all(n.slice(1).map(t.e)).then((function(){return t(a)}))}a.keys=function(){return Object.keys(c)},a.id="1a5d",e.exports=a},"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 c=t("8bbf"),a=t.n(c),r=t("8c4f"),u=t("cebe"),o=t.n(u),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,m=t("2877"),b=Object(m["a"])(p,d,f,!1,null,null,null),l=b.exports,k=t("e2b2"),g=t.n(k),v=function(e){t.e("chunk-7c18fb37").then(t.bind(null,"4cf1")).then((function(n){e(n)}))},w=[{path:"/",name:"/",redirect:"login"},{path:"/login",name:"登录",component:g()("login","index")},{path:"/index",name:"index",component:g()("index","index")},{path:"/contacts",name:"通讯录",redirect:"contactsList",component:g()("business","index"),children:[{path:"/contactsList",name:"通讯录",component:g()("business","contacts")},{path:"/syncLog",name:"通讯录日志",component:g()("business","sync-log")},{path:"/authMerchant",name:"授权商户",component:g()("business","auth-merchant")},{path:"/newAuthMerchant",name:"新增授权",component:g()("business","new-auth-merchant")},{path:"/auditLog",name:"审核日志",component:g()("business","audit-log")}]},{path:"/reviewCenter",name:"审核中心",redirect:"unreview",component:g()("review-center","index"),children:[{path:"/reviewed",name:"已审核",component:g()("review-center","reviewed")},{path:"/unreview",name:"未审核",component:g()("review-center","unreview")},{path:"/audit-group-list",meta:{title:"审核组列表"},component:g()("review-center","audit-group-list")},{path:"/create-audit-group",meta:{title:"新建、编辑审核组"},component:g()("review-center","create-audit-group")},{path:"/audit-item-list",meta:{title:"审核事项列表"},component:g()("review-center","audit-item-list")},{path:"/create-audit-item",meta:{title:"新建、编辑审核事项"},component:g()("review-center","create-audit-item")},{path:"/audit-config",meta:{title:"审核设置"},component:g()("review-center","audit-config")}]},{path:"/enterprise",name:"企业设置",redirect:"enterpriseSet",component:g()("enterprise","index"),children:[{path:"/enterpriseSet",name:"企业信息",component:g()("enterprise","enterprise-set")},{path:"/admin-list",name:"管理员",component:g()("enterprise","admin-list")},{path:"/edit-role",name:"新建、编辑角色",component:g()("enterprise","edit-role")},{path:"/edit-admin",name:"新建编辑管理员",component:g()("enterprise","edit-admin")},{path:"/store-admin-list",name:"门店角色",component:g()("enterprise","store-admin-list")},{path:"/edit-store-role",name:"编辑门店角色",component:g()("enterprise","edit-store-role")},{path:"/superAdmin",name:"超级管理员",component:g()("enterprise","super-admin")}]},{path:"/app-controls",meta:{title:"工作台"},redirect:"/app-list",component:g()("app-controls","index"),children:[{path:"/app-list",meta:{title:"服务应用"},component:g()("app-controls","app-list")},{path:"/app-detail",meta:{title:"服务应用详情"},component:g()("app-controls","app-detail")}]},{path:"/apps",name:"企业应用",redirect:"mycustomer",component:g()("apps","index"),children:[{path:"/my-customer",name:"我的顾客",redirect:"/data-dimension",component:g()("apps/customer-app","index"),children:[{path:"/data-dimension",name:"数据维度",component:g()("apps/customer-app","data-dimension")},{path:"/crowd-scene",name:"人群场景",component:g()("apps/customer-app","crowd-scene")},{path:"/customer-data-set",name:"顾客资料",component:g()("apps/customer-app","customer-data-set")},{path:"/clerk-tag",name:"导购标签",component:g()("apps/customer-app","clerk-tag")},{path:"/customer-assign",name:"顾客分配",component:g()("apps/customer-app","customer-assign")}]}]},{path:"/gic-error",name:"gic跳转失败页",component:g()("error-page","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=r["a"].prototype.push;r["a"].prototype.push=function(e){return y.call(this,e).catch((function(e){return e}))};var x=new r["a"]({routes:w}),M=x,S=(t("c5f6"),t("3b2b"),t("a481"),t("6b54"),function(e,n){if(!e)return"";e=10===e.toString().length?1e3*e:e;var t=new Date(e),c={"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 a in/(Y+)/.test(n)&&(n=n.replace(RegExp.$1,(t.getFullYear()+"").substr(4-RegExp.$1.length))),c)new RegExp("("+a+")").test(n)&&(n=n.replace(RegExp.$1,1===RegExp.$1.length?c[a]:("00"+c[a]).substr((""+c[a]).length)));return n}),O=function(e){if(!e)return"";var n=new Date(e),t=n.getMonth()+1,c=n.getDate()<10?"0"+n.getDate():n.getDate(),a=t<10?"0"+t:t,r=n.getHours()<10?"0"+n.getHours():n.getHours(),u=n.getMinutes()<10?"0"+n.getMinutes():n.getMinutes(),o=n.getSeconds()<10?"0"+n.getSeconds():n.getSeconds();return"".concat(n.getFullYear(),"-").concat(a,"-").concat(c," ").concat(r,":").concat(u,":").concat(o)},D=function(e){if(!e)return"";var n=new Date(e),t=n.getMonth()+1,c=n.getDate()<10?"0"+n.getDate():n.getDate(),a=t<10?"0"+t:t,r=n.getHours()<10?"0"+n.getHours():n.getHours(),u=n.getMinutes()<10?"0"+n.getMinutes():n.getMinutes(),o=n.getSeconds()<10?"0"+n.getSeconds():n.getSeconds();return"".concat(n.getFullYear(),".").concat(a,".").concat(c," ").concat(r,":").concat(u,":").concat(o)},j=function(e){if(!e)return"";var n=new Date(e),t=n.getMonth()+1,c=t<10?"0"+t:t;return"".concat(n.getFullYear(),"-").concat(c)},A=function(e){if(!e)return"";var n=new Date(e),t=n.getMonth()+1,c=n.getDate()<10?"0"+n.getDate():n.getDate(),a=t<10?"0"+t:t;return"".concat(n.getFullYear(),"-").concat(a,"-").concat(c)},E=function(e){if(!e)return"";var n=new Date(e),t=n.getHours()<10?"0"+n.getHours():n.getHours(),c=n.getMinutes()<10?"0"+n.getMinutes():n.getMinutes(),a=n.getSeconds()<10?"0"+n.getSeconds():n.getSeconds();return"".concat(t,":").concat(c,":").concat(a)},P=function(e){if(!e)return"";var n=new Date,t=new Date(Number(e)).getTime()-n.getTime();if(t<0)return"";var c=Math.floor(t/864e5),a=t%864e5,r=Math.floor(a/36e5),u=a%36e5,o=Math.floor(u/6e4);return"".concat(c,"天").concat(r,"小时").concat(o,"分")},T=function(e){return e?(e=e.toString(),e.substr(0,3)+"****"+e.substr(7,11)):""},C=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),c=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,a=Math.floor(n/60)%60<10?"0"+Math.floor(n/60)%60:Math.floor(n/60)%60,r=Math.floor(n)%60<10?"0"+Math.floor(n)%60:Math.floor(n)%60;return"".concat(c,":").concat(a,":").concat(r)},_={dateFormat:S,formatTimeStamp:O,timeStampToYm:j,timeStampToYmd:A,timeStampToHms:E,formatTimeYmdHms:D,formatPhoneNum:T,formatName:C,timeStampSpace:P,formatTime:L,formatWord:H},F=(t("96cf"),t("1da1")),N=(t("5df3"),t("b775")),R=[],Y=[],$={};function U(){var e=new Promise((function(e){Object(N["a"])({url:"/hb-manage-web/list-staff-role-menu"}).then((function(e){Y=q(e.result||[])})).finally(e)})),n=new Promise((function(e){Object(N["a"])({url:"/hb-manage-web/list-staff-role-opeation"}).then((function(e){$=B(e.result||[])})).finally(e)}));return Promise.all([e,n])}function q(e){var n=[];return e.forEach((function(e){e.menuUrl&&n.push(e.menuUrl),Array.isArray(e.children)&&(n=n.concat(q(e.children)))})),n}function B(e){var n={};return e.forEach((function(e){n[e.menuCode]=!0})),n}function I(e){var n=[];return e.forEach((function(e){Array.isArray(e.children)&&(n=n.concat(I(e.children))),n.push(e.path)})),n}function J(e,n,t){var c=Y.some((function(n){return n.indexOf("/#")>=0?n=="/#".concat(e.path):n==e.path}));if(c)return t();R.some((function(n){return n==e.path}))||0==Y.length?t("/gic-error"):t(Y[0])}function W(e){return!!$[e]}var K=function(e){var n=e.whiteRoute,t=e.router,c=e.routes,a=e.createApp;window.onload=Object(F["a"])(regeneratorRuntime.mark((function e(){var r;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(r=window.location.href,-1!=r.indexOf("/login")||-1!=r.indexOf("/gic-error")){e.next=4;break}return e.next=4,U();case 4:Array.isArray(n)&&(Y=Y.concat(n)),Array.isArray(c)&&(R=I(c)),t.beforeEach(J),"function"==typeof a&&a();case 8:case"end":return e.stop()}}),e)})))},V=t("f121");a.a.use(r["a"]),a.a.use(s.a),o.a.defaults.withCredentials=!0,a.a.prototype.axios=o.a,a.a.prototype.$itemPerm=W,a.a.prototype.$itemCode=V["a"],a.a.config.devtools=!1,a.a.config.productionTip=!1,Object.keys(_).forEach((function(e){a.a.filter(e,_[e])}));var z=["/data-dimension","/crowd-scene","/customer-data-set","/clerk-tag","/customer-assign"];K({whiteRoute:["/login","/contactsList","/gic-error","/403","/404","/500"].concat(z),router:M,routes:w,createApp:function(){new a.a({router:M,render:function(e){return e(l)}}).$mount("#app")}})},"8bbf":function(e,n){e.exports=Vue},b775:function(e,n,t){"use strict";t.d(n,"a",(function(){return s}));var c=t("cebe"),a=t.n(c),r=t("4328"),u=t.n(r),o=t("5c96"),i=t("f121");a.a.defaults.baseURL=i["c"],a.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=u.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){a()(t).then((function(c){var a=c.data;return a.code==i["b"]?(window.location.href="".concat(i["c"],"/haoban-4/#/login"),n(a)):t.useIntercept&&a.code!=i["d"]?(Object(o["Message"])({message:a.message||"未知错误",type:"warning"}),n(a)):void e(a)})).catch((function(e){var t=e.response||{},c=t.data||{};Object(o["Message"])({message:c.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(c){t("1a5d")("./"+e+"/"+n+".vue").then((function(e){c(e)}))}}},f121:function(e,n,t){"use strict";function c(){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 a})),t.d(n,"d",(function(){return r})),t.d(n,"b",(function(){return u})),t.d(n,"a",(function(){return o}));var a=c(),r="0000",u="0003",o={batchAudit:"batchAudit"}}}); (function(e){function n(n){for(var c,a,o=n[0],i=n[1],s=n[2],d=0,f=[];d<o.length;d++)a=o[d],Object.prototype.hasOwnProperty.call(r,a)&&r[a]&&f.push(r[a][0]),r[a]=0;for(c in i)Object.prototype.hasOwnProperty.call(i,c)&&(e[c]=i[c]);h&&h(n);while(f.length)f.shift()();return u.push.apply(u,s||[]),t()}function t(){for(var e,n=0;n<u.length;n++){for(var t=u[n],c=!0,a=1;a<t.length;a++){var o=t[a];0!==r[o]&&(c=!1)}c&&(u.splice(n--,1),e=i(i.s=t[0]))}return e}var c={},a={app:0},r={app:0},u=[];function o(e){return i.p+"js/"+({}[e]||e)+"."+{"chunk-00bd7ece":"7e334edd","chunk-064f007c":"cca954a8","chunk-069d60c9":"8351ea1e","chunk-06fd5be4":"82ef5609","chunk-443450ae":"98575a04","chunk-f7d636a6":"3c390ae2","chunk-3484ffc3":"3a43fde2","chunk-58c7cfe7":"1867ec2e","chunk-1cc109e4":"35cbc29c","chunk-2270cb54":"2c02cf73","chunk-2351fb9b":"8f3632bd","chunk-25973b4d":"906decc4","chunk-2d0f5358":"7e6da25b","chunk-30f81def":"ad856fca","chunk-32d6ccb7":"fb59b610","chunk-34a8e7a5":"7d94842d","chunk-366d46a4":"5ccf5281","chunk-37259986":"f844e1c7","chunk-3b67bfe6":"1a84c1ab","chunk-45b70e81":"056e5325","chunk-4b898c1e":"1776e041","chunk-4d95ae81":"7c9b156a","chunk-50f71fea":"b4f25ec6","chunk-52de3f88":"38089c38","chunk-5ac51054":"ce025817","chunk-6cfb9fed":"5a079026","chunk-6dfc1c36":"3daf41cf","chunk-6f32e3dc":"bd190efc","chunk-75476f62":"543acc23","chunk-75a9f160":"35c54393","chunk-769c26e2":"d0ffc599","chunk-7c18fb37":"3ecac0cc","chunk-7e20a98d":"e9361ba0","chunk-81c7fbf0":"fd621299","chunk-8d83647e":"54c208d4","chunk-b073f330":"e8356f25","chunk-b9a7d4fe":"3cf8fd52","chunk-ba1c12aa":"7f20ac59","chunk-bb378fe4":"e9aef7ca","chunk-c2d4f890":"8fdfad26","chunk-d770307c":"d9df8b41","chunk-e81c0d56":"685880f8","chunk-5aa5a0da":"276b9ebb","chunk-b5a93cb0":"b9e5b887","chunk-f4b91c90":"97ddbee5"}[e]+".js"}function i(n){if(c[n])return c[n].exports;var t=c[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-00bd7ece":1,"chunk-064f007c":1,"chunk-069d60c9":1,"chunk-443450ae":1,"chunk-f7d636a6":1,"chunk-3484ffc3":1,"chunk-58c7cfe7":1,"chunk-1cc109e4":1,"chunk-2270cb54":1,"chunk-2351fb9b":1,"chunk-25973b4d":1,"chunk-2d0f5358":1,"chunk-30f81def":1,"chunk-32d6ccb7":1,"chunk-34a8e7a5":1,"chunk-366d46a4":1,"chunk-37259986":1,"chunk-3b67bfe6":1,"chunk-45b70e81":1,"chunk-4b898c1e":1,"chunk-4d95ae81":1,"chunk-50f71fea":1,"chunk-52de3f88":1,"chunk-5ac51054":1,"chunk-6cfb9fed":1,"chunk-6dfc1c36":1,"chunk-6f32e3dc":1,"chunk-75476f62":1,"chunk-75a9f160":1,"chunk-769c26e2":1,"chunk-7c18fb37":1,"chunk-7e20a98d":1,"chunk-81c7fbf0":1,"chunk-8d83647e":1,"chunk-b073f330":1,"chunk-b9a7d4fe":1,"chunk-ba1c12aa":1,"chunk-bb378fe4":1,"chunk-c2d4f890":1,"chunk-d770307c":1,"chunk-e81c0d56":1,"chunk-5aa5a0da":1,"chunk-b5a93cb0":1,"chunk-f4b91c90":1};a[e]?n.push(a[e]):0!==a[e]&&t[e]&&n.push(a[e]=new Promise((function(n,t){for(var c="css/"+({}[e]||e)+"."+{"chunk-00bd7ece":"83ca8e47","chunk-064f007c":"c42ef571","chunk-069d60c9":"e5a9c2cb","chunk-06fd5be4":"31d6cfe0","chunk-443450ae":"a3d126c0","chunk-f7d636a6":"e116ab36","chunk-3484ffc3":"26d10b65","chunk-58c7cfe7":"2453681b","chunk-1cc109e4":"d4e92463","chunk-2270cb54":"31ea5e58","chunk-2351fb9b":"6efba3e1","chunk-25973b4d":"ee520c65","chunk-2d0f5358":"79adbaee","chunk-30f81def":"134f322f","chunk-32d6ccb7":"10b34206","chunk-34a8e7a5":"3a1368a9","chunk-366d46a4":"128e230e","chunk-37259986":"34356bc6","chunk-3b67bfe6":"b8d5d6ad","chunk-45b70e81":"aba0a312","chunk-4b898c1e":"07d02776","chunk-4d95ae81":"d3090a82","chunk-50f71fea":"be3a3db1","chunk-52de3f88":"7f8e8b41","chunk-5ac51054":"19d62a1f","chunk-6cfb9fed":"d549d8d8","chunk-6dfc1c36":"effcfd5e","chunk-6f32e3dc":"b27b0c13","chunk-75476f62":"5810db8d","chunk-75a9f160":"91762898","chunk-769c26e2":"1376fd41","chunk-7c18fb37":"93e19818","chunk-7e20a98d":"0b6786a8","chunk-81c7fbf0":"7a5e892c","chunk-8d83647e":"e5a9c2cb","chunk-b073f330":"b7424a51","chunk-b9a7d4fe":"4b46a7ff","chunk-ba1c12aa":"813bfa0b","chunk-bb378fe4":"a54d7159","chunk-c2d4f890":"7e26fbb5","chunk-d770307c":"6d90556c","chunk-e81c0d56":"d1685639","chunk-5aa5a0da":"5fd69993","chunk-b5a93cb0":"cb766a2c","chunk-f4b91c90":"030efe69"}[e]+".css",r=i.p+c,u=document.getElementsByTagName("link"),o=0;o<u.length;o++){var s=u[o],d=s.getAttribute("data-href")||s.getAttribute("href");if("stylesheet"===s.rel&&(d===c||d===r))return n()}var f=document.getElementsByTagName("style");for(o=0;o<f.length;o++){s=f[o],d=s.getAttribute("data-href");if(d===c||d===r)return n()}var h=document.createElement("link");h.rel="stylesheet",h.type="text/css",h.onload=n,h.onerror=function(n){var c=n&&n.target&&n.target.src||r,u=new Error("Loading CSS chunk "+e+" failed.\n("+c+")");u.code="CSS_CHUNK_LOAD_FAILED",u.request=c,delete a[e],h.parentNode.removeChild(h),t(u)},h.href=r;var p=document.getElementsByTagName("head")[0];p.appendChild(h)})).then((function(){a[e]=0})));var c=r[e];if(0!==c)if(c)n.push(c[2]);else{var u=new Promise((function(n,t){c=r[e]=[n,t]}));n.push(c[2]=u);var s,d=document.createElement("script");d.charset="utf-8",d.timeout=120,i.nc&&d.setAttribute("nonce",i.nc),d.src=o(e);var f=new Error;s=function(n){d.onerror=d.onload=null,clearTimeout(h);var t=r[e];if(0!==t){if(t){var c=n&&("load"===n.type?"missing":n.type),a=n&&n.target&&n.target.src;f.message="Loading chunk "+e+" failed.\n("+c+": "+a+")",f.name="ChunkLoadError",f.type=c,f.request=a,t[1](f)}r[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=c,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 c in e)i.d(t,c,function(n){return e[n]}.bind(null,c));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;u.push([0,"chunk-vendors"]),t()})({0:function(e,n,t){t("db4d"),e.exports=t("56d7")},"1a5d":function(e,n,t){var c={"./app-controls/app-detail.vue":["9bc6","chunk-6cfb9fed"],"./app-controls/app-list.vue":["4a78","chunk-25973b4d"],"./app-controls/index.vue":["b04c","chunk-8d83647e"],"./apps/customer-app/clerk-tag.vue":["b5b0","chunk-06fd5be4","chunk-f7d636a6","chunk-58c7cfe7"],"./apps/customer-app/crowd-scene.vue":["c7d7","chunk-06fd5be4","chunk-f7d636a6","chunk-3484ffc3"],"./apps/customer-app/customer-assign.vue":["12eb","chunk-75476f62"],"./apps/customer-app/customer-data-set.vue":["3cf8","chunk-2d0f5358"],"./apps/customer-app/customer-show-set.vue":["f766","chunk-769c26e2"],"./apps/customer-app/data-dimension.vue":["55f3","chunk-06fd5be4","chunk-443450ae"],"./apps/customer-app/index.vue":["c3d9","chunk-366d46a4"],"./apps/index.vue":["7f2e","chunk-d770307c"],"./business/audit-log.vue":["0912","chunk-81c7fbf0"],"./business/auth-merchant.vue":["56b3","chunk-52de3f88"],"./business/contacts.vue":["a269","chunk-50f71fea"],"./business/index.vue":["50c8","chunk-bb378fe4"],"./business/new-auth-merchant.vue":["62a7","chunk-e81c0d56","chunk-5aa5a0da"],"./business/sync-log.vue":["b155","chunk-b9a7d4fe"],"./enterprise/admin-list.vue":["db80","chunk-f4b91c90"],"./enterprise/admin-list/role-list.vue":["0082","chunk-b073f330"],"./enterprise/edit-admin.vue":["7dc6","chunk-e81c0d56","chunk-b5a93cb0"],"./enterprise/edit-role.vue":["2249","chunk-1cc109e4"],"./enterprise/edit-role/menu-tree.vue":["a088","chunk-34a8e7a5"],"./enterprise/edit-store-role.vue":["a960","chunk-3b67bfe6"],"./enterprise/enterprise-set.vue":["b735","chunk-7e20a98d"],"./enterprise/index.vue":["ea02","chunk-75a9f160"],"./enterprise/store-admin-list.vue":["2058","chunk-6f32e3dc"],"./enterprise/super-admin.vue":["9b74","chunk-c2d4f890"],"./error-page/403.vue":["5140","chunk-ba1c12aa"],"./error-page/404.vue":["1db4","chunk-2351fb9b"],"./error-page/500.vue":["721c","chunk-6dfc1c36"],"./error-page/gic-error.vue":["442d","chunk-37259986"],"./error-page/index.vue":["4cf1","chunk-7c18fb37"],"./index/index.vue":["37f9","chunk-45b70e81"],"./login/index.vue":["9ed6","chunk-2270cb54"],"./review-center/audit-config.vue":["daa8","chunk-4b898c1e"],"./review-center/audit-group-list.vue":["ff23","chunk-064f007c"],"./review-center/audit-item-list.vue":["727c","chunk-4d95ae81"],"./review-center/create-audit-group.vue":["ea11","chunk-32d6ccb7"],"./review-center/create-audit-item.vue":["e0c0","chunk-30f81def"],"./review-center/index.vue":["2cad","chunk-069d60c9"],"./review-center/reviewed.vue":["dacc","chunk-5ac51054"],"./review-center/unreview.vue":["1005","chunk-00bd7ece"]};function a(e){if(!t.o(c,e))return Promise.resolve().then((function(){var n=new Error("Cannot find module '"+e+"'");throw n.code="MODULE_NOT_FOUND",n}));var n=c[e],a=n[0];return Promise.all(n.slice(1).map(t.e)).then((function(){return t(a)}))}a.keys=function(){return Object.keys(c)},a.id="1a5d",e.exports=a},"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 c=t("8bbf"),a=t.n(c),r=t("8c4f"),u=t("cebe"),o=t.n(u),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,m=t("2877"),b=Object(m["a"])(p,d,f,!1,null,null,null),l=b.exports,k=t("e2b2"),g=t.n(k),v=function(e){t.e("chunk-7c18fb37").then(t.bind(null,"4cf1")).then((function(n){e(n)}))},w=[{path:"/",name:"/",redirect:"login"},{path:"/login",name:"登录",component:g()("login","index")},{path:"/index",name:"index",component:g()("index","index")},{path:"/contacts",name:"通讯录",redirect:"contactsList",component:g()("business","index"),children:[{path:"/contactsList",name:"通讯录",component:g()("business","contacts")},{path:"/syncLog",name:"通讯录日志",component:g()("business","sync-log")},{path:"/authMerchant",name:"授权商户",component:g()("business","auth-merchant")},{path:"/newAuthMerchant",name:"新增授权",component:g()("business","new-auth-merchant")},{path:"/auditLog",name:"审核日志",component:g()("business","audit-log")}]},{path:"/reviewCenter",name:"审核中心",redirect:"unreview",component:g()("review-center","index"),children:[{path:"/reviewed",name:"已审核",component:g()("review-center","reviewed")},{path:"/unreview",name:"未审核",component:g()("review-center","unreview")},{path:"/audit-group-list",meta:{title:"审核组列表"},component:g()("review-center","audit-group-list")},{path:"/create-audit-group",meta:{title:"新建、编辑审核组"},component:g()("review-center","create-audit-group")},{path:"/audit-item-list",meta:{title:"审核事项列表"},component:g()("review-center","audit-item-list")},{path:"/create-audit-item",meta:{title:"新建、编辑审核事项"},component:g()("review-center","create-audit-item")},{path:"/audit-config",meta:{title:"审核设置"},component:g()("review-center","audit-config")}]},{path:"/enterprise",name:"企业设置",redirect:"enterpriseSet",component:g()("enterprise","index"),children:[{path:"/enterpriseSet",name:"企业信息",component:g()("enterprise","enterprise-set")},{path:"/admin-list",name:"管理员",component:g()("enterprise","admin-list")},{path:"/edit-role",name:"新建、编辑角色",component:g()("enterprise","edit-role")},{path:"/edit-admin",name:"新建编辑管理员",component:g()("enterprise","edit-admin")},{path:"/store-admin-list",name:"门店角色",component:g()("enterprise","store-admin-list")},{path:"/edit-store-role",name:"编辑门店角色",component:g()("enterprise","edit-store-role")},{path:"/superAdmin",name:"超级管理员",component:g()("enterprise","super-admin")}]},{path:"/app-controls",meta:{title:"工作台"},redirect:"/app-list",component:g()("app-controls","index"),children:[{path:"/app-list",meta:{title:"服务应用"},component:g()("app-controls","app-list")},{path:"/app-detail",meta:{title:"服务应用详情"},component:g()("app-controls","app-detail")}]},{path:"/apps",name:"企业应用",redirect:"mycustomer",component:g()("apps","index"),children:[{path:"/my-customer",name:"我的顾客",redirect:"/data-dimension",component:g()("apps/customer-app","index"),children:[{path:"/data-dimension",name:"数据维度",component:g()("apps/customer-app","data-dimension")},{path:"/crowd-scene",name:"人群场景",component:g()("apps/customer-app","crowd-scene")},{path:"/customer-data-set",name:"顾客资料",component:g()("apps/customer-app","customer-data-set")},{path:"/clerk-tag",name:"导购标签",component:g()("apps/customer-app","clerk-tag")},{path:"/customer-assign",name:"顾客分配",component:g()("apps/customer-app","customer-assign")}]}]},{path:"/gic-error",name:"gic跳转失败页",component:g()("error-page","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=r["a"].prototype.push;r["a"].prototype.push=function(e){return y.call(this,e).catch((function(e){return e}))};var x=new r["a"]({routes:w}),M=x,S=(t("c5f6"),t("3b2b"),t("a481"),t("6b54"),function(e,n){if(!e)return"";e=10===e.toString().length?1e3*e:e;var t=new Date(e),c={"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 a in/(Y+)/.test(n)&&(n=n.replace(RegExp.$1,(t.getFullYear()+"").substr(4-RegExp.$1.length))),c)new RegExp("("+a+")").test(n)&&(n=n.replace(RegExp.$1,1===RegExp.$1.length?c[a]:("00"+c[a]).substr((""+c[a]).length)));return n}),O=function(e){if(!e)return"";var n=new Date(e),t=n.getMonth()+1,c=n.getDate()<10?"0"+n.getDate():n.getDate(),a=t<10?"0"+t:t,r=n.getHours()<10?"0"+n.getHours():n.getHours(),u=n.getMinutes()<10?"0"+n.getMinutes():n.getMinutes(),o=n.getSeconds()<10?"0"+n.getSeconds():n.getSeconds();return"".concat(n.getFullYear(),"-").concat(a,"-").concat(c," ").concat(r,":").concat(u,":").concat(o)},D=function(e){if(!e)return"";var n=new Date(e),t=n.getMonth()+1,c=n.getDate()<10?"0"+n.getDate():n.getDate(),a=t<10?"0"+t:t,r=n.getHours()<10?"0"+n.getHours():n.getHours(),u=n.getMinutes()<10?"0"+n.getMinutes():n.getMinutes(),o=n.getSeconds()<10?"0"+n.getSeconds():n.getSeconds();return"".concat(n.getFullYear(),".").concat(a,".").concat(c," ").concat(r,":").concat(u,":").concat(o)},j=function(e){if(!e)return"";var n=new Date(e),t=n.getMonth()+1,c=t<10?"0"+t:t;return"".concat(n.getFullYear(),"-").concat(c)},A=function(e){if(!e)return"";var n=new Date(e),t=n.getMonth()+1,c=n.getDate()<10?"0"+n.getDate():n.getDate(),a=t<10?"0"+t:t;return"".concat(n.getFullYear(),"-").concat(a,"-").concat(c)},E=function(e){if(!e)return"";var n=new Date(e),t=n.getHours()<10?"0"+n.getHours():n.getHours(),c=n.getMinutes()<10?"0"+n.getMinutes():n.getMinutes(),a=n.getSeconds()<10?"0"+n.getSeconds():n.getSeconds();return"".concat(t,":").concat(c,":").concat(a)},P=function(e){if(!e)return"";var n=new Date,t=new Date(Number(e)).getTime()-n.getTime();if(t<0)return"";var c=Math.floor(t/864e5),a=t%864e5,r=Math.floor(a/36e5),u=a%36e5,o=Math.floor(u/6e4);return"".concat(c,"天").concat(r,"小时").concat(o,"分")},T=function(e){return e?(e=e.toString(),e.substr(0,3)+"****"+e.substr(7,11)):""},C=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),c=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,a=Math.floor(n/60)%60<10?"0"+Math.floor(n/60)%60:Math.floor(n/60)%60,r=Math.floor(n)%60<10?"0"+Math.floor(n)%60:Math.floor(n)%60;return"".concat(c,":").concat(a,":").concat(r)},_={dateFormat:S,formatTimeStamp:O,timeStampToYm:j,timeStampToYmd:A,timeStampToHms:E,formatTimeYmdHms:D,formatPhoneNum:T,formatName:C,timeStampSpace:P,formatTime:L,formatWord:H},F=(t("96cf"),t("1da1")),N=(t("5df3"),t("b775")),R=[],Y=[],$={};function U(){var e=new Promise((function(e){Object(N["a"])({url:"/hb-manage-web/list-staff-role-menu"}).then((function(e){Y=q(e.result||[])})).finally(e)})),n=new Promise((function(e){Object(N["a"])({url:"/hb-manage-web/list-staff-role-opeation"}).then((function(e){$=B(e.result||[])})).finally(e)}));return Promise.all([e,n])}function q(e){var n=[];return e.forEach((function(e){e.menuUrl&&n.push(e.menuUrl),Array.isArray(e.children)&&(n=n.concat(q(e.children)))})),n}function B(e){var n={};return e.forEach((function(e){n[e.menuCode]=!0})),n}function I(e){var n=[];return e.forEach((function(e){Array.isArray(e.children)&&(n=n.concat(I(e.children))),n.push(e.path)})),n}function J(e,n,t){var c=Y.some((function(n){return n.indexOf("/#")>=0?n=="/#".concat(e.path):n==e.path}));if(c)return t();R.some((function(n){return n==e.path}))||0==Y.length?t("/gic-error"):t(Y[0])}function W(e){return!!$[e]}var K=function(e){var n=e.whiteRoute,t=e.router,c=e.routes,a=e.createApp;window.onload=Object(F["a"])(regeneratorRuntime.mark((function e(){var r;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(r=window.location.href,-1!=r.indexOf("/login")||-1!=r.indexOf("/gic-error")){e.next=4;break}return e.next=4,U();case 4:Array.isArray(n)&&(Y=Y.concat(n)),Array.isArray(c)&&(R=I(c)),t.beforeEach(J),"function"==typeof a&&a();case 8:case"end":return e.stop()}}),e)})))},V=t("f121");a.a.use(r["a"]),a.a.use(s.a),o.a.defaults.withCredentials=!0,a.a.prototype.axios=o.a,a.a.prototype.$itemPerm=W,a.a.prototype.$itemCode=V["a"],a.a.config.devtools=!1,a.a.config.productionTip=!1,Object.keys(_).forEach((function(e){a.a.filter(e,_[e])}));var z=["/data-dimension","/crowd-scene","/customer-data-set","/clerk-tag","/customer-assign"];K({whiteRoute:["/login","/contactsList","/gic-error","/403","/404","/500"].concat(z),router:M,routes:w,createApp:function(){new a.a({router:M,render:function(e){return e(l)}}).$mount("#app")}})},"8bbf":function(e,n){e.exports=Vue},b775:function(e,n,t){"use strict";t.d(n,"a",(function(){return s}));var c=t("cebe"),a=t.n(c),r=t("4328"),u=t.n(r),o=t("5c96"),i=t("f121");a.a.defaults.baseURL=i["c"],a.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=u.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){a()(t).then((function(c){var a=c.data;return a.code==i["b"]?(window.location.href="".concat(i["c"],"/haoban-4/#/login"),n(a)):t.useIntercept&&a.code!=i["d"]?(Object(o["Message"])({message:a.message||"未知错误",type:"warning"}),n(a)):void e(a)})).catch((function(e){var t=e.response||{},c=t.data||{};Object(o["Message"])({message:c.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(c){t("1a5d")("./"+e+"/"+n+".vue").then((function(e){c(e)}))}}},f121:function(e,n,t){"use strict";function c(){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 a})),t.d(n,"d",(function(){return r})),t.d(n,"b",(function(){return u})),t.d(n,"a",(function(){return o}));var a=c(),r="0000",u="0003",o={batchAudit:"batchAudit"}}});
\ No newline at end of file \ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-f217a9ae"],{"0676":function(t,e,a){},"0ac0":function(t,e,a){},"220a":function(t,e,a){},2581: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 s=t.charAt(r);if(1==a&&(encodeURI(s).length>2?n+=1:n+=.5),2==a&&(n+=1),n>=e){var i=n==e?r+1:r;return t.substr(0,i)}}},getByteVal:function(t,e){for(var a=""==t||null==t?"":t,n="",r=0,s=0;s<a.length;s++){if(null!=a[s].match(/[^\x00-\xff]/gi)?r+=1:r+=.5,r>e)break;n+=a[s]}return n},getCharVal:function(t,e){for(var a=""==t||null==t?"":t,n="",r=0,s=0;s<a.length;s++){if(null!=a[s].match(/[^\x00-\xff]/gi)?r+=2:r+=1,r>e)break;n+=a[s]}return n},regPos:function(t){var e=/^\d+(\.\d+)?$/;return e.test(t)}}},"3c06":function(t,e,a){},"3d3b":function(t,e,a){},4917:function(t,e,a){"use strict";var n=a("cb7c"),r=a("9def"),s=a("0390"),i=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),l=String(this);if(!c.global)return i(c,l);var u=c.unicode;c.lastIndex=0;var m,d=[],h=0;while(null!==(m=i(c,l))){var p=String(m[0]);d[h]=p,""===p&&(c.lastIndex=s(l,r(c.lastIndex),u)),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:{"active-step":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("div",{staticClass:"el-input-group__prepend"},[t._v("GIC4.0")]),t.$route.query.enterpriseId?t._e():a("el-popover",{attrs:{placement:"bottom",title:"",trigger:"click","popper-class":"company-select-pop",width:"267"}},[a("div",{staticClass:"company-select"},[a("div",{staticClass:"el-scrollbar define-search-select"},[a("div",{staticClass:"el-select-dropdown__wrap el-scrollbar__wrap",staticStyle:{overflow:"auto"}},[a("ul",{staticClass:"el-scrollbar__view el-select-dropdown__list"},[t._l(t.searchArray,(function(e,n){return a("li",{key:n+"search",staticClass:"el-select-dropdown__item",on:{click:function(a){return t.getAdmin(e)}}},[a("div",{staticClass:"flex flex-space-between"},[a("div",{staticStyle:{"line-height":"26px"}},[a("span",{staticClass:"block text-ellipsis"},[t._v(t._s(e.enterpriseName||"--"))]),a("div",{staticClass:"text-ellipsis font-12 color-909399"},[t._v(t._s(e.companyName||"--"))])]),e.enterpriseId==t.authForm.enterpriseId?a("span",{staticClass:"font-12 color-2f54eb el-icon-check flex-align-center",staticStyle:{display:"flex"}}):t._e()])])})),t.searchArray.length?t._e():a("li",{staticClass:"el-select-dropdown__item text-center"},[t._v("暂无商户数据")])],2)])])]),a("div",{staticClass:"select-search-input cursor-pointer",attrs:{slot:"reference"},slot:"reference"},[a("div",[a("el-input",{staticClass:"w-267",attrs:{disabled:!!t.$route.query.enterpriseId,placeholder:"请搜索选择商户",maxlength:"50"},nativeOn:{keyup:function(e){return function(e){return t.querySearchAsync(e,t.searchSelect)}(e)}},model:{value:t.searchSelect,callback:function(e){t.searchSelect=e},expression:"searchSelect"}})],1)])]),t.$route.query.enterpriseId?a("div",{staticClass:"select-search-input"},[a("el-input",{staticClass:"w-267",attrs:{disabled:!!t.$route.query.enterpriseId,placeholder:"请搜索选择商户",maxlength:"50"},model:{value:t.authForm.enterpriseName,callback:function(e){t.$set(t.authForm,"enterpriseName",e)},expression:"authForm.enterpriseName"}})],1):t._e()],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)}}},[t.authForm.bindStoreMode>0?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)}}},[t.authForm.shareStoreMode>0?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:{"admin-list":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:{"enterprise-id":t.authForm.enterpriseId}})],1):t._e()])])])])]),t.setVisible?a("store-auth-dialog",{attrs:{"enterprise-id":t.authForm.enterpriseId,"is-select-all":t.isSelectAll,"select-mode":t.selectMode,"range-data":t.rangeData,"bind-type":t.bindType},on:{closeSet:t.closeSet}}):t._e(),t.checkShow?a("check-name-dialog",{attrs:{"sync-data":t.syncData},on:{closeSet:t.closeCheckSet}}):t._e()],1)},r=[],s=(a("96cf"),a("1da1")),i=(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=[],l={name:"AuthStep",components:{},props:{activeStep:{type:String,default:function(){return"0"}}},data:function(){return{active:"0"}},mounted:function(){var t=this;t.active=t.activeStep},watch:{activeStep:function(t){this.active=t}}},u=l,m=(a("de0b"),a("2877")),d=Object(m["a"])(u,o,c,!1,null,"c9703e40",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:"AuthTip",data:function(){return{}}},v=g,b=(a("c8ff"),Object(m["a"])(v,p,f,!1,null,"6246f46e",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:"AuthCommitSuccess",components:{},props:{enterpriseId:{type:String,default:""}},data:function(){return{}},methods:{changeRoute:function(t){this.$router.push(t)}}},C=F,N=(a("73ba"),Object(m["a"])(C,y,_,!1,null,"68854cb4",null)),R=N.exports,x=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","tip-content":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:{"input-width":298,"input-value":t.commitForm.auditReason,holder:"请输入申请理由","get-by-type":"word","max-length":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)},I=[],D=a("3081"),w=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()}},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)},k=[],M=(a("c5f6"),a("2802")),$={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:""}},mounted:function(){var t=this;t.limitLength=t.maxLength,t.itemValue=t.inputValue||"","word"==t.getByType?t.inputNum=M["a"].getZhLen(t.inputValue):t.inputNum=M["a"].getByteLen(t.inputValue)},methods:{toInput:function(t){var e=this,a="";"word"==e.getByType?(a=M["a"].getByteVal(t.target.value,e.limitLength),e.itemValue=a,e.inputNum=M["a"].getZhLen(e.itemValue)):(a=M["a"].getCharVal(t.target.value,e.limitLength),e.itemValue=a,e.inputNum=M["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=M["a"].getZhLen(a.itemValue):a.inputNum=M["a"].getByteLen(a.itemValue)}}},O=$,L=(a("fa90"),Object(m["a"])(O,w,k,!1,null,"730049ed",null)),A=L.exports,V=a("d157"),J={name:"AuthCommit",components:{commonAlertTip:D["a"],limitTextarea: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}},mounted:function(){var t=this;t.commitForm.auditAdmin=JSON.parse(JSON.stringify(t.adminList))},methods:{cancel:function(){var t=this;t.$emit("returnStep")},submitForm:Object(V["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))}}},E=J,B=(a("9bff"),Object(m["a"])(E,x,I,!1,null,"1b25395e",null)),T=B.exports,j=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:{"company-id":t.enterpriseId,"store-type":t.bindType,"select-group":t.selectGroupData},on:{checkGroupIds:t.checkGroupIds}}):t._e(),"2"==t.formData.sendRange?a("store-auth-store",{attrs:{"company-id":t.enterpriseId,"store-type":t.bindType,"select-store":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)])},G=[],q=a("7ca9"),P=a("418e"),U={name:"StoreAuthDialog",components:{storeAuthGroup:q["a"],storeAuthStore:P["a"]},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:[]}},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))||[]},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=[]},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)))}},watch:{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))||[]}}},W=U,Z=(a("f657"),Object(m["a"])(W,j,G,!1,null,"d61df484",null)),z=Z.exports,H=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("el-dialog",{staticClass:"check-name-dialog",attrs:{title:"提示",visible:t.dialogVisible,width:"416px","before-close":t.handleClose},on:{"update:visible":function(e){t.dialogVisible=e}}},[a("div",{staticClass:"m-b-20"},[a("div",{staticClass:"font-14 color-606266 m-b-10"},[t._v("首次授权商户需要校验GIC商户超级管理员姓名")]),a("el-form",{ref:"ruleForm",attrs:{model:t.ruleForm,rules:t.rules,"label-width":"110px"}},[a("el-form-item",{attrs:{label:"超级管理员",prop:"userName"}},[a("span",[t._v(t._s(t.firstName))]),a("el-input",{staticClass:"w-173 m-l-10",attrs:{placeholder:"输入姓名校验"},model:{value:t.ruleForm.userName,callback:function(e){t.$set(t.ruleForm,"userName",e)},expression:"ruleForm.userName"}})],1)],1)],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",loading:t.loading},on:{click:function(e){return e.stopPropagation(),t.submitForm("ruleForm")}}},[t._v("确定")])],1)])},K=[],Q=a("21f4"),X=a("5b4e"),Y=Q["a"].getCheckName,tt=Q["a"].checkName,et={name:"CheckNameDialog",props:{syncData:{type:Object,default:function(){return{syncStatus:"0"}}}},data:function(){return{dialogVisible:!0,loading:!1,firstName:"",ruleForm:{userName:""},rules:{userName:[{required:!0,message:"请输入姓名",trigger:"blur"}]}}},mounted:function(){var t=this;t.getCheckNameData()},methods:{getCheckNameData:function(){var t=this,e={enterpriseId:t.syncData.enterpriseId};Y(e).then((function(e){t.firstName=e.result||""})).catch((function(t){}))},handleClose:function(){var t=this;t.ruleForm.userName="",t.$emit("closeSet","close")},cancel:function(){var t=this;t.ruleForm.userName="",t.$emit("closeSet","close")},submitForm:Object(V["a"])((function(t){var e=this;e.loading=!0,e.$refs[t].validate((function(t){if(!t)return e.loading=!1,!1;e.postCheck()}))}),300),postCheck:function(){var t=this,e={enterpriseId:t.syncData.enterpriseId,userName:t.ruleForm.userName};tt(e).then((function(e){t.loading=!1,"0000"==e.code?(X["a"].showmsg("校验成功","success"),t.ruleForm.userName="",t.$emit("closeSet","success")):X["a"].showmsg(e.message||"接口异常","warning")})).catch((function(e){t.loading=!1}))}}},at=et,nt=(a("b450"),Object(m["a"])(at,H,K,!1,null,"638575ea",null)),rt=nt.exports,st=Q["a"].getAuthDetail,it=Q["a"].getEnterprise,ot=Q["a"].getEnterpriseDetail,ct=Q["a"].getGicAdmin,lt=Q["a"].postEnterpriseAuth,ut={name:"NewAuthMerchant",components:{navCrumb:i["a"],authStep:h,authTip:S,authCommitSuccess:R,authCommit:T,storeAuthDialog:z,checkNameDialog:rt},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:[],searchSelect:"",searchArray:[],authForm:{storeRangeAuditId:"",enterpriseId:"",enterpriseName:"",bindRange:[],shareRange:[],shareStoreMode:"",bindStoreMode:"",auditReason:""},rules:{enterpriseId:[{required:!0,message:"请选择商户",trigger:"change"}]},checkShow:!1,syncData:{},isSelectAll:0,changeFlag:!1,setVisible:!1,selectMode:"0",rangeData:[],bindType:1,adminList:[]}},mounted:function(){var t=this;t.$route.query.enterpriseId&&t.getData(),document.documentElement.style.backgroundColor="#f0f2f5"},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},methods:{closeCheckSet:function(t){var e=this;if(e.checkShow=!1,"close"==t)return!1;e.authForm.enterpriseId=e.syncData.enterpriseId,e.authForm.enterpriseName=e.syncData.enterpriseName,e.$refs["authForm"].validate((function(t){return!!t&&void 0}))},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){it(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(s["a"])(regeneratorRuntime.mark((function t(){var e,a;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(e=this,""!=String(e.searchSelect).trim()){t.next=10;break}return e.authForm.enterpriseId="",e.searchArray=[],e.authForm.bindRange=[],e.authForm.shareRange=[],e.authForm.shareStoreMode="",e.authForm.bindStoreMode="",e.adminList=[],t.abrupt("return",!1);case 10:return t.next=12,e.getSearchList(e.searchSelect);case 12:a=t.sent,e.searchArray=a;case 14:case"end":return t.stop()}}),t,this)})));function e(){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.syncData=t,e.checkShow=!0,e.authForm.enterpriseId="",e.authForm.enterpriseName="",e.authForm.bindRange=[],e.authForm.shareRange=[],e.authForm.shareStoreMode="",e.authForm.bindStoreMode="",e.adminList=[],e.getAdminList(t.enterpriseId)},getAdminList:function(t){var e=this;ct({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(V["c"])(t);var a={enterpriseId:e.authForm.enterpriseId,wxEnterpriseId:e.wxEnterpriseId,shareRange:e.authForm.shareStoreMode>0?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:e.authForm.bindStoreMode>0?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&&e.authForm.shareStoreMode>0?"":String(e.authForm.shareStoreMode),bindStoreMode:!e.authForm.bindRange.length&&e.authForm.bindStoreMode>0?"":String(e.authForm.bindStoreMode),auditorName:e.auditorName};lt(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;ot({enterpriseId:t.$route.query.enterpriseId||t.authForm.enterpriseId}).then((function(e){t.isSelectAll=e.result.bindFlag})).catch((function(t){}))},getData:function(){var t=this,e={enterpriseId:t.$route.query.enterpriseId,wxEnterpriseId:t.wxEnterpriseId};st(e).then((function(e){"0000"==e.code&&(e.result.bindRange?e.result.bindRange=JSON.parse(e.result.bindRange):e.result.bindRange=[],e.result.shareRange?e.result.shareRange=JSON.parse(e.result.shareRange):e.result.shareRange=[],t.authForm=e.result||{},t.getAdminList(e.result.enterpriseId))})).catch((function(t){}))}}},mt=ut,dt=(a("a516"),Object(m["a"])(mt,n,r,!1,null,"6ffc129d",null));e["default"]=dt.exports},"73ba":function(t,e,a){"use strict";var n=a("2581"),r=a.n(n);r.a},"9bff":function(t,e,a){"use strict";var n=a("3d3b"),r=a.n(n);r.a},a516:function(t,e,a){"use strict";var n=a("0676"),r=a.n(n);r.a},b32b:function(t,e,a){},b450:function(t,e,a){"use strict";var n=a("b32b"),r=a.n(n);r.a},c8ff:function(t,e,a){"use strict";var n=a("0ac0"),r=a.n(n);r.a},d744:function(t,e,a){},de0b:function(t,e,a){"use strict";var n=a("220a"),r=a.n(n);r.a},f657:function(t,e,a){"use strict";var n=a("d744"),r=a.n(n);r.a},fa90:function(t,e,a){"use strict";var n=a("3c06"),r=a.n(n);r.a}}]); (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-5aa5a0da"],{"0676":function(t,e,a){},"0ac0":function(t,e,a){},"220a":function(t,e,a){},2581: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 s=t.charAt(r);if(1==a&&(encodeURI(s).length>2?n+=1:n+=.5),2==a&&(n+=1),n>=e){var i=n==e?r+1:r;return t.substr(0,i)}}},getByteVal:function(t,e){for(var a=""==t||null==t?"":t,n="",r=0,s=0;s<a.length;s++){if(null!=a[s].match(/[^\x00-\xff]/gi)?r+=1:r+=.5,r>e)break;n+=a[s]}return n},getCharVal:function(t,e){for(var a=""==t||null==t?"":t,n="",r=0,s=0;s<a.length;s++){if(null!=a[s].match(/[^\x00-\xff]/gi)?r+=2:r+=1,r>e)break;n+=a[s]}return n},regPos:function(t){var e=/^\d+(\.\d+)?$/;return e.test(t)}}},"3c06":function(t,e,a){},"3d3b":function(t,e,a){},4917:function(t,e,a){"use strict";var n=a("cb7c"),r=a("9def"),s=a("0390"),i=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),l=String(this);if(!c.global)return i(c,l);var u=c.unicode;c.lastIndex=0;var m,d=[],h=0;while(null!==(m=i(c,l))){var p=String(m[0]);d[h]=p,""===p&&(c.lastIndex=s(l,r(c.lastIndex),u)),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:{"active-step":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("div",{staticClass:"el-input-group__prepend"},[t._v("GIC4.0")]),t.$route.query.enterpriseId?t._e():a("el-popover",{attrs:{placement:"bottom",title:"",trigger:"click","popper-class":"company-select-pop",width:"267"}},[a("div",{staticClass:"company-select"},[a("div",{staticClass:"el-scrollbar define-search-select"},[a("div",{staticClass:"el-select-dropdown__wrap el-scrollbar__wrap",staticStyle:{overflow:"auto"}},[a("ul",{staticClass:"el-scrollbar__view el-select-dropdown__list"},[t._l(t.searchArray,(function(e,n){return a("li",{key:n+"search",staticClass:"el-select-dropdown__item",on:{click:function(a){return t.getAdmin(e)}}},[a("div",{staticClass:"flex flex-space-between"},[a("div",{staticStyle:{"line-height":"26px"}},[a("span",{staticClass:"block text-ellipsis"},[t._v(t._s(e.enterpriseName||"--"))]),a("div",{staticClass:"text-ellipsis font-12 color-909399"},[t._v(t._s(e.companyName||"--"))])]),e.enterpriseId==t.authForm.enterpriseId?a("span",{staticClass:"font-12 color-2f54eb el-icon-check flex-align-center",staticStyle:{display:"flex"}}):t._e()])])})),t.searchArray.length?t._e():a("li",{staticClass:"el-select-dropdown__item text-center"},[t._v("暂无商户数据")])],2)])])]),a("div",{staticClass:"select-search-input cursor-pointer",attrs:{slot:"reference"},slot:"reference"},[a("div",[a("el-input",{staticClass:"w-267",attrs:{disabled:!!t.$route.query.enterpriseId,placeholder:"请搜索选择商户",maxlength:"50"},nativeOn:{keyup:function(e){return function(e){return t.querySearchAsync(e,t.searchSelect)}(e)}},model:{value:t.searchSelect,callback:function(e){t.searchSelect=e},expression:"searchSelect"}})],1)])]),t.$route.query.enterpriseId?a("div",{staticClass:"select-search-input"},[a("el-input",{staticClass:"w-267",attrs:{disabled:!!t.$route.query.enterpriseId,placeholder:"请搜索选择商户",maxlength:"50"},model:{value:t.authForm.enterpriseName,callback:function(e){t.$set(t.authForm,"enterpriseName",e)},expression:"authForm.enterpriseName"}})],1):t._e()],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)}}},[t.authForm.bindStoreMode>0?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)}}},[t.authForm.shareStoreMode>0?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:{"admin-list":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:{"enterprise-id":t.authForm.enterpriseId}})],1):t._e()])])])])]),t.setVisible?a("store-auth-dialog",{attrs:{"enterprise-id":t.authForm.enterpriseId,"is-select-all":t.isSelectAll,"select-mode":t.selectMode,"range-data":t.rangeData,"bind-type":t.bindType},on:{closeSet:t.closeSet}}):t._e(),t.checkShow?a("check-name-dialog",{attrs:{"sync-data":t.syncData},on:{closeSet:t.closeCheckSet}}):t._e()],1)},r=[],s=(a("96cf"),a("1da1")),i=(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=[],l={name:"AuthStep",components:{},props:{activeStep:{type:String,default:function(){return"0"}}},data:function(){return{active:"0"}},mounted:function(){var t=this;t.active=t.activeStep},watch:{activeStep:function(t){this.active=t}}},u=l,m=(a("de0b"),a("2877")),d=Object(m["a"])(u,o,c,!1,null,"c9703e40",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:"AuthTip",data:function(){return{}}},v=g,b=(a("c8ff"),Object(m["a"])(v,p,f,!1,null,"6246f46e",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:"AuthCommitSuccess",components:{},props:{enterpriseId:{type:String,default:""}},data:function(){return{}},methods:{changeRoute:function(t){this.$router.push(t)}}},C=F,N=(a("73ba"),Object(m["a"])(C,y,_,!1,null,"68854cb4",null)),R=N.exports,x=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","tip-content":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:{"input-width":298,"input-value":t.commitForm.auditReason,holder:"请输入申请理由","get-by-type":"word","max-length":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)},I=[],w=a("3081"),D=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()}},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)},k=[],M=(a("c5f6"),a("2802")),$={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:""}},mounted:function(){var t=this;t.limitLength=t.maxLength,t.itemValue=t.inputValue||"","word"==t.getByType?t.inputNum=M["a"].getZhLen(t.inputValue):t.inputNum=M["a"].getByteLen(t.inputValue)},methods:{toInput:function(t){var e=this,a="";"word"==e.getByType?(a=M["a"].getByteVal(t.target.value,e.limitLength),e.itemValue=a,e.inputNum=M["a"].getZhLen(e.itemValue)):(a=M["a"].getCharVal(t.target.value,e.limitLength),e.itemValue=a,e.inputNum=M["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=M["a"].getZhLen(a.itemValue):a.inputNum=M["a"].getByteLen(a.itemValue)}}},O=$,L=(a("fa90"),Object(m["a"])(O,D,k,!1,null,"730049ed",null)),A=L.exports,V=a("d157"),J={name:"AuthCommit",components:{commonAlertTip:w["a"],limitTextarea: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}},mounted:function(){var t=this;t.commitForm.auditAdmin=JSON.parse(JSON.stringify(t.adminList))},methods:{cancel:function(){var t=this;t.$emit("returnStep")},submitForm:Object(V["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))}}},E=J,B=(a("9bff"),Object(m["a"])(E,x,I,!1,null,"1b25395e",null)),T=B.exports,j=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:{"company-id":t.enterpriseId,"store-type":t.bindType,"select-group":t.selectGroupData},on:{checkGroupIds:t.checkGroupIds}}):t._e(),"2"==t.formData.sendRange?a("store-auth-store",{attrs:{"company-id":t.enterpriseId,"store-type":t.bindType,"select-store":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)])},G=[],q=a("7ca9"),P=a("418e"),U={name:"StoreAuthDialog",components:{storeAuthGroup:q["a"],storeAuthStore:P["a"]},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:[]}},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))||[]},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=[]},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)))}},watch:{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))||[]}}},W=U,Z=(a("f657"),Object(m["a"])(W,j,G,!1,null,"d61df484",null)),z=Z.exports,H=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("el-dialog",{staticClass:"check-name-dialog",attrs:{title:"提示",visible:t.dialogVisible,width:"416px","before-close":t.handleClose},on:{"update:visible":function(e){t.dialogVisible=e}}},[a("div",{staticClass:"m-b-20"},[a("div",{staticClass:"font-14 color-606266 m-b-10"},[t._v("首次授权商户需要校验GIC商户超级管理员姓名")]),a("el-form",{ref:"ruleForm",attrs:{model:t.ruleForm,rules:t.rules,"label-width":"110px"}},[a("el-form-item",{attrs:{label:"超级管理员",prop:"userName"}},[a("span",[t._v(t._s(t.firstName))]),a("el-input",{staticClass:"w-173 m-l-10",attrs:{placeholder:"输入姓名校验"},model:{value:t.ruleForm.userName,callback:function(e){t.$set(t.ruleForm,"userName",e)},expression:"ruleForm.userName"}})],1)],1)],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",loading:t.loading},on:{click:function(e){return e.stopPropagation(),t.submitForm("ruleForm")}}},[t._v("确定")])],1)])},K=[],Q=a("21f4"),X=a("5b4e"),Y=Q["a"].getCheckName,tt=Q["a"].checkName,et={name:"CheckNameDialog",props:{syncData:{type:Object,default:function(){return{syncStatus:"0"}}}},data:function(){return{dialogVisible:!0,loading:!1,firstName:"",ruleForm:{userName:""},rules:{userName:[{required:!0,message:"请输入姓名",trigger:"blur"}]}}},mounted:function(){var t=this;t.getCheckNameData()},methods:{getCheckNameData:function(){var t=this,e={enterpriseId:t.syncData.enterpriseId};Y(e).then((function(e){t.firstName=e.result||""})).catch((function(t){}))},handleClose:function(){var t=this;t.ruleForm.userName="",t.$emit("closeSet","close")},cancel:function(){var t=this;t.ruleForm.userName="",t.$emit("closeSet","close")},submitForm:Object(V["a"])((function(t){var e=this;e.loading=!0,e.$refs[t].validate((function(t){if(!t)return e.loading=!1,!1;e.postCheck()}))}),300),postCheck:function(){var t=this,e={enterpriseId:t.syncData.enterpriseId,userName:t.ruleForm.userName};tt(e).then((function(e){t.loading=!1,"0000"==e.code?e.result?(X["a"].showmsg("校验成功","success"),t.ruleForm.userName="",t.$emit("closeSet","success")):X["a"].showmsg("校验失败","warning"):X["a"].showmsg(e.message||"接口异常","warning")})).catch((function(e){t.loading=!1}))}}},at=et,nt=(a("8cd9"),Object(m["a"])(at,H,K,!1,null,"53942dfc",null)),rt=nt.exports,st=Q["a"].getAuthDetail,it=Q["a"].getEnterprise,ot=Q["a"].getEnterpriseDetail,ct=Q["a"].getGicAdmin,lt=Q["a"].postEnterpriseAuth,ut={name:"NewAuthMerchant",components:{navCrumb:i["a"],authStep:h,authTip:S,authCommitSuccess:R,authCommit:T,storeAuthDialog:z,checkNameDialog:rt},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:[],searchSelect:"",searchArray:[],authForm:{storeRangeAuditId:"",enterpriseId:"",enterpriseName:"",bindRange:[],shareRange:[],shareStoreMode:"",bindStoreMode:"",auditReason:""},rules:{enterpriseId:[{required:!0,message:"请选择商户",trigger:"change"}]},checkShow:!1,syncData:{},isSelectAll:0,changeFlag:!1,setVisible:!1,selectMode:"0",rangeData:[],bindType:1,adminList:[]}},mounted:function(){var t=this;t.$route.query.enterpriseId&&t.getData(),document.documentElement.style.backgroundColor="#f0f2f5"},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},methods:{closeCheckSet:function(t){var e=this;if(e.checkShow=!1,"close"==t)return!1;e.authForm.enterpriseId=e.syncData.enterpriseId,e.authForm.enterpriseName=e.syncData.enterpriseName,e.$refs["authForm"].validate((function(t){return!!t&&void 0}))},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){it(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(s["a"])(regeneratorRuntime.mark((function t(){var e,a;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(e=this,""!=String(e.searchSelect).trim()){t.next=10;break}return e.authForm.enterpriseId="",e.searchArray=[],e.authForm.bindRange=[],e.authForm.shareRange=[],e.authForm.shareStoreMode="",e.authForm.bindStoreMode="",e.adminList=[],t.abrupt("return",!1);case 10:return t.next=12,e.getSearchList(e.searchSelect);case 12:a=t.sent,e.searchArray=a;case 14:case"end":return t.stop()}}),t,this)})));function e(){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.syncData=t,e.checkShow=!0,e.authForm.enterpriseId="",e.authForm.enterpriseName="",e.authForm.bindRange=[],e.authForm.shareRange=[],e.authForm.shareStoreMode="",e.authForm.bindStoreMode="",e.adminList=[],e.getAdminList(t.enterpriseId)},getAdminList:function(t){var e=this;ct({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(V["c"])(t);var a={enterpriseId:e.authForm.enterpriseId,wxEnterpriseId:e.wxEnterpriseId,shareRange:e.authForm.shareStoreMode>0?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:e.authForm.bindStoreMode>0?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&&e.authForm.shareStoreMode>0?"":String(e.authForm.shareStoreMode),bindStoreMode:!e.authForm.bindRange.length&&e.authForm.bindStoreMode>0?"":String(e.authForm.bindStoreMode),auditorName:e.auditorName};lt(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;ot({enterpriseId:t.$route.query.enterpriseId||t.authForm.enterpriseId}).then((function(e){t.isSelectAll=e.result.bindFlag})).catch((function(t){}))},getData:function(){var t=this,e={enterpriseId:t.$route.query.enterpriseId,wxEnterpriseId:t.wxEnterpriseId};st(e).then((function(e){"0000"==e.code&&(e.result.bindRange?e.result.bindRange=JSON.parse(e.result.bindRange):e.result.bindRange=[],e.result.shareRange?e.result.shareRange=JSON.parse(e.result.shareRange):e.result.shareRange=[],t.authForm=e.result||{},t.getAdminList(e.result.enterpriseId))})).catch((function(t){}))}}},mt=ut,dt=(a("a516"),Object(m["a"])(mt,n,r,!1,null,"6ffc129d",null));e["default"]=dt.exports},"73ba":function(t,e,a){"use strict";var n=a("2581"),r=a.n(n);r.a},"8cd9":function(t,e,a){"use strict";var n=a("d0fb"),r=a.n(n);r.a},"9bff":function(t,e,a){"use strict";var n=a("3d3b"),r=a.n(n);r.a},a516:function(t,e,a){"use strict";var n=a("0676"),r=a.n(n);r.a},c8ff:function(t,e,a){"use strict";var n=a("0ac0"),r=a.n(n);r.a},d0fb:function(t,e,a){},d744:function(t,e,a){},de0b:function(t,e,a){"use strict";var n=a("220a"),r=a.n(n);r.a},f657:function(t,e,a){"use strict";var n=a("d744"),r=a.n(n);r.a},fa90:function(t,e,a){"use strict";var n=a("3c06"),r=a.n(n);r.a}}]);
\ No newline at end of file \ No newline at end of file
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