Commit d60c64b6 by 无尘

fix: 修改编辑日指标

parent 15a9bcc9
.color1[data-v-fb85156c]{font-size:16px;padding-right:15px;font-weight:600}.content-data[data-v-fb85156c]{position:relative}.content-data .color2[data-v-fb85156c]{position:relative;font-size:14px;font-weight:400}.content-data .color2[data-v-fb85156c]:not(:first-of-type){padding-left:16px}.content-data .color2[data-v-fb85156c]:not(:first-of-type):before{content:"|";position:absolute;left:0;color:#dcdfe6}.target-title[data-v-fb85156c]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;width:1145px;margin:20px}.target-title span[data-v-fb85156c]{font-weight:600}.target-table[data-v-fb85156c]{width:1145px;margin:0 20px 50px}.table-title[data-v-fb85156c]{display:-webkit-box;display:-ms-flexbox;display:flex;background-color:#ebecf0}.table-title li[data-v-fb85156c]{width:163px;height:48px;line-height:48px;text-indent:35px;font-weight:500}.table-title li[data-v-fb85156c]:not(:last-of-type){border-right:1px solid #dcdfe6}.table-content[data-v-fb85156c]{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.table-content li[data-v-fb85156c]{width:163px;height:70px;padding:5px 0 8px 10px;border-bottom:1px solid #dcdfe6}.table-content li[data-v-fb85156c]:not(:nth-of-type(7n)){border-right:1px solid #dcdfe6}.el-input-number[data-v-fb85156c] .el-input__inner{text-align:left;border:none;background-color:#f5f7fa}.el-form-item[data-v-fb85156c]{margin-bottom:10px}[data-v-fb85156c] .el-alert--danger{width:456px;margin-bottom:20px;background:#fffbe6;border-radius:2px;border:1px solid #ffe58f}[data-v-fb85156c] .el-alert--danger .el-alert__icon{color:#faad14}
\ No newline at end of file
.color1[data-v-0497d7b8]{font-size:16px;padding-right:15px;font-weight:600}.content-data[data-v-0497d7b8]{position:relative}.content-data .color2[data-v-0497d7b8]{position:relative;font-size:14px;font-weight:400}.content-data .color2[data-v-0497d7b8]:not(:first-of-type){padding-left:16px}.content-data .color2[data-v-0497d7b8]:not(:first-of-type):before{content:"|";position:absolute;left:0;color:#dcdfe6}.target-title[data-v-0497d7b8]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;width:1145px;margin:20px}.target-title span[data-v-0497d7b8]{font-weight:600}.target-table[data-v-0497d7b8]{width:1145px;margin:0 20px 50px}.table-title[data-v-0497d7b8]{display:-webkit-box;display:-ms-flexbox;display:flex;background-color:#ebecf0}.table-title li[data-v-0497d7b8]{width:163px;height:48px;line-height:48px;text-indent:35px;font-weight:500}.table-title li[data-v-0497d7b8]:not(:last-of-type){border-right:1px solid #dcdfe6}.table-content[data-v-0497d7b8]{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.table-content li[data-v-0497d7b8]{width:163px;height:70px;padding:5px 0 8px 10px;border-bottom:1px solid #dcdfe6}.table-content li[data-v-0497d7b8]:not(:nth-of-type(7n)){border-right:1px solid #dcdfe6}.el-input-number[data-v-0497d7b8] .el-input__inner{text-align:left;border:none;background-color:#f5f7fa}.el-form-item[data-v-0497d7b8]{margin-bottom:10px}[data-v-0497d7b8] .el-alert--danger{width:456px;margin-bottom:20px;background:#fffbe6;border-radius:2px;border:1px solid #ffe58f}[data-v-0497d7b8] .el-alert--danger .el-alert__icon{color:#faad14}
\ 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-30f81def.134f322f.css rel=prefetch><link href=css/chunk-32d6ccb7.10b34206.css rel=prefetch><link href=css/chunk-3645e854.52ec103d.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-43c03f67.2964a0ce.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-4a20a64c.c4834950.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-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-6ccfd9ad.e9065313.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-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-a4feeb0a.a427e0a4.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-b3c215c4.d45bb3e6.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-d8391eec.5e120479.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-efac4582.6f0f2158.css rel=prefetch><link href=css/chunk-efbe6f9e.f92aeab2.css rel=prefetch><link href=css/chunk-f82ef46e.a5540828.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.d1ad582f.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-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-3645e854.7ff3882d.js rel=prefetch><link href=js/chunk-38f35292.69f86dce.js rel=prefetch><link href=js/chunk-39362334.e753da7c.js rel=prefetch><link href=js/chunk-3b8f4f50.da107fc5.js rel=prefetch><link href=js/chunk-42163e43.f363ac6b.js rel=prefetch><link href=js/chunk-43c03f67.98ba64b3.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-4a20a64c.29ab6bdb.js rel=prefetch><link href=js/chunk-4a8d1525.037c1ab4.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-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-6ccfd9ad.d390050d.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-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-a4feeb0a.9c22640c.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-b3c215c4.8aec36ee.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-d8391eec.deeb13b5.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-efac4582.27e15c20.js rel=prefetch><link href=js/chunk-efbe6f9e.f87c0d39.js rel=prefetch><link href=js/chunk-f82ef46e.8ae648e9.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.537de4bf.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.537de4bf.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-0a7b4285.141a2c61.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-30f81def.134f322f.css rel=prefetch><link href=css/chunk-32d6ccb7.10b34206.css rel=prefetch><link href=css/chunk-3645e854.52ec103d.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-43c03f67.2964a0ce.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-4a20a64c.c4834950.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-770540b8.62df3f4e.css rel=prefetch><link href=css/chunk-8ece888c.44daa7e8.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-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-b3c215c4.d45bb3e6.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-d8391eec.5e120479.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-efac4582.6f0f2158.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-fc7916b6.bef29686.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.d1ad582f.js rel=prefetch><link href=js/chunk-08638a7e.a4a577a8.js rel=prefetch><link href=js/chunk-0a7b4285.6b58f9cb.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-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-3645e854.7ff3882d.js rel=prefetch><link href=js/chunk-38f35292.69f86dce.js rel=prefetch><link href=js/chunk-39362334.e753da7c.js rel=prefetch><link href=js/chunk-3b8f4f50.da107fc5.js rel=prefetch><link href=js/chunk-42163e43.f363ac6b.js rel=prefetch><link href=js/chunk-43c03f67.98ba64b3.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-4a20a64c.29ab6bdb.js rel=prefetch><link href=js/chunk-4a8d1525.037c1ab4.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.afafc1e0.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-770540b8.9a2dc872.js rel=prefetch><link href=js/chunk-8ece888c.cd0f4f91.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-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-b3c215c4.8aec36ee.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-d8391eec.deeb13b5.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-efac4582.27e15c20.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-fc7916b6.2ccf5c53.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.af8bab30.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.af8bab30.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":"da107fc5","chunk-770540b8":"9a2dc872","chunk-d5b7fe52":"492f7fae","chunk-08047175":"988371e6","chunk-08638a7e":"a4a577a8","chunk-1c891ef5":"cfdc452c","chunk-080560e6":"d1ad582f","chunk-102f8002":"83e7e868","chunk-14388a06":"3250c4a2","chunk-19add222":"18bc690c","chunk-1bc03f55":"28ce1d8f","chunk-21114610":"6b48e34d","chunk-262b86d2":"1670b675","chunk-2d0e1f21":"d3ed2e41","chunk-30f81def":"16ce3077","chunk-32d6ccb7":"01f9366c","chunk-3645e854":"7ff3882d","chunk-43c03f67":"98ba64b3","chunk-efac4582":"27e15c20","chunk-39362334":"e753da7c","chunk-38f35292":"69f86dce","chunk-42163e43":"f363ac6b","chunk-4551f5db":"a8e71318","chunk-46f25124":"7d0f68a8","chunk-4a20a64c":"29ab6bdb","chunk-4a8d1525":"037c1ab4","chunk-1a91d725":"eb6f0db5","chunk-c02c279c":"b6c07067","chunk-4b898c1e":"3ada8648","chunk-4d95ae81":"fb003bf9","chunk-4fc2d3b6":"7915d752","chunk-52b97a85":"6b92d9c5","chunk-595c3910":"5e85f1b4","chunk-608df8b2":"c9eb4b25","chunk-676572c2":"e46a069a","chunk-6ccfd9ad":"d390050d","chunk-8ece888c":"cd0f4f91","chunk-9302e77c":"e6ce1087","chunk-9ad0e03c":"dd0e2ace","chunk-9c5b2680":"85d46545","chunk-9f49cece":"972c0287","chunk-a3d8b552":"15fb7199","chunk-a4feeb0a":"9c22640c","chunk-a6478ea0":"2c362507","chunk-ab551b08":"e8414b3e","chunk-b073f330":"48610603","chunk-b216257e":"97588878","chunk-b3c215c4":"8aec36ee","chunk-b6ba71c4":"6f31e646","chunk-cfbefc9a":"263fc589","chunk-d8391eec":"deeb13b5","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-30f81def":1,"chunk-32d6ccb7":1,"chunk-3645e854":1,"chunk-43c03f67":1,"chunk-efac4582":1,"chunk-39362334":1,"chunk-38f35292":1,"chunk-42163e43":1,"chunk-4551f5db":1,"chunk-46f25124":1,"chunk-4a20a64c":1,"chunk-4a8d1525":1,"chunk-1a91d725":1,"chunk-c02c279c":1,"chunk-4b898c1e":1,"chunk-4d95ae81":1,"chunk-4fc2d3b6":1,"chunk-52b97a85":1,"chunk-595c3910":1,"chunk-608df8b2":1,"chunk-676572c2":1,"chunk-6ccfd9ad":1,"chunk-8ece888c":1,"chunk-9302e77c":1,"chunk-9ad0e03c":1,"chunk-9c5b2680":1,"chunk-9f49cece":1,"chunk-a3d8b552":1,"chunk-a4feeb0a":1,"chunk-a6478ea0":1,"chunk-ab551b08":1,"chunk-b073f330":1,"chunk-b216257e":1,"chunk-b3c215c4":1,"chunk-b6ba71c4":1,"chunk-cfbefc9a":1,"chunk-d8391eec":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-2d0e1f21":"31d6cfe0","chunk-30f81def":"134f322f","chunk-32d6ccb7":"10b34206","chunk-3645e854":"52ec103d","chunk-43c03f67":"2964a0ce","chunk-efac4582":"6f0f2158","chunk-39362334":"c233899e","chunk-38f35292":"4537179f","chunk-42163e43":"6c086558","chunk-4551f5db":"4e4b34f8","chunk-46f25124":"31e5975b","chunk-4a20a64c":"c4834950","chunk-4a8d1525":"43dd04ad","chunk-1a91d725":"0c28e319","chunk-c02c279c":"9010c064","chunk-4b898c1e":"07d02776","chunk-4d95ae81":"d3090a82","chunk-4fc2d3b6":"e4f77a0d","chunk-52b97a85":"998e7f29","chunk-595c3910":"e16a947b","chunk-608df8b2":"499d63ff","chunk-676572c2":"74efdc4f","chunk-6ccfd9ad":"e9065313","chunk-8ece888c":"44daa7e8","chunk-9302e77c":"74367cf2","chunk-9ad0e03c":"afe90b5f","chunk-9c5b2680":"4c8ff257","chunk-9f49cece":"75c4c27e","chunk-a3d8b552":"26e628b3","chunk-a4feeb0a":"a427e0a4","chunk-a6478ea0":"6deeb9ee","chunk-ab551b08":"083a059c","chunk-b073f330":"b7424a51","chunk-b216257e":"61bc4d61","chunk-b3c215c4":"d45bb3e6","chunk-b6ba71c4":"e3b0968c","chunk-cfbefc9a":"fb5c154c","chunk-d8391eec":"5e120479","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-6ccfd9ad"],"./apps/target-manage/perfect-sale-target.vue":["d1a4","chunk-d8391eec"],"./apps/target-manage/quota-set.vue":["2751","chunk-3645e854","chunk-43c03f67"],"./apps/target-manage/set-month-target.vue":["7d31","chunk-2d0e1f21"],"./apps/target-manage/target-list.vue":["fc87","chunk-b3c215c4"],"./apps/target-manage/target-set.vue":["0db3","chunk-4a20a64c"],"./apps/target-manage/target-store.vue":["6ce2","chunk-3645e854","chunk-efac4582"],"./business/audit-log.vue":["0912","chunk-a4feeb0a"],"./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"},k=m,b=t("2877"),l=Object(b["a"])(k,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":"da107fc5","chunk-770540b8":"9a2dc872","chunk-d5b7fe52":"492f7fae","chunk-08047175":"988371e6","chunk-08638a7e":"a4a577a8","chunk-1c891ef5":"cfdc452c","chunk-080560e6":"d1ad582f","chunk-0a7b4285":"6b58f9cb","chunk-102f8002":"83e7e868","chunk-14388a06":"3250c4a2","chunk-19add222":"18bc690c","chunk-1bc03f55":"28ce1d8f","chunk-21114610":"6b48e34d","chunk-262b86d2":"1670b675","chunk-2d0e1f21":"d3ed2e41","chunk-30f81def":"16ce3077","chunk-32d6ccb7":"01f9366c","chunk-3645e854":"7ff3882d","chunk-43c03f67":"98ba64b3","chunk-efac4582":"27e15c20","chunk-39362334":"e753da7c","chunk-38f35292":"69f86dce","chunk-42163e43":"f363ac6b","chunk-4551f5db":"a8e71318","chunk-46f25124":"7d0f68a8","chunk-4a20a64c":"29ab6bdb","chunk-4a8d1525":"037c1ab4","chunk-1a91d725":"eb6f0db5","chunk-c02c279c":"b6c07067","chunk-4b898c1e":"3ada8648","chunk-4d95ae81":"fb003bf9","chunk-4e3bfbee":"afafc1e0","chunk-4fc2d3b6":"7915d752","chunk-52b97a85":"6b92d9c5","chunk-595c3910":"5e85f1b4","chunk-608df8b2":"c9eb4b25","chunk-676572c2":"e46a069a","chunk-8ece888c":"cd0f4f91","chunk-9302e77c":"e6ce1087","chunk-9ad0e03c":"dd0e2ace","chunk-9c5b2680":"85d46545","chunk-a3d8b552":"15fb7199","chunk-a6478ea0":"2c362507","chunk-ab551b08":"e8414b3e","chunk-b073f330":"48610603","chunk-b216257e":"97588878","chunk-b3c215c4":"8aec36ee","chunk-b6ba71c4":"6f31e646","chunk-cfbefc9a":"263fc589","chunk-d8391eec":"deeb13b5","chunk-e21457e6":"8463c1c6","chunk-e3eb2490":"0344239d","chunk-efbe6f9e":"f87c0d39","chunk-f82ef46e":"8ae648e9","chunk-fc7916b6":"2ccf5c53"}[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-0a7b4285":1,"chunk-102f8002":1,"chunk-14388a06":1,"chunk-19add222":1,"chunk-1bc03f55":1,"chunk-21114610":1,"chunk-262b86d2":1,"chunk-30f81def":1,"chunk-32d6ccb7":1,"chunk-3645e854":1,"chunk-43c03f67":1,"chunk-efac4582":1,"chunk-39362334":1,"chunk-38f35292":1,"chunk-42163e43":1,"chunk-4551f5db":1,"chunk-46f25124":1,"chunk-4a20a64c":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-8ece888c":1,"chunk-9302e77c":1,"chunk-9ad0e03c":1,"chunk-9c5b2680":1,"chunk-a3d8b552":1,"chunk-a6478ea0":1,"chunk-ab551b08":1,"chunk-b073f330":1,"chunk-b216257e":1,"chunk-b3c215c4":1,"chunk-b6ba71c4":1,"chunk-cfbefc9a":1,"chunk-d8391eec":1,"chunk-e21457e6":1,"chunk-e3eb2490":1,"chunk-efbe6f9e":1,"chunk-f82ef46e":1,"chunk-fc7916b6":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-0a7b4285":"141a2c61","chunk-102f8002":"a8713f1e","chunk-14388a06":"73317c80","chunk-19add222":"1d25986b","chunk-1bc03f55":"cb6364a0","chunk-21114610":"3fa03060","chunk-262b86d2":"d47d44fa","chunk-2d0e1f21":"31d6cfe0","chunk-30f81def":"134f322f","chunk-32d6ccb7":"10b34206","chunk-3645e854":"52ec103d","chunk-43c03f67":"2964a0ce","chunk-efac4582":"6f0f2158","chunk-39362334":"c233899e","chunk-38f35292":"4537179f","chunk-42163e43":"6c086558","chunk-4551f5db":"4e4b34f8","chunk-46f25124":"31e5975b","chunk-4a20a64c":"c4834950","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-8ece888c":"44daa7e8","chunk-9302e77c":"74367cf2","chunk-9ad0e03c":"afe90b5f","chunk-9c5b2680":"4c8ff257","chunk-a3d8b552":"26e628b3","chunk-a6478ea0":"6deeb9ee","chunk-ab551b08":"083a059c","chunk-b073f330":"b7424a51","chunk-b216257e":"61bc4d61","chunk-b3c215c4":"d45bb3e6","chunk-b6ba71c4":"e3b0968c","chunk-cfbefc9a":"fb5c154c","chunk-d8391eec":"5e120479","chunk-e21457e6":"c09115d4","chunk-e3eb2490":"91a06166","chunk-efbe6f9e":"f92aeab2","chunk-f82ef46e":"a5540828","chunk-fc7916b6":"bef29686"}[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-0a7b4285"],"./apps/target-manage/perfect-sale-target.vue":["d1a4","chunk-d8391eec"],"./apps/target-manage/quota-set.vue":["2751","chunk-3645e854","chunk-43c03f67"],"./apps/target-manage/set-month-target.vue":["7d31","chunk-2d0e1f21"],"./apps/target-manage/target-list.vue":["fc87","chunk-b3c215c4"],"./apps/target-manage/target-set.vue":["0db3","chunk-4a20a64c"],"./apps/target-manage/target-store.vue":["6ce2","chunk-3645e854","chunk-efac4582"],"./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-fc7916b6"]};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-0a7b4285"],{"28a5":function(e,t,r){"use strict";var a=r("aae3"),n=r("cb7c"),o=r("ebd6"),i=r("0390"),l=r("9def"),c=r("5f1b"),s=r("520a"),f=r("79e5"),u=Math.min,p=[].push,m="split",d="length",g="lastIndex",h=4294967295,b=!f((function(){RegExp(h,"y")}));r("214f")("split",2,(function(e,t,r,f){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,i,l,c=[],f=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),u=0,m=void 0===t?h:t>>>0,b=new RegExp(e.source,f+"g");while(o=s.call(b,n)){if(i=b[g],i>u&&(c.push(n.slice(u,o.index)),o[d]>1&&o.index<n[d]&&p.apply(c,o.slice(1)),l=o[0][d],u=i,c[d]>=m))break;b[g]===o.index&&b[g]++}return u===n[d]?!l&&b.test("")||c.push(""):c.push(n.slice(u)),c[d]>m?c.slice(0,m):c}:"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=f(v,e,this,t,v!==r);if(a.done)return a.value;var s=n(e),p=String(this),m=o(s,RegExp),d=s.unicode,g=(s.ignoreCase?"i":"")+(s.multiline?"m":"")+(s.unicode?"u":"")+(b?"y":"g"),y=new m(b?s:"^(?:"+s.source+")",g),S=void 0===t?h:t>>>0;if(0===S)return[];if(0===p.length)return null===c(y,p)?[p]:[];var D=0,_=0,x=[];while(_<p.length){y.lastIndex=b?_:0;var w,I=c(y,b?p:p.slice(_));if(null===I||(w=u(l(y.lastIndex+(b?0:_)),p.length))===D)_=i(p,_,d);else{if(x.push(p.slice(D,_)),x.length===S)return x;for(var T=1;T<=I.length-1;T++)if(x.push(I[T]),x.length===S)return x;_=D=w}}return x.push(p.slice(D)),x}]}))},"2e08":function(e,t,r){var a=r("9def"),n=r("9744"),o=r("be13");e.exports=function(e,t,r,i){var l=String(o(e)),c=l.length,s=void 0===r?" ":String(r),f=a(t);if(f<=c||""==s)return l;var u=f-c,p=n.call(s,Math.ceil(u/s.length));return p.length>u&&(p=p.slice(0,u)),i?p+l:l+p}},"2f21":function(e,t,r){"use strict";var a=r("79e5");e.exports=function(e,t){return!!e&&a((function(){t?e.call(null,(function(){}),1):e.call(null)}))}},"36bd":function(e,t,r){"use strict";var a=r("4bf8"),n=r("77f1"),o=r("9def");e.exports=function(e){var t=a(this),r=o(t.length),i=arguments.length,l=n(i>1?arguments[1]:void 0,r),c=i>2?arguments[2]:void 0,s=void 0===c?r:n(c,r);while(s>l)t[l++]=e;return t}},"4ca0":function(e,t,r){"use strict";var a=r("891d"),n=r.n(a);n.a},"55dd":function(e,t,r){"use strict";var a=r("5ca1"),n=r("d8e8"),o=r("4bf8"),i=r("79e5"),l=[].sort,c=[1,2,3];a(a.P+a.F*(i((function(){c.sort(void 0)}))||!i((function(){c.sort(null)}))||!r("2f21")(l)),"Array",{sort:function(e){return void 0===e?l.call(o(this)):l.call(o(this),n(e))}})},"6c7b":function(e,t,r){var a=r("5ca1");a(a.P,"Array",{fill:r("36bd")}),r("9c6c")("fill")},"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}},"891d":function(e,t,r){},"8e1b":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:"20px 0",color:"#303133"}},[r("el-form",{attrs:{model:e.form,"label-width":"110px"}},[r("el-form-item",{attrs:{label:"门店名称"}},[e._v(e._s(e.form.storeName||"--"))]),r("el-form-item",{attrs:{label:"指标额"}},[e._v("\n ¥ "+e._s(parseFloat(e.form.performanceValue).toFixed(2))+"\n "),r("el-button",{attrs:{type:"text"},on:{click:e.modMonthTarget}},[e._v("修改")])],1),r("el-form-item",{attrs:{label:"指标类型"}},[e._v(e._s(["业绩指标日权重","业绩指标日指标"][e.form.performanceSubType-1]))]),r("el-form-item",{attrs:{label:""}},[r("div",{staticClass:"content-data"},[r("span",{staticClass:"color2"},[e._v("月指标:¥ ")]),r("span",{staticClass:"color1"},[e._v(e._s(parseFloat(e.form.performanceValue).toFixed(2)))]),r("span",{staticClass:"color2"},[e._v("日指标总和:¥ ")]),r("span",{staticClass:"color1",style:{color:e.totalDayTarget>e.form.performanceValue?"#F5222D":"#606266"}},[e._v(e._s(parseFloat(e.totalDayTarget).toFixed(2)))])])])],1),r("div",{staticClass:"target-title"},[r("span",[e._v(e._s(e.form.date[0])+"年"+e._s(e.form.date[1])+"月")]),0==e.form.flag&&1==e.form.performanceSubType?r("el-button",{attrs:{type:"text"},on:{click:e.setDefault}},[e._v("设置默认日权重")]):e._e()],1),r("div",{staticClass:"target-table"},[e._m(0),r("ul",{staticClass:"table-content"},[e._l(e.zerofill,(function(e,t){return r("li",{key:t})})),e._l(e.tableData,(function(t,a){return r("li",{key:a},[r("div",[e._v(e._s(t.performanceDay))]),r("el-input-number",{staticStyle:{width:"80px","margin-left":"40px","margin-top":"5px"},attrs:{precision:2,controls:!1},model:{value:t.performanceValue,callback:function(r){e.$set(t,"performanceValue",r)},expression:"item.performanceValue"}})],1)})),e._l(e.zerofillLast,(function(e,t){return r("li",{key:t})}))],2)]),r("el-button",{staticStyle:{"margin-left":"20px"},attrs:{type:"primary",loading:e.loading},on:{click:e.confirm}},[e._v("保存")]),r("el-dialog",{attrs:{title:"修改指标",visible:e.dialogVisible,width:"600px"},on:{"update:visible":function(t){e.dialogVisible=t},close:e.dialogClose}},[r("el-alert",{attrs:{title:"修改当月指标会导致已完善的日指标重新下发,并完善。请谨慎设置",type:"danger","show-icon":"",closable:!1}}),r("el-form",{ref:"targetForm",attrs:{model:e.targetForm,"hide-required-asterisk":"","label-width":"175px"},nativeOn:{submit:function(e){e.preventDefault()}}},[r("el-form-item",{attrs:{prop:"value",rules:[{required:!0,message:"请输入月指标额",trigger:"blur"}]}},[r("span",{attrs:{slot:"label"},slot:"label"},[r("span",{staticClass:"color1",staticStyle:{"padding-right":"35px"}},[e._v(e._s(e.form.performanceYm||"--"))]),e._v("\n 指标额\n ")]),r("el-input",{staticStyle:{width:"289px"},model:{value:e.targetForm.value,callback:function(t){e.$set(e.targetForm,"value",t)},expression:"targetForm.value"}},[r("span",{staticStyle:{color:"#303133","padding-left":"5px"},attrs:{slot:"prefix"},slot:"prefix"},[e._v("¥")])])],1)],1),r("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[r("el-button",{on:{click:function(t){e.dialogVisible=!1}}},[e._v("取 消")]),r("el-button",{attrs:{type:"primary",disabled:2==e.$route.query.performanceSubType&&e.totalDayTarget>e.form.performanceValue,loading:e.loadMonth},on:{click:e.confirmMonthTarget}},[e._v("确 定")])],1)],1)],1)},n=[function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("ul",{staticClass:"table-title"},[r("li",[e._v("周日")]),r("li",[e._v("周一")]),r("li",[e._v("周二")]),r("li",[e._v("周三")]),r("li",[e._v("周四")]),r("li",[e._v("周五")]),r("li",[e._v("周六")])])}],o=(r("8e6e"),r("456d"),r("6b54"),r("f576"),r("c5f6"),r("ade3")),i=(r("55dd"),r("ac6a"),r("6c7b"),r("28a5"),r("9f7c"));function l(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 c(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?l(Object(r),!0).forEach((function(t){Object(o["a"])(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):l(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var s=i["a"].changeStorePerformanceDay,f=i["a"].getStorePerformanceDay,u=i["a"].changeStorePerformanceMonth,p={name:"PerfectDayTarget",components:{},props:{brandId:{type:String,default:function(){return""}}},data:function(){return{form:{tab:"",performanceYm:"",performanceSubType:1,performanceType:0,storeInfoId:"",storeName:"",performanceValue:0,flag:!1,date:["",""]},loading:!1,days:0,tableData:[],zerofill:[],zerofillLast:[],loadMonth:!1,targetForm:{value:""},dialogVisible:!1,haoban:{}}},created:function(){this.form=JSON.parse(JSON.stringify(this.$route.query));var e=JSON.parse(localStorage.getItem("haoBanUser")),t=e.staffName,r=e.staffId,a=e.wxEnterpriseId;this.haoban={staffName:t,staffId:r,wxEnterpriseId:a};var n=[{name:"指标管理",path:"/target-list"},{name:"查看门店",path:"/target-store"},{name:"完善日指标"}],o=this.$route.query,i=o.tab,l=o.applicationId,c=o.performanceYm;this.form.date=c.split("-"),n[0].path+="?applicationId=".concat(l,"&tab=").concat(i),n[1].path+="?applicationId=".concat(l,"&tab=").concat(i,"&performanceYm=").concat(c),this.$emit("change-nav",n),console.log(this.form),this.init()},mounted:function(){this.$emit("showTab","/target-list")},methods:{modMonthTarget:function(){var e=this;e.targetForm.value=parseFloat(e.form.performanceValue).toFixed(2),e.dialogVisible=!0},init:function(){var e=this,t=this.form,r=t.date,a=t.flag,n=t.performanceType,o=t.performanceYm,i=t.performanceSubType,l=t.storeInfoId;r=r&&r.length?r:[2020,1];var c=new Date(r[0],r[1]-1).getDay(),s=e.days=new Date(r[0],r[1],0).getDate();e.zerofill=new Array(c).fill(null),e.tableData=new Array(s).fill(null).map((function(e,t){return{performanceDay:t+1,performanceValue:1}}));var u=(e.zerofill.length+e.tableData.length)%7;if(u&&(e.zerofillLast=new Array(7-u).fill(null)),console.log(a),0==a)e.setDefault();else if(1==a){var p={enterpriseId:e.brandId,performanceType:n,performanceYm:o,performanceSubType:i,storeInfoId:l};f(p,{headers:{sign:e.brandId}}).then((function(t){t.result.forEach((function(e){e.performanceDay=e.performanceDay.split("-")[2]})),t.result.sort((function(e,t){return e.performanceDay.replaceAll("-","")-t.performanceDay.replaceAll("-","")})),e.tableData=t.result}))}},confirmMonthTarget:function(){var e=this;e.loadMonth=!0,e.$refs.targetForm.validate((function(t){if(t){var r=e.form,a=r.performanceYm,n=r.performanceType,o=r.storeInfoId,i=c(c({},e.haoban),{},{performanceYm:a,performanceType:n,storeInfoId:o,performanceValue:e.targetForm.value});u(i,{headers:{sign:e.brandId}}).then((function(t){e.loadMonth=!1,e.form.performanceValue=i.performanceValue,e.dialogVisible=!1,1==e.$route.query.performanceSubType&&(e.totalDayTarget=e.form.performanceValue)})).finally((function(){e.dialogVisible=!1,e.loadMonth=!1}))}else e.loadMonth=!1}))},confirm:function(){var e=this,t=!0;if(e.tableData.forEach((function(e){(!e.performanceValue||e.performanceValue<=0||!Number(e.performanceValue))&&(t=!1)})),!t)return e.$message.error("每日的".concat(1==e.$route.query.performanceSubType?"权重":"指标","不能为空")),!1;e.loading=!0;var r=c(c(c({},e.haoban),e.form),{},{enterpriseId:e.brandId,dataJson:e.filterJson()});s(r,{headers:{sign:e.brandId}}).then((function(t){e.$message.success("保存成功"),e.$router.go(-1)})).finally((function(){return e.loading=!1}))},dialogClose:function(){this.$refs.targetForm.resetFields()},filterJson:function(){var e=this;return JSON.stringify(this.tableData.map((function(t){var r=t.performanceDay,a=t.performanceValue;return{performanceValue:a,performanceSubType:e.form.performanceSubType,performanceDay:"".concat(e.form.performanceYm,"-").concat(r.toString().padStart(2,"0"))}})))},setDefault:function(){this.tableData.forEach((function(e){return e.performanceValue=Number(1).toFixed(2)}))}},computed:{totalDayTarget:function(){return 1==this.$route.query.performanceSubType?this.form.performanceValue:this.tableData.reduce((function(e,t){var r=t.performanceValue;return e+r}),0)}}},m=p,d=(r("4ca0"),r("2877")),g=Object(d["a"])(m,a,n,!1,null,"fb85156c",null);t["default"]=g.exports},"8e6e":function(e,t,r){var a=r("5ca1"),n=r("990b"),o=r("6821"),i=r("11e9"),l=r("f1ae");a(a.S,"Object",{getOwnPropertyDescriptors:function(e){var t,r,a=o(e),c=i.f,s=n(a),f={},u=0;while(s.length>u)r=c(a,t=s[u++]),void 0!==r&&l(f,t,r);return f}})},9744:function(e,t,r){"use strict";var a=r("4588"),n=r("be13");e.exports=function(e){var t=String(n(this)),r="",o=a(e);if(o<0||o==1/0)throw RangeError("Count can't be negative");for(;o>0;(o>>>=1)&&(t+=t))1&o&&(r+=t);return r}},"990b":function(e,t,r){var a=r("9093"),n=r("2621"),o=r("cb7c"),i=r("7726").Reflect;e.exports=i&&i.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},getTagList:"/setting/list-store-tag"};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}},f576:function(e,t,r){"use strict";var a=r("5ca1"),n=r("2e08"),o=r("a25f"),i=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(o);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
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-a4feeb0a"],{"0912":function(t,e,a){"use strict";a.r(e);var n=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"my-customer-wrap common-set-wrap"},[n("nav-crumb",{attrs:{navpath:t.navpath}}),n("div",{staticClass:"right-content"},[n("div",{staticClass:"right-box",staticStyle:{"min-height":"calc(100vh - 126px)"}},[n("div",{staticClass:"apps-content flex",staticStyle:{"min-height":"calc(100vh - 126px)"}},[n("div",{staticClass:"apps-content-right"},[n("div",{staticClass:"flex flex-space-between"},[n("div",{staticClass:"flex "},[n("div",{staticClass:"auth-merchant-img"},[t.enterpriseObj.logo?n("img",{attrs:{src:t.enterpriseObj.logo,alt:""}}):n("img",{attrs:{src:a("6ce2a"),alt:"img"}})]),n("div",[n("div",{staticClass:"auth-merchant-name flex"},[n("span",{staticClass:"font-14 color-606266 merchant-name-span"},[t._v(t._s(t.enterpriseObj.enterpriseName||"--"))]),n("el-tag",{staticClass:"m-l-10",attrs:{size:"mini",type:"danger"}},[t._v(t._s(t.enterpriseObj.versionName||"4.0"))])],1),n("div",{staticClass:"auth-merchant-name flex"},[n("span",{staticClass:"font-14 color-606266 merchant-name-span"},[t._v(t._s(t.enterpriseObj.companyName||"--"))])])])]),n("common-alert-tip",{attrs:{width:"284px","tip-content":t.tipContent}})],1),n("div",{staticClass:"m-t-20"},[n("el-table",{ref:"multipleTable",staticClass:"select-table",style:{width:"100%",minHeight:t.tableH},attrs:{data:t.tableData,"tooltip-effect":"dark"}},[n("el-table-column",{attrs:{label:"申请事项","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.userName||"商户授权"))]}}])}),n("el-table-column",{attrs:{prop:"",label:"申请理由","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(e.row.auditReason||"--")+"\n ")]}}])}),n("el-table-column",{attrs:{prop:"",label:"门店绑定","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(e.row.bindRange||"--")+"\n ")]}}])}),n("el-table-column",{attrs:{prop:"",label:"门店共享","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(e.row.shareRange||"--")+"\n ")]}}])}),n("el-table-column",{attrs:{prop:"",label:"提交人","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(e.row.referStaffName||"--")+"\n ")]}}])}),n("el-table-column",{attrs:{prop:"",label:"审核人","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.auditName||"--"))]}}])}),n("el-table-column",{attrs:{prop:"",label:"审核结果"},scopedSlots:t._u([{key:"default",fn:function(e){return[0==e.row.statusFlag?n("span",[t._v("待同意")]):t._e(),1==e.row.statusFlag?n("span",[t._v("已同意")]):t._e(),3==e.row.statusFlag?n("span",[t._v("取消审核")]):t._e(),2==e.row.statusFlag?n("el-tooltip",{staticClass:"item",attrs:{effect:"light",placement:"right"}},[n("div",{attrs:{slot:"content"},slot:"content"},[t._v("\n "+t._s(e.row.refuseReason)+"\n ")]),n("span",{staticClass:"common-bottom-border"},[t._v("已拒绝")])]):t._e(),4==e.row.statusFlag?n("el-tooltip",{staticClass:"item",attrs:{effect:"light",placement:"right"}},[n("div",{attrs:{slot:"content"},slot:"content"},[t._v("\n "+t._s(e.row.refuseReason)+"\n ")]),n("span",{staticClass:"common-bottom-border"},[t._v("已失效")])]):t._e()]}}])}),n("el-table-column",{attrs:{prop:"",label:"审核时间"},scopedSlots:t._u([{key:"default",fn:function(e){return[0!=e.row.statusFlag?n("div",{staticClass:"line-h-18"},[t._v(t._s(t._f("timeStampToYmd")(e.row.updateTime))+" "+t._s(e.row.updateTime?"":"--"))]):t._e(),0!=e.row.statusFlag?n("div",{staticClass:"line-h-18"},[t._v(t._s(t._f("timeStampToHms")(e.row.updateTime))+" "+t._s(e.row.updateTime?"":"--"))]):t._e(),0==e.row.statusFlag?n("div",{staticClass:"line-h-18"},[t._v("--")]):t._e(),0==e.row.statusFlag?n("div",{staticClass:"line-h-18"},[t._v("--")]):t._e()]}}])}),n("el-table-column",{attrs:{prop:"",label:"操作",width:"203"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("el-button",{attrs:{type:"text"},on:{click:function(a){return t.toShowLog(e.$index,e.row)}}},[t._v("绑定详情")]),0==e.row.statusFlag?n("el-button",{attrs:{type:"text"},on:{click:function(a){return t.toCancleAudit(e.$index,e.row)}}},[t._v("取消审核")]):t._e()]}}])})],1),0!=t.tableData.length?n("div",{staticClass:"block common-wrap__page text-right m-t-24"},[n("dm-pagination",{attrs:{background:"","current-page":t.currentPage,"page-sizes":[20,40,60,80],"page-size":t.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:t.total},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}})],1):t._e()],1)])])])]),t.logShow?n("store-auth-detail",{attrs:{"store-range-audit-id":t.storeRangeAuditId},on:{closeLog:t.closeLog}}):t._e()],1)},s=[],r=a("29b6"),i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("el-dialog",{attrs:{title:"绑定详情",visible:t.dialogVisible,width:"600px","before-close":t.handleClose},on:{"update:visible":function(e){t.dialogVisible=e}}},[a("div",{},[a("el-tabs",{attrs:{type:"card"},on:{"tab-click":t.handleClick},model:{value:t.activeName,callback:function(e){t.activeName=e},expression:"activeName"}},[a("el-tab-pane",{attrs:{label:"绑定门店",name:"first"}}),a("el-tab-pane",{attrs:{label:"共享门店",name:"second"}})],1),a("div",{staticClass:"store-change-body"},[a("div",{staticClass:"flex "},[a("div",{staticClass:"change-stores flex-1"},[a("div",{staticClass:"font-14 color-303133 text-center m-b-20"},[t._v("变更前")]),a("ul",{staticClass:"store-cell-ul bg-f5f7fa"},t._l(t.showData.range,(function(e,n){return a("li",{key:n+"bind",staticClass:"text-center"},[a("el-tag",{attrs:{type:"info"}},[t._v(t._s(e.storeGroupName||e.storeInfoName))])],1)})),0)]),a("div",{staticClass:"change-stores flex-1 m-l-10"},[a("div",{staticClass:"font-14 color-303133 text-center m-b-20"},[t._v("变更后")]),a("ul",{staticClass:"store-cell-ul bg-f5f7fa"},t._l(t.showData.auditRange,(function(e,n){return a("li",{key:n+"binded",staticClass:"text-center"},[a("el-tag",{attrs:{type:"info"}},[t._v(t._s(e.storeGroupName||e.storeInfoName))])],1)})),0)])])])],1)])},o=[],l=a("21f4"),c=l["a"].getAuditLogDetail,u={name:"StoreAuthDetail",props:{storeRangeAuditId:{type:String,default:function(){return""}}},data:function(){return{dialogVisible:!0,activeName:"first",tableData:[],detailData:{shareStoreMode:"",bindStoreMode:"",shareRange:[],bindRange:[],auditShareRange:[],auditBindRange:[]},showData:{range:[],auditRange:[]}}},mounted:function(){var t=this;t.storeRangeAuditId&&t.getTableList(),document.documentElement.style.backgroundColor="#f0f2f5"},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},methods:{handleClick:function(){var t=this;t.showData={range:"first"==t.activeName?t.detailData.bindRange:t.detailData.shareRange,auditRange:"first"==t.activeName?t.detailData.auditBindRange:t.detailData.auditShareRange}},handleClose:function(){var t=this;t.tableData=[],t.$emit("closeLog")},changeRoute:function(t){this.$router.push(t)},getTableList:function(){var t=this,e={storeRangeAuditId:t.storeRangeAuditId};c(e).then((function(e){e.result.bindRange?e.result.bindRange=JSON.parse(e.result.bindRange):e.result.bindRange=[],e.result.shareRange?e.result.shareRange=JSON.parse(e.result.shareRange):e.result.shareRange=[],e.result.auditBindRange?e.result.auditBindRange=JSON.parse(e.result.auditBindRange):e.result.auditBindRange=[],e.result.auditShareRange?e.result.auditShareRange=JSON.parse(e.result.auditShareRange):e.result.auditShareRange=[],t.detailData=e.result||[],t.showData={range:"first"==t.activeName?t.detailData.bindRange:t.detailData.shareRange,auditRange:"first"==t.activeName?t.detailData.auditBindRange:t.detailData.auditShareRange}})).catch((function(t){}))}},watch:{storeRangeAuditId:function(t,e){var a=this;t&&a.getTableList()}}},d=u,g=(a("411c"),a("2877")),p=Object(g["a"])(d,i,o,!1,null,"4d9f586a",null),f=p.exports,h=a("3081"),m=a("5b4e"),v=l["a"].getAuditLog,b=l["a"].cancelAudit,_=l["a"].getEnterpriseDetail,w={name:"AuditLog",components:{navCrumb:r["a"],storeAuthDetail:f,commonAlertTip:h["a"]},data:function(){return{tipContent:"仅保存近一年日志",navpath:[{name:"通讯录",path:"/contactsList"},{name:"授权商户",path:"/authMerchant"},{name:"审核日志",path:""}],auditorName:localStorage.getItem("haoBanUser")?JSON.parse(localStorage.getItem("haoBanUser")).staffName:"",auditorId:localStorage.getItem("haoBanUser")?JSON.parse(localStorage.getItem("haoBanUser")).staffId:"",enterpriseObj:{enterpriseName:"",logo:"",version:""},currentPage:1,pageSize:20,total:0,tableData:[],logShow:!1,storeRangeAuditId:""}},mounted:function(){var t=this;t.getEnterpriseData(),t.getTableList(),document.documentElement.style.backgroundColor="#f0f2f5"},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},methods:{getEnterpriseData:function(){var t=this;_({enterpriseId:t.$route.query.enterpriseId}).then((function(e){t.enterpriseObj=e.result||{enterpriseName:"",logo:"",version:""}})).catch((function(t){}))},toCancleAudit:function(t,e){var a=this;a.$confirm("确定取消审核?","",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){a.postCancel(e.storeRangeAuditId)}))},postCancel:function(t){var e=this,a={storeRangeAuditId:t,statusFlag:3,auditorName:e.auditorName,auditorId:e.auditorId};b(a).then((function(t){"0000"==t.code?m["a"].showmsg("取消审核成功","success"):"100003"!=t.code&&"100004"!=t.code||(e.$message({message:t.message||"未知错误",type:"warning"}),e.currentPage=1,e.getTableList()),e.currentPage=1,e.getTableList()})).catch((function(t){}))},toShowLog:function(t,e){var a=this;a.storeRangeAuditId=e.storeRangeAuditId,a.logShow=!0},closeLog:function(){var t=this;t.storeRangeAuditId="",t.logShow=!1},changeRoute:function(t){this.$router.push(t)},handleSizeChange:function(t){var e=this;e.currentPage=1,e.pageSize=t,e.getTableList()},handleCurrentChange:function(t){var e=this;e.currentPage=t,e.getTableList()},getTableList:function(){var t=this,e={enterpriseId:t.$route.query.enterpriseId||"",pageNum:t.currentPage,pageSize:t.pageSize};v(e).then((function(e){t.tableData=e.result.result||[],t.total=e.result.totalCount})).catch((function(t){}))}}},C=w,R=(a("4d43"),Object(g["a"])(C,n,s,!1,null,"094e5d62",null));e["default"]=R.exports},"13a5":function(t,e,a){},"21f4":function(t,e,a){"use strict";var n=a("71f6"),s={getAuthEnterprise:"/auth-enterprise-list",getGroupList:"/department-list",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"};s=Object(n["a"])(s,"/hb-manage-web"),e["a"]=s},"29b6":function(t,e,a){"use strict";var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"nav-wrap border-box"},[a("el-breadcrumb",{attrs:{"separator-class":"el-icon-arrow-right"}},[t._l(t.navpath,(function(e,n){return[e.path?[a("el-breadcrumb-item",{key:"nav"+n,attrs:{to:{path:e.path}},on:{click:function(a){return t.changeRoute(e.path,e.relocation)}}},[a("span",{staticClass:"el-breadcrumb__inner is-link",on:{click:function(a){return t.changeRoute(e.path,e.relocation)}}},[t._v("\n "+t._s(e.name)+"\n ")])])]:[a("el-breadcrumb-item",{key:"nav"+n},[t._v(t._s(e.name))])]]}))],2)],1)},s=[],r={name:"NavPath",props:{navpath:{type:Array,default:function(){return[]}}},data:function(){return{projectName:"member"}},methods:{changeRoute:function(t,e){var a=this;e?window.location.href=t:a.$router.push(t)}}},i=r,o=(a("6b4b"),a("2877")),l=Object(o["a"])(i,n,s,!1,null,"2c2a2724",null);e["a"]=l.exports},3081:function(t,e,a){"use strict";var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"common-alert-tip"},[a("div",{style:{"min-width":t.width}},[a("div",{staticClass:"el-alert el-alert--info flex flex-align-start",style:{width:t.width},attrs:{role:"alert"}},[a("i",{staticClass:"el-alert__icon el-icon-info font-12 color-2f54eb"}),a("div",{staticClass:"el-alert__content"},[a("span",{staticClass:"el-alert__title color-606266 font-13"},[t._v("\n "+t._s(t.tipContent)+"\n ")]),t.tipTwoContent?a("div",{staticClass:"el-alert__title color-606266 font-13"},[t._v("\n "+t._s(t.tipTwoContent)+"\n ")]):t._e()])])])])},s=[],r={name:"CommonAlertTip",components:{},props:{width:{type:String,default:"645px"},tipContent:{type:String,default:""},tipTwoContent:{type:String,default:""}},data:function(){return{}}},i=r,o=a("2877"),l=Object(o["a"])(i,n,s,!1,null,"537f2e35",null);e["a"]=l.exports},"411c":function(t,e,a){"use strict";var n=a("13a5"),s=a.n(n);s.a},"4d43":function(t,e,a){"use strict";var n=a("8c9f"),s=a.n(n);s.a},"5b4e":function(t,e,a){"use strict";var n=a("5c96");e["a"]={showmsg:function(t,e){Object(n["Message"])({duration:1e3,message:t||"接口异常",type:e})}}},"6b4b":function(t,e,a){"use strict";var n=a("76d4"),s=a.n(n);s.a},"6ce2a":function(t,e,a){t.exports=a.p+"img/member.1eda5d6c.png"},"71f6":function(t,e,a){"use strict";a.d(e,"a",(function(){return s}));a("ac6a"),a("456d");var n=a("b775");function s(t,e){t=t||{};var a=Object.keys(t);return a.forEach((function(a){var s=t[a];"string"===typeof s&&(s={url:s}),s.url="".concat(e).concat(s.url),t[a]=function(t,e){return Object(n["a"])(s,t,e)}})),t}},"76d4":function(t,e,a){},"8c9f":function(t,e,a){}}]); (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-4e3bfbee"],{"0912":function(t,e,a){"use strict";a.r(e);var n=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"my-customer-wrap common-set-wrap"},[n("nav-crumb",{attrs:{navpath:t.navpath}}),n("div",{staticClass:"right-content"},[n("div",{staticClass:"right-box",staticStyle:{"min-height":"calc(100vh - 126px)"}},[n("div",{staticClass:"apps-content flex",staticStyle:{"min-height":"calc(100vh - 126px)"}},[n("div",{staticClass:"apps-content-right"},[n("div",{staticClass:"flex flex-space-between"},[n("div",{staticClass:"flex "},[n("div",{staticClass:"auth-merchant-img"},[t.enterpriseObj.logo?n("img",{attrs:{src:t.enterpriseObj.logo,alt:""}}):n("img",{attrs:{src:a("6ce2a"),alt:"img"}})]),n("div",[n("div",{staticClass:"auth-merchant-name flex"},[n("span",{staticClass:"font-14 color-606266 merchant-name-span"},[t._v(t._s(t.enterpriseObj.enterpriseName||"--"))]),n("el-tag",{staticClass:"m-l-10",attrs:{size:"mini",type:"danger"}},[t._v(t._s(t.enterpriseObj.versionName||"4.0"))])],1),n("div",{staticClass:"auth-merchant-name flex"},[n("span",{staticClass:"font-14 color-606266 merchant-name-span"},[t._v(t._s(t.enterpriseObj.companyName||"--"))])])])]),n("common-alert-tip",{attrs:{width:"284px","tip-content":t.tipContent}})],1),n("div",{staticClass:"m-t-20"},[n("el-table",{ref:"multipleTable",staticClass:"select-table",style:{width:"100%",minHeight:t.tableH},attrs:{data:t.tableData,"tooltip-effect":"dark"}},[n("el-table-column",{attrs:{label:"申请事项","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.userName||"商户授权"))]}}])}),n("el-table-column",{attrs:{prop:"",label:"申请理由","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(e.row.auditReason||"--")+"\n ")]}}])}),n("el-table-column",{attrs:{prop:"",label:"门店绑定","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(e.row.bindRange||"--")+"\n ")]}}])}),n("el-table-column",{attrs:{prop:"",label:"门店共享","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(e.row.shareRange||"--")+"\n ")]}}])}),n("el-table-column",{attrs:{prop:"",label:"提交人","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(e.row.referStaffName||"--")+"\n ")]}}])}),n("el-table-column",{attrs:{prop:"",label:"审核人","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.auditName||"--"))]}}])}),n("el-table-column",{attrs:{prop:"",label:"审核结果"},scopedSlots:t._u([{key:"default",fn:function(e){return[0==e.row.statusFlag?n("span",[t._v("待同意")]):t._e(),1==e.row.statusFlag?n("span",[t._v("已同意")]):t._e(),3==e.row.statusFlag?n("span",[t._v("取消审核")]):t._e(),2==e.row.statusFlag?n("el-tooltip",{staticClass:"item",attrs:{effect:"light",placement:"right"}},[n("div",{attrs:{slot:"content"},slot:"content"},[t._v("\n "+t._s(e.row.refuseReason)+"\n ")]),n("span",{staticClass:"common-bottom-border"},[t._v("已拒绝")])]):t._e(),4==e.row.statusFlag?n("el-tooltip",{staticClass:"item",attrs:{effect:"light",placement:"right"}},[n("div",{attrs:{slot:"content"},slot:"content"},[t._v("\n "+t._s(e.row.refuseReason)+"\n ")]),n("span",{staticClass:"common-bottom-border"},[t._v("已失效")])]):t._e()]}}])}),n("el-table-column",{attrs:{prop:"",label:"审核时间"},scopedSlots:t._u([{key:"default",fn:function(e){return[0!=e.row.statusFlag?n("div",{staticClass:"line-h-18"},[t._v(t._s(t._f("timeStampToYmd")(e.row.updateTime))+" "+t._s(e.row.updateTime?"":"--"))]):t._e(),0!=e.row.statusFlag?n("div",{staticClass:"line-h-18"},[t._v(t._s(t._f("timeStampToHms")(e.row.updateTime))+" "+t._s(e.row.updateTime?"":"--"))]):t._e(),0==e.row.statusFlag?n("div",{staticClass:"line-h-18"},[t._v("--")]):t._e(),0==e.row.statusFlag?n("div",{staticClass:"line-h-18"},[t._v("--")]):t._e()]}}])}),n("el-table-column",{attrs:{prop:"",label:"操作",width:"203"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("el-button",{attrs:{type:"text"},on:{click:function(a){return t.toShowLog(e.$index,e.row)}}},[t._v("绑定详情")]),0==e.row.statusFlag?n("el-button",{attrs:{type:"text"},on:{click:function(a){return t.toCancleAudit(e.$index,e.row)}}},[t._v("取消审核")]):t._e()]}}])})],1),0!=t.tableData.length?n("div",{staticClass:"block common-wrap__page text-right m-t-24"},[n("dm-pagination",{attrs:{background:"","current-page":t.currentPage,"page-sizes":[20,40,60,80],"page-size":t.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:t.total},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}})],1):t._e()],1)])])])]),t.logShow?n("store-auth-detail",{attrs:{"store-range-audit-id":t.storeRangeAuditId},on:{closeLog:t.closeLog}}):t._e()],1)},s=[],r=a("29b6"),i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("el-dialog",{attrs:{title:"绑定详情",visible:t.dialogVisible,width:"600px","before-close":t.handleClose},on:{"update:visible":function(e){t.dialogVisible=e}}},[a("div",{},[a("el-tabs",{attrs:{type:"card"},on:{"tab-click":t.handleClick},model:{value:t.activeName,callback:function(e){t.activeName=e},expression:"activeName"}},[a("el-tab-pane",{attrs:{label:"绑定门店",name:"first"}}),a("el-tab-pane",{attrs:{label:"共享门店",name:"second"}})],1),a("div",{staticClass:"store-change-body"},[a("div",{staticClass:"flex "},[a("div",{staticClass:"change-stores flex-1"},[a("div",{staticClass:"font-14 color-303133 text-center m-b-20"},[t._v("变更前")]),a("ul",{staticClass:"store-cell-ul bg-f5f7fa"},t._l(t.showData.range,(function(e,n){return a("li",{key:n+"bind",staticClass:"text-center"},[a("el-tag",{attrs:{type:"info"}},[t._v(t._s(e.storeGroupName||e.storeInfoName))])],1)})),0)]),a("div",{staticClass:"change-stores flex-1 m-l-10"},[a("div",{staticClass:"font-14 color-303133 text-center m-b-20"},[t._v("变更后")]),a("ul",{staticClass:"store-cell-ul bg-f5f7fa"},t._l(t.showData.auditRange,(function(e,n){return a("li",{key:n+"binded",staticClass:"text-center"},[a("el-tag",{attrs:{type:"info"}},[t._v(t._s(e.storeGroupName||e.storeInfoName))])],1)})),0)])])])],1)])},o=[],l=a("21f4"),c=l["a"].getAuditLogDetail,u={name:"StoreAuthDetail",props:{storeRangeAuditId:{type:String,default:function(){return""}}},data:function(){return{dialogVisible:!0,activeName:"first",tableData:[],detailData:{shareStoreMode:"",bindStoreMode:"",shareRange:[],bindRange:[],auditShareRange:[],auditBindRange:[]},showData:{range:[],auditRange:[]}}},mounted:function(){var t=this;t.storeRangeAuditId&&t.getTableList(),document.documentElement.style.backgroundColor="#f0f2f5"},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},methods:{handleClick:function(){var t=this;t.showData={range:"first"==t.activeName?t.detailData.bindRange:t.detailData.shareRange,auditRange:"first"==t.activeName?t.detailData.auditBindRange:t.detailData.auditShareRange}},handleClose:function(){var t=this;t.tableData=[],t.$emit("closeLog")},changeRoute:function(t){this.$router.push(t)},getTableList:function(){var t=this,e={storeRangeAuditId:t.storeRangeAuditId};c(e).then((function(e){e.result.bindRange?e.result.bindRange=JSON.parse(e.result.bindRange):e.result.bindRange=[],e.result.shareRange?e.result.shareRange=JSON.parse(e.result.shareRange):e.result.shareRange=[],e.result.auditBindRange?e.result.auditBindRange=JSON.parse(e.result.auditBindRange):e.result.auditBindRange=[],e.result.auditShareRange?e.result.auditShareRange=JSON.parse(e.result.auditShareRange):e.result.auditShareRange=[],t.detailData=e.result||[],t.showData={range:"first"==t.activeName?t.detailData.bindRange:t.detailData.shareRange,auditRange:"first"==t.activeName?t.detailData.auditBindRange:t.detailData.auditShareRange}})).catch((function(t){}))}},watch:{storeRangeAuditId:function(t,e){var a=this;t&&a.getTableList()}}},d=u,g=(a("411c"),a("2877")),p=Object(g["a"])(d,i,o,!1,null,"4d9f586a",null),f=p.exports,h=a("3081"),m=a("5b4e"),v=l["a"].getAuditLog,b=l["a"].cancelAudit,_=l["a"].getEnterpriseDetail,w={name:"AuditLog",components:{navCrumb:r["a"],storeAuthDetail:f,commonAlertTip:h["a"]},data:function(){return{tipContent:"仅保存近一年日志",navpath:[{name:"通讯录",path:"/contactsList"},{name:"授权商户",path:"/authMerchant"},{name:"审核日志",path:""}],auditorName:localStorage.getItem("haoBanUser")?JSON.parse(localStorage.getItem("haoBanUser")).staffName:"",auditorId:localStorage.getItem("haoBanUser")?JSON.parse(localStorage.getItem("haoBanUser")).staffId:"",enterpriseObj:{enterpriseName:"",logo:"",version:""},currentPage:1,pageSize:20,total:0,tableData:[],logShow:!1,storeRangeAuditId:""}},mounted:function(){var t=this;t.getEnterpriseData(),t.getTableList(),document.documentElement.style.backgroundColor="#f0f2f5"},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},methods:{getEnterpriseData:function(){var t=this;_({enterpriseId:t.$route.query.enterpriseId}).then((function(e){t.enterpriseObj=e.result||{enterpriseName:"",logo:"",version:""}})).catch((function(t){}))},toCancleAudit:function(t,e){var a=this;a.$confirm("确定取消审核?","",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){a.postCancel(e.storeRangeAuditId)}))},postCancel:function(t){var e=this,a={storeRangeAuditId:t,statusFlag:3,auditorName:e.auditorName,auditorId:e.auditorId};b(a).then((function(t){"0000"==t.code?m["a"].showmsg("取消审核成功","success"):"100003"!=t.code&&"100004"!=t.code||(e.$message({message:t.message||"未知错误",type:"warning"}),e.currentPage=1,e.getTableList()),e.currentPage=1,e.getTableList()})).catch((function(t){}))},toShowLog:function(t,e){var a=this;a.storeRangeAuditId=e.storeRangeAuditId,a.logShow=!0},closeLog:function(){var t=this;t.storeRangeAuditId="",t.logShow=!1},changeRoute:function(t){this.$router.push(t)},handleSizeChange:function(t){var e=this;e.currentPage=1,e.pageSize=t,e.getTableList()},handleCurrentChange:function(t){var e=this;e.currentPage=t,e.getTableList()},getTableList:function(){var t=this,e={enterpriseId:t.$route.query.enterpriseId||"",pageNum:t.currentPage,pageSize:t.pageSize};v(e).then((function(e){t.tableData=e.result.result||[],t.total=e.result.totalCount})).catch((function(t){}))}}},C=w,R=(a("4d43"),Object(g["a"])(C,n,s,!1,null,"094e5d62",null));e["default"]=R.exports},"13a5":function(t,e,a){},"21f4":function(t,e,a){"use strict";var n=a("71f6"),s={getAuthEnterprise:"/auth-enterprise-list",getGroupList:"/department-list",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"};s=Object(n["a"])(s,"/hb-manage-web"),e["a"]=s},"29b6":function(t,e,a){"use strict";var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"nav-wrap border-box"},[a("el-breadcrumb",{attrs:{"separator-class":"el-icon-arrow-right"}},[t._l(t.navpath,(function(e,n){return[e.path?[a("el-breadcrumb-item",{key:"nav"+n,attrs:{to:{path:e.path}},on:{click:function(a){return t.changeRoute(e.path,e.relocation)}}},[a("span",{staticClass:"el-breadcrumb__inner is-link",on:{click:function(a){return t.changeRoute(e.path,e.relocation)}}},[t._v("\n "+t._s(e.name)+"\n ")])])]:[a("el-breadcrumb-item",{key:"nav"+n},[t._v(t._s(e.name))])]]}))],2)],1)},s=[],r={name:"NavPath",props:{navpath:{type:Array,default:function(){return[]}}},data:function(){return{projectName:"member"}},methods:{changeRoute:function(t,e){var a=this;e?window.location.href=t:a.$router.push(t)}}},i=r,o=(a("6b4b"),a("2877")),l=Object(o["a"])(i,n,s,!1,null,"2c2a2724",null);e["a"]=l.exports},3081:function(t,e,a){"use strict";var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"common-alert-tip"},[a("div",{style:{"min-width":t.width}},[a("div",{staticClass:"el-alert el-alert--info flex flex-align-start",style:{width:t.width},attrs:{role:"alert"}},[a("i",{staticClass:"el-alert__icon el-icon-info font-12 color-2f54eb"}),a("div",{staticClass:"el-alert__content"},[a("span",{staticClass:"el-alert__title color-606266 font-13"},[t._v("\n "+t._s(t.tipContent)+"\n ")]),t.tipTwoContent?a("div",{staticClass:"el-alert__title color-606266 font-13"},[t._v("\n "+t._s(t.tipTwoContent)+"\n ")]):t._e()])])])])},s=[],r={name:"CommonAlertTip",components:{},props:{width:{type:String,default:"645px"},tipContent:{type:String,default:""},tipTwoContent:{type:String,default:""}},data:function(){return{}}},i=r,o=a("2877"),l=Object(o["a"])(i,n,s,!1,null,"537f2e35",null);e["a"]=l.exports},"411c":function(t,e,a){"use strict";var n=a("13a5"),s=a.n(n);s.a},"4d43":function(t,e,a){"use strict";var n=a("8c9f"),s=a.n(n);s.a},"5b4e":function(t,e,a){"use strict";var n=a("5c96");e["a"]={showmsg:function(t,e){Object(n["Message"])({duration:1e3,message:t||"接口异常",type:e})}}},"6b4b":function(t,e,a){"use strict";var n=a("76d4"),s=a.n(n);s.a},"6ce2a":function(t,e,a){t.exports=a.p+"img/member.1eda5d6c.png"},"71f6":function(t,e,a){"use strict";a.d(e,"a",(function(){return s}));a("ac6a"),a("456d");var n=a("b775");function s(t,e){t=t||{};var a=Object.keys(t);return a.forEach((function(a){var s=t[a];"string"===typeof s&&(s={url:s}),s.url="".concat(e).concat(s.url),t[a]=function(t,e){return Object(n["a"])(s,t,e)}})),t}},"76d4":function(t,e,a){},"8c9f":function(t,e,a){}}]);
\ No newline at end of file \ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-6ccfd9ad"],{"14fd":function(e,t,r){},"28a5":function(e,t,r){"use strict";var a=r("aae3"),n=r("cb7c"),o=r("ebd6"),i=r("0390"),l=r("9def"),c=r("5f1b"),s=r("520a"),f=r("79e5"),u=Math.min,p=[].push,m="split",d="length",g="lastIndex",h=4294967295,b=!f((function(){RegExp(h,"y")}));r("214f")("split",2,(function(e,t,r,f){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,i,l,c=[],f=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),u=0,m=void 0===t?h:t>>>0,b=new RegExp(e.source,f+"g");while(o=s.call(b,n)){if(i=b[g],i>u&&(c.push(n.slice(u,o.index)),o[d]>1&&o.index<n[d]&&p.apply(c,o.slice(1)),l=o[0][d],u=i,c[d]>=m))break;b[g]===o.index&&b[g]++}return u===n[d]?!l&&b.test("")||c.push(""):c.push(n.slice(u)),c[d]>m?c.slice(0,m):c}:"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=f(v,e,this,t,v!==r);if(a.done)return a.value;var s=n(e),p=String(this),m=o(s,RegExp),d=s.unicode,g=(s.ignoreCase?"i":"")+(s.multiline?"m":"")+(s.unicode?"u":"")+(b?"y":"g"),y=new m(b?s:"^(?:"+s.source+")",g),S=void 0===t?h:t>>>0;if(0===S)return[];if(0===p.length)return null===c(y,p)?[p]:[];var D=0,_=0,x=[];while(_<p.length){y.lastIndex=b?_:0;var w,I=c(y,b?p:p.slice(_));if(null===I||(w=u(l(y.lastIndex+(b?0:_)),p.length))===D)_=i(p,_,d);else{if(x.push(p.slice(D,_)),x.length===S)return x;for(var T=1;T<=I.length-1;T++)if(x.push(I[T]),x.length===S)return x;_=D=w}}return x.push(p.slice(D)),x}]}))},"2e08":function(e,t,r){var a=r("9def"),n=r("9744"),o=r("be13");e.exports=function(e,t,r,i){var l=String(o(e)),c=l.length,s=void 0===r?" ":String(r),f=a(t);if(f<=c||""==s)return l;var u=f-c,p=n.call(s,Math.ceil(u/s.length));return p.length>u&&(p=p.slice(0,u)),i?p+l:l+p}},"36bd":function(e,t,r){"use strict";var a=r("4bf8"),n=r("77f1"),o=r("9def");e.exports=function(e){var t=a(this),r=o(t.length),i=arguments.length,l=n(i>1?arguments[1]:void 0,r),c=i>2?arguments[2]:void 0,s=void 0===c?r:n(c,r);while(s>l)t[l++]=e;return t}},"6c7b":function(e,t,r){var a=r("5ca1");a(a.P,"Array",{fill:r("36bd")}),r("9c6c")("fill")},"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}},"8e1b":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:"20px 0",color:"#303133"}},[r("el-form",{attrs:{model:e.form,"label-width":"110px"}},[r("el-form-item",{attrs:{label:"门店名称"}},[e._v(e._s(e.form.storeName||"--"))]),r("el-form-item",{attrs:{label:"指标额"}},[e._v("\n ¥ "+e._s(parseFloat(e.form.performanceValue).toFixed(2))+"\n "),r("el-button",{attrs:{type:"text"},on:{click:e.modMonthTarget}},[e._v("修改")])],1),r("el-form-item",{attrs:{label:"指标类型"}},[e._v(e._s(["业绩指标日权重","业绩指标日指标"][e.form.performanceSubType-1]))]),r("el-form-item",{attrs:{label:""}},[r("div",{staticClass:"content-data"},[r("span",{staticClass:"color2"},[e._v("月指标:¥ ")]),r("span",{staticClass:"color1"},[e._v(e._s(parseFloat(e.form.performanceValue).toFixed(2)))]),r("span",{staticClass:"color2"},[e._v("日指标总和:¥ ")]),r("span",{staticClass:"color1",style:{color:e.totalDayTarget>e.form.performanceValue?"#F5222D":"#606266"}},[e._v(e._s(parseFloat(e.totalDayTarget).toFixed(2)))])])])],1),r("div",{staticClass:"target-title"},[r("span",[e._v(e._s(e.form.date[0])+"年"+e._s(e.form.date[1])+"月")]),0==e.form.flag&&1==e.form.performanceSubType?r("el-button",{attrs:{type:"text"},on:{click:e.setDefault}},[e._v("设置默认日权重")]):e._e()],1),r("div",{staticClass:"target-table"},[e._m(0),r("ul",{staticClass:"table-content"},[e._l(e.zerofill,(function(e,t){return r("li",{key:t})})),e._l(e.tableData,(function(t,a){return r("li",{key:a},[r("div",[e._v(e._s(t.performanceDay))]),r("el-input-number",{staticStyle:{width:"80px","margin-left":"40px","margin-top":"5px"},attrs:{precision:2,controls:!1},model:{value:t.performanceValue,callback:function(r){e.$set(t,"performanceValue",r)},expression:"item.performanceValue"}})],1)})),e._l(e.zerofillLast,(function(e,t){return r("li",{key:t})}))],2)]),r("el-button",{staticStyle:{"margin-left":"20px"},attrs:{type:"primary",loading:e.loading},on:{click:e.confirm}},[e._v("保存")]),r("el-dialog",{attrs:{title:"修改指标",visible:e.dialogVisible,width:"600px"},on:{"update:visible":function(t){e.dialogVisible=t},close:e.dialogClose}},[r("el-alert",{attrs:{title:"修改当月指标会导致已完善的日指标重新下发,并完善。请谨慎设置",type:"danger","show-icon":"",closable:!1}}),r("el-form",{ref:"targetForm",attrs:{model:e.targetForm,"hide-required-asterisk":"","label-width":"175px"},nativeOn:{submit:function(e){e.preventDefault()}}},[r("el-form-item",{attrs:{prop:"value",rules:[{required:!0,message:"请输入月指标额",trigger:"blur"}]}},[r("span",{attrs:{slot:"label"},slot:"label"},[r("span",{staticClass:"color1",staticStyle:{"padding-right":"35px"}},[e._v(e._s(e.form.performanceYm||"--"))]),e._v("\n 指标额\n ")]),r("el-input",{staticStyle:{width:"289px"},model:{value:e.targetForm.value,callback:function(t){e.$set(e.targetForm,"value",t)},expression:"targetForm.value"}},[r("span",{staticStyle:{color:"#303133","padding-left":"5px"},attrs:{slot:"prefix"},slot:"prefix"},[e._v("¥")])])],1)],1),r("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[r("el-button",{on:{click:function(t){e.dialogVisible=!1}}},[e._v("取 消")]),r("el-button",{attrs:{type:"primary",disabled:2==e.$route.query.performanceSubType&&e.totalDayTarget>e.form.performanceValue,loading:e.loadMonth},on:{click:e.confirmMonthTarget}},[e._v("确 定")])],1)],1)],1)},n=[function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("ul",{staticClass:"table-title"},[r("li",[e._v("周日")]),r("li",[e._v("周一")]),r("li",[e._v("周二")]),r("li",[e._v("周三")]),r("li",[e._v("周四")]),r("li",[e._v("周五")]),r("li",[e._v("周六")])])}],o=(r("8e6e"),r("456d"),r("6b54"),r("f576"),r("c5f6"),r("ade3")),i=(r("ac6a"),r("6c7b"),r("28a5"),r("9f7c"));function l(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 c(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?l(Object(r),!0).forEach((function(t){Object(o["a"])(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):l(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var s=i["a"].changeStorePerformanceDay,f=i["a"].getStorePerformanceDay,u=i["a"].changeStorePerformanceMonth,p={name:"PerfectDayTarget",components:{},props:{brandId:{type:String,default:function(){return""}}},data:function(){return{form:{tab:"",performanceYm:"",performanceSubType:1,performanceType:0,storeInfoId:"",storeName:"",performanceValue:0,flag:!1,date:["",""]},loading:!1,days:0,tableData:[],zerofill:[],zerofillLast:[],loadMonth:!1,targetForm:{value:""},dialogVisible:!1,haoban:{}}},created:function(){this.form=JSON.parse(JSON.stringify(this.$route.query));var e=JSON.parse(localStorage.getItem("haoBanUser")),t=e.staffName,r=e.staffId,a=e.wxEnterpriseId;this.haoban={staffName:t,staffId:r,wxEnterpriseId:a};var n=[{name:"指标管理",path:"/target-list"},{name:"查看门店",path:"/target-store"},{name:"完善日指标"}],o=this.$route.query,i=o.tab,l=o.applicationId,c=o.performanceYm;this.form.date=c.split("-"),n[0].path+="?applicationId=".concat(l,"&tab=").concat(i),n[1].path+="?applicationId=".concat(l,"&tab=").concat(i,"&performanceYm=").concat(c),this.$emit("change-nav",n),console.log(this.form),this.init()},mounted:function(){this.$emit("showTab","/target-list")},methods:{modMonthTarget:function(){var e=this;e.targetForm.value=parseFloat(e.form.performanceValue).toFixed(2),e.dialogVisible=!0},init:function(){var e=this,t=this.form,r=t.date,a=t.flag,n=t.performanceType,o=t.performanceYm,i=t.performanceSubType,l=t.storeInfoId;r=r&&r.length?r:[2020,1];var c=new Date(r[0],r[1]-1).getDay(),s=e.days=new Date(r[0],r[1],0).getDate();e.zerofill=new Array(c).fill(null),e.tableData=new Array(s).fill(null).map((function(e,t){return{performanceDay:t+1,performanceValue:1}}));var u=(e.zerofill.length+e.tableData.length)%7;if(u&&(e.zerofillLast=new Array(7-u).fill(null)),console.log(a),0==a)e.setDefault();else if(1==a){var p={enterpriseId:e.brandId,performanceType:n,performanceYm:o,performanceSubType:i,storeInfoId:l};f(p,{headers:{sign:e.brandId}}).then((function(t){t.result.forEach((function(e){e.performanceDay=e.performanceDay.split("-")[2]})),e.tableData=t.result}))}},confirmMonthTarget:function(){var e=this;e.loadMonth=!0,e.$refs.targetForm.validate((function(t){if(t){var r=e.form,a=r.performanceYm,n=r.performanceType,o=r.storeInfoId,i=c(c({},e.haoban),{},{performanceYm:a,performanceType:n,storeInfoId:o,performanceValue:e.targetForm.value});u(i,{headers:{sign:e.brandId}}).then((function(t){e.loadMonth=!1,e.form.performanceValue=i.performanceValue,e.dialogVisible=!1,1==e.$route.query.performanceSubType&&(e.totalDayTarget=e.form.performanceValue)})).finally((function(){e.dialogVisible=!1,e.loadMonth=!1}))}else e.loadMonth=!1}))},confirm:function(){var e=this,t=!0;if(e.tableData.forEach((function(e){(!e.performanceValue||e.performanceValue<=0||!Number(e.performanceValue))&&(t=!1)})),!t)return e.$message.error("每日的".concat(1==e.$route.query.performanceSubType?"权重":"指标","不能为空")),!1;e.loading=!0;var r=c(c(c({},e.haoban),e.form),{},{enterpriseId:e.brandId,dataJson:e.filterJson()});s(r,{headers:{sign:e.brandId}}).then((function(t){e.$message.success("保存成功"),e.$router.go(-1)})).finally((function(){return e.loading=!1}))},dialogClose:function(){this.$refs.targetForm.resetFields()},filterJson:function(){var e=this;return JSON.stringify(this.tableData.map((function(t){var r=t.performanceDay,a=t.performanceValue;return{performanceValue:a,performanceSubType:e.form.performanceSubType,performanceDay:"".concat(e.form.performanceYm,"-").concat(r.toString().padStart(2,"0"))}})))},setDefault:function(){this.tableData.forEach((function(e){return e.performanceValue=Number(1).toFixed(2)}))}},computed:{totalDayTarget:function(){return 1==this.$route.query.performanceSubType?this.form.performanceValue:this.tableData.reduce((function(e,t){var r=t.performanceValue;return e+r}),0)}}},m=p,d=(r("bd91"),r("2877")),g=Object(d["a"])(m,a,n,!1,null,"0497d7b8",null);t["default"]=g.exports},"8e6e":function(e,t,r){var a=r("5ca1"),n=r("990b"),o=r("6821"),i=r("11e9"),l=r("f1ae");a(a.S,"Object",{getOwnPropertyDescriptors:function(e){var t,r,a=o(e),c=i.f,s=n(a),f={},u=0;while(s.length>u)r=c(a,t=s[u++]),void 0!==r&&l(f,t,r);return f}})},9744:function(e,t,r){"use strict";var a=r("4588"),n=r("be13");e.exports=function(e){var t=String(n(this)),r="",o=a(e);if(o<0||o==1/0)throw RangeError("Count can't be negative");for(;o>0;(o>>>=1)&&(t+=t))1&o&&(r+=t);return r}},"990b":function(e,t,r){var a=r("9093"),n=r("2621"),o=r("cb7c"),i=r("7726").Reflect;e.exports=i&&i.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},getTagList:"/setting/list-store-tag"};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}))},bd91:function(e,t,r){"use strict";var a=r("14fd"),n=r.n(a);n.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}},f576:function(e,t,r){"use strict";var a=r("5ca1"),n=r("2e08"),o=r("a25f"),i=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(o);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
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-9f49cece"],{1005:function(t,e,a){"use strict";a.r(e);var i=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"unreview-wrap common-set-wrap"},[i("div",{staticClass:"right-content"},[i("div",{staticClass:"right-box",staticStyle:{"min-height":"calc(100vh - 86px)"}},[i("div",{staticClass:"reviewed-body-head flex flex-space-between"},[i("div",[i("el-input",{staticClass:"w-344",attrs:{maxlength:"50",placeholder:"请输入提交人姓名/账号/手机号","prefix-icon":"el-icon-search",clearable:""},on:{clear:t.clearSearch},nativeOn:{keyup:function(e){return function(e){return t.searchEnterFun(e,t.searchInput)}(e)}},model:{value:t.searchValue,callback:function(e){t.searchValue=e},expression:"searchValue"}}),i("el-select",{staticClass:"w-130 m-l-10",attrs:{placeholder:"全部事项"},on:{change:t.changeTableList},model:{value:t.auditType,callback:function(e){t.auditType=e},expression:"auditType"}},t._l(t.filterOptions,(function(t){return i("el-option",{key:t.value,attrs:{label:t.label,value:t.value}})})),1),i("el-select",{staticClass:"w-168 m-l-10",attrs:{placeholder:"全部品牌"},on:{change:t.changeTableList},model:{value:t.filterBrand,callback:function(e){t.filterBrand=e},expression:"filterBrand"}},[i("el-option",{attrs:{label:"全部品牌",value:""}}),t._l(t.brandOptions,(function(t){return i("el-option",{key:t.enterpriseId,attrs:{label:t.enterpriseName,value:t.enterpriseId}})}))],2)],1),i("dm-perm-button",{attrs:{disabled:t.$itemPerm(t.$itemCode.batchAudit),type:"primary"},on:{click:t.approveAll}},[t._v("批量同意")])],1),i("div",{staticClass:"reviewed-body-content"},[i("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],ref:"multipleTable",staticStyle:{width:"100%"},attrs:{data:t.tableData,"tooltip-effect":"dark"},on:{"selection-change":t.handleSelectionChange}},[i("el-table-column",{attrs:{type:"selection",width:"55"}}),i("el-table-column",{attrs:{label:"审核事项"},scopedSlots:t._u([{key:"default",fn:function(e){return[1==e.row.auditType?i("span",[t._v("导购账号绑定")]):t._e(),3==e.row.auditType?i("span",[t._v("导购账号新增")]):t._e()]}}])}),i("el-table-column",{attrs:{label:"提交人","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[i("div",{staticClass:"flex"},[i("el-popover",{attrs:{placement:"top",width:"300",trigger:"hover"},on:{show:function(a){return t.showSingleInfo(e.row.submitStaffId)}}},[i("div",{staticClass:"apply-info-detail"},[i("div",{staticClass:"flex"},[i("div",{staticClass:"apply-info-img flex-align-center flex-pack-center bg-82c5ff "},[t.userData.headImg?i("img",{attrs:{src:t.userData.headImg,alt:"img"}}):i("img",{attrs:{src:a("6ce2a"),alt:"img"}})]),i("div",{staticClass:"flex flex-column apply-info-right flex-pack-center"},[i("div",{staticClass:"apply-info-name"},[i("span",{staticClass:"font-14 color-303133"},[t._v(t._s(t.userData.staffName||"--"))]),i("span",{staticClass:"font-14 color-90939"},[t._v("( "+t._s(1==t.userData.sex?"男":2==t.userData.sex?"女":"--")+")")])])])]),i("div",{staticClass:"flex flex-space-between line-26 m-t-15"},[i("div",{staticClass:"font-14 color-606266"},[t._v("账号")]),i("div",{staticClass:"font-14 color-303133"},[t._v(t._s(t.userData.wxUserId||"--"))])]),i("div",{staticClass:"flex flex-space-between line-26"},[i("div",{staticClass:"font-14 color-606266"},[t._v("职务")]),i("div",{staticClass:"font-14 color-303133"},[t._v(t._s(t.userData.postion||"--"))])]),i("div",{staticClass:"flex flex-space-between line-26"},[i("div",{staticClass:"font-14 color-606266"},[t._v("手机号")]),i("div",{staticClass:"font-14 color-303133"},[t._v(t._s(t.userData.nationCode||"--")+"-"+t._s(t.userData.phoneNumber||"--"))])]),i("div",{staticClass:"flex flex-space-between line-26"},[i("div",{staticClass:"font-14 color-606266 w-m-100"},[t._v("部门")]),i("div",{staticClass:"font-14 color-303133"},[t._v(t._s(t.userData.departmentInfo.map((function(t){return t.departmentName})).join(";")||"--"))])])]),i("div",{attrs:{slot:"reference"},slot:"reference"},[i("div",{staticClass:"flex flex-align-center flex-pack-center bg-82c5ff table-head-pic cursor-pointer"},[e.row.submitHeadImg?i("img",{attrs:{src:e.row.submitHeadImg,alt:"img"}}):i("img",{attrs:{src:a("6ce2a"),alt:"img"}})])])]),i("div",{staticClass:"flex flex-column apply-info hide-ellipsis"},[i("span",{staticClass:"font-14 color-606266 hide-ellipsis"},[t._v(t._s(e.row.submitStaffName||"--"))]),i("span",{staticClass:"font-12 color-909399 hide-ellipsis"},[t._v(t._s(e.row.submitWxUserId||"--"))])])],1)]}}])}),i("el-table-column",{attrs:{label:"详情","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(e.row.content||"--")+"\n ")]}}])}),i("el-table-column",{attrs:{label:"提交时间","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[i("div",{staticClass:"line-h-18"},[t._v(t._s(t._f("timeStampToYmd")(e.row.createTime)))]),i("div",{staticClass:"line-h-18"},[t._v(t._s(t._f("timeStampToHms")(e.row.createTime)))])]}}])}),i("el-table-column",{attrs:{label:"操作",width:"150"},scopedSlots:t._u([{key:"default",fn:function(e){return[i("el-button",{attrs:{type:"text"},on:{click:function(a){return t.handleClick(e.$index,e.row)}}},[t._v("同意")]),i("el-button",{attrs:{type:"text"},on:{click:function(a){return t.handleClick(e.$index,e.row,"refuse")}}},[t._v("拒绝")])]}}])})],1),0!=t.tableData.length?i("div",{staticClass:"block common-wrap__page text-right"},[i("dm-pagination",{attrs:{background:"","current-page":t.currentPage,"page-sizes":[20,40,60,80],"page-size":t.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:t.total},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}})],1):t._e()],1)])]),i("store-change",{attrs:{"store-change-data":t.storeChangeData},model:{value:t.showStoreDialog,callback:function(e){t.showStoreDialog=e},expression:"showStoreDialog"}}),i("el-dialog",{staticClass:"approve-dialog",attrs:{title:"",visible:t.approveVisible,width:"422px"},on:{"update:visible":function(e){t.approveVisible=e}}},[i("div",{staticClass:"approve-body text-center"},[i("div",[i("i",{staticClass:"el-icon-success"}),i("span",{staticClass:"approve-icon-tip"},[t._v("同意")])]),i("div",{staticClass:"approve-tip"},[t._v("是否确认同意")])]),i("div",{staticClass:"approve-footer dialog-footer",staticStyle:{"text-align":"center"},attrs:{slot:"footer"},slot:"footer"},[i("el-button",{on:{click:function(e){t.approveVisible=!1}}},[t._v("取 消")]),i("el-button",{attrs:{type:"primary"},on:{click:t.sendApprove}},[t._v("确 定")])],1)]),i("el-dialog",{staticClass:"refuse-dialog",attrs:{title:"提示",visible:t.refuseVisible,"before-close":t.cancelRefuse,width:"422px"},on:{"update:visible":function(e){t.refuseVisible=e}}},[i("div",[i("div",{staticClass:"refuse-tip"},[t._v("请输入拒绝理由")]),i("el-form",{ref:"ruleForm",staticClass:"demo-ruleForm",attrs:{model:t.ruleForm,rules:t.rules}},[i("el-form-item",{attrs:{label:"",prop:"refuseReason"}},[i("el-input",{staticClass:"font-14",attrs:{type:"textarea",placeholder:"最多 50 个字",rows:3},model:{value:t.ruleForm.refuseReason,callback:function(e){t.$set(t.ruleForm,"refuseReason",e)},expression:"ruleForm.refuseReason"}})],1)],1)],1),i("div",{staticClass:"approve-footer dialog-footer",attrs:{slot:"footer"},slot:"footer"},[i("el-button",{on:{click:function(e){return t.cancelRefuse("ruleForm")}}},[t._v("取 消")]),i("el-button",{attrs:{type:"primary"},on:{click:function(e){return t.sendRefuse("ruleForm")}}},[t._v("确 定")])],1)]),i("review-result-detail",{attrs:{"audit-ids":t.auditIds,"success-count":t.successCount,"fail-count":t.failCount,"table-list-data":t.tableListData,"detail-show":t.detailShow},on:{hideDetailDialog:t.hideDetailDialog}}),i("el-dialog",{attrs:{title:"提示",visible:t.dialogVisible,width:"30%"},on:{"update:visible":function(e){t.dialogVisible=e}}},[i("span",[t._v("共"+t._s(t.multipleSelection.length)+"条审核事项,是否批量同意?")]),i("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[i("el-button",{on:{click:function(e){t.dialogVisible=!1}}},[t._v("取 消")]),i("el-button",{attrs:{type:"primary",loading:t.loadBtn},on:{click:function(e){t.postAllApprove(t.multipleSelection.map((function(t){return t.auditId})).join(","))}}},[t._v("确 定")])],1)])],1)},n=[],s=(a("28a5"),a("6300")),l=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{directives:[{name:"show",rawName:"v-show",value:t.customDialog,expression:"customDialog"}]},[a("el-dialog",{staticClass:"edit-dialog",attrs:{title:"审核详情",visible:t.customDialog,width:"600px","before-close":t.handleClose},on:{"update:visible":function(e){t.customDialog=e}}},[a("div",{staticClass:"edit-dialog-body"},[a("div",{staticClass:"font-14 color-606266 m-b-8"},[t._v("共 "+t._s(t.multLength||"")+" 条审核事项, "+t._s(t.successCount||"0")+" 条成功, "),a("span",{staticClass:"color-f5222d"},[t._v(t._s(t.failCount||"0")+" ")]),t._v(" 条失败,失败详情如下:")]),a("el-table",{staticStyle:{width:"100%"},attrs:{data:t.tableData,height:"332"}},[a("el-table-column",{attrs:{prop:"publishRecordId",label:"审核事项","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[1==e.row.auditType?a("span",[t._v("导购账号绑定")]):t._e(),3==e.row.auditType?a("span",[t._v("导购账号新增")]):t._e()]}}])}),a("el-table-column",{attrs:{label:"商户","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(e.row.enterpriseName||"--")+"\n ")]}}])}),a("el-table-column",{attrs:{label:"提交人","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(e.row.submitStaffName||"--")+"\n ")]}}])}),a("el-table-column",{attrs:{label:"提交时间",width:"120"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",{staticClass:"color-606266 line-18"},[t._v(t._s(t._f("timeStampToYmd")(e.row.createTime))+" "+t._s(e.row.createTime?"":"--"))]),a("div",{staticClass:"color-606266 line-18"},[t._v(t._s(t._f("timeStampToHms")(e.row.createTime))+" "+t._s(e.row.createTime?"":"--"))])]}}])}),a("el-table-column",{attrs:{label:"状态"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",{class:["span-dot",1==e.row.auditFlag?"bg-33af4a ":"bg-f5222d"]}),1==e.row.auditFlag?a("span",[t._v("已同意")]):t._e()]}}])}),a("el-table-column",{attrs:{label:"结果"},scopedSlots:t._u([{key:"default",fn:function(e){return[2==e.row.statusFlag&&1==e.row.auditFlag?a("span",[t._v("成功")]):t._e(),2==e.row.auditFlag?a("span",[t._v("--")]):t._e(),1==e.row.statusFlag&&1==e.row.auditFlag?a("el-popover",{attrs:{placement:"top",width:"200",trigger:"hover",content:e.row.reason}},[a("span",{staticClass:"common-bottom-border",attrs:{slot:"reference"},slot:"reference"},[t._v("失败")])]):t._e()]}}])})],1)],1)])],1)},o=[],r=(a("c5f6"),a("96b6")),u=r["a"].getAuditDetail,c={name:"ReviewResultDetail",props:{detailShow:{type:Boolean,default:!1},auditIds:{type:String,default:function(){return""}},tableListData:{type:[Array,Object],default:function(){return[]}},failCount:{type:[String,Number],default:function(){return 0}},successCount:{type:[String,Number],default:function(){return 0}}},data:function(){return{customDialog:!1,tableData:[]}},mounted:function(){var t=this;t.customDialog=t.detailShow,t.auditIds&&(t.multLength=t.auditIds.split(",").length,t.tableData=JSON.parse(JSON.stringify(t.tableListData)))},methods:{handleClose:function(t){var e=this;t(),e.hideDialog()},customCancel:function(){var t=this;t.hideDialog()},hideDialog:function(){var t=this;t.customDialog=!1,t.$emit("hideDetailDialog")},getTableData:function(){var t=this,e={auditIds:t.auditIds};u(e).then((function(e){console.log(e),t.tableData=e.result.resultList||[],t.fail=e.result.fail,t.success=e.result.success})).catch((function(t){}))}},watch:{detailShow:function(t,e){var a=this;a.customDialog=t},auditIds:function(t,e){var a=this;t&&(a.multLength=t.split(",").length)},tableListData:function(t,e){var a=this;a.tableData=JSON.parse(JSON.stringify(t))}}},d=c,f=(a("99c3"),a("2877")),p=Object(f["a"])(d,l,o,!1,null,"3c9de904",null),g=p.exports,m=a("5b4e"),h=a("d157"),v=a("e230"),b=v["a"].getStaffDetail,w=r["a"].getReview,C=r["a"].getWxEnterprise,D=r["a"].postAudit,_=r["a"].postBatchApprove,y=r["a"].postRefuse,S=r["a"].getAuditDetail,x={name:"UnreviewPage",components:{storeChange:s["a"],reviewResultDetail:g},data:function(){return{wxEnterpriseId:localStorage.getItem("haoBanUser")?JSON.parse(localStorage.getItem("haoBanUser")).wxEnterpriseId:"",auditName:localStorage.getItem("haoBanUser")?JSON.parse(localStorage.getItem("haoBanUser")).staffName:"",auditType:"",filterBrand:"",brandOptions:[],searchValue:"",filterOptions:[{label:"全部事项",value:""},{label:"导购账号绑定",value:"1"},{label:"导购账号新增",value:"3"}],loading:!1,tableData:[],multipleSelection:[],currentPage:1,pageSize:20,total:0,selectId:"",ruleForm:{refuseReason:""},rules:{refuseReason:[{required:!0,message:"拒绝理由不能为空",trigger:"change"},{min:1,max:50,message:"长度在 1 到 50 个字",trigger:"change"}]},showStoreDialog:!1,storeChangeData:{beforeContent:[],afterContent:[]},approveVisible:!1,refuseVisible:!1,detailShow:!1,resultShow:!1,tableListData:[],resultText:"",failCount:0,successCount:0,userData:{staffName:"",phoneNumber:"",nationCode:"",postion:"",departmentInfo:[],headImg:"",wxUserId:"",sex:1},dialogVisible:!1,loadBtn:!1,timeFlag:null,loadingFull:""}},mounted:function(){var t=this;t.$emit("showTab","/unreview"),t.getTableList(),t.getBrandData()},beforeDestroy:function(){window.clearInterval(this.timeFlag),this.timeFlag=null},methods:{clearSearch:function(){var t=this;t.currentPage=1,t.getTableList()},changeTableList:function(){var t=this;t.currentPage=1,t.getTableList()},searchEnterFun:Object(h["a"])((function(t){var e=this,a=String(t.target.value).trim();if(!a)return!1;e.currentPage=1,e.getTableList()}),200),hideDetailDialog:function(){var t=this;t.detailShow=!1,t.currentPage=1,t.getTableList()},handleSelectionChange:function(t){var e=this;e.multipleSelection=t},handleSizeChange:function(t){var e=this;e.currentPage=1,e.pageSize=t,e.getTableList()},handleCurrentChange:function(t){var e=this;e.currentPage=t,e.getTableList()},handleClick:function(t,e,a){var i=this;if(i.selectId=e.auditId,a&&(i.refuseVisible=!0),a)return!1;i.$confirm("是否确认同意?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){i.sendApprove()})).catch((function(){i.selectId=""}))},sendApprove:Object(h["a"])((function(){var t=this;t.postApprove(t.selectId)}),500),postApprove:function(t){var e=this,a={auditId:t,auditName:e.auditName};D(a).then((function(t){"0000"==t.code?(m["a"].showmsg("操作成功","success"),e.approveVisible=!1,e.currentPage=1,e.getTableList(),e.$forceUpdate()):(e.currentPage=1,e.getTableList(),e.$message({message:t.message||"接口异常",type:"warning"}))})).catch((function(t){}))},approveAll:function(){var t=this,e=t.multipleSelection.length?t.multipleSelection.map((function(t){return t.auditId})).join(","):"";if(!e)return t.$message({message:"请至少选择一条审核事项",type:"warning"}),!1;t.dialogVisible=!0},postAllApprove:function(t){var e=this;e.loadBtn=!0;var a={auditIds:t,auditName:e.auditName};_(a).then((function(t){e.loadBtn=!1,"0000"==t.code?(e.dialogVisible=!1,e.$nextTick((function(){e.loadingFull=e.$loading({lock:!0,text:"数据处理中,请耐心等待",spinner:"el-icon-loading",background:"rgba(0, 0, 0, 0.7)"}),window.clearInterval(e.timeFlag),e.timeFlag=null,e.timeFlag=window.setInterval((function(){e.getDetailFlag()}),3e3),e.$once("hook:beforeDestroy",(function(){window.clearInterval(e.timeFlag),e.timeFlag=null}))}))):e.$message({message:t.message||"接口异常",type:"warning"})})).catch((function(t){e.loadBtn=!1}))},getDetailFlag:function(){var t=this,e={auditIds:t.multipleSelection.map((function(t){return t.auditId})).join(",")||""};S(e).then((function(e){e.result.auditResult?(t.auditIds=t.multipleSelection.map((function(t){return t.auditId})).join(","),t.loadingFull.close(),window.clearInterval(t.timeFlag),t.timeFlag=null,t.tableListData=e.result.resultList||[],t.failCount=e.result.fail||0,t.successCount=e.result.success||0,t.detailShow=!0,t.currentPage=1,t.getTableList()):(t.tableListData=[],t.detailShow=!1)})).catch((function(t){}))},cancelRefuse:function(t){var e=this;e.refuseVisible=!1,e.$refs["ruleForm"].resetFields()},sendRefuse:Object(h["a"])((function(t){var e=this;e.$refs[t].validate((function(t){if(!t)return!1;e.postRefuseData()}))}),500),postRefuseData:function(){var t=this,e={auditName:t.auditName,auditId:t.selectId,reason:Object(h["c"])(t.ruleForm.refuseReason)};y(e).then((function(e){"0000"==e.code?(m["a"].showmsg("操作成功","success"),t.refuseVisible=!1,t.$refs["ruleForm"].resetFields(),t.currentPage=1,t.getTableList()):(t.$message({message:e.message||"接口异常",type:"warning"}),t.currentPage=1,t.getTableList())})).catch((function(e){t.$message.error({duration:1e3,message:e.message})}))},showSingleInfo:function(t){var e=this,a={staffId:t};b(a).then((function(t){e.userData=t.result||{staffName:"",phoneNumber:"",nationCode:"",postion:"",departmentInfo:[],headImg:"",wxUserId:"",sex:1}})).catch((function(t){}))},showStoreChange:function(t){var e=this;e.storeChangeData={beforeContent:[],afterContent:[]},e.showStoreDialog=!0,e.storeChangeData={beforeContent:""!=t.oldValue?t.oldValue.split(","):[],afterContent:""!=t.newValue?t.newValue.split(","):[]}},getBrandData:function(){var t=this;C({wxEnterpriseId:t.wxEnterpriseId}).then((function(e){t.brandOptions=e.result||[]})).catch((function(t){}))},getTableList:function(){var t=this;t.loading=!0;var e={wxEnterpriseId:t.wxEnterpriseId,auditType:t.auditType,searchType:"0",search:t.searchValue,pageNum:t.currentPage,pageSize:t.pageSize,enterpriseId:t.filterBrand};w(e).then((function(e){t.loading=!1,t.tableData=e.result.result||[],t.total=e.result.totalCount})).catch((function(e){t.loading=!1}))}}},I=x,F=(a("7ef0"),Object(f["a"])(I,i,n,!1,null,"14ecbc26",null));e["default"]=F.exports},"28a5":function(t,e,a){"use strict";var i=a("aae3"),n=a("cb7c"),s=a("ebd6"),l=a("0390"),o=a("9def"),r=a("5f1b"),u=a("520a"),c=a("79e5"),d=Math.min,f=[].push,p="split",g="length",m="lastIndex",h=4294967295,v=!c((function(){RegExp(h,"y")}));a("214f")("split",2,(function(t,e,a,c){var b;return b="c"=="abbc"[p](/(b)*/)[1]||4!="test"[p](/(?:)/,-1)[g]||2!="ab"[p](/(?:ab)*/)[g]||4!="."[p](/(.?)(.?)/)[g]||"."[p](/()()/)[g]>1||""[p](/.?/)[g]?function(t,e){var n=String(this);if(void 0===t&&0===e)return[];if(!i(t))return a.call(n,t,e);var s,l,o,r=[],c=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),d=0,p=void 0===e?h:e>>>0,v=new RegExp(t.source,c+"g");while(s=u.call(v,n)){if(l=v[m],l>d&&(r.push(n.slice(d,s.index)),s[g]>1&&s.index<n[g]&&f.apply(r,s.slice(1)),o=s[0][g],d=l,r[g]>=p))break;v[m]===s.index&&v[m]++}return d===n[g]?!o&&v.test("")||r.push(""):r.push(n.slice(d)),r[g]>p?r.slice(0,p):r}:"0"[p](void 0,0)[g]?function(t,e){return void 0===t&&0===e?[]:a.call(this,t,e)}:a,[function(a,i){var n=t(this),s=void 0==a?void 0:a[e];return void 0!==s?s.call(a,n,i):b.call(String(n),a,i)},function(t,e){var i=c(b,t,this,e,b!==a);if(i.done)return i.value;var u=n(t),f=String(this),p=s(u,RegExp),g=u.unicode,m=(u.ignoreCase?"i":"")+(u.multiline?"m":"")+(u.unicode?"u":"")+(v?"y":"g"),w=new p(v?u:"^(?:"+u.source+")",m),C=void 0===e?h:e>>>0;if(0===C)return[];if(0===f.length)return null===r(w,f)?[f]:[];var D=0,_=0,y=[];while(_<f.length){w.lastIndex=v?_:0;var S,x=r(w,v?f:f.slice(_));if(null===x||(S=d(o(w.lastIndex+(v?0:_)),f.length))===D)_=l(f,_,g);else{if(y.push(f.slice(D,_)),y.length===C)return y;for(var I=1;I<=x.length-1;I++)if(y.push(x[I]),y.length===C)return y;_=D=S}}return y.push(f.slice(D)),y}]}))},3236:function(t,e,a){"use strict";var i=a("910d"),n=a.n(i);n.a},"399f":function(t,e,a){},"5b4e":function(t,e,a){"use strict";var i=a("5c96");e["a"]={showmsg:function(t,e){Object(i["Message"])({duration:1e3,message:t||"接口异常",type:e})}}},6300:function(t,e,a){"use strict";var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"custom-dialog-wrap"},[a("el-dialog",{attrs:{title:"门店图片变更",visible:t.customDialog,width:"600px","before-close":t.handleCardClose},on:{"update:visible":function(e){t.customDialog=e}}},[a("div",{staticClass:"dialog-content"},[a("el-row",[a("el-col",{attrs:{span:11}},[a("div",{staticClass:"grid-content bg-purple-dark"},[t._v("\n 变更前\n ")]),a("div",{staticClass:"data-body"},[a("div",{staticClass:"data-body-content flex flex-column"},[t._l(t.leftData,(function(t,e){return[a("img",{key:"img"+e,attrs:{src:t,alt:""}})]}))],2)])]),a("el-col",{attrs:{span:11}},[a("div",{staticClass:"grid-content bg-purple-dark"},[t._v("\n 变更后\n ")]),a("div",{staticClass:"data-body"},[a("div",{staticClass:"data-body-content flex flex-column"},[t._l(t.rightData,(function(t,e){return[a("img",{key:"img0"+e,attrs:{src:t,alt:""}})]}))],2)])])],1)],1)])],1)},n=[],s={name:"StoreChangeDialog",props:{value:{type:Boolean,default:!1},storeChangeData:{type:[Object,Array]}},data:function(){return{repProjectName:"haoban-web",customDialog:this.value,leftData:[],rightData:[]}},mounted:function(){var t=this;t.leftData=t.storeChangeData.beforeContent,t.rightData=t.storeChangeData.afterContent},methods:{handleCardClose:function(){var t=this;t.customCancel()},customCancel:function(){var t=this;t.customDialog=!1,t.$emit("input",t.customDialog)}},watch:{value:function(t,e){var a=this;a.customDialog=t},storeChangeData:function(t,e){var a=this;a.leftData=t.beforeContent,a.rightData=t.afterContent}}},l=s,o=(a("3236"),a("2877")),r=Object(o["a"])(l,i,n,!1,null,"19a03e61",null);e["a"]=r.exports},"6ce2a":function(t,e,a){t.exports=a.p+"img/member.1eda5d6c.png"},"71f6":function(t,e,a){"use strict";a.d(e,"a",(function(){return n}));a("ac6a"),a("456d");var i=a("b775");function n(t,e){t=t||{};var a=Object.keys(t);return a.forEach((function(a){var n=t[a];"string"===typeof n&&(n={url:n}),n.url="".concat(e).concat(n.url),t[a]=function(t,e){return Object(i["a"])(n,t,e)}})),t}},"7ef0":function(t,e,a){"use strict";var i=a("d92d"),n=a.n(i);n.a},"910d":function(t,e,a){},"96b6":function(t,e,a){"use strict";var i=a("71f6"),n={getReview:"/audit/audit-list",getWxEnterprise:"/auth-enterprise-list",getStaffInfo:"/get-staff-info",postAudit:{url:"/audit/agree",method:"post",useFormData:!0,useIntercept:!1},postBatchApprove:{url:"/audit/batch-agree",method:"post",useFormData:!0,useIntercept:!1},postRefuse:{url:"/audit/refuse",method:"post",useFormData:!0,useIntercept:!1},getAuditDetail:"/audit/batch-log-list",getAuditGroupList:"/auditGroup/audit-group-list",delAuditGroup:"/auditGroup/del-audit-group",auditGroupDetail:"/auditGroup/audit-group-detail",editAuditGroup:{url:"/auditGroup/edit-audit-group",method:"post",useFormData:!0},addAuditGroup:{url:"/auditGroup/add-audit-group",method:"post",useFormData:!0},getAdminList:"/auditGroup/select-manager-list",auditItemList:"/auditGroup/audit-item-list",delAuditItem:"/auditGroup/del-audit-item",addAuditItem:"/auditGroup/add-audit-item",editAuditItem:"/auditGroup/edit-audit-item",auditItemDetail:"/auditGroup/audit-item-detail",findAuditSetting:"/audit/find-audit-setting",saveAuditSetting:"/audit/save-audit-setting"};n=Object(i["a"])(n,"/hb-manage-web"),e["a"]=n},"99c3":function(t,e,a){"use strict";var i=a("399f"),n=a.n(i);n.a},d157:function(t,e,a){"use strict";a.d(e,"a",(function(){return i})),a.d(e,"b",(function(){return n})),a.d(e,"c",(function(){return s}));a("c5f6"),a("a481"),a("28a5"),a("6b54");function i(t,e){var a,i=e||200;return function(){var e=this,n=arguments;a&&clearTimeout(a),a=setTimeout((function(){a=null,t.apply(e,n)}),i)}}function n(t,e){var a,i,n=e||200;return function(){var e=this,s=arguments,l=+new Date;a&&l-a<n?(clearTimeout(i),i=setTimeout((function(){a=l,t.apply(e,s)}),n)):(a=l,t.apply(e,s))}}function s(t){return String(t)&&"null"!=String(t)?(t=String(t).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(t).replace(/\%uD.{3}/g,""))):""}},d92d:function(t,e,a){},e230:function(t,e,a){"use strict";var i=a("71f6"),n={getSyncCheck:"/sync/sync-check",refreshWx:"/sync/sync-contact",getDepartmentList:"/department-list-level",getCompanyDepartList:"/contact/get-department-list",getStaffList:"/contact/get-staff-list",getStaffDetail:"/contact/staff-detail",getStaffRelation:"/bind/staff-clerk-relation",delStaffRelation:{url:"/bind/staff-unbind",method:"post",useFormData:!0,useIntercept:!1},addStaffRelation:{url:"/bind/staff-bind",method:"post",useFormData:!0,useIntercept:!1},getClerkRelation:"/bind/search-clerk-list",getWxEnterprise:"/auth-enterprise-list",getBindLog:"/bind/bind-log-list",getRefreshLog:"/sync/sync-task",getSyncFailDetail:"/sync-task-detail",getNationCode:"/get-nation-code-list",getGicGroup:"/gic-department-list",getGicStore:"/get-store-list"};n=Object(i["a"])(n,"/hb-manage-web"),e["a"]=n}}]); (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-fc7916b6"],{1005:function(t,e,a){"use strict";a.r(e);var i=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"unreview-wrap common-set-wrap"},[i("div",{staticClass:"right-content"},[i("div",{staticClass:"right-box",staticStyle:{"min-height":"calc(100vh - 86px)"}},[i("div",{staticClass:"reviewed-body-head flex flex-space-between"},[i("div",[i("el-input",{staticClass:"w-344",attrs:{maxlength:"50",placeholder:"请输入提交人姓名/账号/手机号","prefix-icon":"el-icon-search",clearable:""},on:{clear:t.clearSearch},nativeOn:{keyup:function(e){return function(e){return t.searchEnterFun(e,t.searchInput)}(e)}},model:{value:t.searchValue,callback:function(e){t.searchValue=e},expression:"searchValue"}}),i("el-select",{staticClass:"w-130 m-l-10",attrs:{placeholder:"全部事项"},on:{change:t.changeTableList},model:{value:t.auditType,callback:function(e){t.auditType=e},expression:"auditType"}},t._l(t.filterOptions,(function(t){return i("el-option",{key:t.value,attrs:{label:t.label,value:t.value}})})),1),i("el-select",{staticClass:"w-168 m-l-10",attrs:{placeholder:"全部品牌"},on:{change:t.changeTableList},model:{value:t.filterBrand,callback:function(e){t.filterBrand=e},expression:"filterBrand"}},[i("el-option",{attrs:{label:"全部品牌",value:""}}),t._l(t.brandOptions,(function(t){return i("el-option",{key:t.enterpriseId,attrs:{label:t.enterpriseName,value:t.enterpriseId}})}))],2)],1),i("dm-perm-button",{attrs:{disabled:t.$itemPerm(t.$itemCode.batchAudit),type:"primary"},on:{click:t.approveAll}},[t._v("批量同意")])],1),i("div",{staticClass:"reviewed-body-content"},[i("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],ref:"multipleTable",staticStyle:{width:"100%"},attrs:{data:t.tableData,"tooltip-effect":"dark"},on:{"selection-change":t.handleSelectionChange}},[i("el-table-column",{attrs:{type:"selection",width:"55"}}),i("el-table-column",{attrs:{label:"审核事项"},scopedSlots:t._u([{key:"default",fn:function(e){return[1==e.row.auditType?i("span",[t._v("导购账号绑定")]):t._e(),3==e.row.auditType?i("span",[t._v("导购账号新增")]):t._e()]}}])}),i("el-table-column",{attrs:{label:"提交人","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[i("div",{staticClass:"flex"},[i("el-popover",{attrs:{placement:"top",width:"300",trigger:"hover"},on:{show:function(a){return t.showSingleInfo(e.row.submitStaffId)}}},[i("div",{staticClass:"apply-info-detail"},[i("div",{staticClass:"flex"},[i("div",{staticClass:"apply-info-img flex-align-center flex-pack-center bg-82c5ff "},[t.userData.headImg?i("img",{attrs:{src:t.userData.headImg,alt:"img"}}):i("img",{attrs:{src:a("6ce2a"),alt:"img"}})]),i("div",{staticClass:"flex flex-column apply-info-right flex-pack-center"},[i("div",{staticClass:"apply-info-name"},[i("span",{staticClass:"font-14 color-303133"},[t._v(t._s(t.userData.staffName||"--"))]),i("span",{staticClass:"font-14 color-90939"},[t._v("( "+t._s(1==t.userData.sex?"男":2==t.userData.sex?"女":"--")+")")])])])]),i("div",{staticClass:"flex flex-space-between line-26 m-t-15"},[i("div",{staticClass:"font-14 color-606266"},[t._v("账号")]),i("div",{staticClass:"font-14 color-303133"},[t._v(t._s(t.userData.wxUserId||"--"))])]),i("div",{staticClass:"flex flex-space-between line-26"},[i("div",{staticClass:"font-14 color-606266"},[t._v("职务")]),i("div",{staticClass:"font-14 color-303133"},[t._v(t._s(t.userData.postion||"--"))])]),i("div",{staticClass:"flex flex-space-between line-26"},[i("div",{staticClass:"font-14 color-606266"},[t._v("手机号")]),i("div",{staticClass:"font-14 color-303133"},[t._v(t._s(t.userData.nationCode||"--")+"-"+t._s(t.userData.phoneNumber||"--"))])]),i("div",{staticClass:"flex flex-space-between line-26"},[i("div",{staticClass:"font-14 color-606266 w-m-100"},[t._v("部门")]),i("div",{staticClass:"font-14 color-303133"},[t._v(t._s(t.userData.departmentInfo.map((function(t){return t.departmentName})).join(";")||"--"))])])]),i("div",{attrs:{slot:"reference"},slot:"reference"},[i("div",{staticClass:"flex flex-align-center flex-pack-center bg-82c5ff table-head-pic cursor-pointer"},[e.row.submitHeadImg?i("img",{attrs:{src:e.row.submitHeadImg,alt:"img"}}):i("img",{attrs:{src:a("6ce2a"),alt:"img"}})])])]),i("div",{staticClass:"flex flex-column apply-info hide-ellipsis"},[i("span",{staticClass:"font-14 color-606266 hide-ellipsis"},[t._v(t._s(e.row.submitStaffName||"--"))]),i("span",{staticClass:"font-12 color-909399 hide-ellipsis"},[t._v(t._s(e.row.submitWxUserId||"--"))])])],1)]}}])}),i("el-table-column",{attrs:{label:"详情","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(e.row.content||"--")+"\n ")]}}])}),i("el-table-column",{attrs:{label:"提交时间","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[i("div",{staticClass:"line-h-18"},[t._v(t._s(t._f("timeStampToYmd")(e.row.createTime)))]),i("div",{staticClass:"line-h-18"},[t._v(t._s(t._f("timeStampToHms")(e.row.createTime)))])]}}])}),i("el-table-column",{attrs:{label:"操作",width:"150"},scopedSlots:t._u([{key:"default",fn:function(e){return[i("el-button",{attrs:{type:"text"},on:{click:function(a){return t.handleClick(e.$index,e.row)}}},[t._v("同意")]),i("el-button",{attrs:{type:"text"},on:{click:function(a){return t.handleClick(e.$index,e.row,"refuse")}}},[t._v("拒绝")])]}}])})],1),0!=t.tableData.length?i("div",{staticClass:"block common-wrap__page text-right"},[i("dm-pagination",{attrs:{background:"","current-page":t.currentPage,"page-sizes":[20,40,60,80],"page-size":t.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:t.total},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}})],1):t._e()],1)])]),i("store-change",{attrs:{"store-change-data":t.storeChangeData},model:{value:t.showStoreDialog,callback:function(e){t.showStoreDialog=e},expression:"showStoreDialog"}}),i("el-dialog",{staticClass:"approve-dialog",attrs:{title:"",visible:t.approveVisible,width:"422px"},on:{"update:visible":function(e){t.approveVisible=e}}},[i("div",{staticClass:"approve-body text-center"},[i("div",[i("i",{staticClass:"el-icon-success"}),i("span",{staticClass:"approve-icon-tip"},[t._v("同意")])]),i("div",{staticClass:"approve-tip"},[t._v("是否确认同意")])]),i("div",{staticClass:"approve-footer dialog-footer",staticStyle:{"text-align":"center"},attrs:{slot:"footer"},slot:"footer"},[i("el-button",{on:{click:function(e){t.approveVisible=!1}}},[t._v("取 消")]),i("el-button",{attrs:{type:"primary"},on:{click:t.sendApprove}},[t._v("确 定")])],1)]),i("el-dialog",{staticClass:"refuse-dialog",attrs:{title:"提示",visible:t.refuseVisible,"before-close":t.cancelRefuse,width:"422px"},on:{"update:visible":function(e){t.refuseVisible=e}}},[i("div",[i("div",{staticClass:"refuse-tip"},[t._v("请输入拒绝理由")]),i("el-form",{ref:"ruleForm",staticClass:"demo-ruleForm",attrs:{model:t.ruleForm,rules:t.rules}},[i("el-form-item",{attrs:{label:"",prop:"refuseReason"}},[i("el-input",{staticClass:"font-14",attrs:{type:"textarea",placeholder:"最多 50 个字",rows:3},model:{value:t.ruleForm.refuseReason,callback:function(e){t.$set(t.ruleForm,"refuseReason",e)},expression:"ruleForm.refuseReason"}})],1)],1)],1),i("div",{staticClass:"approve-footer dialog-footer",attrs:{slot:"footer"},slot:"footer"},[i("el-button",{on:{click:function(e){return t.cancelRefuse("ruleForm")}}},[t._v("取 消")]),i("el-button",{attrs:{type:"primary"},on:{click:function(e){return t.sendRefuse("ruleForm")}}},[t._v("确 定")])],1)]),i("review-result-detail",{attrs:{"audit-ids":t.auditIds,"success-count":t.successCount,"fail-count":t.failCount,"table-list-data":t.tableListData,"detail-show":t.detailShow},on:{hideDetailDialog:t.hideDetailDialog}}),i("el-dialog",{attrs:{title:"提示",visible:t.dialogVisible,width:"30%"},on:{"update:visible":function(e){t.dialogVisible=e}}},[i("span",[t._v("共"+t._s(t.multipleSelection.length)+"条审核事项,是否批量同意?")]),i("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[i("el-button",{on:{click:function(e){t.dialogVisible=!1}}},[t._v("取 消")]),i("el-button",{attrs:{type:"primary",loading:t.loadBtn},on:{click:function(e){t.postAllApprove(t.multipleSelection.map((function(t){return t.auditId})).join(","))}}},[t._v("确 定")])],1)])],1)},n=[],s=(a("28a5"),a("6300")),l=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{directives:[{name:"show",rawName:"v-show",value:t.customDialog,expression:"customDialog"}]},[a("el-dialog",{staticClass:"edit-dialog",attrs:{title:"审核详情",visible:t.customDialog,width:"600px","before-close":t.handleClose},on:{"update:visible":function(e){t.customDialog=e}}},[a("div",{staticClass:"edit-dialog-body"},[a("div",{staticClass:"font-14 color-606266 m-b-8"},[t._v("共 "+t._s(t.multLength||"")+" 条审核事项, "+t._s(t.successCount||"0")+" 条成功, "),a("span",{staticClass:"color-f5222d"},[t._v(t._s(t.failCount||"0")+" ")]),t._v(" 条失败,失败详情如下:")]),a("el-table",{staticStyle:{width:"100%"},attrs:{data:t.tableData,height:"332"}},[a("el-table-column",{attrs:{prop:"publishRecordId",label:"审核事项","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[1==e.row.auditType?a("span",[t._v("导购账号绑定")]):t._e(),3==e.row.auditType?a("span",[t._v("导购账号新增")]):t._e()]}}])}),a("el-table-column",{attrs:{label:"商户","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(e.row.enterpriseName||"--")+"\n ")]}}])}),a("el-table-column",{attrs:{label:"提交人","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(e.row.submitStaffName||"--")+"\n ")]}}])}),a("el-table-column",{attrs:{label:"提交时间",width:"120"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",{staticClass:"color-606266 line-18"},[t._v(t._s(t._f("timeStampToYmd")(e.row.createTime))+" "+t._s(e.row.createTime?"":"--"))]),a("div",{staticClass:"color-606266 line-18"},[t._v(t._s(t._f("timeStampToHms")(e.row.createTime))+" "+t._s(e.row.createTime?"":"--"))])]}}])}),a("el-table-column",{attrs:{label:"状态"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",{class:["span-dot",1==e.row.auditFlag?"bg-33af4a ":"bg-f5222d"]}),1==e.row.auditFlag?a("span",[t._v("已同意")]):t._e()]}}])}),a("el-table-column",{attrs:{label:"结果"},scopedSlots:t._u([{key:"default",fn:function(e){return[2==e.row.statusFlag&&1==e.row.auditFlag?a("span",[t._v("成功")]):t._e(),2==e.row.auditFlag?a("span",[t._v("--")]):t._e(),1==e.row.statusFlag&&1==e.row.auditFlag?a("el-popover",{attrs:{placement:"top",width:"200",trigger:"hover",content:e.row.reason}},[a("span",{staticClass:"common-bottom-border",attrs:{slot:"reference"},slot:"reference"},[t._v("失败")])]):t._e()]}}])})],1)],1)])],1)},o=[],r=(a("c5f6"),a("96b6")),u=r["a"].getAuditDetail,c={name:"ReviewResultDetail",props:{detailShow:{type:Boolean,default:!1},auditIds:{type:String,default:function(){return""}},tableListData:{type:[Array,Object],default:function(){return[]}},failCount:{type:[String,Number],default:function(){return 0}},successCount:{type:[String,Number],default:function(){return 0}}},data:function(){return{customDialog:!1,tableData:[]}},mounted:function(){var t=this;t.customDialog=t.detailShow,t.auditIds&&(t.multLength=t.auditIds.split(",").length,t.tableData=JSON.parse(JSON.stringify(t.tableListData)))},methods:{handleClose:function(t){var e=this;t(),e.hideDialog()},customCancel:function(){var t=this;t.hideDialog()},hideDialog:function(){var t=this;t.customDialog=!1,t.$emit("hideDetailDialog")},getTableData:function(){var t=this,e={auditIds:t.auditIds};u(e).then((function(e){console.log(e),t.tableData=e.result.resultList||[],t.fail=e.result.fail,t.success=e.result.success})).catch((function(t){}))}},watch:{detailShow:function(t,e){var a=this;a.customDialog=t},auditIds:function(t,e){var a=this;t&&(a.multLength=t.split(",").length)},tableListData:function(t,e){var a=this;a.tableData=JSON.parse(JSON.stringify(t))}}},d=c,f=(a("99c3"),a("2877")),p=Object(f["a"])(d,l,o,!1,null,"3c9de904",null),g=p.exports,m=a("5b4e"),h=a("d157"),v=a("e230"),b=v["a"].getStaffDetail,w=r["a"].getReview,C=r["a"].getWxEnterprise,D=r["a"].postAudit,_=r["a"].postBatchApprove,y=r["a"].postRefuse,S=r["a"].getAuditDetail,x={name:"UnreviewPage",components:{storeChange:s["a"],reviewResultDetail:g},data:function(){return{wxEnterpriseId:localStorage.getItem("haoBanUser")?JSON.parse(localStorage.getItem("haoBanUser")).wxEnterpriseId:"",auditName:localStorage.getItem("haoBanUser")?JSON.parse(localStorage.getItem("haoBanUser")).staffName:"",auditType:"",filterBrand:"",brandOptions:[],searchValue:"",filterOptions:[{label:"全部事项",value:""},{label:"导购账号绑定",value:"1"},{label:"导购账号新增",value:"3"}],loading:!1,tableData:[],multipleSelection:[],currentPage:1,pageSize:20,total:0,selectId:"",ruleForm:{refuseReason:""},rules:{refuseReason:[{required:!0,message:"拒绝理由不能为空",trigger:"change"},{min:1,max:50,message:"长度在 1 到 50 个字",trigger:"change"}]},showStoreDialog:!1,storeChangeData:{beforeContent:[],afterContent:[]},approveVisible:!1,refuseVisible:!1,detailShow:!1,resultShow:!1,tableListData:[],resultText:"",failCount:0,successCount:0,userData:{staffName:"",phoneNumber:"",nationCode:"",postion:"",departmentInfo:[],headImg:"",wxUserId:"",sex:1},dialogVisible:!1,loadBtn:!1,timeFlag:null,loadingFull:""}},mounted:function(){var t=this;t.$emit("showTab","/unreview"),t.getTableList(),t.getBrandData()},beforeDestroy:function(){window.clearInterval(this.timeFlag),this.timeFlag=null},methods:{clearSearch:function(){var t=this;t.currentPage=1,t.getTableList()},changeTableList:function(){var t=this;t.currentPage=1,t.getTableList()},searchEnterFun:Object(h["a"])((function(t){var e=this,a=String(t.target.value).trim();if(!a)return!1;e.currentPage=1,e.getTableList()}),200),hideDetailDialog:function(){var t=this;t.detailShow=!1,t.currentPage=1,t.getTableList()},handleSelectionChange:function(t){var e=this;e.multipleSelection=t},handleSizeChange:function(t){var e=this;e.currentPage=1,e.pageSize=t,e.getTableList()},handleCurrentChange:function(t){var e=this;e.currentPage=t,e.getTableList()},handleClick:function(t,e,a){var i=this;if(i.selectId=e.auditId,a&&(i.refuseVisible=!0),a)return!1;i.$confirm("是否确认同意?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){i.sendApprove()})).catch((function(){i.selectId=""}))},sendApprove:Object(h["a"])((function(){var t=this;t.postApprove(t.selectId)}),500),postApprove:function(t){var e=this,a={auditId:t,auditName:e.auditName};D(a).then((function(t){"0000"==t.code?(m["a"].showmsg("操作成功","success"),e.approveVisible=!1,e.currentPage=1,e.getTableList(),e.$forceUpdate()):(e.currentPage=1,e.getTableList(),e.$message({message:t.message||"接口异常",type:"warning"}))})).catch((function(t){}))},approveAll:function(){var t=this,e=t.multipleSelection.length?t.multipleSelection.map((function(t){return t.auditId})).join(","):"";if(!e)return t.$message({message:"请至少选择一条审核事项",type:"warning"}),!1;t.dialogVisible=!0},postAllApprove:function(t){var e=this;e.loadBtn=!0;var a={auditIds:t,auditName:e.auditName};_(a).then((function(t){e.loadBtn=!1,"0000"==t.code?(e.dialogVisible=!1,e.$nextTick((function(){e.loadingFull=e.$loading({lock:!0,text:"数据处理中,请耐心等待",spinner:"el-icon-loading",background:"rgba(0, 0, 0, 0.7)"}),window.clearInterval(e.timeFlag),e.timeFlag=null,e.timeFlag=window.setInterval((function(){e.getDetailFlag()}),3e3),e.$once("hook:beforeDestroy",(function(){window.clearInterval(e.timeFlag),e.timeFlag=null}))}))):e.$message({message:t.message||"接口异常",type:"warning"})})).catch((function(t){e.loadBtn=!1}))},getDetailFlag:function(){var t=this,e={auditIds:t.multipleSelection.map((function(t){return t.auditId})).join(",")||""};S(e).then((function(e){e.result.auditResult?(t.auditIds=t.multipleSelection.map((function(t){return t.auditId})).join(","),t.loadingFull.close(),window.clearInterval(t.timeFlag),t.timeFlag=null,t.tableListData=e.result.resultList||[],t.failCount=e.result.fail||0,t.successCount=e.result.success||0,t.detailShow=!0,t.currentPage=1,t.getTableList()):(t.tableListData=[],t.detailShow=!1)})).catch((function(t){}))},cancelRefuse:function(t){var e=this;e.refuseVisible=!1,e.$refs["ruleForm"].resetFields()},sendRefuse:Object(h["a"])((function(t){var e=this;e.$refs[t].validate((function(t){if(!t)return!1;e.postRefuseData()}))}),500),postRefuseData:function(){var t=this,e={auditName:t.auditName,auditId:t.selectId,reason:Object(h["c"])(t.ruleForm.refuseReason)};y(e).then((function(e){"0000"==e.code?(m["a"].showmsg("操作成功","success"),t.refuseVisible=!1,t.$refs["ruleForm"].resetFields(),t.currentPage=1,t.getTableList()):(t.$message({message:e.message||"接口异常",type:"warning"}),t.currentPage=1,t.getTableList())})).catch((function(e){t.$message.error({duration:1e3,message:e.message})}))},showSingleInfo:function(t){var e=this,a={staffId:t};b(a).then((function(t){e.userData=t.result||{staffName:"",phoneNumber:"",nationCode:"",postion:"",departmentInfo:[],headImg:"",wxUserId:"",sex:1}})).catch((function(t){}))},showStoreChange:function(t){var e=this;e.storeChangeData={beforeContent:[],afterContent:[]},e.showStoreDialog=!0,e.storeChangeData={beforeContent:""!=t.oldValue?t.oldValue.split(","):[],afterContent:""!=t.newValue?t.newValue.split(","):[]}},getBrandData:function(){var t=this;C({wxEnterpriseId:t.wxEnterpriseId}).then((function(e){t.brandOptions=e.result||[]})).catch((function(t){}))},getTableList:function(){var t=this;t.loading=!0;var e={wxEnterpriseId:t.wxEnterpriseId,auditType:t.auditType,searchType:"0",search:t.searchValue,pageNum:t.currentPage,pageSize:t.pageSize,enterpriseId:t.filterBrand};w(e).then((function(e){t.loading=!1,t.tableData=e.result.result||[],t.total=e.result.totalCount})).catch((function(e){t.loading=!1}))}}},I=x,F=(a("7ef0"),Object(f["a"])(I,i,n,!1,null,"14ecbc26",null));e["default"]=F.exports},"28a5":function(t,e,a){"use strict";var i=a("aae3"),n=a("cb7c"),s=a("ebd6"),l=a("0390"),o=a("9def"),r=a("5f1b"),u=a("520a"),c=a("79e5"),d=Math.min,f=[].push,p="split",g="length",m="lastIndex",h=4294967295,v=!c((function(){RegExp(h,"y")}));a("214f")("split",2,(function(t,e,a,c){var b;return b="c"=="abbc"[p](/(b)*/)[1]||4!="test"[p](/(?:)/,-1)[g]||2!="ab"[p](/(?:ab)*/)[g]||4!="."[p](/(.?)(.?)/)[g]||"."[p](/()()/)[g]>1||""[p](/.?/)[g]?function(t,e){var n=String(this);if(void 0===t&&0===e)return[];if(!i(t))return a.call(n,t,e);var s,l,o,r=[],c=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),d=0,p=void 0===e?h:e>>>0,v=new RegExp(t.source,c+"g");while(s=u.call(v,n)){if(l=v[m],l>d&&(r.push(n.slice(d,s.index)),s[g]>1&&s.index<n[g]&&f.apply(r,s.slice(1)),o=s[0][g],d=l,r[g]>=p))break;v[m]===s.index&&v[m]++}return d===n[g]?!o&&v.test("")||r.push(""):r.push(n.slice(d)),r[g]>p?r.slice(0,p):r}:"0"[p](void 0,0)[g]?function(t,e){return void 0===t&&0===e?[]:a.call(this,t,e)}:a,[function(a,i){var n=t(this),s=void 0==a?void 0:a[e];return void 0!==s?s.call(a,n,i):b.call(String(n),a,i)},function(t,e){var i=c(b,t,this,e,b!==a);if(i.done)return i.value;var u=n(t),f=String(this),p=s(u,RegExp),g=u.unicode,m=(u.ignoreCase?"i":"")+(u.multiline?"m":"")+(u.unicode?"u":"")+(v?"y":"g"),w=new p(v?u:"^(?:"+u.source+")",m),C=void 0===e?h:e>>>0;if(0===C)return[];if(0===f.length)return null===r(w,f)?[f]:[];var D=0,_=0,y=[];while(_<f.length){w.lastIndex=v?_:0;var S,x=r(w,v?f:f.slice(_));if(null===x||(S=d(o(w.lastIndex+(v?0:_)),f.length))===D)_=l(f,_,g);else{if(y.push(f.slice(D,_)),y.length===C)return y;for(var I=1;I<=x.length-1;I++)if(y.push(x[I]),y.length===C)return y;_=D=S}}return y.push(f.slice(D)),y}]}))},3236:function(t,e,a){"use strict";var i=a("910d"),n=a.n(i);n.a},"399f":function(t,e,a){},"5b4e":function(t,e,a){"use strict";var i=a("5c96");e["a"]={showmsg:function(t,e){Object(i["Message"])({duration:1e3,message:t||"接口异常",type:e})}}},6300:function(t,e,a){"use strict";var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"custom-dialog-wrap"},[a("el-dialog",{attrs:{title:"门店图片变更",visible:t.customDialog,width:"600px","before-close":t.handleCardClose},on:{"update:visible":function(e){t.customDialog=e}}},[a("div",{staticClass:"dialog-content"},[a("el-row",[a("el-col",{attrs:{span:11}},[a("div",{staticClass:"grid-content bg-purple-dark"},[t._v("\n 变更前\n ")]),a("div",{staticClass:"data-body"},[a("div",{staticClass:"data-body-content flex flex-column"},[t._l(t.leftData,(function(t,e){return[a("img",{key:"img"+e,attrs:{src:t,alt:""}})]}))],2)])]),a("el-col",{attrs:{span:11}},[a("div",{staticClass:"grid-content bg-purple-dark"},[t._v("\n 变更后\n ")]),a("div",{staticClass:"data-body"},[a("div",{staticClass:"data-body-content flex flex-column"},[t._l(t.rightData,(function(t,e){return[a("img",{key:"img0"+e,attrs:{src:t,alt:""}})]}))],2)])])],1)],1)])],1)},n=[],s={name:"StoreChangeDialog",props:{value:{type:Boolean,default:!1},storeChangeData:{type:[Object,Array]}},data:function(){return{repProjectName:"haoban-web",customDialog:this.value,leftData:[],rightData:[]}},mounted:function(){var t=this;t.leftData=t.storeChangeData.beforeContent,t.rightData=t.storeChangeData.afterContent},methods:{handleCardClose:function(){var t=this;t.customCancel()},customCancel:function(){var t=this;t.customDialog=!1,t.$emit("input",t.customDialog)}},watch:{value:function(t,e){var a=this;a.customDialog=t},storeChangeData:function(t,e){var a=this;a.leftData=t.beforeContent,a.rightData=t.afterContent}}},l=s,o=(a("3236"),a("2877")),r=Object(o["a"])(l,i,n,!1,null,"19a03e61",null);e["a"]=r.exports},"6ce2a":function(t,e,a){t.exports=a.p+"img/member.1eda5d6c.png"},"71f6":function(t,e,a){"use strict";a.d(e,"a",(function(){return n}));a("ac6a"),a("456d");var i=a("b775");function n(t,e){t=t||{};var a=Object.keys(t);return a.forEach((function(a){var n=t[a];"string"===typeof n&&(n={url:n}),n.url="".concat(e).concat(n.url),t[a]=function(t,e){return Object(i["a"])(n,t,e)}})),t}},"7ef0":function(t,e,a){"use strict";var i=a("d92d"),n=a.n(i);n.a},"910d":function(t,e,a){},"96b6":function(t,e,a){"use strict";var i=a("71f6"),n={getReview:"/audit/audit-list",getWxEnterprise:"/auth-enterprise-list",getStaffInfo:"/get-staff-info",postAudit:{url:"/audit/agree",method:"post",useFormData:!0,useIntercept:!1},postBatchApprove:{url:"/audit/batch-agree",method:"post",useFormData:!0,useIntercept:!1},postRefuse:{url:"/audit/refuse",method:"post",useFormData:!0,useIntercept:!1},getAuditDetail:"/audit/batch-log-list",getAuditGroupList:"/auditGroup/audit-group-list",delAuditGroup:"/auditGroup/del-audit-group",auditGroupDetail:"/auditGroup/audit-group-detail",editAuditGroup:{url:"/auditGroup/edit-audit-group",method:"post",useFormData:!0},addAuditGroup:{url:"/auditGroup/add-audit-group",method:"post",useFormData:!0},getAdminList:"/auditGroup/select-manager-list",auditItemList:"/auditGroup/audit-item-list",delAuditItem:"/auditGroup/del-audit-item",addAuditItem:"/auditGroup/add-audit-item",editAuditItem:"/auditGroup/edit-audit-item",auditItemDetail:"/auditGroup/audit-item-detail",findAuditSetting:"/audit/find-audit-setting",saveAuditSetting:"/audit/save-audit-setting"};n=Object(i["a"])(n,"/hb-manage-web"),e["a"]=n},"99c3":function(t,e,a){"use strict";var i=a("399f"),n=a.n(i);n.a},d157:function(t,e,a){"use strict";a.d(e,"a",(function(){return i})),a.d(e,"b",(function(){return n})),a.d(e,"c",(function(){return s}));a("c5f6"),a("a481"),a("28a5"),a("6b54");function i(t,e){var a,i=e||200;return function(){var e=this,n=arguments;a&&clearTimeout(a),a=setTimeout((function(){a=null,t.apply(e,n)}),i)}}function n(t,e){var a,i,n=e||200;return function(){var e=this,s=arguments,l=+new Date;a&&l-a<n?(clearTimeout(i),i=setTimeout((function(){a=l,t.apply(e,s)}),n)):(a=l,t.apply(e,s))}}function s(t){return String(t)&&"null"!=String(t)?(t=String(t).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(t).replace(/\%uD.{3}/g,""))):""}},d92d:function(t,e,a){},e230:function(t,e,a){"use strict";var i=a("71f6"),n={getSyncCheck:"/sync/sync-check",refreshWx:"/sync/sync-contact",getDepartmentList:"/department-list-level",getCompanyDepartList:"/contact/get-department-list",getStaffList:"/contact/get-staff-list",getStaffDetail:"/contact/staff-detail",getStaffRelation:"/bind/staff-clerk-relation",delStaffRelation:{url:"/bind/staff-unbind",method:"post",useFormData:!0,useIntercept:!1},addStaffRelation:{url:"/bind/staff-bind",method:"post",useFormData:!0,useIntercept:!1},getClerkRelation:"/bind/search-clerk-list",getWxEnterprise:"/auth-enterprise-list",getBindLog:"/bind/bind-log-list",getRefreshLog:"/sync/sync-task",getSyncFailDetail:"/sync-task-detail",getNationCode:"/get-nation-code-list",getGicGroup:"/gic-department-list",getGicStore:"/get-store-list"};n=Object(i["a"])(n,"/hb-manage-web"),e["a"]=n}}]);
\ No newline at end of file \ No newline at end of file
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* @Author: 无尘 * @Author: 无尘
* @Date: 2020-11-12 10:47:17 * @Date: 2020-11-12 10:47:17
* @LastEditors: 无尘 * @LastEditors: 无尘
* @LastEditTime: 2020-11-23 16:06:15 * @LastEditTime: 2020-11-23 16:55:42
--> -->
<template> <template>
<div class="common-app-right" style="padding: 20px 0;color: #303133"> <div class="common-app-right" style="padding: 20px 0;color: #303133">
...@@ -201,6 +201,9 @@ export default { ...@@ -201,6 +201,9 @@ export default {
res.result.forEach(ele => { res.result.forEach(ele => {
ele.performanceDay = ele.performanceDay.split('-')[2]; ele.performanceDay = ele.performanceDay.split('-')[2];
}); });
res.result.sort(function(a, b) {
return a.performanceDay.replaceAll('-', '') - b.performanceDay.replaceAll('-', '');
});
that.tableData = res.result; that.tableData = res.result;
}); });
} }
......
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