Commit 15a20f86 by 无尘

fix: 修改授权

parent 16d18a26
.auth-step-body[data-v-c9703e40]{width:400px;margin:0 auto}.el-alert__title[data-v-6246f46e]{line-height:23px}.color-f5222d[data-v-6246f46e]{color:#f5222d}.auth-commit-success[data-v-68854cb4]{margin-top:154px}.auth-commit-success .color-49c958[data-v-68854cb4]{color:#49c958}.auth-commit-success .font-60[data-v-68854cb4]{font-size:60px}.auth-commit-success .m-t-12[data-v-68854cb4]{margin-top:12px}.auth-commit-success .m-t-28[data-v-68854cb4]{margin-top:28px}.input-line-cell[data-v-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-b0c9cce6]{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-ab848f2c]{width:267px}.m-t-35[data-v-ab848f2c]{margin-top:35px}.common-bottom-border[data-v-ab848f2c]{cursor:pointer;padding-bottom:2px;border-bottom:1px dashed #2f54eb}.el-input-group__prepend[data-v-ab848f2c]{display:inline-block;width:86px;height:32px;line-height:32px;vertical-align:top;border-color:#c4c6cf}.select-search-input[data-v-ab848f2c]{display:inline-block;margin-left:-2px}.company-select[data-v-ab848f2c]{position:relative}.company-select .el-select-dropdown__item[data-v-ab848f2c]{height:52px;line-height:52px}.company-select .text-ellipsis[data-v-ab848f2c]{max-width:200px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.my-customer-wrap[data-v-ab848f2c]{height:100%}.my-customer-wrap .w-227[data-v-ab848f2c]{width:227px}.my-customer-wrap .auth-tip-body[data-v-ab848f2c]{width:645px;margin:0 auto}.my-customer-wrap .enterprise-version[data-v-ab848f2c]{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-ab848f2c]{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-ab848f2c]{max-width:348px;white-space:nowrap;overflow:hidden}.right-content[data-v-ab848f2c]{padding:0 20px 20px 20px;min-height:calc(100% - 160px)}.right-content .right-box[data-v-ab848f2c]{background:#fff;min-height:500px;padding:0}.right-content .right-box .apps-content .apps-content-right[data-v-ab848f2c]{width:100%;padding:20px;background:#fff}.right-content .right-box .apps-content .apps-content-right .common-set-wrap[data-v-ab848f2c]{height:100%;background:#fff} .auth-step-body[data-v-c9703e40]{width:400px;margin:0 auto}.el-alert__title[data-v-6246f46e]{line-height:23px}.color-f5222d[data-v-6246f46e]{color:#f5222d}.auth-commit-success[data-v-68854cb4]{margin-top:154px}.auth-commit-success .color-49c958[data-v-68854cb4]{color:#49c958}.auth-commit-success .font-60[data-v-68854cb4]{font-size:60px}.auth-commit-success .m-t-12[data-v-68854cb4]{margin-top:12px}.auth-commit-success .m-t-28[data-v-68854cb4]{margin-top:28px}.input-line-cell[data-v-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-36838884]{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-8c8db368]{width:267px}.m-t-35[data-v-8c8db368]{margin-top:35px}.common-bottom-border[data-v-8c8db368]{cursor:pointer;padding-bottom:2px;border-bottom:1px dashed #2f54eb}.el-input-group__prepend[data-v-8c8db368]{display:inline-block;width:86px;height:32px;line-height:32px;vertical-align:top;border-color:#c4c6cf}.select-search-input[data-v-8c8db368]{display:inline-block;margin-left:-2px}.company-select[data-v-8c8db368]{position:relative}.company-select .el-select-dropdown__item[data-v-8c8db368]{height:52px;line-height:52px}.company-select .text-ellipsis[data-v-8c8db368]{max-width:200px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.my-customer-wrap[data-v-8c8db368]{height:100%}.my-customer-wrap .w-227[data-v-8c8db368]{width:227px}.my-customer-wrap .auth-tip-body[data-v-8c8db368]{width:645px;margin:0 auto}.my-customer-wrap .enterprise-version[data-v-8c8db368]{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-8c8db368]{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-8c8db368]{max-width:348px;white-space:nowrap;overflow:hidden}.right-content[data-v-8c8db368]{padding:0 20px 20px 20px;min-height:calc(100% - 160px)}.right-content .right-box[data-v-8c8db368]{background:#fff;min-height:500px;padding:0}.right-content .right-box .apps-content .apps-content-right[data-v-8c8db368]{width:100%;padding:20px;background:#fff}.right-content .right-box .apps-content .apps-content-right .common-set-wrap[data-v-8c8db368]{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.48.css><link rel=stylesheet type=text/css href=static/fonts/iconfont.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-064f007c.c42ef571.css rel=prefetch><link href=css/chunk-0bdabf98.42dd4098.css rel=prefetch><link href=css/chunk-0ed4435a.761e43b8.css rel=prefetch><link href=css/chunk-0eeefe9b.e3b0968c.css rel=prefetch><link href=css/chunk-168cd8ff.8f6678d4.css rel=prefetch><link href=css/chunk-1941db73.499d63ff.css rel=prefetch><link href=css/chunk-1bc03f55.cb6364a0.css rel=prefetch><link href=css/chunk-1c891ef5.b7c8cdf4.css rel=prefetch><link href=css/chunk-262b86d2.d47d44fa.css rel=prefetch><link href=css/chunk-2ec9f62e.a5540828.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-383e6f9a.38909776.css rel=prefetch><link href=css/chunk-39362334.c233899e.css rel=prefetch><link href=css/chunk-42163e43.6c086558.css rel=prefetch><link href=css/chunk-4551f5db.4e4b34f8.css rel=prefetch><link href=css/chunk-46f25124.31e5975b.css rel=prefetch><link href=css/chunk-4a567fad.9c7f1473.css rel=prefetch><link href=css/chunk-4b898c1e.07d02776.css rel=prefetch><link href=css/chunk-4d56fe21.6ec9b809.css rel=prefetch><link href=css/chunk-4d95ae81.d3090a82.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-595c3910.e16a947b.css rel=prefetch><link href=css/chunk-5e28f3e2.9010c064.css rel=prefetch><link href=css/chunk-684b4c42.91a06166.css rel=prefetch><link href=css/chunk-7addfe37.528cb978.css rel=prefetch><link href=css/chunk-7ba358de.2dfafbb8.css rel=prefetch><link href=css/chunk-7bcd7cfc.1d25986b.css rel=prefetch><link href=css/chunk-7fb41125.856ff4d6.css rel=prefetch><link href=css/chunk-85a61634.a5540828.css rel=prefetch><link href=css/chunk-8ece888c.44daa7e8.css rel=prefetch><link href=css/chunk-9c5b2680.4c8ff257.css rel=prefetch><link href=css/chunk-9f80fa24.74efdc4f.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-ab551b08.083a059c.css rel=prefetch><link href=css/chunk-b073f330.b7424a51.css rel=prefetch><link href=css/chunk-b0bc0a90.188c0a4c.css rel=prefetch><link href=css/chunk-b216257e.61bc4d61.css rel=prefetch><link href=css/chunk-c87d9adc.75c4c27e.css rel=prefetch><link href=css/chunk-cfbefc9a.fb5c154c.css rel=prefetch><link href=css/chunk-e55aaa40.a8713f1e.css rel=prefetch><link href=css/chunk-e81c0d56.e10924e2.css rel=prefetch><link href=css/chunk-efbe6f9e.f92aeab2.css rel=prefetch><link href=css/chunk-f53cd680.dd1c4193.css rel=prefetch><link href=js/chunk-00b4720e.c934d318.js rel=prefetch><link href=js/chunk-064f007c.33eb44ca.js rel=prefetch><link href=js/chunk-06fd5be4.cb00a88d.js rel=prefetch><link href=js/chunk-08047175.988371e6.js rel=prefetch><link href=js/chunk-0bdabf98.4d2629a8.js rel=prefetch><link href=js/chunk-0ed4435a.f02cc869.js rel=prefetch><link href=js/chunk-0eeefe9b.f8d204f1.js rel=prefetch><link href=js/chunk-168cd8ff.21504810.js rel=prefetch><link href=js/chunk-1941db73.f22266c4.js rel=prefetch><link href=js/chunk-1bc03f55.28ce1d8f.js rel=prefetch><link href=js/chunk-1c891ef5.cfdc452c.js rel=prefetch><link href=js/chunk-262b86d2.1670b675.js rel=prefetch><link href=js/chunk-2ec9f62e.d8564141.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-383e6f9a.a3339b7e.js rel=prefetch><link href=js/chunk-39362334.e753da7c.js rel=prefetch><link href=js/chunk-42163e43.f363ac6b.js rel=prefetch><link href=js/chunk-4551f5db.a8e71318.js rel=prefetch><link href=js/chunk-46f25124.7d0f68a8.js rel=prefetch><link href=js/chunk-4a567fad.55d8864b.js rel=prefetch><link href=js/chunk-4b898c1e.3ada8648.js rel=prefetch><link href=js/chunk-4d56fe21.8449290e.js rel=prefetch><link href=js/chunk-4d95ae81.fb003bf9.js rel=prefetch><link href=js/chunk-4fc2d3b6.7915d752.js rel=prefetch><link href=js/chunk-52b97a85.3b2f27a3.js rel=prefetch><link href=js/chunk-595c3910.56b98fbf.js rel=prefetch><link href=js/chunk-5e28f3e2.c2c0fd82.js rel=prefetch><link href=js/chunk-684b4c42.c6b09878.js rel=prefetch><link href=js/chunk-7addfe37.47a95dd5.js rel=prefetch><link href=js/chunk-7ba358de.c3314d52.js rel=prefetch><link href=js/chunk-7bcd7cfc.3ea388c0.js rel=prefetch><link href=js/chunk-7fb41125.9aee0de1.js rel=prefetch><link href=js/chunk-85a61634.1eb905fe.js rel=prefetch><link href=js/chunk-8ece888c.cd0f4f91.js rel=prefetch><link href=js/chunk-9c5b2680.2037fbfb.js rel=prefetch><link href=js/chunk-9f80fa24.30999d72.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-ab551b08.e8414b3e.js rel=prefetch><link href=js/chunk-b073f330.48610603.js rel=prefetch><link href=js/chunk-b0bc0a90.dd22bc90.js rel=prefetch><link href=js/chunk-b216257e.97588878.js rel=prefetch><link href=js/chunk-c87d9adc.9767ae0a.js rel=prefetch><link href=js/chunk-cfbefc9a.1b11b529.js rel=prefetch><link href=js/chunk-e55aaa40.cc47148e.js rel=prefetch><link href=js/chunk-e81c0d56.0e625c12.js rel=prefetch><link href=js/chunk-efbe6f9e.f87c0d39.js rel=prefetch><link href=js/chunk-f53cd680.e50f3b16.js rel=prefetch><link href=css/app.f6d5fc98.css rel=preload as=style><link href=css/chunk-vendors.635bc84a.css rel=preload as=style><link href=js/app.e88ce3e4.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.f6d5fc98.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.e88ce3e4.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.48.css><link rel=stylesheet type=text/css href=static/fonts/iconfont.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-019f7e2a.eea2952f.css rel=prefetch><link href=css/chunk-064f007c.c42ef571.css rel=prefetch><link href=css/chunk-0bdabf98.42dd4098.css rel=prefetch><link href=css/chunk-0ed4435a.761e43b8.css rel=prefetch><link href=css/chunk-0eeefe9b.e3b0968c.css rel=prefetch><link href=css/chunk-168cd8ff.8f6678d4.css rel=prefetch><link href=css/chunk-1941db73.499d63ff.css rel=prefetch><link href=css/chunk-1bc03f55.cb6364a0.css rel=prefetch><link href=css/chunk-1c891ef5.b7c8cdf4.css rel=prefetch><link href=css/chunk-262b86d2.d47d44fa.css rel=prefetch><link href=css/chunk-2ec9f62e.a5540828.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-383e6f9a.38909776.css rel=prefetch><link href=css/chunk-39362334.c233899e.css rel=prefetch><link href=css/chunk-42163e43.6c086558.css rel=prefetch><link href=css/chunk-4551f5db.4e4b34f8.css rel=prefetch><link href=css/chunk-46f25124.31e5975b.css rel=prefetch><link href=css/chunk-4b898c1e.07d02776.css rel=prefetch><link href=css/chunk-4d56fe21.6ec9b809.css rel=prefetch><link href=css/chunk-4d95ae81.d3090a82.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-595c3910.e16a947b.css rel=prefetch><link href=css/chunk-5e28f3e2.9010c064.css rel=prefetch><link href=css/chunk-684b4c42.91a06166.css rel=prefetch><link href=css/chunk-7addfe37.528cb978.css rel=prefetch><link href=css/chunk-7ba358de.2dfafbb8.css rel=prefetch><link href=css/chunk-7bcd7cfc.1d25986b.css rel=prefetch><link href=css/chunk-7fb41125.856ff4d6.css rel=prefetch><link href=css/chunk-85a61634.a5540828.css rel=prefetch><link href=css/chunk-8ece888c.44daa7e8.css rel=prefetch><link href=css/chunk-9c5b2680.4c8ff257.css rel=prefetch><link href=css/chunk-9f80fa24.74efdc4f.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-ab551b08.083a059c.css rel=prefetch><link href=css/chunk-b073f330.b7424a51.css rel=prefetch><link href=css/chunk-b0bc0a90.188c0a4c.css rel=prefetch><link href=css/chunk-b216257e.61bc4d61.css rel=prefetch><link href=css/chunk-c87d9adc.75c4c27e.css rel=prefetch><link href=css/chunk-cfbefc9a.fb5c154c.css rel=prefetch><link href=css/chunk-e55aaa40.a8713f1e.css rel=prefetch><link href=css/chunk-e81c0d56.e10924e2.css rel=prefetch><link href=css/chunk-efbe6f9e.f92aeab2.css rel=prefetch><link href=css/chunk-f53cd680.dd1c4193.css rel=prefetch><link href=js/chunk-00b4720e.c934d318.js rel=prefetch><link href=js/chunk-019f7e2a.46c60448.js rel=prefetch><link href=js/chunk-064f007c.33eb44ca.js rel=prefetch><link href=js/chunk-06fd5be4.cb00a88d.js rel=prefetch><link href=js/chunk-08047175.988371e6.js rel=prefetch><link href=js/chunk-0bdabf98.4d2629a8.js rel=prefetch><link href=js/chunk-0ed4435a.f02cc869.js rel=prefetch><link href=js/chunk-0eeefe9b.f8d204f1.js rel=prefetch><link href=js/chunk-168cd8ff.21504810.js rel=prefetch><link href=js/chunk-1941db73.f22266c4.js rel=prefetch><link href=js/chunk-1bc03f55.28ce1d8f.js rel=prefetch><link href=js/chunk-1c891ef5.cfdc452c.js rel=prefetch><link href=js/chunk-262b86d2.1670b675.js rel=prefetch><link href=js/chunk-2ec9f62e.d8564141.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-383e6f9a.a3339b7e.js rel=prefetch><link href=js/chunk-39362334.e753da7c.js rel=prefetch><link href=js/chunk-42163e43.f363ac6b.js rel=prefetch><link href=js/chunk-4551f5db.a8e71318.js rel=prefetch><link href=js/chunk-46f25124.7d0f68a8.js rel=prefetch><link href=js/chunk-4b898c1e.3ada8648.js rel=prefetch><link href=js/chunk-4d56fe21.8449290e.js rel=prefetch><link href=js/chunk-4d95ae81.fb003bf9.js rel=prefetch><link href=js/chunk-4fc2d3b6.7915d752.js rel=prefetch><link href=js/chunk-52b97a85.3b2f27a3.js rel=prefetch><link href=js/chunk-595c3910.56b98fbf.js rel=prefetch><link href=js/chunk-5e28f3e2.c2c0fd82.js rel=prefetch><link href=js/chunk-684b4c42.c6b09878.js rel=prefetch><link href=js/chunk-7addfe37.47a95dd5.js rel=prefetch><link href=js/chunk-7ba358de.c3314d52.js rel=prefetch><link href=js/chunk-7bcd7cfc.3ea388c0.js rel=prefetch><link href=js/chunk-7fb41125.9aee0de1.js rel=prefetch><link href=js/chunk-85a61634.1eb905fe.js rel=prefetch><link href=js/chunk-8ece888c.cd0f4f91.js rel=prefetch><link href=js/chunk-9c5b2680.2037fbfb.js rel=prefetch><link href=js/chunk-9f80fa24.30999d72.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-ab551b08.e8414b3e.js rel=prefetch><link href=js/chunk-b073f330.48610603.js rel=prefetch><link href=js/chunk-b0bc0a90.dd22bc90.js rel=prefetch><link href=js/chunk-b216257e.97588878.js rel=prefetch><link href=js/chunk-c87d9adc.9767ae0a.js rel=prefetch><link href=js/chunk-cfbefc9a.1b11b529.js rel=prefetch><link href=js/chunk-e55aaa40.cc47148e.js rel=prefetch><link href=js/chunk-e81c0d56.0e625c12.js rel=prefetch><link href=js/chunk-efbe6f9e.f87c0d39.js rel=prefetch><link href=js/chunk-f53cd680.e50f3b16.js rel=prefetch><link href=css/app.f6d5fc98.css rel=preload as=style><link href=css/chunk-vendors.635bc84a.css rel=preload as=style><link href=js/app.e72ed137.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.f6d5fc98.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.e72ed137.js></script></body></html>
\ No newline at end of file \ No newline at end of file
(function(e){function n(n){for(var c,a,o=n[0],i=n[1],s=n[2],h=0,d=[];h<o.length;h++)a=o[h],Object.prototype.hasOwnProperty.call(r,a)&&r[a]&&d.push(r[a][0]),r[a]=0;for(c in i)Object.prototype.hasOwnProperty.call(i,c)&&(e[c]=i[c]);f&&f(n);while(d.length)d.shift()();return u.push.apply(u,s||[]),t()}function t(){for(var e,n=0;n<u.length;n++){for(var t=u[n],c=!0,a=1;a<t.length;a++){var o=t[a];0!==r[o]&&(c=!1)}c&&(u.splice(n--,1),e=i(i.s=t[0]))}return e}var c={},a={app:0},r={app:0},u=[];function o(e){return i.p+"js/"+({}[e]||e)+"."+{"chunk-00b4720e":"c934d318","chunk-064f007c":"33eb44ca","chunk-06fd5be4":"cb00a88d","chunk-0ed4435a":"f02cc869","chunk-7ba358de":"c3314d52","chunk-7fb41125":"9aee0de1","chunk-f53cd680":"e50f3b16","chunk-08047175":"988371e6","chunk-1c891ef5":"cfdc452c","chunk-4d56fe21":"8449290e","chunk-0bdabf98":"4d2629a8","chunk-0eeefe9b":"f8d204f1","chunk-168cd8ff":"21504810","chunk-1941db73":"f22266c4","chunk-1bc03f55":"28ce1d8f","chunk-262b86d2":"1670b675","chunk-2ec9f62e":"d8564141","chunk-30f81def":"16ce3077","chunk-32d6ccb7":"01f9366c","chunk-383e6f9a":"a3339b7e","chunk-39362334":"e753da7c","chunk-42163e43":"f363ac6b","chunk-4551f5db":"a8e71318","chunk-46f25124":"7d0f68a8","chunk-4b898c1e":"3ada8648","chunk-4d95ae81":"fb003bf9","chunk-4fc2d3b6":"7915d752","chunk-52b97a85":"3b2f27a3","chunk-595c3910":"56b98fbf","chunk-684b4c42":"c6b09878","chunk-7addfe37":"47a95dd5","chunk-7bcd7cfc":"3ea388c0","chunk-85a61634":"1eb905fe","chunk-8ece888c":"cd0f4f91","chunk-9c5b2680":"2037fbfb","chunk-9f80fa24":"30999d72","chunk-a3d8b552":"15fb7199","chunk-a6478ea0":"2c362507","chunk-ab551b08":"e8414b3e","chunk-b073f330":"48610603","chunk-b0bc0a90":"dd22bc90","chunk-b216257e":"97588878","chunk-c87d9adc":"9767ae0a","chunk-cfbefc9a":"1b11b529","chunk-e55aaa40":"cc47148e","chunk-e81c0d56":"0e625c12","chunk-4a567fad":"55d8864b","chunk-5e28f3e2":"c2c0fd82","chunk-efbe6f9e":"f87c0d39"}[e]+".js"}function i(n){if(c[n])return c[n].exports;var t=c[n]={i:n,l:!1,exports:{}};return e[n].call(t.exports,t,t.exports,i),t.l=!0,t.exports}i.e=function(e){var n=[],t={"chunk-00b4720e":1,"chunk-064f007c":1,"chunk-0ed4435a":1,"chunk-7ba358de":1,"chunk-7fb41125":1,"chunk-f53cd680":1,"chunk-1c891ef5":1,"chunk-4d56fe21":1,"chunk-0bdabf98":1,"chunk-0eeefe9b":1,"chunk-168cd8ff":1,"chunk-1941db73":1,"chunk-1bc03f55":1,"chunk-262b86d2":1,"chunk-2ec9f62e":1,"chunk-30f81def":1,"chunk-32d6ccb7":1,"chunk-383e6f9a":1,"chunk-39362334":1,"chunk-42163e43":1,"chunk-4551f5db":1,"chunk-46f25124":1,"chunk-4b898c1e":1,"chunk-4d95ae81":1,"chunk-4fc2d3b6":1,"chunk-52b97a85":1,"chunk-595c3910":1,"chunk-684b4c42":1,"chunk-7addfe37":1,"chunk-7bcd7cfc":1,"chunk-85a61634":1,"chunk-8ece888c":1,"chunk-9c5b2680":1,"chunk-9f80fa24":1,"chunk-a3d8b552":1,"chunk-a6478ea0":1,"chunk-ab551b08":1,"chunk-b073f330":1,"chunk-b0bc0a90":1,"chunk-b216257e":1,"chunk-c87d9adc":1,"chunk-cfbefc9a":1,"chunk-e55aaa40":1,"chunk-e81c0d56":1,"chunk-4a567fad":1,"chunk-5e28f3e2":1,"chunk-efbe6f9e":1};a[e]?n.push(a[e]):0!==a[e]&&t[e]&&n.push(a[e]=new Promise((function(n,t){for(var c="css/"+({}[e]||e)+"."+{"chunk-00b4720e":"c557c4e4","chunk-064f007c":"c42ef571","chunk-06fd5be4":"31d6cfe0","chunk-0ed4435a":"761e43b8","chunk-7ba358de":"2dfafbb8","chunk-7fb41125":"856ff4d6","chunk-f53cd680":"dd1c4193","chunk-08047175":"31d6cfe0","chunk-1c891ef5":"b7c8cdf4","chunk-4d56fe21":"6ec9b809","chunk-0bdabf98":"42dd4098","chunk-0eeefe9b":"e3b0968c","chunk-168cd8ff":"8f6678d4","chunk-1941db73":"499d63ff","chunk-1bc03f55":"cb6364a0","chunk-262b86d2":"d47d44fa","chunk-2ec9f62e":"a5540828","chunk-30f81def":"134f322f","chunk-32d6ccb7":"10b34206","chunk-383e6f9a":"38909776","chunk-39362334":"c233899e","chunk-42163e43":"6c086558","chunk-4551f5db":"4e4b34f8","chunk-46f25124":"31e5975b","chunk-4b898c1e":"07d02776","chunk-4d95ae81":"d3090a82","chunk-4fc2d3b6":"e4f77a0d","chunk-52b97a85":"998e7f29","chunk-595c3910":"e16a947b","chunk-684b4c42":"91a06166","chunk-7addfe37":"528cb978","chunk-7bcd7cfc":"1d25986b","chunk-85a61634":"a5540828","chunk-8ece888c":"44daa7e8","chunk-9c5b2680":"4c8ff257","chunk-9f80fa24":"74efdc4f","chunk-a3d8b552":"26e628b3","chunk-a6478ea0":"6deeb9ee","chunk-ab551b08":"083a059c","chunk-b073f330":"b7424a51","chunk-b0bc0a90":"188c0a4c","chunk-b216257e":"61bc4d61","chunk-c87d9adc":"75c4c27e","chunk-cfbefc9a":"fb5c154c","chunk-e55aaa40":"a8713f1e","chunk-e81c0d56":"e10924e2","chunk-4a567fad":"9c7f1473","chunk-5e28f3e2":"9010c064","chunk-efbe6f9e":"f92aeab2"}[e]+".css",r=i.p+c,u=document.getElementsByTagName("link"),o=0;o<u.length;o++){var s=u[o],h=s.getAttribute("data-href")||s.getAttribute("href");if("stylesheet"===s.rel&&(h===c||h===r))return n()}var d=document.getElementsByTagName("style");for(o=0;o<d.length;o++){s=d[o],h=s.getAttribute("data-href");if(h===c||h===r)return n()}var f=document.createElement("link");f.rel="stylesheet",f.type="text/css",f.onload=n,f.onerror=function(n){var c=n&&n.target&&n.target.src||r,u=new Error("Loading CSS chunk "+e+" failed.\n("+c+")");u.code="CSS_CHUNK_LOAD_FAILED",u.request=c,delete a[e],f.parentNode.removeChild(f),t(u)},f.href=r;var p=document.getElementsByTagName("head")[0];p.appendChild(f)})).then((function(){a[e]=0})));var c=r[e];if(0!==c)if(c)n.push(c[2]);else{var u=new Promise((function(n,t){c=r[e]=[n,t]}));n.push(c[2]=u);var s,h=document.createElement("script");h.charset="utf-8",h.timeout=120,i.nc&&h.setAttribute("nonce",i.nc),h.src=o(e);var d=new Error;s=function(n){h.onerror=h.onload=null,clearTimeout(f);var t=r[e];if(0!==t){if(t){var c=n&&("load"===n.type?"missing":n.type),a=n&&n.target&&n.target.src;d.message="Loading chunk "+e+" failed.\n("+c+": "+a+")",d.name="ChunkLoadError",d.type=c,d.request=a,t[1](d)}r[e]=void 0}};var f=setTimeout((function(){s({type:"timeout",target:h})}),12e4);h.onerror=h.onload=s,document.head.appendChild(h)}return Promise.all(n)},i.m=e,i.c=c,i.d=function(e,n,t){i.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:t})},i.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,n){if(1&n&&(e=i(e)),8&n)return e;if(4&n&&"object"===typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(i.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var c in e)i.d(t,c,function(n){return e[n]}.bind(null,c));return t},i.n=function(e){var n=e&&e.__esModule?function(){return e["default"]}:function(){return e};return i.d(n,"a",n),n},i.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},i.p="",i.oe=function(e){throw console.error(e),e};var s=window["webpackJsonp"]=window["webpackJsonp"]||[],h=s.push.bind(s);s.push=n,s=s.slice();for(var d=0;d<s.length;d++)n(s[d]);var f=h;u.push([0,"chunk-vendors"]),t()})({0:function(e,n,t){t("db4d"),e.exports=t("56d7")},"1a5d":function(e,n,t){var c={"./app-controls/app-detail.vue":["9bc6","chunk-46f25124"],"./app-controls/app-list.vue":["4a78","chunk-ab551b08"],"./app-controls/app-market.vue":["53b1","chunk-08047175","chunk-1c891ef5"],"./app-controls/index.vue":["b04c","chunk-85a61634"],"./apps/app-auth.vue":["c686","chunk-a3d8b552"],"./apps/customer-app/clerk-tag.vue":["b5b0","chunk-06fd5be4","chunk-7ba358de","chunk-7fb41125"],"./apps/customer-app/crowd-scene.vue":["c7d7","chunk-06fd5be4","chunk-7ba358de","chunk-f53cd680"],"./apps/customer-app/customer-assign.vue":["12eb","chunk-b0bc0a90"],"./apps/customer-app/customer-data-set.vue":["3cf8","chunk-cfbefc9a"],"./apps/customer-app/customer-show-set.vue":["f766","chunk-9c5b2680"],"./apps/customer-app/data-dimension.vue":["55f3","chunk-06fd5be4","chunk-0ed4435a"],"./apps/customer-app/index.vue":["c3d9","chunk-684b4c42"],"./apps/gic-protocol.vue":["7ba1","chunk-efbe6f9e"],"./apps/index.vue":["7f2e","chunk-168cd8ff"],"./business/audit-log.vue":["0912","chunk-383e6f9a"],"./business/auth-merchant.vue":["56b3","chunk-7addfe37"],"./business/contacts.vue":["a269","chunk-08047175","chunk-4d56fe21"],"./business/index.vue":["50c8","chunk-0eeefe9b"],"./business/new-auth-merchant.vue":["62a7","chunk-e81c0d56","chunk-4a567fad"],"./business/sync-log.vue":["b155","chunk-b216257e"],"./enterprise/admin-list.vue":["db80","chunk-262b86d2"],"./enterprise/admin-list/role-list.vue":["0082","chunk-b073f330"],"./enterprise/edit-admin.vue":["7dc6","chunk-e81c0d56","chunk-5e28f3e2"],"./enterprise/edit-role.vue":["2249","chunk-595c3910"],"./enterprise/edit-role/menu-tree.vue":["a088","chunk-e55aaa40"],"./enterprise/edit-store-role.vue":["a960","chunk-52b97a85"],"./enterprise/enterprise-set.vue":["b735","chunk-0bdabf98"],"./enterprise/index.vue":["ea02","chunk-9f80fa24"],"./enterprise/store-admin-list.vue":["2058","chunk-8ece888c"],"./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-7bcd7cfc"],"./login/index.vue":["9ed6","chunk-39362334"],"./review-center/audit-config.vue":["daa8","chunk-4b898c1e"],"./review-center/audit-group-list.vue":["ff23","chunk-064f007c"],"./review-center/audit-item-list.vue":["727c","chunk-4d95ae81"],"./review-center/create-audit-group.vue":["ea11","chunk-32d6ccb7"],"./review-center/create-audit-item.vue":["e0c0","chunk-30f81def"],"./review-center/index.vue":["2cad","chunk-2ec9f62e"],"./review-center/reviewed.vue":["dacc","chunk-1941db73"],"./review-center/unreview.vue":["1005","chunk-c87d9adc"]};function a(e){if(!t.o(c,e))return Promise.resolve().then((function(){var n=new Error("Cannot find module '"+e+"'");throw n.code="MODULE_NOT_FOUND",n}));var n=c[e],a=n[0];return Promise.all(n.slice(1).map(t.e)).then((function(){return t(a)}))}a.keys=function(){return Object.keys(c)},a.id="1a5d",e.exports=a},"4f94":function(e,n,t){},"56d7":function(e,n,t){"use strict";t.r(n);t("456d"),t("ac6a"),t("cadf"),t("551c"),t("f751"),t("097d"),t("db4d");var c=t("1368"),a=t.n(c),r=(t("0fae"),t("4f94"),t("d31c"),t("8bbf")),u=t.n(r),o=t("8c4f"),i=t("cebe"),s=t.n(i),h=t("5c96"),d=t.n(h),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=[],b={name:"App"},m=b,l=t("2877"),k=Object(l["a"])(m,f,p,!1,null,null,null),g=k.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:"/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 O=new o["a"]({mode:"history",base:"/haoban-4/",routes:x}),S=O,j=(t("c5f6"),t("3b2b"),t("a481"),t("6b54"),function(e,n){if(!e)return"";e=10===e.toString().length?1e3*e:e;var t=new Date(e),c={"M+":t.getMonth()+1,"D+":t.getDate(),W:"日一二三四五六".charAt(t.getDay()),"h+":t.getHours(),"m+":t.getMinutes(),"s+":t.getSeconds(),"q+":Math.floor((t.getMonth()+3)/3),S:t.getMilliseconds()};for(var a in/(Y+)/.test(n)&&(n=n.replace(RegExp.$1,(t.getFullYear()+"").substr(4-RegExp.$1.length))),c)new RegExp("("+a+")").test(n)&&(n=n.replace(RegExp.$1,1===RegExp.$1.length?c[a]:("00"+c[a]).substr((""+c[a]).length)));return n}),D=function(e){if(!e)return"";var n=new Date(e),t=n.getMonth()+1,c=n.getDate()<10?"0"+n.getDate():n.getDate(),a=t<10?"0"+t:t,r=n.getHours()<10?"0"+n.getHours():n.getHours(),u=n.getMinutes()<10?"0"+n.getMinutes():n.getMinutes(),o=n.getSeconds()<10?"0"+n.getSeconds():n.getSeconds();return"".concat(n.getFullYear(),"-").concat(a,"-").concat(c," ").concat(r,":").concat(u,":").concat(o)},E=function(e){if(!e)return"";var n=new Date(e),t=n.getMonth()+1,c=n.getDate()<10?"0"+n.getDate():n.getDate(),a=t<10?"0"+t:t,r=n.getHours()<10?"0"+n.getHours():n.getHours(),u=n.getMinutes()<10?"0"+n.getMinutes():n.getMinutes(),o=n.getSeconds()<10?"0"+n.getSeconds():n.getSeconds();return"".concat(n.getFullYear(),".").concat(a,".").concat(c," ").concat(r,":").concat(u,":").concat(o)},A=function(e){if(!e)return"";var n=new Date(e),t=n.getMonth()+1,c=t<10?"0"+t:t;return"".concat(n.getFullYear(),"-").concat(c)},P=function(e){if(!e)return"";var n=new Date(e),t=n.getMonth()+1,c=n.getDate()<10?"0"+n.getDate():n.getDate(),a=t<10?"0"+t:t;return"".concat(n.getFullYear(),"-").concat(a,"-").concat(c)},T=function(e){if(!e)return"";var n=new Date(e),t=n.getHours()<10?"0"+n.getHours():n.getHours(),c=n.getMinutes()<10?"0"+n.getMinutes():n.getMinutes(),a=n.getSeconds()<10?"0"+n.getSeconds():n.getSeconds();return"".concat(t,":").concat(c,":").concat(a)},C=function(e){if(!e)return"";var n=new Date,t=new Date(Number(e)).getTime()-n.getTime();if(t<0)return"";var c=Math.floor(t/864e5),a=t%864e5,r=Math.floor(a/36e5),u=a%36e5,o=Math.floor(u/6e4);return"".concat(c,"天").concat(r,"小时").concat(o,"分")},L=function(e){return e?(e=e.toString(),e.substr(0,3)+"****"+e.substr(7,11)):""},H=function(e){return e?(e=e.toString(),"**"+e.substr(e.length-1,e.length)):""},_=function(e){return e?(e=e.toString(),e.length>6?e.substr(0,5)+"...":e):""},F=function(e){if(!e)return"00:00:00";var n=e/1e3,t=Math.floor(n/60/60/24),c=24*t+Math.floor(n/60/60)%24<10?"0"+(24*t+Math.floor(n/60/60)%24):24*t+Math.floor(n/60/60)%24,a=Math.floor(n/60)%60<10?"0"+Math.floor(n/60)%60:Math.floor(n/60)%60,r=Math.floor(n)%60<10?"0"+Math.floor(n)%60:Math.floor(n)%60;return"".concat(c,":").concat(a,":").concat(r)},N={dateFormat:j,formatTimeStamp:D,timeStampToYm:A,timeStampToYmd:P,timeStampToHms:T,formatTimeYmdHms:E,formatPhoneNum:L,formatName:H,timeStampSpace:C,formatTime:F,formatWord:_},R=(t("96cf"),t("1da1")),Y=(t("5df3"),t("b775")),$=[],U=[],q={};function B(){var e=new Promise((function(e){Object(Y["a"])({url:"/hb-manage-web/list-staff-role-menu"}).then((function(e){U=I(e.result||[])})).finally(e)})),n=new Promise((function(e){Object(Y["a"])({url:"/hb-manage-web/list-staff-role-opeation"}).then((function(e){q=J(e.result||[])})).finally(e)}));return Promise.all([e,n])}function I(e){var n=[];return e.forEach((function(e){e.menuUrl&&n.push(e.menuUrl),Array.isArray(e.children)&&(n=n.concat(I(e.children)))})),n}function J(e){var n={};return e.forEach((function(e){n[e.menuCode]=!0})),n}function V(e){var n=[];return e.forEach((function(e){Array.isArray(e.children)&&(n=n.concat(V(e.children))),n.push(e.path)})),n}function W(e,n,t){var c=U.some((function(n){return n.indexOf("/#")>=0?n=="/#".concat(e.path):n==e.path}));if(c)return Object.assign(s.a.defaults.headers.common,{route:e.path.replace(/^\//,"")}),t();$.some((function(n){return n==e.path}))||0==U.length?t("/gic-error"):(Object.assign(s.a.defaults.headers.common,{route:U[0].replace(/^\//,"")}),t(U[0]))}function K(e){return!!q[e]}var z=function(e){var n=e.projectPath,t=e.whiteRoute,c=e.router,a=e.routes,r=e.createApp;window.addEventListener("load",Object(R["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(s.a.defaults.headers.common,{project:n,route:u.replace(/\/haoban-4\//,"")}),e.next=5,B();case 5:Array.isArray(t)&&(U=U.concat(t)),Array.isArray(a)&&($=V(a)),c.beforeEach(W),"function"==typeof r&&r();case 9:case"end":return e.stop()}}),e)}))))},G=t("f121");a.a.polyfill(),window.Vue=u.a,u.a.use(o["a"]),u.a.use(d.a),s.a.defaults.withCredentials=!0,u.a.prototype.axios=s.a,u.a.prototype.$itemPerm=K,u.a.prototype.$itemCode=G["a"],u.a.config.devtools=!1,u.a.config.productionTip=!1,Object.keys(N).forEach((function(e){u.a.filter(e,N[e])})),z({projectPath:"haoban",whiteRoute:["/login","/contactsList","/apps","/gic-error","/403","/404","/500"],router:S,routes:x,createApp:function(){new u.a({router:S,render:function(e){return e(g)}}).$mount("#app")}})},"8bbf":function(e,n){e.exports=Vue},b775:function(e,n,t){"use strict";t.d(n,"a",(function(){return s}));var c=t("cebe"),a=t.n(c),r=t("4328"),u=t.n(r),o=t("5c96"),i=t("f121");a.a.defaults.baseURL=i["c"],a.a.defaults.withCredentials=!0;var s=function(e,n,t){n=Object.assign({},n),e=Object.assign({},e);var c={url:"",params:"",data:"",method:"get",useFormData:!1,useIntercept:!0,headers:{}};switch(Object.assign(c,e,t),c.useFormData&&(n=u.a.stringify(n)),c.method.toLowerCase()){case"get":c.params=n;break;case"post":c.data=n;break;default:c.data=n;break}return new Promise((function(e,n){a()(c).then((function(t){var a=t.data;return a.code==i["b"]?(window.location.href="".concat(i["c"],"/haoban-4/login"),n(a)):c.useIntercept&&a.code!=i["d"]?(Object(o["Message"])({message:a.message||"未知错误",type:"warning"}),n(a)):void e(a)})).catch((function(e){var t=e.response||{},c=t.data||{};Object(o["Message"])({message:c.message||"未知错误",type:"warning"}),n(e)}))}))}},cebe:function(e,n){e.exports=axios},d31c:function(e,n,t){},e2b2:function(e,n,t){e.exports=function(e,n){return function(c){t("1a5d")("./"+e+"/"+n+".vue").then((function(e){c(e)}))}}},f121:function(e,n,t){"use strict";function c(){var e=window.location.origin;return(e.indexOf("localhost")>=0||e.indexOf("192.168")>=0)&&(e="https://four.gicdev.com"),e}t.d(n,"c",(function(){return a})),t.d(n,"d",(function(){return r})),t.d(n,"b",(function(){return u})),t.d(n,"a",(function(){return o}));var a=c(),r="0000",u="0003",o={batchAudit:"batchAudit"}}}); (function(e){function n(n){for(var c,a,o=n[0],i=n[1],s=n[2],h=0,f=[];h<o.length;h++)a=o[h],Object.prototype.hasOwnProperty.call(r,a)&&r[a]&&f.push(r[a][0]),r[a]=0;for(c in i)Object.prototype.hasOwnProperty.call(i,c)&&(e[c]=i[c]);d&&d(n);while(f.length)f.shift()();return u.push.apply(u,s||[]),t()}function t(){for(var e,n=0;n<u.length;n++){for(var t=u[n],c=!0,a=1;a<t.length;a++){var o=t[a];0!==r[o]&&(c=!1)}c&&(u.splice(n--,1),e=i(i.s=t[0]))}return e}var c={},a={app:0},r={app:0},u=[];function o(e){return i.p+"js/"+({}[e]||e)+"."+{"chunk-00b4720e":"c934d318","chunk-064f007c":"33eb44ca","chunk-06fd5be4":"cb00a88d","chunk-0ed4435a":"f02cc869","chunk-7ba358de":"c3314d52","chunk-7fb41125":"9aee0de1","chunk-f53cd680":"e50f3b16","chunk-08047175":"988371e6","chunk-1c891ef5":"cfdc452c","chunk-4d56fe21":"8449290e","chunk-0bdabf98":"4d2629a8","chunk-0eeefe9b":"f8d204f1","chunk-168cd8ff":"21504810","chunk-1941db73":"f22266c4","chunk-1bc03f55":"28ce1d8f","chunk-262b86d2":"1670b675","chunk-2ec9f62e":"d8564141","chunk-30f81def":"16ce3077","chunk-32d6ccb7":"01f9366c","chunk-383e6f9a":"a3339b7e","chunk-39362334":"e753da7c","chunk-42163e43":"f363ac6b","chunk-4551f5db":"a8e71318","chunk-46f25124":"7d0f68a8","chunk-4b898c1e":"3ada8648","chunk-4d95ae81":"fb003bf9","chunk-4fc2d3b6":"7915d752","chunk-52b97a85":"3b2f27a3","chunk-595c3910":"56b98fbf","chunk-684b4c42":"c6b09878","chunk-7addfe37":"47a95dd5","chunk-7bcd7cfc":"3ea388c0","chunk-85a61634":"1eb905fe","chunk-8ece888c":"cd0f4f91","chunk-9c5b2680":"2037fbfb","chunk-9f80fa24":"30999d72","chunk-a3d8b552":"15fb7199","chunk-a6478ea0":"2c362507","chunk-ab551b08":"e8414b3e","chunk-b073f330":"48610603","chunk-b0bc0a90":"dd22bc90","chunk-b216257e":"97588878","chunk-c87d9adc":"9767ae0a","chunk-cfbefc9a":"1b11b529","chunk-e55aaa40":"cc47148e","chunk-e81c0d56":"0e625c12","chunk-019f7e2a":"46c60448","chunk-5e28f3e2":"c2c0fd82","chunk-efbe6f9e":"f87c0d39"}[e]+".js"}function i(n){if(c[n])return c[n].exports;var t=c[n]={i:n,l:!1,exports:{}};return e[n].call(t.exports,t,t.exports,i),t.l=!0,t.exports}i.e=function(e){var n=[],t={"chunk-00b4720e":1,"chunk-064f007c":1,"chunk-0ed4435a":1,"chunk-7ba358de":1,"chunk-7fb41125":1,"chunk-f53cd680":1,"chunk-1c891ef5":1,"chunk-4d56fe21":1,"chunk-0bdabf98":1,"chunk-0eeefe9b":1,"chunk-168cd8ff":1,"chunk-1941db73":1,"chunk-1bc03f55":1,"chunk-262b86d2":1,"chunk-2ec9f62e":1,"chunk-30f81def":1,"chunk-32d6ccb7":1,"chunk-383e6f9a":1,"chunk-39362334":1,"chunk-42163e43":1,"chunk-4551f5db":1,"chunk-46f25124":1,"chunk-4b898c1e":1,"chunk-4d95ae81":1,"chunk-4fc2d3b6":1,"chunk-52b97a85":1,"chunk-595c3910":1,"chunk-684b4c42":1,"chunk-7addfe37":1,"chunk-7bcd7cfc":1,"chunk-85a61634":1,"chunk-8ece888c":1,"chunk-9c5b2680":1,"chunk-9f80fa24":1,"chunk-a3d8b552":1,"chunk-a6478ea0":1,"chunk-ab551b08":1,"chunk-b073f330":1,"chunk-b0bc0a90":1,"chunk-b216257e":1,"chunk-c87d9adc":1,"chunk-cfbefc9a":1,"chunk-e55aaa40":1,"chunk-e81c0d56":1,"chunk-019f7e2a":1,"chunk-5e28f3e2":1,"chunk-efbe6f9e":1};a[e]?n.push(a[e]):0!==a[e]&&t[e]&&n.push(a[e]=new Promise((function(n,t){for(var c="css/"+({}[e]||e)+"."+{"chunk-00b4720e":"c557c4e4","chunk-064f007c":"c42ef571","chunk-06fd5be4":"31d6cfe0","chunk-0ed4435a":"761e43b8","chunk-7ba358de":"2dfafbb8","chunk-7fb41125":"856ff4d6","chunk-f53cd680":"dd1c4193","chunk-08047175":"31d6cfe0","chunk-1c891ef5":"b7c8cdf4","chunk-4d56fe21":"6ec9b809","chunk-0bdabf98":"42dd4098","chunk-0eeefe9b":"e3b0968c","chunk-168cd8ff":"8f6678d4","chunk-1941db73":"499d63ff","chunk-1bc03f55":"cb6364a0","chunk-262b86d2":"d47d44fa","chunk-2ec9f62e":"a5540828","chunk-30f81def":"134f322f","chunk-32d6ccb7":"10b34206","chunk-383e6f9a":"38909776","chunk-39362334":"c233899e","chunk-42163e43":"6c086558","chunk-4551f5db":"4e4b34f8","chunk-46f25124":"31e5975b","chunk-4b898c1e":"07d02776","chunk-4d95ae81":"d3090a82","chunk-4fc2d3b6":"e4f77a0d","chunk-52b97a85":"998e7f29","chunk-595c3910":"e16a947b","chunk-684b4c42":"91a06166","chunk-7addfe37":"528cb978","chunk-7bcd7cfc":"1d25986b","chunk-85a61634":"a5540828","chunk-8ece888c":"44daa7e8","chunk-9c5b2680":"4c8ff257","chunk-9f80fa24":"74efdc4f","chunk-a3d8b552":"26e628b3","chunk-a6478ea0":"6deeb9ee","chunk-ab551b08":"083a059c","chunk-b073f330":"b7424a51","chunk-b0bc0a90":"188c0a4c","chunk-b216257e":"61bc4d61","chunk-c87d9adc":"75c4c27e","chunk-cfbefc9a":"fb5c154c","chunk-e55aaa40":"a8713f1e","chunk-e81c0d56":"e10924e2","chunk-019f7e2a":"eea2952f","chunk-5e28f3e2":"9010c064","chunk-efbe6f9e":"f92aeab2"}[e]+".css",r=i.p+c,u=document.getElementsByTagName("link"),o=0;o<u.length;o++){var s=u[o],h=s.getAttribute("data-href")||s.getAttribute("href");if("stylesheet"===s.rel&&(h===c||h===r))return n()}var f=document.getElementsByTagName("style");for(o=0;o<f.length;o++){s=f[o],h=s.getAttribute("data-href");if(h===c||h===r)return n()}var d=document.createElement("link");d.rel="stylesheet",d.type="text/css",d.onload=n,d.onerror=function(n){var c=n&&n.target&&n.target.src||r,u=new Error("Loading CSS chunk "+e+" failed.\n("+c+")");u.code="CSS_CHUNK_LOAD_FAILED",u.request=c,delete a[e],d.parentNode.removeChild(d),t(u)},d.href=r;var p=document.getElementsByTagName("head")[0];p.appendChild(d)})).then((function(){a[e]=0})));var c=r[e];if(0!==c)if(c)n.push(c[2]);else{var u=new Promise((function(n,t){c=r[e]=[n,t]}));n.push(c[2]=u);var s,h=document.createElement("script");h.charset="utf-8",h.timeout=120,i.nc&&h.setAttribute("nonce",i.nc),h.src=o(e);var f=new Error;s=function(n){h.onerror=h.onload=null,clearTimeout(d);var t=r[e];if(0!==t){if(t){var c=n&&("load"===n.type?"missing":n.type),a=n&&n.target&&n.target.src;f.message="Loading chunk "+e+" failed.\n("+c+": "+a+")",f.name="ChunkLoadError",f.type=c,f.request=a,t[1](f)}r[e]=void 0}};var d=setTimeout((function(){s({type:"timeout",target:h})}),12e4);h.onerror=h.onload=s,document.head.appendChild(h)}return Promise.all(n)},i.m=e,i.c=c,i.d=function(e,n,t){i.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:t})},i.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,n){if(1&n&&(e=i(e)),8&n)return e;if(4&n&&"object"===typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(i.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var c in e)i.d(t,c,function(n){return e[n]}.bind(null,c));return t},i.n=function(e){var n=e&&e.__esModule?function(){return e["default"]}:function(){return e};return i.d(n,"a",n),n},i.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},i.p="",i.oe=function(e){throw console.error(e),e};var s=window["webpackJsonp"]=window["webpackJsonp"]||[],h=s.push.bind(s);s.push=n,s=s.slice();for(var f=0;f<s.length;f++)n(s[f]);var d=h;u.push([0,"chunk-vendors"]),t()})({0:function(e,n,t){t("db4d"),e.exports=t("56d7")},"1a5d":function(e,n,t){var c={"./app-controls/app-detail.vue":["9bc6","chunk-46f25124"],"./app-controls/app-list.vue":["4a78","chunk-ab551b08"],"./app-controls/app-market.vue":["53b1","chunk-08047175","chunk-1c891ef5"],"./app-controls/index.vue":["b04c","chunk-85a61634"],"./apps/app-auth.vue":["c686","chunk-a3d8b552"],"./apps/customer-app/clerk-tag.vue":["b5b0","chunk-06fd5be4","chunk-7ba358de","chunk-7fb41125"],"./apps/customer-app/crowd-scene.vue":["c7d7","chunk-06fd5be4","chunk-7ba358de","chunk-f53cd680"],"./apps/customer-app/customer-assign.vue":["12eb","chunk-b0bc0a90"],"./apps/customer-app/customer-data-set.vue":["3cf8","chunk-cfbefc9a"],"./apps/customer-app/customer-show-set.vue":["f766","chunk-9c5b2680"],"./apps/customer-app/data-dimension.vue":["55f3","chunk-06fd5be4","chunk-0ed4435a"],"./apps/customer-app/index.vue":["c3d9","chunk-684b4c42"],"./apps/gic-protocol.vue":["7ba1","chunk-efbe6f9e"],"./apps/index.vue":["7f2e","chunk-168cd8ff"],"./business/audit-log.vue":["0912","chunk-383e6f9a"],"./business/auth-merchant.vue":["56b3","chunk-7addfe37"],"./business/contacts.vue":["a269","chunk-08047175","chunk-4d56fe21"],"./business/index.vue":["50c8","chunk-0eeefe9b"],"./business/new-auth-merchant.vue":["62a7","chunk-e81c0d56","chunk-019f7e2a"],"./business/sync-log.vue":["b155","chunk-b216257e"],"./enterprise/admin-list.vue":["db80","chunk-262b86d2"],"./enterprise/admin-list/role-list.vue":["0082","chunk-b073f330"],"./enterprise/edit-admin.vue":["7dc6","chunk-e81c0d56","chunk-5e28f3e2"],"./enterprise/edit-role.vue":["2249","chunk-595c3910"],"./enterprise/edit-role/menu-tree.vue":["a088","chunk-e55aaa40"],"./enterprise/edit-store-role.vue":["a960","chunk-52b97a85"],"./enterprise/enterprise-set.vue":["b735","chunk-0bdabf98"],"./enterprise/index.vue":["ea02","chunk-9f80fa24"],"./enterprise/store-admin-list.vue":["2058","chunk-8ece888c"],"./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-7bcd7cfc"],"./login/index.vue":["9ed6","chunk-39362334"],"./review-center/audit-config.vue":["daa8","chunk-4b898c1e"],"./review-center/audit-group-list.vue":["ff23","chunk-064f007c"],"./review-center/audit-item-list.vue":["727c","chunk-4d95ae81"],"./review-center/create-audit-group.vue":["ea11","chunk-32d6ccb7"],"./review-center/create-audit-item.vue":["e0c0","chunk-30f81def"],"./review-center/index.vue":["2cad","chunk-2ec9f62e"],"./review-center/reviewed.vue":["dacc","chunk-1941db73"],"./review-center/unreview.vue":["1005","chunk-c87d9adc"]};function a(e){if(!t.o(c,e))return Promise.resolve().then((function(){var n=new Error("Cannot find module '"+e+"'");throw n.code="MODULE_NOT_FOUND",n}));var n=c[e],a=n[0];return Promise.all(n.slice(1).map(t.e)).then((function(){return t(a)}))}a.keys=function(){return Object.keys(c)},a.id="1a5d",e.exports=a},"4f94":function(e,n,t){},"56d7":function(e,n,t){"use strict";t.r(n);t("456d"),t("ac6a"),t("cadf"),t("551c"),t("f751"),t("097d"),t("db4d");var c=t("1368"),a=t.n(c),r=(t("0fae"),t("4f94"),t("d31c"),t("8bbf")),u=t.n(r),o=t("8c4f"),i=t("cebe"),s=t.n(i),h=t("5c96"),f=t.n(h),d=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("div",{staticClass:"dm-reset",attrs:{id:"app"}},[t("router-view")],1)},p=[],b={name:"App"},m=b,l=t("2877"),k=Object(l["a"])(m,d,p,!1,null,null,null),g=k.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:"/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 O=new o["a"]({mode:"history",base:"/haoban-4/",routes:x}),S=O,j=(t("c5f6"),t("3b2b"),t("a481"),t("6b54"),function(e,n){if(!e)return"";e=10===e.toString().length?1e3*e:e;var t=new Date(e),c={"M+":t.getMonth()+1,"D+":t.getDate(),W:"日一二三四五六".charAt(t.getDay()),"h+":t.getHours(),"m+":t.getMinutes(),"s+":t.getSeconds(),"q+":Math.floor((t.getMonth()+3)/3),S:t.getMilliseconds()};for(var a in/(Y+)/.test(n)&&(n=n.replace(RegExp.$1,(t.getFullYear()+"").substr(4-RegExp.$1.length))),c)new RegExp("("+a+")").test(n)&&(n=n.replace(RegExp.$1,1===RegExp.$1.length?c[a]:("00"+c[a]).substr((""+c[a]).length)));return n}),D=function(e){if(!e)return"";var n=new Date(e),t=n.getMonth()+1,c=n.getDate()<10?"0"+n.getDate():n.getDate(),a=t<10?"0"+t:t,r=n.getHours()<10?"0"+n.getHours():n.getHours(),u=n.getMinutes()<10?"0"+n.getMinutes():n.getMinutes(),o=n.getSeconds()<10?"0"+n.getSeconds():n.getSeconds();return"".concat(n.getFullYear(),"-").concat(a,"-").concat(c," ").concat(r,":").concat(u,":").concat(o)},E=function(e){if(!e)return"";var n=new Date(e),t=n.getMonth()+1,c=n.getDate()<10?"0"+n.getDate():n.getDate(),a=t<10?"0"+t:t,r=n.getHours()<10?"0"+n.getHours():n.getHours(),u=n.getMinutes()<10?"0"+n.getMinutes():n.getMinutes(),o=n.getSeconds()<10?"0"+n.getSeconds():n.getSeconds();return"".concat(n.getFullYear(),".").concat(a,".").concat(c," ").concat(r,":").concat(u,":").concat(o)},A=function(e){if(!e)return"";var n=new Date(e),t=n.getMonth()+1,c=t<10?"0"+t:t;return"".concat(n.getFullYear(),"-").concat(c)},P=function(e){if(!e)return"";var n=new Date(e),t=n.getMonth()+1,c=n.getDate()<10?"0"+n.getDate():n.getDate(),a=t<10?"0"+t:t;return"".concat(n.getFullYear(),"-").concat(a,"-").concat(c)},T=function(e){if(!e)return"";var n=new Date(e),t=n.getHours()<10?"0"+n.getHours():n.getHours(),c=n.getMinutes()<10?"0"+n.getMinutes():n.getMinutes(),a=n.getSeconds()<10?"0"+n.getSeconds():n.getSeconds();return"".concat(t,":").concat(c,":").concat(a)},C=function(e){if(!e)return"";var n=new Date,t=new Date(Number(e)).getTime()-n.getTime();if(t<0)return"";var c=Math.floor(t/864e5),a=t%864e5,r=Math.floor(a/36e5),u=a%36e5,o=Math.floor(u/6e4);return"".concat(c,"天").concat(r,"小时").concat(o,"分")},L=function(e){return e?(e=e.toString(),e.substr(0,3)+"****"+e.substr(7,11)):""},H=function(e){return e?(e=e.toString(),"**"+e.substr(e.length-1,e.length)):""},_=function(e){return e?(e=e.toString(),e.length>6?e.substr(0,5)+"...":e):""},F=function(e){if(!e)return"00:00:00";var n=e/1e3,t=Math.floor(n/60/60/24),c=24*t+Math.floor(n/60/60)%24<10?"0"+(24*t+Math.floor(n/60/60)%24):24*t+Math.floor(n/60/60)%24,a=Math.floor(n/60)%60<10?"0"+Math.floor(n/60)%60:Math.floor(n/60)%60,r=Math.floor(n)%60<10?"0"+Math.floor(n)%60:Math.floor(n)%60;return"".concat(c,":").concat(a,":").concat(r)},N={dateFormat:j,formatTimeStamp:D,timeStampToYm:A,timeStampToYmd:P,timeStampToHms:T,formatTimeYmdHms:E,formatPhoneNum:L,formatName:H,timeStampSpace:C,formatTime:F,formatWord:_},R=(t("96cf"),t("1da1")),Y=(t("5df3"),t("b775")),$=[],U=[],q={};function B(){var e=new Promise((function(e){Object(Y["a"])({url:"/hb-manage-web/list-staff-role-menu"}).then((function(e){U=I(e.result||[])})).finally(e)})),n=new Promise((function(e){Object(Y["a"])({url:"/hb-manage-web/list-staff-role-opeation"}).then((function(e){q=J(e.result||[])})).finally(e)}));return Promise.all([e,n])}function I(e){var n=[];return e.forEach((function(e){e.menuUrl&&n.push(e.menuUrl),Array.isArray(e.children)&&(n=n.concat(I(e.children)))})),n}function J(e){var n={};return e.forEach((function(e){n[e.menuCode]=!0})),n}function V(e){var n=[];return e.forEach((function(e){Array.isArray(e.children)&&(n=n.concat(V(e.children))),n.push(e.path)})),n}function W(e,n,t){var c=U.some((function(n){return n.indexOf("/#")>=0?n=="/#".concat(e.path):n==e.path}));if(c)return Object.assign(s.a.defaults.headers.common,{route:e.path.replace(/^\//,"")}),t();$.some((function(n){return n==e.path}))||0==U.length?t("/gic-error"):(Object.assign(s.a.defaults.headers.common,{route:U[0].replace(/^\//,"")}),t(U[0]))}function K(e){return!!q[e]}var z=function(e){var n=e.projectPath,t=e.whiteRoute,c=e.router,a=e.routes,r=e.createApp;window.addEventListener("load",Object(R["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(s.a.defaults.headers.common,{project:n,route:u.replace(/\/haoban-4\//,"")}),e.next=5,B();case 5:Array.isArray(t)&&(U=U.concat(t)),Array.isArray(a)&&($=V(a)),c.beforeEach(W),"function"==typeof r&&r();case 9:case"end":return e.stop()}}),e)}))))},G=t("f121");a.a.polyfill(),window.Vue=u.a,u.a.use(o["a"]),u.a.use(f.a),s.a.defaults.withCredentials=!0,u.a.prototype.axios=s.a,u.a.prototype.$itemPerm=K,u.a.prototype.$itemCode=G["a"],u.a.config.devtools=!1,u.a.config.productionTip=!1,Object.keys(N).forEach((function(e){u.a.filter(e,N[e])})),z({projectPath:"haoban",whiteRoute:["/login","/contactsList","/apps","/gic-error","/403","/404","/500"],router:S,routes:x,createApp:function(){new u.a({router:S,render:function(e){return e(g)}}).$mount("#app")}})},"8bbf":function(e,n){e.exports=Vue},b775:function(e,n,t){"use strict";t.d(n,"a",(function(){return s}));var c=t("cebe"),a=t.n(c),r=t("4328"),u=t.n(r),o=t("5c96"),i=t("f121");a.a.defaults.baseURL=i["c"],a.a.defaults.withCredentials=!0;var s=function(e,n,t){n=Object.assign({},n),e=Object.assign({},e);var c={url:"",params:"",data:"",method:"get",useFormData:!1,useIntercept:!0,headers:{}};switch(Object.assign(c,e,t),c.useFormData&&(n=u.a.stringify(n)),c.method.toLowerCase()){case"get":c.params=n;break;case"post":c.data=n;break;default:c.data=n;break}return new Promise((function(e,n){a()(c).then((function(t){var a=t.data;return a.code==i["b"]?(window.location.href="".concat(i["c"],"/haoban-4/login"),n(a)):c.useIntercept&&a.code!=i["d"]?(Object(o["Message"])({message:a.message||"未知错误",type:"warning"}),n(a)):void e(a)})).catch((function(e){var t=e.response||{},c=t.data||{};Object(o["Message"])({message:c.message||"未知错误",type:"warning"}),n(e)}))}))}},cebe:function(e,n){e.exports=axios},d31c:function(e,n,t){},e2b2:function(e,n,t){e.exports=function(e,n){return function(c){t("1a5d")("./"+e+"/"+n+".vue").then((function(e){c(e)}))}}},f121:function(e,n,t){"use strict";function c(){var e=window.location.origin;return(e.indexOf("localhost")>=0||e.indexOf("192.168")>=0)&&(e="https://four.gicdev.com"),e}t.d(n,"c",(function(){return a})),t.d(n,"d",(function(){return r})),t.d(n,"b",(function(){return u})),t.d(n,"a",(function(){return o}));var a=c(),r="0000",u="0003",o={batchAudit:"batchAudit"}}});
\ No newline at end of file \ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-019f7e2a"],{"0ac0":function(t,e,a){},"220a":function(t,e,a){},2340:function(t,e,a){},"236e":function(t,e,a){},2581:function(t,e,a){},2802:function(t,e,a){"use strict";a("4917");e["a"]={getByteLen:function(t){for(var e=""==t||null==t?"":t,a=0,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},"44ee":function(t,e,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){},"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.shareRange.length&&t.authForm.bindRange.length||""===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 iconchenggong color-49c958 font-60"})])}],F={name:"AuthCommitSuccess",components:{},props:{enterpriseId:{type:String,default:""}},data:function(){return{}},methods:{changeRoute:function(t){this.$router.push(t)}}},C=F,N=(a("73ba"),Object(m["a"])(C,y,_,!1,null,"68854cb4",null)),R=N.exports,x=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"auth-commit-admin"},[a("common-alert-tip",{staticClass:"m-b-32",attrs:{width:"328px","tip-content":t.tipContent}}),a("el-form",{ref:"commitForm",staticClass:"dialog-form",attrs:{model:t.commitForm,rules:t.rules,"label-width":"100px"}},[a("el-form-item",{attrs:{label:"申请事项",prop:"commitName"}},[a("el-input",{staticClass:"w-198",attrs:{disabled:""},model:{value:t.commitForm.commitName,callback:function(e){t.$set(t.commitForm,"commitName",e)},expression:"commitForm.commitName"}})],1),a("el-form-item",{attrs:{label:"申请理由",prop:"auditReason"}},[a("limit-textarea",{attrs:{"input-width":298,"input-value":t.commitForm.auditReason,holder:"请输入申请理由","get-by-type":"word","max-length":50},on:{"update:inputValue":function(e){return t.$set(t.commitForm,"auditReason",e)},"update:input-value":function(e){return t.$set(t.commitForm,"auditReason",e)}}})],1),a("el-form-item",{attrs:{label:"审核人",prop:""}},[a("div",{staticClass:"flex flex-wrap audit-admin-body"},[t._l(t.commitForm.auditAdmin,(function(e,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("ef13"),Object(m["a"])(W,B,G,!1,null,"36838884",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?"":String(a.authForm.shareStoreMode),a.authForm.bindStoreMode=!a.authForm.bindRange.length&&a.authForm.bindStoreMode>0?"":String(a.authForm.bindStoreMode)},getAdmin:function(t){var e=this;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["c"])(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("c3f8"),Object(m["a"])(mt,r,n,!1,null,"8c8db368",null));e["default"]=dt.exports},"73ba":function(t,e,a){"use strict";var r=a("2581"),n=a.n(r);n.a},"8cfe":function(t,e,a){"use strict";var r=a("236e"),n=a.n(r);n.a},a062:function(t,e,a){},c3f8:function(t,e,a){"use strict";var r=a("44ee"),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},ef13:function(t,e,a){"use strict";var r=a("a062"),n=a.n(r);n.a}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-4a567fad"],{"0ac0":function(t,e,a){},"220a":function(t,e,a){},2340:function(t,e,a){},"236e":function(t,e,a){},2581:function(t,e,a){},2802:function(t,e,a){"use strict";a("4917");e["a"]={getByteLen:function(t){for(var e=""==t||null==t?"":t,a=0,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)}}},"2a89":function(t,e,a){},"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 c=r(t),l=String(this);if(!c.global)return i(c,l);var u=c.unicode;c.lastIndex=0;var m,d=[],p=0;while(null!==(m=i(c,l))){var h=String(m[0]);d[p]=h,""===h&&(c.lastIndex=s(l,n(c.lastIndex),u)),p++}return 0===p?null:d}]}))},"52c8":function(t,e,a){},"52e4":function(t,e,a){"use strict";var r=a("b4c0"),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)])},c=[],l={name:"AuthStep",components:{},props:{activeStep:{type:String,default:function(){return"0"}}},data:function(){return{active:"0"}},mounted:function(){var t=this;t.active=t.activeStep},watch:{activeStep:function(t){this.active=t}}},u=l,m=(a("de0b"),a("2877")),d=Object(m["a"])(u,o,c,!1,null,"c9703e40",null),p=d.exports,h=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,h,f,!1,null,"6246f46e",null)),S=b.exports,y=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"auth-commit-success"},[t._m(0),a("div",{staticClass:"commit-success-text text-center font-14 color-303133 m-t-12"},[t._v("已提交管理员审核,请通知管理员及时审核")]),a("div",{staticClass:"commit-success-btn text-center m-t-28"},[a("el-button",{on:{click:function(e){return t.changeRoute("/authMerchant")}}},[t._v("返回授权列表")]),a("el-button",{on:{click:function(e){return t.changeRoute("/auditLog?enterpriseId="+t.enterpriseId)}}},[t._v("进入审核列表")])],1)])},_=[function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"commit-success-img text-center"},[a("span",{staticClass:"iconfont iconchenggong color-49c958 font-60"})])}],F={name:"AuthCommitSuccess",components:{},props:{enterpriseId:{type:String,default:""}},data:function(){return{}},methods:{changeRoute:function(t){this.$router.push(t)}}},C=F,N=(a("73ba"),Object(m["a"])(C,y,_,!1,null,"68854cb4",null)),R=N.exports,x=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"auth-commit-admin"},[a("common-alert-tip",{staticClass:"m-b-32",attrs:{width:"328px","tip-content":t.tipContent}}),a("el-form",{ref:"commitForm",staticClass:"dialog-form",attrs:{model:t.commitForm,rules:t.rules,"label-width":"100px"}},[a("el-form-item",{attrs:{label:"申请事项",prop:"commitName"}},[a("el-input",{staticClass:"w-198",attrs:{disabled:""},model:{value:t.commitForm.commitName,callback:function(e){t.$set(t.commitForm,"commitName",e)},expression:"commitForm.commitName"}})],1),a("el-form-item",{attrs:{label:"申请理由",prop:"auditReason"}},[a("limit-textarea",{attrs:{"input-width":298,"input-value":t.commitForm.auditReason,holder:"请输入申请理由","get-by-type":"word","max-length":50},on:{"update:inputValue":function(e){return t.$set(t.commitForm,"auditReason",e)},"update:input-value":function(e){return t.$set(t.commitForm,"auditReason",e)}}})],1),a("el-form-item",{attrs:{label:"审核人",prop:""}},[a("div",{staticClass:"flex flex-wrap audit-admin-body"},[t._l(t.commitForm.auditAdmin,(function(e,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)},I=[],w=a("3081"),D=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"input-line-cell",style:{width:t.inputWidth+"px"}},[a("el-input",{style:{width:t.inputWidth+"px"},attrs:{placeholder:t.holder,type:"textarea",rows:3,disabled:t.disInput},on:{blur:function(e){return t.inputBlur()}},nativeOn:{keyup:function(e){return function(e){return t.toInput(e)}(e)}},model:{value:t.itemValue,callback:function(e){t.itemValue=e},expression:"itemValue"}}),a("span",{staticClass:"tip"},[a("span",{staticClass:"len_span"},[t._v(t._s(t.inputNum))]),t._v("/"+t._s(t.limitLength))])],1)},k=[],M=(a("c5f6"),a("2802")),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"])($,D,k,!1,null,"8106e482",null)),A=L.exports,V=a("d157"),J={name:"AuthCommit",components:{commonAlertTip:w["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,I,!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?t._e():a("div",{staticClass:"el-form-item__error"},[t._v("请选择绑定门店")]),"1"==t.formData.sendRange?a("store-auth-group",{attrs:{"company-id":t.enterpriseId,"store-type":t.bindType,"select-group":t.selectGroupData},on:{checkGroupIds:t.checkGroupIds}}):t._e(),"2"==t.formData.sendRange?a("store-auth-store",{attrs:{"company-id":t.enterpriseId,"store-type":t.bindType,"select-store":t.selectStoreData},on:{checkStoreIds:t.checkStoreIds}}):t._e()],1)])]),a("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:function(e){return e.stopPropagation(),t.cancel(e)}}},[t._v("取消")]),a("el-button",{attrs:{type:"primary"},on:{click:function(e){return e.stopPropagation(),t.submitForm(e)}}},[t._v("确定")])],1)])},G=[],q=a("7ca9"),P=a("418e"),U={name:"StoreAuthDialog",components:{storeAuthGroup:q["a"],storeAuthStore:P["a"]},props:{isSelectAll:{type:[String,Number],default:"0"},enterpriseId:{type:String,default:""},bindType:{type:[String,Number],default:"1"},selectMode:{type:[String,Number],default:"0"},rangeData:{type:[Object,Array],default:function(){return[]}}},data:function(){return{setVisible:!0,formData:{sendRange:"0",selectList:[]},selectGroupData:[],selectStoreData:[]}},mounted:function(){var t=this;t.formData.sendRange=String(t.selectMode),t.selectGroupData=1==t.selectMode?JSON.parse(JSON.stringify(t.rangeData)):[],t.selectStoreData=2==t.selectMode?JSON.parse(JSON.stringify(t.rangeData)):[],t.formData.selectList=JSON.parse(JSON.stringify(t.rangeData))||[]},methods:{changeRange:function(t){var e=this;e.formData.sendRange=t,e.formData.selectList=[]},handleClose:function(t){var e=this;t(),e.$emit("closeSet","close"),e.selectGroupData=[],e.selectStoreData=[]},cancel:function(){var t=this;t.$emit("closeSet","close"),t.selectGroupData=[],t.selectStoreData=[]},checkGroupIds:function(t){var e=this;e.formData.selectList=JSON.parse(JSON.stringify(t))},checkStoreIds:function(t){var e=this;e.formData.selectList=JSON.parse(JSON.stringify(t))},submitForm:function(){var t=this;return"null"!=String(t.formData.sendRange)&&""!==t.formData.sendRange&&(!("1"==t.formData.sendRange&&!t.formData.selectList.length)&&(!("2"==t.formData.sendRange&&!t.formData.selectList.length)&&void t.$emit("closeSet",String(t.formData.sendRange),t.formData.selectList)))}},watch:{selectMode:function(t){var e=this;e.formData.sendRange=String(t)},rangeData:function(t){var e=this;e.selectGroupData=1==e.selectMode?JSON.parse(JSON.stringify(t)):[],e.selectStoreData=2==e.selectMode?JSON.parse(JSON.stringify(t)):[],e.formData.selectList=JSON.parse(JSON.stringify(t))||[]}}},W=U,Z=(a("52e4"),Object(m["a"])(W,B,G,!1,null,"b0c9cce6",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,ct=Q["a"].getGicAdmin,lt=Q["a"].postEnterpriseAuth,ut={name:"NewAuthMerchant",components:{navCrumb:i["a"],authStep:p,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?"":String(a.authForm.shareStoreMode),a.authForm.bindStoreMode=!a.authForm.bindRange.length&&a.authForm.bindStoreMode>0?"":String(a.authForm.bindStoreMode)},getAdmin:function(t){var e=this;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;ct({enterpriseId:t}).then((function(t){t.result&&t.result.length&&(e.adminList=t.result||[])})).catch((function(t){}))},changeStep:function(t){var e=this;e.authForm.auditReason=Object(V["c"])(t),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?"":String(e.authForm.shareStoreMode),bindStoreMode:!e.authForm.bindRange.length&&e.authForm.bindStoreMode>0||null==e.authForm.bindStoreMode?"":String(e.authForm.bindStoreMode),auditorName:e.auditorName};lt(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("ccb8"),Object(m["a"])(mt,r,n,!1,null,"ab848f2c",null));e["default"]=dt.exports},"73ba":function(t,e,a){"use strict";var r=a("2581"),n=a.n(r);n.a},"8cfe":function(t,e,a){"use strict";var r=a("236e"),n=a.n(r);n.a},b4c0:function(t,e,a){},c8ff:function(t,e,a){"use strict";var r=a("0ac0"),n=a.n(r);n.a},ccb8:function(t,e,a){"use strict";var r=a("2a89"),n=a.n(r);n.a},de0b:function(t,e,a){"use strict";var r=a("220a"),n=a.n(r);n.a}}]);
\ No newline at end of file
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* @Author: 无尘 * @Author: 无尘
* @Date: 2020-07-21 10:10:57 * @Date: 2020-07-21 10:10:57
* @LastEditors: 无尘 * @LastEditors: 无尘
* @LastEditTime: 2020-10-20 11:29:21 * @LastEditTime: 2020-11-05 10:53:50
--> -->
<!-- <!--
授权选择门店绑定弹窗 授权选择门店绑定弹窗
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
<el-radio :disabled="isSelectAll == 1 && bindType == 1? true : false" v-model="formData.sendRange" label="0" @change="changeRange">所有门店</el-radio> <el-radio :disabled="isSelectAll == 1 && bindType == 1? true : false" v-model="formData.sendRange" label="0" @change="changeRange">所有门店</el-radio>
<el-radio class="m-l-40 m-r-8" v-model="formData.sendRange" label="1" @change="changeRange">选择分组</el-radio> <el-radio class="m-l-40 m-r-8" v-model="formData.sendRange" label="1" @change="changeRange">选择分组</el-radio>
<el-radio class="m-l-40 m-r-8" v-model="formData.sendRange" label="2" @change="changeRange">选择门店</el-radio> <el-radio class="m-l-40 m-r-8" v-model="formData.sendRange" label="2" @change="changeRange">选择门店</el-radio>
<div v-if="(formData.sendRange == '1' || formData.sendRange == '2') && !formData.selectList.length || String(formData.sendRange) == 'null' || formData.sendRange === ''" class="el-form-item__error">请选择绑定门店</div> <div v-if="(formData.sendRange == '1' || formData.sendRange == '2') && !formData.selectList.length || String(formData.sendRange) == 'null' || formData.sendRange === '' || formData.sendRange == -1" class="el-form-item__error">请选择绑定门店</div>
<store-auth-group v-if="formData.sendRange == '1'" :company-id="enterpriseId" :store-type="bindType" :select-group="selectGroupData" @checkGroupIds="checkGroupIds"></store-auth-group> <store-auth-group v-if="formData.sendRange == '1'" :company-id="enterpriseId" :store-type="bindType" :select-group="selectGroupData" @checkGroupIds="checkGroupIds"></store-auth-group>
<store-auth-store v-if="formData.sendRange == '2'" :company-id="enterpriseId" :store-type="bindType" :select-store="selectStoreData" @checkStoreIds="checkStoreIds"></store-auth-store> <store-auth-store v-if="formData.sendRange == '2'" :company-id="enterpriseId" :store-type="bindType" :select-store="selectStoreData" @checkStoreIds="checkStoreIds"></store-auth-store>
</div> </div>
...@@ -143,7 +143,7 @@ export default { ...@@ -143,7 +143,7 @@ export default {
*/ */
submitForm() { submitForm() {
const that = this; const that = this;
if (String(that.formData.sendRange) == 'null' || that.formData.sendRange === '') { if (String(that.formData.sendRange) == 'null' || that.formData.sendRange === '' || that.formData.sendRange == -1) {
return false; return false;
} }
if (that.formData.sendRange == '1' && !that.formData.selectList.length) { if (that.formData.sendRange == '1' && !that.formData.selectList.length) {
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* @Author: 无尘 * @Author: 无尘
* @Date: 2019-03-20 14:36:37 * @Date: 2019-03-20 14:36:37
* @LastEditors: 无尘 * @LastEditors: 无尘
* @LastEditTime: 2020-11-05 09:56:30 * @LastEditTime: 2020-11-05 11:12:18
--> -->
<template> <template>
<div class="my-customer-wrap common-set-wrap"> <div class="my-customer-wrap common-set-wrap">
...@@ -95,7 +95,7 @@ ...@@ -95,7 +95,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 :disabled="!changeFlag || (authForm.shareStoreMode === '' && authForm.bindStoreMode === '')" type="primary" @click="submitForm('authForm')">下一步</el-button> <el-button :disabled="!changeFlag&&!authForm.shareRange.length&&authForm.bindRange.length || (authForm.shareStoreMode === '' && authForm.bindStoreMode === '')" type="primary" @click="submitForm('authForm')">下一步</el-button>
</el-form-item> </el-form-item>
</el-form> </el-form>
</div> </div>
...@@ -414,8 +414,8 @@ export default { ...@@ -414,8 +414,8 @@ export default {
shareRange: that.authForm.shareStoreMode > 0 ? that.authForm.shareStoreMode == 1 ? that.authForm.shareRange.map(ele=>ele.storeGroupId).join(',') : that.authForm.shareRange.map(ele=>ele.storeInfoId).join(',') : '', shareRange: that.authForm.shareStoreMode > 0 ? that.authForm.shareStoreMode == 1 ? that.authForm.shareRange.map(ele=>ele.storeGroupId).join(',') : that.authForm.shareRange.map(ele=>ele.storeInfoId).join(',') : '',
bindRange: that.authForm.bindStoreMode > 0 ? that.authForm.bindStoreMode == 1 ? that.authForm.bindRange.map(ele=>ele.storeGroupId).join(',') : that.authForm.bindRange.map(ele=>ele.storeInfoId).join(',') : '', bindRange: that.authForm.bindStoreMode > 0 ? that.authForm.bindStoreMode == 1 ? that.authForm.bindRange.map(ele=>ele.storeGroupId).join(',') : that.authForm.bindRange.map(ele=>ele.storeInfoId).join(',') : '',
auditReason: that.authForm.auditReason, auditReason: that.authForm.auditReason,
shareStoreMode: !that.authForm.shareRange.length && that.authForm.shareStoreMode > 0 || that.authForm.shareStoreMode == null ? '' : String(that.authForm.shareStoreMode), // 0 全部 1部分分组 2 部分门店 shareStoreMode: !that.authForm.shareRange.length && that.authForm.shareStoreMode > 0 || that.authForm.shareStoreMode == null || that.authForm.shareStoreMode == -1 ? '' : String(that.authForm.shareStoreMode), // 0 全部 1部分分组 2 部分门店
bindStoreMode: !that.authForm.bindRange.length && that.authForm.bindStoreMode > 0 || that.authForm.bindStoreMode == null ? '' : String(that.authForm.bindStoreMode), bindStoreMode: !that.authForm.bindRange.length && that.authForm.bindStoreMode > 0 || that.authForm.bindStoreMode == null || that.authForm.bindStoreMode == -1 ? '' : String(that.authForm.bindStoreMode),
auditorName: that.auditorName auditorName: that.auditorName
}; };
postEnterpriseAuth(para) postEnterpriseAuth(para)
......
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