Commit 80475dec by 无尘

fix: 修改下发设置

parent a726a175
.task-set-content[data-v-dc7c53d2]{-webkit-box-sizing:border-box;box-sizing:border-box}.task-set-content .w-105[data-v-dc7c53d2]{width:105px}.task-set-content .w-120[data-v-dc7c53d2]{width:120px}.task-set-content .w-161[data-v-dc7c53d2]{width:161px}.task-set-content .m-b-15[data-v-dc7c53d2]{margin-bottom:15px}.task-set-content .p-l-8[data-v-dc7c53d2]{padding-left:8px}.task-set-content .p-l-18[data-v-dc7c53d2]{padding-left:18px}.task-set-content .p-l-24[data-v-dc7c53d2]{padding-left:24px}.task-set-content .p-l-175[data-v-dc7c53d2]{padding-left:175px}.task-set-content .color-1890ff[data-v-dc7c53d2]{color:#2f54eb}.task-set-content .color-f5222d[data-v-dc7c53d2]{color:#f5222d}.task-set-content .colorFirst[data-v-dc7c53d2]{color:#303133;font-weight:600}
\ No newline at end of file
.task-set-content[data-v-6ebce546]{-webkit-box-sizing:border-box;box-sizing:border-box}.task-set-content .w-105[data-v-6ebce546]{width:105px}.task-set-content .w-120[data-v-6ebce546]{width:120px}.task-set-content .w-161[data-v-6ebce546]{width:161px}.task-set-content .m-b-15[data-v-6ebce546]{margin-bottom:15px}.task-set-content .p-l-8[data-v-6ebce546]{padding-left:8px}.task-set-content .p-l-18[data-v-6ebce546]{padding-left:18px}.task-set-content .p-l-24[data-v-6ebce546]{padding-left:24px}.task-set-content .p-l-175[data-v-6ebce546]{padding-left:175px}.task-set-content .color-1890ff[data-v-6ebce546]{color:#2f54eb}.task-set-content .color-f5222d[data-v-6ebce546]{color:#f5222d}.task-set-content .colorFirst[data-v-6ebce546]{color:#303133;font-weight:600}
\ 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-01456cd4.8f6678d4.css rel=prefetch><link href=css/chunk-064f007c.c42ef571.css rel=prefetch><link href=css/chunk-080560e6.528cb978.css rel=prefetch><link href=css/chunk-08638a7e.b695dcc1.css rel=prefetch><link href=css/chunk-0ed4435a.761e43b8.css rel=prefetch><link href=css/chunk-102f8002.a8713f1e.css rel=prefetch><link href=css/chunk-14388a06.73317c80.css rel=prefetch><link href=css/chunk-19add222.1d25986b.css rel=prefetch><link href=css/chunk-1a91d725.0c28e319.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-21114610.3fa03060.css rel=prefetch><link href=css/chunk-262b86d2.d47d44fa.css rel=prefetch><link href=css/chunk-26bd08a6.f7e60e9f.css rel=prefetch><link href=css/chunk-2a371022.8805d27c.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-38f35292.4537179f.css rel=prefetch><link href=css/chunk-39362334.c233899e.css rel=prefetch><link href=css/chunk-3b8f4f50.d290c2cb.css rel=prefetch><link href=css/chunk-42163e43.6c086558.css rel=prefetch><link href=css/chunk-44fd9942.138fe35e.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-4a8d1525.43dd04ad.css rel=prefetch><link href=css/chunk-4b898c1e.07d02776.css rel=prefetch><link href=css/chunk-4d95ae81.d3090a82.css rel=prefetch><link href=css/chunk-4e3bfbee.38909776.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-608df8b2.499d63ff.css rel=prefetch><link href=css/chunk-676572c2.74efdc4f.css rel=prefetch><link href=css/chunk-73e6b8a4.60ffd5e2.css rel=prefetch><link href=css/chunk-770540b8.62df3f4e.css rel=prefetch><link href=css/chunk-8ece888c.44daa7e8.css rel=prefetch><link href=css/chunk-8f209df2.94a75f9a.css rel=prefetch><link href=css/chunk-9302e77c.74367cf2.css rel=prefetch><link href=css/chunk-9ad0e03c.afe90b5f.css rel=prefetch><link href=css/chunk-9c5b2680.4c8ff257.css rel=prefetch><link href=css/chunk-9f49cece.75c4c27e.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-b216257e.61bc4d61.css rel=prefetch><link href=css/chunk-b6ba71c4.e3b0968c.css rel=prefetch><link href=css/chunk-c02c279c.9010c064.css rel=prefetch><link href=css/chunk-cfbefc9a.fb5c154c.css rel=prefetch><link href=css/chunk-d5b7fe52.c36ab61f.css rel=prefetch><link href=css/chunk-e21457e6.c09115d4.css rel=prefetch><link href=css/chunk-e3eb2490.91a06166.css rel=prefetch><link href=css/chunk-efbe6f9e.f92aeab2.css rel=prefetch><link href=css/chunk-f82ef46e.a5540828.css rel=prefetch><link href=css/chunk-fb9e33f8.cc69794b.css rel=prefetch><link href=js/chunk-00b4720e.c934d318.js rel=prefetch><link href=js/chunk-01456cd4.262e3263.js rel=prefetch><link href=js/chunk-064f007c.33eb44ca.js rel=prefetch><link href=js/chunk-06fd5be4.89314364.js rel=prefetch><link href=js/chunk-08047175.988371e6.js rel=prefetch><link href=js/chunk-080560e6.c1b9bdeb.js rel=prefetch><link href=js/chunk-08638a7e.a4a577a8.js rel=prefetch><link href=js/chunk-0ed4435a.f02cc869.js rel=prefetch><link href=js/chunk-102f8002.83e7e868.js rel=prefetch><link href=js/chunk-14388a06.3250c4a2.js rel=prefetch><link href=js/chunk-19add222.18bc690c.js rel=prefetch><link href=js/chunk-1a91d725.eb6f0db5.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-21114610.6b48e34d.js rel=prefetch><link href=js/chunk-262b86d2.1670b675.js rel=prefetch><link href=js/chunk-26bd08a6.3795b3f9.js rel=prefetch><link href=js/chunk-2a371022.a7d43f95.js rel=prefetch><link href=js/chunk-2d0dad10.9b10b3d5.js rel=prefetch><link href=js/chunk-2d0e1f21.d3ed2e41.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-38f35292.dea643e4.js rel=prefetch><link href=js/chunk-39362334.e753da7c.js rel=prefetch><link href=js/chunk-3b8f4f50.3baa7e84.js rel=prefetch><link href=js/chunk-42163e43.f363ac6b.js rel=prefetch><link href=js/chunk-44fd9942.c4e92720.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-4a8d1525.ff13771c.js rel=prefetch><link href=js/chunk-4b898c1e.3ada8648.js rel=prefetch><link href=js/chunk-4d95ae81.fb003bf9.js rel=prefetch><link href=js/chunk-4e3bfbee.4fa13d51.js rel=prefetch><link href=js/chunk-4fc2d3b6.7915d752.js rel=prefetch><link href=js/chunk-52b97a85.6b92d9c5.js rel=prefetch><link href=js/chunk-595c3910.5e85f1b4.js rel=prefetch><link href=js/chunk-608df8b2.c9eb4b25.js rel=prefetch><link href=js/chunk-676572c2.e46a069a.js rel=prefetch><link href=js/chunk-73e6b8a4.3ef2dc7b.js rel=prefetch><link href=js/chunk-770540b8.9a2dc872.js rel=prefetch><link href=js/chunk-8ece888c.cd0f4f91.js rel=prefetch><link href=js/chunk-8f209df2.ef157e1b.js rel=prefetch><link href=js/chunk-9302e77c.e6ce1087.js rel=prefetch><link href=js/chunk-9ad0e03c.dd0e2ace.js rel=prefetch><link href=js/chunk-9c5b2680.85d46545.js rel=prefetch><link href=js/chunk-9f49cece.972c0287.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-b216257e.97588878.js rel=prefetch><link href=js/chunk-b6ba71c4.6f31e646.js rel=prefetch><link href=js/chunk-c02c279c.b6c07067.js rel=prefetch><link href=js/chunk-cfbefc9a.263fc589.js rel=prefetch><link href=js/chunk-d5b7fe52.492f7fae.js rel=prefetch><link href=js/chunk-e21457e6.8463c1c6.js rel=prefetch><link href=js/chunk-e3eb2490.0344239d.js rel=prefetch><link href=js/chunk-efbe6f9e.f87c0d39.js rel=prefetch><link href=js/chunk-f82ef46e.8ae648e9.js rel=prefetch><link href=js/chunk-fb9e33f8.a026fee4.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.73ff3bca.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.73ff3bca.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-01456cd4.8f6678d4.css rel=prefetch><link href=css/chunk-064f007c.c42ef571.css rel=prefetch><link href=css/chunk-080560e6.528cb978.css rel=prefetch><link href=css/chunk-08638a7e.b695dcc1.css rel=prefetch><link href=css/chunk-0ed4435a.761e43b8.css rel=prefetch><link href=css/chunk-102f8002.a8713f1e.css rel=prefetch><link href=css/chunk-14388a06.73317c80.css rel=prefetch><link href=css/chunk-19add222.1d25986b.css rel=prefetch><link href=css/chunk-1a91d725.0c28e319.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-21114610.3fa03060.css rel=prefetch><link href=css/chunk-262b86d2.d47d44fa.css rel=prefetch><link href=css/chunk-2863fabc.8b755a2e.css rel=prefetch><link href=css/chunk-2a371022.8805d27c.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-38f35292.4537179f.css rel=prefetch><link href=css/chunk-39362334.c233899e.css rel=prefetch><link href=css/chunk-3b8f4f50.d290c2cb.css rel=prefetch><link href=css/chunk-42163e43.6c086558.css rel=prefetch><link href=css/chunk-44fd9942.138fe35e.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-4a8d1525.43dd04ad.css rel=prefetch><link href=css/chunk-4b898c1e.07d02776.css rel=prefetch><link href=css/chunk-4d95ae81.d3090a82.css rel=prefetch><link href=css/chunk-4e3bfbee.38909776.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-608df8b2.499d63ff.css rel=prefetch><link href=css/chunk-676572c2.74efdc4f.css rel=prefetch><link href=css/chunk-73e6b8a4.60ffd5e2.css rel=prefetch><link href=css/chunk-770540b8.62df3f4e.css rel=prefetch><link href=css/chunk-8ece888c.44daa7e8.css rel=prefetch><link href=css/chunk-8f209df2.94a75f9a.css rel=prefetch><link href=css/chunk-9302e77c.74367cf2.css rel=prefetch><link href=css/chunk-9ad0e03c.afe90b5f.css rel=prefetch><link href=css/chunk-9c5b2680.4c8ff257.css rel=prefetch><link href=css/chunk-9f49cece.75c4c27e.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-b216257e.61bc4d61.css rel=prefetch><link href=css/chunk-b6ba71c4.e3b0968c.css rel=prefetch><link href=css/chunk-c02c279c.9010c064.css rel=prefetch><link href=css/chunk-cfbefc9a.fb5c154c.css rel=prefetch><link href=css/chunk-d5b7fe52.c36ab61f.css rel=prefetch><link href=css/chunk-e21457e6.c09115d4.css rel=prefetch><link href=css/chunk-e3eb2490.91a06166.css rel=prefetch><link href=css/chunk-efbe6f9e.f92aeab2.css rel=prefetch><link href=css/chunk-f82ef46e.a5540828.css rel=prefetch><link href=css/chunk-fb9e33f8.cc69794b.css rel=prefetch><link href=js/chunk-00b4720e.c934d318.js rel=prefetch><link href=js/chunk-01456cd4.262e3263.js rel=prefetch><link href=js/chunk-064f007c.33eb44ca.js rel=prefetch><link href=js/chunk-06fd5be4.89314364.js rel=prefetch><link href=js/chunk-08047175.988371e6.js rel=prefetch><link href=js/chunk-080560e6.c1b9bdeb.js rel=prefetch><link href=js/chunk-08638a7e.a4a577a8.js rel=prefetch><link href=js/chunk-0ed4435a.f02cc869.js rel=prefetch><link href=js/chunk-102f8002.83e7e868.js rel=prefetch><link href=js/chunk-14388a06.3250c4a2.js rel=prefetch><link href=js/chunk-19add222.18bc690c.js rel=prefetch><link href=js/chunk-1a91d725.eb6f0db5.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-21114610.6b48e34d.js rel=prefetch><link href=js/chunk-262b86d2.1670b675.js rel=prefetch><link href=js/chunk-2863fabc.c3ff4566.js rel=prefetch><link href=js/chunk-2a371022.560483b3.js rel=prefetch><link href=js/chunk-2d0dad10.9b10b3d5.js rel=prefetch><link href=js/chunk-2d0e1f21.d3ed2e41.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-38f35292.1421b1a8.js rel=prefetch><link href=js/chunk-39362334.e753da7c.js rel=prefetch><link href=js/chunk-3b8f4f50.3baa7e84.js rel=prefetch><link href=js/chunk-42163e43.f363ac6b.js rel=prefetch><link href=js/chunk-44fd9942.812d7712.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-4a8d1525.ff13771c.js rel=prefetch><link href=js/chunk-4b898c1e.3ada8648.js rel=prefetch><link href=js/chunk-4d95ae81.fb003bf9.js rel=prefetch><link href=js/chunk-4e3bfbee.4fa13d51.js rel=prefetch><link href=js/chunk-4fc2d3b6.7915d752.js rel=prefetch><link href=js/chunk-52b97a85.6b92d9c5.js rel=prefetch><link href=js/chunk-595c3910.5e85f1b4.js rel=prefetch><link href=js/chunk-608df8b2.c9eb4b25.js rel=prefetch><link href=js/chunk-676572c2.e46a069a.js rel=prefetch><link href=js/chunk-73e6b8a4.3ef2dc7b.js rel=prefetch><link href=js/chunk-770540b8.9a2dc872.js rel=prefetch><link href=js/chunk-8ece888c.cd0f4f91.js rel=prefetch><link href=js/chunk-8f209df2.676e595b.js rel=prefetch><link href=js/chunk-9302e77c.e6ce1087.js rel=prefetch><link href=js/chunk-9ad0e03c.dd0e2ace.js rel=prefetch><link href=js/chunk-9c5b2680.85d46545.js rel=prefetch><link href=js/chunk-9f49cece.972c0287.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-b216257e.97588878.js rel=prefetch><link href=js/chunk-b6ba71c4.6f31e646.js rel=prefetch><link href=js/chunk-c02c279c.b6c07067.js rel=prefetch><link href=js/chunk-cfbefc9a.263fc589.js rel=prefetch><link href=js/chunk-d5b7fe52.492f7fae.js rel=prefetch><link href=js/chunk-e21457e6.8463c1c6.js rel=prefetch><link href=js/chunk-e3eb2490.0344239d.js rel=prefetch><link href=js/chunk-efbe6f9e.f87c0d39.js rel=prefetch><link href=js/chunk-f82ef46e.8ae648e9.js rel=prefetch><link href=js/chunk-fb9e33f8.a026fee4.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.3bd0885e.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.3bd0885e.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],h=n[2],s=0,p=[];s<o.length;s++)a=o[s],Object.prototype.hasOwnProperty.call(r,a)&&r[a]&&p.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(p.length)p.shift()();return u.push.apply(u,h||[]),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-01456cd4":"262e3263","chunk-064f007c":"33eb44ca","chunk-06fd5be4":"89314364","chunk-0ed4435a":"f02cc869","chunk-3b8f4f50":"3baa7e84","chunk-770540b8":"9a2dc872","chunk-d5b7fe52":"492f7fae","chunk-08047175":"988371e6","chunk-08638a7e":"a4a577a8","chunk-1c891ef5":"cfdc452c","chunk-080560e6":"c1b9bdeb","chunk-102f8002":"83e7e868","chunk-14388a06":"3250c4a2","chunk-19add222":"18bc690c","chunk-1bc03f55":"28ce1d8f","chunk-21114610":"6b48e34d","chunk-262b86d2":"1670b675","chunk-26bd08a6":"3795b3f9","chunk-2a371022":"a7d43f95","chunk-2d0dad10":"9b10b3d5","chunk-fb9e33f8":"a026fee4","chunk-2d0e1f21":"d3ed2e41","chunk-30f81def":"16ce3077","chunk-32d6ccb7":"01f9366c","chunk-39362334":"e753da7c","chunk-38f35292":"dea643e4","chunk-42163e43":"f363ac6b","chunk-44fd9942":"c4e92720","chunk-4551f5db":"a8e71318","chunk-46f25124":"7d0f68a8","chunk-4a8d1525":"ff13771c","chunk-1a91d725":"eb6f0db5","chunk-c02c279c":"b6c07067","chunk-4b898c1e":"3ada8648","chunk-4d95ae81":"fb003bf9","chunk-4e3bfbee":"4fa13d51","chunk-4fc2d3b6":"7915d752","chunk-52b97a85":"6b92d9c5","chunk-595c3910":"5e85f1b4","chunk-608df8b2":"c9eb4b25","chunk-676572c2":"e46a069a","chunk-73e6b8a4":"3ef2dc7b","chunk-8ece888c":"cd0f4f91","chunk-8f209df2":"ef157e1b","chunk-9302e77c":"e6ce1087","chunk-9ad0e03c":"dd0e2ace","chunk-9c5b2680":"85d46545","chunk-9f49cece":"972c0287","chunk-a3d8b552":"15fb7199","chunk-a6478ea0":"2c362507","chunk-ab551b08":"e8414b3e","chunk-b073f330":"48610603","chunk-b216257e":"97588878","chunk-b6ba71c4":"6f31e646","chunk-cfbefc9a":"263fc589","chunk-e21457e6":"8463c1c6","chunk-e3eb2490":"0344239d","chunk-efbe6f9e":"f87c0d39","chunk-f82ef46e":"8ae648e9"}[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-01456cd4":1,"chunk-064f007c":1,"chunk-0ed4435a":1,"chunk-3b8f4f50":1,"chunk-770540b8":1,"chunk-d5b7fe52":1,"chunk-08638a7e":1,"chunk-1c891ef5":1,"chunk-080560e6":1,"chunk-102f8002":1,"chunk-14388a06":1,"chunk-19add222":1,"chunk-1bc03f55":1,"chunk-21114610":1,"chunk-262b86d2":1,"chunk-26bd08a6":1,"chunk-2a371022":1,"chunk-fb9e33f8":1,"chunk-30f81def":1,"chunk-32d6ccb7":1,"chunk-39362334":1,"chunk-38f35292":1,"chunk-42163e43":1,"chunk-44fd9942":1,"chunk-4551f5db":1,"chunk-46f25124":1,"chunk-4a8d1525":1,"chunk-1a91d725":1,"chunk-c02c279c":1,"chunk-4b898c1e":1,"chunk-4d95ae81":1,"chunk-4e3bfbee":1,"chunk-4fc2d3b6":1,"chunk-52b97a85":1,"chunk-595c3910":1,"chunk-608df8b2":1,"chunk-676572c2":1,"chunk-73e6b8a4":1,"chunk-8ece888c":1,"chunk-8f209df2":1,"chunk-9302e77c":1,"chunk-9ad0e03c":1,"chunk-9c5b2680":1,"chunk-9f49cece":1,"chunk-a3d8b552":1,"chunk-a6478ea0":1,"chunk-ab551b08":1,"chunk-b073f330":1,"chunk-b216257e":1,"chunk-b6ba71c4":1,"chunk-cfbefc9a":1,"chunk-e21457e6":1,"chunk-e3eb2490":1,"chunk-efbe6f9e":1,"chunk-f82ef46e":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-01456cd4":"8f6678d4","chunk-064f007c":"c42ef571","chunk-06fd5be4":"31d6cfe0","chunk-0ed4435a":"761e43b8","chunk-3b8f4f50":"d290c2cb","chunk-770540b8":"62df3f4e","chunk-d5b7fe52":"c36ab61f","chunk-08047175":"31d6cfe0","chunk-08638a7e":"b695dcc1","chunk-1c891ef5":"b7c8cdf4","chunk-080560e6":"528cb978","chunk-102f8002":"a8713f1e","chunk-14388a06":"73317c80","chunk-19add222":"1d25986b","chunk-1bc03f55":"cb6364a0","chunk-21114610":"3fa03060","chunk-262b86d2":"d47d44fa","chunk-26bd08a6":"f7e60e9f","chunk-2a371022":"8805d27c","chunk-2d0dad10":"31d6cfe0","chunk-fb9e33f8":"cc69794b","chunk-2d0e1f21":"31d6cfe0","chunk-30f81def":"134f322f","chunk-32d6ccb7":"10b34206","chunk-39362334":"c233899e","chunk-38f35292":"4537179f","chunk-42163e43":"6c086558","chunk-44fd9942":"138fe35e","chunk-4551f5db":"4e4b34f8","chunk-46f25124":"31e5975b","chunk-4a8d1525":"43dd04ad","chunk-1a91d725":"0c28e319","chunk-c02c279c":"9010c064","chunk-4b898c1e":"07d02776","chunk-4d95ae81":"d3090a82","chunk-4e3bfbee":"38909776","chunk-4fc2d3b6":"e4f77a0d","chunk-52b97a85":"998e7f29","chunk-595c3910":"e16a947b","chunk-608df8b2":"499d63ff","chunk-676572c2":"74efdc4f","chunk-73e6b8a4":"60ffd5e2","chunk-8ece888c":"44daa7e8","chunk-8f209df2":"94a75f9a","chunk-9302e77c":"74367cf2","chunk-9ad0e03c":"afe90b5f","chunk-9c5b2680":"4c8ff257","chunk-9f49cece":"75c4c27e","chunk-a3d8b552":"26e628b3","chunk-a6478ea0":"6deeb9ee","chunk-ab551b08":"083a059c","chunk-b073f330":"b7424a51","chunk-b216257e":"61bc4d61","chunk-b6ba71c4":"e3b0968c","chunk-cfbefc9a":"fb5c154c","chunk-e21457e6":"c09115d4","chunk-e3eb2490":"91a06166","chunk-efbe6f9e":"f92aeab2","chunk-f82ef46e":"a5540828"}[e]+".css",r=i.p+c,u=document.getElementsByTagName("link"),o=0;o<u.length;o++){var h=u[o],s=h.getAttribute("data-href")||h.getAttribute("href");if("stylesheet"===h.rel&&(s===c||s===r))return n()}var p=document.getElementsByTagName("style");for(o=0;o<p.length;o++){h=p[o],s=h.getAttribute("data-href");if(s===c||s===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 f=document.getElementsByTagName("head")[0];f.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 h,s=document.createElement("script");s.charset="utf-8",s.timeout=120,i.nc&&s.setAttribute("nonce",i.nc),s.src=o(e);var p=new Error;h=function(n){s.onerror=s.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;p.message="Loading chunk "+e+" failed.\n("+c+": "+a+")",p.name="ChunkLoadError",p.type=c,p.request=a,t[1](p)}r[e]=void 0}};var d=setTimeout((function(){h({type:"timeout",target:s})}),12e4);s.onerror=s.onload=h,document.head.appendChild(s)}return Promise.all(n)},i.m=e,i.c=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 h=window["webpackJsonp"]=window["webpackJsonp"]||[],s=h.push.bind(h);h.push=n,h=h.slice();for(var p=0;p<h.length;p++)n(h[p]);var d=s;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-14388a06"],"./apps/app-auth.vue":["c686","chunk-a3d8b552"],"./apps/customer-app/clerk-tag.vue":["b5b0","chunk-06fd5be4","chunk-3b8f4f50","chunk-770540b8"],"./apps/customer-app/crowd-scene.vue":["c7d7","chunk-06fd5be4","chunk-3b8f4f50","chunk-d5b7fe52"],"./apps/customer-app/customer-assign.vue":["12eb","chunk-9302e77c"],"./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-e3eb2490"],"./apps/gic-protocol.vue":["7ba1","chunk-efbe6f9e"],"./apps/index.vue":["7f2e","chunk-01456cd4"],"./apps/target-manage/MonthTarget.vue":["5d04","chunk-21114610"],"./apps/target-manage/edit-store-quota.vue":["d091","chunk-3b8f4f50","chunk-38f35292"],"./apps/target-manage/index.vue":["9924","chunk-9ad0e03c"],"./apps/target-manage/perfect-day-target.vue":["8e1b","chunk-73e6b8a4"],"./apps/target-manage/perfect-sale-target.vue":["d1a4","chunk-26bd08a6"],"./apps/target-manage/quota-set.vue":["2751","chunk-2a371022","chunk-fb9e33f8"],"./apps/target-manage/set-month-target.vue":["7d31","chunk-2d0e1f21"],"./apps/target-manage/target-list.vue":["fc87","chunk-44fd9942"],"./apps/target-manage/target-set.vue":["0db3","chunk-8f209df2"],"./apps/target-manage/target-store.vue":["6ce2","chunk-2a371022","chunk-2d0dad10"],"./business/audit-log.vue":["0912","chunk-4e3bfbee"],"./business/auth-merchant.vue":["56b3","chunk-080560e6"],"./business/contacts.vue":["a269","chunk-08047175","chunk-08638a7e"],"./business/index.vue":["50c8","chunk-b6ba71c4"],"./business/new-auth-merchant.vue":["62a7","chunk-4a8d1525","chunk-1a91d725"],"./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-4a8d1525","chunk-c02c279c"],"./enterprise/edit-role.vue":["2249","chunk-595c3910"],"./enterprise/edit-role/menu-tree.vue":["a088","chunk-102f8002"],"./enterprise/edit-store-role.vue":["a960","chunk-52b97a85"],"./enterprise/enterprise-set.vue":["b735","chunk-e21457e6"],"./enterprise/index.vue":["ea02","chunk-676572c2"],"./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-19add222"],"./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-f82ef46e"],"./review-center/reviewed.vue":["dacc","chunk-608df8b2"],"./review-center/unreview.vue":["1005","chunk-9f49cece"]};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"),h=t.n(i),s=t("5c96"),p=t.n(s),d=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("div",{staticClass:"dm-reset",attrs:{id:"app"}},[t("router-view")],1)},f=[],m={name:"App"},b=m,k=t("2877"),l=Object(k["a"])(b,d,f,!1,null,null,null),g=l.exports,v=t("e2b2"),w=t.n(v),y=function(e){t.e("chunk-4551f5db").then(t.bind(null,"4cf1")).then((function(n){e(n)}))},x=[{path:"/",name:"/",redirect:"login"},{path:"/login",name:"登录",component:w()("login","index")},{path:"/index",name:"index",component:w()("index","index")},{path:"/contacts",name:"通讯录",redirect:"contactsList",component:w()("business","index"),children:[{path:"/contactsList",name:"通讯录",component:w()("business","contacts")},{path:"/syncLog",name:"通讯录日志",component:w()("business","sync-log")},{path:"/authMerchant",name:"授权商户",component:w()("business","auth-merchant")},{path:"/newAuthMerchant",name:"新增授权",component:w()("business","new-auth-merchant")},{path:"/auditLog",name:"审核日志",component:w()("business","audit-log")}]},{path:"/reviewCenter",name:"审核中心",redirect:"unreview",component:w()("review-center","index"),children:[{path:"/reviewed",name:"已审核",component:w()("review-center","reviewed")},{path:"/unreview",name:"未审核",component:w()("review-center","unreview")},{path:"/audit-group-list",meta:{title:"审核组列表"},component:w()("review-center","audit-group-list")},{path:"/create-audit-group",meta:{title:"新建、编辑审核组"},component:w()("review-center","create-audit-group")},{path:"/audit-item-list",meta:{title:"审核事项列表"},component:w()("review-center","audit-item-list")},{path:"/create-audit-item",meta:{title:"新建、编辑审核事项"},component:w()("review-center","create-audit-item")},{path:"/audit-config",meta:{title:"审核设置"},component:w()("review-center","audit-config")}]},{path:"/enterprise",name:"企业设置",redirect:"enterpriseSet",component:w()("enterprise","index"),children:[{path:"/enterpriseSet",name:"企业信息",component:w()("enterprise","enterprise-set")},{path:"/admin-list",name:"管理员",component:w()("enterprise","admin-list")},{path:"/edit-role",name:"新建、编辑角色",component:w()("enterprise","edit-role")},{path:"/edit-admin",name:"新建编辑管理员",component:w()("enterprise","edit-admin")},{path:"/store-admin-list",name:"门店角色",component:w()("enterprise","store-admin-list")},{path:"/edit-store-role",name:"编辑门店角色",component:w()("enterprise","edit-store-role")},{path:"/superAdmin",name:"超级管理员",component:w()("enterprise","super-admin")}]},{path:"/app-controls",meta:{title:"工作台"},redirect:"/app-list",component:w()("app-controls","index"),children:[{path:"/app-list",meta:{title:"服务应用"},component:w()("app-controls","app-list")},{path:"/app-detail",meta:{title:"服务应用详情"},component:w()("app-controls","app-detail")},{path:"/app-market",meta:{title:"服务市场"},component:w()("app-controls","app-market")}]},{path:"/apps",name:"企业应用",component:w()("apps","index"),children:[{path:"/my-customer",name:"我的顾客",component:w()("apps/customer-app","index"),children:[{path:"/data-dimension",name:"数据维度",component:w()("apps/customer-app","data-dimension")},{path:"/crowd-scene",name:"人群场景",component:w()("apps/customer-app","crowd-scene")},{path:"/customer-data-set",name:"顾客资料",component:w()("apps/customer-app","customer-data-set")},{path:"/clerk-tag",name:"导购标签",component:w()("apps/customer-app","clerk-tag")},{path:"/customer-assign",name:"顾客分配",component:w()("apps/customer-app","customer-assign")}]},{path:"/target-manage",name:"指标管理",component:w()("apps/target-manage","index"),children:[{path:"/target-list",name:"指标列表",component:w()("apps/target-manage","target-list")},{path:"/target-store",name:"查看门店",component:w()("apps/target-manage","target-store")},{path:"/perfect-sale-target",name:"完善导购指标",component:w()("apps/target-manage","perfect-sale-target")},{path:"/perfect-day-target",name:"完善日指标",component:w()("apps/target-manage","perfect-day-target")},{path:"/set-month-target",name:"设置月指标",component:w()("apps/target-manage","set-month-target")},{path:"/quota-set",name:"指标设置",component:w()("apps/target-manage","quota-set")},{path:"/edit-store-quota",name:"编辑门店指标",component:w()("apps/target-manage","edit-store-quota")},{path:"/target-set",name:"下发设置",component:w()("apps/target-manage","target-set")}]}]},{path:"/app-auth",name:"应用授权",component:w()("apps","app-auth")},{path:"/gic-protocol",meta:{title:"协议"},component:w()("apps","gic-protocol")},{path:"/gic-error",name:"gic跳转失败页",component:w()("error-page","gic-error")},{path:"/403",name:"无权访问",component:y},{path:"/404",name:"error404",component:y},{path:"/500",name:"error500",component:y},{path:"*",redirect:"/404",hidden:!0}],M=o["a"].prototype.push;o["a"].prototype.push=function(e){return M.call(this,e).catch((function(e){return e}))};var 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")),q=(t("5df3"),t("b775")),Y=[],$=[],U={};function B(){var e=new Promise((function(e){Object(q["a"])({url:"/hb-manage-web/list-staff-role-menu"}).then((function(e){$=I(e.result||[])})).finally(e)})),n=new Promise((function(e){Object(q["a"])({url:"/hb-manage-web/list-staff-role-opeation"}).then((function(e){U=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=$.some((function(n){return n.indexOf("/#")>=0?n=="/#".concat(e.path):n==e.path}));if(c)return Object.assign(h.a.defaults.headers.common,{route:e.path.replace(/^\//,"")}),t();Y.some((function(n){return n==e.path}))||0==$.length?t("/gic-error"):(Object.assign(h.a.defaults.headers.common,{route:$[0].replace(/^\//,"")}),t($[0]))}function K(e){return!!U[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(h.a.defaults.headers.common,{project:n,route:u.replace(/\/haoban-4\//,"")}),e.next=5,B();case 5:Array.isArray(t)&&($=$.concat(t)),Array.isArray(a)&&(Y=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(p.a),h.a.defaults.withCredentials=!0,u.a.prototype.axios=h.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 h}));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 h=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],h=n[2],s=0,p=[];s<o.length;s++)a=o[s],Object.prototype.hasOwnProperty.call(r,a)&&r[a]&&p.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(p.length)p.shift()();return u.push.apply(u,h||[]),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-01456cd4":"262e3263","chunk-064f007c":"33eb44ca","chunk-06fd5be4":"89314364","chunk-0ed4435a":"f02cc869","chunk-3b8f4f50":"3baa7e84","chunk-770540b8":"9a2dc872","chunk-d5b7fe52":"492f7fae","chunk-08047175":"988371e6","chunk-08638a7e":"a4a577a8","chunk-1c891ef5":"cfdc452c","chunk-080560e6":"c1b9bdeb","chunk-102f8002":"83e7e868","chunk-14388a06":"3250c4a2","chunk-19add222":"18bc690c","chunk-1bc03f55":"28ce1d8f","chunk-21114610":"6b48e34d","chunk-262b86d2":"1670b675","chunk-2863fabc":"c3ff4566","chunk-2a371022":"560483b3","chunk-2d0dad10":"9b10b3d5","chunk-fb9e33f8":"a026fee4","chunk-2d0e1f21":"d3ed2e41","chunk-30f81def":"16ce3077","chunk-32d6ccb7":"01f9366c","chunk-39362334":"e753da7c","chunk-38f35292":"1421b1a8","chunk-42163e43":"f363ac6b","chunk-44fd9942":"812d7712","chunk-4551f5db":"a8e71318","chunk-46f25124":"7d0f68a8","chunk-4a8d1525":"ff13771c","chunk-1a91d725":"eb6f0db5","chunk-c02c279c":"b6c07067","chunk-4b898c1e":"3ada8648","chunk-4d95ae81":"fb003bf9","chunk-4e3bfbee":"4fa13d51","chunk-4fc2d3b6":"7915d752","chunk-52b97a85":"6b92d9c5","chunk-595c3910":"5e85f1b4","chunk-608df8b2":"c9eb4b25","chunk-676572c2":"e46a069a","chunk-73e6b8a4":"3ef2dc7b","chunk-8ece888c":"cd0f4f91","chunk-8f209df2":"676e595b","chunk-9302e77c":"e6ce1087","chunk-9ad0e03c":"dd0e2ace","chunk-9c5b2680":"85d46545","chunk-9f49cece":"972c0287","chunk-a3d8b552":"15fb7199","chunk-a6478ea0":"2c362507","chunk-ab551b08":"e8414b3e","chunk-b073f330":"48610603","chunk-b216257e":"97588878","chunk-b6ba71c4":"6f31e646","chunk-cfbefc9a":"263fc589","chunk-e21457e6":"8463c1c6","chunk-e3eb2490":"0344239d","chunk-efbe6f9e":"f87c0d39","chunk-f82ef46e":"8ae648e9"}[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-01456cd4":1,"chunk-064f007c":1,"chunk-0ed4435a":1,"chunk-3b8f4f50":1,"chunk-770540b8":1,"chunk-d5b7fe52":1,"chunk-08638a7e":1,"chunk-1c891ef5":1,"chunk-080560e6":1,"chunk-102f8002":1,"chunk-14388a06":1,"chunk-19add222":1,"chunk-1bc03f55":1,"chunk-21114610":1,"chunk-262b86d2":1,"chunk-2863fabc":1,"chunk-2a371022":1,"chunk-fb9e33f8":1,"chunk-30f81def":1,"chunk-32d6ccb7":1,"chunk-39362334":1,"chunk-38f35292":1,"chunk-42163e43":1,"chunk-44fd9942":1,"chunk-4551f5db":1,"chunk-46f25124":1,"chunk-4a8d1525":1,"chunk-1a91d725":1,"chunk-c02c279c":1,"chunk-4b898c1e":1,"chunk-4d95ae81":1,"chunk-4e3bfbee":1,"chunk-4fc2d3b6":1,"chunk-52b97a85":1,"chunk-595c3910":1,"chunk-608df8b2":1,"chunk-676572c2":1,"chunk-73e6b8a4":1,"chunk-8ece888c":1,"chunk-8f209df2":1,"chunk-9302e77c":1,"chunk-9ad0e03c":1,"chunk-9c5b2680":1,"chunk-9f49cece":1,"chunk-a3d8b552":1,"chunk-a6478ea0":1,"chunk-ab551b08":1,"chunk-b073f330":1,"chunk-b216257e":1,"chunk-b6ba71c4":1,"chunk-cfbefc9a":1,"chunk-e21457e6":1,"chunk-e3eb2490":1,"chunk-efbe6f9e":1,"chunk-f82ef46e":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-01456cd4":"8f6678d4","chunk-064f007c":"c42ef571","chunk-06fd5be4":"31d6cfe0","chunk-0ed4435a":"761e43b8","chunk-3b8f4f50":"d290c2cb","chunk-770540b8":"62df3f4e","chunk-d5b7fe52":"c36ab61f","chunk-08047175":"31d6cfe0","chunk-08638a7e":"b695dcc1","chunk-1c891ef5":"b7c8cdf4","chunk-080560e6":"528cb978","chunk-102f8002":"a8713f1e","chunk-14388a06":"73317c80","chunk-19add222":"1d25986b","chunk-1bc03f55":"cb6364a0","chunk-21114610":"3fa03060","chunk-262b86d2":"d47d44fa","chunk-2863fabc":"8b755a2e","chunk-2a371022":"8805d27c","chunk-2d0dad10":"31d6cfe0","chunk-fb9e33f8":"cc69794b","chunk-2d0e1f21":"31d6cfe0","chunk-30f81def":"134f322f","chunk-32d6ccb7":"10b34206","chunk-39362334":"c233899e","chunk-38f35292":"4537179f","chunk-42163e43":"6c086558","chunk-44fd9942":"138fe35e","chunk-4551f5db":"4e4b34f8","chunk-46f25124":"31e5975b","chunk-4a8d1525":"43dd04ad","chunk-1a91d725":"0c28e319","chunk-c02c279c":"9010c064","chunk-4b898c1e":"07d02776","chunk-4d95ae81":"d3090a82","chunk-4e3bfbee":"38909776","chunk-4fc2d3b6":"e4f77a0d","chunk-52b97a85":"998e7f29","chunk-595c3910":"e16a947b","chunk-608df8b2":"499d63ff","chunk-676572c2":"74efdc4f","chunk-73e6b8a4":"60ffd5e2","chunk-8ece888c":"44daa7e8","chunk-8f209df2":"94a75f9a","chunk-9302e77c":"74367cf2","chunk-9ad0e03c":"afe90b5f","chunk-9c5b2680":"4c8ff257","chunk-9f49cece":"75c4c27e","chunk-a3d8b552":"26e628b3","chunk-a6478ea0":"6deeb9ee","chunk-ab551b08":"083a059c","chunk-b073f330":"b7424a51","chunk-b216257e":"61bc4d61","chunk-b6ba71c4":"e3b0968c","chunk-cfbefc9a":"fb5c154c","chunk-e21457e6":"c09115d4","chunk-e3eb2490":"91a06166","chunk-efbe6f9e":"f92aeab2","chunk-f82ef46e":"a5540828"}[e]+".css",r=i.p+c,u=document.getElementsByTagName("link"),o=0;o<u.length;o++){var h=u[o],s=h.getAttribute("data-href")||h.getAttribute("href");if("stylesheet"===h.rel&&(s===c||s===r))return n()}var p=document.getElementsByTagName("style");for(o=0;o<p.length;o++){h=p[o],s=h.getAttribute("data-href");if(s===c||s===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 d=document.getElementsByTagName("head")[0];d.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 h,s=document.createElement("script");s.charset="utf-8",s.timeout=120,i.nc&&s.setAttribute("nonce",i.nc),s.src=o(e);var p=new Error;h=function(n){s.onerror=s.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;p.message="Loading chunk "+e+" failed.\n("+c+": "+a+")",p.name="ChunkLoadError",p.type=c,p.request=a,t[1](p)}r[e]=void 0}};var f=setTimeout((function(){h({type:"timeout",target:s})}),12e4);s.onerror=s.onload=h,document.head.appendChild(s)}return Promise.all(n)},i.m=e,i.c=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 h=window["webpackJsonp"]=window["webpackJsonp"]||[],s=h.push.bind(h);h.push=n,h=h.slice();for(var p=0;p<h.length;p++)n(h[p]);var f=s;u.push([0,"chunk-vendors"]),t()})({0:function(e,n,t){t("db4d"),e.exports=t("56d7")},"1a5d":function(e,n,t){var 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-14388a06"],"./apps/app-auth.vue":["c686","chunk-a3d8b552"],"./apps/customer-app/clerk-tag.vue":["b5b0","chunk-06fd5be4","chunk-3b8f4f50","chunk-770540b8"],"./apps/customer-app/crowd-scene.vue":["c7d7","chunk-06fd5be4","chunk-3b8f4f50","chunk-d5b7fe52"],"./apps/customer-app/customer-assign.vue":["12eb","chunk-9302e77c"],"./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-e3eb2490"],"./apps/gic-protocol.vue":["7ba1","chunk-efbe6f9e"],"./apps/index.vue":["7f2e","chunk-01456cd4"],"./apps/target-manage/MonthTarget.vue":["5d04","chunk-21114610"],"./apps/target-manage/edit-store-quota.vue":["d091","chunk-3b8f4f50","chunk-38f35292"],"./apps/target-manage/index.vue":["9924","chunk-9ad0e03c"],"./apps/target-manage/perfect-day-target.vue":["8e1b","chunk-73e6b8a4"],"./apps/target-manage/perfect-sale-target.vue":["d1a4","chunk-2863fabc"],"./apps/target-manage/quota-set.vue":["2751","chunk-2a371022","chunk-fb9e33f8"],"./apps/target-manage/set-month-target.vue":["7d31","chunk-2d0e1f21"],"./apps/target-manage/target-list.vue":["fc87","chunk-44fd9942"],"./apps/target-manage/target-set.vue":["0db3","chunk-8f209df2"],"./apps/target-manage/target-store.vue":["6ce2","chunk-2a371022","chunk-2d0dad10"],"./business/audit-log.vue":["0912","chunk-4e3bfbee"],"./business/auth-merchant.vue":["56b3","chunk-080560e6"],"./business/contacts.vue":["a269","chunk-08047175","chunk-08638a7e"],"./business/index.vue":["50c8","chunk-b6ba71c4"],"./business/new-auth-merchant.vue":["62a7","chunk-4a8d1525","chunk-1a91d725"],"./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-4a8d1525","chunk-c02c279c"],"./enterprise/edit-role.vue":["2249","chunk-595c3910"],"./enterprise/edit-role/menu-tree.vue":["a088","chunk-102f8002"],"./enterprise/edit-store-role.vue":["a960","chunk-52b97a85"],"./enterprise/enterprise-set.vue":["b735","chunk-e21457e6"],"./enterprise/index.vue":["ea02","chunk-676572c2"],"./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-19add222"],"./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-f82ef46e"],"./review-center/reviewed.vue":["dacc","chunk-608df8b2"],"./review-center/unreview.vue":["1005","chunk-9f49cece"]};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"),h=t.n(i),s=t("5c96"),p=t.n(s),f=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("div",{staticClass:"dm-reset",attrs:{id:"app"}},[t("router-view")],1)},d=[],m={name:"App"},b=m,k=t("2877"),l=Object(k["a"])(b,f,d,!1,null,null,null),g=l.exports,v=t("e2b2"),w=t.n(v),y=function(e){t.e("chunk-4551f5db").then(t.bind(null,"4cf1")).then((function(n){e(n)}))},x=[{path:"/",name:"/",redirect:"login"},{path:"/login",name:"登录",component:w()("login","index")},{path:"/index",name:"index",component:w()("index","index")},{path:"/contacts",name:"通讯录",redirect:"contactsList",component:w()("business","index"),children:[{path:"/contactsList",name:"通讯录",component:w()("business","contacts")},{path:"/syncLog",name:"通讯录日志",component:w()("business","sync-log")},{path:"/authMerchant",name:"授权商户",component:w()("business","auth-merchant")},{path:"/newAuthMerchant",name:"新增授权",component:w()("business","new-auth-merchant")},{path:"/auditLog",name:"审核日志",component:w()("business","audit-log")}]},{path:"/reviewCenter",name:"审核中心",redirect:"unreview",component:w()("review-center","index"),children:[{path:"/reviewed",name:"已审核",component:w()("review-center","reviewed")},{path:"/unreview",name:"未审核",component:w()("review-center","unreview")},{path:"/audit-group-list",meta:{title:"审核组列表"},component:w()("review-center","audit-group-list")},{path:"/create-audit-group",meta:{title:"新建、编辑审核组"},component:w()("review-center","create-audit-group")},{path:"/audit-item-list",meta:{title:"审核事项列表"},component:w()("review-center","audit-item-list")},{path:"/create-audit-item",meta:{title:"新建、编辑审核事项"},component:w()("review-center","create-audit-item")},{path:"/audit-config",meta:{title:"审核设置"},component:w()("review-center","audit-config")}]},{path:"/enterprise",name:"企业设置",redirect:"enterpriseSet",component:w()("enterprise","index"),children:[{path:"/enterpriseSet",name:"企业信息",component:w()("enterprise","enterprise-set")},{path:"/admin-list",name:"管理员",component:w()("enterprise","admin-list")},{path:"/edit-role",name:"新建、编辑角色",component:w()("enterprise","edit-role")},{path:"/edit-admin",name:"新建编辑管理员",component:w()("enterprise","edit-admin")},{path:"/store-admin-list",name:"门店角色",component:w()("enterprise","store-admin-list")},{path:"/edit-store-role",name:"编辑门店角色",component:w()("enterprise","edit-store-role")},{path:"/superAdmin",name:"超级管理员",component:w()("enterprise","super-admin")}]},{path:"/app-controls",meta:{title:"工作台"},redirect:"/app-list",component:w()("app-controls","index"),children:[{path:"/app-list",meta:{title:"服务应用"},component:w()("app-controls","app-list")},{path:"/app-detail",meta:{title:"服务应用详情"},component:w()("app-controls","app-detail")},{path:"/app-market",meta:{title:"服务市场"},component:w()("app-controls","app-market")}]},{path:"/apps",name:"企业应用",component:w()("apps","index"),children:[{path:"/my-customer",name:"我的顾客",component:w()("apps/customer-app","index"),children:[{path:"/data-dimension",name:"数据维度",component:w()("apps/customer-app","data-dimension")},{path:"/crowd-scene",name:"人群场景",component:w()("apps/customer-app","crowd-scene")},{path:"/customer-data-set",name:"顾客资料",component:w()("apps/customer-app","customer-data-set")},{path:"/clerk-tag",name:"导购标签",component:w()("apps/customer-app","clerk-tag")},{path:"/customer-assign",name:"顾客分配",component:w()("apps/customer-app","customer-assign")}]},{path:"/target-manage",name:"指标管理",component:w()("apps/target-manage","index"),children:[{path:"/target-list",name:"指标列表",component:w()("apps/target-manage","target-list")},{path:"/target-store",name:"查看门店",component:w()("apps/target-manage","target-store")},{path:"/perfect-sale-target",name:"完善导购指标",component:w()("apps/target-manage","perfect-sale-target")},{path:"/perfect-day-target",name:"完善日指标",component:w()("apps/target-manage","perfect-day-target")},{path:"/set-month-target",name:"设置月指标",component:w()("apps/target-manage","set-month-target")},{path:"/quota-set",name:"指标设置",component:w()("apps/target-manage","quota-set")},{path:"/edit-store-quota",name:"编辑门店指标",component:w()("apps/target-manage","edit-store-quota")},{path:"/target-set",name:"下发设置",component:w()("apps/target-manage","target-set")}]}]},{path:"/app-auth",name:"应用授权",component:w()("apps","app-auth")},{path:"/gic-protocol",meta:{title:"协议"},component:w()("apps","gic-protocol")},{path:"/gic-error",name:"gic跳转失败页",component:w()("error-page","gic-error")},{path:"/403",name:"无权访问",component:y},{path:"/404",name:"error404",component:y},{path:"/500",name:"error500",component:y},{path:"*",redirect:"/404",hidden:!0}],M=o["a"].prototype.push;o["a"].prototype.push=function(e){return M.call(this,e).catch((function(e){return e}))};var 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")),q=(t("5df3"),t("b775")),Y=[],$=[],U={};function B(){var e=new Promise((function(e){Object(q["a"])({url:"/hb-manage-web/list-staff-role-menu"}).then((function(e){$=I(e.result||[])})).finally(e)})),n=new Promise((function(e){Object(q["a"])({url:"/hb-manage-web/list-staff-role-opeation"}).then((function(e){U=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=$.some((function(n){return n.indexOf("/#")>=0?n=="/#".concat(e.path):n==e.path}));if(c)return Object.assign(h.a.defaults.headers.common,{route:e.path.replace(/^\//,"")}),t();Y.some((function(n){return n==e.path}))||0==$.length?t("/gic-error"):(Object.assign(h.a.defaults.headers.common,{route:$[0].replace(/^\//,"")}),t($[0]))}function K(e){return!!U[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(h.a.defaults.headers.common,{project:n,route:u.replace(/\/haoban-4\//,"")}),e.next=5,B();case 5:Array.isArray(t)&&($=$.concat(t)),Array.isArray(a)&&(Y=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(p.a),h.a.defaults.withCredentials=!0,u.a.prototype.axios=h.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 h}));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 h=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-26bd08a6"],{"28a5":function(e,t,r){"use strict";var a=r("aae3"),n=r("cb7c"),o=r("ebd6"),c=r("0390"),s=r("9def"),i=r("5f1b"),l=r("520a"),u=r("79e5"),f=Math.min,p=[].push,m="split",d="length",b="lastIndex",g=4294967295,h=!u((function(){RegExp(g,"y")}));r("214f")("split",2,(function(e,t,r,u){var v;return v="c"=="abbc"[m](/(b)*/)[1]||4!="test"[m](/(?:)/,-1)[d]||2!="ab"[m](/(?:ab)*/)[d]||4!="."[m](/(.?)(.?)/)[d]||"."[m](/()()/)[d]>1||""[m](/.?/)[d]?function(e,t){var n=String(this);if(void 0===e&&0===t)return[];if(!a(e))return r.call(n,e,t);var o,c,s,i=[],u=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),f=0,m=void 0===t?g:t>>>0,h=new RegExp(e.source,u+"g");while(o=l.call(h,n)){if(c=h[b],c>f&&(i.push(n.slice(f,o.index)),o[d]>1&&o.index<n[d]&&p.apply(i,o.slice(1)),s=o[0][d],f=c,i[d]>=m))break;h[b]===o.index&&h[b]++}return f===n[d]?!s&&h.test("")||i.push(""):i.push(n.slice(f)),i[d]>m?i.slice(0,m):i}:"0"[m](void 0,0)[d]?function(e,t){return void 0===e&&0===t?[]:r.call(this,e,t)}:r,[function(r,a){var n=e(this),o=void 0==r?void 0:r[t];return void 0!==o?o.call(r,n,a):v.call(String(n),r,a)},function(e,t){var a=u(v,e,this,t,v!==r);if(a.done)return a.value;var l=n(e),p=String(this),m=o(l,RegExp),d=l.unicode,b=(l.ignoreCase?"i":"")+(l.multiline?"m":"")+(l.unicode?"u":"")+(h?"y":"g"),S=new m(h?l:"^(?:"+l.source+")",b),y=void 0===t?g:t>>>0;if(0===y)return[];if(0===p.length)return null===i(S,p)?[p]:[];var k=0,x=0,w=[];while(x<p.length){S.lastIndex=h?x:0;var F,I=i(S,h?p:p.slice(x));if(null===I||(F=f(s(S.lastIndex+(h?0:x)),p.length))===k)x=c(p,x,d);else{if(w.push(p.slice(k,x)),w.length===y)return w;for(var D=1;D<=I.length-1;D++)if(w.push(I[D]),w.length===y)return w;x=k=F}}return w.push(p.slice(k)),w}]}))},"5b4e":function(e,t,r){"use strict";var a=r("5c96");t["a"]={showmsg:function(e,t){Object(a["Message"])({duration:1e3,message:e||"接口异常",type:t})}}},"71f6":function(e,t,r){"use strict";r.d(t,"a",(function(){return n}));r("ac6a"),r("456d");var a=r("b775");function n(e,t){e=e||{};var r=Object.keys(e);return r.forEach((function(r){var n=e[r];"string"===typeof n&&(n={url:n}),n.url="".concat(t).concat(n.url),e[r]=function(e,t){return Object(a["a"])(n,e,t)}})),e}},"7d35":function(e,t,r){"use strict";var a=r("eacb"),n=r.n(a);n.a},"9de6":function(e,t,r){"use strict";var a=r("5c96");t["a"]={errorMsg:function(e){var t=window.location.origin;if("0000"!=e.code){if("0003"==e.code)return window.location.href=t+"/haoban-4/login",!1;a["Message"].error({duration:1e3,message:e.message||"接口异常"})}}}},"9f7c":function(e,t,r){"use strict";var a=r("71f6"),n={getTargetList:"/performance/total-performance-list",getStorePerformanceDetail:"/performance/list-store-performance",changeStorePerformanceMonth:"/performance/change-store-month-performance",getStorePerformanceDay:"/performance/list-day-performance",changeStorePerformanceDay:{url:"/performance/save-day-performance",method:"post",useFormData:!0},getStorePerformanceClerk:"/performance/list-clerk-performance",changeStorePerformanceClerk:{url:"/performance/save-clerk-performance",method:"post",useFormData:!0},getYearList:"/setting/get-year-list",getStorePerformanceList:"/setting/list-store-performance",getNoStorePerformanceList:"/setting/list-no-store-performance",saveStorePerformance:{url:"/setting/add-store-performance",method:"post",useFormData:!0,useIntercept:!0},editStorePerformance:{url:"/setting/edit-single-store-performance",method:"post",useFormData:!0,useIntercept:!0},batchEditStorePerformance:{url:"/setting/batch-setting-store-performance",method:"post",useFormData:!0,useIntercept:!0},batchSettingRight:"/setting/batch-setting-right"};n=Object(a["a"])(n,"/hb-app-performance-web"),t["a"]=n},d157:function(e,t,r){"use strict";r.d(t,"a",(function(){return a})),r.d(t,"b",(function(){return n})),r.d(t,"c",(function(){return o}));r("c5f6"),r("a481"),r("28a5"),r("6b54");function a(e,t){var r,a=t||200;return function(){var t=this,n=arguments;r&&clearTimeout(r),r=setTimeout((function(){r=null,e.apply(t,n)}),a)}}function n(e,t){var r,a,n=t||200;return function(){var t=this,o=arguments,c=+new Date;r&&c-r<n?(clearTimeout(a),a=setTimeout((function(){r=c,e.apply(t,o)}),n)):(r=c,e.apply(t,o))}}function o(e){return String(e)&&"null"!=String(e)?(e=String(e).replace(/\uD83C[\uDF00-\uDFFF]|\uD83D[\uDC00-\uDE4F]|[\uD800-\uDBFF]|[\uDC00-\uDFFF]|[^\u0020-\u007E\u00A0-\u00BE\u2E80-\uA4CF\uF900-\uFAFF\uFE30-\uFE4F\uFF00-\uFFEF\u0080-\u009F\u2000-\u201f\u2026\u2022\u20ac\r\n]/g,""),unescape(escape(e).replace(/\%uD.{3}/g,""))):""}},d1a4:function(e,t,r){"use strict";r.r(t);var a=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"common-app-right"},[r("div",{staticClass:"task-set-content border-box"},[r("el-alert",{staticStyle:{width:"450px","margin-bottom":"20px"},attrs:{title:"提示:【导购总计】需大于等于【本店指标】金额。否则无法提交","show-icon":"",closable:!1}}),r("div",{staticClass:"saler-set-title flex flex-space-between m-b-15"},[r("div",{staticClass:"colorFirst"},[r("span",[e._v(e._s(e.clerkObj.performanceYm))]),r("span",{staticClass:"p-l-18"},[e._v(e._s(e.clerkObj.storeName))])])]),r("div",{staticClass:"saler-set-table"},[r("el-table",{ref:"multipleTable",staticClass:"select-table",style:{width:"100%",minHeight:e.tableH},attrs:{"span-method":e.objectSpanMethod,data:e.tableData,"tooltip-effect":"dark"}},[r("el-table-column",{attrs:{label:"导购"},scopedSlots:e._u([{key:"default",fn:function(t){return[r("div",[e._v(e._s(t.row.clerkName))])]}}])}),r("el-table-column",{attrs:{label:"月指标"},scopedSlots:e._u([{key:"default",fn:function(t){return[r("div",[r("el-input",{staticClass:"w-120 p-l-8",attrs:{maxlength:"50",placeholder:"请输入",disabled:0==e.clerkObj.settingAble||0==t.row.bindFlag},on:{blur:function(r){return e.inputPerformance(r,t.$index,t.row)}},model:{value:t.row.performanceValue,callback:function(r){e.$set(t.row,"performanceValue",r)},expression:"scope.row.performanceValue"}},[r("i",{staticStyle:{"font-style":"normal",position:"absolute",top:"4px",left:"12px"},attrs:{slot:"prefix"},slot:"prefix"},[e._v("¥")])])],1)]}}])}),r("el-table-column",{attrs:{label:"总计 >= 门店月指标",width:"418px"}},[[r("div",[r("span",{staticClass:"font-14 color-606266 text-left"},[e._v("导购总计")]),r("span",{staticClass:" p-l-175 font-14 color-606266 text-left"},[e._v("门店月指标")])]),r("div",{staticStyle:{"margin-top":"4px"}},[r("el-input",{staticClass:"w-161",attrs:{disabled:""},model:{value:e.performanceSum,callback:function(t){e.performanceSum=t},expression:"performanceSum"}},[r("i",{staticStyle:{"font-style":"normal",position:"absolute",top:"4px",left:"10px"},attrs:{slot:"prefix"},slot:"prefix"},[e._v("¥")])]),r("span",{staticClass:"p-l-10 p-r-10"},[e._v(" >= ")]),r("el-input",{staticClass:"w-161 p-l-8",attrs:{maxlength:"50",placeholder:"指标值",disabled:""},model:{value:e.clerkObj.storePerformance,callback:function(t){e.$set(e.clerkObj,"storePerformance",t)},expression:"clerkObj.storePerformance"}},[r("i",{staticStyle:{"font-style":"normal",position:"absolute",top:"4px",left:"16px"},attrs:{slot:"prefix"},slot:"prefix"},[e._v("¥")])])],1)]],2)],1)],1),r("div",{staticClass:"task-set-save m-t-30"},[1==e.clerkObj.settingAble?r("el-button",{attrs:{disabled:!e.equalFlag,type:"primary"},on:{click:e.saveSet}},[e._v("确认")]):e._e()],1)],1)])},n=[],o=(r("28a5"),r("ac6a"),r("a481"),r("c5f6"),r("d157")),c=r("9de6"),s=r("5b4e"),i=r("9f7c"),l=i["a"].changeStorePerformanceClerk,u=i["a"].getStorePerformanceClerk,f={name:"PerfectSaleTarget",components:{},props:{brandId:{type:String,default:function(){return""}}},data:function(){return{tableH:window.screen.availHeight-464-126,tableData:[],performanceSum:"0.00",clerkObj:{storeInfoId:"",storeName:"",performanceYm:"",performanceSubType:"",settingAble:1,storePerformance:0},equalFlag:!1}},mounted:function(){var e=this;e.$emit("showTab","/target-list");var t=e.$route.query,r=t.tab,a=t.applicationId,n=t.performanceYm,o=t.storeInfoId,c=t.storeName,s=[{name:"指标管理",path:"/target-list?tab=".concat(r,"&applicationId=").concat(a)},{name:"查看门店",path:"/target-store?tab=".concat(r,"&applicationId=").concat(a)},{name:"完善导购指标"}];e.$emit("change-nav",s),e.brandId&&(e.clerkObj.performanceYm=n,e.clerkObj.storeInfoId=o,e.clerkObj.storeName=c,e.getData())},methods:{objectSpanMethod:function(e){e.row,e.column;var t=e.rowIndex,r=e.columnIndex,a=this;if(2===r)return 0==t?{rowspan:a.tableData.length,colspan:1}:{rowspan:0,colspan:0}},inputPerformance:function(e,t,r){var a=this;r.performanceValue=Number(r.performanceValue.replace(/[^\d.]/g,""))?r.performanceValue.replace(/[^\d+(.\d+)]/g,""):"",r.performanceValue=Number(r.performanceValue).toFixed(2);var n=0;a.tableData.forEach((function(e){n+=Number(e.performanceValue)})),a.performanceSum=Number(n).toFixed(2),a.diffData()},diffData:function(){var e=this,t=Number(e.performanceSum)>Number(e.clerkObj.storePerformance)||Number(e.performanceSum)==Number(e.clerkObj.storePerformance);return e.equalFlag=!!t,t},saveSet:Object(o["a"])((function(){var e=this;return!!e.diffData()&&(""==e.clerkObj.storePerformance?(e.$message.error({duration:1e3,message:"请输入门店月指标"}),!1):void e.postSave())}),500),postSave:function(){var e=this,t={enterpriseId:e.brandId,storeInfoId:e.clerkObj.storeInfoId,performanceYear:e.clerkObj.performanceYm.split("-")[0],performanceYm:e.clerkObj.performanceYm,performanceType:e.$route.query.performanceType,dataJson:JSON.stringify(e.tableData)};l(t).then((function(e){"0000"!=e.code?c["a"].errorMsg(e):s["a"].showmsg("保存成功","success")})).catch((function(t){e.$message.error({duration:1e3,message:t.message})}))},getData:function(){var e=this,t={enterpriseId:e.brandId,storeInfoId:e.clerkObj.storeInfoId,performanceYm:e.clerkObj.performanceYm,performanceType:e.$route.query.performanceType,performanceSubType:e.$route.query.performanceSubType};u(t).then((function(t){if("0000"==t.code){t.result&&t.result.length&&(t.result.forEach((function(e){e.performanceValue=Number(e.performanceValue).toFixed(2)})),e.tableData=t.result||[]),e.clerkObj.storePerformance=Number(e.$route.query.perfromanceValue).toFixed(2);var r=0;return e.tableData.forEach((function(e){r+=Number(e.performanceValue)})),void(e.performanceSum=Number(r).toFixed(2))}c["a"].errorMsg(t)})).catch((function(t){e.$message.error({duration:1e3,message:t.message})}))}},watch:{brandId:function(e,t){var r=this;e&&(r.clerkObj.performanceYm=r.$route.query.performanceYm,r.clerkObj.storeInfoId=r.$route.query.storeInfoId,r.clerkObj.storeName=r.$route.query.storeName,r.getData())}}},p=f,m=(r("7d35"),r("2877")),d=Object(m["a"])(p,a,n,!1,null,"dc7c53d2",null);t["default"]=d.exports},eacb:function(e,t,r){}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2863fabc"],{"28a5":function(e,t,r){"use strict";var a=r("aae3"),n=r("cb7c"),o=r("ebd6"),c=r("0390"),s=r("9def"),i=r("5f1b"),l=r("520a"),u=r("79e5"),f=Math.min,m=[].push,p="split",d="length",b="lastIndex",g=4294967295,h=!u((function(){RegExp(g,"y")}));r("214f")("split",2,(function(e,t,r,u){var v;return v="c"=="abbc"[p](/(b)*/)[1]||4!="test"[p](/(?:)/,-1)[d]||2!="ab"[p](/(?:ab)*/)[d]||4!="."[p](/(.?)(.?)/)[d]||"."[p](/()()/)[d]>1||""[p](/.?/)[d]?function(e,t){var n=String(this);if(void 0===e&&0===t)return[];if(!a(e))return r.call(n,e,t);var o,c,s,i=[],u=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),f=0,p=void 0===t?g:t>>>0,h=new RegExp(e.source,u+"g");while(o=l.call(h,n)){if(c=h[b],c>f&&(i.push(n.slice(f,o.index)),o[d]>1&&o.index<n[d]&&m.apply(i,o.slice(1)),s=o[0][d],f=c,i[d]>=p))break;h[b]===o.index&&h[b]++}return f===n[d]?!s&&h.test("")||i.push(""):i.push(n.slice(f)),i[d]>p?i.slice(0,p):i}:"0"[p](void 0,0)[d]?function(e,t){return void 0===e&&0===t?[]:r.call(this,e,t)}:r,[function(r,a){var n=e(this),o=void 0==r?void 0:r[t];return void 0!==o?o.call(r,n,a):v.call(String(n),r,a)},function(e,t){var a=u(v,e,this,t,v!==r);if(a.done)return a.value;var l=n(e),m=String(this),p=o(l,RegExp),d=l.unicode,b=(l.ignoreCase?"i":"")+(l.multiline?"m":"")+(l.unicode?"u":"")+(h?"y":"g"),S=new p(h?l:"^(?:"+l.source+")",b),y=void 0===t?g:t>>>0;if(0===y)return[];if(0===m.length)return null===i(S,m)?[m]:[];var k=0,x=0,w=[];while(x<m.length){S.lastIndex=h?x:0;var F,I=i(S,h?m:m.slice(x));if(null===I||(F=f(s(S.lastIndex+(h?0:x)),m.length))===k)x=c(m,x,d);else{if(w.push(m.slice(k,x)),w.length===y)return w;for(var D=1;D<=I.length-1;D++)if(w.push(I[D]),w.length===y)return w;x=k=F}}return w.push(m.slice(k)),w}]}))},3439:function(e,t,r){},"5b4e":function(e,t,r){"use strict";var a=r("5c96");t["a"]={showmsg:function(e,t){Object(a["Message"])({duration:1e3,message:e||"接口异常",type:t})}}},"71f6":function(e,t,r){"use strict";r.d(t,"a",(function(){return n}));r("ac6a"),r("456d");var a=r("b775");function n(e,t){e=e||{};var r=Object.keys(e);return r.forEach((function(r){var n=e[r];"string"===typeof n&&(n={url:n}),n.url="".concat(t).concat(n.url),e[r]=function(e,t){return Object(a["a"])(n,e,t)}})),e}},"9de6":function(e,t,r){"use strict";var a=r("5c96");t["a"]={errorMsg:function(e){var t=window.location.origin;if("0000"!=e.code){if("0003"==e.code)return window.location.href=t+"/haoban-4/login",!1;a["Message"].error({duration:1e3,message:e.message||"接口异常"})}}}},"9f7c":function(e,t,r){"use strict";var a=r("71f6"),n={getTargetList:"/performance/total-performance-list",getStorePerformanceDetail:"/performance/list-store-performance",changeStorePerformanceMonth:"/performance/change-store-month-performance",getStorePerformanceDay:"/performance/list-day-performance",changeStorePerformanceDay:{url:"/performance/save-day-performance",method:"post",useFormData:!0},getStorePerformanceClerk:"/performance/list-clerk-performance",changeStorePerformanceClerk:{url:"/performance/save-clerk-performance",method:"post",useFormData:!0},getYearList:"/setting/get-year-list",getStorePerformanceList:"/setting/list-store-performance",getNoStorePerformanceList:"/setting/list-no-store-performance",saveStorePerformance:{url:"/setting/add-store-performance",method:"post",useFormData:!0,useIntercept:!0},editStorePerformance:{url:"/setting/edit-single-store-performance",method:"post",useFormData:!0,useIntercept:!0},batchEditStorePerformance:{url:"/setting/batch-setting-store-performance",method:"post",useFormData:!0,useIntercept:!0},batchSettingRight:"/setting/batch-setting-right",getTargetSet:"/setting/get-performance-setting",saveTargetSet:{url:"/setting/save-performance-setting",method:"post",useFormData:!0}};n=Object(a["a"])(n,"/hb-app-performance-web"),t["a"]=n},c56b:function(e,t,r){"use strict";var a=r("3439"),n=r.n(a);n.a},d157:function(e,t,r){"use strict";r.d(t,"a",(function(){return a})),r.d(t,"b",(function(){return n})),r.d(t,"c",(function(){return o}));r("c5f6"),r("a481"),r("28a5"),r("6b54");function a(e,t){var r,a=t||200;return function(){var t=this,n=arguments;r&&clearTimeout(r),r=setTimeout((function(){r=null,e.apply(t,n)}),a)}}function n(e,t){var r,a,n=t||200;return function(){var t=this,o=arguments,c=+new Date;r&&c-r<n?(clearTimeout(a),a=setTimeout((function(){r=c,e.apply(t,o)}),n)):(r=c,e.apply(t,o))}}function o(e){return String(e)&&"null"!=String(e)?(e=String(e).replace(/\uD83C[\uDF00-\uDFFF]|\uD83D[\uDC00-\uDE4F]|[\uD800-\uDBFF]|[\uDC00-\uDFFF]|[^\u0020-\u007E\u00A0-\u00BE\u2E80-\uA4CF\uF900-\uFAFF\uFE30-\uFE4F\uFF00-\uFFEF\u0080-\u009F\u2000-\u201f\u2026\u2022\u20ac\r\n]/g,""),unescape(escape(e).replace(/\%uD.{3}/g,""))):""}},d1a4:function(e,t,r){"use strict";r.r(t);var a=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"common-app-right"},[r("div",{staticClass:"task-set-content border-box"},[r("el-alert",{staticStyle:{width:"450px","margin-bottom":"20px"},attrs:{title:"提示:【导购总计】需大于等于【本店指标】金额。否则无法提交","show-icon":"",closable:!1}}),r("div",{staticClass:"saler-set-title flex flex-space-between m-b-15"},[r("div",{staticClass:"colorFirst"},[r("span",[e._v(e._s(e.clerkObj.performanceYm))]),r("span",{staticClass:"p-l-18"},[e._v(e._s(e.clerkObj.storeName))])])]),r("div",{staticClass:"saler-set-table"},[r("el-table",{ref:"multipleTable",staticClass:"select-table",style:{width:"100%",minHeight:e.tableH},attrs:{"span-method":e.objectSpanMethod,data:e.tableData,"tooltip-effect":"dark"}},[r("el-table-column",{attrs:{label:"导购"},scopedSlots:e._u([{key:"default",fn:function(t){return[r("div",[e._v(e._s(t.row.clerkName))])]}}])}),r("el-table-column",{attrs:{label:"月指标"},scopedSlots:e._u([{key:"default",fn:function(t){return[r("div",[r("el-input",{staticClass:"w-120 p-l-8",attrs:{maxlength:"50",placeholder:"请输入",disabled:0==e.clerkObj.settingAble||0==t.row.bindFlag},on:{blur:function(r){return e.inputPerformance(r,t.$index,t.row)}},model:{value:t.row.performanceValue,callback:function(r){e.$set(t.row,"performanceValue",r)},expression:"scope.row.performanceValue"}},[r("i",{staticStyle:{"font-style":"normal",position:"absolute",top:"4px",left:"12px"},attrs:{slot:"prefix"},slot:"prefix"},[e._v("¥")])])],1)]}}])}),r("el-table-column",{attrs:{label:"总计 >= 门店月指标",width:"418px"}},[[r("div",[r("span",{staticClass:"font-14 color-606266 text-left"},[e._v("导购总计")]),r("span",{staticClass:" p-l-175 font-14 color-606266 text-left"},[e._v("门店月指标")])]),r("div",{staticStyle:{"margin-top":"4px"}},[r("el-input",{staticClass:"w-161",attrs:{disabled:""},model:{value:e.performanceSum,callback:function(t){e.performanceSum=t},expression:"performanceSum"}},[r("i",{staticStyle:{"font-style":"normal",position:"absolute",top:"4px",left:"10px"},attrs:{slot:"prefix"},slot:"prefix"},[e._v("¥")])]),r("span",{staticClass:"p-l-10 p-r-10"},[e._v(" >= ")]),r("el-input",{staticClass:"w-161 p-l-8",attrs:{maxlength:"50",placeholder:"指标值",disabled:""},model:{value:e.clerkObj.storePerformance,callback:function(t){e.$set(e.clerkObj,"storePerformance",t)},expression:"clerkObj.storePerformance"}},[r("i",{staticStyle:{"font-style":"normal",position:"absolute",top:"4px",left:"16px"},attrs:{slot:"prefix"},slot:"prefix"},[e._v("¥")])])],1)]],2)],1)],1),r("div",{staticClass:"task-set-save m-t-30"},[1==e.clerkObj.settingAble?r("el-button",{attrs:{disabled:!e.equalFlag,type:"primary"},on:{click:e.saveSet}},[e._v("确认")]):e._e()],1)],1)])},n=[],o=(r("28a5"),r("ac6a"),r("a481"),r("c5f6"),r("d157")),c=r("9de6"),s=r("5b4e"),i=r("9f7c"),l=i["a"].changeStorePerformanceClerk,u=i["a"].getStorePerformanceClerk,f={name:"PerfectSaleTarget",components:{},props:{brandId:{type:String,default:function(){return""}}},data:function(){return{tableH:window.screen.availHeight-464-126,tableData:[],performanceSum:"0.00",clerkObj:{storeInfoId:"",storeName:"",performanceYm:"",performanceSubType:"",settingAble:1,storePerformance:0},equalFlag:!1}},mounted:function(){var e=this;e.$emit("showTab","/target-list");var t=e.$route.query,r=t.tab,a=t.applicationId,n=t.performanceYm,o=t.storeInfoId,c=t.storeName,s=[{name:"指标管理",path:"/target-list?tab=".concat(r,"&applicationId=").concat(a)},{name:"查看门店",path:"/target-store?tab=".concat(r,"&applicationId=").concat(a)},{name:"完善导购指标"}];e.$emit("change-nav",s),e.brandId&&(e.clerkObj.performanceYm=n,e.clerkObj.storeInfoId=o,e.clerkObj.storeName=c,e.getData())},methods:{objectSpanMethod:function(e){e.row,e.column;var t=e.rowIndex,r=e.columnIndex,a=this;if(2===r)return 0==t?{rowspan:a.tableData.length,colspan:1}:{rowspan:0,colspan:0}},inputPerformance:function(e,t,r){var a=this;r.performanceValue=Number(r.performanceValue.replace(/[^\d.]/g,""))?r.performanceValue.replace(/[^\d+(.\d+)]/g,""):"",r.performanceValue=Number(r.performanceValue).toFixed(2);var n=0;a.tableData.forEach((function(e){n+=Number(e.performanceValue)})),a.performanceSum=Number(n).toFixed(2),a.diffData()},diffData:function(){var e=this,t=Number(e.performanceSum)>Number(e.clerkObj.storePerformance)||Number(e.performanceSum)==Number(e.clerkObj.storePerformance);return e.equalFlag=!!t,t},saveSet:Object(o["a"])((function(){var e=this;return!!e.diffData()&&(""==e.clerkObj.storePerformance?(e.$message.error({duration:1e3,message:"请输入门店月指标"}),!1):void e.postSave())}),500),postSave:function(){var e=this,t={enterpriseId:e.brandId,storeInfoId:e.clerkObj.storeInfoId,performanceYear:e.clerkObj.performanceYm.split("-")[0],performanceYm:e.clerkObj.performanceYm,performanceType:e.$route.query.performanceType,dataJson:JSON.stringify(e.tableData)};l(t).then((function(e){"0000"!=e.code?c["a"].errorMsg(e):s["a"].showmsg("保存成功","success")})).catch((function(t){e.$message.error({duration:1e3,message:t.message})}))},getData:function(){var e=this,t={enterpriseId:e.brandId,storeInfoId:e.clerkObj.storeInfoId,performanceYm:e.clerkObj.performanceYm,performanceType:e.$route.query.performanceType,performanceSubType:e.$route.query.performanceSubType};u(t).then((function(t){if("0000"==t.code){t.result&&t.result.length&&(t.result.forEach((function(e){e.performanceValue=Number(e.performanceValue).toFixed(2)})),e.tableData=t.result||[]),e.clerkObj.storePerformance=Number(e.$route.query.perfromanceValue).toFixed(2);var r=0;return e.tableData.forEach((function(e){r+=Number(e.performanceValue)})),void(e.performanceSum=Number(r).toFixed(2))}c["a"].errorMsg(t)})).catch((function(t){e.$message.error({duration:1e3,message:t.message})}))}},watch:{brandId:function(e,t){var r=this;e&&(r.clerkObj.performanceYm=r.$route.query.performanceYm,r.clerkObj.storeInfoId=r.$route.query.storeInfoId,r.clerkObj.storeName=r.$route.query.storeName,r.getData())}}},m=f,p=(r("c56b"),r("2877")),d=Object(p["a"])(m,a,n,!1,null,"6ebce546",null);t["default"]=d.exports}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2a371022"],{"0641":function(e,t,r){"use strict";var n=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("el-popover",{attrs:{placement:"bottom",title:"",width:"350",trigger:"click"},model:{value:e.storeVisible,callback:function(t){e.storeVisible=t},expression:"storeVisible"}},[r("div",{staticClass:"daily-store-select"},[r("div",{staticClass:"el-scrollbar define-search-select"},[r("div",{staticClass:"el-select-dropdown__wrap el-scrollbar__wrap",staticStyle:{"margin-bottom":"-5px","margin-right":"-5px"}},[r("el-checkbox-group",{on:{change:e.handleStoresChange},model:{value:e.dailyRuleForm.tags,callback:function(t){e.$set(e.dailyRuleForm,"tags",t)},expression:"dailyRuleForm.tags"}},[r("ul",{staticClass:"el-scrollbar__view el-select-dropdown__list"},[e._l(e.tags,(function(t){return r("li",{key:t.tagId,staticClass:"el-select-dropdown__item"},[r("el-checkbox",{attrs:{label:t.tagId}},[e._v(e._s(t.tagName))])],1)})),e.tags.length?e._e():r("li",{staticClass:"text-center el-select-dropdown__item"},[r("span",[e._v("暂无门店标签")])])],2)])],1),r("div",{staticClass:"el-scrollbar__bar is-horizontal"},[r("div",{staticClass:"el-scrollbar__thumb",staticStyle:{transform:"translateX(0%)"}})]),r("div",{staticClass:"el-scrollbar__bar is-vertical"},[r("div",{staticClass:"el-scrollbar__thumb",staticStyle:{transform:"translateY(0%)"}})])])]),r("div",{staticClass:"flex-column item-cell-select inline-block ",attrs:{slot:"reference"},slot:"reference"},[r("div",{staticClass:"depart-item-wrap"},[r("div",{staticClass:"el-select el-select--large depart-item-content",style:{width:e.width}},[e.dailyRuleForm.tags.length?e._e():r("span",{staticClass:"font-14 color-c0c4cc p-l-10",staticStyle:{display:"inline-block","line-height":"32px",color:"#c0c4cc"}},[e._v("请选择门店标签")]),r("div",{staticClass:"el-select__tags",staticStyle:{"max-width":"348px"}},[r("span",{staticStyle:{display:"block"}},[e._l(e.selectTags,(function(t,n){return[r("span",{key:n+"tag",staticClass:"el-tag el-tag--info el-tag--small"},[r("span",{staticClass:"el-select__tags-text"},[e._v(e._s(t.tagName))]),r("i",{staticClass:"el-tag__close el-icon-close",on:{click:function(t){return t.stopPropagation(),e.delDepart(n,e.selectTags)}}})])]}))],2)])])])])])},a=[],s=(r("6762"),r("2fdb"),r("ac6a"),r("21f4")),i=s["a"].getTagList,c={name:"GicSelectTag",props:{width:{type:String,default:function(){return"357px"}},selectData:{type:[Object,Array],default:function(){return[]}},brandId:{type:String,default:function(){return""}}},data:function(){return{projectName:"",enterpriseId:this.brandId,storeVisible:!1,tags:[],dailyRuleForm:{tags:[]},selectTags:[]}},mounted:function(){var e=this;e.brandId&&(e.tags=[],e.getTagsData()),e.selectData.length?(e.selectTags=JSON.parse(JSON.stringify(e.selectData)),e.dailyRuleForm.tags=e.selectData.map((function(e){return e.tagId}))):(e.dailyRuleForm.tags=[],e.selectTags=[])},methods:{handleStoresChange:function(e){var t=this,r=[];t.tags.forEach((function(t){e.includes(t.tagId)&&r.push(t)})),t.selectTags=JSON.parse(JSON.stringify(r)),t.$emit("returnTags",t.selectTags)},delDepart:function(e,t){var r=this;t.splice(e,1),r.$emit("returnTags",r.selectTags)},getTagsData:function(){var e=this,t={gicEnterpriseId:e.brandId};i(t).then((function(t){"0000"!=t.code||(e.tags=t.result||[])})).catch((function(e){}))}},watch:{brandId:function(e){var t=this;e&&(t.dailyRuleForm.tags=[],t.selectTags=[],t.tags=[],t.getTagsData())},selectData:function(e,t){var r=this;e.length?(r.selectTags=JSON.parse(JSON.stringify(e)),r.dailyRuleForm.tags=e.map((function(e){return e.tagId}))):(r.dailyRuleForm.tags=[],r.selectTags=[])}}},o=c,l=(r("e2f8"),r("2877")),u=Object(l["a"])(o,n,a,!1,null,"429cb84c",null);t["a"]=u.exports},"0f89":function(e,t,r){"use strict";var n=r("e4e4"),a=r.n(n);a.a},"21f4":function(e,t,r){"use strict";var n=r("71f6"),a={getAuthEnterprise:"/auth-enterprise-list",getGroupList:"/department-list",getTagList:"/",getStoreList:"/store-list",getAuthDetail:"/enterprise-auth-detail",getAuditLog:"/enterprise-auth-audit-list",cancelAudit:{url:"/enterprise-auth-audit",method:"post",useFormData:!0,useIntercept:!1},getCheckName:"/gic-admin-frist",checkName:{url:"/gic-name-validate",method:"post",useFormData:!0,useIntercept:!1},getAuditLogDetail:"/enterprise-auth-audit-range-detail",getEnterprise:"/enterprise-search",getGicAdmin:"/gic-manage-list",postEnterpriseAuth:{url:"/enterprise-auth",method:"post",useFormData:!0,useIntercept:!1},getEnterpriseDetail:"/gic-enterprise-detail"};a=Object(n["a"])(a,"/hb-manage-web"),t["a"]=a},"28a5":function(e,t,r){"use strict";var n=r("aae3"),a=r("cb7c"),s=r("ebd6"),i=r("0390"),c=r("9def"),o=r("5f1b"),l=r("520a"),u=r("79e5"),f=Math.min,p=[].push,d="split",g="length",h="lastIndex",m=4294967295,v=!u((function(){RegExp(m,"y")}));r("214f")("split",2,(function(e,t,r,u){var b;return b="c"=="abbc"[d](/(b)*/)[1]||4!="test"[d](/(?:)/,-1)[g]||2!="ab"[d](/(?:ab)*/)[g]||4!="."[d](/(.?)(.?)/)[g]||"."[d](/()()/)[g]>1||""[d](/.?/)[g]?function(e,t){var a=String(this);if(void 0===e&&0===t)return[];if(!n(e))return r.call(a,e,t);var s,i,c,o=[],u=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),f=0,d=void 0===t?m:t>>>0,v=new RegExp(e.source,u+"g");while(s=l.call(v,a)){if(i=v[h],i>f&&(o.push(a.slice(f,s.index)),s[g]>1&&s.index<a[g]&&p.apply(o,s.slice(1)),c=s[0][g],f=i,o[g]>=d))break;v[h]===s.index&&v[h]++}return f===a[g]?!c&&v.test("")||o.push(""):o.push(a.slice(f)),o[g]>d?o.slice(0,d):o}:"0"[d](void 0,0)[g]?function(e,t){return void 0===e&&0===t?[]:r.call(this,e,t)}:r,[function(r,n){var a=e(this),s=void 0==r?void 0:r[t];return void 0!==s?s.call(r,a,n):b.call(String(a),r,n)},function(e,t){var n=u(b,e,this,t,b!==r);if(n.done)return n.value;var l=a(e),p=String(this),d=s(l,RegExp),g=l.unicode,h=(l.ignoreCase?"i":"")+(l.multiline?"m":"")+(l.unicode?"u":"")+(v?"y":"g"),y=new d(v?l:"^(?:"+l.source+")",h),S=void 0===t?m:t>>>0;if(0===S)return[];if(0===p.length)return null===o(y,p)?[p]:[];var x=0,D=0,k=[];while(D<p.length){y.lastIndex=v?D:0;var _,w=o(y,v?p:p.slice(D));if(null===w||(_=f(c(y.lastIndex+(v?0:D)),p.length))===x)D=i(p,D,g);else{if(k.push(p.slice(x,D)),k.length===S)return k;for(var C=1;C<=w.length-1;C++)if(k.push(w[C]),k.length===S)return k;D=x=_}}return k.push(p.slice(x)),k}]}))},"2e08":function(e,t,r){var n=r("9def"),a=r("9744"),s=r("be13");e.exports=function(e,t,r,i){var c=String(s(e)),o=c.length,l=void 0===r?" ":String(r),u=n(t);if(u<=o||""==l)return c;var f=u-o,p=a.call(l,Math.ceil(f/l.length));return p.length>f&&(p=p.slice(0,f)),i?p+c:c+p}},"2fdb":function(e,t,r){"use strict";var n=r("5ca1"),a=r("d2c8"),s="includes";n(n.P+n.F*r("51479")(s),"String",{includes:function(e){return!!~a(this,e,s).indexOf(e,arguments.length>1?arguments[1]:void 0)}})},"386d":function(e,t,r){"use strict";var n=r("cb7c"),a=r("83a1"),s=r("5f1b");r("214f")("search",1,(function(e,t,r,i){return[function(r){var n=e(this),a=void 0==r?void 0:r[t];return void 0!==a?a.call(r,n):new RegExp(r)[t](String(n))},function(e){var t=i(r,e,this);if(t.done)return t.value;var c=n(e),o=String(this),l=c.lastIndex;a(l,0)||(c.lastIndex=0);var u=s(c,o);return a(c.lastIndex,l)||(c.lastIndex=l),null===u?-1:u.index}]}))},51479:function(e,t,r){var n=r("2b4c")("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(r){try{return t[n]=!1,!"/./"[e](t)}catch(a){}}return!0}},6762:function(e,t,r){"use strict";var n=r("5ca1"),a=r("c366")(!0);n(n.P,"Array",{includes:function(e){return a(this,e,arguments.length>1?arguments[1]:void 0)}}),r("9c6c")("includes")},"6d9e":function(e,t,r){},"71f6":function(e,t,r){"use strict";r.d(t,"a",(function(){return a}));r("ac6a"),r("456d");var n=r("b775");function a(e,t){e=e||{};var r=Object.keys(e);return r.forEach((function(r){var a=e[r];"string"===typeof a&&(a={url:a}),a.url="".concat(t).concat(a.url),e[r]=function(e,t){return Object(n["a"])(a,e,t)}})),e}},"7f7f":function(e,t,r){var n=r("86cc").f,a=Function.prototype,s=/^\s*function ([^ (]*)/,i="name";i in a||r("9e1e")&&n(a,i,{configurable:!0,get:function(){try{return(""+this).match(s)[1]}catch(e){return""}}})},"83a1":function(e,t){e.exports=Object.is||function(e,t){return e===t?0!==e||1/e===1/t:e!=e&&t!=t}},"88f6":function(e,t,r){"use strict";var n=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("el-popover",{attrs:{placement:"bottom"},model:{value:e.departmentVisible,callback:function(t){e.departmentVisible=t},expression:"departmentVisible"}},[r("div",{staticClass:"select-search"},[r("el-input",{staticStyle:{width:"100%"},attrs:{placeholder:"请输入内容",maxlength:"50"},on:{clear:e.clearSearch},nativeOn:{keyup:function(t){return function(t){return e.toInput(t,e.searchSelect)}(t)}},model:{value:e.searchSelect,callback:function(t){e.searchSelect=t},expression:"searchSelect"}},[r("i",{staticClass:"el-input__icon el-icon-search",attrs:{slot:"prefix"},slot:"prefix"})])],1),r("div",{staticClass:"select-tree-wrap m-t-10"},[r("el-tree",{ref:"groupTree",attrs:{"filter-node-method":e.filterNode,data:e.groupData,"default-checked-keys":e.checkedKeys,"node-key":"storeGroupId","show-checkbox":"","default-expand-all":"",props:e.defaultProps,"expand-on-click-node":!1},on:{check:e.checkGroup},scopedSlots:e._u([{key:"default",fn:function(t){var n=t.node,a=t.data;return r("span",{staticClass:"custom-tree-node"},[r("span",{class:["font-14 p-r-10 iconfont",1==a.isStore?"icondianpu-kuai":"iconqiye-tianchong",1==a.bindFlag?"color-2f54eb":"color-dedfe6"]}),r("span",{staticClass:"font-14 color-606266"},[e._v(e._s(n.label))])])}}])})],1),r("div",{staticClass:"flex-column item-cell-select inline-block ",attrs:{slot:"reference"},slot:"reference"},[r("div",{staticClass:"depart-item-wrap"},[r("div",{staticClass:"el-select el-select--large depart-item-content",style:{width:e.width}},[e.groupIds.length?e._e():r("span",{staticClass:"font-14 color-c0c4cc p-l-10",staticStyle:{display:"inline-block","line-height":"32px",color:"#c0c4cc"}},[e._v("请选择门店分组")]),r("div",{staticClass:"el-select__tags",staticStyle:{"max-width":"348px"}},[r("span",{staticStyle:{display:"block"}},[e._l(e.groupIds,(function(t,n){return[r("span",{key:n,staticClass:"el-tag el-tag--info el-tag--small"},[r("span",{staticClass:"el-select__tags-text"},[e._v(e._s(t.departmentName))])])]}))],2)])])])])])},a=[],s=(r("ac6a"),r("96cf"),r("1da1")),i=r("21f4"),c=r("d157"),o=i["a"].getGroupList,l={name:"GicSelectGroupMult",props:{width:{type:String,default:function(){return"357px"}},selectData:{type:[Object,Array],default:function(){return[]}},brandId:{type:String,default:function(){return""}}},data:function(){return{projectName:"",enterpriseId:this.brandId,searchSelect:"",departmentVisible:!1,groupIds:[],groupData:[],groupDataCopy:[],defaultProps:{children:"children",label:"storeGroupName"},checkedKeys:this.selectData.length?this.selectData.map((function(e){return e.departmentId})):[]}},mounted:function(){var e=this;e.selectData.length?e.groupIds=e.selectData:e.groupIds=[],e.getGroup()},methods:{filterNode:function(e,t){return!e||!t.label||-1!==t.label.indexOf(e)},toInput:Object(c["a"])((function(e,t){var r=this;if(!r.groupDataCopy.length)return!1}),500),clearSearch:function(){var e=this;e.groupData=JSON.parse(JSON.stringify(e.groupDataCopy))},delDepart:function(e,t){var r=this;t.splice(e,1);var n=t.map((function(e){return e.storeGroupId}));r.setCheckedKeys(n)},checkGroup:function(){var e=this;e.groupIds=e.$refs.groupTree.getCheckedNodes(),e.$emit("checkGroupIds",e.$refs.groupTree.getCheckedNodes())},setCheckedKeys:function(e){var t=this;t.$refs.groupTree.setCheckedKeys(e),t.$emit("checkGroupIds",t.$refs.groupTree.getCheckedNodes())},treeData:function(){var e=Object(s["a"])(regeneratorRuntime.mark((function e(t){var r;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return r=t.filter((function(e){var r=t.filter((function(t){return e.storeGroupId==t.parentId}));return r.length>0?e.children=r:e.children=[],0==e.parentId})),e.abrupt("return",r);case 2:case"end":return e.stop()}}),e)})));function t(t){return e.apply(this,arguments)}return t}(),getGroup:function(){var e=Object(s["a"])(regeneratorRuntime.mark((function e(){var t,r;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:t=this,r={enterpriseId:t.brandId},o(r).then(function(){var e=Object(s["a"])(regeneratorRuntime.mark((function e(r){var n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(!r.result||!r.result.length){e.next=7;break}return r.result.forEach((function(e){e.label=e.storeGroupName})),e.next=4,t.treeData(r.result);case 4:n=e.sent,t.$nextTick((function(){t.groupData=JSON.parse(JSON.stringify(n))||[],t.groupDataCopy=JSON.parse(JSON.stringify(t.groupData))||[]})),t.$forceUpdate();case 7:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()).catch((function(e){}));case 3:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},watch:{selectData:function(e,t){var r=this;e.length?r.groupIds=e:r.groupIds=[]},searchSelect:function(e){this.$refs.groupTree.filter(e)},brandId:function(e){var t=this;e&&(t.searchSelect="",t.groupIds=[],t.groupData=[],t.groupDataCopy=[],t.getGroup())}}},u=l,f=(r("0f89"),r("2877")),p=Object(f["a"])(u,n,a,!1,null,"034d8aee",null);t["a"]=p.exports},"8e6e":function(e,t,r){var n=r("5ca1"),a=r("990b"),s=r("6821"),i=r("11e9"),c=r("f1ae");n(n.S,"Object",{getOwnPropertyDescriptors:function(e){var t,r,n=s(e),o=i.f,l=a(n),u={},f=0;while(l.length>f)r=o(n,t=l[f++]),void 0!==r&&c(u,t,r);return u}})},9744:function(e,t,r){"use strict";var n=r("4588"),a=r("be13");e.exports=function(e){var t=String(a(this)),r="",s=n(e);if(s<0||s==1/0)throw RangeError("Count can't be negative");for(;s>0;(s>>>=1)&&(t+=t))1&s&&(r+=t);return r}},"990b":function(e,t,r){var n=r("9093"),a=r("2621"),s=r("cb7c"),i=r("7726").Reflect;e.exports=i&&i.ownKeys||function(e){var t=n.f(s(e)),r=a.f;return r?t.concat(r(e)):t}},"9f7c":function(e,t,r){"use strict";var n=r("71f6"),a={getTargetList:"/performance/total-performance-list",getStorePerformanceDetail:"/performance/list-store-performance",changeStorePerformanceMonth:"/performance/change-store-month-performance",getStorePerformanceDay:"/performance/list-day-performance",changeStorePerformanceDay:{url:"/performance/save-day-performance",method:"post",useFormData:!0},getStorePerformanceClerk:"/performance/list-clerk-performance",changeStorePerformanceClerk:{url:"/performance/save-clerk-performance",method:"post",useFormData:!0},getYearList:"/setting/get-year-list",getStorePerformanceList:"/setting/list-store-performance",getNoStorePerformanceList:"/setting/list-no-store-performance",saveStorePerformance:{url:"/setting/add-store-performance",method:"post",useFormData:!0,useIntercept:!0},editStorePerformance:{url:"/setting/edit-single-store-performance",method:"post",useFormData:!0,useIntercept:!0},batchEditStorePerformance:{url:"/setting/batch-setting-store-performance",method:"post",useFormData:!0,useIntercept:!0},batchSettingRight:"/setting/batch-setting-right"};a=Object(n["a"])(a,"/hb-app-performance-web"),t["a"]=a},ade3:function(e,t,r){"use strict";function n(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}r.d(t,"a",(function(){return n}))},d157:function(e,t,r){"use strict";r.d(t,"a",(function(){return n})),r.d(t,"b",(function(){return a})),r.d(t,"c",(function(){return s}));r("c5f6"),r("a481"),r("28a5"),r("6b54");function n(e,t){var r,n=t||200;return function(){var t=this,a=arguments;r&&clearTimeout(r),r=setTimeout((function(){r=null,e.apply(t,a)}),n)}}function a(e,t){var r,n,a=t||200;return function(){var t=this,s=arguments,i=+new Date;r&&i-r<a?(clearTimeout(n),n=setTimeout((function(){r=i,e.apply(t,s)}),a)):(r=i,e.apply(t,s))}}function s(e){return String(e)&&"null"!=String(e)?(e=String(e).replace(/\uD83C[\uDF00-\uDFFF]|\uD83D[\uDC00-\uDE4F]|[\uD800-\uDBFF]|[\uDC00-\uDFFF]|[^\u0020-\u007E\u00A0-\u00BE\u2E80-\uA4CF\uF900-\uFAFF\uFE30-\uFE4F\uFF00-\uFFEF\u0080-\u009F\u2000-\u201f\u2026\u2022\u20ac\r\n]/g,""),unescape(escape(e).replace(/\%uD.{3}/g,""))):""}},d2c8:function(e,t,r){var n=r("aae3"),a=r("be13");e.exports=function(e,t,r){if(n(t))throw TypeError("String#"+r+" doesn't accept regex!");return String(a(e))}},e2f8:function(e,t,r){"use strict";var n=r("6d9e"),a=r.n(n);a.a},e4e4:function(e,t,r){},f1ae:function(e,t,r){"use strict";var n=r("86cc"),a=r("4630");e.exports=function(e,t,r){t in e?n.f(e,t,a(0,r)):e[t]=r}},f576:function(e,t,r){"use strict";var n=r("5ca1"),a=r("2e08"),s=r("a25f"),i=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(s);n(n.P+n.F*i,"String",{padStart:function(e){return a(this,e,arguments.length>1?arguments[1]:void 0,!0)}})}}]); (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2a371022"],{"0641":function(e,t,r){"use strict";var a=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("el-popover",{attrs:{placement:"bottom",title:"",width:"350",trigger:"click"},model:{value:e.storeVisible,callback:function(t){e.storeVisible=t},expression:"storeVisible"}},[r("div",{staticClass:"daily-store-select"},[r("div",{staticClass:"el-scrollbar define-search-select"},[r("div",{staticClass:"el-select-dropdown__wrap el-scrollbar__wrap",staticStyle:{"margin-bottom":"-5px","margin-right":"-5px"}},[r("el-checkbox-group",{on:{change:e.handleStoresChange},model:{value:e.dailyRuleForm.tags,callback:function(t){e.$set(e.dailyRuleForm,"tags",t)},expression:"dailyRuleForm.tags"}},[r("ul",{staticClass:"el-scrollbar__view el-select-dropdown__list"},[e._l(e.tags,(function(t){return r("li",{key:t.tagId,staticClass:"el-select-dropdown__item"},[r("el-checkbox",{attrs:{label:t.tagId}},[e._v(e._s(t.tagName))])],1)})),e.tags.length?e._e():r("li",{staticClass:"text-center el-select-dropdown__item"},[r("span",[e._v("暂无门店标签")])])],2)])],1),r("div",{staticClass:"el-scrollbar__bar is-horizontal"},[r("div",{staticClass:"el-scrollbar__thumb",staticStyle:{transform:"translateX(0%)"}})]),r("div",{staticClass:"el-scrollbar__bar is-vertical"},[r("div",{staticClass:"el-scrollbar__thumb",staticStyle:{transform:"translateY(0%)"}})])])]),r("div",{staticClass:"flex-column item-cell-select inline-block ",attrs:{slot:"reference"},slot:"reference"},[r("div",{staticClass:"depart-item-wrap"},[r("div",{staticClass:"el-select el-select--large depart-item-content",style:{width:e.width}},[e.dailyRuleForm.tags.length?e._e():r("span",{staticClass:"font-14 color-c0c4cc p-l-10",staticStyle:{display:"inline-block","line-height":"32px",color:"#c0c4cc"}},[e._v("请选择门店标签")]),r("div",{staticClass:"el-select__tags",staticStyle:{"max-width":"348px"}},[r("span",{staticStyle:{display:"block"}},[e._l(e.selectTags,(function(t,a){return[r("span",{key:a+"tag",staticClass:"el-tag el-tag--info el-tag--small"},[r("span",{staticClass:"el-select__tags-text"},[e._v(e._s(t.tagName))]),r("i",{staticClass:"el-tag__close el-icon-close",on:{click:function(t){return t.stopPropagation(),e.delDepart(a,e.selectTags)}}})])]}))],2)])])])])])},n=[],s=(r("6762"),r("2fdb"),r("ac6a"),r("21f4")),i=s["a"].getTagList,c={name:"GicSelectTag",props:{width:{type:String,default:function(){return"357px"}},selectData:{type:[Object,Array],default:function(){return[]}},brandId:{type:String,default:function(){return""}}},data:function(){return{projectName:"",enterpriseId:this.brandId,storeVisible:!1,tags:[],dailyRuleForm:{tags:[]},selectTags:[]}},mounted:function(){var e=this;e.brandId&&(e.tags=[],e.getTagsData()),e.selectData.length?(e.selectTags=JSON.parse(JSON.stringify(e.selectData)),e.dailyRuleForm.tags=e.selectData.map((function(e){return e.tagId}))):(e.dailyRuleForm.tags=[],e.selectTags=[])},methods:{handleStoresChange:function(e){var t=this,r=[];t.tags.forEach((function(t){e.includes(t.tagId)&&r.push(t)})),t.selectTags=JSON.parse(JSON.stringify(r)),t.$emit("returnTags",t.selectTags)},delDepart:function(e,t){var r=this;t.splice(e,1),r.$emit("returnTags",r.selectTags)},getTagsData:function(){var e=this,t={gicEnterpriseId:e.brandId};i(t).then((function(t){"0000"!=t.code||(e.tags=t.result||[])})).catch((function(e){}))}},watch:{brandId:function(e){var t=this;e&&(t.dailyRuleForm.tags=[],t.selectTags=[],t.tags=[],t.getTagsData())},selectData:function(e,t){var r=this;e.length?(r.selectTags=JSON.parse(JSON.stringify(e)),r.dailyRuleForm.tags=e.map((function(e){return e.tagId}))):(r.dailyRuleForm.tags=[],r.selectTags=[])}}},o=c,l=(r("e2f8"),r("2877")),u=Object(l["a"])(o,a,n,!1,null,"429cb84c",null);t["a"]=u.exports},"0f89":function(e,t,r){"use strict";var a=r("e4e4"),n=r.n(a);n.a},"21f4":function(e,t,r){"use strict";var a=r("71f6"),n={getAuthEnterprise:"/auth-enterprise-list",getGroupList:"/department-list",getTagList:"/",getStoreList:"/store-list",getAuthDetail:"/enterprise-auth-detail",getAuditLog:"/enterprise-auth-audit-list",cancelAudit:{url:"/enterprise-auth-audit",method:"post",useFormData:!0,useIntercept:!1},getCheckName:"/gic-admin-frist",checkName:{url:"/gic-name-validate",method:"post",useFormData:!0,useIntercept:!1},getAuditLogDetail:"/enterprise-auth-audit-range-detail",getEnterprise:"/enterprise-search",getGicAdmin:"/gic-manage-list",postEnterpriseAuth:{url:"/enterprise-auth",method:"post",useFormData:!0,useIntercept:!1},getEnterpriseDetail:"/gic-enterprise-detail"};n=Object(a["a"])(n,"/hb-manage-web"),t["a"]=n},"28a5":function(e,t,r){"use strict";var a=r("aae3"),n=r("cb7c"),s=r("ebd6"),i=r("0390"),c=r("9def"),o=r("5f1b"),l=r("520a"),u=r("79e5"),f=Math.min,p=[].push,d="split",g="length",h="lastIndex",m=4294967295,v=!u((function(){RegExp(m,"y")}));r("214f")("split",2,(function(e,t,r,u){var b;return b="c"=="abbc"[d](/(b)*/)[1]||4!="test"[d](/(?:)/,-1)[g]||2!="ab"[d](/(?:ab)*/)[g]||4!="."[d](/(.?)(.?)/)[g]||"."[d](/()()/)[g]>1||""[d](/.?/)[g]?function(e,t){var n=String(this);if(void 0===e&&0===t)return[];if(!a(e))return r.call(n,e,t);var s,i,c,o=[],u=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),f=0,d=void 0===t?m:t>>>0,v=new RegExp(e.source,u+"g");while(s=l.call(v,n)){if(i=v[h],i>f&&(o.push(n.slice(f,s.index)),s[g]>1&&s.index<n[g]&&p.apply(o,s.slice(1)),c=s[0][g],f=i,o[g]>=d))break;v[h]===s.index&&v[h]++}return f===n[g]?!c&&v.test("")||o.push(""):o.push(n.slice(f)),o[g]>d?o.slice(0,d):o}:"0"[d](void 0,0)[g]?function(e,t){return void 0===e&&0===t?[]:r.call(this,e,t)}:r,[function(r,a){var n=e(this),s=void 0==r?void 0:r[t];return void 0!==s?s.call(r,n,a):b.call(String(n),r,a)},function(e,t){var a=u(b,e,this,t,b!==r);if(a.done)return a.value;var l=n(e),p=String(this),d=s(l,RegExp),g=l.unicode,h=(l.ignoreCase?"i":"")+(l.multiline?"m":"")+(l.unicode?"u":"")+(v?"y":"g"),y=new d(v?l:"^(?:"+l.source+")",h),S=void 0===t?m:t>>>0;if(0===S)return[];if(0===p.length)return null===o(y,p)?[p]:[];var x=0,D=0,k=[];while(D<p.length){y.lastIndex=v?D:0;var _,w=o(y,v?p:p.slice(D));if(null===w||(_=f(c(y.lastIndex+(v?0:D)),p.length))===x)D=i(p,D,g);else{if(k.push(p.slice(x,D)),k.length===S)return k;for(var C=1;C<=w.length-1;C++)if(k.push(w[C]),k.length===S)return k;D=x=_}}return k.push(p.slice(x)),k}]}))},"2e08":function(e,t,r){var a=r("9def"),n=r("9744"),s=r("be13");e.exports=function(e,t,r,i){var c=String(s(e)),o=c.length,l=void 0===r?" ":String(r),u=a(t);if(u<=o||""==l)return c;var f=u-o,p=n.call(l,Math.ceil(f/l.length));return p.length>f&&(p=p.slice(0,f)),i?p+c:c+p}},"2fdb":function(e,t,r){"use strict";var a=r("5ca1"),n=r("d2c8"),s="includes";a(a.P+a.F*r("51479")(s),"String",{includes:function(e){return!!~n(this,e,s).indexOf(e,arguments.length>1?arguments[1]:void 0)}})},"386d":function(e,t,r){"use strict";var a=r("cb7c"),n=r("83a1"),s=r("5f1b");r("214f")("search",1,(function(e,t,r,i){return[function(r){var a=e(this),n=void 0==r?void 0:r[t];return void 0!==n?n.call(r,a):new RegExp(r)[t](String(a))},function(e){var t=i(r,e,this);if(t.done)return t.value;var c=a(e),o=String(this),l=c.lastIndex;n(l,0)||(c.lastIndex=0);var u=s(c,o);return n(c.lastIndex,l)||(c.lastIndex=l),null===u?-1:u.index}]}))},51479:function(e,t,r){var a=r("2b4c")("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(r){try{return t[a]=!1,!"/./"[e](t)}catch(n){}}return!0}},6762:function(e,t,r){"use strict";var a=r("5ca1"),n=r("c366")(!0);a(a.P,"Array",{includes:function(e){return n(this,e,arguments.length>1?arguments[1]:void 0)}}),r("9c6c")("includes")},"6d9e":function(e,t,r){},"71f6":function(e,t,r){"use strict";r.d(t,"a",(function(){return n}));r("ac6a"),r("456d");var a=r("b775");function n(e,t){e=e||{};var r=Object.keys(e);return r.forEach((function(r){var n=e[r];"string"===typeof n&&(n={url:n}),n.url="".concat(t).concat(n.url),e[r]=function(e,t){return Object(a["a"])(n,e,t)}})),e}},"7f7f":function(e,t,r){var a=r("86cc").f,n=Function.prototype,s=/^\s*function ([^ (]*)/,i="name";i in n||r("9e1e")&&a(n,i,{configurable:!0,get:function(){try{return(""+this).match(s)[1]}catch(e){return""}}})},"83a1":function(e,t){e.exports=Object.is||function(e,t){return e===t?0!==e||1/e===1/t:e!=e&&t!=t}},"88f6":function(e,t,r){"use strict";var a=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("el-popover",{attrs:{placement:"bottom"},model:{value:e.departmentVisible,callback:function(t){e.departmentVisible=t},expression:"departmentVisible"}},[r("div",{staticClass:"select-search"},[r("el-input",{staticStyle:{width:"100%"},attrs:{placeholder:"请输入内容",maxlength:"50"},on:{clear:e.clearSearch},nativeOn:{keyup:function(t){return function(t){return e.toInput(t,e.searchSelect)}(t)}},model:{value:e.searchSelect,callback:function(t){e.searchSelect=t},expression:"searchSelect"}},[r("i",{staticClass:"el-input__icon el-icon-search",attrs:{slot:"prefix"},slot:"prefix"})])],1),r("div",{staticClass:"select-tree-wrap m-t-10"},[r("el-tree",{ref:"groupTree",attrs:{"filter-node-method":e.filterNode,data:e.groupData,"default-checked-keys":e.checkedKeys,"node-key":"storeGroupId","show-checkbox":"","default-expand-all":"",props:e.defaultProps,"expand-on-click-node":!1},on:{check:e.checkGroup},scopedSlots:e._u([{key:"default",fn:function(t){var a=t.node,n=t.data;return r("span",{staticClass:"custom-tree-node"},[r("span",{class:["font-14 p-r-10 iconfont",1==n.isStore?"icondianpu-kuai":"iconqiye-tianchong",1==n.bindFlag?"color-2f54eb":"color-dedfe6"]}),r("span",{staticClass:"font-14 color-606266"},[e._v(e._s(a.label))])])}}])})],1),r("div",{staticClass:"flex-column item-cell-select inline-block ",attrs:{slot:"reference"},slot:"reference"},[r("div",{staticClass:"depart-item-wrap"},[r("div",{staticClass:"el-select el-select--large depart-item-content",style:{width:e.width}},[e.groupIds.length?e._e():r("span",{staticClass:"font-14 color-c0c4cc p-l-10",staticStyle:{display:"inline-block","line-height":"32px",color:"#c0c4cc"}},[e._v("请选择门店分组")]),r("div",{staticClass:"el-select__tags",staticStyle:{"max-width":"348px"}},[r("span",{staticStyle:{display:"block"}},[e._l(e.groupIds,(function(t,a){return[r("span",{key:a,staticClass:"el-tag el-tag--info el-tag--small"},[r("span",{staticClass:"el-select__tags-text"},[e._v(e._s(t.departmentName))])])]}))],2)])])])])])},n=[],s=(r("ac6a"),r("96cf"),r("1da1")),i=r("21f4"),c=r("d157"),o=i["a"].getGroupList,l={name:"GicSelectGroupMult",props:{width:{type:String,default:function(){return"357px"}},selectData:{type:[Object,Array],default:function(){return[]}},brandId:{type:String,default:function(){return""}}},data:function(){return{projectName:"",enterpriseId:this.brandId,searchSelect:"",departmentVisible:!1,groupIds:[],groupData:[],groupDataCopy:[],defaultProps:{children:"children",label:"storeGroupName"},checkedKeys:this.selectData.length?this.selectData.map((function(e){return e.departmentId})):[]}},mounted:function(){var e=this;e.selectData.length?e.groupIds=e.selectData:e.groupIds=[],e.getGroup()},methods:{filterNode:function(e,t){return!e||!t.label||-1!==t.label.indexOf(e)},toInput:Object(c["a"])((function(e,t){var r=this;if(!r.groupDataCopy.length)return!1}),500),clearSearch:function(){var e=this;e.groupData=JSON.parse(JSON.stringify(e.groupDataCopy))},delDepart:function(e,t){var r=this;t.splice(e,1);var a=t.map((function(e){return e.storeGroupId}));r.setCheckedKeys(a)},checkGroup:function(){var e=this;e.groupIds=e.$refs.groupTree.getCheckedNodes(),e.$emit("checkGroupIds",e.$refs.groupTree.getCheckedNodes())},setCheckedKeys:function(e){var t=this;t.$refs.groupTree.setCheckedKeys(e),t.$emit("checkGroupIds",t.$refs.groupTree.getCheckedNodes())},treeData:function(){var e=Object(s["a"])(regeneratorRuntime.mark((function e(t){var r;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return r=t.filter((function(e){var r=t.filter((function(t){return e.storeGroupId==t.parentId}));return r.length>0?e.children=r:e.children=[],0==e.parentId})),e.abrupt("return",r);case 2:case"end":return e.stop()}}),e)})));function t(t){return e.apply(this,arguments)}return t}(),getGroup:function(){var e=Object(s["a"])(regeneratorRuntime.mark((function e(){var t,r;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:t=this,r={enterpriseId:t.brandId},o(r).then(function(){var e=Object(s["a"])(regeneratorRuntime.mark((function e(r){var a;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(!r.result||!r.result.length){e.next=7;break}return r.result.forEach((function(e){e.label=e.storeGroupName})),e.next=4,t.treeData(r.result);case 4:a=e.sent,t.$nextTick((function(){t.groupData=JSON.parse(JSON.stringify(a))||[],t.groupDataCopy=JSON.parse(JSON.stringify(t.groupData))||[]})),t.$forceUpdate();case 7:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()).catch((function(e){}));case 3:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},watch:{selectData:function(e,t){var r=this;e.length?r.groupIds=e:r.groupIds=[]},searchSelect:function(e){this.$refs.groupTree.filter(e)},brandId:function(e){var t=this;e&&(t.searchSelect="",t.groupIds=[],t.groupData=[],t.groupDataCopy=[],t.getGroup())}}},u=l,f=(r("0f89"),r("2877")),p=Object(f["a"])(u,a,n,!1,null,"034d8aee",null);t["a"]=p.exports},"8e6e":function(e,t,r){var a=r("5ca1"),n=r("990b"),s=r("6821"),i=r("11e9"),c=r("f1ae");a(a.S,"Object",{getOwnPropertyDescriptors:function(e){var t,r,a=s(e),o=i.f,l=n(a),u={},f=0;while(l.length>f)r=o(a,t=l[f++]),void 0!==r&&c(u,t,r);return u}})},9744:function(e,t,r){"use strict";var a=r("4588"),n=r("be13");e.exports=function(e){var t=String(n(this)),r="",s=a(e);if(s<0||s==1/0)throw RangeError("Count can't be negative");for(;s>0;(s>>>=1)&&(t+=t))1&s&&(r+=t);return r}},"990b":function(e,t,r){var a=r("9093"),n=r("2621"),s=r("cb7c"),i=r("7726").Reflect;e.exports=i&&i.ownKeys||function(e){var t=a.f(s(e)),r=n.f;return r?t.concat(r(e)):t}},"9f7c":function(e,t,r){"use strict";var a=r("71f6"),n={getTargetList:"/performance/total-performance-list",getStorePerformanceDetail:"/performance/list-store-performance",changeStorePerformanceMonth:"/performance/change-store-month-performance",getStorePerformanceDay:"/performance/list-day-performance",changeStorePerformanceDay:{url:"/performance/save-day-performance",method:"post",useFormData:!0},getStorePerformanceClerk:"/performance/list-clerk-performance",changeStorePerformanceClerk:{url:"/performance/save-clerk-performance",method:"post",useFormData:!0},getYearList:"/setting/get-year-list",getStorePerformanceList:"/setting/list-store-performance",getNoStorePerformanceList:"/setting/list-no-store-performance",saveStorePerformance:{url:"/setting/add-store-performance",method:"post",useFormData:!0,useIntercept:!0},editStorePerformance:{url:"/setting/edit-single-store-performance",method:"post",useFormData:!0,useIntercept:!0},batchEditStorePerformance:{url:"/setting/batch-setting-store-performance",method:"post",useFormData:!0,useIntercept:!0},batchSettingRight:"/setting/batch-setting-right",getTargetSet:"/setting/get-performance-setting",saveTargetSet:{url:"/setting/save-performance-setting",method:"post",useFormData:!0}};n=Object(a["a"])(n,"/hb-app-performance-web"),t["a"]=n},ade3:function(e,t,r){"use strict";function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}r.d(t,"a",(function(){return a}))},d157:function(e,t,r){"use strict";r.d(t,"a",(function(){return a})),r.d(t,"b",(function(){return n})),r.d(t,"c",(function(){return s}));r("c5f6"),r("a481"),r("28a5"),r("6b54");function a(e,t){var r,a=t||200;return function(){var t=this,n=arguments;r&&clearTimeout(r),r=setTimeout((function(){r=null,e.apply(t,n)}),a)}}function n(e,t){var r,a,n=t||200;return function(){var t=this,s=arguments,i=+new Date;r&&i-r<n?(clearTimeout(a),a=setTimeout((function(){r=i,e.apply(t,s)}),n)):(r=i,e.apply(t,s))}}function s(e){return String(e)&&"null"!=String(e)?(e=String(e).replace(/\uD83C[\uDF00-\uDFFF]|\uD83D[\uDC00-\uDE4F]|[\uD800-\uDBFF]|[\uDC00-\uDFFF]|[^\u0020-\u007E\u00A0-\u00BE\u2E80-\uA4CF\uF900-\uFAFF\uFE30-\uFE4F\uFF00-\uFFEF\u0080-\u009F\u2000-\u201f\u2026\u2022\u20ac\r\n]/g,""),unescape(escape(e).replace(/\%uD.{3}/g,""))):""}},d2c8:function(e,t,r){var a=r("aae3"),n=r("be13");e.exports=function(e,t,r){if(a(t))throw TypeError("String#"+r+" doesn't accept regex!");return String(n(e))}},e2f8:function(e,t,r){"use strict";var a=r("6d9e"),n=r.n(a);n.a},e4e4:function(e,t,r){},f1ae:function(e,t,r){"use strict";var a=r("86cc"),n=r("4630");e.exports=function(e,t,r){t in e?a.f(e,t,n(0,r)):e[t]=r}},f576:function(e,t,r){"use strict";var a=r("5ca1"),n=r("2e08"),s=r("a25f"),i=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(s);a(a.P+a.F*i,"String",{padStart:function(e){return n(this,e,arguments.length>1?arguments[1]:void 0,!0)}})}}]);
\ No newline at end of file \ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-38f35292","chunk-21114610"],{3673:function(e,t,r){"use strict";var a=r("bddf"),n=r.n(a);n.a},"3b01":function(e,t,r){"use strict";var a=r("5c59"),n=r.n(a);n.a},"5c59":function(e,t,r){},"5d04":function(e,t,r){"use strict";r.r(t);var a=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{attrs:{id:"month-target"}},e._l(e.tableData,(function(t){return r("div",{key:t.num,staticClass:"target-box"},[r("header",[e._v(e._s(t.head))]),r("div",{class:{content:!0,red:!e.isAllNot&&((e.isAllRed||e.month<t.num)&&!t.val)}},[r("el-input-number",{attrs:{controls:!1,placeholder:"请输入"},on:{change:function(t){return e.$emit("change",e.tableData)}},model:{value:t.val,callback:function(r){e.$set(t,"val",r)},expression:"item.val"}})],1)])})),0)},n=[],o=(r("c5f6"),{name:"MonthTarget",props:{data:{type:Object,default:function(){return[]}},year:{type:[String,Number],default:"2020"}},data:function(){return{tableData:[{head:"一月",num:"01",val:0},{head:"二月",num:"02",val:0},{head:"三月",num:"03",val:0},{head:"四月",num:"04",val:0},{head:"五月",num:"05",val:0},{head:"六月",num:"06",val:0},{head:"七月",num:"07",val:0},{head:"八月",num:"08",val:0},{head:"九月",num:"09",val:0},{head:"十月",num:"10",val:0},{head:"十一月",num:"11",val:0},{head:"十二月",num:"12",val:0}],thisYear:(new Date).getFullYear(),month:(new Date).getMonth()}},mounted:function(){this.$emit("change",this.tableData)},methods:{validate:function(){var e=this;return this.tableData.some((function(t){return!e.isAllNot&&((e.isAllRed||e.month<t.num)&&!t.val)}))}},computed:{isAllRed:function(){return this.year>this.thisYear},isAllNot:function(){return this.year<this.thisYear}}}),s=o,l=(r("3b01"),r("2877")),c=Object(l["a"])(s,a,n,!1,null,null,null);t["default"]=c.exports},"71f6":function(e,t,r){"use strict";r.d(t,"a",(function(){return n}));r("ac6a"),r("456d");var a=r("b775");function n(e,t){e=e||{};var r=Object.keys(e);return r.forEach((function(r){var n=e[r];"string"===typeof n&&(n={url:n}),n.url="".concat(t).concat(n.url),e[r]=function(e,t){return Object(a["a"])(n,e,t)}})),e}},"8e6e":function(e,t,r){var a=r("5ca1"),n=r("990b"),o=r("6821"),s=r("11e9"),l=r("f1ae");a(a.S,"Object",{getOwnPropertyDescriptors:function(e){var t,r,a=o(e),c=s.f,i=n(a),f={},m=0;while(i.length>m)r=c(a,t=i[m++]),void 0!==r&&l(f,t,r);return f}})},"990b":function(e,t,r){var a=r("9093"),n=r("2621"),o=r("cb7c"),s=r("7726").Reflect;e.exports=s&&s.ownKeys||function(e){var t=a.f(o(e)),r=n.f;return r?t.concat(r(e)):t}},"9f7c":function(e,t,r){"use strict";var a=r("71f6"),n={getTargetList:"/performance/total-performance-list",getStorePerformanceDetail:"/performance/list-store-performance",changeStorePerformanceMonth:"/performance/change-store-month-performance",getStorePerformanceDay:"/performance/list-day-performance",changeStorePerformanceDay:{url:"/performance/save-day-performance",method:"post",useFormData:!0},getStorePerformanceClerk:"/performance/list-clerk-performance",changeStorePerformanceClerk:{url:"/performance/save-clerk-performance",method:"post",useFormData:!0},getYearList:"/setting/get-year-list",getStorePerformanceList:"/setting/list-store-performance",getNoStorePerformanceList:"/setting/list-no-store-performance",saveStorePerformance:{url:"/setting/add-store-performance",method:"post",useFormData:!0,useIntercept:!0},editStorePerformance:{url:"/setting/edit-single-store-performance",method:"post",useFormData:!0,useIntercept:!0},batchEditStorePerformance:{url:"/setting/batch-setting-store-performance",method:"post",useFormData:!0,useIntercept:!0},batchSettingRight:"/setting/batch-setting-right",getTargetSet:"/setting/get-performance-setting",saveTargetSet:{url:"/setting/save-performance-setting",method:"post",useFormData:!0}};n=Object(a["a"])(n,"/hb-app-performance-web"),t["a"]=n},ade3:function(e,t,r){"use strict";function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}r.d(t,"a",(function(){return a}))},bddf:function(e,t,r){},d091:function(e,t,r){"use strict";r.r(t);var a=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"common-app-right"},[r("el-alert",{attrs:{"show-icon":"",closable:!1}},[r("template",{slot:"title"},[r("div",[e._v("1.下发类型修改后、日权重/日指标修改后、指标设置立即生效,修改后数据统计次日生效")]),r("div",[e._v("2.修改当月指标会导致已完善的日指标重新下发及完善。请谨慎设置")])])],2),r("el-form",{ref:"form",attrs:{model:e.form,rules:e.rules,"label-width":"180px","hide-required-asterisk":""}},[r("el-form-item",{attrs:{label:"选择年份",prop:"performanceYear"}},[e.edit?r("span",[e._v(e._s(e.form.performanceYear))]):r("el-select",{attrs:{placeholder:"请选择年份"},model:{value:e.form.performanceYear,callback:function(t){e.$set(e.form,"performanceYear",t)},expression:"form.performanceYear"}},e._l(e.yearList,(function(e){return r("el-option",{key:e,attrs:{label:e,value:e}})})),1)],1),r("el-form-item",{attrs:{label:"选择门店",prop:"storeValue"}},[e.edit?r("span",[e._v(e._s(e.targetStoreInfoIds.map((function(e){return e.storeName})).join(";")))]):[r("el-radio-group",{model:{value:e.form.storeMode,callback:function(t){e.$set(e.form,"storeMode",t)},expression:"form.storeMode"}},[r("el-radio",{attrs:{label:0}},[e._v("所有门店")]),r("el-radio",{attrs:{label:1}},[e._v("选择分组")]),r("el-radio",{attrs:{label:2}},[e._v("选择门店")])],1),1==e.form.storeMode?r("customer-store-group",{attrs:{"brand-id":e.brandId,"select-group":e.storeValue},on:{checkGroupIds:e.checkGroupIds}}):e._e(),2==e.form.storeMode?r("customer-store",{attrs:{"brand-id":e.brandId,"select-store":e.storeValue},on:{checkStoreIds:e.checkGroupIds}}):e._e()]],2),e.edit?e._e():r("el-form-item",{attrs:{label:"指标类型(必填一项)",prop:"type"}},[r("el-checkbox",{attrs:{"true-label":1,"false-label":0},model:{value:e.form.performanceFlag,callback:function(t){e.$set(e.form,"performanceFlag",t)},expression:"form.performanceFlag"}},[e._v("\n 业绩指标(元)\n "),r("el-select",{staticStyle:{width:"240px",margin:"0 20px 20px 48px"},attrs:{disabled:0==e.form.performanceFlag},model:{value:e.form.performanceSubType,callback:function(t){e.$set(e.form,"performanceSubType",t)},expression:"form.performanceSubType"}},e._l(e.targetList,(function(e){return r("el-option",{key:e.name,attrs:{label:e.name,value:e.val}})})),1),r("span",{staticClass:"color2"},[e._v("设置日指标,则需先设置月指标,再设置门店日指标额。指标会计算每日完成度。")])],1),r("month-target",{directives:[{name:"show",rawName:"v-show",value:1==e.form.performanceFlag,expression:"form.performanceFlag == 1"}],ref:"monthTargetRef1",attrs:{year:e.form.performanceYear,data:e.performanceCallback},on:{change:function(t){return e.monthTargetChange(t,"performanceVal")}}}),r("el-checkbox",{attrs:{"true-label":1,"false-label":0},model:{value:e.form.addMemberFlag,callback:function(t){e.$set(e.form,"addMemberFlag",t)},expression:"form.addMemberFlag"}},[e._v("\n 新增会员指标(人)\n "),r("el-select",{staticStyle:{width:"240px",margin:"0 20px 20px 21px"},attrs:{disabled:0==e.form.addMemberFlag},model:{value:e.form.addMemebrSubType,callback:function(t){e.$set(e.form,"addMemebrSubType",t)},expression:"form.addMemebrSubType"}},e._l(e.targetList,(function(e){return r("el-option",{key:e.name,attrs:{label:e.name,value:e.val}})})),1),r("span",{staticClass:"color2"},[e._v("设置日指标,则需先设置月指标,再设置门店日指标额。指标会计算每日完成度。")])],1),r("month-target",{directives:[{name:"show",rawName:"v-show",value:1==e.form.addMemberFlag,expression:"form.addMemberFlag == 1"}],ref:"monthTargetRef2",attrs:{year:e.form.performanceYear,data:e.addMemberCallback},on:{change:function(t){return e.monthTargetChange(t,"addMemberVal")}}})],1),r("el-form-item",{attrs:{label:"指标编辑权限",prop:"storeEdit"}},[r("el-checkbox",{attrs:{"true-label":1,"false-label":0},model:{value:e.form.storeEdit,callback:function(t){e.$set(e.form,"storeEdit",t)},expression:"form.storeEdit"}},[e._v("店长可修改指标")])],1),r("el-form-item",{attrs:{label:""}},[r("el-button",{attrs:{type:"primary",loading:e.loading},on:{click:e.confirm}},[e._v("保存")])],1)],1)],1)},n=[],o=(r("8e6e"),r("ac6a"),r("456d"),r("6b54"),r("ade3")),s=(r("c5f6"),r("2923")),l=r("dfdc"),c=r("5d04"),i=r("9f7c");function f(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function m(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?f(Object(r),!0).forEach((function(t){Object(o["a"])(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):f(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var u=i["a"].getYearList,d=i["a"].saveStorePerformance,p=i["a"].batchSettingRight,g=i["a"].batchEditStorePerformance,b=i["a"].editStorePerformance,h={name:"EditStoreQuota",components:{customerStoreGroup:s["a"],customerStore:l["a"],MonthTarget:c["default"]},props:{brandId:{type:String,default:""}},data:function(){var e=this,t=function(t,r,a){e.$nextTick((function(){var t=e.form,r=t.storeMode,n=t.storeValue;0===r&&a(),n&&n.length||a(new Error("请选择分组或门店")),a()}))};return{loading:!1,form:{performanceYear:"",storeMode:0,storeValue:[],storeEdit:0,performanceFlag:0,performanceSubType:1,addMemberFlag:0,addMemebrSubType:1},rules:{performanceYear:[{required:!0,message:"请选择年份",trigger:"blur"}],storeValue:[{required:!0,validator:t,trigger:["blur","change"]}]},targetList:[{name:"日权重",val:1},{name:"指标额",val:2}],yearList:[],performanceCallback:null,performanceVal:null,addMemberCallback:null,addMemberVal:null,targetStoreInfoIds:[],edit:""}},created:function(){var e=[{name:"指标设置",path:"/quota-set"},{name:"新建指标"}],t=this.$route.query,r=t.applicationId,a=t.edit,n=t.year,o=t.storeEdit;e[0].path+="?applicationId=".concat(r),"3"===a&&(this.targetStoreInfoIds=JSON.parse(localStorage.getItem("targetStoreInfoIds")),this.form.performanceYear=n,this.form.storeEdit=Number(o)),this.edit=a,this.$emit("change-nav",e)},mounted:function(){this.$emit("showTab","/quota-set"),this.getYearList()},methods:{checkGroupIds:function(e){this.form.storeValue=JSON.parse(JSON.stringify(e))},monthTargetChange:function(e,t){this[t]=e},confirm:function(){var e=this;this.$refs.form.validate((function(t){if(t){var r=e.form,a=r.performanceFlag,n=r.addMemberFlag,o=r.storeValue,s=r.performanceYear,l=r.storeMode,c=r.storeEdit;if(a&&e.$refs.monthTargetRef1.validate())return e.$message.warning("请完善业绩指标");if(n&&e.$refs.monthTargetRef2.validate())return e.$message.warning("请完善新增会员指标");e.loading=!0;var i,f=JSON.parse(localStorage.getItem("haoBanUser")),u=f.staffName,h=f.staffId,v=f.wxEnterpriseId;"3"===e.edit?(console.log(e.targetStoreInfoIds),i={wxEnterpriseId:v,submitStaffName:u,submitStaffId:h,enterpriseId:e.brandId,performanceYear:s,storeEdit:c,storeInfoIds:e.targetStoreInfoIds.map((function(e){return e.storeInfoId})).join(",")}):e.edit||(i=m(m({},e.form),{},{wxEnterpriseId:v,submitStaffName:u,submitStaffId:h,enterpriseId:e.brandId,storeValue:o.map((function(e){return 1==l?e.storeGroupId:e.storeInfoId})).join(","),performanceValue:e.filterTargetVal("performanceVal",s),addMemebrValue:e.filterTargetVal("addMemberVal",s)})),[d,b,g,p][e.edit||0](i,{headers:{sign:e.brandId}}).then((function(t){e.$message.success("保存成功"),e.$router.go(-1)})).finally((function(){return e.loading=!1}))}}))},getYearList:function(){var e=this;u("",{headers:{sign:this.brandId}}).then((function(t){e.yearList=t.result||[]}))},filterTargetVal:function(e,t){return e?JSON.stringify(this[e].map((function(e){return{performanceYm:"".concat(t.toString(),"-").concat(e.num),performanceValue:e.val}}))):""}},watch:{brandId:function(e){}}},v=h,S=(r("3673"),r("2877")),y=Object(S["a"])(v,a,n,!1,null,"28dcf434",null);t["default"]=y.exports},f1ae:function(e,t,r){"use strict";var a=r("86cc"),n=r("4630");e.exports=function(e,t,r){t in e?a.f(e,t,n(0,r)):e[t]=r}}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-38f35292","chunk-21114610"],{3673:function(e,t,r){"use strict";var a=r("bddf"),o=r.n(a);o.a},"3b01":function(e,t,r){"use strict";var a=r("5c59"),o=r.n(a);o.a},"5c59":function(e,t,r){},"5d04":function(e,t,r){"use strict";r.r(t);var a=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{attrs:{id:"month-target"}},e._l(e.tableData,(function(t){return r("div",{key:t.num,staticClass:"target-box"},[r("header",[e._v(e._s(t.head))]),r("div",{class:{content:!0,red:!e.isAllNot&&((e.isAllRed||e.month<t.num)&&!t.val)}},[r("el-input-number",{attrs:{controls:!1,placeholder:"请输入"},on:{change:function(t){return e.$emit("change",e.tableData)}},model:{value:t.val,callback:function(r){e.$set(t,"val",r)},expression:"item.val"}})],1)])})),0)},o=[],n=(r("c5f6"),{name:"MonthTarget",props:{data:{type:Object,default:function(){return[]}},year:{type:[String,Number],default:"2020"}},data:function(){return{tableData:[{head:"一月",num:"01",val:0},{head:"二月",num:"02",val:0},{head:"三月",num:"03",val:0},{head:"四月",num:"04",val:0},{head:"五月",num:"05",val:0},{head:"六月",num:"06",val:0},{head:"七月",num:"07",val:0},{head:"八月",num:"08",val:0},{head:"九月",num:"09",val:0},{head:"十月",num:"10",val:0},{head:"十一月",num:"11",val:0},{head:"十二月",num:"12",val:0}],thisYear:(new Date).getFullYear(),month:(new Date).getMonth()}},mounted:function(){this.$emit("change",this.tableData)},methods:{validate:function(){var e=this;return this.tableData.some((function(t){return!e.isAllNot&&((e.isAllRed||e.month<t.num)&&!t.val)}))}},computed:{isAllRed:function(){return this.year>this.thisYear},isAllNot:function(){return this.year<this.thisYear}}}),s=n,l=(r("3b01"),r("2877")),c=Object(l["a"])(s,a,o,!1,null,null,null);t["default"]=c.exports},"71f6":function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));r("ac6a"),r("456d");var a=r("b775");function o(e,t){e=e||{};var r=Object.keys(e);return r.forEach((function(r){var o=e[r];"string"===typeof o&&(o={url:o}),o.url="".concat(t).concat(o.url),e[r]=function(e,t){return Object(a["a"])(o,e,t)}})),e}},"8e6e":function(e,t,r){var a=r("5ca1"),o=r("990b"),n=r("6821"),s=r("11e9"),l=r("f1ae");a(a.S,"Object",{getOwnPropertyDescriptors:function(e){var t,r,a=n(e),c=s.f,i=o(a),f={},m=0;while(i.length>m)r=c(a,t=i[m++]),void 0!==r&&l(f,t,r);return f}})},"990b":function(e,t,r){var a=r("9093"),o=r("2621"),n=r("cb7c"),s=r("7726").Reflect;e.exports=s&&s.ownKeys||function(e){var t=a.f(n(e)),r=o.f;return r?t.concat(r(e)):t}},"9f7c":function(e,t,r){"use strict";var a=r("71f6"),o={getTargetList:"/performance/total-performance-list",getStorePerformanceDetail:"/performance/list-store-performance",changeStorePerformanceMonth:"/performance/change-store-month-performance",getStorePerformanceDay:"/performance/list-day-performance",changeStorePerformanceDay:{url:"/performance/save-day-performance",method:"post",useFormData:!0},getStorePerformanceClerk:"/performance/list-clerk-performance",changeStorePerformanceClerk:{url:"/performance/save-clerk-performance",method:"post",useFormData:!0},getYearList:"/setting/get-year-list",getStorePerformanceList:"/setting/list-store-performance",getNoStorePerformanceList:"/setting/list-no-store-performance",saveStorePerformance:{url:"/setting/add-store-performance",method:"post",useFormData:!0,useIntercept:!0},editStorePerformance:{url:"/setting/edit-single-store-performance",method:"post",useFormData:!0,useIntercept:!0},batchEditStorePerformance:{url:"/setting/batch-setting-store-performance",method:"post",useFormData:!0,useIntercept:!0},batchSettingRight:"/setting/batch-setting-right"};o=Object(a["a"])(o,"/hb-app-performance-web"),t["a"]=o},ade3:function(e,t,r){"use strict";function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}r.d(t,"a",(function(){return a}))},bddf:function(e,t,r){},d091:function(e,t,r){"use strict";r.r(t);var a=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"common-app-right"},[r("el-alert",{attrs:{"show-icon":"",closable:!1}},[r("template",{slot:"title"},[r("div",[e._v("1.下发类型修改后、日权重/日指标修改后、指标设置立即生效,修改后数据统计次日生效")]),r("div",[e._v("2.修改当月指标会导致已完善的日指标重新下发及完善。请谨慎设置")])])],2),r("el-form",{ref:"form",attrs:{model:e.form,rules:e.rules,"label-width":"180px","hide-required-asterisk":""}},[r("el-form-item",{attrs:{label:"选择年份",prop:"performanceYear"}},[e.edit?r("span",[e._v(e._s(e.form.performanceYear))]):r("el-select",{attrs:{placeholder:"请选择年份"},model:{value:e.form.performanceYear,callback:function(t){e.$set(e.form,"performanceYear",t)},expression:"form.performanceYear"}},e._l(e.yearList,(function(e){return r("el-option",{key:e,attrs:{label:e,value:e}})})),1)],1),r("el-form-item",{attrs:{label:"选择门店",prop:"storeValue"}},[e.edit?r("span",[e._v(e._s(e.targetStoreInfoIds.map((function(e){return e.storeName})).join(";")))]):[r("el-radio-group",{model:{value:e.form.storeMode,callback:function(t){e.$set(e.form,"storeMode",t)},expression:"form.storeMode"}},[r("el-radio",{attrs:{label:0}},[e._v("所有门店")]),r("el-radio",{attrs:{label:1}},[e._v("选择分组")]),r("el-radio",{attrs:{label:2}},[e._v("选择门店")])],1),1==e.form.storeMode?r("customer-store-group",{attrs:{"brand-id":e.brandId,"select-group":e.storeValue},on:{checkGroupIds:e.checkGroupIds}}):e._e(),2==e.form.storeMode?r("customer-store",{attrs:{"brand-id":e.brandId,"select-store":e.storeValue},on:{checkStoreIds:e.checkGroupIds}}):e._e()]],2),e.edit?e._e():r("el-form-item",{attrs:{label:"指标类型(必填一项)",prop:"type"}},[r("el-checkbox",{attrs:{"true-label":1,"false-label":0},model:{value:e.form.performanceFlag,callback:function(t){e.$set(e.form,"performanceFlag",t)},expression:"form.performanceFlag"}},[e._v("\n 业绩指标(元)\n "),r("el-select",{staticStyle:{width:"240px",margin:"0 20px 20px 48px"},attrs:{disabled:0==e.form.performanceFlag},model:{value:e.form.performanceSubType,callback:function(t){e.$set(e.form,"performanceSubType",t)},expression:"form.performanceSubType"}},e._l(e.targetList,(function(e){return r("el-option",{key:e.name,attrs:{label:e.name,value:e.val}})})),1),r("span",{staticClass:"color2"},[e._v("设置日指标,则需先设置月指标,再设置门店日指标额。指标会计算每日完成度。")])],1),r("month-target",{directives:[{name:"show",rawName:"v-show",value:1==e.form.performanceFlag,expression:"form.performanceFlag == 1"}],ref:"monthTargetRef1",attrs:{year:e.form.performanceYear,data:e.performanceCallback},on:{change:function(t){return e.monthTargetChange(t,"performanceVal")}}}),r("el-checkbox",{attrs:{"true-label":1,"false-label":0},model:{value:e.form.addMemberFlag,callback:function(t){e.$set(e.form,"addMemberFlag",t)},expression:"form.addMemberFlag"}},[e._v("\n 新增会员指标(人)\n "),r("el-select",{staticStyle:{width:"240px",margin:"0 20px 20px 21px"},attrs:{disabled:0==e.form.addMemberFlag},model:{value:e.form.addMemebrSubType,callback:function(t){e.$set(e.form,"addMemebrSubType",t)},expression:"form.addMemebrSubType"}},e._l(e.targetList,(function(e){return r("el-option",{key:e.name,attrs:{label:e.name,value:e.val}})})),1),r("span",{staticClass:"color2"},[e._v("设置日指标,则需先设置月指标,再设置门店日指标额。指标会计算每日完成度。")])],1),r("month-target",{directives:[{name:"show",rawName:"v-show",value:1==e.form.addMemberFlag,expression:"form.addMemberFlag == 1"}],ref:"monthTargetRef2",attrs:{year:e.form.performanceYear,data:e.addMemberCallback},on:{change:function(t){return e.monthTargetChange(t,"addMemberVal")}}})],1),r("el-form-item",{attrs:{label:"指标编辑权限",prop:"storeEdit"}},[r("el-checkbox",{attrs:{"true-label":1,"false-label":0},model:{value:e.form.storeEdit,callback:function(t){e.$set(e.form,"storeEdit",t)},expression:"form.storeEdit"}},[e._v("店长可修改指标")])],1),r("el-form-item",{attrs:{label:""}},[r("el-button",{attrs:{type:"primary",loading:e.loading},on:{click:e.confirm}},[e._v("保存")])],1)],1)],1)},o=[],n=(r("8e6e"),r("ac6a"),r("456d"),r("6b54"),r("ade3")),s=(r("c5f6"),r("2923")),l=r("dfdc"),c=r("5d04"),i=r("9f7c");function f(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function m(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?f(Object(r),!0).forEach((function(t){Object(n["a"])(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):f(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var u=i["a"].getYearList,d=i["a"].saveStorePerformance,p=i["a"].batchSettingRight,b=i["a"].batchEditStorePerformance,h=i["a"].editStorePerformance,g={name:"EditStoreQuota",components:{customerStoreGroup:s["a"],customerStore:l["a"],MonthTarget:c["default"]},props:{brandId:{type:String,default:""}},data:function(){var e=this,t=function(t,r,a){e.$nextTick((function(){var t=e.form,r=t.storeMode,o=t.storeValue;0===r&&a(),o&&o.length||a(new Error("请选择分组或门店")),a()}))};return{loading:!1,form:{performanceYear:"",storeMode:0,storeValue:[],storeEdit:0,performanceFlag:0,performanceSubType:1,addMemberFlag:0,addMemebrSubType:1},rules:{performanceYear:[{required:!0,message:"请选择年份",trigger:"blur"}],storeValue:[{required:!0,validator:t,trigger:["blur","change"]}]},targetList:[{name:"日权重",val:1},{name:"指标额",val:2}],yearList:[],performanceCallback:null,performanceVal:null,addMemberCallback:null,addMemberVal:null,targetStoreInfoIds:[],edit:""}},created:function(){var e=[{name:"指标设置",path:"/quota-set"},{name:"新建指标"}],t=this.$route.query,r=t.applicationId,a=t.edit,o=t.year,n=t.storeEdit;e[0].path+="?applicationId=".concat(r),"3"===a&&(this.targetStoreInfoIds=JSON.parse(localStorage.getItem("targetStoreInfoIds")),this.form.performanceYear=o,this.form.storeEdit=Number(n)),this.edit=a,this.$emit("change-nav",e)},mounted:function(){this.$emit("showTab","/quota-set"),this.getYearList()},methods:{checkGroupIds:function(e){this.form.storeValue=JSON.parse(JSON.stringify(e))},monthTargetChange:function(e,t){this[t]=e},confirm:function(){var e=this;this.$refs.form.validate((function(t){if(t){var r=e.form,a=r.performanceFlag,o=r.addMemberFlag,n=r.storeValue,s=r.performanceYear,l=r.storeMode,c=r.storeEdit;if(a&&e.$refs.monthTargetRef1.validate())return e.$message.warning("请完善业绩指标");if(o&&e.$refs.monthTargetRef2.validate())return e.$message.warning("请完善新增会员指标");e.loading=!0;var i,f=JSON.parse(localStorage.getItem("haoBanUser")),u=f.staffName,g=f.staffId,v=f.wxEnterpriseId;"3"===e.edit?(console.log(e.targetStoreInfoIds),i={wxEnterpriseId:v,submitStaffName:u,submitStaffId:g,enterpriseId:e.brandId,performanceYear:s,storeEdit:c,storeInfoIds:e.targetStoreInfoIds.map((function(e){return e.storeInfoId})).join(",")}):e.edit||(i=m(m({},e.form),{},{wxEnterpriseId:v,submitStaffName:u,submitStaffId:g,enterpriseId:e.brandId,storeValue:n.map((function(e){return 1==l?e.storeGroupId:e.storeInfoId})).join(","),performanceValue:e.filterTargetVal("performanceVal",s),addMemebrValue:e.filterTargetVal("addMemberVal",s)})),[d,h,b,p][e.edit||0](i,{headers:{sign:e.brandId}}).then((function(t){e.$message.success("保存成功"),e.$router.go(-1)})).finally((function(){return e.loading=!1}))}}))},getYearList:function(){var e=this;u("",{headers:{sign:this.brandId}}).then((function(t){e.yearList=t.result||[]}))},filterTargetVal:function(e,t){return e?JSON.stringify(this[e].map((function(e){return{performanceYm:"".concat(t.toString(),"-").concat(e.num),performanceValue:e.val}}))):""}},watch:{brandId:function(e){}}},v=g,y=(r("3673"),r("2877")),S=Object(y["a"])(v,a,o,!1,null,"28dcf434",null);t["default"]=S.exports},f1ae:function(e,t,r){"use strict";var a=r("86cc"),o=r("4630");e.exports=function(e,t,r){t in e?a.f(e,t,o(0,r)):e[t]=r}}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-44fd9942"],{"08a8":function(e,t,r){},"1bdb":function(e,t,r){"use strict";var a=r("08a8"),n=r.n(a);n.a},"386d":function(e,t,r){"use strict";var a=r("cb7c"),n=r("83a1"),o=r("5f1b");r("214f")("search",1,(function(e,t,r,c){return[function(r){var a=e(this),n=void 0==r?void 0:r[t];return void 0!==n?n.call(r,a):new RegExp(r)[t](String(a))},function(e){var t=c(r,e,this);if(t.done)return t.value;var i=a(e),s=String(this),l=i.lastIndex;n(l,0)||(i.lastIndex=0);var u=o(i,s);return n(i.lastIndex,l)||(i.lastIndex=l),null===u?-1:u.index}]}))},"71f6":function(e,t,r){"use strict";r.d(t,"a",(function(){return n}));r("ac6a"),r("456d");var a=r("b775");function n(e,t){e=e||{};var r=Object.keys(e);return r.forEach((function(r){var n=e[r];"string"===typeof n&&(n={url:n}),n.url="".concat(t).concat(n.url),e[r]=function(e,t){return Object(a["a"])(n,e,t)}})),e}},"83a1":function(e,t){e.exports=Object.is||function(e,t){return e===t?0!==e||1/e===1/t:e!=e&&t!=t}},"8e6e":function(e,t,r){var a=r("5ca1"),n=r("990b"),o=r("6821"),c=r("11e9"),i=r("f1ae");a(a.S,"Object",{getOwnPropertyDescriptors:function(e){var t,r,a=o(e),s=c.f,l=n(a),u={},f=0;while(l.length>f)r=s(a,t=l[f++]),void 0!==r&&i(u,t,r);return u}})},"990b":function(e,t,r){var a=r("9093"),n=r("2621"),o=r("cb7c"),c=r("7726").Reflect;e.exports=c&&c.ownKeys||function(e){var t=a.f(o(e)),r=n.f;return r?t.concat(r(e)):t}},"9f7c":function(e,t,r){"use strict";var a=r("71f6"),n={getTargetList:"/performance/total-performance-list",getStorePerformanceDetail:"/performance/list-store-performance",changeStorePerformanceMonth:"/performance/change-store-month-performance",getStorePerformanceDay:"/performance/list-day-performance",changeStorePerformanceDay:{url:"/performance/save-day-performance",method:"post",useFormData:!0},getStorePerformanceClerk:"/performance/list-clerk-performance",changeStorePerformanceClerk:{url:"/performance/save-clerk-performance",method:"post",useFormData:!0},getYearList:"/setting/get-year-list",getStorePerformanceList:"/setting/list-store-performance",getNoStorePerformanceList:"/setting/list-no-store-performance",saveStorePerformance:{url:"/setting/add-store-performance",method:"post",useFormData:!0,useIntercept:!0},editStorePerformance:{url:"/setting/edit-single-store-performance",method:"post",useFormData:!0,useIntercept:!0},batchEditStorePerformance:{url:"/setting/batch-setting-store-performance",method:"post",useFormData:!0,useIntercept:!0},batchSettingRight:"/setting/batch-setting-right",getTargetSet:"/setting/get-performance-setting",saveTargetSet:{url:"/setting/save-performance-setting",method:"post",useFormData:!0}};n=Object(a["a"])(n,"/hb-app-performance-web"),t["a"]=n},ade3:function(e,t,r){"use strict";function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}r.d(t,"a",(function(){return a}))},f1ae:function(e,t,r){"use strict";var a=r("86cc"),n=r("4630");e.exports=function(e,t,r){t in e?a.f(e,t,n(0,r)):e[t]=r}},fc87:function(e,t,r){"use strict";r.r(t);var a=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"common-app-right",staticStyle:{padding:"0"}},[r("div",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}]},[r("el-tabs",{on:{"tab-click":e.getData},model:{value:e.activeName,callback:function(t){e.activeName=t},expression:"activeName"}},[r("el-tab-pane",{attrs:{label:"业绩指标",name:"1"}}),r("el-tab-pane",{attrs:{label:"新增会员指标",name:"2"}})],1),r("div",{staticClass:"list-content"},[r("el-select",{on:{change:e.getData},model:{value:e.search.date,callback:function(t){e.$set(e.search,"date",t)},expression:"search.date"}},e._l(e.yearList,(function(e){return r("el-option",{key:e,attrs:{label:e,value:e}})})),1),r("el-table",{staticStyle:{width:"100%","margin-top":"20px"},attrs:{data:e.tableData}},[r("el-table-column",{attrs:{prop:"performanceYm",label:"月份"}}),r("el-table-column",{attrs:{prop:"storeCount",label:"门店总数"}}),r("el-table-column",{attrs:{prop:"totalPerformanceValue",label:"总业绩指标"}}),r("el-table-column",{attrs:{label:"业绩指标"},scopedSlots:e._u([{key:"default",fn:function(t){var r=t.row;return[e._v("\n "+e._s(r.noPerfectCount)+" 未完善;"+e._s(r.prefectCount)+" 已完善\n ")]}}])}),r("el-table-column",{attrs:{label:"操作"},scopedSlots:e._u([{key:"default",fn:function(t){var a=t.row;return[r("el-button",{attrs:{type:"text"},on:{click:function(t){return e.$router.push({path:"/target-store",query:{tab:e.activeName,year:a.performanceYm,applicationId:e.applicationId}})}}},[e._v("查看门店")])]}}])})],1)],1)],1)])},n=[],o=(r("8e6e"),r("ac6a"),r("456d"),r("386d"),r("ade3")),c=r("9f7c");function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function s(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach((function(t){Object(o["a"])(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var l=c["a"].getTargetList,u=c["a"].getYearList,f={name:"TargetList",components:{},props:{brandId:{type:String,default:""}},data:function(){return{haoban:{},tableData:[],activeName:"1",search:{date:(new Date).getFullYear()},yearList:[],loading:!1}},created:function(){var e=this.$route.query,t=e.tab,r=e.applicationId;this.applicationId=r,this.activeName=t||"1";var a=JSON.parse(localStorage.getItem("haoBanUser")),n=a.staffId,o=a.wxEnterpriseId;this.haoban={staffId:n,wxEnterpriseId:o}},mounted:function(){var e=this;e.$emit("showTab","/target-list"),e.$emit("change-nav",[{name:"指标管理"}]),e.getYearList(),e.brandId&&e.getData()},methods:{getData:function(){var e=this;this.loading=!0;var t=this,r=s(s({},t.haoban),{},{enterpriseId:t.brandId,perfromanceType:t.activeName,performanceYear:t.search.date});l(r,{headers:{sign:t.brandId}}).then((function(e){t.tableData=e.result||[]})).finally((function(){e.loading=!1}))},getYearList:function(){var e=this;u("",{headers:{sign:this.brandId}}).then((function(t){e.yearList=t.result||[]}))}},watch:{brandId:function(e){var t=this;e&&t.getData()}}},p=f,d=(r("1bdb"),r("2877")),m=Object(d["a"])(p,a,n,!1,null,"11d82b6d",null);t["default"]=m.exports}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-44fd9942"],{"08a8":function(e,t,r){},"1bdb":function(e,t,r){"use strict";var a=r("08a8"),n=r.n(a);n.a},"386d":function(e,t,r){"use strict";var a=r("cb7c"),n=r("83a1"),o=r("5f1b");r("214f")("search",1,(function(e,t,r,c){return[function(r){var a=e(this),n=void 0==r?void 0:r[t];return void 0!==n?n.call(r,a):new RegExp(r)[t](String(a))},function(e){var t=c(r,e,this);if(t.done)return t.value;var i=a(e),s=String(this),l=i.lastIndex;n(l,0)||(i.lastIndex=0);var u=o(i,s);return n(i.lastIndex,l)||(i.lastIndex=l),null===u?-1:u.index}]}))},"71f6":function(e,t,r){"use strict";r.d(t,"a",(function(){return n}));r("ac6a"),r("456d");var a=r("b775");function n(e,t){e=e||{};var r=Object.keys(e);return r.forEach((function(r){var n=e[r];"string"===typeof n&&(n={url:n}),n.url="".concat(t).concat(n.url),e[r]=function(e,t){return Object(a["a"])(n,e,t)}})),e}},"83a1":function(e,t){e.exports=Object.is||function(e,t){return e===t?0!==e||1/e===1/t:e!=e&&t!=t}},"8e6e":function(e,t,r){var a=r("5ca1"),n=r("990b"),o=r("6821"),c=r("11e9"),i=r("f1ae");a(a.S,"Object",{getOwnPropertyDescriptors:function(e){var t,r,a=o(e),s=c.f,l=n(a),u={},f=0;while(l.length>f)r=s(a,t=l[f++]),void 0!==r&&i(u,t,r);return u}})},"990b":function(e,t,r){var a=r("9093"),n=r("2621"),o=r("cb7c"),c=r("7726").Reflect;e.exports=c&&c.ownKeys||function(e){var t=a.f(o(e)),r=n.f;return r?t.concat(r(e)):t}},"9f7c":function(e,t,r){"use strict";var a=r("71f6"),n={getTargetList:"/performance/total-performance-list",getStorePerformanceDetail:"/performance/list-store-performance",changeStorePerformanceMonth:"/performance/change-store-month-performance",getStorePerformanceDay:"/performance/list-day-performance",changeStorePerformanceDay:{url:"/performance/save-day-performance",method:"post",useFormData:!0},getStorePerformanceClerk:"/performance/list-clerk-performance",changeStorePerformanceClerk:{url:"/performance/save-clerk-performance",method:"post",useFormData:!0},getYearList:"/setting/get-year-list",getStorePerformanceList:"/setting/list-store-performance",getNoStorePerformanceList:"/setting/list-no-store-performance",saveStorePerformance:{url:"/setting/add-store-performance",method:"post",useFormData:!0,useIntercept:!0},editStorePerformance:{url:"/setting/edit-single-store-performance",method:"post",useFormData:!0,useIntercept:!0},batchEditStorePerformance:{url:"/setting/batch-setting-store-performance",method:"post",useFormData:!0,useIntercept:!0},batchSettingRight:"/setting/batch-setting-right"};n=Object(a["a"])(n,"/hb-app-performance-web"),t["a"]=n},ade3:function(e,t,r){"use strict";function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}r.d(t,"a",(function(){return a}))},f1ae:function(e,t,r){"use strict";var a=r("86cc"),n=r("4630");e.exports=function(e,t,r){t in e?a.f(e,t,n(0,r)):e[t]=r}},fc87:function(e,t,r){"use strict";r.r(t);var a=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"common-app-right",staticStyle:{padding:"0"}},[r("div",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}]},[r("el-tabs",{on:{"tab-click":e.getData},model:{value:e.activeName,callback:function(t){e.activeName=t},expression:"activeName"}},[r("el-tab-pane",{attrs:{label:"业绩指标",name:"1"}}),r("el-tab-pane",{attrs:{label:"新增会员指标",name:"2"}})],1),r("div",{staticClass:"list-content"},[r("el-select",{on:{change:e.getData},model:{value:e.search.date,callback:function(t){e.$set(e.search,"date",t)},expression:"search.date"}},e._l(e.yearList,(function(e){return r("el-option",{key:e,attrs:{label:e,value:e}})})),1),r("el-table",{staticStyle:{width:"100%","margin-top":"20px"},attrs:{data:e.tableData}},[r("el-table-column",{attrs:{prop:"performanceYm",label:"月份"}}),r("el-table-column",{attrs:{prop:"storeCount",label:"门店总数"}}),r("el-table-column",{attrs:{prop:"totalPerformanceValue",label:"总业绩指标"}}),r("el-table-column",{attrs:{label:"业绩指标"},scopedSlots:e._u([{key:"default",fn:function(t){var r=t.row;return[e._v("\n "+e._s(r.noPerfectCount)+" 未完善;"+e._s(r.prefectCount)+" 已完善\n ")]}}])}),r("el-table-column",{attrs:{label:"操作"},scopedSlots:e._u([{key:"default",fn:function(t){var a=t.row;return[r("el-button",{attrs:{type:"text"},on:{click:function(t){return e.$router.push({path:"/target-store",query:{tab:e.activeName,year:a.performanceYm,applicationId:e.applicationId}})}}},[e._v("查看门店")])]}}])})],1)],1)],1)])},n=[],o=(r("8e6e"),r("ac6a"),r("456d"),r("386d"),r("ade3")),c=r("9f7c");function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function s(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach((function(t){Object(o["a"])(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var l=c["a"].getTargetList,u=c["a"].getYearList,f={name:"TargetList",components:{},props:{brandId:{type:String,default:""}},data:function(){return{haoban:{},tableData:[],activeName:"1",search:{date:(new Date).getFullYear()},yearList:[],loading:!1}},created:function(){var e=this.$route.query,t=e.tab,r=e.applicationId;this.applicationId=r,this.activeName=t||"1";var a=JSON.parse(localStorage.getItem("haoBanUser")),n=a.staffId,o=a.wxEnterpriseId;this.haoban={staffId:n,wxEnterpriseId:o}},mounted:function(){var e=this;e.$emit("showTab","/target-list"),e.$emit("change-nav",[{name:"指标管理"}]),e.getYearList(),e.brandId&&e.getData()},methods:{getData:function(){var e=this;this.loading=!0;var t=this,r=s(s({},t.haoban),{},{enterpriseId:t.brandId,perfromanceType:t.activeName,performanceYear:t.search.date});l(r,{headers:{sign:t.brandId}}).then((function(e){t.tableData=e.result||[]})).finally((function(){e.loading=!1}))},getYearList:function(){var e=this;u("",{headers:{sign:this.brandId}}).then((function(t){e.yearList=t.result||[]}))}},watch:{brandId:function(e){var t=this;e&&t.getData()}}},p=f,d=(r("1bdb"),r("2877")),m=Object(d["a"])(p,a,n,!1,null,"11d82b6d",null);t["default"]=m.exports}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-8f209df2"],{"0db3":function(e,t,r){"use strict";r.r(t);var n=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"common-app-right"},[r("el-form",{ref:"ruleForm",staticClass:"demo-ruleForm",attrs:{model:e.ruleForm,rules:e.rules,"label-width":"30px"},nativeOn:{submit:function(e){e.preventDefault()}}},[r("el-form-item",{attrs:{label:"",prop:"days"}},[r("span",{staticClass:"font-14 color-606266"},[e._v("下发时间当月,第 ")]),r("el-input-number",{staticClass:"w-100",attrs:{"controls-position":"right",placeholder:"请输入",step:1,"step-strictly":!0,min:1,max:28},model:{value:e.ruleForm.days,callback:function(t){e.$set(e.ruleForm,"days",t)},expression:"ruleForm.days"}}),r("span",{staticClass:"font-14 color-606266 p-l-10"},[e._v("号")]),r("span",{staticClass:"font-14 color-909399 p-l-35"},[e._v("注:如当月第28天下发,如果现在是1月份,即1月28号下发2月份指标。设置后次日生效")])],1),r("el-form-item",[r("el-button",{attrs:{type:"primary",loading:e.loadingBtn},on:{click:function(t){return e.submitForm("ruleForm")}}},[e._v("保存")])],1)],1)],1)},a=[],o=r("9f7c"),s=r("d157"),i=o["a"].saveTargetSet,u=o["a"].getTargetSet,c={name:"TargetSet",components:{},props:{brandId:{type:String,default:function(){return""}}},data:function(){return{wxEnterpriseId:localStorage.getItem("haoBanUser")?JSON.parse(localStorage.getItem("haoBanUser")).wxEnterpriseId:"",userInfo:localStorage.getItem("haoBanUser")?JSON.parse(localStorage.getItem("haoBanUser")):{staffId:"",staffName:""},ruleForm:{days:""},rules:{days:[{required:!0,message:"请输入",trigger:"blur"}]},loadingBtn:!1}},methods:{saveSet:Object(s["a"])((function(){var e=this;e.loadingBtn=!0,e.postSave()}),300),postSave:function(){var e=this,t={days:e.ruleForm.days,enterpriseId:e.brandId,wxEnterpriseId:e.wxEnterpriseId,submitStaffId:e.userInfo.staffId,submitStaffName:e.userInfo.staffName};i(t).then((function(t){e.loadingBtn=!1,e.$message.success("保存成功")})).catch((function(t){e.loadingBtn=!1}))},getData:function(){var e=this,t={enterpriseId:e.brandId,wxEnterpriseId:e.wxEnterpriseId};u(t).then((function(t){e.ruleForm.days=t.result.days||""})).catch((function(e){}))}},watch:{brandId:function(e,t){var r=this;e&&r.getData()}}},l=c,f=(r("c31e"),r("2877")),p=Object(f["a"])(l,n,a,!1,null,"7d05e143",null);t["default"]=p.exports},"28a5":function(e,t,r){"use strict";var n=r("aae3"),a=r("cb7c"),o=r("ebd6"),s=r("0390"),i=r("9def"),u=r("5f1b"),c=r("520a"),l=r("79e5"),f=Math.min,p=[].push,d="split",m="length",g="lastIndex",h=4294967295,v=!l((function(){RegExp(h,"y")}));r("214f")("split",2,(function(e,t,r,l){var b;return b="c"=="abbc"[d](/(b)*/)[1]||4!="test"[d](/(?:)/,-1)[m]||2!="ab"[d](/(?:ab)*/)[m]||4!="."[d](/(.?)(.?)/)[m]||"."[d](/()()/)[m]>1||""[d](/.?/)[m]?function(e,t){var a=String(this);if(void 0===e&&0===t)return[];if(!n(e))return r.call(a,e,t);var o,s,i,u=[],l=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),f=0,d=void 0===t?h:t>>>0,v=new RegExp(e.source,l+"g");while(o=c.call(v,a)){if(s=v[g],s>f&&(u.push(a.slice(f,o.index)),o[m]>1&&o.index<a[m]&&p.apply(u,o.slice(1)),i=o[0][m],f=s,u[m]>=d))break;v[g]===o.index&&v[g]++}return f===a[m]?!i&&v.test("")||u.push(""):u.push(a.slice(f)),u[m]>d?u.slice(0,d):u}:"0"[d](void 0,0)[m]?function(e,t){return void 0===e&&0===t?[]:r.call(this,e,t)}:r,[function(r,n){var a=e(this),o=void 0==r?void 0:r[t];return void 0!==o?o.call(r,a,n):b.call(String(a),r,n)},function(e,t){var n=l(b,e,this,t,b!==r);if(n.done)return n.value;var c=a(e),p=String(this),d=o(c,RegExp),m=c.unicode,g=(c.ignoreCase?"i":"")+(c.multiline?"m":"")+(c.unicode?"u":"")+(v?"y":"g"),F=new d(v?c:"^(?:"+c.source+")",g),S=void 0===t?h:t>>>0;if(0===S)return[];if(0===p.length)return null===u(F,p)?[p]:[];var y=0,I=0,D=[];while(I<p.length){F.lastIndex=v?I:0;var w,x=u(F,v?p:p.slice(I));if(null===x||(w=f(i(F.lastIndex+(v?0:I)),p.length))===y)I=s(p,I,m);else{if(D.push(p.slice(y,I)),D.length===S)return D;for(var E=1;E<=x.length-1;E++)if(D.push(x[E]),D.length===S)return D;I=y=w}}return D.push(p.slice(y)),D}]}))},"71f6":function(e,t,r){"use strict";r.d(t,"a",(function(){return a}));r("ac6a"),r("456d");var n=r("b775");function a(e,t){e=e||{};var r=Object.keys(e);return r.forEach((function(r){var a=e[r];"string"===typeof a&&(a={url:a}),a.url="".concat(t).concat(a.url),e[r]=function(e,t){return Object(n["a"])(a,e,t)}})),e}},"9f7c":function(e,t,r){"use strict";var n=r("71f6"),a={getTargetList:"/performance/total-performance-list",getStorePerformanceDetail:"/performance/list-store-performance",changeStorePerformanceMonth:"/performance/change-store-month-performance",getStorePerformanceDay:"/performance/list-day-performance",changeStorePerformanceDay:{url:"/performance/save-day-performance",method:"post",useFormData:!0},getStorePerformanceClerk:"/performance/list-clerk-performance",changeStorePerformanceClerk:{url:"/performance/save-clerk-performance",method:"post",useFormData:!0},getYearList:"/setting/get-year-list",getStorePerformanceList:"/setting/list-store-performance",getNoStorePerformanceList:"/setting/list-no-store-performance",saveStorePerformance:{url:"/setting/add-store-performance",method:"post",useFormData:!0,useIntercept:!0},editStorePerformance:{url:"/setting/edit-single-store-performance",method:"post",useFormData:!0,useIntercept:!0},batchEditStorePerformance:{url:"/setting/batch-setting-store-performance",method:"post",useFormData:!0,useIntercept:!0},batchSettingRight:"/setting/batch-setting-right"};a=Object(n["a"])(a,"/hb-app-performance-web"),t["a"]=a},c31e:function(e,t,r){"use strict";var n=r("dd89"),a=r.n(n);a.a},d157:function(e,t,r){"use strict";r.d(t,"a",(function(){return n})),r.d(t,"b",(function(){return a})),r.d(t,"c",(function(){return o}));r("c5f6"),r("a481"),r("28a5"),r("6b54");function n(e,t){var r,n=t||200;return function(){var t=this,a=arguments;r&&clearTimeout(r),r=setTimeout((function(){r=null,e.apply(t,a)}),n)}}function a(e,t){var r,n,a=t||200;return function(){var t=this,o=arguments,s=+new Date;r&&s-r<a?(clearTimeout(n),n=setTimeout((function(){r=s,e.apply(t,o)}),a)):(r=s,e.apply(t,o))}}function o(e){return String(e)&&"null"!=String(e)?(e=String(e).replace(/\uD83C[\uDF00-\uDFFF]|\uD83D[\uDC00-\uDE4F]|[\uD800-\uDBFF]|[\uDC00-\uDFFF]|[^\u0020-\u007E\u00A0-\u00BE\u2E80-\uA4CF\uF900-\uFAFF\uFE30-\uFE4F\uFF00-\uFFEF\u0080-\u009F\u2000-\u201f\u2026\u2022\u20ac\r\n]/g,""),unescape(escape(e).replace(/\%uD.{3}/g,""))):""}},dd89:function(e,t,r){}}]); (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-8f209df2"],{"0db3":function(e,t,r){"use strict";r.r(t);var n=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"common-app-right"},[r("el-form",{ref:"ruleForm",staticClass:"demo-ruleForm",attrs:{model:e.ruleForm,rules:e.rules,"label-width":"30px"},nativeOn:{submit:function(e){e.preventDefault()}}},[r("el-form-item",{attrs:{label:"",prop:"days"}},[r("span",{staticClass:"font-14 color-606266"},[e._v("下发时间当月,第 ")]),r("el-input-number",{staticClass:"w-100",attrs:{"controls-position":"right",placeholder:"请输入",step:1,"step-strictly":!0,min:1,max:28},model:{value:e.ruleForm.days,callback:function(t){e.$set(e.ruleForm,"days",t)},expression:"ruleForm.days"}}),r("span",{staticClass:"font-14 color-606266 p-l-10"},[e._v("号")]),r("span",{staticClass:"font-14 color-909399 p-l-35"},[e._v("注:如当月第28天下发,如果现在是1月份,即1月28号下发2月份指标。设置后次日生效")])],1),r("el-form-item",[r("el-button",{attrs:{type:"primary",loading:e.loadingBtn},on:{click:function(t){return e.submitForm("ruleForm")}}},[e._v("保存")])],1)],1)],1)},a=[],o=r("9f7c"),s=r("d157"),i=o["a"].saveTargetSet,u=o["a"].getTargetSet,c={name:"TargetSet",components:{},props:{brandId:{type:String,default:function(){return""}}},data:function(){return{wxEnterpriseId:localStorage.getItem("haoBanUser")?JSON.parse(localStorage.getItem("haoBanUser")).wxEnterpriseId:"",userInfo:localStorage.getItem("haoBanUser")?JSON.parse(localStorage.getItem("haoBanUser")):{staffId:"",staffName:""},ruleForm:{days:""},rules:{days:[{required:!0,message:"请输入",trigger:"blur"}]},loadingBtn:!1}},methods:{saveSet:Object(s["a"])((function(){var e=this;e.loadingBtn=!0,e.postSave()}),300),postSave:function(){var e=this,t={days:e.ruleForm.days,enterpriseId:e.brandId,wxEnterpriseId:e.wxEnterpriseId,submitStaffId:e.userInfo.staffId,submitStaffName:e.userInfo.staffName};i(t).then((function(t){e.loadingBtn=!1,e.$message.success("保存成功")})).catch((function(t){e.loadingBtn=!1}))},getData:function(){var e=this,t={enterpriseId:e.brandId,wxEnterpriseId:e.wxEnterpriseId};u(t).then((function(t){e.ruleForm.days=t.result.days||""})).catch((function(e){}))}},watch:{brandId:function(e,t){var r=this;e&&r.getData()}}},l=c,f=(r("c31e"),r("2877")),p=Object(f["a"])(l,n,a,!1,null,"7d05e143",null);t["default"]=p.exports},"28a5":function(e,t,r){"use strict";var n=r("aae3"),a=r("cb7c"),o=r("ebd6"),s=r("0390"),i=r("9def"),u=r("5f1b"),c=r("520a"),l=r("79e5"),f=Math.min,p=[].push,m="split",d="length",g="lastIndex",h=4294967295,v=!l((function(){RegExp(h,"y")}));r("214f")("split",2,(function(e,t,r,l){var F;return F="c"=="abbc"[m](/(b)*/)[1]||4!="test"[m](/(?:)/,-1)[d]||2!="ab"[m](/(?:ab)*/)[d]||4!="."[m](/(.?)(.?)/)[d]||"."[m](/()()/)[d]>1||""[m](/.?/)[d]?function(e,t){var a=String(this);if(void 0===e&&0===t)return[];if(!n(e))return r.call(a,e,t);var o,s,i,u=[],l=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),f=0,m=void 0===t?h:t>>>0,v=new RegExp(e.source,l+"g");while(o=c.call(v,a)){if(s=v[g],s>f&&(u.push(a.slice(f,o.index)),o[d]>1&&o.index<a[d]&&p.apply(u,o.slice(1)),i=o[0][d],f=s,u[d]>=m))break;v[g]===o.index&&v[g]++}return f===a[d]?!i&&v.test("")||u.push(""):u.push(a.slice(f)),u[d]>m?u.slice(0,m):u}:"0"[m](void 0,0)[d]?function(e,t){return void 0===e&&0===t?[]:r.call(this,e,t)}:r,[function(r,n){var a=e(this),o=void 0==r?void 0:r[t];return void 0!==o?o.call(r,a,n):F.call(String(a),r,n)},function(e,t){var n=l(F,e,this,t,F!==r);if(n.done)return n.value;var c=a(e),p=String(this),m=o(c,RegExp),d=c.unicode,g=(c.ignoreCase?"i":"")+(c.multiline?"m":"")+(c.unicode?"u":"")+(v?"y":"g"),b=new m(v?c:"^(?:"+c.source+")",g),S=void 0===t?h:t>>>0;if(0===S)return[];if(0===p.length)return null===u(b,p)?[p]:[];var y=0,I=0,D=[];while(I<p.length){b.lastIndex=v?I:0;var w,x=u(b,v?p:p.slice(I));if(null===x||(w=f(i(b.lastIndex+(v?0:I)),p.length))===y)I=s(p,I,d);else{if(D.push(p.slice(y,I)),D.length===S)return D;for(var E=1;E<=x.length-1;E++)if(D.push(x[E]),D.length===S)return D;I=y=w}}return D.push(p.slice(y)),D}]}))},"71f6":function(e,t,r){"use strict";r.d(t,"a",(function(){return a}));r("ac6a"),r("456d");var n=r("b775");function a(e,t){e=e||{};var r=Object.keys(e);return r.forEach((function(r){var a=e[r];"string"===typeof a&&(a={url:a}),a.url="".concat(t).concat(a.url),e[r]=function(e,t){return Object(n["a"])(a,e,t)}})),e}},"9f7c":function(e,t,r){"use strict";var n=r("71f6"),a={getTargetList:"/performance/total-performance-list",getStorePerformanceDetail:"/performance/list-store-performance",changeStorePerformanceMonth:"/performance/change-store-month-performance",getStorePerformanceDay:"/performance/list-day-performance",changeStorePerformanceDay:{url:"/performance/save-day-performance",method:"post",useFormData:!0},getStorePerformanceClerk:"/performance/list-clerk-performance",changeStorePerformanceClerk:{url:"/performance/save-clerk-performance",method:"post",useFormData:!0},getYearList:"/setting/get-year-list",getStorePerformanceList:"/setting/list-store-performance",getNoStorePerformanceList:"/setting/list-no-store-performance",saveStorePerformance:{url:"/setting/add-store-performance",method:"post",useFormData:!0,useIntercept:!0},editStorePerformance:{url:"/setting/edit-single-store-performance",method:"post",useFormData:!0,useIntercept:!0},batchEditStorePerformance:{url:"/setting/batch-setting-store-performance",method:"post",useFormData:!0,useIntercept:!0},batchSettingRight:"/setting/batch-setting-right",getTargetSet:"/setting/get-performance-setting",saveTargetSet:{url:"/setting/save-performance-setting",method:"post",useFormData:!0}};a=Object(n["a"])(a,"/hb-app-performance-web"),t["a"]=a},c31e:function(e,t,r){"use strict";var n=r("dd89"),a=r.n(n);a.a},d157:function(e,t,r){"use strict";r.d(t,"a",(function(){return n})),r.d(t,"b",(function(){return a})),r.d(t,"c",(function(){return o}));r("c5f6"),r("a481"),r("28a5"),r("6b54");function n(e,t){var r,n=t||200;return function(){var t=this,a=arguments;r&&clearTimeout(r),r=setTimeout((function(){r=null,e.apply(t,a)}),n)}}function a(e,t){var r,n,a=t||200;return function(){var t=this,o=arguments,s=+new Date;r&&s-r<a?(clearTimeout(n),n=setTimeout((function(){r=s,e.apply(t,o)}),a)):(r=s,e.apply(t,o))}}function o(e){return String(e)&&"null"!=String(e)?(e=String(e).replace(/\uD83C[\uDF00-\uDFFF]|\uD83D[\uDC00-\uDE4F]|[\uD800-\uDBFF]|[\uDC00-\uDFFF]|[^\u0020-\u007E\u00A0-\u00BE\u2E80-\uA4CF\uF900-\uFAFF\uFE30-\uFE4F\uFF00-\uFFEF\u0080-\u009F\u2000-\u201f\u2026\u2022\u20ac\r\n]/g,""),unescape(escape(e).replace(/\%uD.{3}/g,""))):""}},dd89:function(e,t,r){}}]);
\ No newline at end of file \ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment