Commit 1278ac15 by 无尘

fix: 更新

parent 0562120b
.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-52f63fda]{margin-top:154px}.auth-commit-success .color-49c958[data-v-52f63fda]{color:#49c958}.auth-commit-success .font-60[data-v-52f63fda]{font-size:60px}.auth-commit-success .m-t-12[data-v-52f63fda]{margin-top:12px}.auth-commit-success .m-t-28[data-v-52f63fda]{margin-top:28px}.input-line-cell[data-v-8106e482]{position:relative;display:inline-block}.w-340[data-v-8106e482]{width:340px}.w-340[data-v-8106e482] .el-input__inner{font-size:14px;color:#fff;background-color:hsla(0,0%,100%,.1)}.el-textarea[data-v-8106e482] .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-8106e482]{opacity:.5}.el-input .is-disabled[data-v-8106e482] .el-input__inner{font-size:14px;color:#fff;background-color:hsla(0,0%,100%,.1)}.tip[data-v-8106e482]{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-9d92d9c0]{width:400px;margin:0 auto}.auth-commit-admin .color-49c958[data-v-9d92d9c0]{color:#49c958}.auth-commit-admin .font-60[data-v-9d92d9c0]{font-size:60px}.auth-commit-admin .m-t-12[data-v-9d92d9c0]{margin-top:12px}.auth-commit-admin .m-t-28[data-v-9d92d9c0]{margin-top:28px}.auth-commit-admin .m-b-32[data-v-9d92d9c0]{margin-bottom:32px}.auth-commit-admin .w-198[data-v-9d92d9c0]{width:198px}.auth-commit-admin .audit-admin-body[data-v-9d92d9c0]{min-width:500px}.auth-commit-admin .audit-admin-body .audit-admin[data-v-9d92d9c0]{position:relative;color:#606266;font-size:14px;padding:0 8px;margin-bottom:10px}.auth-commit-admin .audit-admin-body .audit-admin[data-v-9d92d9c0]: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-761c5b6a]{height:445px;overflow-y:auto;border:1px solid #e4e7ed}.m-b-20[data-v-a960be2a]{margin-bottom:20px}.w-173[data-v-a960be2a]{width:173px}.w-267[data-v-a0135e16]{width:267px}.m-t-35[data-v-a0135e16]{margin-top:35px}.common-bottom-border[data-v-a0135e16]{cursor:pointer;padding-bottom:2px;border-bottom:1px dashed #2f54eb}.el-input-group__prepend[data-v-a0135e16]{display:inline-block;width:86px;height:32px;line-height:32px;vertical-align:top;border-color:#c4c6cf}.select-search-input[data-v-a0135e16]{display:inline-block;margin-left:-2px}.company-select[data-v-a0135e16]{position:relative}.company-select .el-select-dropdown__item[data-v-a0135e16]{height:52px;line-height:52px}.company-select .text-ellipsis[data-v-a0135e16]{max-width:200px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.my-customer-wrap[data-v-a0135e16]{height:100%}.my-customer-wrap .w-227[data-v-a0135e16]{width:227px}.my-customer-wrap .auth-tip-body[data-v-a0135e16]{width:645px;margin:0 auto}.my-customer-wrap .enterprise-version[data-v-a0135e16]{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-a0135e16]{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-a0135e16]{max-width:348px;white-space:nowrap;overflow:hidden}.right-content[data-v-a0135e16]{padding:0 20px 20px 20px;min-height:calc(100% - 160px)}.right-content .right-box[data-v-a0135e16]{background:#fff;min-height:500px;padding:0}.right-content .right-box .apps-content .apps-content-right[data-v-a0135e16]{width:100%;padding:20px;background:#fff}.right-content .right-box .apps-content .apps-content-right .common-set-wrap[data-v-a0135e16]{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-52f63fda]{margin-top:154px}.auth-commit-success .color-49c958[data-v-52f63fda]{color:#49c958}.auth-commit-success .font-60[data-v-52f63fda]{font-size:60px}.auth-commit-success .m-t-12[data-v-52f63fda]{margin-top:12px}.auth-commit-success .m-t-28[data-v-52f63fda]{margin-top:28px}.input-line-cell[data-v-8106e482]{position:relative;display:inline-block}.w-340[data-v-8106e482]{width:340px}.w-340[data-v-8106e482] .el-input__inner{font-size:14px;color:#fff;background-color:hsla(0,0%,100%,.1)}.el-textarea[data-v-8106e482] .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-8106e482]{opacity:.5}.el-input .is-disabled[data-v-8106e482] .el-input__inner{font-size:14px;color:#fff;background-color:hsla(0,0%,100%,.1)}.tip[data-v-8106e482]{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-d1359990]{width:400px;margin:0 auto}.auth-commit-admin .color-49c958[data-v-d1359990]{color:#49c958}.auth-commit-admin .font-60[data-v-d1359990]{font-size:60px}.auth-commit-admin .m-t-12[data-v-d1359990]{margin-top:12px}.auth-commit-admin .m-t-28[data-v-d1359990]{margin-top:28px}.auth-commit-admin .m-b-32[data-v-d1359990]{margin-bottom:32px}.auth-commit-admin .w-198[data-v-d1359990]{width:198px}.auth-commit-admin .audit-admin-body[data-v-d1359990]{min-width:500px}.auth-commit-admin .audit-admin-body .audit-admin[data-v-d1359990]{position:relative;color:#606266;font-size:14px;padding:0 8px;margin-bottom:10px}.auth-commit-admin .audit-admin-body .audit-admin[data-v-d1359990]: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-761c5b6a]{height:445px;overflow-y:auto;border:1px solid #e4e7ed}.m-b-20[data-v-a960be2a]{margin-bottom:20px}.w-173[data-v-a960be2a]{width:173px}.w-267[data-v-a0135e16]{width:267px}.m-t-35[data-v-a0135e16]{margin-top:35px}.common-bottom-border[data-v-a0135e16]{cursor:pointer;padding-bottom:2px;border-bottom:1px dashed #2f54eb}.el-input-group__prepend[data-v-a0135e16]{display:inline-block;width:86px;height:32px;line-height:32px;vertical-align:top;border-color:#c4c6cf}.select-search-input[data-v-a0135e16]{display:inline-block;margin-left:-2px}.company-select[data-v-a0135e16]{position:relative}.company-select .el-select-dropdown__item[data-v-a0135e16]{height:52px;line-height:52px}.company-select .text-ellipsis[data-v-a0135e16]{max-width:200px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.my-customer-wrap[data-v-a0135e16]{height:100%}.my-customer-wrap .w-227[data-v-a0135e16]{width:227px}.my-customer-wrap .auth-tip-body[data-v-a0135e16]{width:645px;margin:0 auto}.my-customer-wrap .enterprise-version[data-v-a0135e16]{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-a0135e16]{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-a0135e16]{max-width:348px;white-space:nowrap;overflow:hidden}.right-content[data-v-a0135e16]{padding:0 20px 20px 20px;min-height:calc(100% - 160px)}.right-content .right-box[data-v-a0135e16]{background:#fff;min-height:500px;padding:0}.right-content .right-box .apps-content .apps-content-right[data-v-a0135e16]{width:100%;padding:20px;background:#fff}.right-content .right-box .apps-content .apps-content-right .common-set-wrap[data-v-a0135e16]{height:100%;background:#fff}
\ No newline at end of file \ No newline at end of file
<!DOCTYPE html><html lang=cn><head><title>好办</title><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.52.css><link rel=stylesheet type=text/css href=static/fonts/iconfont.css><link rel=stylesheet type=text/css href=//at.alicdn.com/t/font_1954999_o6e79pmntvg.css><script src=//web-1251519181.file.myqcloud.com/lib-4.0/vue/2.6.10/vue.min.js></script><link href=css/chunk-00b4720e.c557c4e4.css rel=prefetch><link href=css/chunk-03688d1a.15b32b6c.css rel=prefetch><link href=css/chunk-0b99078a.88a4311b.css rel=prefetch><link href=css/chunk-102f8002.a8713f1e.css rel=prefetch><link href=css/chunk-1064bb95.6062f4fc.css rel=prefetch><link href=css/chunk-120429dc.521efa28.css rel=prefetch><link href=css/chunk-1311f1d5.38edece6.css rel=prefetch><link href=css/chunk-13367719.1e966bf3.css rel=prefetch><link href=css/chunk-19821019.bfa06507.css rel=prefetch><link href=css/chunk-19d63d70.cdfa3268.css rel=prefetch><link href=css/chunk-1b06c10b.edca6b4f.css rel=prefetch><link href=css/chunk-1bc03f55.cb6364a0.css rel=prefetch><link href=css/chunk-20fd8fee.63a05456.css rel=prefetch><link href=css/chunk-23746427.991865fb.css rel=prefetch><link href=css/chunk-23db9727.ac3b1634.css rel=prefetch><link href=css/chunk-26cba5f7.8a8a1c2f.css rel=prefetch><link href=css/chunk-29398a88.e55be917.css rel=prefetch><link href=css/chunk-2cf63d30.ba521d8e.css rel=prefetch><link href=css/chunk-2ed9f8b1.3de6c663.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-42163e43.6c086558.css rel=prefetch><link href=css/chunk-43202542.1cfaa78e.css rel=prefetch><link href=css/chunk-44a6583c.18615f6f.css rel=prefetch><link href=css/chunk-4551f5db.4e4b34f8.css rel=prefetch><link href=css/chunk-470f9f3e.c566df98.css rel=prefetch><link href=css/chunk-47e64096.62e4e772.css rel=prefetch><link href=css/chunk-4a8d1525.43dd04ad.css rel=prefetch><link href=css/chunk-4b898c1e.07d02776.css rel=prefetch><link href=css/chunk-4e5566cb.c68ba022.css rel=prefetch><link href=css/chunk-4f45167e.ee441549.css rel=prefetch><link href=css/chunk-4f6b291e.45a4e719.css rel=prefetch><link href=css/chunk-4fc2d3b6.e4f77a0d.css rel=prefetch><link href=css/chunk-52b97a85.998e7f29.css rel=prefetch><link href=css/chunk-561658fa.e8802fbe.css rel=prefetch><link href=css/chunk-5b76b2ab.446e4542.css rel=prefetch><link href=css/chunk-5bf069da.c46a71c8.css rel=prefetch><link href=css/chunk-5d44c14a.2889779b.css rel=prefetch><link href=css/chunk-5ffe4358.cebe6710.css rel=prefetch><link href=css/chunk-6269ad22.75b54ded.css rel=prefetch><link href=css/chunk-6416c93f.b8c82949.css rel=prefetch><link href=css/chunk-6597d41a.1b377e6e.css rel=prefetch><link href=css/chunk-65d39bef.45155552.css rel=prefetch><link href=css/chunk-678c5bc5.bb167dd3.css rel=prefetch><link href=css/chunk-6f400327.1288ec64.css rel=prefetch><link href=css/chunk-6f5e9798.69c7071f.css rel=prefetch><link href=css/chunk-70d3390f.520286b3.css rel=prefetch><link href=css/chunk-7deab646.46d5e181.css rel=prefetch><link href=css/chunk-89f1bdd8.b76f6b1b.css rel=prefetch><link href=css/chunk-9dadd06a.e12b1f26.css rel=prefetch><link href=css/chunk-a3d8b552.26e628b3.css rel=prefetch><link href=css/chunk-a6478ea0.6deeb9ee.css rel=prefetch><link href=css/chunk-afc4ef6e.39f76a32.css rel=prefetch><link href=css/chunk-b04998bc.e237d399.css rel=prefetch><link href=css/chunk-c99ffd6a.68cc88e0.css rel=prefetch><link href=css/chunk-deb55380.27a57dc1.css rel=prefetch><link href=css/chunk-efbe6f9e.f92aeab2.css rel=prefetch><link href=js/chunk-00b4720e.c934d318.js rel=prefetch><link href=js/chunk-03688d1a.7721a7d6.js rel=prefetch><link href=js/chunk-06fd5be4.89314364.js rel=prefetch><link href=js/chunk-08047175.e025ecad.js rel=prefetch><link href=js/chunk-0b99078a.f7aacc11.js rel=prefetch><link href=js/chunk-102f8002.83e7e868.js rel=prefetch><link href=js/chunk-1064bb95.89a5b969.js rel=prefetch><link href=js/chunk-120429dc.970bf468.js rel=prefetch><link href=js/chunk-1311f1d5.c029dfb2.js rel=prefetch><link href=js/chunk-13367719.ae696748.js rel=prefetch><link href=js/chunk-19821019.230413e4.js rel=prefetch><link href=js/chunk-19d63d70.79c5f6f0.js rel=prefetch><link href=js/chunk-1b06c10b.d003b1dc.js rel=prefetch><link href=js/chunk-1bc03f55.28ce1d8f.js rel=prefetch><link href=js/chunk-20fd8fee.cae37544.js rel=prefetch><link href=js/chunk-23746427.efff437f.js rel=prefetch><link href=js/chunk-23db9727.1af43e6d.js rel=prefetch><link href=js/chunk-26cba5f7.a8460b7e.js rel=prefetch><link href=js/chunk-29398a88.8dd9ddd8.js rel=prefetch><link href=js/chunk-2cf63d30.cedace5d.js rel=prefetch><link href=js/chunk-2d0e1f21.d3ed2e41.js rel=prefetch><link href=js/chunk-2ed9f8b1.577cceec.js rel=prefetch><link href=js/chunk-30f81def.16ce3077.js rel=prefetch><link href=js/chunk-32d6ccb7.01f9366c.js rel=prefetch><link href=js/chunk-42163e43.f363ac6b.js rel=prefetch><link href=js/chunk-43202542.f8bc7cee.js rel=prefetch><link href=js/chunk-44a6583c.79c06b90.js rel=prefetch><link href=js/chunk-4551f5db.a8e71318.js rel=prefetch><link href=js/chunk-470f9f3e.1fe8c362.js rel=prefetch><link href=js/chunk-47e64096.1f078425.js rel=prefetch><link href=js/chunk-4a8d1525.99bb9d36.js rel=prefetch><link href=js/chunk-4b898c1e.3ada8648.js rel=prefetch><link href=js/chunk-4e5566cb.dce7996d.js rel=prefetch><link href=js/chunk-4f45167e.835eabfb.js rel=prefetch><link href=js/chunk-4f6b291e.af85c35c.js rel=prefetch><link href=js/chunk-4fc2d3b6.7915d752.js rel=prefetch><link href=js/chunk-52b97a85.6b92d9c5.js rel=prefetch><link href=js/chunk-561658fa.23df9c13.js rel=prefetch><link href=js/chunk-5b76b2ab.321d2be9.js rel=prefetch><link href=js/chunk-5bf069da.99efe021.js rel=prefetch><link href=js/chunk-5d44c14a.7f2a5ea9.js rel=prefetch><link href=js/chunk-5ffe4358.f15be5d1.js rel=prefetch><link href=js/chunk-6269ad22.6998652c.js rel=prefetch><link href=js/chunk-6416c93f.4e5310f6.js rel=prefetch><link href=js/chunk-6597d41a.d6354a59.js rel=prefetch><link href=js/chunk-65d39bef.ae652847.js rel=prefetch><link href=js/chunk-678c5bc5.7326f587.js rel=prefetch><link href=js/chunk-6f400327.046f3daf.js rel=prefetch><link href=js/chunk-6f5e9798.910241f5.js rel=prefetch><link href=js/chunk-70d3390f.aef7ae13.js rel=prefetch><link href=js/chunk-7deab646.29ce43b5.js rel=prefetch><link href=js/chunk-89f1bdd8.0c017cfc.js rel=prefetch><link href=js/chunk-9dadd06a.30d0363d.js rel=prefetch><link href=js/chunk-a3d8b552.15fb7199.js rel=prefetch><link href=js/chunk-a6478ea0.2c362507.js rel=prefetch><link href=js/chunk-afc4ef6e.3c632b2f.js rel=prefetch><link href=js/chunk-b04998bc.d8e03820.js rel=prefetch><link href=js/chunk-c99ffd6a.c3e4758a.js rel=prefetch><link href=js/chunk-deb55380.4ebc5bdc.js rel=prefetch><link href=js/chunk-efbe6f9e.f87c0d39.js rel=prefetch><link href=css/app.3120cd93.css rel=preload as=style><link href=css/chunk-vendors.635bc84a.css rel=preload as=style><link href=js/app.f674e142.js rel=preload as=script><link href=js/chunk-vendors.659c5cc6.js rel=preload as=script><link href=css/chunk-vendors.635bc84a.css rel=stylesheet><link href=css/app.3120cd93.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/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.659c5cc6.js></script><script src=js/app.f674e142.js></script></body></html> <!DOCTYPE html><html lang=cn><head><title>好办</title><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.52.css><link rel=stylesheet type=text/css href=static/fonts/iconfont.css><link rel=stylesheet type=text/css href=//at.alicdn.com/t/font_1954999_o6e79pmntvg.css><script src=//web-1251519181.file.myqcloud.com/lib-4.0/vue/2.6.10/vue.min.js></script><link href=css/chunk-00b4720e.c557c4e4.css rel=prefetch><link href=css/chunk-03688d1a.15b32b6c.css rel=prefetch><link href=css/chunk-0b99078a.88a4311b.css rel=prefetch><link href=css/chunk-102f8002.a8713f1e.css rel=prefetch><link href=css/chunk-1064bb95.6062f4fc.css rel=prefetch><link href=css/chunk-120429dc.521efa28.css rel=prefetch><link href=css/chunk-1311f1d5.38edece6.css rel=prefetch><link href=css/chunk-13367719.1e966bf3.css rel=prefetch><link href=css/chunk-19821019.bfa06507.css rel=prefetch><link href=css/chunk-1b06c10b.edca6b4f.css rel=prefetch><link href=css/chunk-1bc03f55.cb6364a0.css rel=prefetch><link href=css/chunk-20fd8fee.63a05456.css rel=prefetch><link href=css/chunk-23746427.991865fb.css rel=prefetch><link href=css/chunk-23db9727.ac3b1634.css rel=prefetch><link href=css/chunk-26cba5f7.8a8a1c2f.css rel=prefetch><link href=css/chunk-29398a88.e55be917.css rel=prefetch><link href=css/chunk-2cf63d30.ba521d8e.css rel=prefetch><link href=css/chunk-2ed9f8b1.3de6c663.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-42163e43.6c086558.css rel=prefetch><link href=css/chunk-43202542.1cfaa78e.css rel=prefetch><link href=css/chunk-44a6583c.18615f6f.css rel=prefetch><link href=css/chunk-4551f5db.4e4b34f8.css rel=prefetch><link href=css/chunk-470f9f3e.c566df98.css rel=prefetch><link href=css/chunk-47e64096.62e4e772.css rel=prefetch><link href=css/chunk-4a8d1525.43dd04ad.css rel=prefetch><link href=css/chunk-4b898c1e.07d02776.css rel=prefetch><link href=css/chunk-4cda0da2.dafc0cdd.css rel=prefetch><link href=css/chunk-4e5566cb.c68ba022.css rel=prefetch><link href=css/chunk-4f45167e.ee441549.css rel=prefetch><link href=css/chunk-4f6b291e.45a4e719.css rel=prefetch><link href=css/chunk-4fc2d3b6.e4f77a0d.css rel=prefetch><link href=css/chunk-52b97a85.998e7f29.css rel=prefetch><link href=css/chunk-561658fa.e8802fbe.css rel=prefetch><link href=css/chunk-5b76b2ab.446e4542.css rel=prefetch><link href=css/chunk-5bf069da.c46a71c8.css rel=prefetch><link href=css/chunk-5d44c14a.2889779b.css rel=prefetch><link href=css/chunk-5ffe4358.cebe6710.css rel=prefetch><link href=css/chunk-6269ad22.75b54ded.css rel=prefetch><link href=css/chunk-6416c93f.b8c82949.css rel=prefetch><link href=css/chunk-6597d41a.1b377e6e.css rel=prefetch><link href=css/chunk-65d39bef.45155552.css rel=prefetch><link href=css/chunk-678c5bc5.bb167dd3.css rel=prefetch><link href=css/chunk-6f400327.1288ec64.css rel=prefetch><link href=css/chunk-6f5e9798.69c7071f.css rel=prefetch><link href=css/chunk-70d3390f.520286b3.css rel=prefetch><link href=css/chunk-7deab646.46d5e181.css rel=prefetch><link href=css/chunk-89f1bdd8.b76f6b1b.css rel=prefetch><link href=css/chunk-9dadd06a.e12b1f26.css rel=prefetch><link href=css/chunk-a3d8b552.26e628b3.css rel=prefetch><link href=css/chunk-a6478ea0.6deeb9ee.css rel=prefetch><link href=css/chunk-afc4ef6e.39f76a32.css rel=prefetch><link href=css/chunk-b04998bc.e237d399.css rel=prefetch><link href=css/chunk-c99ffd6a.68cc88e0.css rel=prefetch><link href=css/chunk-deb55380.27a57dc1.css rel=prefetch><link href=css/chunk-efbe6f9e.f92aeab2.css rel=prefetch><link href=js/chunk-00b4720e.c934d318.js rel=prefetch><link href=js/chunk-03688d1a.7721a7d6.js rel=prefetch><link href=js/chunk-06fd5be4.89314364.js rel=prefetch><link href=js/chunk-08047175.e025ecad.js rel=prefetch><link href=js/chunk-0b99078a.f7aacc11.js rel=prefetch><link href=js/chunk-102f8002.83e7e868.js rel=prefetch><link href=js/chunk-1064bb95.89a5b969.js rel=prefetch><link href=js/chunk-120429dc.970bf468.js rel=prefetch><link href=js/chunk-1311f1d5.c029dfb2.js rel=prefetch><link href=js/chunk-13367719.ae696748.js rel=prefetch><link href=js/chunk-19821019.230413e4.js rel=prefetch><link href=js/chunk-1b06c10b.d003b1dc.js rel=prefetch><link href=js/chunk-1bc03f55.28ce1d8f.js rel=prefetch><link href=js/chunk-20fd8fee.cae37544.js rel=prefetch><link href=js/chunk-23746427.efff437f.js rel=prefetch><link href=js/chunk-23db9727.1af43e6d.js rel=prefetch><link href=js/chunk-26cba5f7.a8460b7e.js rel=prefetch><link href=js/chunk-29398a88.8dd9ddd8.js rel=prefetch><link href=js/chunk-2cf63d30.cedace5d.js rel=prefetch><link href=js/chunk-2d0e1f21.d3ed2e41.js rel=prefetch><link href=js/chunk-2ed9f8b1.577cceec.js rel=prefetch><link href=js/chunk-30f81def.16ce3077.js rel=prefetch><link href=js/chunk-32d6ccb7.01f9366c.js rel=prefetch><link href=js/chunk-42163e43.f363ac6b.js rel=prefetch><link href=js/chunk-43202542.f8bc7cee.js rel=prefetch><link href=js/chunk-44a6583c.79c06b90.js rel=prefetch><link href=js/chunk-4551f5db.a8e71318.js rel=prefetch><link href=js/chunk-470f9f3e.1fe8c362.js rel=prefetch><link href=js/chunk-47e64096.1f078425.js rel=prefetch><link href=js/chunk-4a8d1525.99bb9d36.js rel=prefetch><link href=js/chunk-4b898c1e.3ada8648.js rel=prefetch><link href=js/chunk-4cda0da2.bf4c51d1.js rel=prefetch><link href=js/chunk-4e5566cb.dce7996d.js rel=prefetch><link href=js/chunk-4f45167e.835eabfb.js rel=prefetch><link href=js/chunk-4f6b291e.af85c35c.js rel=prefetch><link href=js/chunk-4fc2d3b6.7915d752.js rel=prefetch><link href=js/chunk-52b97a85.6b92d9c5.js rel=prefetch><link href=js/chunk-561658fa.23df9c13.js rel=prefetch><link href=js/chunk-5b76b2ab.321d2be9.js rel=prefetch><link href=js/chunk-5bf069da.99efe021.js rel=prefetch><link href=js/chunk-5d44c14a.7f2a5ea9.js rel=prefetch><link href=js/chunk-5ffe4358.f15be5d1.js rel=prefetch><link href=js/chunk-6269ad22.6998652c.js rel=prefetch><link href=js/chunk-6416c93f.4e5310f6.js rel=prefetch><link href=js/chunk-6597d41a.d6354a59.js rel=prefetch><link href=js/chunk-65d39bef.ae652847.js rel=prefetch><link href=js/chunk-678c5bc5.7326f587.js rel=prefetch><link href=js/chunk-6f400327.046f3daf.js rel=prefetch><link href=js/chunk-6f5e9798.910241f5.js rel=prefetch><link href=js/chunk-70d3390f.aef7ae13.js rel=prefetch><link href=js/chunk-7deab646.29ce43b5.js rel=prefetch><link href=js/chunk-89f1bdd8.0c017cfc.js rel=prefetch><link href=js/chunk-9dadd06a.30d0363d.js rel=prefetch><link href=js/chunk-a3d8b552.15fb7199.js rel=prefetch><link href=js/chunk-a6478ea0.2c362507.js rel=prefetch><link href=js/chunk-afc4ef6e.3c632b2f.js rel=prefetch><link href=js/chunk-b04998bc.d8e03820.js rel=prefetch><link href=js/chunk-c99ffd6a.c3e4758a.js rel=prefetch><link href=js/chunk-deb55380.4ebc5bdc.js rel=prefetch><link href=js/chunk-efbe6f9e.f87c0d39.js rel=prefetch><link href=css/app.3120cd93.css rel=preload as=style><link href=css/chunk-vendors.635bc84a.css rel=preload as=style><link href=js/app.34618954.js rel=preload as=script><link href=js/chunk-vendors.659c5cc6.js rel=preload as=script><link href=css/chunk-vendors.635bc84a.css rel=stylesheet><link href=css/app.3120cd93.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/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.659c5cc6.js></script><script src=js/app.34618954.js></script></body></html>
\ No newline at end of file \ No newline at end of file
(function(e){function n(n){for(var a,c,o=n[0],i=n[1],h=n[2],s=0,d=[];s<o.length;s++)c=o[s],Object.prototype.hasOwnProperty.call(r,c)&&r[c]&&d.push(r[c][0]),r[c]=0;for(a in i)Object.prototype.hasOwnProperty.call(i,a)&&(e[a]=i[a]);f&&f(n);while(d.length)d.shift()();return u.push.apply(u,h||[]),t()}function t(){for(var e,n=0;n<u.length;n++){for(var t=u[n],a=!0,c=1;c<t.length;c++){var o=t[c];0!==r[o]&&(a=!1)}a&&(u.splice(n--,1),e=i(i.s=t[0]))}return e}var a={},c={app:0},r={app:0},u=[];function o(e){return i.p+"js/"+({}[e]||e)+"."+{"chunk-00b4720e":"c934d318","chunk-03688d1a":"7721a7d6","chunk-06fd5be4":"89314364","chunk-470f9f3e":"1fe8c362","chunk-9dadd06a":"30d0363d","chunk-120429dc":"970bf468","chunk-29398a88":"8dd9ddd8","chunk-08047175":"e025ecad","chunk-4e5566cb":"dce7996d","chunk-561658fa":"23df9c13","chunk-0b99078a":"f7aacc11","chunk-102f8002":"83e7e868","chunk-1064bb95":"89a5b969","chunk-1311f1d5":"c029dfb2","chunk-13367719":"ae696748","chunk-19821019":"230413e4","chunk-1b06c10b":"d003b1dc","chunk-1bc03f55":"28ce1d8f","chunk-20fd8fee":"cae37544","chunk-23746427":"efff437f","chunk-23db9727":"1af43e6d","chunk-26cba5f7":"a8460b7e","chunk-2cf63d30":"cedace5d","chunk-2d0e1f21":"d3ed2e41","chunk-2ed9f8b1":"577cceec","chunk-30f81def":"16ce3077","chunk-32d6ccb7":"01f9366c","chunk-42163e43":"f363ac6b","chunk-43202542":"f8bc7cee","chunk-44a6583c":"79c06b90","chunk-4551f5db":"a8e71318","chunk-47e64096":"1f078425","chunk-4a8d1525":"99bb9d36","chunk-19d63d70":"79c5f6f0","chunk-6269ad22":"6998652c","chunk-4b898c1e":"3ada8648","chunk-4f45167e":"835eabfb","chunk-4f6b291e":"af85c35c","chunk-4fc2d3b6":"7915d752","chunk-52b97a85":"6b92d9c5","chunk-5b76b2ab":"321d2be9","chunk-5bf069da":"99efe021","chunk-5d44c14a":"7f2a5ea9","chunk-5ffe4358":"f15be5d1","chunk-6416c93f":"4e5310f6","chunk-6597d41a":"d6354a59","chunk-678c5bc5":"7326f587","chunk-6f5e9798":"910241f5","chunk-70d3390f":"aef7ae13","chunk-7deab646":"29ce43b5","chunk-6f400327":"046f3daf","chunk-a3d8b552":"15fb7199","chunk-a6478ea0":"2c362507","chunk-afc4ef6e":"3c632b2f","chunk-65d39bef":"ae652847","chunk-89f1bdd8":"0c017cfc","chunk-b04998bc":"d8e03820","chunk-c99ffd6a":"c3e4758a","chunk-deb55380":"4ebc5bdc","chunk-efbe6f9e":"f87c0d39"}[e]+".js"}function i(n){if(a[n])return a[n].exports;var t=a[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-00b4720e":1,"chunk-03688d1a":1,"chunk-470f9f3e":1,"chunk-9dadd06a":1,"chunk-120429dc":1,"chunk-29398a88":1,"chunk-4e5566cb":1,"chunk-561658fa":1,"chunk-0b99078a":1,"chunk-102f8002":1,"chunk-1064bb95":1,"chunk-1311f1d5":1,"chunk-13367719":1,"chunk-19821019":1,"chunk-1b06c10b":1,"chunk-1bc03f55":1,"chunk-20fd8fee":1,"chunk-23746427":1,"chunk-23db9727":1,"chunk-26cba5f7":1,"chunk-2cf63d30":1,"chunk-2ed9f8b1":1,"chunk-30f81def":1,"chunk-32d6ccb7":1,"chunk-42163e43":1,"chunk-43202542":1,"chunk-44a6583c":1,"chunk-4551f5db":1,"chunk-47e64096":1,"chunk-4a8d1525":1,"chunk-19d63d70":1,"chunk-6269ad22":1,"chunk-4b898c1e":1,"chunk-4f45167e":1,"chunk-4f6b291e":1,"chunk-4fc2d3b6":1,"chunk-52b97a85":1,"chunk-5b76b2ab":1,"chunk-5bf069da":1,"chunk-5d44c14a":1,"chunk-5ffe4358":1,"chunk-6416c93f":1,"chunk-6597d41a":1,"chunk-678c5bc5":1,"chunk-6f5e9798":1,"chunk-70d3390f":1,"chunk-7deab646":1,"chunk-6f400327":1,"chunk-a3d8b552":1,"chunk-a6478ea0":1,"chunk-afc4ef6e":1,"chunk-65d39bef":1,"chunk-89f1bdd8":1,"chunk-b04998bc":1,"chunk-c99ffd6a":1,"chunk-deb55380":1,"chunk-efbe6f9e":1};c[e]?n.push(c[e]):0!==c[e]&&t[e]&&n.push(c[e]=new Promise((function(n,t){for(var a="css/"+({}[e]||e)+"."+{"chunk-00b4720e":"c557c4e4","chunk-03688d1a":"15b32b6c","chunk-06fd5be4":"31d6cfe0","chunk-470f9f3e":"c566df98","chunk-9dadd06a":"e12b1f26","chunk-120429dc":"521efa28","chunk-29398a88":"e55be917","chunk-08047175":"31d6cfe0","chunk-4e5566cb":"c68ba022","chunk-561658fa":"e8802fbe","chunk-0b99078a":"88a4311b","chunk-102f8002":"a8713f1e","chunk-1064bb95":"6062f4fc","chunk-1311f1d5":"38edece6","chunk-13367719":"1e966bf3","chunk-19821019":"bfa06507","chunk-1b06c10b":"edca6b4f","chunk-1bc03f55":"cb6364a0","chunk-20fd8fee":"63a05456","chunk-23746427":"991865fb","chunk-23db9727":"ac3b1634","chunk-26cba5f7":"8a8a1c2f","chunk-2cf63d30":"ba521d8e","chunk-2d0e1f21":"31d6cfe0","chunk-2ed9f8b1":"3de6c663","chunk-30f81def":"134f322f","chunk-32d6ccb7":"10b34206","chunk-42163e43":"6c086558","chunk-43202542":"1cfaa78e","chunk-44a6583c":"18615f6f","chunk-4551f5db":"4e4b34f8","chunk-47e64096":"62e4e772","chunk-4a8d1525":"43dd04ad","chunk-19d63d70":"cdfa3268","chunk-6269ad22":"75b54ded","chunk-4b898c1e":"07d02776","chunk-4f45167e":"ee441549","chunk-4f6b291e":"45a4e719","chunk-4fc2d3b6":"e4f77a0d","chunk-52b97a85":"998e7f29","chunk-5b76b2ab":"446e4542","chunk-5bf069da":"c46a71c8","chunk-5d44c14a":"2889779b","chunk-5ffe4358":"cebe6710","chunk-6416c93f":"b8c82949","chunk-6597d41a":"1b377e6e","chunk-678c5bc5":"bb167dd3","chunk-6f5e9798":"69c7071f","chunk-70d3390f":"520286b3","chunk-7deab646":"46d5e181","chunk-6f400327":"1288ec64","chunk-a3d8b552":"26e628b3","chunk-a6478ea0":"6deeb9ee","chunk-afc4ef6e":"39f76a32","chunk-65d39bef":"45155552","chunk-89f1bdd8":"b76f6b1b","chunk-b04998bc":"e237d399","chunk-c99ffd6a":"68cc88e0","chunk-deb55380":"27a57dc1","chunk-efbe6f9e":"f92aeab2"}[e]+".css",r=i.p+a,u=document.getElementsByTagName("link"),o=0;o<u.length;o++){var h=u[o],s=h.getAttribute("data-href")||h.getAttribute("href");if("stylesheet"===h.rel&&(s===a||s===r))return n()}var d=document.getElementsByTagName("style");for(o=0;o<d.length;o++){h=d[o],s=h.getAttribute("data-href");if(s===a||s===r)return n()}var f=document.createElement("link");f.rel="stylesheet",f.type="text/css",f.onload=n,f.onerror=function(n){var a=n&&n.target&&n.target.src||r,u=new Error("Loading CSS chunk "+e+" failed.\n("+a+")");u.code="CSS_CHUNK_LOAD_FAILED",u.request=a,delete c[e],f.parentNode.removeChild(f),t(u)},f.href=r;var p=document.getElementsByTagName("head")[0];p.appendChild(f)})).then((function(){c[e]=0})));var a=r[e];if(0!==a)if(a)n.push(a[2]);else{var u=new Promise((function(n,t){a=r[e]=[n,t]}));n.push(a[2]=u);var h,s=document.createElement("script");s.charset="utf-8",s.timeout=120,i.nc&&s.setAttribute("nonce",i.nc),s.src=o(e);var d=new Error;h=function(n){s.onerror=s.onload=null,clearTimeout(f);var t=r[e];if(0!==t){if(t){var a=n&&("load"===n.type?"missing":n.type),c=n&&n.target&&n.target.src;d.message="Loading chunk "+e+" failed.\n("+a+": "+c+")",d.name="ChunkLoadError",d.type=a,d.request=c,t[1](d)}r[e]=void 0}};var f=setTimeout((function(){h({type:"timeout",target:s})}),12e4);s.onerror=s.onload=h,document.head.appendChild(s)}return Promise.all(n)},i.m=e,i.c=a,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 a in e)i.d(t,a,function(n){return e[n]}.bind(null,a));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 console.error(e),e};var h=window["webpackJsonp"]=window["webpackJsonp"]||[],s=h.push.bind(h);h.push=n,h=h.slice();for(var d=0;d<h.length;d++)n(h[d]);var f=s;u.push([0,"chunk-vendors"]),t()})({0:function(e,n,t){t("db4d"),e.exports=t("56d7")},"1a5d":function(e,n,t){var a={"./app-controls/app-detail.vue":["9bc6","chunk-0b99078a"],"./app-controls/app-list.vue":["4a78","chunk-20fd8fee"],"./app-controls/app-market.vue":["53b1","chunk-08047175","chunk-561658fa"],"./app-controls/index.vue":["b04c","chunk-2ed9f8b1"],"./apps/app-auth.vue":["c686","chunk-a3d8b552"],"./apps/customer-app/clerk-tag.vue":["b5b0","chunk-06fd5be4","chunk-9dadd06a","chunk-120429dc"],"./apps/customer-app/crowd-scene.vue":["c7d7","chunk-06fd5be4","chunk-9dadd06a","chunk-29398a88"],"./apps/customer-app/customer-assign.vue":["12eb","chunk-b04998bc"],"./apps/customer-app/customer-data-set.vue":["3cf8","chunk-47e64096"],"./apps/customer-app/customer-show-set.vue":["f766","chunk-5ffe4358"],"./apps/customer-app/data-dimension.vue":["55f3","chunk-06fd5be4","chunk-470f9f3e"],"./apps/customer-app/index.vue":["c3d9","chunk-13367719"],"./apps/gic-protocol.vue":["7ba1","chunk-efbe6f9e"],"./apps/index.vue":["7f2e","chunk-5d44c14a"],"./apps/target-manage/MonthTarget.vue":["5d04","chunk-4f6b291e"],"./apps/target-manage/edit-store-quota.vue":["d091","chunk-9dadd06a","chunk-6f400327"],"./apps/target-manage/index.vue":["9924","chunk-6f5e9798"],"./apps/target-manage/perfect-day-target.vue":["8e1b","chunk-deb55380"],"./apps/target-manage/perfect-sale-target.vue":["d1a4","chunk-7deab646"],"./apps/target-manage/quota-set.vue":["2751","chunk-afc4ef6e","chunk-65d39bef"],"./apps/target-manage/set-month-target.vue":["7d31","chunk-2d0e1f21"],"./apps/target-manage/target-list.vue":["fc87","chunk-03688d1a"],"./apps/target-manage/target-set.vue":["0db3","chunk-1064bb95"],"./apps/target-manage/target-store.vue":["6ce2","chunk-afc4ef6e","chunk-89f1bdd8"],"./business/audit-log.vue":["0912","chunk-1b06c10b"],"./business/auth-merchant.vue":["56b3","chunk-c99ffd6a"],"./business/contacts.vue":["a269","chunk-08047175","chunk-4e5566cb"],"./business/index.vue":["50c8","chunk-43202542"],"./business/new-auth-merchant.vue":["62a7","chunk-4a8d1525","chunk-19d63d70"],"./business/sync-log.vue":["b155","chunk-5bf069da"],"./enterprise/admin-list.vue":["db80","chunk-6416c93f"],"./enterprise/admin-list/role-list.vue":["0082","chunk-23db9727"],"./enterprise/edit-admin.vue":["7dc6","chunk-4a8d1525","chunk-6269ad22"],"./enterprise/edit-role.vue":["2249","chunk-4f45167e"],"./enterprise/edit-role/menu-tree.vue":["a088","chunk-102f8002"],"./enterprise/edit-store-role.vue":["a960","chunk-52b97a85"],"./enterprise/enterprise-set.vue":["b735","chunk-26cba5f7"],"./enterprise/index.vue":["ea02","chunk-5b76b2ab"],"./enterprise/store-admin-list.vue":["2058","chunk-678c5bc5"],"./enterprise/super-admin.vue":["9b74","chunk-1bc03f55"],"./error-page/403.vue":["5140","chunk-42163e43"],"./error-page/404.vue":["1db4","chunk-a6478ea0"],"./error-page/500.vue":["721c","chunk-00b4720e"],"./error-page/gic-error.vue":["442d","chunk-4fc2d3b6"],"./error-page/index.vue":["4cf1","chunk-4551f5db"],"./index/index.vue":["37f9","chunk-2cf63d30"],"./login/index.vue":["9ed6","chunk-6597d41a"],"./review-center/audit-config.vue":["daa8","chunk-4b898c1e"],"./review-center/audit-group-list.vue":["ff23","chunk-70d3390f"],"./review-center/audit-item-list.vue":["727c","chunk-23746427"],"./review-center/create-audit-group.vue":["ea11","chunk-32d6ccb7"],"./review-center/create-audit-item.vue":["e0c0","chunk-30f81def"],"./review-center/index.vue":["2cad","chunk-1311f1d5"],"./review-center/reviewed.vue":["dacc","chunk-44a6583c"],"./review-center/unreview.vue":["1005","chunk-19821019"]};function c(e){if(!t.o(a,e))return Promise.resolve().then((function(){var n=new Error("Cannot find module '"+e+"'");throw n.code="MODULE_NOT_FOUND",n}));var n=a[e],c=n[0];return Promise.all(n.slice(1).map(t.e)).then((function(){return t(c)}))}c.keys=function(){return Object.keys(a)},c.id="1a5d",e.exports=c},"4f94":function(e,n,t){},"56d7":function(e,n,t){"use strict";t.r(n);t("456d"),t("ac6a"),t("cadf"),t("551c"),t("f751"),t("097d"),t("db4d");var a=t("1368"),c=t.n(a),r=(t("0fae"),t("4f94"),t("8bbf")),u=t.n(r),o=t("8c4f"),i=t("cebe"),h=t.n(i),s=t("5c96"),d=t.n(s),f=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("div",{staticClass:"dm-reset",attrs:{id:"app"}},[t("router-view")],1)},p=[],m={name:"App"},b=m,k=t("2877"),l=Object(k["a"])(b,f,p,!1,null,null,null),g=l.exports,v=t("e2b2"),w=t.n(v),y=function(e){t.e("chunk-4551f5db").then(t.bind(null,"4cf1")).then((function(n){e(n)}))},x=[{path:"/",name:"/",redirect:"login"},{path:"/login",name:"登录",component:w()("login","index")},{path:"/index",name:"index",component:w()("index","index")},{path:"/contacts",name:"通讯录",redirect:"contactsList",component:w()("business","index"),children:[{path:"/contactsList",name:"通讯录",component:w()("business","contacts")},{path:"/syncLog",name:"通讯录日志",component:w()("business","sync-log")},{path:"/authMerchant",name:"授权商户",component:w()("business","auth-merchant")},{path:"/newAuthMerchant",name:"新增授权",component:w()("business","new-auth-merchant")},{path:"/auditLog",name:"审核日志",component:w()("business","audit-log")}]},{path:"/reviewCenter",name:"审核中心",redirect:"unreview",component:w()("review-center","index"),children:[{path:"/reviewed",name:"已审核",component:w()("review-center","reviewed")},{path:"/unreview",name:"未审核",component:w()("review-center","unreview")},{path:"/audit-group-list",meta:{title:"审核组列表"},component:w()("review-center","audit-group-list")},{path:"/create-audit-group",meta:{title:"新建、编辑审核组"},component:w()("review-center","create-audit-group")},{path:"/audit-item-list",meta:{title:"审核事项列表"},component:w()("review-center","audit-item-list")},{path:"/create-audit-item",meta:{title:"新建、编辑审核事项"},component:w()("review-center","create-audit-item")},{path:"/audit-config",meta:{title:"审核设置"},component:w()("review-center","audit-config")}]},{path:"/enterprise",name:"企业设置",redirect:"enterpriseSet",component:w()("enterprise","index"),children:[{path:"/enterpriseSet",name:"企业信息",component:w()("enterprise","enterprise-set")},{path:"/admin-list",name:"管理员",component:w()("enterprise","admin-list")},{path:"/edit-role",name:"新建、编辑角色",component:w()("enterprise","edit-role")},{path:"/edit-admin",name:"新建编辑管理员",component:w()("enterprise","edit-admin")},{path:"/store-admin-list",name:"门店角色",component:w()("enterprise","store-admin-list")},{path:"/edit-store-role",name:"编辑门店角色",component:w()("enterprise","edit-store-role")},{path:"/superAdmin",name:"超级管理员",component:w()("enterprise","super-admin")}]},{path:"/app-controls",meta:{title:"工作台"},redirect:"/app-list",component:w()("app-controls","index"),children:[{path:"/app-list",meta:{title:"服务应用"},component:w()("app-controls","app-list")},{path:"/app-detail",meta:{title:"服务应用详情"},component:w()("app-controls","app-detail")},{path:"/app-market",meta:{title:"服务市场"},component:w()("app-controls","app-market")}]},{path:"/apps",name:"企业应用",component:w()("apps","index"),children:[{path:"/my-customer",name:"我的顾客",component:w()("apps/customer-app","index"),children:[{path:"/data-dimension",name:"数据维度",component:w()("apps/customer-app","data-dimension")},{path:"/crowd-scene",name:"人群场景",component:w()("apps/customer-app","crowd-scene")},{path:"/customer-data-set",name:"顾客资料",component:w()("apps/customer-app","customer-data-set")},{path:"/clerk-tag",name:"导购标签",component:w()("apps/customer-app","clerk-tag")},{path:"/customer-assign",name:"顾客分配",component:w()("apps/customer-app","customer-assign")}]},{path:"/target-manage",name:"指标管理",component:w()("apps/target-manage","index"),children:[{path:"/target-list",name:"指标列表",component:w()("apps/target-manage","target-list")},{path:"/target-store",name:"查看门店",component:w()("apps/target-manage","target-store")},{path:"/perfect-sale-target",name:"完善导购指标",component:w()("apps/target-manage","perfect-sale-target")},{path:"/perfect-day-target",name:"完善日指标",component:w()("apps/target-manage","perfect-day-target")},{path:"/set-month-target",name:"设置月指标",component:w()("apps/target-manage","set-month-target")},{path:"/quota-set",name:"指标设置",component:w()("apps/target-manage","quota-set")},{path:"/edit-store-quota",name:"编辑门店指标",component:w()("apps/target-manage","edit-store-quota")},{path:"/target-set",name:"下发设置",component:w()("apps/target-manage","target-set")}]}]},{path:"/app-auth",name:"应用授权",component:w()("apps","app-auth")},{path:"/gic-protocol",meta:{title:"协议"},component:w()("apps","gic-protocol")},{path:"/gic-error",name:"gic跳转失败页",component:w()("error-page","gic-error")},{path:"/403",name:"无权访问",component:y},{path:"/404",name:"error404",component:y},{path:"/500",name:"error500",component:y},{path:"*",redirect:"/404",hidden:!0}],M=o["a"].prototype.push;o["a"].prototype.push=function(e){return M.call(this,e).catch((function(e){return e}))};var S=new o["a"]({mode:"history",base:"/haoban-4/",routes:x}),O=S,D=t("5880"),j=t.n(D);u.a.use(j.a);var E=new j.a.Store({state:{storeInfo:[]},mutations:{saveStore:function(e,n){e.storeInfo=n},clearData:function(e){e.storeInfo=[]}},actions:{saveStoreInfo:function(e,n){e.commit("saveStore",n)},clearStoreData:function(e,n){e.commit("clearData")}}}),A=(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),a={"M+":t.getMonth()+1,"D+":t.getDate(),W:"日一二三四五六".charAt(t.getDay()),"h+":t.getHours(),"m+":t.getMinutes(),"s+":t.getSeconds(),"q+":Math.floor((t.getMonth()+3)/3),S:t.getMilliseconds()};for(var c in/(Y+)/.test(n)&&(n=n.replace(RegExp.$1,(t.getFullYear()+"").substr(4-RegExp.$1.length))),a)new RegExp("("+c+")").test(n)&&(n=n.replace(RegExp.$1,1===RegExp.$1.length?a[c]:("00"+a[c]).substr((""+a[c]).length)));return n}),P=function(e){if(!e)return"";var n=new Date(e),t=n.getMonth()+1,a=n.getDate()<10?"0"+n.getDate():n.getDate(),c=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(c,"-").concat(a," ").concat(r,":").concat(u,":").concat(o)},T=function(e){if(!e)return"";var n=new Date(e),t=n.getMonth()+1,a=n.getDate()<10?"0"+n.getDate():n.getDate(),c=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(c,".").concat(a," ").concat(r,":").concat(u,":").concat(o)},C=function(e){if(!e)return"";var n=new Date(e),t=n.getMonth()+1,a=t<10?"0"+t:t;return"".concat(n.getFullYear(),"-").concat(a)},L=function(e){if(!e)return"";var n=new Date(e),t=n.getMonth()+1,a=n.getDate()<10?"0"+n.getDate():n.getDate(),c=t<10?"0"+t:t;return"".concat(n.getFullYear(),"-").concat(c,"-").concat(a)},H=function(e){if(!e)return"";var n=new Date(e),t=n.getHours()<10?"0"+n.getHours():n.getHours(),a=n.getMinutes()<10?"0"+n.getMinutes():n.getMinutes(),c=n.getSeconds()<10?"0"+n.getSeconds():n.getSeconds();return"".concat(t,":").concat(a,":").concat(c)},_=function(e){if(!e)return"";var n=new Date,t=new Date(Number(e)).getTime()-n.getTime();if(t<0)return"";var a=Math.floor(t/864e5),c=t%864e5,r=Math.floor(c/36e5),u=c%36e5,o=Math.floor(u/6e4);return"".concat(a,"天").concat(r,"小时").concat(o,"分")},F=function(e){return e?(e=e.toString(),e.substr(0,3)+"****"+e.substr(7,11)):""},N=function(e){return e?(e=e.toString(),"**"+e.substr(e.length-1,e.length)):""},R=function(e){return e?(e=e.toString(),e.length>6?e.substr(0,5)+"...":e):""},q=function(e){if(!e)return"00:00:00";var n=e/1e3,t=Math.floor(n/60/60/24),a=24*t+Math.floor(n/60/60)%24<10?"0"+(24*t+Math.floor(n/60/60)%24):24*t+Math.floor(n/60/60)%24,c=Math.floor(n/60)%60<10?"0"+Math.floor(n/60)%60:Math.floor(n/60)%60,r=Math.floor(n)%60<10?"0"+Math.floor(n)%60:Math.floor(n)%60;return"".concat(a,":").concat(c,":").concat(r)},Y={dateFormat:A,formatTimeStamp:P,timeStampToYm:C,timeStampToYmd:L,timeStampToHms:H,formatTimeYmdHms:T,formatPhoneNum:F,formatName:N,timeStampSpace:_,formatTime:q,formatWord:R},$=(t("96cf"),t("1da1")),I=(t("5df3"),t("b775")),U=[],B=[],V={};function J(){var e=new Promise((function(e){Object(I["a"])({url:"/hb-manage-web/list-staff-role-menu"}).then((function(e){B=W(e.result||[])})).finally(e)})),n=new Promise((function(e){Object(I["a"])({url:"/hb-manage-web/list-staff-role-opeation"}).then((function(e){V=K(e.result||[])})).finally(e)}));return Promise.all([e,n])}function W(e){var n=[];return e.forEach((function(e){e.menuUrl&&n.push(e.menuUrl),Array.isArray(e.children)&&(n=n.concat(W(e.children)))})),n}function K(e){var n={};return e.forEach((function(e){n[e.menuCode]=!0})),n}function z(e){var n=[];return e.forEach((function(e){Array.isArray(e.children)&&(n=n.concat(z(e.children))),n.push(e.path)})),n}function G(e,n,t){var a=B.some((function(n){return n.indexOf("/#")>=0?n=="/#".concat(e.path):n==e.path}));if(a)return Object.assign(h.a.defaults.headers.common,{route:e.path.replace(/^\//,"")}),t();U.some((function(n){return n==e.path}))||0==B.length?t("/gic-error"):(Object.assign(h.a.defaults.headers.common,{route:B[0].replace(/^\//,"")}),t(B[0]))}function Q(e){return!!V[e]}var X=function(e){var n=e.projectPath,t=e.whiteRoute,a=e.router,c=e.routes,r=e.createApp,o=u.a.prototype.$loading({lock:!0,customClass:"medium"});window.addEventListener("load",Object($["a"])(regeneratorRuntime.mark((function e(){var u;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(u=window.location.pathname,-1!=u.indexOf("/login")||-1!=u.indexOf("/gic-error")){e.next=5;break}return Object.assign(h.a.defaults.headers.common,{project:n,route:u.replace(/\/haoban-4\//,"")}),e.next=5,J();case 5:Array.isArray(t)&&(B=B.concat(t)),Array.isArray(c)&&(U=z(c)),a.beforeEach(G),"function"==typeof r&&(o.close(),r());case 9:case"end":return e.stop()}}),e)}))))},Z=t("f121");c.a.polyfill(),window.Vue=u.a,u.a.use(o["a"]),u.a.use(d.a),h.a.defaults.withCredentials=!0,u.a.prototype.axios=h.a,u.a.prototype.$itemPerm=Q,u.a.prototype.$itemCode=Z["a"],u.a.config.devtools=!1,u.a.config.productionTip=!1,Object.keys(Y).forEach((function(e){u.a.filter(e,Y[e])})),X({projectPath:"haoban",whiteRoute:["/login","/contactsList","/apps","/gic-error","/403","/404","/500"],router:O,routes:x,createApp:function(){new u.a({router:O,store:E,render:function(e){return e(g)}}).$mount("#app")}})},5880:function(e,n){e.exports=Vuex},"8bbf":function(e,n){e.exports=Vue},b775:function(e,n,t){"use strict";t.d(n,"a",(function(){return s}));var a=t("cebe"),c=t.n(a),r=t("4328"),u=t.n(r),o=t("5c96"),i=t("f121");function h(e){switch(e){case 404:window.location.href=i["c"]+"/haoban-4/404";break;case 403:window.location.href=i["c"]+"/haoban-4/403";break;case 500:window.location.href=i["c"]+"/haoban-4/500";break}}c.a.defaults.baseURL=i["c"],c.a.defaults.withCredentials=!0;var s=function(e,n,t){n=Object.assign({},n),e=Object.assign({},e);var a={url:"",params:"",data:"",method:"get",useFormData:!1,useIntercept:!0,headers:{}};switch(Object.assign(a,e,t),a.useFormData&&(n=u.a.stringify(n)),a.method.toLowerCase()){case"get":a.params=n;break;case"post":a.data=n;break;default:a.data=n;break}return new Promise((function(e,n){c()(a).then((function(t){var c=t.data;return c.code==i["b"]?(window.location.href="".concat(i["c"],"/haoban-4/login"),n(c)):a.useIntercept&&c.code!=i["d"]?(Object(o["Message"])({message:"0002"==c.code?"数据加载失败":c.message||"接口错误",type:"warning"}),n(c)):void e(c)})).catch((function(e){var t=e.response||{},a=t.data||{};h(e.response.status),Object(o["Message"])({message:a.message||"数据加载失败",type:"warning"}),n(e)}))}))}},cebe:function(e,n){e.exports=axios},e2b2:function(e,n,t){e.exports=function(e,n){return function(a){t("1a5d")("./"+e+"/"+n+".vue").then((function(e){a(e)}))}}},f121:function(e,n,t){"use strict";function a(){var e=window.location.origin;return(e.indexOf("localhost")>=0||e.indexOf("192.168")>=0)&&(e="https://four.gicdev.com"),e}t.d(n,"c",(function(){return c})),t.d(n,"d",(function(){return r})),t.d(n,"b",(function(){return u})),t.d(n,"a",(function(){return o}));var c=a(),r="0000",u="0003",o={batchAudit:"batchAudit"}}}); (function(e){function n(n){for(var a,c,o=n[0],i=n[1],h=n[2],s=0,d=[];s<o.length;s++)c=o[s],Object.prototype.hasOwnProperty.call(r,c)&&r[c]&&d.push(r[c][0]),r[c]=0;for(a in i)Object.prototype.hasOwnProperty.call(i,a)&&(e[a]=i[a]);f&&f(n);while(d.length)d.shift()();return u.push.apply(u,h||[]),t()}function t(){for(var e,n=0;n<u.length;n++){for(var t=u[n],a=!0,c=1;c<t.length;c++){var o=t[c];0!==r[o]&&(a=!1)}a&&(u.splice(n--,1),e=i(i.s=t[0]))}return e}var a={},c={app:0},r={app:0},u=[];function o(e){return i.p+"js/"+({}[e]||e)+"."+{"chunk-00b4720e":"c934d318","chunk-03688d1a":"7721a7d6","chunk-06fd5be4":"89314364","chunk-470f9f3e":"1fe8c362","chunk-9dadd06a":"30d0363d","chunk-120429dc":"970bf468","chunk-29398a88":"8dd9ddd8","chunk-08047175":"e025ecad","chunk-4e5566cb":"dce7996d","chunk-561658fa":"23df9c13","chunk-0b99078a":"f7aacc11","chunk-102f8002":"83e7e868","chunk-1064bb95":"89a5b969","chunk-1311f1d5":"c029dfb2","chunk-13367719":"ae696748","chunk-19821019":"230413e4","chunk-1b06c10b":"d003b1dc","chunk-1bc03f55":"28ce1d8f","chunk-20fd8fee":"cae37544","chunk-23746427":"efff437f","chunk-23db9727":"1af43e6d","chunk-26cba5f7":"a8460b7e","chunk-2cf63d30":"cedace5d","chunk-2d0e1f21":"d3ed2e41","chunk-2ed9f8b1":"577cceec","chunk-30f81def":"16ce3077","chunk-32d6ccb7":"01f9366c","chunk-42163e43":"f363ac6b","chunk-43202542":"f8bc7cee","chunk-44a6583c":"79c06b90","chunk-4551f5db":"a8e71318","chunk-47e64096":"1f078425","chunk-4a8d1525":"99bb9d36","chunk-4cda0da2":"bf4c51d1","chunk-6269ad22":"6998652c","chunk-4b898c1e":"3ada8648","chunk-4f45167e":"835eabfb","chunk-4f6b291e":"af85c35c","chunk-4fc2d3b6":"7915d752","chunk-52b97a85":"6b92d9c5","chunk-5b76b2ab":"321d2be9","chunk-5bf069da":"99efe021","chunk-5d44c14a":"7f2a5ea9","chunk-5ffe4358":"f15be5d1","chunk-6416c93f":"4e5310f6","chunk-6597d41a":"d6354a59","chunk-678c5bc5":"7326f587","chunk-6f5e9798":"910241f5","chunk-70d3390f":"aef7ae13","chunk-7deab646":"29ce43b5","chunk-6f400327":"046f3daf","chunk-a3d8b552":"15fb7199","chunk-a6478ea0":"2c362507","chunk-afc4ef6e":"3c632b2f","chunk-65d39bef":"ae652847","chunk-89f1bdd8":"0c017cfc","chunk-b04998bc":"d8e03820","chunk-c99ffd6a":"c3e4758a","chunk-deb55380":"4ebc5bdc","chunk-efbe6f9e":"f87c0d39"}[e]+".js"}function i(n){if(a[n])return a[n].exports;var t=a[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-00b4720e":1,"chunk-03688d1a":1,"chunk-470f9f3e":1,"chunk-9dadd06a":1,"chunk-120429dc":1,"chunk-29398a88":1,"chunk-4e5566cb":1,"chunk-561658fa":1,"chunk-0b99078a":1,"chunk-102f8002":1,"chunk-1064bb95":1,"chunk-1311f1d5":1,"chunk-13367719":1,"chunk-19821019":1,"chunk-1b06c10b":1,"chunk-1bc03f55":1,"chunk-20fd8fee":1,"chunk-23746427":1,"chunk-23db9727":1,"chunk-26cba5f7":1,"chunk-2cf63d30":1,"chunk-2ed9f8b1":1,"chunk-30f81def":1,"chunk-32d6ccb7":1,"chunk-42163e43":1,"chunk-43202542":1,"chunk-44a6583c":1,"chunk-4551f5db":1,"chunk-47e64096":1,"chunk-4a8d1525":1,"chunk-4cda0da2":1,"chunk-6269ad22":1,"chunk-4b898c1e":1,"chunk-4f45167e":1,"chunk-4f6b291e":1,"chunk-4fc2d3b6":1,"chunk-52b97a85":1,"chunk-5b76b2ab":1,"chunk-5bf069da":1,"chunk-5d44c14a":1,"chunk-5ffe4358":1,"chunk-6416c93f":1,"chunk-6597d41a":1,"chunk-678c5bc5":1,"chunk-6f5e9798":1,"chunk-70d3390f":1,"chunk-7deab646":1,"chunk-6f400327":1,"chunk-a3d8b552":1,"chunk-a6478ea0":1,"chunk-afc4ef6e":1,"chunk-65d39bef":1,"chunk-89f1bdd8":1,"chunk-b04998bc":1,"chunk-c99ffd6a":1,"chunk-deb55380":1,"chunk-efbe6f9e":1};c[e]?n.push(c[e]):0!==c[e]&&t[e]&&n.push(c[e]=new Promise((function(n,t){for(var a="css/"+({}[e]||e)+"."+{"chunk-00b4720e":"c557c4e4","chunk-03688d1a":"15b32b6c","chunk-06fd5be4":"31d6cfe0","chunk-470f9f3e":"c566df98","chunk-9dadd06a":"e12b1f26","chunk-120429dc":"521efa28","chunk-29398a88":"e55be917","chunk-08047175":"31d6cfe0","chunk-4e5566cb":"c68ba022","chunk-561658fa":"e8802fbe","chunk-0b99078a":"88a4311b","chunk-102f8002":"a8713f1e","chunk-1064bb95":"6062f4fc","chunk-1311f1d5":"38edece6","chunk-13367719":"1e966bf3","chunk-19821019":"bfa06507","chunk-1b06c10b":"edca6b4f","chunk-1bc03f55":"cb6364a0","chunk-20fd8fee":"63a05456","chunk-23746427":"991865fb","chunk-23db9727":"ac3b1634","chunk-26cba5f7":"8a8a1c2f","chunk-2cf63d30":"ba521d8e","chunk-2d0e1f21":"31d6cfe0","chunk-2ed9f8b1":"3de6c663","chunk-30f81def":"134f322f","chunk-32d6ccb7":"10b34206","chunk-42163e43":"6c086558","chunk-43202542":"1cfaa78e","chunk-44a6583c":"18615f6f","chunk-4551f5db":"4e4b34f8","chunk-47e64096":"62e4e772","chunk-4a8d1525":"43dd04ad","chunk-4cda0da2":"dafc0cdd","chunk-6269ad22":"75b54ded","chunk-4b898c1e":"07d02776","chunk-4f45167e":"ee441549","chunk-4f6b291e":"45a4e719","chunk-4fc2d3b6":"e4f77a0d","chunk-52b97a85":"998e7f29","chunk-5b76b2ab":"446e4542","chunk-5bf069da":"c46a71c8","chunk-5d44c14a":"2889779b","chunk-5ffe4358":"cebe6710","chunk-6416c93f":"b8c82949","chunk-6597d41a":"1b377e6e","chunk-678c5bc5":"bb167dd3","chunk-6f5e9798":"69c7071f","chunk-70d3390f":"520286b3","chunk-7deab646":"46d5e181","chunk-6f400327":"1288ec64","chunk-a3d8b552":"26e628b3","chunk-a6478ea0":"6deeb9ee","chunk-afc4ef6e":"39f76a32","chunk-65d39bef":"45155552","chunk-89f1bdd8":"b76f6b1b","chunk-b04998bc":"e237d399","chunk-c99ffd6a":"68cc88e0","chunk-deb55380":"27a57dc1","chunk-efbe6f9e":"f92aeab2"}[e]+".css",r=i.p+a,u=document.getElementsByTagName("link"),o=0;o<u.length;o++){var h=u[o],s=h.getAttribute("data-href")||h.getAttribute("href");if("stylesheet"===h.rel&&(s===a||s===r))return n()}var d=document.getElementsByTagName("style");for(o=0;o<d.length;o++){h=d[o],s=h.getAttribute("data-href");if(s===a||s===r)return n()}var f=document.createElement("link");f.rel="stylesheet",f.type="text/css",f.onload=n,f.onerror=function(n){var a=n&&n.target&&n.target.src||r,u=new Error("Loading CSS chunk "+e+" failed.\n("+a+")");u.code="CSS_CHUNK_LOAD_FAILED",u.request=a,delete c[e],f.parentNode.removeChild(f),t(u)},f.href=r;var p=document.getElementsByTagName("head")[0];p.appendChild(f)})).then((function(){c[e]=0})));var a=r[e];if(0!==a)if(a)n.push(a[2]);else{var u=new Promise((function(n,t){a=r[e]=[n,t]}));n.push(a[2]=u);var h,s=document.createElement("script");s.charset="utf-8",s.timeout=120,i.nc&&s.setAttribute("nonce",i.nc),s.src=o(e);var d=new Error;h=function(n){s.onerror=s.onload=null,clearTimeout(f);var t=r[e];if(0!==t){if(t){var a=n&&("load"===n.type?"missing":n.type),c=n&&n.target&&n.target.src;d.message="Loading chunk "+e+" failed.\n("+a+": "+c+")",d.name="ChunkLoadError",d.type=a,d.request=c,t[1](d)}r[e]=void 0}};var f=setTimeout((function(){h({type:"timeout",target:s})}),12e4);s.onerror=s.onload=h,document.head.appendChild(s)}return Promise.all(n)},i.m=e,i.c=a,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 a in e)i.d(t,a,function(n){return e[n]}.bind(null,a));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 console.error(e),e};var h=window["webpackJsonp"]=window["webpackJsonp"]||[],s=h.push.bind(h);h.push=n,h=h.slice();for(var d=0;d<h.length;d++)n(h[d]);var f=s;u.push([0,"chunk-vendors"]),t()})({0:function(e,n,t){t("db4d"),e.exports=t("56d7")},"1a5d":function(e,n,t){var a={"./app-controls/app-detail.vue":["9bc6","chunk-0b99078a"],"./app-controls/app-list.vue":["4a78","chunk-20fd8fee"],"./app-controls/app-market.vue":["53b1","chunk-08047175","chunk-561658fa"],"./app-controls/index.vue":["b04c","chunk-2ed9f8b1"],"./apps/app-auth.vue":["c686","chunk-a3d8b552"],"./apps/customer-app/clerk-tag.vue":["b5b0","chunk-06fd5be4","chunk-9dadd06a","chunk-120429dc"],"./apps/customer-app/crowd-scene.vue":["c7d7","chunk-06fd5be4","chunk-9dadd06a","chunk-29398a88"],"./apps/customer-app/customer-assign.vue":["12eb","chunk-b04998bc"],"./apps/customer-app/customer-data-set.vue":["3cf8","chunk-47e64096"],"./apps/customer-app/customer-show-set.vue":["f766","chunk-5ffe4358"],"./apps/customer-app/data-dimension.vue":["55f3","chunk-06fd5be4","chunk-470f9f3e"],"./apps/customer-app/index.vue":["c3d9","chunk-13367719"],"./apps/gic-protocol.vue":["7ba1","chunk-efbe6f9e"],"./apps/index.vue":["7f2e","chunk-5d44c14a"],"./apps/target-manage/MonthTarget.vue":["5d04","chunk-4f6b291e"],"./apps/target-manage/edit-store-quota.vue":["d091","chunk-9dadd06a","chunk-6f400327"],"./apps/target-manage/index.vue":["9924","chunk-6f5e9798"],"./apps/target-manage/perfect-day-target.vue":["8e1b","chunk-deb55380"],"./apps/target-manage/perfect-sale-target.vue":["d1a4","chunk-7deab646"],"./apps/target-manage/quota-set.vue":["2751","chunk-afc4ef6e","chunk-65d39bef"],"./apps/target-manage/set-month-target.vue":["7d31","chunk-2d0e1f21"],"./apps/target-manage/target-list.vue":["fc87","chunk-03688d1a"],"./apps/target-manage/target-set.vue":["0db3","chunk-1064bb95"],"./apps/target-manage/target-store.vue":["6ce2","chunk-afc4ef6e","chunk-89f1bdd8"],"./business/audit-log.vue":["0912","chunk-1b06c10b"],"./business/auth-merchant.vue":["56b3","chunk-c99ffd6a"],"./business/contacts.vue":["a269","chunk-08047175","chunk-4e5566cb"],"./business/index.vue":["50c8","chunk-43202542"],"./business/new-auth-merchant.vue":["62a7","chunk-4a8d1525","chunk-4cda0da2"],"./business/sync-log.vue":["b155","chunk-5bf069da"],"./enterprise/admin-list.vue":["db80","chunk-6416c93f"],"./enterprise/admin-list/role-list.vue":["0082","chunk-23db9727"],"./enterprise/edit-admin.vue":["7dc6","chunk-4a8d1525","chunk-6269ad22"],"./enterprise/edit-role.vue":["2249","chunk-4f45167e"],"./enterprise/edit-role/menu-tree.vue":["a088","chunk-102f8002"],"./enterprise/edit-store-role.vue":["a960","chunk-52b97a85"],"./enterprise/enterprise-set.vue":["b735","chunk-26cba5f7"],"./enterprise/index.vue":["ea02","chunk-5b76b2ab"],"./enterprise/store-admin-list.vue":["2058","chunk-678c5bc5"],"./enterprise/super-admin.vue":["9b74","chunk-1bc03f55"],"./error-page/403.vue":["5140","chunk-42163e43"],"./error-page/404.vue":["1db4","chunk-a6478ea0"],"./error-page/500.vue":["721c","chunk-00b4720e"],"./error-page/gic-error.vue":["442d","chunk-4fc2d3b6"],"./error-page/index.vue":["4cf1","chunk-4551f5db"],"./index/index.vue":["37f9","chunk-2cf63d30"],"./login/index.vue":["9ed6","chunk-6597d41a"],"./review-center/audit-config.vue":["daa8","chunk-4b898c1e"],"./review-center/audit-group-list.vue":["ff23","chunk-70d3390f"],"./review-center/audit-item-list.vue":["727c","chunk-23746427"],"./review-center/create-audit-group.vue":["ea11","chunk-32d6ccb7"],"./review-center/create-audit-item.vue":["e0c0","chunk-30f81def"],"./review-center/index.vue":["2cad","chunk-1311f1d5"],"./review-center/reviewed.vue":["dacc","chunk-44a6583c"],"./review-center/unreview.vue":["1005","chunk-19821019"]};function c(e){if(!t.o(a,e))return Promise.resolve().then((function(){var n=new Error("Cannot find module '"+e+"'");throw n.code="MODULE_NOT_FOUND",n}));var n=a[e],c=n[0];return Promise.all(n.slice(1).map(t.e)).then((function(){return t(c)}))}c.keys=function(){return Object.keys(a)},c.id="1a5d",e.exports=c},"4f94":function(e,n,t){},"56d7":function(e,n,t){"use strict";t.r(n);t("456d"),t("ac6a"),t("cadf"),t("551c"),t("f751"),t("097d"),t("db4d");var a=t("1368"),c=t.n(a),r=(t("0fae"),t("4f94"),t("8bbf")),u=t.n(r),o=t("8c4f"),i=t("cebe"),h=t.n(i),s=t("5c96"),d=t.n(s),f=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("div",{staticClass:"dm-reset",attrs:{id:"app"}},[t("router-view")],1)},p=[],m={name:"App"},b=m,k=t("2877"),l=Object(k["a"])(b,f,p,!1,null,null,null),g=l.exports,v=t("e2b2"),w=t.n(v),y=function(e){t.e("chunk-4551f5db").then(t.bind(null,"4cf1")).then((function(n){e(n)}))},x=[{path:"/",name:"/",redirect:"login"},{path:"/login",name:"登录",component:w()("login","index")},{path:"/index",name:"index",component:w()("index","index")},{path:"/contacts",name:"通讯录",redirect:"contactsList",component:w()("business","index"),children:[{path:"/contactsList",name:"通讯录",component:w()("business","contacts")},{path:"/syncLog",name:"通讯录日志",component:w()("business","sync-log")},{path:"/authMerchant",name:"授权商户",component:w()("business","auth-merchant")},{path:"/newAuthMerchant",name:"新增授权",component:w()("business","new-auth-merchant")},{path:"/auditLog",name:"审核日志",component:w()("business","audit-log")}]},{path:"/reviewCenter",name:"审核中心",redirect:"unreview",component:w()("review-center","index"),children:[{path:"/reviewed",name:"已审核",component:w()("review-center","reviewed")},{path:"/unreview",name:"未审核",component:w()("review-center","unreview")},{path:"/audit-group-list",meta:{title:"审核组列表"},component:w()("review-center","audit-group-list")},{path:"/create-audit-group",meta:{title:"新建、编辑审核组"},component:w()("review-center","create-audit-group")},{path:"/audit-item-list",meta:{title:"审核事项列表"},component:w()("review-center","audit-item-list")},{path:"/create-audit-item",meta:{title:"新建、编辑审核事项"},component:w()("review-center","create-audit-item")},{path:"/audit-config",meta:{title:"审核设置"},component:w()("review-center","audit-config")}]},{path:"/enterprise",name:"企业设置",redirect:"enterpriseSet",component:w()("enterprise","index"),children:[{path:"/enterpriseSet",name:"企业信息",component:w()("enterprise","enterprise-set")},{path:"/admin-list",name:"管理员",component:w()("enterprise","admin-list")},{path:"/edit-role",name:"新建、编辑角色",component:w()("enterprise","edit-role")},{path:"/edit-admin",name:"新建编辑管理员",component:w()("enterprise","edit-admin")},{path:"/store-admin-list",name:"门店角色",component:w()("enterprise","store-admin-list")},{path:"/edit-store-role",name:"编辑门店角色",component:w()("enterprise","edit-store-role")},{path:"/superAdmin",name:"超级管理员",component:w()("enterprise","super-admin")}]},{path:"/app-controls",meta:{title:"工作台"},redirect:"/app-list",component:w()("app-controls","index"),children:[{path:"/app-list",meta:{title:"服务应用"},component:w()("app-controls","app-list")},{path:"/app-detail",meta:{title:"服务应用详情"},component:w()("app-controls","app-detail")},{path:"/app-market",meta:{title:"服务市场"},component:w()("app-controls","app-market")}]},{path:"/apps",name:"企业应用",component:w()("apps","index"),children:[{path:"/my-customer",name:"我的顾客",component:w()("apps/customer-app","index"),children:[{path:"/data-dimension",name:"数据维度",component:w()("apps/customer-app","data-dimension")},{path:"/crowd-scene",name:"人群场景",component:w()("apps/customer-app","crowd-scene")},{path:"/customer-data-set",name:"顾客资料",component:w()("apps/customer-app","customer-data-set")},{path:"/clerk-tag",name:"导购标签",component:w()("apps/customer-app","clerk-tag")},{path:"/customer-assign",name:"顾客分配",component:w()("apps/customer-app","customer-assign")}]},{path:"/target-manage",name:"指标管理",component:w()("apps/target-manage","index"),children:[{path:"/target-list",name:"指标列表",component:w()("apps/target-manage","target-list")},{path:"/target-store",name:"查看门店",component:w()("apps/target-manage","target-store")},{path:"/perfect-sale-target",name:"完善导购指标",component:w()("apps/target-manage","perfect-sale-target")},{path:"/perfect-day-target",name:"完善日指标",component:w()("apps/target-manage","perfect-day-target")},{path:"/set-month-target",name:"设置月指标",component:w()("apps/target-manage","set-month-target")},{path:"/quota-set",name:"指标设置",component:w()("apps/target-manage","quota-set")},{path:"/edit-store-quota",name:"编辑门店指标",component:w()("apps/target-manage","edit-store-quota")},{path:"/target-set",name:"下发设置",component:w()("apps/target-manage","target-set")}]}]},{path:"/app-auth",name:"应用授权",component:w()("apps","app-auth")},{path:"/gic-protocol",meta:{title:"协议"},component:w()("apps","gic-protocol")},{path:"/gic-error",name:"gic跳转失败页",component:w()("error-page","gic-error")},{path:"/403",name:"无权访问",component:y},{path:"/404",name:"error404",component:y},{path:"/500",name:"error500",component:y},{path:"*",redirect:"/404",hidden:!0}],M=o["a"].prototype.push;o["a"].prototype.push=function(e){return M.call(this,e).catch((function(e){return e}))};var S=new o["a"]({mode:"history",base:"/haoban-4/",routes:x}),O=S,D=t("5880"),j=t.n(D);u.a.use(j.a);var E=new j.a.Store({state:{storeInfo:[]},mutations:{saveStore:function(e,n){e.storeInfo=n},clearData:function(e){e.storeInfo=[]}},actions:{saveStoreInfo:function(e,n){e.commit("saveStore",n)},clearStoreData:function(e,n){e.commit("clearData")}}}),A=(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),a={"M+":t.getMonth()+1,"D+":t.getDate(),W:"日一二三四五六".charAt(t.getDay()),"h+":t.getHours(),"m+":t.getMinutes(),"s+":t.getSeconds(),"q+":Math.floor((t.getMonth()+3)/3),S:t.getMilliseconds()};for(var c in/(Y+)/.test(n)&&(n=n.replace(RegExp.$1,(t.getFullYear()+"").substr(4-RegExp.$1.length))),a)new RegExp("("+c+")").test(n)&&(n=n.replace(RegExp.$1,1===RegExp.$1.length?a[c]:("00"+a[c]).substr((""+a[c]).length)));return n}),P=function(e){if(!e)return"";var n=new Date(e),t=n.getMonth()+1,a=n.getDate()<10?"0"+n.getDate():n.getDate(),c=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(c,"-").concat(a," ").concat(r,":").concat(u,":").concat(o)},T=function(e){if(!e)return"";var n=new Date(e),t=n.getMonth()+1,a=n.getDate()<10?"0"+n.getDate():n.getDate(),c=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(c,".").concat(a," ").concat(r,":").concat(u,":").concat(o)},C=function(e){if(!e)return"";var n=new Date(e),t=n.getMonth()+1,a=t<10?"0"+t:t;return"".concat(n.getFullYear(),"-").concat(a)},L=function(e){if(!e)return"";var n=new Date(e),t=n.getMonth()+1,a=n.getDate()<10?"0"+n.getDate():n.getDate(),c=t<10?"0"+t:t;return"".concat(n.getFullYear(),"-").concat(c,"-").concat(a)},H=function(e){if(!e)return"";var n=new Date(e),t=n.getHours()<10?"0"+n.getHours():n.getHours(),a=n.getMinutes()<10?"0"+n.getMinutes():n.getMinutes(),c=n.getSeconds()<10?"0"+n.getSeconds():n.getSeconds();return"".concat(t,":").concat(a,":").concat(c)},_=function(e){if(!e)return"";var n=new Date,t=new Date(Number(e)).getTime()-n.getTime();if(t<0)return"";var a=Math.floor(t/864e5),c=t%864e5,r=Math.floor(c/36e5),u=c%36e5,o=Math.floor(u/6e4);return"".concat(a,"天").concat(r,"小时").concat(o,"分")},F=function(e){return e?(e=e.toString(),e.substr(0,3)+"****"+e.substr(7,11)):""},N=function(e){return e?(e=e.toString(),"**"+e.substr(e.length-1,e.length)):""},R=function(e){return e?(e=e.toString(),e.length>6?e.substr(0,5)+"...":e):""},q=function(e){if(!e)return"00:00:00";var n=e/1e3,t=Math.floor(n/60/60/24),a=24*t+Math.floor(n/60/60)%24<10?"0"+(24*t+Math.floor(n/60/60)%24):24*t+Math.floor(n/60/60)%24,c=Math.floor(n/60)%60<10?"0"+Math.floor(n/60)%60:Math.floor(n/60)%60,r=Math.floor(n)%60<10?"0"+Math.floor(n)%60:Math.floor(n)%60;return"".concat(a,":").concat(c,":").concat(r)},Y={dateFormat:A,formatTimeStamp:P,timeStampToYm:C,timeStampToYmd:L,timeStampToHms:H,formatTimeYmdHms:T,formatPhoneNum:F,formatName:N,timeStampSpace:_,formatTime:q,formatWord:R},$=(t("96cf"),t("1da1")),I=(t("5df3"),t("b775")),U=[],B=[],V={};function J(){var e=new Promise((function(e){Object(I["a"])({url:"/hb-manage-web/list-staff-role-menu"}).then((function(e){B=W(e.result||[])})).finally(e)})),n=new Promise((function(e){Object(I["a"])({url:"/hb-manage-web/list-staff-role-opeation"}).then((function(e){V=K(e.result||[])})).finally(e)}));return Promise.all([e,n])}function W(e){var n=[];return e.forEach((function(e){e.menuUrl&&n.push(e.menuUrl),Array.isArray(e.children)&&(n=n.concat(W(e.children)))})),n}function K(e){var n={};return e.forEach((function(e){n[e.menuCode]=!0})),n}function z(e){var n=[];return e.forEach((function(e){Array.isArray(e.children)&&(n=n.concat(z(e.children))),n.push(e.path)})),n}function G(e,n,t){var a=B.some((function(n){return n.indexOf("/#")>=0?n=="/#".concat(e.path):n==e.path}));if(a)return Object.assign(h.a.defaults.headers.common,{route:e.path.replace(/^\//,"")}),t();U.some((function(n){return n==e.path}))||0==B.length?t("/gic-error"):(Object.assign(h.a.defaults.headers.common,{route:B[0].replace(/^\//,"")}),t(B[0]))}function Q(e){return!!V[e]}var X=function(e){var n=e.projectPath,t=e.whiteRoute,a=e.router,c=e.routes,r=e.createApp,o=u.a.prototype.$loading({lock:!0,customClass:"medium"});window.addEventListener("load",Object($["a"])(regeneratorRuntime.mark((function e(){var u;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(u=window.location.pathname,-1!=u.indexOf("/login")||-1!=u.indexOf("/gic-error")){e.next=5;break}return Object.assign(h.a.defaults.headers.common,{project:n,route:u.replace(/\/haoban-4\//,"")}),e.next=5,J();case 5:Array.isArray(t)&&(B=B.concat(t)),Array.isArray(c)&&(U=z(c)),a.beforeEach(G),"function"==typeof r&&(o.close(),r());case 9:case"end":return e.stop()}}),e)}))))},Z=t("f121");c.a.polyfill(),window.Vue=u.a,u.a.use(o["a"]),u.a.use(d.a),h.a.defaults.withCredentials=!0,u.a.prototype.axios=h.a,u.a.prototype.$itemPerm=Q,u.a.prototype.$itemCode=Z["a"],u.a.config.devtools=!1,u.a.config.productionTip=!1,Object.keys(Y).forEach((function(e){u.a.filter(e,Y[e])})),X({projectPath:"haoban",whiteRoute:["/login","/contactsList","/apps","/gic-error","/403","/404","/500"],router:O,routes:x,createApp:function(){new u.a({router:O,store:E,render:function(e){return e(g)}}).$mount("#app")}})},5880:function(e,n){e.exports=Vuex},"8bbf":function(e,n){e.exports=Vue},b775:function(e,n,t){"use strict";t.d(n,"a",(function(){return s}));var a=t("cebe"),c=t.n(a),r=t("4328"),u=t.n(r),o=t("5c96"),i=t("f121");function h(e){switch(e){case 404:window.location.href=i["c"]+"/haoban-4/404";break;case 403:window.location.href=i["c"]+"/haoban-4/403";break;case 500:window.location.href=i["c"]+"/haoban-4/500";break}}c.a.defaults.baseURL=i["c"],c.a.defaults.withCredentials=!0;var s=function(e,n,t){n=Object.assign({},n),e=Object.assign({},e);var a={url:"",params:"",data:"",method:"get",useFormData:!1,useIntercept:!0,headers:{}};switch(Object.assign(a,e,t),a.useFormData&&(n=u.a.stringify(n)),a.method.toLowerCase()){case"get":a.params=n;break;case"post":a.data=n;break;default:a.data=n;break}return new Promise((function(e,n){c()(a).then((function(t){var c=t.data;return c.code==i["b"]?(window.location.href="".concat(i["c"],"/haoban-4/login"),n(c)):a.useIntercept&&c.code!=i["d"]?(Object(o["Message"])({message:"0002"==c.code?"数据加载失败":c.message||"接口错误",type:"warning"}),n(c)):void e(c)})).catch((function(e){var t=e.response||{},a=t.data||{};h(e.response.status),Object(o["Message"])({message:a.message||"数据加载失败",type:"warning"}),n(e)}))}))}},cebe:function(e,n){e.exports=axios},e2b2:function(e,n,t){e.exports=function(e,n){return function(a){t("1a5d")("./"+e+"/"+n+".vue").then((function(e){a(e)}))}}},f121:function(e,n,t){"use strict";function a(){var e=window.location.origin;return(e.indexOf("localhost")>=0||e.indexOf("192.168")>=0)&&(e="https://four.gicdev.com"),e}t.d(n,"c",(function(){return c})),t.d(n,"d",(function(){return r})),t.d(n,"b",(function(){return u})),t.d(n,"a",(function(){return o}));var c=a(),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-19d63d70"],{"0ac0":function(t,e,a){},"1d4b":function(t,e,a){},"220a":function(t,e,a){},2340:function(t,e,a){},"236e":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,r=0;r<e.length;r++){var n=e.charAt(r);null!=n.match(/[^\x00-\xff]/gi)?a+=2:a+=1}return a},getZhLen:function(t){for(var e=""==t||null==t?"":t,a=0,r=0;r<e.length;r++){var n=e.charAt(r);null!=n.match(/[^\x00-\xff]/gi)?a+=1:a+=.5}return Math.ceil(a)},cutStr:function(t,e,a){for(var r=0,n=0;n<t.length;n++){var s=t.charAt(n);if(1==a&&(encodeURI(s).length>2?r+=1:r+=.5),2==a&&(r+=1),r>=e){var i=r==e?n+1:n;return t.substr(0,i)}}},getByteVal:function(t,e){for(var a=""==t||null==t?"":t,r="",n=0,s=0;s<a.length;s++){if(null!=a[s].match(/[^\x00-\xff]/gi)?n+=1:n+=.5,n>e)break;r+=a[s]}return r},getCharVal:function(t,e){for(var a=""==t||null==t?"":t,r="",n=0,s=0;s<a.length;s++){if(null!=a[s].match(/[^\x00-\xff]/gi)?n+=2:n+=1,n>e)break;r+=a[s]}return r},regPos:function(t){var e=/^\d+(\.\d+)?$/;return e.test(t)}}},"2fe6":function(t,e,a){"use strict";var r=a("52c8"),n=a.n(r);n.a},4917:function(t,e,a){"use strict";var r=a("cb7c"),n=a("9def"),s=a("0390"),i=a("5f1b");a("214f")("match",1,(function(t,e,a,o){return[function(a){var r=t(this),n=void 0==a?void 0:a[e];return void 0!==n?n.call(a,r):new RegExp(a)[e](String(r))},function(t){var e=o(a,t,this);if(e.done)return e.value;var l=r(t),c=String(this);if(!l.global)return i(l,c);var u=l.unicode;l.lastIndex=0;var m,d=[],h=0;while(null!==(m=i(l,c))){var p=String(m[0]);d[h]=p,""===p&&(l.lastIndex=s(c,n(l.lastIndex),u)),h++}return 0===h?null:d}]}))},"52c8":function(t,e,a){},"5880f":function(t,e,a){"use strict";var r=a("e98f"),n=a.n(r);n.a},"5af5":function(t,e,a){"use strict";var r=a("2340"),n=a.n(r);n.a},"62a7":function(t,e,a){"use strict";a.r(e);var r=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":"110px"},nativeOn:{submit:function(t){t.preventDefault()}}},[a("el-form-item",{attrs:{prop:"enterpriseId"}},[a("span",{attrs:{slot:"label"},slot:"label"},[a("el-tooltip",{staticClass:"item",attrs:{effect:"dark",placement:"top-start"}},[a("div",{attrs:{slot:"content"},slot:"content"},[t._v("因企业微信仅支持获取同一开放平台的客户unionid。需要:"),a("br"),t._v("1.确认授权的的多个企业绑定的公众号或小程序存在同一开放平台内;"),a("br"),t._v("2.绑定微信开发者的小程序或公众号与企业微信认证企业主体相同。"),a("br"),t._v("参考链接: https://work.weixin.qq.com/api/doc/90001/90143/92265")]),a("span",{staticClass:"font-14 color-606266 common-bottom-border"},[t._v("选择商户")])])],1),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,r){return a("li",{key:r+"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:{prop:"bindRange"}},[a("span",{attrs:{slot:"label"},slot:"label"},[a("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:"拥有选中的门店管理权限,以及导购账号绑定权限",placement:"top-start"}},[a("span",{staticClass:"font-14 color-606266 common-bottom-border"},[t._v("门店绑定")])])],1),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,r){return[a("span",{key:r+"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(r,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:{prop:"shareRange"}},[a("span",{attrs:{slot:"label"},slot:"label"},[a("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:"拥有选中的门店查看权限",placement:"top-start"}},[a("span",{staticClass:"font-14 color-606266 common-bottom-border"},[t._v("门店共享")])])],1),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,r){return[a("span",{key:r+"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(r,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:{"load-submit":t.loadSubmit,"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)},n=[],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)])},l=[],c={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=c,m=(a("de0b"),a("2877")),d=Object(m["a"])(u,o,l,!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-hb4 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("fbee"),Object(m["a"])(C,y,_,!1,null,"52f63fda",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,r){return[a("span",{key:r+"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.loadSubmit},on:{click:function(e){return t.submitForm("commitForm")}}},[t._v("提交审核")])],1)],1)],1)},D=[],I=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")),O={name:"LimitTextarea",props:{inputValue:{type:String,default:""},maxLength:{type:Number,default:10},inputWidth:{type:Number,default:500},getByType:{type:String,default:"word"},holder:{type:String,default:"请输入"},disInput:{type:Boolean,default:!1}},data:function(){return{inputNum:0,limitLength:10,itemValue:""}},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("8cfe"),Object(m["a"])($,w,k,!1,null,"8106e482",null)),A=L.exports,V=a("d157"),J={name:"AuthCommit",components:{commonAlertTip:I["a"],limitTextarea:A},props:{loadSubmit:{type:Boolean,default:!1},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.$refs[t].validate((function(t){if(!t)return!1;e.toCommitPost()}))}),500),toCommitPost:function(){var t=this;t.$emit("changeStep",t.commitForm.auditReason)},changeRoute:function(t){this.$router.push(t)}},watch:{adminList:function(t){var e=this;e.commitForm.auditAdmin=JSON.parse(JSON.stringify(t))}}},E=J,T=(a("2fe6"),Object(m["a"])(E,x,D,!1,null,"9d92d9c0",null)),j=T.exports,B=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 选择"+t._s(1==t.bindType?"绑定":"共享")+"门店\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&&-1!=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&&(!("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("b0d6"),Object(m["a"])(W,B,G,!1,null,"761c5b6a",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:{maxlength:"50",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.firstName+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,rt=(a("5af5"),Object(m["a"])(at,H,K,!1,null,"a960be2a",null)),nt=rt.exports,st=Q["a"].getAuthDetail,it=Q["a"].getEnterprise,ot=Q["a"].getEnterpriseDetail,lt=Q["a"].getGicAdmin,ct=Q["a"].postEnterpriseAuth,ut={name:"NewAuthMerchant",components:{navCrumb:i["a"],authStep:h,authTip:S,authCommitSuccess:R,authCommit:j,storeAuthDialog:z,checkNameDialog:nt},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:[],loadSubmit:!1}},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||null==a.authForm.shareStoreMode||-1==a.authForm.shareStoreMode?"":String(a.authForm.shareStoreMode),a.authForm.bindStoreMode=!a.authForm.bindRange.length&&a.authForm.bindStoreMode>0||null==a.authForm.bindStoreMode||-1==a.authForm.bindStoreMode?"":String(a.authForm.bindStoreMode)},getAdmin:function(t){var e=this;if(e.authForm.enterpriseId==t.enterpriseId)return!1;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;lt({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["d"])(t),e.loadSubmit=!0;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||null==e.authForm.shareStoreMode||-1==e.authForm.shareStoreMode?"":String(e.authForm.shareStoreMode),bindStoreMode:!e.authForm.bindRange.length&&e.authForm.bindStoreMode>0||null==e.authForm.bindStoreMode||-1==e.authForm.bindStoreMode?"":String(e.authForm.bindStoreMode),auditorName:e.auditorName};ct(a).then((function(t){e.loadSubmit=!1,"0000"==t.code?e.activeStep=2:e.$message({message:t.message||"接口异常",type:"warning"})})).catch((function(t){e.loadSubmit=!1}))},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("5880f"),Object(m["a"])(mt,r,n,!1,null,"a0135e16",null));e["default"]=dt.exports},"7c43":function(t,e,a){},"8cfe":function(t,e,a){"use strict";var r=a("236e"),n=a.n(r);n.a},b0d6:function(t,e,a){"use strict";var r=a("1d4b"),n=a.n(r);n.a},c8ff:function(t,e,a){"use strict";var r=a("0ac0"),n=a.n(r);n.a},de0b:function(t,e,a){"use strict";var r=a("220a"),n=a.n(r);n.a},e98f:function(t,e,a){},fbee:function(t,e,a){"use strict";var r=a("7c43"),n=a.n(r);n.a}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-4cda0da2"],{"0ac0":function(t,e,a){},"1d4b":function(t,e,a){},"220a":function(t,e,a){},2340:function(t,e,a){},"236e":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,r=0;r<e.length;r++){var n=e.charAt(r);null!=n.match(/[^\x00-\xff]/gi)?a+=2:a+=1}return a},getZhLen:function(t){for(var e=""==t||null==t?"":t,a=0,r=0;r<e.length;r++){var n=e.charAt(r);null!=n.match(/[^\x00-\xff]/gi)?a+=1:a+=.5}return Math.ceil(a)},cutStr:function(t,e,a){for(var r=0,n=0;n<t.length;n++){var s=t.charAt(n);if(1==a&&(encodeURI(s).length>2?r+=1:r+=.5),2==a&&(r+=1),r>=e){var i=r==e?n+1:n;return t.substr(0,i)}}},getByteVal:function(t,e){for(var a=""==t||null==t?"":t,r="",n=0,s=0;s<a.length;s++){if(null!=a[s].match(/[^\x00-\xff]/gi)?n+=1:n+=.5,n>e)break;r+=a[s]}return r},getCharVal:function(t,e){for(var a=""==t||null==t?"":t,r="",n=0,s=0;s<a.length;s++){if(null!=a[s].match(/[^\x00-\xff]/gi)?n+=2:n+=1,n>e)break;r+=a[s]}return r},regPos:function(t){var e=/^\d+(\.\d+)?$/;return e.test(t)}}},4917:function(t,e,a){"use strict";var r=a("cb7c"),n=a("9def"),s=a("0390"),i=a("5f1b");a("214f")("match",1,(function(t,e,a,o){return[function(a){var r=t(this),n=void 0==a?void 0:a[e];return void 0!==n?n.call(a,r):new RegExp(a)[e](String(r))},function(t){var e=o(a,t,this);if(e.done)return e.value;var l=r(t),c=String(this);if(!l.global)return i(l,c);var u=l.unicode;l.lastIndex=0;var m,d=[],h=0;while(null!==(m=i(l,c))){var p=String(m[0]);d[h]=p,""===p&&(l.lastIndex=s(c,n(l.lastIndex),u)),h++}return 0===h?null:d}]}))},"5880f":function(t,e,a){"use strict";var r=a("e98f"),n=a.n(r);n.a},"5af5":function(t,e,a){"use strict";var r=a("2340"),n=a.n(r);n.a},"62a7":function(t,e,a){"use strict";a.r(e);var r=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":"110px"},nativeOn:{submit:function(t){t.preventDefault()}}},[a("el-form-item",{attrs:{prop:"enterpriseId"}},[a("span",{attrs:{slot:"label"},slot:"label"},[a("el-tooltip",{staticClass:"item",attrs:{effect:"dark",placement:"top-start"}},[a("div",{attrs:{slot:"content"},slot:"content"},[t._v("因企业微信仅支持获取同一开放平台的客户unionid。需要:"),a("br"),t._v("1.确认授权的的多个企业绑定的公众号或小程序存在同一开放平台内;"),a("br"),t._v("2.绑定微信开发者的小程序或公众号与企业微信认证企业主体相同。"),a("br"),t._v("参考链接: https://work.weixin.qq.com/api/doc/90001/90143/92265")]),a("span",{staticClass:"font-14 color-606266 common-bottom-border"},[t._v("选择商户")])])],1),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,r){return a("li",{key:r+"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:{prop:"bindRange"}},[a("span",{attrs:{slot:"label"},slot:"label"},[a("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:"拥有选中的门店管理权限,以及导购账号绑定权限",placement:"top-start"}},[a("span",{staticClass:"font-14 color-606266 common-bottom-border"},[t._v("门店绑定")])])],1),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,r){return[a("span",{key:r+"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(r,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:{prop:"shareRange"}},[a("span",{attrs:{slot:"label"},slot:"label"},[a("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:"拥有选中的门店查看权限",placement:"top-start"}},[a("span",{staticClass:"font-14 color-606266 common-bottom-border"},[t._v("门店共享")])])],1),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,r){return[a("span",{key:r+"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(r,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:{"load-submit":t.loadSubmit,"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)},n=[],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)])},l=[],c={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=c,m=(a("de0b"),a("2877")),d=Object(m["a"])(u,o,l,!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-hb4 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("fbee"),Object(m["a"])(C,y,_,!1,null,"52f63fda",null)),R=N.exports,x=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{directives:[{name:"loading",rawName:"v-loading",value:t.loadSubmit,expression:"loadSubmit"}],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,r){return[a("span",{key:r+"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"},on:{click:function(e){return t.submitForm("commitForm")}}},[t._v("提交审核")])],1)],1)],1)},w=[],D=a("3081"),I=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")),O={name:"LimitTextarea",props:{inputValue:{type:String,default:""},maxLength:{type:Number,default:10},inputWidth:{type:Number,default:500},getByType:{type:String,default:"word"},holder:{type:String,default:"请输入"},disInput:{type:Boolean,default:!1}},data:function(){return{inputNum:0,limitLength:10,itemValue:""}},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("8cfe"),Object(m["a"])($,I,k,!1,null,"8106e482",null)),A=L.exports,V=a("d157"),J={name:"AuthCommit",components:{commonAlertTip:D["a"],limitTextarea:A},props:{loadSubmit:{type:Boolean,default:!1},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.$refs[t].validate((function(t){if(!t)return!1;e.toCommitPost()}))}),500),toCommitPost:function(){var t=this;t.$emit("changeStep",t.commitForm.auditReason)},changeRoute:function(t){this.$router.push(t)}},watch:{adminList:function(t){var e=this;e.commitForm.auditAdmin=JSON.parse(JSON.stringify(t))}}},E=J,T=(a("f48f"),Object(m["a"])(E,x,w,!1,null,"d1359990",null)),j=T.exports,B=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 选择"+t._s(1==t.bindType?"绑定":"共享")+"门店\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&&-1!=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&&(!("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("b0d6"),Object(m["a"])(W,B,G,!1,null,"761c5b6a",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:{maxlength:"50",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.firstName+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,rt=(a("5af5"),Object(m["a"])(at,H,K,!1,null,"a960be2a",null)),nt=rt.exports,st=Q["a"].getAuthDetail,it=Q["a"].getEnterprise,ot=Q["a"].getEnterpriseDetail,lt=Q["a"].getGicAdmin,ct=Q["a"].postEnterpriseAuth,ut={name:"NewAuthMerchant",components:{navCrumb:i["a"],authStep:h,authTip:S,authCommitSuccess:R,authCommit:j,storeAuthDialog:z,checkNameDialog:nt},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:[],loadSubmit:!1}},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||null==a.authForm.shareStoreMode||-1==a.authForm.shareStoreMode?"":String(a.authForm.shareStoreMode),a.authForm.bindStoreMode=!a.authForm.bindRange.length&&a.authForm.bindStoreMode>0||null==a.authForm.bindStoreMode||-1==a.authForm.bindStoreMode?"":String(a.authForm.bindStoreMode)},getAdmin:function(t){var e=this;if(e.authForm.enterpriseId==t.enterpriseId)return!1;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;lt({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["d"])(t),e.loadSubmit=!0;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||null==e.authForm.shareStoreMode||-1==e.authForm.shareStoreMode?"":String(e.authForm.shareStoreMode),bindStoreMode:!e.authForm.bindRange.length&&e.authForm.bindStoreMode>0||null==e.authForm.bindStoreMode||-1==e.authForm.bindStoreMode?"":String(e.authForm.bindStoreMode),auditorName:e.auditorName};ct(a).then((function(t){e.loadSubmit=!1,"0000"==t.code?e.activeStep=2:e.$message({message:t.message||"接口异常",type:"warning"})})).catch((function(t){e.loadSubmit=!1}))},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("5880f"),Object(m["a"])(mt,r,n,!1,null,"a0135e16",null));e["default"]=dt.exports},"7c43":function(t,e,a){},"8cfe":function(t,e,a){"use strict";var r=a("236e"),n=a.n(r);n.a},b0d6:function(t,e,a){"use strict";var r=a("1d4b"),n=a.n(r);n.a},c8ff:function(t,e,a){"use strict";var r=a("0ac0"),n=a.n(r);n.a},de0b:function(t,e,a){"use strict";var r=a("220a"),n=a.n(r);n.a},e98f:function(t,e,a){},f142:function(t,e,a){},f48f:function(t,e,a){"use strict";var r=a("f142"),n=a.n(r);n.a},fbee:function(t,e,a){"use strict";var r=a("7c43"),n=a.n(r);n.a}}]);
\ No newline at end of file
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
* @Author : 无尘 * @Author : 无尘
* @Date : 2020-02-13 14:02:40 * @Date : 2020-02-13 14:02:40
* @LastEditors: 无尘 * @LastEditors: 无尘
* @LastEditTime: 2020-11-04 17:01:42 * @LastEditTime: 2020-12-18 17:36:55
* @FilePath : j:\公司\haoban-4\src\components\company\auth-commit-success.vue * @FilePath : j:\公司\haoban-4\src\components\company\auth-commit-success.vue
--> -->
<!-- <!--
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
import authCommitSuccess from '@/components/company/auth-commit.vue'; import authCommitSuccess from '@/components/company/auth-commit.vue';
--> -->
<template> <template>
<div class="auth-commit-admin"> <div class="auth-commit-admin" v-loading="loadSubmit" >
<common-alert-tip :width="'328px'" :tip-content="tipContent" class="m-b-32"></common-alert-tip> <common-alert-tip :width="'328px'" :tip-content="tipContent" class="m-b-32"></common-alert-tip>
<el-form :model="commitForm" :rules="rules" ref="commitForm" label-width="100px" class="dialog-form"> <el-form :model="commitForm" :rules="rules" ref="commitForm" label-width="100px" class="dialog-form">
<el-form-item label="申请事项" prop="commitName"> <el-form-item label="申请事项" prop="commitName">
...@@ -32,7 +32,7 @@ ...@@ -32,7 +32,7 @@
</el-form-item> </el-form-item>
<el-form-item> <el-form-item>
<el-button @click="cancel">取消</el-button> <el-button @click="cancel">取消</el-button>
<el-button type="primary" :loading="loadSubmit" @click="submitForm('commitForm')">提交审核</el-button> <el-button type="primary" @click="submitForm('commitForm')">提交审核</el-button>
</el-form-item> </el-form-item>
</el-form> </el-form>
</div> </div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment