Commit 68a94e2b by 无尘

fix: 修改我的顾客

parent 442c79f1
<!DOCTYPE html><html><head><meta charset=utf-8><link rel="shortcut icon" href=./favicon.ico><title>好办管理平台</title><link rel=stylesheet type=text/css href=//web-1251519181.file.myqcloud.com/custom-element/custom-element.1.0.28.css><link href=./static/css/app.4de284dcc5acea407612102fff03f761.css rel=stylesheet></head><body style="min-width: 1400px;" class=damolish><div id=app></div><script src=//web-1251519181.file.myqcloud.com/lib/vue/2.6.6/vue.min.js></script><script src=//web-1251519181.file.myqcloud.com/lib/vue-router/3.0.2/vue-router.min.js></script><script src=//web-1251519181.file.myqcloud.com/lib/vuex/3.1.0/vuex.min.js></script><script src=//web-1251519181.file.myqcloud.com/components/img-preview.2.0.00.js></script><script src=//web-1251519181.file.myqcloud.com/components/footer.2.0.04.js></script><script src=//web-1251519181.file.myqcloud.com/components/pagination.1.0.5.js></script><script>// Raven.config('https://3715a345910d4c768e7a1ec14619c2d5@sentry.io/1413672').install();</script><script type=text/javascript src=./static/js/manifest.8ba758494f082e09e332.js></script><script type=text/javascript src=./static/js/vendor.62ac2d475dfcb7888aad.js></script><script type=text/javascript src=./static/js/app.4081f0bca6632a2d178e.js></script></body></html> <!DOCTYPE html><html><head><meta charset=utf-8><link rel="shortcut icon" href=./favicon.ico><title>好办管理平台</title><link rel=stylesheet type=text/css href=//web-1251519181.file.myqcloud.com/custom-element/custom-element.1.0.28.css><link href=./static/css/app.95b2b337723fe013262766a44fb2e6b9.css rel=stylesheet></head><body style="min-width: 1400px;" class=damolish><div id=app></div><script src=//web-1251519181.file.myqcloud.com/lib/vue/2.6.6/vue.min.js></script><script src=//web-1251519181.file.myqcloud.com/lib/vue-router/3.0.2/vue-router.min.js></script><script src=//web-1251519181.file.myqcloud.com/lib/vuex/3.1.0/vuex.min.js></script><script src=//web-1251519181.file.myqcloud.com/components/img-preview.2.0.00.js></script><script src=//web-1251519181.file.myqcloud.com/components/footer.2.0.04.js></script><script src=//web-1251519181.file.myqcloud.com/components/pagination.1.0.5.js></script><script>// Raven.config('https://3715a345910d4c768e7a1ec14619c2d5@sentry.io/1413672').install();</script><script type=text/javascript src=./static/js/manifest.1140134cdb256063c28d.js></script><script type=text/javascript src=./static/js/vendor.62ac2d475dfcb7888aad.js></script><script type=text/javascript src=./static/js/app.6e2a7d25af431e3b2347.js></script></body></html>
\ No newline at end of file \ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -31,6 +31,18 @@ ...@@ -31,6 +31,18 @@
<ul class="icon_lists dib-box"> <ul class="icon_lists dib-box">
<li class="dib"> <li class="dib">
<span class="icon iconfont">&#xe60b;</span>
<div class="name">商品设置</div>
<div class="code-name">&amp;#xe60b;</div>
</li>
<li class="dib">
<span class="icon iconfont">&#xe60a;</span>
<div class="name">我的顾客 icon</div>
<div class="code-name">&amp;#xe60a;</div>
</li>
<li class="dib">
<span class="icon iconfont">&#xe613;</span> <span class="icon iconfont">&#xe613;</span>
<div class="name">刷新</div> <div class="name">刷新</div>
<div class="code-name">&amp;#xe613;</div> <div class="code-name">&amp;#xe613;</div>
...@@ -447,6 +459,24 @@ ...@@ -447,6 +459,24 @@
<ul class="icon_lists dib-box"> <ul class="icon_lists dib-box">
<li class="dib"> <li class="dib">
<span class="icon iconfont iconshangpinshezhi"></span>
<div class="name">
商品设置
</div>
<div class="code-name">.iconshangpinshezhi
</div>
</li>
<li class="dib">
<span class="icon iconfont icongukeguanliicon"></span>
<div class="name">
我的顾客 icon
</div>
<div class="code-name">.icongukeguanliicon
</div>
</li>
<li class="dib">
<span class="icon iconfont iconshuaxin1"></span> <span class="icon iconfont iconshuaxin1"></span>
<div class="name"> <div class="name">
刷新 刷新
...@@ -1026,6 +1056,22 @@ ...@@ -1026,6 +1056,22 @@
<li class="dib"> <li class="dib">
<svg class="icon svg-icon" aria-hidden="true"> <svg class="icon svg-icon" aria-hidden="true">
<use xlink:href="#iconshangpinshezhi"></use>
</svg>
<div class="name">商品设置</div>
<div class="code-name">#iconshangpinshezhi</div>
</li>
<li class="dib">
<svg class="icon svg-icon" aria-hidden="true">
<use xlink:href="#icongukeguanliicon"></use>
</svg>
<div class="name">我的顾客 icon</div>
<div class="code-name">#icongukeguanliicon</div>
</li>
<li class="dib">
<svg class="icon svg-icon" aria-hidden="true">
<use xlink:href="#iconshuaxin1"></use> <use xlink:href="#iconshuaxin1"></use>
</svg> </svg>
<div class="name">刷新</div> <div class="name">刷新</div>
......
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -6,6 +6,20 @@ ...@@ -6,6 +6,20 @@
"description": "", "description": "",
"glyphs": [ "glyphs": [
{ {
"icon_id": "9355504",
"name": "商品设置",
"font_class": "shangpinshezhi",
"unicode": "e60b",
"unicode_decimal": 58891
},
{
"icon_id": "8837045",
"name": "我的顾客 icon",
"font_class": "gukeguanliicon",
"unicode": "e60a",
"unicode_decimal": 58890
},
{
"icon_id": "5835478", "icon_id": "5835478",
"name": "刷新", "name": "刷新",
"font_class": "shuaxin1", "font_class": "shuaxin1",
......
...@@ -20,6 +20,12 @@ Created by iconfont ...@@ -20,6 +20,12 @@ Created by iconfont
/> />
<missing-glyph /> <missing-glyph />
<glyph glyph-name="shangpinshezhi" unicode="&#58891;" d="M136.96 49.28c-45.632 0-79.872 33.92-79.872 79.04V760.064c0 45.184 34.24 78.976 79.936 78.976h517.056c45.632 0 79.872-33.792 79.872-78.976V602.24c0-16.96 11.456-28.224 28.544-28.224 17.152 0 28.544 11.264 28.544 28.16V760.128c0 73.344-62.784 135.424-136.96 135.424H136.96C62.848 895.488 0 833.408 0 760.064v-637.44c0-73.28 62.784-135.36 136.96-135.36h152.96c17.152 0 28.544 11.328 28.544 28.224s-11.392 33.856-28.544 33.856H136.96zM706.624 133.952c-17.088 0-28.544 11.264-28.544 28.16 0 16.96 11.456 28.224 28.544 28.224 17.152 0 28.544-11.264 28.544-28.16 0-16.96-11.392-28.224-28.544-28.224m0 112.832c-45.632 0-85.632-39.488-85.632-84.608 0-45.12 40-84.608 85.632-84.608 45.696 0 85.632 39.488 85.632 84.608 0 45.12-34.24 84.608-85.632 84.608m-57.088 372.288c17.152 11.264 34.24 28.16 34.24 50.752 0 33.856-22.784 56.448-57.088 56.448-34.24 0-57.024-22.592-57.024-56.448 0-16.896 11.392-33.856 22.784-45.12-22.784-90.24-97.024-152.32-194.048-152.32-97.088 0-171.264 67.712-194.112 152.32 11.392 11.264 22.848 28.16 22.848 45.12 0 33.856-22.848 56.448-57.088 56.448s-57.088-22.592-57.088-56.448c0-22.528 11.392-45.12 34.24-50.752C170.048 506.24 272.768 416 398.4 416c125.568 0 222.592 84.608 251.136 203.072M815.104 9.856c-5.76-11.264-17.152-16.896-22.848-16.896H632.448c-11.456 0-17.152 5.632-22.848 16.896l-85.632 140.992c-5.76 11.328-5.76 16.96 0 28.224l79.936 141.056c5.696 11.264 17.088 16.896 22.784 16.896h159.872c11.392 0 17.088-5.632 22.848-16.896l79.872-141.056c3.456-5.248 11.456-22.592 5.76-28.16l-80-141.056z m131.264 197.44L866.56 348.288c-17.152 28.224-45.696 45.12-74.24 45.12H632.448c-28.544 0-57.088-16.896-74.24-45.12L478.272 207.36c-17.088-28.16-17.088-56.448 0-84.608l80-141.056c17.088-28.16 45.632-45.12 74.176-45.12h159.808c28.544 0 57.088 16.96 74.24 45.12l79.872 141.056c17.152 28.16 17.152 56.384 0 84.608" horiz-adv-x="1024" />
<glyph glyph-name="gukeguanliicon" unicode="&#58890;" d="M512.761 374.77c-30.144 0-60.808 6.1-88.674 17.64-27.86 11.54-53.857 28.907-75.18 50.227-21.325 21.334-38.694 47.33-50.233 75.18-11.537 27.856-17.636 58.52-17.636 88.678 0 30.153 6.099 60.817 17.634 88.675 11.545 27.863 28.914 53.858 50.234 75.18 21.322 21.323 47.32 38.693 75.178 50.232 27.86 11.538 58.524 17.637 88.676 17.637 30.153 0 60.816-6.099 88.675-17.637 27.857-11.537 53.853-28.91 75.18-50.233 21.318-21.317 38.69-47.311 50.23-75.177 11.538-27.86 17.637-58.524 17.637-88.677 0-30.157-6.099-60.822-17.637-88.676-11.537-27.858-28.907-53.856-50.23-75.182-21.327-21.323-47.323-38.69-75.182-50.228-27.864-11.538-58.527-17.64-88.672-17.64z m0 396.243c-21.407 0-43.178-4.33-62.96-12.522-19.776-8.19-38.231-20.523-53.37-35.662-15.139-15.14-27.47-33.595-35.664-53.377-8.19-19.776-12.522-41.546-12.522-62.955 0-21.412 4.33-43.182 12.522-62.956 8.19-19.777 20.526-38.235 35.667-53.381 15.133-15.133 33.589-27.464 53.368-35.654 19.788-8.196 41.56-12.528 62.96-12.528s43.172 4.332 62.957 12.526c19.78 8.192 38.237 20.523 53.375 35.659 15.138 15.14 27.47 33.597 35.662 53.377 8.19 19.776 12.521 41.546 12.521 62.958 0 21.408-4.33 43.179-12.522 62.96-8.193 19.78-20.524 38.235-35.66 53.369-15.142 15.143-33.6 27.475-53.376 35.667-19.778 8.189-41.548 12.52-62.958 12.52zM512.761-70.219c-153.124 0-258.397 18.188-321.837 55.603-59.37 35.017-69.763 79.25-72.416 109.476-5.71 65.034 30.23 148.91 68.681 198.149 38.892 49.811 91.984 77.243 149.492 77.243 35.325 0 58.258-11.794 78.49-22.2 23.676-12.174 46.036-23.675 97.59-23.675 53.02 0 75.954 12.035 98.133 23.673 19.832 10.406 42.31 22.202 77.887 22.202 51.316 0 94.635-19.516 136.323-61.415 55.979-56.267 84.892-151.733 80.504-211.52-1.542-20.992-5.153-70.147-66.86-109-62.552-39.39-169.183-58.536-325.987-58.536zM336.683 303.044c-46.606 0-78.213-27.95-96.522-51.4-33.682-43.133-58.22-110.83-54.701-150.91 1.526-17.4 5.97-37.623 39.607-57.462 35.802-21.115 114.776-46.285 287.695-46.285 176.569 0 255.257 26.212 290.178 48.2 32.978 20.763 34.52 41.736 35.643 57.05 2.8 38.17-16.882 114.73-61.121 159.199-29.017 29.165-55.539 41.608-88.68 41.608-19.015 0-29.419-5.46-46.657-14.506-26.635-13.974-59.78-31.369-129.364-31.369-67.821 0-101.37 17.253-128.325 31.116-17.28 8.887-28.699 14.76-47.753 14.76zM987.515 143.29c-1.647 0-3.312 0.122-4.992 0.37-18.355 2.733-31.02 19.829-28.288 38.186 14.7 98.735-46.498 224.021-157.815 245.942a33.603 33.603 0 0 0-20.82 52.547c39.655 55.326 50.128 107.85 31.13 156.115-14.717 37.383-42.278 59.416-42.555 59.634l0.163-0.125 40.949 53.29c4.123-3.168 40.924-32.476 62.59-84.745 17.601-42.469 27.523-106.727-13.466-184.43 49.074-20.416 91.66-57.385 122.71-107.263 37.692-60.55 53.579-133.761 43.59-200.862-2.484-16.676-16.828-28.657-33.196-28.66zM36.442 143.29c-16.37 0-30.71 11.98-33.195 28.66-9.99 67.1 5.898 140.311 43.593 200.861 31.048 49.878 73.635 86.847 122.71 107.263-40.991 77.703-31.07 141.96-13.468 184.43 21.664 52.268 58.464 81.574 62.59 84.745l40.95-53.29 0.16 0.125c-0.275-0.218-27.837-22.25-42.554-59.634-18.996-48.264-8.524-100.789 31.131-156.115a33.606 33.606 0 0 0-20.819-52.547C116.22 405.868 55.022 280.581 69.722 181.847c2.732-18.357-9.933-35.453-28.288-38.186-1.678-0.25-3.344-0.371-4.992-0.371zM205.535 722.236a33.121 33.121 0 1 1 67.786 0 33.121 33.121 0 1 1-67.786 0zM749.907 722.236a33.121 33.121 0 1 1 67.786 0 33.121 33.121 0 1 1-67.786 0z" horiz-adv-x="1040" />
<glyph glyph-name="shuaxin1" unicode="&#58899;" d="M780.9-6.4c-9.7 0-19.3 4.4-25.6 12.8-10.6 14.1-7.8 34.2 6.4 44.8C867.4 130.6 928 251.9 928 384c0 229.4-186.6 416-416 416-17.7 0-32 14.3-32 32s14.3 32 32 32c264.7 0 480-215.3 480-480 0-152.4-70-292.4-192-384-5.7-4.3-12.5-6.4-19.1-6.4zM512-96C247.3-96 32 119.3 32 384c0 130 51.1 251.7 144 342.8 12.6 12.4 32.9 12.2 45.3-0.4 12.4-12.6 12.2-32.9-0.4-45.3C140.3 602.2 96 496.7 96 384c0-229.4 186.6-416 416-416 17.7 0 32-14.3 32-32s-14.3-32-32-32zM601.6 665.6c-10.3 0-20.5 5-26.7 14.3L485.4 814.2c-9.8 14.7-5.8 34.6 8.9 44.4 14.7 9.8 34.6 5.8 44.4-8.9l89.6-134.4c9.8-14.7 5.8-34.6-8.9-44.4-5.5-3.6-11.7-5.3-17.8-5.3zM512-96c-10.3 0-20.5 5-26.7 14.3l-89.6 134.4c-9.8 14.7-5.8 34.6 8.9 44.4 14.7 9.8 34.5 5.8 44.4-8.9l89.6-134.4c9.8-14.7 5.8-34.6-8.9-44.4-5.4-3.7-11.6-5.4-17.7-5.4z" horiz-adv-x="1024" /> <glyph glyph-name="shuaxin1" unicode="&#58899;" d="M780.9-6.4c-9.7 0-19.3 4.4-25.6 12.8-10.6 14.1-7.8 34.2 6.4 44.8C867.4 130.6 928 251.9 928 384c0 229.4-186.6 416-416 416-17.7 0-32 14.3-32 32s14.3 32 32 32c264.7 0 480-215.3 480-480 0-152.4-70-292.4-192-384-5.7-4.3-12.5-6.4-19.1-6.4zM512-96C247.3-96 32 119.3 32 384c0 130 51.1 251.7 144 342.8 12.6 12.4 32.9 12.2 45.3-0.4 12.4-12.6 12.2-32.9-0.4-45.3C140.3 602.2 96 496.7 96 384c0-229.4 186.6-416 416-416 17.7 0 32-14.3 32-32s-14.3-32-32-32zM601.6 665.6c-10.3 0-20.5 5-26.7 14.3L485.4 814.2c-9.8 14.7-5.8 34.6 8.9 44.4 14.7 9.8 34.6 5.8 44.4-8.9l89.6-134.4c9.8-14.7 5.8-34.6-8.9-44.4-5.5-3.6-11.7-5.3-17.8-5.3zM512-96c-10.3 0-20.5 5-26.7 14.3l-89.6 134.4c-9.8 14.7-5.8 34.6 8.9 44.4 14.7 9.8 34.5 5.8 44.4-8.9l89.6-134.4c9.8-14.7 5.8-34.6-8.9-44.4-5.4-3.7-11.6-5.4-17.7-5.4z" horiz-adv-x="1024" />
......
...@@ -20,6 +20,12 @@ Created by iconfont ...@@ -20,6 +20,12 @@ Created by iconfont
/> />
<missing-glyph /> <missing-glyph />
<glyph glyph-name="shangpinshezhi" unicode="&#58891;" d="M136.96 49.28c-45.632 0-79.872 33.92-79.872 79.04V760.064c0 45.184 34.24 78.976 79.936 78.976h517.056c45.632 0 79.872-33.792 79.872-78.976V602.24c0-16.96 11.456-28.224 28.544-28.224 17.152 0 28.544 11.264 28.544 28.16V760.128c0 73.344-62.784 135.424-136.96 135.424H136.96C62.848 895.488 0 833.408 0 760.064v-637.44c0-73.28 62.784-135.36 136.96-135.36h152.96c17.152 0 28.544 11.328 28.544 28.224s-11.392 33.856-28.544 33.856H136.96zM706.624 133.952c-17.088 0-28.544 11.264-28.544 28.16 0 16.96 11.456 28.224 28.544 28.224 17.152 0 28.544-11.264 28.544-28.16 0-16.96-11.392-28.224-28.544-28.224m0 112.832c-45.632 0-85.632-39.488-85.632-84.608 0-45.12 40-84.608 85.632-84.608 45.696 0 85.632 39.488 85.632 84.608 0 45.12-34.24 84.608-85.632 84.608m-57.088 372.288c17.152 11.264 34.24 28.16 34.24 50.752 0 33.856-22.784 56.448-57.088 56.448-34.24 0-57.024-22.592-57.024-56.448 0-16.896 11.392-33.856 22.784-45.12-22.784-90.24-97.024-152.32-194.048-152.32-97.088 0-171.264 67.712-194.112 152.32 11.392 11.264 22.848 28.16 22.848 45.12 0 33.856-22.848 56.448-57.088 56.448s-57.088-22.592-57.088-56.448c0-22.528 11.392-45.12 34.24-50.752C170.048 506.24 272.768 416 398.4 416c125.568 0 222.592 84.608 251.136 203.072M815.104 9.856c-5.76-11.264-17.152-16.896-22.848-16.896H632.448c-11.456 0-17.152 5.632-22.848 16.896l-85.632 140.992c-5.76 11.328-5.76 16.96 0 28.224l79.936 141.056c5.696 11.264 17.088 16.896 22.784 16.896h159.872c11.392 0 17.088-5.632 22.848-16.896l79.872-141.056c3.456-5.248 11.456-22.592 5.76-28.16l-80-141.056z m131.264 197.44L866.56 348.288c-17.152 28.224-45.696 45.12-74.24 45.12H632.448c-28.544 0-57.088-16.896-74.24-45.12L478.272 207.36c-17.088-28.16-17.088-56.448 0-84.608l80-141.056c17.088-28.16 45.632-45.12 74.176-45.12h159.808c28.544 0 57.088 16.96 74.24 45.12l79.872 141.056c17.152 28.16 17.152 56.384 0 84.608" horiz-adv-x="1024" />
<glyph glyph-name="gukeguanliicon" unicode="&#58890;" d="M512.761 374.77c-30.144 0-60.808 6.1-88.674 17.64-27.86 11.54-53.857 28.907-75.18 50.227-21.325 21.334-38.694 47.33-50.233 75.18-11.537 27.856-17.636 58.52-17.636 88.678 0 30.153 6.099 60.817 17.634 88.675 11.545 27.863 28.914 53.858 50.234 75.18 21.322 21.323 47.32 38.693 75.178 50.232 27.86 11.538 58.524 17.637 88.676 17.637 30.153 0 60.816-6.099 88.675-17.637 27.857-11.537 53.853-28.91 75.18-50.233 21.318-21.317 38.69-47.311 50.23-75.177 11.538-27.86 17.637-58.524 17.637-88.677 0-30.157-6.099-60.822-17.637-88.676-11.537-27.858-28.907-53.856-50.23-75.182-21.327-21.323-47.323-38.69-75.182-50.228-27.864-11.538-58.527-17.64-88.672-17.64z m0 396.243c-21.407 0-43.178-4.33-62.96-12.522-19.776-8.19-38.231-20.523-53.37-35.662-15.139-15.14-27.47-33.595-35.664-53.377-8.19-19.776-12.522-41.546-12.522-62.955 0-21.412 4.33-43.182 12.522-62.956 8.19-19.777 20.526-38.235 35.667-53.381 15.133-15.133 33.589-27.464 53.368-35.654 19.788-8.196 41.56-12.528 62.96-12.528s43.172 4.332 62.957 12.526c19.78 8.192 38.237 20.523 53.375 35.659 15.138 15.14 27.47 33.597 35.662 53.377 8.19 19.776 12.521 41.546 12.521 62.958 0 21.408-4.33 43.179-12.522 62.96-8.193 19.78-20.524 38.235-35.66 53.369-15.142 15.143-33.6 27.475-53.376 35.667-19.778 8.189-41.548 12.52-62.958 12.52zM512.761-70.219c-153.124 0-258.397 18.188-321.837 55.603-59.37 35.017-69.763 79.25-72.416 109.476-5.71 65.034 30.23 148.91 68.681 198.149 38.892 49.811 91.984 77.243 149.492 77.243 35.325 0 58.258-11.794 78.49-22.2 23.676-12.174 46.036-23.675 97.59-23.675 53.02 0 75.954 12.035 98.133 23.673 19.832 10.406 42.31 22.202 77.887 22.202 51.316 0 94.635-19.516 136.323-61.415 55.979-56.267 84.892-151.733 80.504-211.52-1.542-20.992-5.153-70.147-66.86-109-62.552-39.39-169.183-58.536-325.987-58.536zM336.683 303.044c-46.606 0-78.213-27.95-96.522-51.4-33.682-43.133-58.22-110.83-54.701-150.91 1.526-17.4 5.97-37.623 39.607-57.462 35.802-21.115 114.776-46.285 287.695-46.285 176.569 0 255.257 26.212 290.178 48.2 32.978 20.763 34.52 41.736 35.643 57.05 2.8 38.17-16.882 114.73-61.121 159.199-29.017 29.165-55.539 41.608-88.68 41.608-19.015 0-29.419-5.46-46.657-14.506-26.635-13.974-59.78-31.369-129.364-31.369-67.821 0-101.37 17.253-128.325 31.116-17.28 8.887-28.699 14.76-47.753 14.76zM987.515 143.29c-1.647 0-3.312 0.122-4.992 0.37-18.355 2.733-31.02 19.829-28.288 38.186 14.7 98.735-46.498 224.021-157.815 245.942a33.603 33.603 0 0 0-20.82 52.547c39.655 55.326 50.128 107.85 31.13 156.115-14.717 37.383-42.278 59.416-42.555 59.634l0.163-0.125 40.949 53.29c4.123-3.168 40.924-32.476 62.59-84.745 17.601-42.469 27.523-106.727-13.466-184.43 49.074-20.416 91.66-57.385 122.71-107.263 37.692-60.55 53.579-133.761 43.59-200.862-2.484-16.676-16.828-28.657-33.196-28.66zM36.442 143.29c-16.37 0-30.71 11.98-33.195 28.66-9.99 67.1 5.898 140.311 43.593 200.861 31.048 49.878 73.635 86.847 122.71 107.263-40.991 77.703-31.07 141.96-13.468 184.43 21.664 52.268 58.464 81.574 62.59 84.745l40.95-53.29 0.16 0.125c-0.275-0.218-27.837-22.25-42.554-59.634-18.996-48.264-8.524-100.789 31.131-156.115a33.606 33.606 0 0 0-20.819-52.547C116.22 405.868 55.022 280.581 69.722 181.847c2.732-18.357-9.933-35.453-28.288-38.186-1.678-0.25-3.344-0.371-4.992-0.371zM205.535 722.236a33.121 33.121 0 1 1 67.786 0 33.121 33.121 0 1 1-67.786 0zM749.907 722.236a33.121 33.121 0 1 1 67.786 0 33.121 33.121 0 1 1-67.786 0z" horiz-adv-x="1040" />
<glyph glyph-name="shuaxin1" unicode="&#58899;" d="M780.9-6.4c-9.7 0-19.3 4.4-25.6 12.8-10.6 14.1-7.8 34.2 6.4 44.8C867.4 130.6 928 251.9 928 384c0 229.4-186.6 416-416 416-17.7 0-32 14.3-32 32s14.3 32 32 32c264.7 0 480-215.3 480-480 0-152.4-70-292.4-192-384-5.7-4.3-12.5-6.4-19.1-6.4zM512-96C247.3-96 32 119.3 32 384c0 130 51.1 251.7 144 342.8 12.6 12.4 32.9 12.2 45.3-0.4 12.4-12.6 12.2-32.9-0.4-45.3C140.3 602.2 96 496.7 96 384c0-229.4 186.6-416 416-416 17.7 0 32-14.3 32-32s-14.3-32-32-32zM601.6 665.6c-10.3 0-20.5 5-26.7 14.3L485.4 814.2c-9.8 14.7-5.8 34.6 8.9 44.4 14.7 9.8 34.6 5.8 44.4-8.9l89.6-134.4c9.8-14.7 5.8-34.6-8.9-44.4-5.5-3.6-11.7-5.3-17.8-5.3zM512-96c-10.3 0-20.5 5-26.7 14.3l-89.6 134.4c-9.8 14.7-5.8 34.6 8.9 44.4 14.7 9.8 34.5 5.8 44.4-8.9l89.6-134.4c9.8-14.7 5.8-34.6-8.9-44.4-5.4-3.7-11.6-5.4-17.7-5.4z" horiz-adv-x="1024" /> <glyph glyph-name="shuaxin1" unicode="&#58899;" d="M780.9-6.4c-9.7 0-19.3 4.4-25.6 12.8-10.6 14.1-7.8 34.2 6.4 44.8C867.4 130.6 928 251.9 928 384c0 229.4-186.6 416-416 416-17.7 0-32 14.3-32 32s14.3 32 32 32c264.7 0 480-215.3 480-480 0-152.4-70-292.4-192-384-5.7-4.3-12.5-6.4-19.1-6.4zM512-96C247.3-96 32 119.3 32 384c0 130 51.1 251.7 144 342.8 12.6 12.4 32.9 12.2 45.3-0.4 12.4-12.6 12.2-32.9-0.4-45.3C140.3 602.2 96 496.7 96 384c0-229.4 186.6-416 416-416 17.7 0 32-14.3 32-32s-14.3-32-32-32zM601.6 665.6c-10.3 0-20.5 5-26.7 14.3L485.4 814.2c-9.8 14.7-5.8 34.6 8.9 44.4 14.7 9.8 34.6 5.8 44.4-8.9l89.6-134.4c9.8-14.7 5.8-34.6-8.9-44.4-5.5-3.6-11.7-5.3-17.8-5.3zM512-96c-10.3 0-20.5 5-26.7 14.3l-89.6 134.4c-9.8 14.7-5.8 34.6 8.9 44.4 14.7 9.8 34.5 5.8 44.4-8.9l89.6-134.4c9.8-14.7 5.8-34.6-8.9-44.4-5.4-3.7-11.6-5.4-17.7-5.4z" horiz-adv-x="1024" />
......
This source diff could not be displayed because it is too large. You can view the blob instead.
webpackJsonp([22],{"9EJ9":function(t,e){},iZ35:function(t,e){},w2fd:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=a("fZjL"),o=a.n(n),i=a("LRn8"),r=a("P9l9"),s=a("PI0u"),l=a("3E4D"),c=a("Ch4/"),d={name:"taskView",props:{brandId:{type:String,default:function(){return""}},activeGroupId:{type:String,default:function(){return""}}},data:function(){return{tableH:window.screen.availHeight-464-126,activeTab:"1",activeBrand:this.brandId,activeGroup:this.activeGroupId,activeId:"1",showDialog:!1,conditionObj:{tableType:"1",searchInput:"",storeGroup:[],storeType:"",dateRange:[]},loading:!1,selectRadio:0,tableData:[],multipleSelection:[],currentPage:1,pageSize:20,total:0}},computed:{},methods:{changeTable:function(t){this.currentPage=1,this.getTableList()},handleCommand:function(t){this.selectRadio=t},setSelectTab:function(t){this.activeTab=t.tabId},toInput:Object(s.a)(function(t,e){this.currentPage=1,this.getTableList()},500),changeStoreType:function(){this.currentPage=1,this.getTableList()},changeDate:function(t){t||(this.conditionObj.dateRange=[]),this.currentPage=1,this.getTableList()},handleSelectionChange:function(t){this.multipleSelection=t},delDepart:function(t,e){e.splice(t,1),this.currentPage=1,this.getTableList()},multDel:function(){if(!this.multipleSelection.length)return this.$message.error({duration:1e3,message:"请选择删除项"}),!1;this.showDialog=!0},hideDialog:function(t){if(this.showDialog=!1,!o()(t).length)return!1;this.postMultDel(t)},postMultDel:function(t){var e=this;e.conditionObj.dateRange||(e.conditionObj.dateRange=[]);var a={search:e.conditionObj.searchInput||"",ecmIds:e.multipleSelection.map(function(t){return t.ecmId}).join(",")||"",enterpriseId:e.activeBrand,delTaskStatus:t.delOptFlag,reason:t.reason,isAll:e.selectRadio};Object(r.d)("/haoban-app-tel-task-three-web/task/batch-del-task-view-list",a).then(function(t){var a=t.data;if(1==a.errorCode)return l.a.showmsg("删除成功","success"),void e.getTableList();c.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},exportExcel:function(){var t=this,e=[];t.conditionObj.storeGroup.forEach(function(t){e.push(t.storeGroupId)});var a={search:t.conditionObj.searchInput||"",storeGroupIds:e.join(",")||"",storeType:t.conditionObj.storeType||"",startDate:t.conditionObj.dateRange?t.conditionObj.dateRange[0]:"",endDate:t.conditionObj.dateRange?t.conditionObj.dateRange[1]:"",enterpriseId:t.activeBrand};Object(r.b)("/haoban-app-tel-task-three-web/task/export-store-task-list",a).then(function(e){if(!e.data)return c.a.errorMsg("暂无数据"),!1;var a=new Blob([e.data],{type:"application/vnd.ms-excel"}),n=(t.tableData[0]?t.tableData[0].storeName:"")+"门店任务报表.csv",o=document.createElement("a");o.download=n,o.style.display="none",o.href=URL.createObjectURL(a),document.body.appendChild(o),o.click(),URL.revokeObjectURL(o.href),document.body.removeChild(o)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},handleSizeChange:function(t){this.pageSize=t,this.getTableList()},handleCurrentChange:function(t){this.currentPage=t,this.getTableList()},showDialogLayer:function(t,e){this.selectType=t,this.changed=t,this.defaultStoreList=e,this.storeTreeSet={dialogVisible:!0,isSingle:!1,isSelectPerson:!1}},toDetail:function(t,e){this.$router.push("taskViewDetail?ecmId="+e.ecmId)},getTableList:function(t){var e=this;e.loading=!0;var a={search:e.conditionObj.searchInput||"",pageNum:e.currentPage,pageSize:e.pageSize,enterpriseId:e.activeBrand};Object(r.a)("/haoban-app-tel-task-three-web/task/task-view-list",a).then(function(t){var a=t.data;if(e.loading=!1,1==a.errorCode)return e.tableData=a.result.list||[],e.total=a.result.pageInfo.total,!1;c.a.errorMsg(a)}).catch(function(t){e.loading=!1,e.$message.error({duration:1e3,message:t.message})})},initDataRange:function(){var t=new Date,e=t.getTime()-7776e6,a=t.getFullYear(),n=t.getMonth()+1,o=t.getDate()<10?"0"+t.getDate():t.getDate(),i=n<10?"0"+n:n,r=new Date(e),s=r.getFullYear(),l=r.getMonth()+1,c=r.getDate()<10?"0"+r.getDate():r.getDate();return[s+"-"+(l<10?"0"+l:l)+"-"+c,a+"-"+i+"-"+o]}},watch:{brandId:function(t,e){t&&(this.activeBrand=t,this.getTableList())},activeGroupId:function(t,e){t&&(this.activeGroup=t)}},mounted:function(){var t=this;t.conditionObj.dateRange=t.initDataRange(),document.documentElement.style.backgroundColor="#f0f2f5",t.activeBrand=t.brandId,this.brandId&&t.$nextTick(function(){t.getTableList()})},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{multipleDel:i.a}},u={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("div",{staticClass:"daily-set-content border-box"},[a("div",{staticClass:"table-condition flex flex-space-between m-b-20"},[a("div",{staticClass:"table-condition-left"},[a("el-input",{staticClass:"w-264",staticStyle:{width:"264px"},attrs:{placeholder:"请输入话务任务名称"},nativeOn:{keyup:function(e){return a=e,t.toInput(a,t.conditionObj.searchInput);var a}},model:{value:t.conditionObj.searchInput,callback:function(e){t.$set(t.conditionObj,"searchInput",e)},expression:"conditionObj.searchInput"}},[a("i",{staticClass:"el-input__icon el-icon-search",attrs:{slot:"prefix"},slot:"prefix"})]),t._v(" "),a("span",{staticClass:"condition-tips font-12 color-909399 p-l-10"},[t._v("仅包含话务任务记录")])],1),t._v(" "),a("div",{staticClass:"table-condition-right"},[a("el-button",{attrs:{type:"danger"},on:{click:t.multDel}},[t._v("批量删除")])],1)]),t._v(" "),a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],ref:"multipleTable",staticClass:"select-table",style:{width:"100%",minHeight:t.tableH},attrs:{data:t.tableData,"tooltip-effect":"dark"},on:{"selection-change":t.handleSelectionChange}},[a("el-table-column",{attrs:{type:"selection",width:"35"}}),t._v(" "),a("el-table-column",{attrs:{width:"25"},scopedSlots:t._u([{key:"header",fn:function(e){return[a("el-dropdown",{staticStyle:{"line-height":"10px",padding:"0","margin-left":"-15px",transform:"translateY(4px)","-webkit-transform":"translateY(4px)"},attrs:{placement:"bottom-start"},on:{command:t.handleCommand}},[a("span",{staticClass:"el-dropdown-link"},[a("i",{staticClass:"iconfont icongengduo"})]),t._v(" "),a("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[a("el-dropdown-item",{attrs:{command:"0"}},[a("span",{style:{color:0==t.selectRadio?"#2f54eb":"#606266"}},[t._v("选择当页")])]),t._v(" "),a("el-dropdown-item",{attrs:{command:"1"}},[a("span",{style:{color:1==t.selectRadio?"#2f54eb":"#606266"}},[t._v("选择全部")])])],1)],1)]}},{key:"default",fn:function(t){}}])}),t._v(" "),a("el-table-column",{attrs:{label:"任务名称",width:"120","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.ecmName))]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"已完成","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.competedTaskNum))]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"完成率","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.competedTaskRate))]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"待完成","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.toComplete))]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"逾期中","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.overTimeNum))]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"操作"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("el-button",{attrs:{type:"text"},on:{click:function(a){t.toDetail(e.$index,e.row)}}},[t._v("查看详情")])]}}])})],1),t._v(" "),0!=t.tableData.length?a("div",{staticClass:"block common-wrap__page text-right m-t-24"},[a("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._v(" "),a("multiple-del",{attrs:{showDialog:t.showDialog,detailFlag:!1},on:{hideDialog:t.hideDialog}})],1)},staticRenderFns:[]};var p=a("VU/8")(d,u,!1,function(t){a("iZ35")},"data-v-4039b6be",null).exports,h={name:"reviewed",props:{brandId:{type:String,default:function(){return""}},activeGroupId:{type:String,default:function(){return""}}},data:function(){return{tableH:window.screen.availHeight-464-126,activeTab:"1",activeBrand:this.brandId,activeGroup:this.activeGroupId,activeId:"1",showDialog:!1}},computed:{},methods:{},watch:{brandId:function(t,e){t&&(this.activeBrand=t)},activeGroupId:function(t,e){t&&(this.activeGroup=t)}},mounted:function(){this.$emit("showTab","12"),document.documentElement.style.backgroundColor="#f0f2f5",this.activeBrand=this.brandId},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{taskViewPage:p}},g={render:function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"daily-set-wrap "},[e("taskViewPage",{attrs:{brandId:this.brandId,activeGroupId:this.activeGroupId}})],1)},staticRenderFns:[]};var f=a("VU/8")(h,g,!1,function(t){a("9EJ9")},"data-v-cb3be208",null);e.default=f.exports}});
\ No newline at end of file
webpackJsonp([22],{"9EJ9":function(t,e){},HbFL:function(t,e){},w2fd:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=a("fZjL"),o=a.n(n),i=a("LRn8"),r=a("P9l9"),s=a("PI0u"),l=a("3E4D"),c=a("Ch4/"),d={name:"taskView",props:{brandId:{type:String,default:function(){return""}},activeGroupId:{type:String,default:function(){return""}}},data:function(){return{tableH:window.screen.availHeight-464-126,activeTab:"1",activeBrand:this.brandId,activeGroup:this.activeGroupId,activeId:"1",showDialog:!1,conditionObj:{tableType:"1",searchInput:"",storeGroup:[],storeType:"",dateRange:[]},loading:!1,selectRadio:0,tableData:[],multipleSelection:[],currentPage:1,pageSize:20,total:0,loadingBtn:!1}},computed:{},methods:{changeTable:function(t){this.currentPage=1,this.getTableList()},handleCommand:function(t){this.selectRadio=t},setSelectTab:function(t){this.activeTab=t.tabId},toInput:Object(s.a)(function(t,e){this.currentPage=1,this.getTableList()},500),changeStoreType:function(){this.currentPage=1,this.getTableList()},changeDate:function(t){t||(this.conditionObj.dateRange=[]),this.currentPage=1,this.getTableList()},handleSelectionChange:function(t){this.multipleSelection=t},delDepart:function(t,e){e.splice(t,1),this.currentPage=1,this.getTableList()},multDel:function(){if(!this.multipleSelection.length)return this.$message.error({duration:1e3,message:"请选择删除项"}),!1;this.showDialog=!0},hideDialog:function(t){if(this.showDialog=!1,!o()(t).length)return!1;this.postMultDel(t)},postMultDel:function(t){var e=this;e.conditionObj.dateRange||(e.conditionObj.dateRange=[]);var a={search:e.conditionObj.searchInput||"",ecmIds:e.multipleSelection.map(function(t){return t.ecmId}).join(",")||"",enterpriseId:e.activeBrand,delTaskStatus:t.delOptFlag,reason:t.reason,isAll:e.selectRadio};Object(r.d)("/haoban-app-tel-task-three-web/task/batch-del-task-view-list",a).then(function(t){var a=t.data;if(1==a.errorCode)return l.a.showmsg("删除成功","success"),void e.getTableList();c.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},exportExcel:function(){var t=this;t.loadingBtn=!0;var e=[];t.conditionObj.storeGroup.forEach(function(t){e.push(t.storeGroupId)});var a={search:t.conditionObj.searchInput||"",storeGroupIds:e.join(",")||"",storeType:t.conditionObj.storeType||"",startDate:t.conditionObj.dateRange?t.conditionObj.dateRange[0]:"",endDate:t.conditionObj.dateRange?t.conditionObj.dateRange[1]:"",enterpriseId:t.activeBrand};Object(r.b)("/haoban-app-tel-task-three-web/task/export-store-task-list",a).then(function(e){if(t.loadingBtn=!1,!e.data)return c.a.errorMsg("暂无数据"),!1;var a=new Blob([e.data],{type:"application/vnd.ms-excel"}),n=(t.tableData[0]?t.tableData[0].storeName:"")+"门店任务报表.csv",o=document.createElement("a");o.download=n,o.style.display="none",o.href=URL.createObjectURL(a),document.body.appendChild(o),o.click(),URL.revokeObjectURL(o.href),document.body.removeChild(o)}).catch(function(e){t.loadingBtn=!1,t.$message.error({duration:1e3,message:e.message})})},handleSizeChange:function(t){this.pageSize=t,this.getTableList()},handleCurrentChange:function(t){this.currentPage=t,this.getTableList()},showDialogLayer:function(t,e){this.selectType=t,this.changed=t,this.defaultStoreList=e,this.storeTreeSet={dialogVisible:!0,isSingle:!1,isSelectPerson:!1}},toDetail:function(t,e){this.$router.push("taskViewDetail?ecmId="+e.ecmId)},getTableList:function(t){var e=this;e.loading=!0;var a={search:e.conditionObj.searchInput||"",pageNum:e.currentPage,pageSize:e.pageSize,enterpriseId:e.activeBrand};Object(r.a)("/haoban-app-tel-task-three-web/task/task-view-list",a).then(function(t){var a=t.data;if(e.loading=!1,1==a.errorCode)return e.tableData=a.result.list||[],e.total=a.result.pageInfo.total,!1;c.a.errorMsg(a)}).catch(function(t){e.loading=!1,e.$message.error({duration:1e3,message:t.message})})},initDataRange:function(){var t=new Date,e=t.getTime()-7776e6,a=t.getFullYear(),n=t.getMonth()+1,o=t.getDate()<10?"0"+t.getDate():t.getDate(),i=n<10?"0"+n:n,r=new Date(e),s=r.getFullYear(),l=r.getMonth()+1,c=r.getDate()<10?"0"+r.getDate():r.getDate();return[s+"-"+(l<10?"0"+l:l)+"-"+c,a+"-"+i+"-"+o]}},watch:{brandId:function(t,e){t&&(this.activeBrand=t,this.getTableList())},activeGroupId:function(t,e){t&&(this.activeGroup=t)}},mounted:function(){var t=this;t.conditionObj.dateRange=t.initDataRange(),document.documentElement.style.backgroundColor="#f0f2f5",t.activeBrand=t.brandId,this.brandId&&t.$nextTick(function(){t.getTableList()})},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{multipleDel:i.a}},u={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("div",{staticClass:"daily-set-content border-box"},[a("div",{staticClass:"table-condition flex flex-space-between m-b-20"},[a("div",{staticClass:"table-condition-left"},[a("el-input",{staticClass:"w-264",staticStyle:{width:"264px"},attrs:{placeholder:"请输入话务任务名称"},nativeOn:{keyup:function(e){return a=e,t.toInput(a,t.conditionObj.searchInput);var a}},model:{value:t.conditionObj.searchInput,callback:function(e){t.$set(t.conditionObj,"searchInput",e)},expression:"conditionObj.searchInput"}},[a("i",{staticClass:"el-input__icon el-icon-search",attrs:{slot:"prefix"},slot:"prefix"})]),t._v(" "),a("span",{staticClass:"condition-tips font-12 color-909399 p-l-10"},[t._v("仅包含话务任务记录")])],1),t._v(" "),a("div",{staticClass:"table-condition-right"},[a("el-button",{attrs:{type:"danger"},on:{click:t.multDel}},[t._v("批量删除")])],1)]),t._v(" "),a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],ref:"multipleTable",staticClass:"select-table",style:{width:"100%",minHeight:t.tableH},attrs:{data:t.tableData,"tooltip-effect":"dark"},on:{"selection-change":t.handleSelectionChange}},[a("el-table-column",{attrs:{type:"selection",width:"35"}}),t._v(" "),a("el-table-column",{attrs:{width:"25"},scopedSlots:t._u([{key:"header",fn:function(e){return[a("el-dropdown",{staticStyle:{"line-height":"10px",padding:"0","margin-left":"-15px",transform:"translateY(4px)","-webkit-transform":"translateY(4px)"},attrs:{placement:"bottom-start"},on:{command:t.handleCommand}},[a("span",{staticClass:"el-dropdown-link"},[a("i",{staticClass:"iconfont icongengduo"})]),t._v(" "),a("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[a("el-dropdown-item",{attrs:{command:"0"}},[a("span",{style:{color:0==t.selectRadio?"#2f54eb":"#606266"}},[t._v("选择当页")])]),t._v(" "),a("el-dropdown-item",{attrs:{command:"1"}},[a("span",{style:{color:1==t.selectRadio?"#2f54eb":"#606266"}},[t._v("选择全部")])])],1)],1)]}},{key:"default",fn:function(t){}}])}),t._v(" "),a("el-table-column",{attrs:{label:"任务名称",width:"120","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.ecmName))]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"已完成","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.competedTaskNum))]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"完成率","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.competedTaskRate))]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"待完成","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.toComplete))]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"逾期中","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.overTimeNum))]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"操作"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("el-button",{attrs:{type:"text"},on:{click:function(a){t.toDetail(e.$index,e.row)}}},[t._v("查看详情")])]}}])})],1),t._v(" "),0!=t.tableData.length?a("div",{staticClass:"block common-wrap__page text-right m-t-24"},[a("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._v(" "),a("multiple-del",{attrs:{showDialog:t.showDialog,detailFlag:!1},on:{hideDialog:t.hideDialog}})],1)},staticRenderFns:[]};var p=a("VU/8")(d,u,!1,function(t){a("HbFL")},"data-v-4441152c",null).exports,h={name:"reviewed",props:{brandId:{type:String,default:function(){return""}},activeGroupId:{type:String,default:function(){return""}}},data:function(){return{tableH:window.screen.availHeight-464-126,activeTab:"1",activeBrand:this.brandId,activeGroup:this.activeGroupId,activeId:"1",showDialog:!1}},computed:{},methods:{},watch:{brandId:function(t,e){t&&(this.activeBrand=t)},activeGroupId:function(t,e){t&&(this.activeGroup=t)}},mounted:function(){this.$emit("showTab","12"),document.documentElement.style.backgroundColor="#f0f2f5",this.activeBrand=this.brandId},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{taskViewPage:p}},g={render:function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"daily-set-wrap "},[e("taskViewPage",{attrs:{brandId:this.brandId,activeGroupId:this.activeGroupId}})],1)},staticRenderFns:[]};var f=a("VU/8")(h,g,!1,function(t){a("9EJ9")},"data-v-cb3be208",null);e.default=f.exports}});
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
webpackJsonp([45],{PMlo:function(t,e){},lPa5:function(t,e,s){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=s("PI0u"),n=s("Ch4/"),o=s("3E4D"),r=s("P9l9"),i={name:"reviewed",props:{brandId:{type:String,default:function(){return""}}},data:function(){return{activeTab:"1",activeId:"1",activeBrand:this.brandId,wxEnterpriseId:localStorage.getItem("userInfos")?JSON.parse(localStorage.getItem("userInfos")).wxEnterpriseId:"",setObj:{taskBelong:"1",overDayJudge:""},loadingBtn:!1}},computed:{},methods:{saveSet:Object(a.a)(function(){this.loadingBtn=!0,this.postSave()},500),postSave:function(){var t=this,e={taskBelong:t.setObj.taskBelong,overDayJudge:t.setObj.overDayJudge,wxEnterpriseId:t.wxEnterpriseId};Object(r.d)("/haoban-app-tel-task-three-web/setting/save-session-task-setting",e).then(function(e){var s=e.data;t.loadingBtn=!1,1!=s.errorCode?n.a.errorMsg(s):o.a.showmsg("保存成功","success")}).catch(function(e){t.loadingBtn=!1,t.$message.error({duration:1e3,message:e.message})})},getData:function(){var t=this,e={wxEnterpriseId:t.wxEnterpriseId};Object(r.d)("/haoban-app-tel-task-three-web/setting/find-session-task-setting",e).then(function(e){var s=e.data;if(1==s.errorCode)return s.result?s.result.taskBelong=String(s.result.taskBelong):(s.result={},s.result.taskBelong="1",s.result.overDayJudge=""),void(t.setObj=s.result);n.a.errorMsg(s)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})}},watch:{brandId:function(t,e){t&&(this.activeBrand=t,this.getData())}},mounted:function(){document.documentElement.style.backgroundColor="#f0f2f5",this.$emit("showTab","22"),this.getData()},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{}},l={render:function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"app-detail-wrap"},[s("div",{staticClass:"task-set-content boder-box"},[s("div",{staticClass:"task-set-cell"},[s("div",{staticClass:"set-line-item"},[s("span",{staticClass:"set-line-item_title font-14 color-606266 text-right"},[t._v("任务归属:")]),s("el-radio",{attrs:{label:"1"},model:{value:t.setObj.taskBelong,callback:function(e){t.$set(t.setObj,"taskBelong",e)},expression:"setObj.taskBelong"}},[t._v("成员所属专属导购 > 协管导购,若无专属导购,则随机分配给一名协管导购")])],1),t._v(" "),s("div",{staticClass:"set-line-item"},[s("span",{staticClass:"set-line-item_title font-14 color-606266 text-right"},[t._v("逾期设置:")]),s("span",{staticClass:"font-14 color-606266"},[t._v("话务任务下发后 ")]),s("el-input-number",{staticClass:"w-100",attrs:{"controls-position":"right",placeholder:"请输入内容",step:1,"step-strictly":!0,min:0,max:99999999},model:{value:t.setObj.overDayJudge,callback:function(e){t.$set(t.setObj,"overDayJudge",e)},expression:"setObj.overDayJudge"}}),s("span",{staticClass:"font-14 color-606266 p-l-10"},[t._v("天")]),t._v(" "),s("span",{staticClass:"font-14 color-606266"},[t._v("注:0天即为当天下发,当天完成,1天即为当天下发,次日24:00之前完成")])],1),t._v(" "),s("div",{staticClass:"set-line-item"},[s("span",{staticClass:"set-line-item_title font-14 color-606266 text-right"}),t._v(" "),s("el-button",{attrs:{type:"primary",loading:t.loadingBtn},on:{click:t.saveSet}},[t._v("保存并用于全部商户")])],1)]),t._v(" "),s("div",{staticClass:"task-set-save m-t-30"})])])},staticRenderFns:[]};var c=s("VU/8")(i,l,!1,function(t){s("PMlo")},"data-v-6a2ebdae",null);e.default=c.exports}}); webpackJsonp([44],{PMlo:function(t,e){},lPa5:function(t,e,s){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=s("PI0u"),n=s("Ch4/"),o=s("3E4D"),r=s("P9l9"),i={name:"reviewed",props:{brandId:{type:String,default:function(){return""}}},data:function(){return{activeTab:"1",activeId:"1",activeBrand:this.brandId,wxEnterpriseId:localStorage.getItem("userInfos")?JSON.parse(localStorage.getItem("userInfos")).wxEnterpriseId:"",setObj:{taskBelong:"1",overDayJudge:""},loadingBtn:!1}},computed:{},methods:{saveSet:Object(a.a)(function(){this.loadingBtn=!0,this.postSave()},500),postSave:function(){var t=this,e={taskBelong:t.setObj.taskBelong,overDayJudge:t.setObj.overDayJudge,wxEnterpriseId:t.wxEnterpriseId};Object(r.d)("/haoban-app-tel-task-three-web/setting/save-session-task-setting",e).then(function(e){var s=e.data;t.loadingBtn=!1,1!=s.errorCode?n.a.errorMsg(s):o.a.showmsg("保存成功","success")}).catch(function(e){t.loadingBtn=!1,t.$message.error({duration:1e3,message:e.message})})},getData:function(){var t=this,e={wxEnterpriseId:t.wxEnterpriseId};Object(r.d)("/haoban-app-tel-task-three-web/setting/find-session-task-setting",e).then(function(e){var s=e.data;if(1==s.errorCode)return s.result?s.result.taskBelong=String(s.result.taskBelong):(s.result={},s.result.taskBelong="1",s.result.overDayJudge=""),void(t.setObj=s.result);n.a.errorMsg(s)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})}},watch:{brandId:function(t,e){t&&(this.activeBrand=t,this.getData())}},mounted:function(){document.documentElement.style.backgroundColor="#f0f2f5",this.$emit("showTab","22"),this.getData()},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{}},l={render:function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"app-detail-wrap"},[s("div",{staticClass:"task-set-content boder-box"},[s("div",{staticClass:"task-set-cell"},[s("div",{staticClass:"set-line-item"},[s("span",{staticClass:"set-line-item_title font-14 color-606266 text-right"},[t._v("任务归属:")]),s("el-radio",{attrs:{label:"1"},model:{value:t.setObj.taskBelong,callback:function(e){t.$set(t.setObj,"taskBelong",e)},expression:"setObj.taskBelong"}},[t._v("成员所属专属导购 > 协管导购,若无专属导购,则随机分配给一名协管导购")])],1),t._v(" "),s("div",{staticClass:"set-line-item"},[s("span",{staticClass:"set-line-item_title font-14 color-606266 text-right"},[t._v("逾期设置:")]),s("span",{staticClass:"font-14 color-606266"},[t._v("话务任务下发后 ")]),s("el-input-number",{staticClass:"w-100",attrs:{"controls-position":"right",placeholder:"请输入内容",step:1,"step-strictly":!0,min:0,max:99999999},model:{value:t.setObj.overDayJudge,callback:function(e){t.$set(t.setObj,"overDayJudge",e)},expression:"setObj.overDayJudge"}}),s("span",{staticClass:"font-14 color-606266 p-l-10"},[t._v("天")]),t._v(" "),s("span",{staticClass:"font-14 color-606266"},[t._v("注:0天即为当天下发,当天完成,1天即为当天下发,次日24:00之前完成")])],1),t._v(" "),s("div",{staticClass:"set-line-item"},[s("span",{staticClass:"set-line-item_title font-14 color-606266 text-right"}),t._v(" "),s("el-button",{attrs:{type:"primary",loading:t.loadingBtn},on:{click:t.saveSet}},[t._v("保存并用于全部商户")])],1)]),t._v(" "),s("div",{staticClass:"task-set-save m-t-30"})])])},staticRenderFns:[]};var c=s("VU/8")(i,l,!1,function(t){s("PMlo")},"data-v-6a2ebdae",null);e.default=c.exports}});
\ No newline at end of file \ No newline at end of file
webpackJsonp([44],{"/sW4":function(t,e){},XrL3:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s=a("3E4D"),n=a("Ch4/"),o=a("PI0u"),r=a("P9l9"),i={name:"app-detail",props:{brandId:{type:String,default:function(){return""}},tabType:{type:String,default:function(){return"1"}},activeGroupId:{type:String,default:function(){return""}}},data:function(){return{projectName:"",wxEnterpriseRelatedId:JSON.parse(localStorage.getItem("userInfos")).wxEnterpriseId,myCustomData:{searchFlag:!1},activeId:"1",loading:!1}},methods:{submit:Object(o.a)(function(t){this.loading=!0,this.setData(t)},500),setData:function(t){var e=this,a={enterpriseId:e.brandId,wxEnterpriseRelatedId:e.wxEnterpriseRelatedId},o=void 0;"showFlag"!=t&&(a[t]=e.myCustomData[t]?1:0,o="/haoban-app-customer-web/customer/save-online-chat-setting","searchFlag"===t&&(o="/haoban-app-customer-web/customer/save-shopping-setting")),Object(r.d)(o,a).then(function(t){var a=t.data;e.loading=!1,1!=a.errorCode?n.a.errorMsg(a):s.a.showmsg("保存成功","success")}).catch(function(t){e.loading=!1,e.$message.error({duration:1e3,message:t.message})})},changeAllowGuide:function(t){this.myCustomData.allowGuideMobile=t,this.myCustomData.allowGuideMessage=t,this.myCustomData.allowGuideOnlineChat=t},changeContact:function(){this.myCustomData.allowGuideMobile||this.myCustomData.allowGuideMessage||this.myCustomData.allowGuideOnlineChat||(this.myCustomData.allowGuideContact=!1)},getCustomerSet:function(t){var e=this,a={enterpriseId:e.brandId,wxEnterpriseRelatedId:e.wxEnterpriseRelatedId};Object(r.d)("/haoban-app-customer-web/customer/find-customer-setting",a).then(function(t){var a=t.data;1!=a.errorCode?n.a.errorMsg(a):a.result&&(e.myCustomData.searchFlag=!!a.result.searchFlag)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})}},watch:{brandId:function(t,e){this.getCustomerSet(this.brandId)}},mounted:function(){this.$emit("showTab","1"),this.getCustomerSet(this.brandId)},components:{}},u={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"app-detail-wrap"},[a("div",{staticClass:"app-detail-pane border-box p-20"},[a("span",{staticClass:"font-14 p-r-10"},[t._v("商品展示:")]),t._v(" "),a("el-checkbox",{model:{value:t.myCustomData.searchFlag,callback:function(e){t.$set(t.myCustomData,"searchFlag",e)},expression:"myCustomData.searchFlag"}},[t._v("已上架商品")]),a("el-checkbox",{model:{value:t.myCustomData.searchFlag,callback:function(e){t.$set(t.myCustomData,"searchFlag",e)},expression:"myCustomData.searchFlag"}},[t._v("未上架商品")]),t._v(" "),a("div",{staticClass:"m-t-46"},[a("el-button",{attrs:{type:"primary",loading:t.loading},on:{click:function(e){t.submit("searchFlag")}}},[t._v("保 存")])],1)],1)])},staticRenderFns:[]};var c=a("VU/8")(i,u,!1,function(t){a("/sW4")},"data-v-6a624c76",null);e.default=c.exports}});
\ No newline at end of file
webpackJsonp([47],{GltL:function(t,e){},m9dW:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=a("bzW+"),n=a("Qie6"),c=a("NKg7"),o={name:"reviewed",data:function(){return{bgHeight:window.screen.availHeight-288+"px",activeSelTab:"1",activeTab:"1",tabListData:[{tabId:"1",tabName:"企业信息",icon:"iconqiyexinxi"},{tabId:"2",tabName:"管理员列表",icon:"iconguanliyuanliebiao"},{tabId:"3",tabName:"素材库",icon:"iconsucaiku"}],activeBrand:"",activeGroup:""}},computed:{},methods:{toRouterView:function(t){this.$router.push({path:t.path})},changeRoute:function(t){this.$router.push(t)},selectBrandId:function(t,e){this.activeBrand=t,this.activeGroup=e},setSelectTab:function(t){switch(this.activeTab=t.tabId,t.tabId){case"1":this.changeRoute("enterpriseSet");break;case"2":this.changeRoute("adminList");break;case"3":this.changeRoute("material")}},showTab:function(t){this.activeTab=t,this.activeSelTab=t,this.tabListData.forEach(function(e){e.tabId==t&&(e.onlyIconActive=!1),e.children&&e.children.forEach(function(a){a.tabId==t&&(e.onlyIconActive=!0),a.children&&a.children.forEach(function(a){a.tabId==t&&(e.onlyIconActive=!0)})})})}},watch:{$route:{handler:function(t,e){},deep:!0},activeBrand:function(t,e){this.activeBrand=t},activeGroup:function(t,e){this.activeGroup=t}},mounted:function(){document.documentElement.style.backgroundColor="#f0f2f5"},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{navCrumb:i.a,commonDetailLeft:n.a,vueOfficeHeader:c.a}},s={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"my-customer-wrap common-set-wrap"},[a("vue-office-header",{attrs:{projectName:t.projectName},on:{collapseTag:t.collapseTag,toRouterView:t.toRouterView}}),t._v(" "),a("div",{staticClass:"enterprise-wrap__body"},[a("div",{staticClass:"content",attrs:{id:"content"}},[a("div",{staticClass:"content-body"},[a("div",{staticClass:"right-content border-box"},[a("div",{staticClass:"right-box",staticStyle:{"min-height":"calc(100vh - 86px)"}},[a("div",{staticClass:"apps-content flex",staticStyle:{"min-height":"calc(100vh - 86px)"}},[a("div",{staticClass:"apps-content-left w-157",staticStyle:{"min-height":"calc(100vh - 86px)"}},[a("common-detail-left",{attrs:{tabListData:t.tabListData,activeSelTab:t.activeSelTab},on:{setSelectTab:t.setSelectTab}})],1),t._v(" "),a("div",{staticClass:"apps-content-right border-box"},[a("transition",{attrs:{name:"fade",mode:"out-in"}},[a("router-view",{attrs:{brandId:t.activeBrand,activeGroupId:t.activeGroup,tabType:t.activeTab},on:{showTab:t.showTab}})],1)],1)])])])])])])],1)},staticRenderFns:[]};var r=a("VU/8")(o,s,!1,function(t){a("GltL")},"data-v-6831fda6",null);e.default=r.exports}}); webpackJsonp([46],{GltL:function(t,e){},m9dW:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=a("bzW+"),n=a("Qie6"),c=a("NKg7"),o={name:"reviewed",data:function(){return{bgHeight:window.screen.availHeight-288+"px",activeSelTab:"1",activeTab:"1",tabListData:[{tabId:"1",tabName:"企业信息",icon:"iconqiyexinxi"},{tabId:"2",tabName:"管理员列表",icon:"iconguanliyuanliebiao"},{tabId:"3",tabName:"素材库",icon:"iconsucaiku"}],activeBrand:"",activeGroup:""}},computed:{},methods:{toRouterView:function(t){this.$router.push({path:t.path})},changeRoute:function(t){this.$router.push(t)},selectBrandId:function(t,e){this.activeBrand=t,this.activeGroup=e},setSelectTab:function(t){switch(this.activeTab=t.tabId,t.tabId){case"1":this.changeRoute("enterpriseSet");break;case"2":this.changeRoute("adminList");break;case"3":this.changeRoute("material")}},showTab:function(t){this.activeTab=t,this.activeSelTab=t,this.tabListData.forEach(function(e){e.tabId==t&&(e.onlyIconActive=!1),e.children&&e.children.forEach(function(a){a.tabId==t&&(e.onlyIconActive=!0),a.children&&a.children.forEach(function(a){a.tabId==t&&(e.onlyIconActive=!0)})})})}},watch:{$route:{handler:function(t,e){},deep:!0},activeBrand:function(t,e){this.activeBrand=t},activeGroup:function(t,e){this.activeGroup=t}},mounted:function(){document.documentElement.style.backgroundColor="#f0f2f5"},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{navCrumb:i.a,commonDetailLeft:n.a,vueOfficeHeader:c.a}},s={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"my-customer-wrap common-set-wrap"},[a("vue-office-header",{attrs:{projectName:t.projectName},on:{collapseTag:t.collapseTag,toRouterView:t.toRouterView}}),t._v(" "),a("div",{staticClass:"enterprise-wrap__body"},[a("div",{staticClass:"content",attrs:{id:"content"}},[a("div",{staticClass:"content-body"},[a("div",{staticClass:"right-content border-box"},[a("div",{staticClass:"right-box",staticStyle:{"min-height":"calc(100vh - 86px)"}},[a("div",{staticClass:"apps-content flex",staticStyle:{"min-height":"calc(100vh - 86px)"}},[a("div",{staticClass:"apps-content-left w-157",staticStyle:{"min-height":"calc(100vh - 86px)"}},[a("common-detail-left",{attrs:{tabListData:t.tabListData,activeSelTab:t.activeSelTab},on:{setSelectTab:t.setSelectTab}})],1),t._v(" "),a("div",{staticClass:"apps-content-right border-box"},[a("transition",{attrs:{name:"fade",mode:"out-in"}},[a("router-view",{attrs:{brandId:t.activeBrand,activeGroupId:t.activeGroup,tabType:t.activeTab},on:{showTab:t.showTab}})],1)],1)])])])])])])],1)},staticRenderFns:[]};var r=a("VU/8")(o,s,!1,function(t){a("GltL")},"data-v-6831fda6",null);e.default=r.exports}});
\ No newline at end of file \ No newline at end of file
webpackJsonp([49],{"5fQO":function(t,a){},aWmL:function(t,a,e){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var n=e("3Xzz"),i=e("Qie6"),c=e("Z8ln"),o=e("Ch4/"),r=e("P9l9"),s={name:"reviewed",data:function(){return{bgHeight:window.screen.availHeight-380+"px",appName:"内购券",activeSelTab:"1",activeTab:"1",navpath:[{name:"首页",path:"/index"},{name:"内购券",path:""}],tabListData:[{tabId:"1",tabName:"卡券模板",icon:"iconmoban"},{tabId:"2",tabName:"卡券策略",icon:"iconcelve"},{tabId:"3",tabName:"内购券投放",icon:"icontoufang2"},{tabId:"4",tabName:"内购券记录",icon:"iconqiaquan",onlyIconActive:!1,children:[{tabId:"41",tabName:"投放记录",icon:""},{tabId:"42",tabName:"领取记录",icon:""}]}],activeBrand:"",activeGroup:"",expiredFlag:!1}},computed:{},methods:{getExpired:function(){var t=this,a={enterpriseId:t.activeBrand};Object(r.a)("/haoban-manage3-web/enterprise-is-over",a).then(function(a){var e=a.data;1!=e.errorCode?o.a.errorMsg(e):t.expiredFlag=e.result}).catch(function(a){t.$message.error({duration:1e3,message:a.message})})},changeRoute:function(t){this.$router.push(t)},selectBrandId:function(t,a){this.activeBrand=t,this.activeGroup=a,this.getExpired()},setSelectTab:function(t){switch(this.activeTab=t.tabId,t.tabId){case"1":this.changeRoute("cardTemplate");break;case"2":this.changeRoute("cardStrategy");break;case"3":this.changeRoute("cardPut");break;case"4":case"41":this.changeRoute("cardPutRecord");break;case"42":this.changeRoute("cardGetRecord")}},showTab:function(t){this.activeTab=t,this.activeSelTab=t,this.tabListData.forEach(function(a){a.tabId==t&&(a.onlyIconActive=!1),a.children&&a.children.forEach(function(e){e.tabId==t&&(a.onlyIconActive=!0),e.children&&e.children.forEach(function(e){e.tabId==t&&(a.onlyIconActive=!0)})})})},changeNavShow:function(t){"newCardTemp"==t.path?this.navpath=[{name:"首页",path:"/index"},{name:"内购券",path:"/cardTemplate"},{name:this.$route.query.templateId?"编辑模板":"新建模板",path:""}]:"newCardStrategy"==t.path?this.navpath=[{name:"首页",path:"/index"},{name:"内购券",path:"/cardTemplate"},{name:this.$route.query.policyId?"编辑策略":"新建策略",path:""}]:"newCardPut"==t.path?this.navpath=[{name:"首页",path:"/index"},{name:"内购券",path:"/cardTemplate"},{name:this.$route.query.repairId?"编辑补发":"新建补发",path:""}]:this.navpath=[{name:"首页",path:"/index"},{name:"内购券",path:""}]}},watch:{$route:{handler:function(t,a){this.changeNavShow(t)},deep:!0},activeBrand:function(t,a){this.activeBrand=t},activeGroup:function(t,a){this.activeGroup=t}},mounted:function(){this.changeNavShow(this.$route),document.documentElement.style.backgroundColor="#f0f2f5"},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{navCrumb:n.a,commonDetailLeft:i.a,expiredDialog:c.a}},d={render:function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{staticClass:"my-customer-wrap common-set-wrap"},[e("nav-crumb",{attrs:{navpath:t.navpath},on:{selectBrandId:t.selectBrandId}}),t._v(" "),e("div",{staticClass:"right-content"},[e("div",{staticClass:"right-box",staticStyle:{"min-height":"calc(100vh - 112px)"}},[e("div",{staticClass:"apps-content flex",staticStyle:{"min-height":"calc(100vh - 112px)"}},[e("div",{staticClass:"apps-content-left w-157"},[e("common-detail-left",{attrs:{tabListData:t.tabListData,activeSelTab:t.activeSelTab},on:{setSelectTab:t.setSelectTab}})],1),t._v(" "),e("div",{staticClass:"apps-content-right"},[e("transition",{attrs:{name:"fade",mode:"out-in"}},[t.$route.meta.keepAlive?e("keep-alive",[e("router-view",{attrs:{brandId:t.activeBrand,activeGroupId:t.activeGroup,tabType:t.activeTab},on:{showTab:t.showTab}})],1):e("router-view",{attrs:{brandId:t.activeBrand,activeGroupId:t.activeGroup,tabType:t.activeTab},on:{showTab:t.showTab}})],1)],1)])])]),t._v(" "),t.expiredFlag?e("expired-dialog"):t._e()],1)},staticRenderFns:[]};var h=e("VU/8")(s,d,!1,function(t){e("5fQO")},"data-v-61d4618e",null);a.default=h.exports}}); webpackJsonp([47],{"5fQO":function(t,a){},aWmL:function(t,a,e){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var n=e("3Xzz"),i=e("Qie6"),c=e("Z8ln"),o=e("Ch4/"),r=e("P9l9"),s={name:"reviewed",data:function(){return{bgHeight:window.screen.availHeight-380+"px",appName:"内购券",activeSelTab:"1",activeTab:"1",navpath:[{name:"首页",path:"/index"},{name:"内购券",path:""}],tabListData:[{tabId:"1",tabName:"卡券模板",icon:"iconmoban"},{tabId:"2",tabName:"卡券策略",icon:"iconcelve"},{tabId:"3",tabName:"内购券投放",icon:"icontoufang2"},{tabId:"4",tabName:"内购券记录",icon:"iconqiaquan",onlyIconActive:!1,children:[{tabId:"41",tabName:"投放记录",icon:""},{tabId:"42",tabName:"领取记录",icon:""}]}],activeBrand:"",activeGroup:"",expiredFlag:!1}},computed:{},methods:{getExpired:function(){var t=this,a={enterpriseId:t.activeBrand};Object(r.a)("/haoban-manage3-web/enterprise-is-over",a).then(function(a){var e=a.data;1!=e.errorCode?o.a.errorMsg(e):t.expiredFlag=e.result}).catch(function(a){t.$message.error({duration:1e3,message:a.message})})},changeRoute:function(t){this.$router.push(t)},selectBrandId:function(t,a){this.activeBrand=t,this.activeGroup=a,this.getExpired()},setSelectTab:function(t){switch(this.activeTab=t.tabId,t.tabId){case"1":this.changeRoute("cardTemplate");break;case"2":this.changeRoute("cardStrategy");break;case"3":this.changeRoute("cardPut");break;case"4":case"41":this.changeRoute("cardPutRecord");break;case"42":this.changeRoute("cardGetRecord")}},showTab:function(t){this.activeTab=t,this.activeSelTab=t,this.tabListData.forEach(function(a){a.tabId==t&&(a.onlyIconActive=!1),a.children&&a.children.forEach(function(e){e.tabId==t&&(a.onlyIconActive=!0),e.children&&e.children.forEach(function(e){e.tabId==t&&(a.onlyIconActive=!0)})})})},changeNavShow:function(t){"newCardTemp"==t.path?this.navpath=[{name:"首页",path:"/index"},{name:"内购券",path:"/cardTemplate"},{name:this.$route.query.templateId?"编辑模板":"新建模板",path:""}]:"newCardStrategy"==t.path?this.navpath=[{name:"首页",path:"/index"},{name:"内购券",path:"/cardTemplate"},{name:this.$route.query.policyId?"编辑策略":"新建策略",path:""}]:"newCardPut"==t.path?this.navpath=[{name:"首页",path:"/index"},{name:"内购券",path:"/cardTemplate"},{name:this.$route.query.repairId?"编辑补发":"新建补发",path:""}]:this.navpath=[{name:"首页",path:"/index"},{name:"内购券",path:""}]}},watch:{$route:{handler:function(t,a){this.changeNavShow(t)},deep:!0},activeBrand:function(t,a){this.activeBrand=t},activeGroup:function(t,a){this.activeGroup=t}},mounted:function(){this.changeNavShow(this.$route),document.documentElement.style.backgroundColor="#f0f2f5"},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{navCrumb:n.a,commonDetailLeft:i.a,expiredDialog:c.a}},d={render:function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{staticClass:"my-customer-wrap common-set-wrap"},[e("nav-crumb",{attrs:{navpath:t.navpath},on:{selectBrandId:t.selectBrandId}}),t._v(" "),e("div",{staticClass:"right-content"},[e("div",{staticClass:"right-box",staticStyle:{"min-height":"calc(100vh - 112px)"}},[e("div",{staticClass:"apps-content flex",staticStyle:{"min-height":"calc(100vh - 112px)"}},[e("div",{staticClass:"apps-content-left w-157"},[e("common-detail-left",{attrs:{tabListData:t.tabListData,activeSelTab:t.activeSelTab},on:{setSelectTab:t.setSelectTab}})],1),t._v(" "),e("div",{staticClass:"apps-content-right"},[e("transition",{attrs:{name:"fade",mode:"out-in"}},[t.$route.meta.keepAlive?e("keep-alive",[e("router-view",{attrs:{brandId:t.activeBrand,activeGroupId:t.activeGroup,tabType:t.activeTab},on:{showTab:t.showTab}})],1):e("router-view",{attrs:{brandId:t.activeBrand,activeGroupId:t.activeGroup,tabType:t.activeTab},on:{showTab:t.showTab}})],1)],1)])])]),t._v(" "),t.expiredFlag?e("expired-dialog"):t._e()],1)},staticRenderFns:[]};var h=e("VU/8")(s,d,!1,function(t){e("5fQO")},"data-v-61d4618e",null);a.default=h.exports}});
\ No newline at end of file \ No newline at end of file
webpackJsonp([48],{FIFf:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=a("bzW+"),i=a("Qie6"),c=a("Z8ln"),o=a("Ch4/"),s=a("P9l9"),r={name:"reviewed",data:function(){return{bgHeight:window.screen.availHeight-380+"px",activeSelTab:"1",activeTab:"1",navpath:[{name:"首页",path:"/index"},{name:"商品中心",path:""}],tabListData:[{tabId:"1",tabName:"商品展示设置",icon:"iconshangpinshezhi"}],activeBrand:"",activeGroup:"",expiredFlag:!1}},computed:{},methods:{getExpired:function(){var t=this,e={enterpriseId:t.activeBrand};Object(s.a)("/haoban-manage3-web/enterprise-is-over",e).then(function(e){var a=e.data;1!=a.errorCode?o.a.errorMsg(a):t.expiredFlag=a.result}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},changeRoute:function(t){this.$router.push(t)},selectBrandId:function(t,e){this.activeBrand=t,this.activeGroup=e,this.getExpired()},setSelectTab:function(t){switch(this.activeTab=t.tabId,t.tabId){case"1":this.changeRoute("goodsShowSet")}},showTab:function(t){this.activeTab=t,this.activeSelTab=t,this.tabListData.forEach(function(e){e.tabId==t&&(e.onlyIconActive=!1),e.children&&e.children.forEach(function(a){a.tabId==t&&(e.onlyIconActive=!0),a.children&&a.children.forEach(function(a){a.tabId==t&&(e.onlyIconActive=!0)})})})}},watch:{activeBrand:function(t,e){this.activeBrand=t},activeGroup:function(t,e){this.activeGroup=t}},mounted:function(){document.documentElement.style.backgroundColor="#f0f2f5"},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{navCrumb:n.a,commonDetailLeft:i.a,expiredDialog:c.a}},d={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"my-customer-wrap common-set-wrap"},[a("nav-crumb",{attrs:{navpath:t.navpath},on:{selectBrandId:t.selectBrandId}}),t._v(" "),a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box",staticStyle:{"min-height":"calc(100vh - 112px)"}},[a("div",{staticClass:"apps-content flex",staticStyle:{"min-height":"calc(100vh - 112px)"}},[a("div",{staticClass:"apps-content-left w-157",staticStyle:{"min-height":"calc(100vh - 112px)"}},[a("common-detail-left",{attrs:{tabListData:t.tabListData,activeSelTab:t.activeSelTab},on:{setSelectTab:t.setSelectTab}})],1),t._v(" "),a("div",{staticClass:"apps-content-right"},[a("transition",{attrs:{name:"fade",mode:"out-in"}},[a("router-view",{attrs:{brandId:t.activeBrand,activeGroupId:t.activeGroup,tabType:t.activeTab},on:{showTab:t.showTab}})],1)],1)])])]),t._v(" "),t.expiredFlag?a("expired-dialog"):t._e()],1)},staticRenderFns:[]};var h=a("VU/8")(r,d,!1,function(t){a("zoh9")},"data-v-5cd6632f",null);e.default=h.exports},zoh9:function(t,e){}});
\ No newline at end of file
webpackJsonp([51],{XrL3:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s=a("3E4D"),o=a("Ch4/"),n=a("PI0u"),r=a("P9l9"),d={name:"app-detail",props:{brandId:{type:String,default:function(){return""}},tabType:{type:String,default:function(){return"1"}},activeGroupId:{type:String,default:function(){return""}}},data:function(){return{projectName:"",wxEnterpriseRelatedId:localStorage.getItem("userInfos")?JSON.parse(localStorage.getItem("userInfos")).wxEnterpriseId:"",myCustomData:{salesGoodsFlag:!1,notSalesGoodsFlag:!1},activeId:"1",loading:!1}},methods:{submit:Object(n.a)(function(e){this.loading=!0,this.setData(e)},500),setData:function(e){var t=this,a={enterpriseId:t.brandId,wxEnterpriseRelatedId:t.wxEnterpriseRelatedId};Object(r.d)("/haoban-app-customer-web/customer/save-goods-setting",a).then(function(e){var a=e.data;t.loading=!1,1!=a.errorCode?o.a.errorMsg(a):s.a.showmsg("保存成功","success")}).catch(function(e){t.loading=!1,t.$message.error({duration:1e3,message:e.message})})},getCustomerSet:function(e){var t=this,a={enterpriseId:t.brandId,wxEnterpriseRelatedId:t.wxEnterpriseRelatedId};Object(r.d)("/haoban-app-customer-web/customer/find-goods-setting",a).then(function(e){var a=e.data;1!=a.errorCode?o.a.errorMsg(a):a.result&&(t.myCustomData.salesGoodsFlag=!!a.result.salesGoodsFlag,t.myCustomData.notSalesGoodsFlag=!!a.result.notSalesGoodsFlag)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})}},watch:{brandId:function(e,t){this.getCustomerSet(this.brandId)}},mounted:function(){this.$emit("showTab","1"),this.getCustomerSet(this.brandId)},components:{}},i={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"app-detail-wrap"},[a("div",{staticClass:"app-detail-pane border-box p-20"},[a("span",{staticClass:"font-14 p-r-10"},[e._v("商品展示:")]),e._v(" "),a("el-checkbox",{model:{value:e.myCustomData.salesGoodsFlag,callback:function(t){e.$set(e.myCustomData,"salesGoodsFlag",t)},expression:"myCustomData.salesGoodsFlag"}},[e._v("已上架商品")]),a("el-checkbox",{model:{value:e.myCustomData.notSalesGoodsFlag,callback:function(t){e.$set(e.myCustomData,"notSalesGoodsFlag",t)},expression:"myCustomData.notSalesGoodsFlag"}},[e._v("未上架商品")]),e._v(" "),a("div",{staticClass:"m-t-46"},[a("el-button",{attrs:{type:"primary",loading:e.loading},on:{click:function(t){e.submit("searchFlag")}}},[e._v("保 存")])],1)],1)])},staticRenderFns:[]};var l=a("VU/8")(d,i,!1,function(e){a("fDfK")},"data-v-566aef1e",null);t.default=l.exports},fDfK:function(e,t){}});
\ No newline at end of file
webpackJsonp([51],{O3gZ:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l={name:"block-com",props:{childItem:{type:[Object,Array],default:function(){return{}}}}},s={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"block block-field"},[i("div",{staticClass:"block-head"},[i("div",{class:["opencard-item-title",t.childItem.title.length>=6?"title-pre-wrap":""]},[t._v(t._s(t.childItem.title))])]),t._v(" "),i("ul",{staticClass:"view-content"},t._l(t.childItem.list,function(e,l){return i("li",{key:"performance"+l,staticClass:"block-filed-item border-bottom-1"},[i("div",{class:["opencard-item-title",e.title.length>=6?"title-pre-wrap":""]},[t._v(t._s(e.title))]),t._v(" "),i("div",{staticClass:"draged-item-show"},[i("span",{staticClass:"show-warm-text show-warm-text-flag "},[t._v(t._s(e.placeholder)+" "+t._s(e.isMust?"(必填)":""))])])])})),t._v(" "),"competitorInfo"==t.childItem.name?i("div",{staticClass:"compete-add"},[t._v("\n +竞品信息\n ")]):t._e()])},staticRenderFns:[]};var a=i("VU/8")(l,s,!1,function(t){i("gqXI")},"data-v-530ad580",null);e.default=a.exports},gqXI:function(t,e){}}); webpackJsonp([52],{O3gZ:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l={name:"block-com",props:{childItem:{type:[Object,Array],default:function(){return{}}}}},s={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"block block-field"},[i("div",{staticClass:"block-head"},[i("div",{class:["opencard-item-title",t.childItem.title.length>=6?"title-pre-wrap":""]},[t._v(t._s(t.childItem.title))])]),t._v(" "),i("ul",{staticClass:"view-content"},t._l(t.childItem.list,function(e,l){return i("li",{key:"performance"+l,staticClass:"block-filed-item border-bottom-1"},[i("div",{class:["opencard-item-title",e.title.length>=6?"title-pre-wrap":""]},[t._v(t._s(e.title))]),t._v(" "),i("div",{staticClass:"draged-item-show"},[i("span",{staticClass:"show-warm-text show-warm-text-flag "},[t._v(t._s(e.placeholder)+" "+t._s(e.isMust?"(必填)":""))])])])})),t._v(" "),"competitorInfo"==t.childItem.name?i("div",{staticClass:"compete-add"},[t._v("\n +竞品信息\n ")]):t._e()])},staticRenderFns:[]};var a=i("VU/8")(l,s,!1,function(t){i("gqXI")},"data-v-530ad580",null);e.default=a.exports},gqXI:function(t,e){}});
\ No newline at end of file \ No newline at end of file
webpackJsonp([52],{"2WGr":function(t,e,s){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a={name:"date-range-com",props:{childItem:{type:[Object,Array],default:function(){return{}}}},methods:{getZhLen:function(t){for(var e=0,s=0;s<t.length;s++){null!=t.charAt(s).match(/[^\x00-\xff]/gi)?e+=1:e+=.5}return Math.ceil(e)}}},i={render:function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",[s("div",{staticClass:"flex"},[s("div",{class:["opencard-item-title",t.getZhLen(t.childItem.startTitle)>=6?"title-pre-wrap":""]},[t._v(t._s(t.childItem.startTitle))]),t._v(" "),s("div",{staticClass:"draged-item-show"},[s("span",{staticClass:"show-warm-text show-warm-text-flag select-flag"},[t._v(t._s(t.childItem.placeholder)+" "+t._s(t.childItem.isMust?"(必填)":"")),s("i",{staticClass:"el-icon-arrow-right"})])])]),t._v(" "),s("div",{staticClass:"b-t-1 flex"},[s("div",{class:["opencard-item-title",t.getZhLen(t.childItem.endTitle)>=6?"title-pre-wrap":""]},[t._v(t._s(t.childItem.endTitle))]),t._v(" "),s("div",{staticClass:"draged-item-show"},[s("span",{staticClass:"show-warm-text show-warm-text-flag select-flag"},[t._v(t._s(t.childItem.placeholder)+" "+t._s(t.childItem.isMust?"(必填)":"")+" "),s("i",{staticClass:"el-icon-arrow-right"})])])])])},staticRenderFns:[]};var l=s("VU/8")(a,i,!1,function(t){s("JXCd")},"data-v-5106f326",null);e.default=l.exports},JXCd:function(t,e){}}); webpackJsonp([53],{"2WGr":function(t,e,s){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a={name:"date-range-com",props:{childItem:{type:[Object,Array],default:function(){return{}}}},methods:{getZhLen:function(t){for(var e=0,s=0;s<t.length;s++){null!=t.charAt(s).match(/[^\x00-\xff]/gi)?e+=1:e+=.5}return Math.ceil(e)}}},i={render:function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",[s("div",{staticClass:"flex"},[s("div",{class:["opencard-item-title",t.getZhLen(t.childItem.startTitle)>=6?"title-pre-wrap":""]},[t._v(t._s(t.childItem.startTitle))]),t._v(" "),s("div",{staticClass:"draged-item-show"},[s("span",{staticClass:"show-warm-text show-warm-text-flag select-flag"},[t._v(t._s(t.childItem.placeholder)+" "+t._s(t.childItem.isMust?"(必填)":"")),s("i",{staticClass:"el-icon-arrow-right"})])])]),t._v(" "),s("div",{staticClass:"b-t-1 flex"},[s("div",{class:["opencard-item-title",t.getZhLen(t.childItem.endTitle)>=6?"title-pre-wrap":""]},[t._v(t._s(t.childItem.endTitle))]),t._v(" "),s("div",{staticClass:"draged-item-show"},[s("span",{staticClass:"show-warm-text show-warm-text-flag select-flag"},[t._v(t._s(t.childItem.placeholder)+" "+t._s(t.childItem.isMust?"(必填)":"")+" "),s("i",{staticClass:"el-icon-arrow-right"})])])])])},staticRenderFns:[]};var l=s("VU/8")(a,i,!1,function(t){s("JXCd")},"data-v-5106f326",null);e.default=l.exports},JXCd:function(t,e){}});
\ No newline at end of file \ No newline at end of file
webpackJsonp([56],{E2SV:function(t,e){},SBUJ:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=a("fZjL"),o=a.n(n),i=a("Ggl+"),s=a("LRn8"),r=a("P9l9"),l=a("PI0u"),c=a("3E4D"),d=a("Ch4/"),u={name:"reviewed",props:{brandId:{type:String,default:function(){return""}},activeGroupId:{type:String,default:function(){return""}}},data:function(){return{tableH:window.screen.availHeight-464-126,activeTab:"1",activeBrand:this.brandId,activeGroup:this.activeGroupId,activeId:"2",showDialog:!1,conditionObj:{searchInput:"",storeGroup:[],storeType:"",dateRange:[]},loading:!1,selectRadio:0,tableData:[],multipleSelection:[],currentPage:1,pageSize:20,total:0,loadingBtn:!1}},computed:{},methods:{checkGroupIds:function(t){this.conditionObj.storeGroup=t,this.currentPage=1,this.getTableList()},changeTable:function(t){this.currentPage=1,this.getTableList()},handleCommand:function(t){this.selectRadio=t},setSelectTab:function(t){this.activeTab=t.tabId},toInput:Object(l.a)(function(t,e){this.currentPage=1,this.getTableList()},500),changeStoreType:function(){this.currentPage=1,this.getTableList()},changeDate:function(t){t||(this.conditionObj.dateRange=[]),this.currentPage=1,this.getTableList()},handleSelectionChange:function(t){this.multipleSelection=t},delDepart:function(t,e){e.splice(t,1),this.currentPage=1,this.getTableList()},multDel:function(){if(!this.multipleSelection.length)return this.$message.error({duration:1e3,message:"请选择删除项"}),!1;this.showDialog=!0},hideDialog:function(t){if(this.showDialog=!1,!o()(t).length)return!1;this.postMultDel(t)},postMultDel:function(t){var e=this,a=[];e.conditionObj.storeGroup.forEach(function(t){a.push(t.storeGroupId)}),e.conditionObj.dateRange||(e.conditionObj.dateRange=[]);var n={search:e.conditionObj.searchInput||"",storeGroupIds:a.join(",")||"",storeIds:e.multipleSelection.map(function(t){return t.storeId}).join(",")||"",storeType:e.conditionObj.storeType||"",startDate:e.conditionObj.dateRange[0]||"",endDate:e.conditionObj.dateRange[1]||"",enterpriseId:e.activeBrand,delTaskStatus:t.delOptFlag,reason:t.reason,isAll:e.selectRadio};Object(r.d)("/haoban-app-tel-task-three-web/task/batch-del-store-task-list",n).then(function(t){var a=t.data;if(1==a.errorCode)return c.a.showmsg("删除成功","success"),void e.getTableList();d.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},exportExcel:function(){var t=this;t.loadingBtn=!0;var e=[];t.conditionObj.storeGroup.forEach(function(t){e.push(t.storeGroupId)});var a={search:t.conditionObj.searchInput||"",storeGroupIds:e.join(",")||"",storeType:t.conditionObj.storeType||"",startDate:t.conditionObj.dateRange?t.conditionObj.dateRange[0]:"",endDate:t.conditionObj.dateRange?t.conditionObj.dateRange[1]:"",enterpriseId:t.activeBrand};Object(r.b)("/haoban-app-tel-task-three-web/task/export-store-task-list",a).then(function(e){if(!e.data)return t.loadingBtn=!1,d.a.errorMsg("暂无数据"),!1;var a=new Blob([e.data],{type:"application/vnd.ms-excel"}),n=(t.tableData[0]?t.tableData[0].storeName:"")+"门店任务报表.csv",o=document.createElement("a");o.download=n,o.style.display="none",o.href=URL.createObjectURL(a),document.body.appendChild(o),o.click(),URL.revokeObjectURL(o.href),document.body.removeChild(o)}).catch(function(e){t.loadingBtn=!1,t.$message.error({duration:1e3,message:e.message})})},handleSizeChange:function(t){this.pageSize=t,this.getTableList()},handleCurrentChange:function(t){this.currentPage=t,this.getTableList()},showDialogLayer:function(t,e){this.selectType=t,this.changed=t,this.defaultStoreList=e,this.storeTreeSet={dialogVisible:!0,isSingle:!1,isSelectPerson:!1}},handleSelectedList:function(t){this.conditionObj.storeGroup=t,this.getTableList()},toDetail:function(t,e){this.$router.push("taskDetail?storeId="+e.storeId+"&ecmId="+this.$route.query.ecmId)},getTableList:function(t){var e=this;e.loading=!0;var a=[];e.conditionObj.storeGroup.forEach(function(t){a.push(t.storeGroupId)}),e.conditionObj.dateRange||(e.conditionObj.dateRange=[]);var n={ecmId:e.$route.query.ecmId,search:e.conditionObj.searchInput||"",storeGroupIds:a.join(",")||"",storeType:e.conditionObj.storeType||"",startDate:e.conditionObj.dateRange[0]||"",endDate:e.conditionObj.dateRange[1]||"",pageNum:e.currentPage,pageSize:e.pageSize,enterpriseId:e.activeBrand};Object(r.a)("/haoban-app-tel-task-three-web/task/store-task-list",n).then(function(t){var a=t.data;if(e.loading=!1,1==a.errorCode)return e.tableData=a.result.list||[],e.total=a.result.pageInfo.total,!1;d.a.errorMsg(a)}).catch(function(t){e.loading=!1,e.$message.error({duration:1e3,message:t.message})})},initDataRange:function(){var t=new Date,e=t.getTime()-7776e6,a=t.getFullYear(),n=t.getMonth()+1,o=t.getDate()<10?"0"+t.getDate():t.getDate(),i=n<10?"0"+n:n,s=new Date(e),r=s.getFullYear(),l=s.getMonth()+1,c=s.getDate()<10?"0"+s.getDate():s.getDate();return[r+"-"+(l<10?"0"+l:l)+"-"+c,a+"-"+i+"-"+o]}},watch:{brandId:function(t,e){t&&(this.activeBrand=t,this.getTableList())},activeGroupId:function(t,e){t&&(this.activeGroup=t)}},mounted:function(){var t=this;t.$emit("showTab","12"),t.conditionObj.dateRange=t.initDataRange(),document.documentElement.style.backgroundColor="#f0f2f5",t.activeBrand=t.brandId,t.brandId&&t.$nextTick(function(){t.getTableList()})},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{gicSelectGroup:i.a,multipleDel:s.a}},p={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"daily-set-wrap task-view-detail"},[a("div",{staticClass:"daily-set-content border-box"},[a("div",{staticClass:"table-condition flex flex-space-between m-b-23"},[a("div",{staticClass:"table-condition-left"},[a("el-input",{staticClass:"w-264",staticStyle:{width:"264px"},attrs:{placeholder:"请输入门店名称"},nativeOn:{keyup:function(e){return a=e,t.toInput(a,t.conditionObj.searchInput);var a}},model:{value:t.conditionObj.searchInput,callback:function(e){t.$set(t.conditionObj,"searchInput",e)},expression:"conditionObj.searchInput"}},[a("i",{staticClass:"el-input__icon el-icon-search",attrs:{slot:"prefix"},slot:"prefix"})]),t._v(" "),a("gic-select-group",{staticClass:"m-l-10",attrs:{brandId:t.brandId,width:213,selectData:t.conditionObj.storeGroup},on:{checkGroupIds:t.checkGroupIds}}),t._v(" "),a("el-date-picker",{staticClass:"m-l-10",attrs:{editable:!1,"value-format":"yyyy-MM-dd",type:"daterange",align:"right","unlink-panels":"","range-separator":"至","start-placeholder":"开始日期","end-placeholder":"结束日期"},on:{change:t.changeDate},model:{value:t.conditionObj.dateRange,callback:function(e){t.$set(t.conditionObj,"dateRange",e)},expression:"conditionObj.dateRange"}})],1),t._v(" "),a("div",{staticClass:"table-condition-right"},[a("el-button",{attrs:{type:"danger"},on:{click:t.multDel}},[t._v("批量删除")])],1)]),t._v(" "),a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],ref:"multipleTable",staticClass:"select-table",style:{width:"100%",minHeight:t.tableH},attrs:{data:t.tableData,"tooltip-effect":"dark"},on:{"selection-change":t.handleSelectionChange}},[a("el-table-column",{attrs:{type:"selection",width:"35"}}),t._v(" "),a("el-table-column",{attrs:{width:"25"},scopedSlots:t._u([{key:"header",fn:function(e){return[a("el-dropdown",{staticStyle:{"line-height":"10px",padding:"0","margin-left":"-15px",transform:"translateY(4px)","-webkit-transform":"translateY(4px)"},attrs:{placement:"bottom-start"},on:{command:t.handleCommand}},[a("span",{staticClass:"el-dropdown-link"},[a("i",{staticClass:"iconfont icongengduo"})]),t._v(" "),a("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[a("el-dropdown-item",{attrs:{command:"0"}},[a("span",{style:{color:0==t.selectRadio?"#2f54eb":"#606266"}},[t._v("选择当页")])]),t._v(" "),a("el-dropdown-item",{attrs:{command:"1"}},[a("span",{style:{color:1==t.selectRadio?"#2f54eb":"#606266"}},[t._v("选择全部")])])],1)],1)]}},{key:"default",fn:function(t){}}])}),t._v(" "),a("el-table-column",{attrs:{label:"门店名称",width:"120","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",{staticStyle:{width:"100%","white-space":"nowrap",overflow:"hidden","text-overflow":"ellipsis"}},[t._v(t._s(e.row.storeName))])]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"任务总数"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.taskCount))]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"已完成(含放弃)","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.completedCount))]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"完成率(含放弃)","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.completedRate))]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"待完成","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.noCompletedCount))]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"逾期中","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.overdueCount))]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"操作"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("el-button",{attrs:{type:"text"},on:{click:function(a){t.toDetail(e.$index,e.row)}}},[t._v("查看详情")])]}}])})],1),t._v(" "),0!=t.tableData.length?a("div",{staticClass:"block common-wrap__page text-right m-t-24"},[a("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._v(" "),a("multiple-del",{attrs:{showDialog:t.showDialog,detailFlag:!1},on:{hideDialog:t.hideDialog}})],1)},staticRenderFns:[]};var h=a("VU/8")(u,p,!1,function(t){a("E2SV")},"data-v-46562b17",null);e.default=h.exports}});
\ No newline at end of file
webpackJsonp([55],{DhLs:function(t,e){},zYBJ:function(t,e,s){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=s("P9l9"),n=s("Ch4/"),o={props:{},data:function(){return{wxEnterpriseId:localStorage.getItem("userInfos")?JSON.parse(localStorage.getItem("userInfos")).wxEnterpriseId:"",roleList:[]}},methods:{changeToggle:function(t){t.expand=!t.expand},getData:function(t){var e=this,s={wxEnterpriseId:e.wxEnterpriseId};Object(a.a)("/haoban-manage3-web/admin-list",s).then(function(t){var s=t.data;if(1==s.errorCode)return s.result&&s.result.length&&s.result.forEach(function(t){t.expand=!1}),void(e.roleList=s.result||[]);n.a.errorMsg(s)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})}},watch:{},mounted:function(){this.$emit("showTab",2),document.documentElement.style.backgroundColor="#f0f2f5",this.getData()},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{}},r={render:function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"daily-set-wrap "},[s("div",{staticClass:"daily-set-content border-box"},[t._m(0),t._v(" "),s("div",{staticClass:"admin-table-body m-t-20"},[t._m(1),t._v(" "),s("div",{staticClass:"admin-role-body"},[t._l(t.roleList,function(e,a){return[s("div",{key:a+"role"},[s("div",{staticClass:"admin-role-name line-50"},[s("el-row",[s("el-col",{attrs:{span:24}},[s("div",{staticClass:"grid-content cursor-pointer",on:{click:function(s){t.changeToggle(e)}}},[s("span",{class:["iconfont cursor-pointer font-14 color-606266 p-l-30",e.expand?"iconjian":"iconjia"],staticStyle:{"font-size":"14px"}}),s("span",{staticClass:"font-14 color-606266 p-l-40"},[t._v(t._s(e.roleName))])])])],1)],1),t._v(" "),e.expand?s("div",[s("el-row",{staticClass:"bg-ebecf0"},[s("el-col",{attrs:{span:6}},[s("div",{staticClass:"grid-content font-14 color-303133 row-th p-l-85"},[t._v("姓名")])]),t._v(" "),s("el-col",{attrs:{span:6}},[s("div",{staticClass:"grid-content font-14 color-303133 row-th"},[t._v("手机号")])]),t._v(" "),s("el-col",{attrs:{span:6}},[s("div",{staticClass:"grid-content font-14 color-303133 row-th"},[t._v("部门")])]),t._v(" "),s("el-col",{attrs:{span:6}},[s("div",{staticClass:"grid-content font-14 color-303133 row-th"},[t._v("操作")])])],1),t._v(" "),s("div",{staticClass:"admin-role-user"},t._l(e.roleUser,function(e,a){return s("el-row",{key:a,staticClass:"line-50 border-set"},[s("el-col",{staticClass:"line-one",attrs:{span:6}},[s("div",{staticClass:"grid-content p-l-85 hide-border"},[t._v(t._s(e.userName||"--"))])]),t._v(" "),s("el-col",{attrs:{span:6}},[s("div",{staticClass:"grid-content"},[t._v(t._s(e.userPhone||"--"))])]),t._v(" "),s("el-col",{attrs:{span:6}},[s("div",{staticClass:"grid-content"},[t._v(t._s(e.departmentName||"--"))])]),t._v(" "),s("el-col",{attrs:{span:6}},[s("div",{staticClass:"grid-content"},[t._v(t._s("--"))])])],1)}))],1):t._e()])]})],2)])])])},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"admin-tip-body"},[e("div",{staticClass:"el-alert el-alert--info",attrs:{role:"alert"}},[e("i",{staticClass:"el-alert__icon el-icon-info"}),this._v(" "),e("div",{staticClass:"el-alert__content"},[e("span",{staticClass:"el-alert__title"},[this._v("超级管理员不可新增,默认为企业微信所添加的好办应用管理员,拥有好办所有管理权限。")])])])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"admin-thead bg-ebecf0"},[e("div",{staticClass:"admin-th p-l-85 font-14 color-303133"},[this._v("角色")])])}]};var i=s("VU/8")(o,r,!1,function(t){s("DhLs")},"data-v-4618c379",null);e.default=i.exports}}); webpackJsonp([57],{DhLs:function(t,e){},zYBJ:function(t,e,s){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=s("P9l9"),n=s("Ch4/"),o={props:{},data:function(){return{wxEnterpriseId:localStorage.getItem("userInfos")?JSON.parse(localStorage.getItem("userInfos")).wxEnterpriseId:"",roleList:[]}},methods:{changeToggle:function(t){t.expand=!t.expand},getData:function(t){var e=this,s={wxEnterpriseId:e.wxEnterpriseId};Object(a.a)("/haoban-manage3-web/admin-list",s).then(function(t){var s=t.data;if(1==s.errorCode)return s.result&&s.result.length&&s.result.forEach(function(t){t.expand=!1}),void(e.roleList=s.result||[]);n.a.errorMsg(s)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})}},watch:{},mounted:function(){this.$emit("showTab",2),document.documentElement.style.backgroundColor="#f0f2f5",this.getData()},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{}},r={render:function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"daily-set-wrap "},[s("div",{staticClass:"daily-set-content border-box"},[t._m(0),t._v(" "),s("div",{staticClass:"admin-table-body m-t-20"},[t._m(1),t._v(" "),s("div",{staticClass:"admin-role-body"},[t._l(t.roleList,function(e,a){return[s("div",{key:a+"role"},[s("div",{staticClass:"admin-role-name line-50"},[s("el-row",[s("el-col",{attrs:{span:24}},[s("div",{staticClass:"grid-content cursor-pointer",on:{click:function(s){t.changeToggle(e)}}},[s("span",{class:["iconfont cursor-pointer font-14 color-606266 p-l-30",e.expand?"iconjian":"iconjia"],staticStyle:{"font-size":"14px"}}),s("span",{staticClass:"font-14 color-606266 p-l-40"},[t._v(t._s(e.roleName))])])])],1)],1),t._v(" "),e.expand?s("div",[s("el-row",{staticClass:"bg-ebecf0"},[s("el-col",{attrs:{span:6}},[s("div",{staticClass:"grid-content font-14 color-303133 row-th p-l-85"},[t._v("姓名")])]),t._v(" "),s("el-col",{attrs:{span:6}},[s("div",{staticClass:"grid-content font-14 color-303133 row-th"},[t._v("手机号")])]),t._v(" "),s("el-col",{attrs:{span:6}},[s("div",{staticClass:"grid-content font-14 color-303133 row-th"},[t._v("部门")])]),t._v(" "),s("el-col",{attrs:{span:6}},[s("div",{staticClass:"grid-content font-14 color-303133 row-th"},[t._v("操作")])])],1),t._v(" "),s("div",{staticClass:"admin-role-user"},t._l(e.roleUser,function(e,a){return s("el-row",{key:a,staticClass:"line-50 border-set"},[s("el-col",{staticClass:"line-one",attrs:{span:6}},[s("div",{staticClass:"grid-content p-l-85 hide-border"},[t._v(t._s(e.userName||"--"))])]),t._v(" "),s("el-col",{attrs:{span:6}},[s("div",{staticClass:"grid-content"},[t._v(t._s(e.userPhone||"--"))])]),t._v(" "),s("el-col",{attrs:{span:6}},[s("div",{staticClass:"grid-content"},[t._v(t._s(e.departmentName||"--"))])]),t._v(" "),s("el-col",{attrs:{span:6}},[s("div",{staticClass:"grid-content"},[t._v(t._s("--"))])])],1)}))],1):t._e()])]})],2)])])])},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"admin-tip-body"},[e("div",{staticClass:"el-alert el-alert--info",attrs:{role:"alert"}},[e("i",{staticClass:"el-alert__icon el-icon-info"}),this._v(" "),e("div",{staticClass:"el-alert__content"},[e("span",{staticClass:"el-alert__title"},[this._v("超级管理员不可新增,默认为企业微信所添加的好办应用管理员,拥有好办所有管理权限。")])])])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"admin-thead bg-ebecf0"},[e("div",{staticClass:"admin-th p-l-85 font-14 color-303133"},[this._v("角色")])])}]};var i=s("VU/8")(o,r,!1,function(t){s("DhLs")},"data-v-4618c379",null);e.default=i.exports}});
\ No newline at end of file \ No newline at end of file
webpackJsonp([56],{K1Vb:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a={name:"enterprise",components:{vueOfficeHeader:n("NKg7").a},data:function(){return{projectName:"haoban-manage-web",collapseFlag:!1,contentHeight:window.screen.availHeight-5+"px"}},computed:{},methods:{toRouterView:function(t){this.$router.push({path:t.path})},collapseTag:function(t){this.collapseFlag=t}},mounted:function(){this.contentHeight=(document.documentElement.clientHeight||document.body.clientHeight)-64+"px"}},i={render:function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"enterprise-wrap"},[e("vue-office-header",{attrs:{projectName:this.projectName},on:{collapseTag:this.collapseTag,toRouterView:this.toRouterView}}),this._v(" "),e("div",{staticClass:"enterprise-wrap__body"},[e("div",{staticClass:"content",attrs:{id:"content"}},[e("div",{staticClass:"content-body",style:{height:this.contentHeight}},[e("transition",{attrs:{name:"fade",mode:"out-in"}},[e("router-view")],1)],1)])])],1)},staticRenderFns:[]};var o=n("VU/8")(a,i,!1,function(t){n("kMRx")},"data-v-45a71088",null);e.default=o.exports},kMRx:function(t,e){}}); webpackJsonp([58],{K1Vb:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a={name:"enterprise",components:{vueOfficeHeader:n("NKg7").a},data:function(){return{projectName:"haoban-manage-web",collapseFlag:!1,contentHeight:window.screen.availHeight-5+"px"}},computed:{},methods:{toRouterView:function(t){this.$router.push({path:t.path})},collapseTag:function(t){this.collapseFlag=t}},mounted:function(){this.contentHeight=(document.documentElement.clientHeight||document.body.clientHeight)-64+"px"}},i={render:function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"enterprise-wrap"},[e("vue-office-header",{attrs:{projectName:this.projectName},on:{collapseTag:this.collapseTag,toRouterView:this.toRouterView}}),this._v(" "),e("div",{staticClass:"enterprise-wrap__body"},[e("div",{staticClass:"content",attrs:{id:"content"}},[e("div",{staticClass:"content-body",style:{height:this.contentHeight}},[e("transition",{attrs:{name:"fade",mode:"out-in"}},[e("router-view")],1)],1)])])],1)},staticRenderFns:[]};var o=n("VU/8")(a,i,!1,function(t){n("kMRx")},"data-v-45a71088",null);e.default=o.exports},kMRx:function(t,e){}});
\ No newline at end of file \ No newline at end of file
webpackJsonp([59],{ZcO4:function(t,e){},rYZf:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s={name:"select-com",props:{childItem:{type:[Object,Array],default:function(){return{}}}},methods:{getZhLen:function(t){for(var e=0,a=0;a<t.length;a++){null!=t.charAt(a).match(/[^\x00-\xff]/gi)?e+=1:e+=.5}return Math.ceil(e)}}},c={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"flex"},[a("div",{class:["opencard-item-title",t.getZhLen(t.childItem.title)>=6?"title-pre-wrap":""]},[t._v(t._s(t.childItem.title))]),t._v(" "),a("div",{staticClass:"draged-item-show"},[a("span",{staticClass:"show-warm-text show-warm-text-flag select-flag"},[t._v(t._s(t.childItem.placeholder)+" "+t._s(t.childItem.isMust?"(必填)":"")+" "),a("i",{staticClass:"el-icon-arrow-right"})])])])},staticRenderFns:[]};var i=a("VU/8")(s,c,!1,function(t){a("ZcO4")},"data-v-337dd046",null);e.default=i.exports}}); webpackJsonp([61],{ZcO4:function(t,e){},rYZf:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s={name:"select-com",props:{childItem:{type:[Object,Array],default:function(){return{}}}},methods:{getZhLen:function(t){for(var e=0,a=0;a<t.length;a++){null!=t.charAt(a).match(/[^\x00-\xff]/gi)?e+=1:e+=.5}return Math.ceil(e)}}},c={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"flex"},[a("div",{class:["opencard-item-title",t.getZhLen(t.childItem.title)>=6?"title-pre-wrap":""]},[t._v(t._s(t.childItem.title))]),t._v(" "),a("div",{staticClass:"draged-item-show"},[a("span",{staticClass:"show-warm-text show-warm-text-flag select-flag"},[t._v(t._s(t.childItem.placeholder)+" "+t._s(t.childItem.isMust?"(必填)":"")+" "),a("i",{staticClass:"el-icon-arrow-right"})])])])},staticRenderFns:[]};var i=a("VU/8")(s,c,!1,function(t){a("ZcO4")},"data-v-337dd046",null);e.default=i.exports}});
\ No newline at end of file \ No newline at end of file
webpackJsonp([61],{BgBI:function(t,e){},Y55K:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a={name:"enterprise",components:{vueOfficeHeader:n("NKg7").a},data:function(){return{projectName:"haoban-manage-web",collapseFlag:!1,contentHeight:window.screen.availHeight-5+"px"}},computed:{},methods:{toRouterView:function(t){this.$router.push({path:t.path})},collapseTag:function(t){this.collapseFlag=t}},mounted:function(){this.contentHeight=(document.documentElement.clientHeight||document.body.clientHeight)-64+"px"}},i={render:function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"enterprise-wrap"},[e("vue-office-header",{attrs:{projectName:this.projectName},on:{collapseTag:this.collapseTag,toRouterView:this.toRouterView}}),this._v(" "),e("div",{staticClass:"enterprise-wrap__body"},[e("div",{staticClass:"content",attrs:{id:"content"}},[e("div",{staticClass:"content-body",style:{height:this.contentHeight}},[e("transition",{attrs:{name:"fade",mode:"out-in"}},[e("router-view")],1)],1)])])],1)},staticRenderFns:[]};var o=n("VU/8")(a,i,!1,function(t){n("BgBI")},"data-v-30d200c5",null);e.default=o.exports}}); webpackJsonp([63],{BgBI:function(t,e){},Y55K:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a={name:"enterprise",components:{vueOfficeHeader:n("NKg7").a},data:function(){return{projectName:"haoban-manage-web",collapseFlag:!1,contentHeight:window.screen.availHeight-5+"px"}},computed:{},methods:{toRouterView:function(t){this.$router.push({path:t.path})},collapseTag:function(t){this.collapseFlag=t}},mounted:function(){this.contentHeight=(document.documentElement.clientHeight||document.body.clientHeight)-64+"px"}},i={render:function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"enterprise-wrap"},[e("vue-office-header",{attrs:{projectName:this.projectName},on:{collapseTag:this.collapseTag,toRouterView:this.toRouterView}}),this._v(" "),e("div",{staticClass:"enterprise-wrap__body"},[e("div",{staticClass:"content",attrs:{id:"content"}},[e("div",{staticClass:"content-body",style:{height:this.contentHeight}},[e("transition",{attrs:{name:"fade",mode:"out-in"}},[e("router-view")],1)],1)])])],1)},staticRenderFns:[]};var o=n("VU/8")(a,i,!1,function(t){n("BgBI")},"data-v-30d200c5",null);e.default=o.exports}});
\ No newline at end of file \ No newline at end of file
webpackJsonp([62],{jHEQ:function(t,a){},qSX4:function(t,a,e){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var n=e("bzW+"),i=e("Qie6"),o=e("Z8ln"),c=e("Ch4/"),r=e("P9l9"),s={name:"reviewed",data:function(){return{bgHeight:window.screen.availHeight-380+"px",appName:"指标管理",activeSelTab:"1",activeTab:"1",navpath:[{name:"首页",path:"/index"},{name:"指标管理",path:""}],tabListData:[{tabId:"1",tabName:"月指标",icon:"iconzhibiao"},{tabId:"2",tabName:"月指标任务",icon:"iconrenwu"}],activeBrand:"",activeGroup:"",expiredFlag:!1}},computed:{},methods:{getExpired:function(){var t=this,a={enterpriseId:t.activeBrand};Object(r.a)("/haoban-manage3-web/enterprise-is-over",a).then(function(a){var e=a.data;1!=e.errorCode?c.a.errorMsg(e):t.expiredFlag=e.result}).catch(function(a){t.$message.error({duration:1e3,message:a.message})})},changeRoute:function(t){this.$router.push(t)},selectBrandId:function(t,a){this.activeBrand=t,this.activeGroup=a,this.getExpired()},setSelectTab:function(t){switch(this.activeTab=t.tabId,t.tabId){case"1":this.changeRoute("monthList");break;case"2":this.changeRoute("monthTask")}},showTab:function(t){this.activeTab=t,this.activeSelTab=t,this.tabListData.forEach(function(a){a.tabId==t&&(a.onlyIconActive=!1),a.children&&a.children.forEach(function(e){e.tabId==t&&(a.onlyIconActive=!0),e.children&&e.children.forEach(function(e){e.tabId==t&&(a.onlyIconActive=!0)})})})},changeNavShow:function(t){"/storeMonthTask"==t.path?this.navpath=[{name:"首页",path:"/index"},{name:"指标管理",path:"/monthList"},{name:"门店月指标",path:""}]:"/salerMonthDetail"==t.path?this.navpath=[{name:"首页",path:"/index"},{name:"指标管理",path:"/monthList"},{name:"门店月指标",path:"storeMonthTask?yearMonth="+this.$route.query.yearMonth},{name:"导购月指标详情",path:""}]:"/companyDaySet"==t.path?this.navpath=[{name:"首页",path:"/index"},{name:"指标管理",path:"/monthList"},{name:"商户日权重",path:""}]:this.navpath=[{name:"首页",path:"/index"},{name:"指标管理",path:""}]}},watch:{$route:{handler:function(t,a){this.changeNavShow(t)},deep:!0},activeBrand:function(t,a){this.activeBrand=t},activeGroup:function(t,a){this.activeGroup=t}},mounted:function(){this.changeNavShow(this.$route),document.documentElement.style.backgroundColor="#f0f2f5"},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{navCrumb:n.a,commonDetailLeft:i.a,expiredDialog:o.a}},h={render:function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{staticClass:"my-customer-wrap common-set-wrap"},[e("nav-crumb",{attrs:{navpath:t.navpath},on:{selectBrandId:t.selectBrandId}}),t._v(" "),e("div",{staticClass:"right-content"},[e("div",{staticClass:"right-box",staticStyle:{"min-height":"calc(100vh - 112px)"}},[e("div",{staticClass:"apps-content flex",staticStyle:{"min-height":"calc(100vh - 112px)"}},[e("div",{staticClass:"apps-content-left w-157"},[e("common-detail-left",{attrs:{tabListData:t.tabListData,activeSelTab:t.activeSelTab},on:{setSelectTab:t.setSelectTab}})],1),t._v(" "),e("div",{staticClass:"apps-content-right"},[e("transition",{attrs:{name:"fade",mode:"out-in"}},[t.$route.meta.keepAlive?e("keep-alive",[e("router-view",{attrs:{brandId:t.activeBrand,activeGroupId:t.activeGroup,tabType:t.activeTab},on:{showTab:t.showTab}})],1):e("router-view",{attrs:{brandId:t.activeBrand,activeGroupId:t.activeGroup,tabType:t.activeTab},on:{showTab:t.showTab}})],1)],1)])])]),t._v(" "),t.expiredFlag?e("expired-dialog"):t._e()],1)},staticRenderFns:[]};var d=e("VU/8")(s,h,!1,function(t){e("jHEQ")},"data-v-2e8d3326",null);a.default=d.exports}}); webpackJsonp([64],{jHEQ:function(t,a){},qSX4:function(t,a,e){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var n=e("bzW+"),i=e("Qie6"),o=e("Z8ln"),c=e("Ch4/"),r=e("P9l9"),s={name:"reviewed",data:function(){return{bgHeight:window.screen.availHeight-380+"px",appName:"指标管理",activeSelTab:"1",activeTab:"1",navpath:[{name:"首页",path:"/index"},{name:"指标管理",path:""}],tabListData:[{tabId:"1",tabName:"月指标",icon:"iconzhibiao"},{tabId:"2",tabName:"月指标任务",icon:"iconrenwu"}],activeBrand:"",activeGroup:"",expiredFlag:!1}},computed:{},methods:{getExpired:function(){var t=this,a={enterpriseId:t.activeBrand};Object(r.a)("/haoban-manage3-web/enterprise-is-over",a).then(function(a){var e=a.data;1!=e.errorCode?c.a.errorMsg(e):t.expiredFlag=e.result}).catch(function(a){t.$message.error({duration:1e3,message:a.message})})},changeRoute:function(t){this.$router.push(t)},selectBrandId:function(t,a){this.activeBrand=t,this.activeGroup=a,this.getExpired()},setSelectTab:function(t){switch(this.activeTab=t.tabId,t.tabId){case"1":this.changeRoute("monthList");break;case"2":this.changeRoute("monthTask")}},showTab:function(t){this.activeTab=t,this.activeSelTab=t,this.tabListData.forEach(function(a){a.tabId==t&&(a.onlyIconActive=!1),a.children&&a.children.forEach(function(e){e.tabId==t&&(a.onlyIconActive=!0),e.children&&e.children.forEach(function(e){e.tabId==t&&(a.onlyIconActive=!0)})})})},changeNavShow:function(t){"/storeMonthTask"==t.path?this.navpath=[{name:"首页",path:"/index"},{name:"指标管理",path:"/monthList"},{name:"门店月指标",path:""}]:"/salerMonthDetail"==t.path?this.navpath=[{name:"首页",path:"/index"},{name:"指标管理",path:"/monthList"},{name:"门店月指标",path:"storeMonthTask?yearMonth="+this.$route.query.yearMonth},{name:"导购月指标详情",path:""}]:"/companyDaySet"==t.path?this.navpath=[{name:"首页",path:"/index"},{name:"指标管理",path:"/monthList"},{name:"商户日权重",path:""}]:this.navpath=[{name:"首页",path:"/index"},{name:"指标管理",path:""}]}},watch:{$route:{handler:function(t,a){this.changeNavShow(t)},deep:!0},activeBrand:function(t,a){this.activeBrand=t},activeGroup:function(t,a){this.activeGroup=t}},mounted:function(){this.changeNavShow(this.$route),document.documentElement.style.backgroundColor="#f0f2f5"},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{navCrumb:n.a,commonDetailLeft:i.a,expiredDialog:o.a}},h={render:function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{staticClass:"my-customer-wrap common-set-wrap"},[e("nav-crumb",{attrs:{navpath:t.navpath},on:{selectBrandId:t.selectBrandId}}),t._v(" "),e("div",{staticClass:"right-content"},[e("div",{staticClass:"right-box",staticStyle:{"min-height":"calc(100vh - 112px)"}},[e("div",{staticClass:"apps-content flex",staticStyle:{"min-height":"calc(100vh - 112px)"}},[e("div",{staticClass:"apps-content-left w-157"},[e("common-detail-left",{attrs:{tabListData:t.tabListData,activeSelTab:t.activeSelTab},on:{setSelectTab:t.setSelectTab}})],1),t._v(" "),e("div",{staticClass:"apps-content-right"},[e("transition",{attrs:{name:"fade",mode:"out-in"}},[t.$route.meta.keepAlive?e("keep-alive",[e("router-view",{attrs:{brandId:t.activeBrand,activeGroupId:t.activeGroup,tabType:t.activeTab},on:{showTab:t.showTab}})],1):e("router-view",{attrs:{brandId:t.activeBrand,activeGroupId:t.activeGroup,tabType:t.activeTab},on:{showTab:t.showTab}})],1)],1)])])]),t._v(" "),t.expiredFlag?e("expired-dialog"):t._e()],1)},staticRenderFns:[]};var d=e("VU/8")(s,h,!1,function(t){e("jHEQ")},"data-v-2e8d3326",null);a.default=d.exports}});
\ No newline at end of file \ No newline at end of file
webpackJsonp([64],{"/XIA":function(t,e){},"8dpP":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s={name:"image-com",props:{childItem:{type:[Object,Array],default:function(){return{}}}},methods:{getZhLen:function(t){for(var e=0,i=0;i<t.length;i++){null!=t.charAt(i).match(/[^\x00-\xff]/gi)?e+=1:e+=.5}return Math.ceil(e)}}},a={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"image-com flex"},[i("div",{class:["opencard-item-title",t.getZhLen(t.childItem.title)>=6?"title-pre-wrap":""]},[t._v(t._s(t.childItem.title))]),t._v(" "),i("div",{staticClass:"must"},[t._v(t._s(t.childItem.isMust?"(必填)":""))]),t._v(" "),t._m(0)])},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"draged-item-show"},[e("span",{staticClass:"show-warm-text show-warm-text-flag select-flag"},[e("i",{staticClass:"iconfont icon-icon"})])])}]};var c=i("VU/8")(s,a,!1,function(t){i("/XIA")},"data-v-2858c829",null);e.default=c.exports}}); webpackJsonp([66],{"/XIA":function(t,e){},"8dpP":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s={name:"image-com",props:{childItem:{type:[Object,Array],default:function(){return{}}}},methods:{getZhLen:function(t){for(var e=0,i=0;i<t.length;i++){null!=t.charAt(i).match(/[^\x00-\xff]/gi)?e+=1:e+=.5}return Math.ceil(e)}}},a={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"image-com flex"},[i("div",{class:["opencard-item-title",t.getZhLen(t.childItem.title)>=6?"title-pre-wrap":""]},[t._v(t._s(t.childItem.title))]),t._v(" "),i("div",{staticClass:"must"},[t._v(t._s(t.childItem.isMust?"(必填)":""))]),t._v(" "),t._m(0)])},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"draged-item-show"},[e("span",{staticClass:"show-warm-text show-warm-text-flag select-flag"},[e("i",{staticClass:"iconfont icon-icon"})])])}]};var c=i("VU/8")(s,a,!1,function(t){i("/XIA")},"data-v-2858c829",null);e.default=c.exports}});
\ No newline at end of file \ No newline at end of file
webpackJsonp([69],{"27tI":function(t,e){},FIFf:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=a("bzW+"),n=a("Qie6"),c=a("Z8ln"),o=a("Ch4/"),r=a("P9l9"),s={name:"reviewed",data:function(){return{bgHeight:window.screen.availHeight-380+"px",activeSelTab:"1",activeTab:"1",navpath:[{name:"首页",path:"/index"},{name:"商品中心",path:""}],tabListData:[{tabId:"1",tabName:"商品展示设置",icon:"iconjichushezhi"}],activeBrand:"",activeGroup:"",expiredFlag:!1}},computed:{},methods:{getExpired:function(){var t=this,e={enterpriseId:t.activeBrand};Object(r.a)("/haoban-manage3-web/enterprise-is-over",e).then(function(e){var a=e.data;1!=a.errorCode?o.a.errorMsg(a):t.expiredFlag=a.result}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},changeRoute:function(t){this.$router.push(t)},selectBrandId:function(t,e){this.activeBrand=t,this.activeGroup=e,this.getExpired()},setSelectTab:function(t){switch(this.activeTab=t.tabId,t.tabId){case"1":this.changeRoute("goodsShowSet")}},showTab:function(t){this.activeTab=t,this.activeSelTab=t,this.tabListData.forEach(function(e){e.tabId==t&&(e.onlyIconActive=!1),e.children&&e.children.forEach(function(a){a.tabId==t&&(e.onlyIconActive=!0),a.children&&a.children.forEach(function(a){a.tabId==t&&(e.onlyIconActive=!0)})})})}},watch:{activeBrand:function(t,e){this.activeBrand=t},activeGroup:function(t,e){this.activeGroup=t}},mounted:function(){document.documentElement.style.backgroundColor="#f0f2f5"},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{navCrumb:i.a,commonDetailLeft:n.a,expiredDialog:c.a}},d={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"my-customer-wrap common-set-wrap"},[a("nav-crumb",{attrs:{navpath:t.navpath},on:{selectBrandId:t.selectBrandId}}),t._v(" "),a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box",staticStyle:{"min-height":"calc(100vh - 112px)"}},[a("div",{staticClass:"apps-content flex",staticStyle:{"min-height":"calc(100vh - 112px)"}},[a("div",{staticClass:"apps-content-left w-157",staticStyle:{"min-height":"calc(100vh - 112px)"}},[a("common-detail-left",{attrs:{tabListData:t.tabListData,activeSelTab:t.activeSelTab},on:{setSelectTab:t.setSelectTab}})],1),t._v(" "),a("div",{staticClass:"apps-content-right"},[a("transition",{attrs:{name:"fade",mode:"out-in"}},[a("router-view",{attrs:{brandId:t.activeBrand,activeGroupId:t.activeGroup,tabType:t.activeTab},on:{showTab:t.showTab}})],1)],1)])])]),t._v(" "),t.expiredFlag?a("expired-dialog"):t._e()],1)},staticRenderFns:[]};var h=a("VU/8")(s,d,!1,function(t){a("27tI")},"data-v-1c2dc90c",null);e.default=h.exports}});
\ No newline at end of file
webpackJsonp([68],{"1j1j":function(t,e){},Z3Aa:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s=a("3E4D"),n=a("Ch4/"),r=a("PI0u"),o=a("P9l9"),i={name:"app-detail",props:{brandId:{type:String,default:function(){return""}},tabType:{type:String,default:function(){return"1"}},activeGroupId:{type:String,default:function(){return""}}},data:function(){return{projectName:"",wxEnterpriseRelatedId:JSON.parse(localStorage.getItem("userInfos")).wxEnterpriseId,myCustomData:{searchFlag:!1},activeId:"1",loading:!1}},methods:{submit:Object(r.a)(function(t){this.loading=!0,this.setData(t)},500),setData:function(t){var e=this,a={enterpriseId:e.brandId,wxEnterpriseRelatedId:e.wxEnterpriseRelatedId},r=void 0;"showFlag"!=t&&(a[t]=e.myCustomData[t]?1:0,r="/haoban-app-customer-web/customer/save-online-chat-setting","searchFlag"===t&&(r="/haoban-app-customer-web/customer/save-customer-setting")),Object(o.d)(r,a).then(function(t){var a=t.data;e.loading=!1,1!=a.errorCode?n.a.errorMsg(a):s.a.showmsg("保存成功","success")}).catch(function(t){e.loading=!1,e.$message.error({duration:1e3,message:t.message})})},changeAllowGuide:function(t){this.myCustomData.allowGuideMobile=t,this.myCustomData.allowGuideMessage=t,this.myCustomData.allowGuideOnlineChat=t},changeContact:function(){this.myCustomData.allowGuideMobile||this.myCustomData.allowGuideMessage||this.myCustomData.allowGuideOnlineChat||(this.myCustomData.allowGuideContact=!1)},getCustomerSet:function(t){var e=this,a={enterpriseId:e.brandId,wxEnterpriseRelatedId:e.wxEnterpriseRelatedId};Object(o.d)("/haoban-app-customer-web/customer/find-customer-setting",a).then(function(t){var a=t.data;1!=a.errorCode?n.a.errorMsg(a):a.result&&(e.myCustomData.searchFlag=!!a.result.searchFlag)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})}},watch:{brandId:function(t,e){this.getCustomerSet(this.brandId)}},mounted:function(){this.$emit("showTab","13"),this.getCustomerSet(this.brandId)},components:{}},u={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"app-detail-wrap"},[a("div",{staticClass:"app-detail-pane border-box p-20"},[a("el-checkbox",{model:{value:t.myCustomData.searchFlag,callback:function(e){t.$set(t.myCustomData,"searchFlag",e)},expression:"myCustomData.searchFlag"}},[t._v("允许全品牌搜索")]),t._v(" "),a("div",{staticClass:"m-t-46"},[a("el-button",{attrs:{type:"primary",loading:t.loading},on:{click:function(e){t.submit("searchFlag")}}},[t._v("保 存")])],1)],1)])},staticRenderFns:[]};var c=a("VU/8")(i,u,!1,function(t){a("1j1j")},"data-v-243d1e1a",null);e.default=c.exports}}); webpackJsonp([70],{"1j1j":function(t,e){},Z3Aa:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s=a("3E4D"),n=a("Ch4/"),r=a("PI0u"),o=a("P9l9"),i={name:"app-detail",props:{brandId:{type:String,default:function(){return""}},tabType:{type:String,default:function(){return"1"}},activeGroupId:{type:String,default:function(){return""}}},data:function(){return{projectName:"",wxEnterpriseRelatedId:JSON.parse(localStorage.getItem("userInfos")).wxEnterpriseId,myCustomData:{searchFlag:!1},activeId:"1",loading:!1}},methods:{submit:Object(r.a)(function(t){this.loading=!0,this.setData(t)},500),setData:function(t){var e=this,a={enterpriseId:e.brandId,wxEnterpriseRelatedId:e.wxEnterpriseRelatedId},r=void 0;"showFlag"!=t&&(a[t]=e.myCustomData[t]?1:0,r="/haoban-app-customer-web/customer/save-online-chat-setting","searchFlag"===t&&(r="/haoban-app-customer-web/customer/save-customer-setting")),Object(o.d)(r,a).then(function(t){var a=t.data;e.loading=!1,1!=a.errorCode?n.a.errorMsg(a):s.a.showmsg("保存成功","success")}).catch(function(t){e.loading=!1,e.$message.error({duration:1e3,message:t.message})})},changeAllowGuide:function(t){this.myCustomData.allowGuideMobile=t,this.myCustomData.allowGuideMessage=t,this.myCustomData.allowGuideOnlineChat=t},changeContact:function(){this.myCustomData.allowGuideMobile||this.myCustomData.allowGuideMessage||this.myCustomData.allowGuideOnlineChat||(this.myCustomData.allowGuideContact=!1)},getCustomerSet:function(t){var e=this,a={enterpriseId:e.brandId,wxEnterpriseRelatedId:e.wxEnterpriseRelatedId};Object(o.d)("/haoban-app-customer-web/customer/find-customer-setting",a).then(function(t){var a=t.data;1!=a.errorCode?n.a.errorMsg(a):a.result&&(e.myCustomData.searchFlag=!!a.result.searchFlag)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})}},watch:{brandId:function(t,e){this.getCustomerSet(this.brandId)}},mounted:function(){this.$emit("showTab","13"),this.getCustomerSet(this.brandId)},components:{}},u={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"app-detail-wrap"},[a("div",{staticClass:"app-detail-pane border-box p-20"},[a("el-checkbox",{model:{value:t.myCustomData.searchFlag,callback:function(e){t.$set(t.myCustomData,"searchFlag",e)},expression:"myCustomData.searchFlag"}},[t._v("允许全品牌搜索")]),t._v(" "),a("div",{staticClass:"m-t-46"},[a("el-button",{attrs:{type:"primary",loading:t.loading},on:{click:function(e){t.submit("searchFlag")}}},[t._v("保 存")])],1)],1)])},staticRenderFns:[]};var c=a("VU/8")(i,u,!1,function(t){a("1j1j")},"data-v-243d1e1a",null);e.default=c.exports}});
\ No newline at end of file \ No newline at end of file
webpackJsonp([71],{QHTa:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=a("bzW+"),i=a("Qie6"),c=a("Z8ln"),o=a("Ch4/"),r=a("P9l9"),s={name:"reviewed",data:function(){return{bgHeight:window.screen.availHeight-380+"px",activeSelTab:"1",activeTab:"1",navpath:[{name:"首页",path:"/index"},{name:"我的顾客",path:""}],tabListData:[{tabId:"1",tabName:"会员基础设置",icon:"iconjichushezhi",onlyIconActive:!1,children:[{tabId:"11",tabName:"会员展示设置",icon:""},{tabId:"12",tabName:"会员分组设置",icon:""},{tabId:"13",tabName:"会员搜索设置",icon:""}]},{tabId:"2",tabName:"我的顾客列表",icon:"icongukeguanliicon"}],activeBrand:"",activeGroup:"",expiredFlag:!1}},computed:{},methods:{getExpired:function(){var t=this,e={enterpriseId:t.activeBrand};Object(r.a)("/haoban-manage3-web/enterprise-is-over",e).then(function(e){var a=e.data;1!=a.errorCode?o.a.errorMsg(a):t.expiredFlag=a.result}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},changeRoute:function(t){this.$router.push(t)},selectBrandId:function(t,e){this.activeBrand=t,this.activeGroup=e,this.getExpired()},setSelectTab:function(t){switch(this.activeTab=t.tabId,t.tabId){case"11":this.changeRoute("memberShowSet");break;case"12":this.changeRoute("memberGroupSet");break;case"13":this.changeRoute("memberSearchSet")}},showTab:function(t){this.activeTab=t,this.activeSelTab=t,this.tabListData.forEach(function(e){e.tabId==t&&(e.onlyIconActive=!1),e.children&&e.children.forEach(function(a){a.tabId==t&&(e.onlyIconActive=!0),a.children&&a.children.forEach(function(a){a.tabId==t&&(e.onlyIconActive=!0)})})})}},watch:{activeBrand:function(t,e){this.activeBrand=t},activeGroup:function(t,e){this.activeGroup=t}},mounted:function(){var t=this.$route.query.appIcon;t&&(this.appIcon=window.unescape(t)),document.documentElement.style.backgroundColor="#f0f2f5"},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{navCrumb:n.a,commonDetailLeft:i.a,expiredDialog:c.a}},d={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"my-customer-wrap common-set-wrap"},[a("nav-crumb",{attrs:{navpath:t.navpath},on:{selectBrandId:t.selectBrandId}}),t._v(" "),a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box",staticStyle:{"min-height":"calc(100vh - 112px)"}},[a("div",{staticClass:"apps-content flex",staticStyle:{"min-height":"calc(100vh - 112px)"}},[a("div",{staticClass:"apps-content-left w-157",staticStyle:{"min-height":"calc(100vh - 112px)"}},[a("common-detail-left",{attrs:{tabListData:t.tabListData,activeSelTab:t.activeSelTab},on:{setSelectTab:t.setSelectTab}})],1),t._v(" "),a("div",{staticClass:"apps-content-right"},[a("transition",{attrs:{name:"fade",mode:"out-in"}},[a("router-view",{attrs:{brandId:t.activeBrand,activeGroupId:t.activeGroup,tabType:t.activeTab},on:{showTab:t.showTab}})],1)],1)])])]),t._v(" "),t.expiredFlag?a("expired-dialog"):t._e()],1)},staticRenderFns:[]};var h=a("VU/8")(s,d,!1,function(t){a("gJVK")},"data-v-1c348993",null);e.default=h.exports},gJVK:function(t,e){}});
\ No newline at end of file
webpackJsonp([72],{J8vp:function(t,e){},SBUJ:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=a("fZjL"),o=a.n(n),i=a("Ggl+"),s=a("LRn8"),r=a("P9l9"),l=a("PI0u"),c=a("3E4D"),d=a("Ch4/"),u={name:"reviewed",props:{brandId:{type:String,default:function(){return""}},activeGroupId:{type:String,default:function(){return""}}},data:function(){return{tableH:window.screen.availHeight-464-126,activeTab:"1",activeBrand:this.brandId,activeGroup:this.activeGroupId,activeId:"2",showDialog:!1,conditionObj:{searchInput:"",storeGroup:[],storeType:"",dateRange:[]},loading:!1,selectRadio:0,tableData:[],multipleSelection:[],currentPage:1,pageSize:20,total:0}},computed:{},methods:{checkGroupIds:function(t){this.conditionObj.storeGroup=t,this.currentPage=1,this.getTableList()},changeTable:function(t){this.currentPage=1,this.getTableList()},handleCommand:function(t){this.selectRadio=t},setSelectTab:function(t){this.activeTab=t.tabId},toInput:Object(l.a)(function(t,e){this.currentPage=1,this.getTableList()},500),changeStoreType:function(){this.currentPage=1,this.getTableList()},changeDate:function(t){t||(this.conditionObj.dateRange=[]),this.currentPage=1,this.getTableList()},handleSelectionChange:function(t){this.multipleSelection=t},delDepart:function(t,e){e.splice(t,1),this.currentPage=1,this.getTableList()},multDel:function(){if(!this.multipleSelection.length)return this.$message.error({duration:1e3,message:"请选择删除项"}),!1;this.showDialog=!0},hideDialog:function(t){if(this.showDialog=!1,!o()(t).length)return!1;this.postMultDel(t)},postMultDel:function(t){var e=this,a=[];e.conditionObj.storeGroup.forEach(function(t){a.push(t.storeGroupId)}),e.conditionObj.dateRange||(e.conditionObj.dateRange=[]);var n={search:e.conditionObj.searchInput||"",storeGroupIds:a.join(",")||"",storeIds:e.multipleSelection.map(function(t){return t.storeId}).join(",")||"",storeType:e.conditionObj.storeType||"",startDate:e.conditionObj.dateRange[0]||"",endDate:e.conditionObj.dateRange[1]||"",enterpriseId:e.activeBrand,delTaskStatus:t.delOptFlag,reason:t.reason,isAll:e.selectRadio};Object(r.d)("/haoban-app-tel-task-three-web/task/batch-del-store-task-list",n).then(function(t){var a=t.data;if(1==a.errorCode)return c.a.showmsg("删除成功","success"),void e.getTableList();d.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},exportExcel:function(){var t=this,e=[];t.conditionObj.storeGroup.forEach(function(t){e.push(t.storeGroupId)});var a={search:t.conditionObj.searchInput||"",storeGroupIds:e.join(",")||"",storeType:t.conditionObj.storeType||"",startDate:t.conditionObj.dateRange?t.conditionObj.dateRange[0]:"",endDate:t.conditionObj.dateRange?t.conditionObj.dateRange[1]:"",enterpriseId:t.activeBrand};Object(r.b)("/haoban-app-tel-task-three-web/task/export-store-task-list",a).then(function(e){if(!e.data)return d.a.errorMsg("暂无数据"),!1;var a=new Blob([e.data],{type:"application/vnd.ms-excel"}),n=(t.tableData[0]?t.tableData[0].storeName:"")+"门店任务报表.csv",o=document.createElement("a");o.download=n,o.style.display="none",o.href=URL.createObjectURL(a),document.body.appendChild(o),o.click(),URL.revokeObjectURL(o.href),document.body.removeChild(o)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},handleSizeChange:function(t){this.pageSize=t,this.getTableList()},handleCurrentChange:function(t){this.currentPage=t,this.getTableList()},showDialogLayer:function(t,e){this.selectType=t,this.changed=t,this.defaultStoreList=e,this.storeTreeSet={dialogVisible:!0,isSingle:!1,isSelectPerson:!1}},handleSelectedList:function(t){this.conditionObj.storeGroup=t,this.getTableList()},toDetail:function(t,e){this.$router.push("taskDetail?storeId="+e.storeId+"&ecmId="+this.$route.query.ecmId)},getTableList:function(t){var e=this;e.loading=!0;var a=[];e.conditionObj.storeGroup.forEach(function(t){a.push(t.storeGroupId)}),e.conditionObj.dateRange||(e.conditionObj.dateRange=[]);var n={ecmId:e.$route.query.ecmId,search:e.conditionObj.searchInput||"",storeGroupIds:a.join(",")||"",storeType:e.conditionObj.storeType||"",startDate:e.conditionObj.dateRange[0]||"",endDate:e.conditionObj.dateRange[1]||"",pageNum:e.currentPage,pageSize:e.pageSize,enterpriseId:e.activeBrand};Object(r.a)("/haoban-app-tel-task-three-web/task/store-task-list",n).then(function(t){var a=t.data;if(e.loading=!1,1==a.errorCode)return e.tableData=a.result.list||[],e.total=a.result.pageInfo.total,!1;d.a.errorMsg(a)}).catch(function(t){e.loading=!1,e.$message.error({duration:1e3,message:t.message})})},initDataRange:function(){var t=new Date,e=t.getTime()-7776e6,a=t.getFullYear(),n=t.getMonth()+1,o=t.getDate()<10?"0"+t.getDate():t.getDate(),i=n<10?"0"+n:n,s=new Date(e),r=s.getFullYear(),l=s.getMonth()+1,c=s.getDate()<10?"0"+s.getDate():s.getDate();return[r+"-"+(l<10?"0"+l:l)+"-"+c,a+"-"+i+"-"+o]}},watch:{brandId:function(t,e){t&&(this.activeBrand=t,this.getTableList())},activeGroupId:function(t,e){t&&(this.activeGroup=t)}},mounted:function(){var t=this;t.$emit("showTab","12"),t.conditionObj.dateRange=t.initDataRange(),document.documentElement.style.backgroundColor="#f0f2f5",t.activeBrand=t.brandId,t.brandId&&t.$nextTick(function(){t.getTableList()})},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{gicSelectGroup:i.a,multipleDel:s.a}},p={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"daily-set-wrap task-view-detail"},[a("div",{staticClass:"daily-set-content border-box"},[a("div",{staticClass:"table-condition flex flex-space-between m-b-23"},[a("div",{staticClass:"table-condition-left"},[a("el-input",{staticClass:"w-264",staticStyle:{width:"264px"},attrs:{placeholder:"请输入门店名称"},nativeOn:{keyup:function(e){return a=e,t.toInput(a,t.conditionObj.searchInput);var a}},model:{value:t.conditionObj.searchInput,callback:function(e){t.$set(t.conditionObj,"searchInput",e)},expression:"conditionObj.searchInput"}},[a("i",{staticClass:"el-input__icon el-icon-search",attrs:{slot:"prefix"},slot:"prefix"})]),t._v(" "),a("gic-select-group",{staticClass:"m-l-10",attrs:{brandId:t.brandId,width:213,selectData:t.conditionObj.storeGroup},on:{checkGroupIds:t.checkGroupIds}}),t._v(" "),a("el-date-picker",{staticClass:"m-l-10",attrs:{editable:!1,"value-format":"yyyy-MM-dd",type:"daterange",align:"right","unlink-panels":"","range-separator":"至","start-placeholder":"开始日期","end-placeholder":"结束日期"},on:{change:t.changeDate},model:{value:t.conditionObj.dateRange,callback:function(e){t.$set(t.conditionObj,"dateRange",e)},expression:"conditionObj.dateRange"}})],1),t._v(" "),a("div",{staticClass:"table-condition-right"},[a("el-button",{attrs:{type:"danger"},on:{click:t.multDel}},[t._v("批量删除")])],1)]),t._v(" "),a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],ref:"multipleTable",staticClass:"select-table",style:{width:"100%",minHeight:t.tableH},attrs:{data:t.tableData,"tooltip-effect":"dark"},on:{"selection-change":t.handleSelectionChange}},[a("el-table-column",{attrs:{type:"selection",width:"35"}}),t._v(" "),a("el-table-column",{attrs:{width:"25"},scopedSlots:t._u([{key:"header",fn:function(e){return[a("el-dropdown",{staticStyle:{"line-height":"10px",padding:"0","margin-left":"-15px",transform:"translateY(4px)","-webkit-transform":"translateY(4px)"},attrs:{placement:"bottom-start"},on:{command:t.handleCommand}},[a("span",{staticClass:"el-dropdown-link"},[a("i",{staticClass:"iconfont icongengduo"})]),t._v(" "),a("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[a("el-dropdown-item",{attrs:{command:"0"}},[a("span",{style:{color:0==t.selectRadio?"#2f54eb":"#606266"}},[t._v("选择当页")])]),t._v(" "),a("el-dropdown-item",{attrs:{command:"1"}},[a("span",{style:{color:1==t.selectRadio?"#2f54eb":"#606266"}},[t._v("选择全部")])])],1)],1)]}},{key:"default",fn:function(t){}}])}),t._v(" "),a("el-table-column",{attrs:{label:"门店名称",width:"120","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",{staticStyle:{width:"100%","white-space":"nowrap",overflow:"hidden","text-overflow":"ellipsis"}},[t._v(t._s(e.row.storeName))])]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"任务总数"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.taskCount))]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"已完成(含放弃)","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.completedCount))]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"完成率(含放弃)","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.completedRate))]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"待完成","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.noCompletedCount))]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"逾期中","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.overdueCount))]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"操作"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("el-button",{attrs:{type:"text"},on:{click:function(a){t.toDetail(e.$index,e.row)}}},[t._v("查看详情")])]}}])})],1),t._v(" "),0!=t.tableData.length?a("div",{staticClass:"block common-wrap__page text-right m-t-24"},[a("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._v(" "),a("multiple-del",{attrs:{showDialog:t.showDialog,detailFlag:!1},on:{hideDialog:t.hideDialog}})],1)},staticRenderFns:[]};var h=a("VU/8")(u,p,!1,function(t){a("J8vp")},"data-v-0cef4a85",null);e.default=h.exports}});
\ No newline at end of file
webpackJsonp([73],{GLu7:function(e,t){},upTI:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=a("l46T"),s=a("Kkt8"),o=a("PI0u"),n=a("Ch4/"),i=a("3E4D"),d=a("P9l9"),l={name:"reviewed",props:{brandId:{type:String,default:function(){return""}}},data:function(){return{activeTab:"1",activeId:"1",activeBrand:this.brandId,wxEnterpriseId:localStorage.getItem("userInfos")?JSON.parse(localStorage.getItem("userInfos")).wxEnterpriseId:"",createName:localStorage.getItem("userInfos")&&JSON.parse(localStorage.getItem("userInfos")).staffDTO?JSON.parse(localStorage.getItem("userInfos")).staffDTO.staffName:"",formData:{taskTitle:"",taskContent:"",addTimeType:"1"},rules:{taskTitle:[{required:!0,message:"请输入任务标题",trigger:"blur"}],taskContent:[{required:!0,message:"请输入任务内容",trigger:"blur"}]}}},computed:{},methods:{submitForm:Object(o.a)(function(e){var t=this;t.$refs[e].validate(function(e){e&&t.postSave()})},500),postSave:function(){var e=this,t={taskTitle:e.formData.taskTitle,taskContent:e.formData.taskContent,addTimeType:e.formData.addTimeType,wxEnterpriseId:e.wxEnterpriseId,createName:e.createName};Object(d.d)("/haoban-app-tel-task-three-web/create-session-task",t).then(function(t){var a=t.data;if(1==a.errorCode)return i.a.showmsg("保存成功","success"),void e.$router.push("/taskList");n.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},getData:function(){var e=this,t={enterpriseId:e.activeBrand,taskType:1};Object(d.d)("/haoban-app-tel-task-three-web/find-task-setting",t).then(function(t){var a=t.data;if(1==a.errorCode)return a.result.relaxTaskJudge=1==a.result.relaxTaskJudge,void(e.setObj=a.result);n.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})}},watch:{brandId:function(e,t){e&&(this.activeBrand=e)}},mounted:function(){document.documentElement.style.backgroundColor="#f0f2f5",this.$emit("showTab","3"),this.brandId},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{limitInput:r.a,limitTextarea:s.a}},u={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"app-detail-wrap"},[a("div",{staticClass:"task-set-content boder-box"},[a("el-form",{ref:"ruleForm",staticClass:"demo-ruleForm",attrs:{model:e.formData,rules:e.rules,"label-width":"120px"}},[a("el-form-item",{attrs:{label:"任务标题",prop:"taskTitle"}},[a("limitInput",{attrs:{inputWidth:372,disflag:!!e.$route.query.sessionTaskId,inputValue:e.formData.taskTitle,getByType:"word",holder:"请输入任务标题",maxLength:20},on:{"update:inputValue":function(t){e.$set(e.formData,"taskTitle",t)}}})],1),e._v(" "),a("el-form-item",{attrs:{label:"任务内容",prop:"taskContent"}},[a("limit-textarea",{attrs:{inputWidth:372,inputValue:e.formData.taskContent,holder:"请输入任务内容",getByType:"word",maxLength:200},on:{"update:inputValue":function(t){e.$set(e.formData,"taskContent",t)}}})],1),e._v(" "),a("el-form-item",{attrs:{label:"添加好友时间",prop:"addTimeType"}},[a("el-radio",{attrs:{label:"1"},model:{value:e.formData.addTimeType,callback:function(t){e.$set(e.formData,"addTimeType",t)},expression:"formData.addTimeType"}},[e._v("近一个月")]),e._v(" "),a("el-radio",{attrs:{label:"2"},model:{value:e.formData.addTimeType,callback:function(t){e.$set(e.formData,"addTimeType",t)},expression:"formData.addTimeType"}},[e._v("近一周")])],1),e._v(" "),a("el-form-item",[a("el-button",{attrs:{type:"primary"},on:{click:function(t){e.submitForm("ruleForm")}}},[e._v("确认"+e._s(e.$route.query.sessionTaskId?"编辑":"新建"))])],1)],1)],1)])},staticRenderFns:[]};var m=a("VU/8")(l,u,!1,function(e){a("GLu7")},"data-v-0bdda65c",null);t.default=m.exports}}); webpackJsonp([74],{GLu7:function(e,t){},upTI:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=a("l46T"),s=a("Kkt8"),o=a("PI0u"),n=a("Ch4/"),i=a("3E4D"),d=a("P9l9"),l={name:"reviewed",props:{brandId:{type:String,default:function(){return""}}},data:function(){return{activeTab:"1",activeId:"1",activeBrand:this.brandId,wxEnterpriseId:localStorage.getItem("userInfos")?JSON.parse(localStorage.getItem("userInfos")).wxEnterpriseId:"",createName:localStorage.getItem("userInfos")&&JSON.parse(localStorage.getItem("userInfos")).staffDTO?JSON.parse(localStorage.getItem("userInfos")).staffDTO.staffName:"",formData:{taskTitle:"",taskContent:"",addTimeType:"1"},rules:{taskTitle:[{required:!0,message:"请输入任务标题",trigger:"blur"}],taskContent:[{required:!0,message:"请输入任务内容",trigger:"blur"}]}}},computed:{},methods:{submitForm:Object(o.a)(function(e){var t=this;t.$refs[e].validate(function(e){e&&t.postSave()})},500),postSave:function(){var e=this,t={taskTitle:e.formData.taskTitle,taskContent:e.formData.taskContent,addTimeType:e.formData.addTimeType,wxEnterpriseId:e.wxEnterpriseId,createName:e.createName};Object(d.d)("/haoban-app-tel-task-three-web/create-session-task",t).then(function(t){var a=t.data;if(1==a.errorCode)return i.a.showmsg("保存成功","success"),void e.$router.push("/taskList");n.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},getData:function(){var e=this,t={enterpriseId:e.activeBrand,taskType:1};Object(d.d)("/haoban-app-tel-task-three-web/find-task-setting",t).then(function(t){var a=t.data;if(1==a.errorCode)return a.result.relaxTaskJudge=1==a.result.relaxTaskJudge,void(e.setObj=a.result);n.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})}},watch:{brandId:function(e,t){e&&(this.activeBrand=e)}},mounted:function(){document.documentElement.style.backgroundColor="#f0f2f5",this.$emit("showTab","3"),this.brandId},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{limitInput:r.a,limitTextarea:s.a}},u={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"app-detail-wrap"},[a("div",{staticClass:"task-set-content boder-box"},[a("el-form",{ref:"ruleForm",staticClass:"demo-ruleForm",attrs:{model:e.formData,rules:e.rules,"label-width":"120px"}},[a("el-form-item",{attrs:{label:"任务标题",prop:"taskTitle"}},[a("limitInput",{attrs:{inputWidth:372,disflag:!!e.$route.query.sessionTaskId,inputValue:e.formData.taskTitle,getByType:"word",holder:"请输入任务标题",maxLength:20},on:{"update:inputValue":function(t){e.$set(e.formData,"taskTitle",t)}}})],1),e._v(" "),a("el-form-item",{attrs:{label:"任务内容",prop:"taskContent"}},[a("limit-textarea",{attrs:{inputWidth:372,inputValue:e.formData.taskContent,holder:"请输入任务内容",getByType:"word",maxLength:200},on:{"update:inputValue":function(t){e.$set(e.formData,"taskContent",t)}}})],1),e._v(" "),a("el-form-item",{attrs:{label:"添加好友时间",prop:"addTimeType"}},[a("el-radio",{attrs:{label:"1"},model:{value:e.formData.addTimeType,callback:function(t){e.$set(e.formData,"addTimeType",t)},expression:"formData.addTimeType"}},[e._v("近一个月")]),e._v(" "),a("el-radio",{attrs:{label:"2"},model:{value:e.formData.addTimeType,callback:function(t){e.$set(e.formData,"addTimeType",t)},expression:"formData.addTimeType"}},[e._v("近一周")])],1),e._v(" "),a("el-form-item",[a("el-button",{attrs:{type:"primary"},on:{click:function(t){e.submitForm("ruleForm")}}},[e._v("确认"+e._s(e.$route.query.sessionTaskId?"编辑":"新建"))])],1)],1)],1)])},staticRenderFns:[]};var m=a("VU/8")(l,u,!1,function(e){a("GLu7")},"data-v-0bdda65c",null);t.default=m.exports}});
\ No newline at end of file \ No newline at end of file
webpackJsonp([74],{Fpg1:function(t,e){},jPcV:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a={name:"enterprise",components:{vueOfficeHeader:n("NKg7").a},data:function(){return{projectName:"haoban-manage-web",collapseFlag:!1,contentHeight:window.screen.availHeight-5+"px"}},computed:{},methods:{toRouterView:function(t){this.$router.push({path:t.path})},collapseTag:function(t){this.collapseFlag=t}},mounted:function(){this.contentHeight=(document.documentElement.clientHeight||document.body.clientHeight)-64+"px"}},i={render:function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"enterprise-wrap"},[e("vue-office-header",{attrs:{projectName:this.projectName},on:{collapseTag:this.collapseTag,toRouterView:this.toRouterView}}),this._v(" "),e("div",{staticClass:"enterprise-wrap__body"},[e("div",{staticClass:"content",attrs:{id:"content"}},[e("div",{staticClass:"content-body",style:{height:this.contentHeight}},[e("transition",{attrs:{name:"fade",mode:"out-in"}},[e("router-view")],1)],1)])])],1)},staticRenderFns:[]};var o=n("VU/8")(a,i,!1,function(t){n("Fpg1")},"data-v-0a3b7ba4",null);e.default=o.exports}}); webpackJsonp([75],{Fpg1:function(t,e){},jPcV:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a={name:"enterprise",components:{vueOfficeHeader:n("NKg7").a},data:function(){return{projectName:"haoban-manage-web",collapseFlag:!1,contentHeight:window.screen.availHeight-5+"px"}},computed:{},methods:{toRouterView:function(t){this.$router.push({path:t.path})},collapseTag:function(t){this.collapseFlag=t}},mounted:function(){this.contentHeight=(document.documentElement.clientHeight||document.body.clientHeight)-64+"px"}},i={render:function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"enterprise-wrap"},[e("vue-office-header",{attrs:{projectName:this.projectName},on:{collapseTag:this.collapseTag,toRouterView:this.toRouterView}}),this._v(" "),e("div",{staticClass:"enterprise-wrap__body"},[e("div",{staticClass:"content",attrs:{id:"content"}},[e("div",{staticClass:"content-body",style:{height:this.contentHeight}},[e("transition",{attrs:{name:"fade",mode:"out-in"}},[e("router-view")],1)],1)])])],1)},staticRenderFns:[]};var o=n("VU/8")(a,i,!1,function(t){n("Fpg1")},"data-v-0a3b7ba4",null);e.default=o.exports}});
\ No newline at end of file \ No newline at end of file
webpackJsonp([75],{k7oF:function(t,e){},zHtI:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l={name:"input-com",props:{childItem:{type:[Object,Array],default:function(){return{}}}},methods:{getZhLen:function(t){for(var e=0,i=0;i<t.length;i++){null!=t.charAt(i).match(/[^\x00-\xff]/gi)?e+=1:e+=.5}return Math.ceil(e)}}},a={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{class:[2==t.childItem.type?"h-66":""]},[9!=t.childItem.type?i("div",{class:["opencard-item-title",t.getZhLen(t.childItem.title)>=6?"title-pre-wrap":""]},[t._v(t._s(t.childItem.title))]):t._e(),t._v(" "),i("div",{staticClass:"draged-item-show"},[i("span",{staticClass:"show-warm-text show-warm-text-flag",style:{"padding-left":9==t.childItem.type?"15px":"0"}},[t._v(t._s(t.childItem.placeholder)+" "+t._s(t.childItem.isMust?"(必填)":""))])]),t._v(" "),10==t.childItem.type&&t.childItem.openCapitalize?i("div",{staticClass:"show-capitalize font-12 color-909399 p-l-10 border-box"},[t._v("大写:壹万元整(示例)")]):t._e()])},staticRenderFns:[]};var c=i("VU/8")(l,a,!1,function(t){i("k7oF")},"data-v-09e8bcce",null);e.default=c.exports}}); webpackJsonp([76],{k7oF:function(t,e){},zHtI:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l={name:"input-com",props:{childItem:{type:[Object,Array],default:function(){return{}}}},methods:{getZhLen:function(t){for(var e=0,i=0;i<t.length;i++){null!=t.charAt(i).match(/[^\x00-\xff]/gi)?e+=1:e+=.5}return Math.ceil(e)}}},a={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{class:[2==t.childItem.type?"h-66":""]},[9!=t.childItem.type?i("div",{class:["opencard-item-title",t.getZhLen(t.childItem.title)>=6?"title-pre-wrap":""]},[t._v(t._s(t.childItem.title))]):t._e(),t._v(" "),i("div",{staticClass:"draged-item-show"},[i("span",{staticClass:"show-warm-text show-warm-text-flag",style:{"padding-left":9==t.childItem.type?"15px":"0"}},[t._v(t._s(t.childItem.placeholder)+" "+t._s(t.childItem.isMust?"(必填)":""))])]),t._v(" "),10==t.childItem.type&&t.childItem.openCapitalize?i("div",{staticClass:"show-capitalize font-12 color-909399 p-l-10 border-box"},[t._v("大写:壹万元整(示例)")]):t._e()])},staticRenderFns:[]};var c=i("VU/8")(l,a,!1,function(t){i("k7oF")},"data-v-09e8bcce",null);e.default=c.exports}});
\ No newline at end of file \ No newline at end of file
webpackJsonp([77],{FreK:function(t,e){},QHTa:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=a("bzW+"),i=a("Qie6"),c=a("Z8ln"),o=a("Ch4/"),r=a("P9l9"),s={name:"reviewed",data:function(){return{bgHeight:window.screen.availHeight-380+"px",activeSelTab:"1",activeTab:"1",navpath:[{name:"首页",path:"/index"},{name:"我的顾客",path:""}],tabListData:[{tabId:"1",tabName:"会员基础设置",icon:"iconjichushezhi",onlyIconActive:!1,children:[{tabId:"11",tabName:"会员展示设置",icon:""},{tabId:"12",tabName:"会员分组设置",icon:""},{tabId:"13",tabName:"会员搜索设置",icon:""}]}],activeBrand:"",activeGroup:"",expiredFlag:!1}},computed:{},methods:{getExpired:function(){var t=this,e={enterpriseId:t.activeBrand};Object(r.a)("/haoban-manage3-web/enterprise-is-over",e).then(function(e){var a=e.data;1!=a.errorCode?o.a.errorMsg(a):t.expiredFlag=a.result}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},changeRoute:function(t){this.$router.push(t)},selectBrandId:function(t,e){this.activeBrand=t,this.activeGroup=e,this.getExpired()},setSelectTab:function(t){switch(this.activeTab=t.tabId,t.tabId){case"11":this.changeRoute("memberShowSet");break;case"12":this.changeRoute("memberGroupSet");break;case"13":this.changeRoute("memberSearchSet")}},showTab:function(t){this.activeTab=t,this.activeSelTab=t,this.tabListData.forEach(function(e){e.tabId==t&&(e.onlyIconActive=!1),e.children&&e.children.forEach(function(a){a.tabId==t&&(e.onlyIconActive=!0),a.children&&a.children.forEach(function(a){a.tabId==t&&(e.onlyIconActive=!0)})})})}},watch:{activeBrand:function(t,e){this.activeBrand=t},activeGroup:function(t,e){this.activeGroup=t}},mounted:function(){var t=this.$route.query.appIcon;t&&(this.appIcon=window.unescape(t)),document.documentElement.style.backgroundColor="#f0f2f5"},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{navCrumb:n.a,commonDetailLeft:i.a,expiredDialog:c.a}},d={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"my-customer-wrap common-set-wrap"},[a("nav-crumb",{attrs:{navpath:t.navpath},on:{selectBrandId:t.selectBrandId}}),t._v(" "),a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box",staticStyle:{"min-height":"calc(100vh - 112px)"}},[a("div",{staticClass:"apps-content flex",staticStyle:{"min-height":"calc(100vh - 112px)"}},[a("div",{staticClass:"apps-content-left w-157",staticStyle:{"min-height":"calc(100vh - 112px)"}},[a("common-detail-left",{attrs:{tabListData:t.tabListData,activeSelTab:t.activeSelTab},on:{setSelectTab:t.setSelectTab}})],1),t._v(" "),a("div",{staticClass:"apps-content-right"},[a("transition",{attrs:{name:"fade",mode:"out-in"}},[a("router-view",{attrs:{brandId:t.activeBrand,activeGroupId:t.activeGroup,tabType:t.activeTab},on:{showTab:t.showTab}})],1)],1)])])]),t._v(" "),t.expiredFlag?a("expired-dialog"):t._e()],1)},staticRenderFns:[]};var h=a("VU/8")(s,d,!1,function(t){a("FreK")},"data-v-06f02a1c",null);e.default=h.exports}});
\ No newline at end of file
!function(e){var c=window.webpackJsonp;window.webpackJsonp=function(f,d,n){for(var r,t,o,i=0,u=[];i<f.length;i++)t=f[i],a[t]&&u.push(a[t][0]),a[t]=0;for(r in d)Object.prototype.hasOwnProperty.call(d,r)&&(e[r]=d[r]);for(c&&c(f,d,n);u.length;)u.shift()();if(n)for(i=0;i<n.length;i++)o=b(b.s=n[i]);return o};var f={},a={80:0};function b(c){if(f[c])return f[c].exports;var a=f[c]={i:c,l:!1,exports:{}};return e[c].call(a.exports,a,a.exports,b),a.l=!0,a.exports}b.e=function(e){var c=a[e];if(0===c)return new Promise(function(e){e()});if(c)return c[2];var f=new Promise(function(f,b){c=a[e]=[f,b]});c[2]=f;var d=document.getElementsByTagName("head")[0],n=document.createElement("script");n.type="text/javascript",n.charset="utf-8",n.async=!0,n.timeout=12e4,b.nc&&n.setAttribute("nonce",b.nc),n.src=b.p+"static/js/"+e+"."+{0:"cbedb09f8527f7df9eb0",1:"954a8a70c5f1171933ac",2:"a67f8fae98e8bd78ee31",3:"ba0319d44dc119242f92",4:"8497d7f814d7c9234aa3",5:"3c335bf1dd72ca957262",6:"987ab930d70320e9de11",7:"e2471fa3903291b9c591",8:"f157f8e7c913e191a515",9:"530e3f1c94f894096dab",10:"c0348cef232a1e71a3bd",11:"e50caf7e54aeba14012b",12:"094ea084ab60e693433e",13:"dbcd9b3e3b688feaf20c",14:"e11f31e60dab3db1f2ea",15:"721cd30a28e1828150fc",16:"b692b43283275c0bc6b9",17:"62255cf03bb549956c58",18:"7ffc38554bc63393a91e",19:"35726f60c578a23e9017",20:"ba2e2bd0823422a4de6c",21:"2073753ae49abdc23a5e",22:"bd8bdb698eaea10ffb08",23:"e0c916556828fa70af60",24:"7a57624e89e34e420a52",25:"b33652a002af7a00f907",26:"9cbcbc21da1497c3c88d",27:"7b3dd90cfa2c0d5203d2",28:"f6c5f1bf60bdbe1517f4",29:"96223e7cd5aec48e384e",30:"47d0cc20d45b2157664f",31:"c23ab9f1a7776f534c0d",32:"ff685a2f2e663c9902c9",33:"82effc7b171977a2a302",34:"18bce297c3536920f0be",35:"814dd1eb24901e53ab86",36:"c0359ca785e1f0dde1fc",37:"72b2436d70e734283e01",38:"cc80351bfe9026bfefdf",39:"142693581f6e740436fb",40:"019e710fc69d64e2cdff",41:"72edf05f9b4b4702b18a",42:"418902c13bd27d8ad91f",43:"0a44f71464544cd42c43",44:"793a6ee6df9dfd759017",45:"7c9bce746ae0737eccbe",46:"6f75966d10272c672ac8",47:"0f4ae46c1bf9717fbe18",48:"e7d2534c955cec793d9d",49:"6a8fd185e20527971c1d",50:"c036e660a27e5b4913bf",51:"ac0b1bc5736b73a73c03",52:"35e4365c1632396669ea",53:"24a43ba6e9c5bffcffd5",54:"a6be59574583fe0616fd",55:"9668cc89acacbecc707a",56:"dafee0ac57e05bc41f00",57:"0e458cb17af2cd84e871",58:"1606f8fed39bf289ed0e",59:"6a428a4e04c0a8df60af",60:"477c7c18563940f46b31",61:"217c2352e374e3c4e438",62:"1d0204a2120698c0adbf",63:"1cf4bbb0d08c6125bef5",64:"20e3786634c58a5bee56",65:"b40435989b3f5e631db3",66:"fbfcf9c3f5f2671adf5c",67:"5a529b8e08d60bbcc9b7",68:"0c4976221988462ab831",69:"bc2522dec6524b3cf96a",70:"fdbd771eead6adb3643e",71:"1a398bd371701f145da9",72:"32294223b65e7e02d8bb",73:"5c79db138ef9fb5fe265",74:"ddf9ccf79dcddaf6526e",75:"cf01c9adbf3c4e3828c7",76:"e98d846979e8bfbcf0dd",77:"b6f3367a8195583dbaa5"}[e]+".js";var r=setTimeout(t,12e4);function t(){n.onerror=n.onload=null,clearTimeout(r);var c=a[e];0!==c&&(c&&c[1](new Error("Loading chunk "+e+" failed.")),a[e]=void 0)}return n.onerror=n.onload=t,d.appendChild(n),f},b.m=e,b.c=f,b.d=function(e,c,f){b.o(e,c)||Object.defineProperty(e,c,{configurable:!1,enumerable:!0,get:f})},b.n=function(e){var c=e&&e.__esModule?function(){return e.default}:function(){return e};return b.d(c,"a",c),c},b.o=function(e,c){return Object.prototype.hasOwnProperty.call(e,c)},b.p="./",b.oe=function(e){throw console.error(e),e}}([]);
\ No newline at end of file
!function(e){var f=window.webpackJsonp;window.webpackJsonp=function(c,d,n){for(var r,t,o,i=0,u=[];i<c.length;i++)t=c[i],a[t]&&u.push(a[t][0]),a[t]=0;for(r in d)Object.prototype.hasOwnProperty.call(d,r)&&(e[r]=d[r]);for(f&&f(c,d,n);u.length;)u.shift()();if(n)for(i=0;i<n.length;i++)o=b(b.s=n[i]);return o};var c={},a={80:0};function b(f){if(c[f])return c[f].exports;var a=c[f]={i:f,l:!1,exports:{}};return e[f].call(a.exports,a,a.exports,b),a.l=!0,a.exports}b.e=function(e){var f=a[e];if(0===f)return new Promise(function(e){e()});if(f)return f[2];var c=new Promise(function(c,b){f=a[e]=[c,b]});f[2]=c;var d=document.getElementsByTagName("head")[0],n=document.createElement("script");n.type="text/javascript",n.charset="utf-8",n.async=!0,n.timeout=12e4,b.nc&&n.setAttribute("nonce",b.nc),n.src=b.p+"static/js/"+e+"."+{0:"cbedb09f8527f7df9eb0",1:"954a8a70c5f1171933ac",2:"a67f8fae98e8bd78ee31",3:"ab5b80fc32c4e27fe3ef",4:"4b440171180e6769c39f",5:"3c335bf1dd72ca957262",6:"987ab930d70320e9de11",7:"e2471fa3903291b9c591",8:"ba64c9cd4855274b9877",9:"893877b035c3b35f556e",10:"72fccf60a68381f76d55",11:"e50caf7e54aeba14012b",12:"094ea084ab60e693433e",13:"dbcd9b3e3b688feaf20c",14:"e11f31e60dab3db1f2ea",15:"76565b4523b10ba16bdf",16:"b692b43283275c0bc6b9",17:"62255cf03bb549956c58",18:"7ffc38554bc63393a91e",19:"35726f60c578a23e9017",20:"ba2e2bd0823422a4de6c",21:"2073753ae49abdc23a5e",22:"0c0b8712426de539fd11",23:"e0c916556828fa70af60",24:"7a57624e89e34e420a52",25:"b33652a002af7a00f907",26:"9cbcbc21da1497c3c88d",27:"7b3dd90cfa2c0d5203d2",28:"f6c5f1bf60bdbe1517f4",29:"96223e7cd5aec48e384e",30:"47d0cc20d45b2157664f",31:"c23ab9f1a7776f534c0d",32:"ff685a2f2e663c9902c9",33:"82effc7b171977a2a302",34:"18bce297c3536920f0be",35:"814dd1eb24901e53ab86",36:"c0359ca785e1f0dde1fc",37:"72b2436d70e734283e01",38:"cc80351bfe9026bfefdf",39:"142693581f6e740436fb",40:"019e710fc69d64e2cdff",41:"72edf05f9b4b4702b18a",42:"418902c13bd27d8ad91f",43:"0a44f71464544cd42c43",44:"e4fbba0beb991be3f7a9",45:"f8206f1b19e2c274d2ce",46:"b424f625e52a9b35bc56",47:"ad12c08734042874fcd5",48:"969dd8a15c7d29bd1815",49:"bf842c43625a09f5b636",50:"c036e660a27e5b4913bf",51:"0654d8793fee32332261",52:"21378cae9a2a9603ea77",53:"6ef9fe76b910a40e0e05",54:"6574ab0d2c4d6d208f94",55:"a8319fbd2449d32a7fc6",56:"cbe5f3e6d8639c9bc87f",57:"2358c973d79d5384c059",58:"b8ef8eb345482f342fb9",59:"db51a7f4c51421d4f9bc",60:"bffb5766e656b16107c2",61:"1c97fc1aa04abac9cbfd",62:"eb45a799f9d528252b5d",63:"c54a14745b6e20af761c",64:"2e546d02be42fac0c64d",65:"033403367100ce5c453c",66:"0860d73e625e3d201803",67:"371a3d9f0e8c7aa3be9b",68:"5b0ebf4833498e06a8ed",69:"ff65cfc6c10f394f74a8",70:"1d48eb5a06db01862a62",71:"0ac25d6f7bdf6e52bf15",72:"3742f2187e434527c4f0",73:"af737afc43d5d1a4e712",74:"288c134137cbf2d7bc41",75:"26f7828615de6f778b29",76:"ffe5e9e6981dff464735",77:"daf98737ecfa6236157f"}[e]+".js";var r=setTimeout(t,12e4);function t(){n.onerror=n.onload=null,clearTimeout(r);var f=a[e];0!==f&&(f&&f[1](new Error("Loading chunk "+e+" failed.")),a[e]=void 0)}return n.onerror=n.onload=t,d.appendChild(n),c},b.m=e,b.c=c,b.d=function(e,f,c){b.o(e,f)||Object.defineProperty(e,f,{configurable:!1,enumerable:!0,get:c})},b.n=function(e){var f=e&&e.__esModule?function(){return e.default}:function(){return e};return b.d(f,"a",f),f},b.o=function(e,f){return Object.prototype.hasOwnProperty.call(e,f)},b.p="./",b.oe=function(e){throw console.error(e),e}}([]);
\ No newline at end of file
<!--
* @Descripttion: 当前组件信息
* @version: 1.0.0
* @Author: 无尘
* @Date: 2020-04-14 09:50:16
* @LastEditors: 无尘
* @LastEditTime: 2020-06-16 15:23:15
-->
<!--
<add-template :brandId="brandId" @closeTemplate="closeTemplate" @submitTemplate="submitTemplate"></add-template>
import addTemplate from '@/components/set/add-template.vue';
-->
<template>
<el-dialog :title="!!editRow.templateId ? '编辑模板' : '新建模板'" :visible.sync="dialogVisible" width="600px" :before-close="handleClose">
<div class="">
<el-form :model="ruleForm" :rules="rules" ref="ruleForm" label-width="100px" class="demo-ruleForm">
<el-form-item label="模板名称" prop="templateName">
<limitInput :inputWidth="440" :inputValue.sync="ruleForm.templateName" :holder="'请输入模板名称'" :getByType="'word'" :maxLength="20"> </limitInput>
</el-form-item>
<el-form-item label="会员分组" prop="memberTagGroupIds">
<el-select v-model="ruleForm.memberTagGroupIds" placeholder="请选择">
<el-option
v-for="item in groupListData"
:key="item.memberTagGroupId"
:label="item.groupName"
:value="item.memberTagGroupId">
</el-option>
</el-select>
</el-form-item>
</el-form>
</div>
<div slot="footer" class="dialog-footer">
<el-button @click="toCancel">取消</el-button>
<el-button type="primary" @click="submitForm('ruleForm')">确定</el-button>
</div>
</el-dialog>
</template>
<script>
import limitInput from '@/components/limit-input.vue';
import { _debounce } from '@/common/js/public';
import { postRequest } from '@/api/api';
import showMsg from '@/common/js/showmsg';
import errMsg from '@/common/js/error';
export default {
props: {
editRow: {
type: Object,
default() {
return {};
}
},
categoryId: {
type: Object,
default() {
return '';
}
}
},
components: {
limitInput
},
data() {
return {
editPersion: localStorage.getItem('userInfos') && JSON.parse(localStorage.getItem('userInfos')).staffDTO ? JSON.parse(localStorage.getItem('userInfos')).staffDTO.staffName : '',
wxEnterpriseRelatedId: localStorage.getItem('userInfos') ? JSON.parse(localStorage.getItem('userInfos')).wxEnterpriseId : '',
dialogVisible: true,
groupListData: [],
ruleForm: {
templateId: '',
templateName: '',
memberTagGroupIds: ''
},
rules: {
templateName: [{ required: true, message: '请输入模板名称', trigger: 'blur' }],
memberTagGroupIds: [
{ type: 'array', required: true, message: '请至少选择一个会员分组', trigger: 'change' }
],
},
};
},
methods: {
toCancel() {
const that = this;
that.$emit('closeTemplate');
that.$refs['ruleForm'].resetFields();
},
handleClose(done) {
const that = this;
that.$emit('closeTemplate');
that.$refs['ruleForm'].resetFields();
},
submitForm: _debounce(function(formName) {
const that = this;
that.$refs[formName].validate(valid => {
if (valid) {
that.postSave();
}
});
}, 300),
postSave() {
const that = this;
const data = {
templateId: that.ruleForm.templateId,
templateName: that.ruleForm.templateName,
memberTagGroupIds: that.ruleForm.memberTagGroupIds.join(','),
editPerson: that.editPerson
};
postRequest(that.ruleForm.templateId ? '/haoban-app-customer-web/memberGroup/save-group-template' : '/haoban-app-customer-web/memberGroup/save-group-template', data)
.then(res => {
let resData = res.data;
if (resData.errorCode == 1) {
showMsg.showmsg('操作成功', 'success');
that.$refs['ruleForm'].resetFields();
that.$emit('submitTemplate');
} else {
errMsg.errorMsg(resData);
}
})
.catch(error => {
that.$message.error({
duration: 1000,
message: error.message
});
});
},
/**
* 获取会员分组列表
*/
getGroupList(brandId) {
const that = this;
let para = {
enterpriseId: that.brandId,
wxEnterpriseRelatedId: that.wxEnterpriseRelatedId,
pageNum: 1,
pageSize: 500
};
postRequest('/haoban-app-customer-web/memberGroup/member-tag-group-list', para)
.then(res => {
let resData = res.data;
if (resData.errorCode == 1) {
that.groupListData = resData.result.list || [];
return;
}
errMsg.errorMsg(resData);
})
.catch(function(error) {
that.$message.error({
duration: 1000,
message: error.message
});
});
}
},
watch: {
editRow(newData) {
const that = this;
if (Object.keys(newData).length) {
that.ruleForm = JSON.parse(JSON.stringify(newData));
}
}
},
mounted() {
const that = this;
if (Object.keys(that.editRow).length) {
that.ruleForm = JSON.parse(JSON.stringify(that.editRow));
}
}
};
</script>
<style lang="less" scoped>
.m-b-20 {
margin-bottom: 20px;
}
.p-l-18 {
padding-left: 18px;
}
.material-content {
position: relative;
.material-body {
/* resize: none;
width: 440px;
height: 273px;
border-radius: 2px;
border: 1px solid rgba(196, 198, 207, 1); */
.el-textarea {
/deep/ .el-textarea__inner {
height: 273px;
}
}
}
.emoji-img {
position: absolute;
left: 10px;
bottom: 10px;
}
}
.el-textarea {
/deep/ .el-textarea__inner {
height: 273px;
}
}
</style>
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* @Author: 无尘 * @Author: 无尘
* @Date: 2020-04-14 09:50:16 * @Date: 2020-04-14 09:50:16
* @LastEditors: 无尘 * @LastEditors: 无尘
* @LastEditTime: 2020-06-15 16:09:52 * @LastEditTime: 2020-06-16 16:21:25
--> -->
<!-- <!--
<customer-assign v-if="assignShow" :brandId="brandId" :clerkId="clerkId" :searchParams="searchInput" :chooseAll="selectRadio" :departObj="departObj" :multipleData="multipleSelection" @closeText="closeText" @submitText="submitText"></customer-assign> <customer-assign v-if="assignShow" :brandId="brandId" :clerkId="clerkId" :searchParams="searchInput" :chooseAll="selectRadio" :departObj="departObj" :multipleData="multipleSelection" @closeText="closeText" @submitText="submitText"></customer-assign>
...@@ -14,8 +14,8 @@ ...@@ -14,8 +14,8 @@
<el-dialog title="批量分配会员" :visible.sync="dialogVisible" width="600px" :before-close="handleClose"> <el-dialog title="批量分配会员" :visible.sync="dialogVisible" width="600px" :before-close="handleClose">
<div class="assign-table"> <div class="assign-table">
<div class="check-all flex flex-space-between"> <div class="check-all flex flex-space-between">
<div><el-checkbox :disabled="clerkOptions.length > assignPeople" :indeterminate="isIndeterminate" v-model="checkAll" @change="handleCheckAllChange">全选</el-checkbox></div> <div class="font-14 color-606266"><el-checkbox :disabled="clerkOptions.length > assignPeople" :indeterminate="isIndeterminate" v-model="checkAll" @change="handleCheckAllChange">全选</el-checkbox></div>
<div> <div class="font-14 color-606266">
<el-checkbox v-model="checked">手动分配</el-checkbox> <span class=""></span> <el-checkbox v-model="checked">手动分配</el-checkbox> <span class=""></span>
<span <span
>可分配会员 <span class="color-303133">{{ assignPeople }}</span></span >可分配会员 <span class="color-303133">{{ assignPeople }}</span></span
...@@ -26,9 +26,9 @@ ...@@ -26,9 +26,9 @@
<ul> <ul>
<el-checkbox-group v-model="checkedClerks" @change="handleCheckedChange"> <el-checkbox-group v-model="checkedClerks" @change="handleCheckedChange">
<template v-for="(item, index) in clerkOptions"> <template v-for="(item, index) in clerkOptions">
<li :key="index + 'clerk'"> <li class="clerk-cell font-14 color-606266" :key="index + 'clerk'">
<el-checkbox :label="item.clerkId">{{ clerkName }}</el-checkbox <el-checkbox :label="item.clerkId">{{ clerkName }}</el-checkbox
><span v-if="!checked && checkedClerks.includes(item.clerkId)"> 分配会员 {{ item.memberCount }}</span><el-input-number v-if="checked && checkedClerks.includes(item.clerkId)" v-model="item.memberCount" controls-position="right" @change="handleChange" :min="1" :max="999999999"></el-input-number> ><span v-if="!checked && checkedClerks.includes(item.clerkId)"> 分配会员 {{ item.memberCount }}</span><el-input-number v-if="checked && checkedClerks.includes(item.clerkId)" class="w-100" v-model="item.memberCount" controls-position="right" @change="handleChange" :min="1" :max="999999999"></el-input-number>
</li> </li>
</template> </template>
</el-checkbox-group> </el-checkbox-group>
...@@ -317,6 +317,9 @@ export default { ...@@ -317,6 +317,9 @@ export default {
}; };
</script> </script>
<style lang="less" scoped> <style lang="less" scoped>
.w-100 {
width: 100px;
}
.w-402 { .w-402 {
width: 402px; width: 402px;
} }
...@@ -334,11 +337,6 @@ export default { ...@@ -334,11 +337,6 @@ export default {
height: 273px; height: 273px;
border-radius: 2px; border-radius: 2px;
border: 1px solid rgba(196, 198, 207, 1); */ border: 1px solid rgba(196, 198, 207, 1); */
.el-textarea {
/deep/ .el-textarea__inner {
height: 273px;
}
}
} }
.emoji-img { .emoji-img {
position: absolute; position: absolute;
...@@ -346,12 +344,17 @@ export default { ...@@ -346,12 +344,17 @@ export default {
bottom: 10px; bottom: 10px;
} }
} }
.el-textarea {
/deep/ .el-textarea__inner {
height: 273px;
}
}
.color-f5222d { .color-f5222d {
color: #f5222d; color: #f5222d;
} }
.check-all {
background: rgba(245, 247, 250, 1);
height: 36px;
line-height: 36px;
}
.clerk-cell {
height: 40px;
line-height: 40px;
}
</style> </style>
<!--
* @Descripttion: 当前组件信息
* @version: 1.0.0
* @Author: 无尘
* @Date: 2020-04-14 09:50:16
* @LastEditors: 无尘
* @LastEditTime: 2020-06-16 15:34:43
-->
<!--
<add-template :brandId="brandId" @closeTemplate="closeTemplate" @submitTemplate="submitTemplate"></add-template>
import addTemplate from '@/components/set/add-template.vue';
-->
<template>
<el-dialog :title="!!editRow.templateId ? '可见范围' : '可见范围'" :visible.sync="dialogVisible" width="600px" :before-close="handleClose">
<div class="">
<div class="search-top">
<el-input placeholder="搜索门店名称或代码" prefix-icon="el-icon-search" v-model="searchInput" class="w-369" @keyup.native="value => toInput(value, searchInput)" clearable @clear="clearInput">
</el-input>
</div>
<el-table class="select-table" ref="multipleTable" v-loading="loading" :data="tableData" height="450" tooltip-effect="dark" :style="{ width: '100%' }">
<el-table-column label="门店名称" show-overflow-tooltip>
<template slot-scope="scope">
{{ scope.row.storeName || '--' }}
</template>
</el-table-column>
<el-table-column prop="" label="门店code" show-overflow-tooltip>
<template slot-scope="scope">{{ scope.row.storeCode || '--' }}</template>
</el-table-column>
<el-table-column prop="" label="门店分组" show-overflow-tooltip>
<template slot-scope="scope">
{{ scope.row.storeGroup }}
</template>
</el-table-column>
</el-table>
<div class="block common-wrap__page text-right m-t-24" v-if="tableData.length != 0">
<dm-pagination background @size-change="handleSizeChange" @current-change="handleCurrentChange" :current-page="currentPage" :page-sizes="[20, 40, 60, 80]" :page-size="pageSize" layout="total, sizes, prev, pager, next, jumper" :total="total"> </dm-pagination>
</div>
</div>
<div slot="footer" class="dialog-footer">
<el-button @click="toCancel">取消</el-button>
<el-button type="primary" @click="submitForm('ruleForm')">确定</el-button>
</div>
</el-dialog>
</template>
<script>
import limitInput from '@/components/limit-input.vue';
import { _debounce } from '@/common/js/public';
import { postRequest } from '@/api/api';
import showMsg from '@/common/js/showmsg';
import errMsg from '@/common/js/error';
export default {
props: {
editRow: {
type: Object,
default() {
return {};
}
},
categoryId: {
type: Object,
default() {
return '';
}
}
},
components: {
limitInput
},
data() {
return {
editPersion: localStorage.getItem('userInfos') && JSON.parse(localStorage.getItem('userInfos')).staffDTO ? JSON.parse(localStorage.getItem('userInfos')).staffDTO.staffName : '',
wxEnterpriseRelatedId: localStorage.getItem('userInfos') ? JSON.parse(localStorage.getItem('userInfos')).wxEnterpriseId : '',
loading: false,
dialogVisible: true,
tableData: [],
searchInput: '',
// 分页参数
currentPage: 1,
pageSize: 20,
total: 0
};
},
methods: {
/**
* 输入
*/
toInput: _debounce(function(e, value) {
const that = this;
that.currentPage = 1;
that.getTableList();
}, 500),
// 搜索清除
clearInput() {
const that = this;
that.currentPage = 1;
that.getTableList();
},
toCancel() {
const that = this;
that.$emit('closeTemplate');
that.$refs['ruleForm'].resetFields();
},
handleClose(done) {
const that = this;
that.$emit('closeTemplate');
that.$refs['ruleForm'].resetFields();
},
submitForm: _debounce(function(formName) {
const that = this;
that.$refs[formName].validate(valid => {
if (valid) {
that.postSave();
}
});
}, 300),
postSave() {
const that = this;
const data = {
templateId: that.ruleForm.templateId,
templateName: that.ruleForm.templateName,
memberTagGroupIds: that.ruleForm.memberTagGroupIds.join(','),
editPerson: that.editPerson
};
postRequest(that.ruleForm.templateId ? '/haoban-app-customer-web/memberGroup/save-group-template' : '/haoban-app-customer-web/memberGroup/save-group-template', data)
.then(res => {
let resData = res.data;
if (resData.errorCode == 1) {
showMsg.showmsg('操作成功', 'success');
that.$refs['ruleForm'].resetFields();
that.$emit('submitTemplate');
} else {
errMsg.errorMsg(resData);
}
})
.catch(error => {
that.$message.error({
duration: 1000,
message: error.message
});
});
},
/**
* 获取列表数据
*/
getTableList(val) {
const that = this;
that.loading = true;
let storeGroups = [];
let filterStoreIds = [];
let clerkIds = [];
that.conditionObj.storeGroup.forEach(ele => {
if (ele.type == 1) {
clerkIds.push(ele.employeeClerkId);
}
if (ele.type == 2) {
storeGroups.push(ele.groupId);
}
if (ele.type == 3) {
filterStoreIds.push(ele.storeId);
}
});
if (!that.conditionObj.dateRange) {
that.conditionObj.dateRange = [];
}
let para = {
search: that.searchInput || '', // 搜索字段
pageNum: that.currentPage, // 当前页
pageSize: that.pageSize, // 一页显示个数
gicEnterpriseId: that.brandId
// taskType: 1 //0不良评价,1话务任务
};
postRequest('/haoban-app-customer-web/memberGroup/search-store', para)
.then(res => {
let resData = res.data;
that.loading = false;
if (resData.errorCode == 1) {
that.tableData = resData.result.list || [];
that.total = resData.result.pageInfo.total;
return false;
}
errMsg.errorMsg(resData);
})
.catch(function(error) {
that.loading = false;
that.$message.error({
duration: 1000,
message: error.message
});
});
}
},
watch: {
editRow(newData) {
const that = this;
if (Object.keys(newData).length) {
that.ruleForm = JSON.parse(JSON.stringify(newData));
}
}
},
mounted() {
const that = this;
if (Object.keys(that.editRow).length) {
that.ruleForm = JSON.parse(JSON.stringify(that.editRow));
}
}
};
</script>
<style lang="less" scoped>
.m-b-20 {
margin-bottom: 20px;
}
.p-l-18 {
padding-left: 18px;
}
.material-content {
position: relative;
.material-body {
/* resize: none;
width: 440px;
height: 273px;
border-radius: 2px;
border: 1px solid rgba(196, 198, 207, 1); */
.el-textarea {
/deep/ .el-textarea__inner {
height: 273px;
}
}
}
.emoji-img {
position: absolute;
left: 10px;
bottom: 10px;
}
}
.el-textarea {
/deep/ .el-textarea__inner {
height: 273px;
}
}
</style>
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* @Author: 无尘 * @Author: 无尘
* @Date: 2019-03-20 14:36:37 * @Date: 2019-03-20 14:36:37
* @LastEditors: 无尘 * @LastEditors: 无尘
* @LastEditTime: 2020-06-15 18:24:11 * @LastEditTime: 2020-06-16 10:45:04
--> -->
<!-- <!--
<taskView :brandId="brandId" activeGroupId></taskView> <taskView :brandId="brandId" activeGroupId></taskView>
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
</div> </div>
<div class="table-condition-right"> <div class="table-condition-right">
<el-button type="danger" @click="multDel">批量删除</el-button> <el-button type="danger" @click="multDel">批量删除</el-button>
<!-- <el-button type="primary" @click="exportExcel"><i class="iconfont icon-icon_yunxiazai p-r-6"></i>导出</el-button> --> <!-- <el-button loading="loadingBtn" type="primary" @click="exportExcel"><i class="iconfont icon-icon_yunxiazai p-r-6"></i>导出</el-button> -->
</div> </div>
</div> </div>
<el-table class="select-table" ref="multipleTable" v-loading="loading" :data="tableData" tooltip-effect="dark" :style="{ width: '100%', minHeight: tableH }" @selection-change="handleSelectionChange"> <el-table class="select-table" ref="multipleTable" v-loading="loading" :data="tableData" tooltip-effect="dark" :style="{ width: '100%', minHeight: tableH }" @selection-change="handleSelectionChange">
...@@ -110,7 +110,8 @@ export default { ...@@ -110,7 +110,8 @@ export default {
// 分页参数 // 分页参数
currentPage: 1, currentPage: 1,
pageSize: 20, pageSize: 20,
total: 0 total: 0,
loadingBtn: false
}; };
}, },
computed: {}, computed: {},
...@@ -247,7 +248,8 @@ export default { ...@@ -247,7 +248,8 @@ export default {
* 导出 * 导出
*/ */
exportExcel() { exportExcel() {
let that = this; const that = this;
that.loadingBtn = true;
let storeGroups = []; let storeGroups = [];
that.conditionObj.storeGroup.forEach(ele => { that.conditionObj.storeGroup.forEach(ele => {
storeGroups.push(ele.storeGroupId); storeGroups.push(ele.storeGroupId);
...@@ -262,10 +264,9 @@ export default { ...@@ -262,10 +264,9 @@ export default {
enterpriseId: that.activeBrand // 品牌 id enterpriseId: that.activeBrand // 品牌 id
// taskType: 1 //0不良评价,1话务任务 // taskType: 1 //0不良评价,1话务任务
}; };
/* let urlSource = `search=${para.search}&filterStoreIds=${para.filterStoreIds}&storeGroupIds=${para.storeGroupIds}&storeType=${para.storeType}&startDate=${para.startDate}&endDate=${para.endDate}&brandId=${para.brandId}`;
window.open(`${window.location.origin}/haoban-app-tel-task-three-web/task/export-store-task-list?${urlSource}`); */
postExcel('/haoban-app-tel-task-three-web/task/export-store-task-list', para) postExcel('/haoban-app-tel-task-three-web/task/export-store-task-list', para)
.then(res => { .then(res => {
that.loadingBtn = false;
if (!res.data) { if (!res.data) {
errMsg.errorMsg('暂无数据'); errMsg.errorMsg('暂无数据');
return false; return false;
...@@ -286,6 +287,7 @@ export default { ...@@ -286,6 +287,7 @@ export default {
// errMsg.errorMsg(resData); // errMsg.errorMsg(resData);
}) })
.catch(function(error) { .catch(function(error) {
that.loadingBtn = false;
that.$message.error({ that.$message.error({
duration: 1000, duration: 1000,
message: error.message message: error.message
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* @Author: 无尘 * @Author: 无尘
* @Date: 2019-08-14 16:51:07 * @Date: 2019-08-14 16:51:07
* @LastEditors: 无尘 * @LastEditors: 无尘
* @LastEditTime: 2020-06-16 10:14:20 * @LastEditTime: 2020-06-16 10:17:50
--> -->
<!-- <!--
<org-tree v-if="item.children.length" :itemData="item.children" ></org-tree> <org-tree v-if="item.children.length" :itemData="item.children" ></org-tree>
...@@ -332,7 +332,7 @@ export default { ...@@ -332,7 +332,7 @@ export default {
.li-cell { .li-cell {
position: relative; position: relative;
line-height: 26px; line-height: 32px;
padding-left: 20px; padding-left: 20px;
white-space: nowrap; white-space: nowrap;
overflow: hidden; overflow: hidden;
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* @Author: 无尘 * @Author: 无尘
* @Date: 2018-10-10 14:44:45 * @Date: 2018-10-10 14:44:45
* @LastEditors: 无尘 * @LastEditors: 无尘
* @LastEditTime: 2020-06-15 20:13:10 * @LastEditTime: 2020-06-17 10:31:14
*/ */
import Vue from 'vue'; import Vue from 'vue';
import Router from 'vue-router'; import Router from 'vue-router';
...@@ -384,13 +384,13 @@ export const constantRouterMap = [ ...@@ -384,13 +384,13 @@ export const constantRouterMap = [
// 商品中心 // 商品中心
{ {
path: '/shoppingCenter', path: '/shoppingCenter',
name: '我的顾客的', name: '商品中心',
redirect: '/goodsShowSet', redirect: '/goodsShowSet',
component: _import('apps/shoppingCenter', 'index'), component: _import('apps/shoppingCenter', 'index'),
children: [ children: [
{ {
path: '/goodsShowSet', path: '/goodsShowSet',
name: '会员搜索设置', name: '商品展示设置',
component: _import('apps/shoppingCenter', 'goodsShowSet') component: _import('apps/shoppingCenter', 'goodsShowSet')
} }
] ]
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* @Author: 无尘 * @Author: 无尘
* @Date: 2019-03-20 14:36:37 * @Date: 2019-03-20 14:36:37
* @LastEditors: 无尘 * @LastEditors: 无尘
* @LastEditTime: 2020-05-13 14:43:05 * @LastEditTime: 2020-06-16 12:28:51
--> -->
<template> <template>
<div class="my-customer-wrap common-set-wrap"> <div class="my-customer-wrap common-set-wrap">
...@@ -77,6 +77,11 @@ export default { ...@@ -77,6 +77,11 @@ export default {
icon: '' icon: ''
} }
] ]
},
{
tabId: '2',
tabName: '我的顾客列表',
icon: 'icongukeguanliicon'
} }
], ],
activeBrand: '', // 商户(品牌) id activeBrand: '', // 商户(品牌) id
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* @Author: 无尘 * @Author: 无尘
* @Date: 2019-03-20 14:36:37 * @Date: 2019-03-20 14:36:37
* @LastEditors: 无尘 * @LastEditors: 无尘
* @LastEditTime: 2020-06-15 09:58:03 * @LastEditTime: 2020-06-16 14:54:31
--> -->
<!-- <!--
...@@ -370,7 +370,7 @@ export default { ...@@ -370,7 +370,7 @@ export default {
}, },
/** /**
* 获取会员分组设置列表 * 获取会员分组列表
*/ */
getGroupList(brandId) { getGroupList(brandId) {
const that = this; const that = this;
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* @Author: 无尘 * @Author: 无尘
* @Date: 2019-03-20 14:36:37 * @Date: 2019-03-20 14:36:37
* @LastEditors: 无尘 * @LastEditors: 无尘
* @LastEditTime: 2020-06-15 16:55:30 * @LastEditTime: 2020-06-16 14:27:20
--> -->
<template> <template>
<div class="app-detail-wrap"> <div class="app-detail-wrap">
...@@ -146,6 +146,9 @@ export default { ...@@ -146,6 +146,9 @@ export default {
*/ */
toInput: _debounce(function(e, value) { toInput: _debounce(function(e, value) {
const that = this; const that = this;
if (that.departObj.isStore == 0) {
return false;
}
that.currentPage = 1; that.currentPage = 1;
that.getTableList(); that.getTableList();
}, 500), }, 500),
...@@ -154,6 +157,9 @@ export default { ...@@ -154,6 +157,9 @@ export default {
*/ */
clearSearch() { clearSearch() {
const that = this; const that = this;
if (that.departObj.isStore == 0) {
return false;
}
that.currentPage = 1; that.currentPage = 1;
that.getTableList(); that.getTableList();
}, },
...@@ -165,6 +171,19 @@ export default { ...@@ -165,6 +171,19 @@ export default {
const that = this; const that = this;
console.log(obj); console.log(obj);
that.departObj = obj; that.departObj = obj;
// 判断是不是门店
if (obj.isStore == 0) {
that.currentPage = 1;
that.tableData = [];
that.clerkOptions = [];
that.clerkId = ''; // 导购
that.searchInput = '';
that.multipleSelection = [];
return false;
}
// 如果是门店
that.getClerkData();
that.getTableList();
}, },
/** /**
* 表格选择 * 表格选择
......
...@@ -4,14 +4,14 @@ ...@@ -4,14 +4,14 @@
* @Author: 无尘 * @Author: 无尘
* @Date: 2019-03-20 14:36:37 * @Date: 2019-03-20 14:36:37
* @LastEditors: 无尘 * @LastEditors: 无尘
* @LastEditTime: 2020-06-11 14:50:01 * @LastEditTime: 2020-06-16 10:32:37
--> -->
<template> <template>
<div class="app-detail-wrap"> <div class="app-detail-wrap">
<div class="app-detail-pane border-box p-20"> <div class="app-detail-pane border-box p-20">
<span class="font-14 p-r-10">商品展示:</span> <span class="font-14 p-r-10">商品展示:</span>
<el-checkbox v-model="myCustomData.searchFlag">已上架商品</el-checkbox><el-checkbox v-model="myCustomData.searchFlag">未上架商品</el-checkbox> <el-checkbox v-model="myCustomData.salesGoodsFlag">已上架商品</el-checkbox><el-checkbox v-model="myCustomData.notSalesGoodsFlag">未上架商品</el-checkbox>
<div class="m-t-46"> <div class="m-t-46">
<el-button type="primary" :loading="loading" @click="submit('searchFlag')">保 存</el-button> <el-button type="primary" :loading="loading" @click="submit('searchFlag')">保 存</el-button>
</div> </div>
...@@ -48,9 +48,10 @@ export default { ...@@ -48,9 +48,10 @@ export default {
data() { data() {
return { return {
projectName: '', // 当前项目名 projectName: '', // 当前项目名
wxEnterpriseRelatedId: JSON.parse(localStorage.getItem('userInfos')).wxEnterpriseId, wxEnterpriseRelatedId: localStorage.getItem('userInfos') ? JSON.parse(localStorage.getItem('userInfos')).wxEnterpriseId : '',
myCustomData: { myCustomData: {
searchFlag: false salesGoodsFlag: false,
notSalesGoodsFlag: false
}, },
activeId: '1', activeId: '1',
loading: false loading: false
...@@ -76,15 +77,7 @@ export default { ...@@ -76,15 +77,7 @@ export default {
wxEnterpriseRelatedId: that.wxEnterpriseRelatedId wxEnterpriseRelatedId: that.wxEnterpriseRelatedId
// enterpriseId: JSON.parse(localStorage.getItem('userInfos')).enterpriseId // enterpriseId: JSON.parse(localStorage.getItem('userInfos')).enterpriseId
}; };
let url; const url = '/haoban-app-customer-web/customer/save-goods-setting';
if (type != 'showFlag') {
para[type] = !!that.myCustomData[type] ? 1 : 0;
url = '/haoban-app-customer-web/customer/save-online-chat-setting';
if (type === 'searchFlag') {
url = '/haoban-app-customer-web/customer/save-shopping-setting';
}
}
postRequest(url, para) postRequest(url, para)
.then(res => { .then(res => {
let resData = res.data; let resData = res.data;
...@@ -105,26 +98,7 @@ export default { ...@@ -105,26 +98,7 @@ export default {
}, },
/** /**
* 改变 * 获取数据
*/
changeAllowGuide(e) {
const that = this;
that.myCustomData.allowGuideMobile = e;
that.myCustomData.allowGuideMessage = e;
that.myCustomData.allowGuideOnlineChat = e;
},
/**
* 改变联系
*/
changeContact() {
const that = this;
if (!that.myCustomData.allowGuideMobile && !that.myCustomData.allowGuideMessage && !that.myCustomData.allowGuideOnlineChat) {
that.myCustomData.allowGuideContact = false;
}
},
/**
* 获取全品牌搜索设置数据
*/ */
getCustomerSet(brandId) { getCustomerSet(brandId) {
const that = this; const that = this;
...@@ -132,12 +106,13 @@ export default { ...@@ -132,12 +106,13 @@ export default {
enterpriseId: that.brandId, enterpriseId: that.brandId,
wxEnterpriseRelatedId: that.wxEnterpriseRelatedId wxEnterpriseRelatedId: that.wxEnterpriseRelatedId
}; };
postRequest('/haoban-app-customer-web/customer/find-customer-setting', para) postRequest('/haoban-app-customer-web/customer/find-goods-setting', para)
.then(res => { .then(res => {
let resData = res.data; let resData = res.data;
if (resData.errorCode == 1) { if (resData.errorCode == 1) {
if (!!resData.result) { if (!!resData.result) {
that.myCustomData.searchFlag = !!resData.result.searchFlag ? true : false; that.myCustomData.salesGoodsFlag = !!resData.result.salesGoodsFlag ? true : false;
that.myCustomData.notSalesGoodsFlag = !!resData.result.notSalesGoodsFlag ? true : false;
} }
return; return;
} }
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* @Author: 无尘 * @Author: 无尘
* @Date: 2019-03-20 14:36:37 * @Date: 2019-03-20 14:36:37
* @LastEditors: 无尘 * @LastEditors: 无尘
* @LastEditTime: 2020-06-10 10:32:25 * @LastEditTime: 2020-06-16 10:28:24
--> -->
<template> <template>
<div class="my-customer-wrap common-set-wrap"> <div class="my-customer-wrap common-set-wrap">
...@@ -58,7 +58,7 @@ export default { ...@@ -58,7 +58,7 @@ export default {
{ {
tabId: '1', tabId: '1',
tabName: '商品展示设置', tabName: '商品展示设置',
icon: 'iconjichushezhi' icon: 'iconshangpinshezhi'
} }
], ],
activeBrand: '', // 商户(品牌) id activeBrand: '', // 商户(品牌) id
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* @Author: 无尘 * @Author: 无尘
* @Date: 2019-03-20 14:36:37 * @Date: 2019-03-20 14:36:37
* @LastEditors: 无尘 * @LastEditors: 无尘
* @LastEditTime: 2020-06-01 13:58:41 * @LastEditTime: 2020-06-16 10:39:43
--> -->
<template> <template>
<div class="my-customer-wrap common-set-wrap"> <div class="my-customer-wrap common-set-wrap">
...@@ -17,7 +17,8 @@ ...@@ -17,7 +17,8 @@
</el-select> </el-select>
</div> </div>
<div class="table-condition-right"> <div class="table-condition-right">
<el-button type="danger" @click="multDel">批量删除</el-button> <el-button type="danger" @click="multDel">批量删除</el-button
><!-- <el-button class="m-l-10" type="primary" :loading="loadingBtn" @click="exportExcel"><i class="iconfont icon-icon_yunxiazai p-r-6"></i>导出</el-button> -->
</div> </div>
</div> </div>
<el-table class="select-table" ref="multipleTable" v-loading="loading" :data="tableData" tooltip-effect="dark" :style="{ width: '100%', minHeight: tableH }" @selection-change="handleSelectionChange"> <el-table class="select-table" ref="multipleTable" v-loading="loading" :data="tableData" tooltip-effect="dark" :style="{ width: '100%', minHeight: tableH }" @selection-change="handleSelectionChange">
...@@ -161,7 +162,7 @@ ...@@ -161,7 +162,7 @@
import multipleDel from '@/components/app/cloudDaily/multiple-del.vue'; import multipleDel from '@/components/app/cloudDaily/multiple-del.vue';
import qrcodeDialog from '@/components/app/qrcode-dialog.vue'; import qrcodeDialog from '@/components/app/qrcode-dialog.vue';
import detailPreview from '@/components/app/detail-preview.vue'; import detailPreview from '@/components/app/detail-preview.vue';
import { getRequest, postRequest } from '@/api/api'; import { getRequest, postRequest, postExcel } from '@/api/api';
import errMsg from '@/common/js/error'; import errMsg from '@/common/js/error';
import showMsg from '@/common/js/showmsg'; import showMsg from '@/common/js/showmsg';
export default { export default {
...@@ -187,7 +188,7 @@ export default { ...@@ -187,7 +188,7 @@ export default {
tableH: window.screen.availHeight - 464 - 126, tableH: window.screen.availHeight - 464 - 126,
activeId: '2', // 详情头部选中 id activeId: '2', // 详情头部选中 id
activeBrand: this.brandId, // 品牌 id activeBrand: this.brandId, // 品牌 id
loadingBtn: false,
selectRadio: 0, // 0:选择当页; 1:选择全部 selectRadio: 0, // 0:选择当页; 1:选择全部
showDialog: false, // 删除弹窗参数 showDialog: false, // 删除弹窗参数
// 条件 // 条件
...@@ -274,6 +275,46 @@ export default { ...@@ -274,6 +275,46 @@ export default {
computed: {}, computed: {},
methods: { methods: {
/** /**
* 导 出
*/
exportExcel() {
const that = this;
that.loadingBtn = true;
let para = {
enterpriseId: that.activeBrand // 品牌 id
};
postExcel('/haoban-app-tel-task-three-web/task/export-store-task-list', para)
.then(res => {
that.loadingBtn = false;
if (!res.data) {
errMsg.errorMsg('暂无数据');
return false;
}
// let resData = res.data;
const blob = new Blob([res.data], {
type: 'application/vnd.ms-excel'
});
const fileName = `${that.tableData[0] ? that.tableData[0].storeName : ''}门店任务报表.csv`;
const elink = document.createElement('a');
elink.download = fileName;
elink.style.display = 'none';
elink.href = URL.createObjectURL(blob);
document.body.appendChild(elink);
elink.click();
URL.revokeObjectURL(elink.href); // 释放URL 对象
document.body.removeChild(elink);
// errMsg.errorMsg(resData);
})
.catch(function(error) {
that.loadingBtn = false;
that.$message.error({
duration: 1000,
message: error.message
});
});
},
/**
* 获取头像处显示信息 * 获取头像处显示信息
*/ */
/* eslint-disable */ /* eslint-disable */
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* @Author: 无尘 * @Author: 无尘
* @Date: 2019-03-20 14:36:37 * @Date: 2019-03-20 14:36:37
* @LastEditors: 无尘 * @LastEditors: 无尘
* @LastEditTime: 2020-06-01 14:01:29 * @LastEditTime: 2020-06-16 10:46:58
--> -->
<!-- <!--
<taskViewDetail :brandId="brandId" :activeGroupId="activeGroupId"></taskViewDetail> <taskViewDetail :brandId="brandId" :activeGroupId="activeGroupId"></taskViewDetail>
...@@ -21,7 +21,7 @@ import taskViewDetail from '@/components/app/taskViewDetail.vue'; ...@@ -21,7 +21,7 @@ import taskViewDetail from '@/components/app/taskViewDetail.vue';
</div> </div>
<div class="table-condition-right"> <div class="table-condition-right">
<el-button type="danger" @click="multDel">批量删除</el-button> <el-button type="danger" @click="multDel">批量删除</el-button>
<!-- <el-button type="primary" @click="exportExcel"><i class="iconfont icon-icon_yunxiazai p-r-6"></i>导出</el-button> --> <!-- <el-button :loading="loadingBtn" type="primary" @click="exportExcel"><i class="iconfont icon-icon_yunxiazai p-r-6"></i>导出</el-button> -->
</div> </div>
</div> </div>
<el-table class="select-table" ref="multipleTable" v-loading="loading" :data="tableData" tooltip-effect="dark" :style="{ width: '100%', minHeight: tableH }" @selection-change="handleSelectionChange"> <el-table class="select-table" ref="multipleTable" v-loading="loading" :data="tableData" tooltip-effect="dark" :style="{ width: '100%', minHeight: tableH }" @selection-change="handleSelectionChange">
...@@ -130,7 +130,8 @@ export default { ...@@ -130,7 +130,8 @@ export default {
// 分页参数 // 分页参数
currentPage: 1, currentPage: 1,
pageSize: 20, pageSize: 20,
total: 0 total: 0,
loadingBtn: false
}; };
}, },
computed: {}, computed: {},
...@@ -284,7 +285,8 @@ export default { ...@@ -284,7 +285,8 @@ export default {
* 导出 * 导出
*/ */
exportExcel() { exportExcel() {
let that = this; const that = this;
that.loadingBtn = true;
let storeGroups = []; let storeGroups = [];
that.conditionObj.storeGroup.forEach(ele => { that.conditionObj.storeGroup.forEach(ele => {
storeGroups.push(ele.storeGroupId); storeGroups.push(ele.storeGroupId);
...@@ -299,11 +301,10 @@ export default { ...@@ -299,11 +301,10 @@ export default {
enterpriseId: that.activeBrand // 品牌 id enterpriseId: that.activeBrand // 品牌 id
// taskType: 1 //0不良评价,1话务任务 // taskType: 1 //0不良评价,1话务任务
}; };
/* let urlSource = `search=${para.search}&filterStoreIds=${para.filterStoreIds}&storeGroupIds=${para.storeGroupIds}&storeType=${para.storeType}&startDate=${para.startDate}&endDate=${para.endDate}&brandId=${para.brandId}`;
window.open(`${window.location.origin}/haoban-app-tel-task-three-web/task/export-store-task-list?${urlSource}`); */
postExcel('/haoban-app-tel-task-three-web/task/export-store-task-list', para) postExcel('/haoban-app-tel-task-three-web/task/export-store-task-list', para)
.then(res => { .then(res => {
if (!res.data) { if (!res.data) {
that.loadingBtn = false;
errMsg.errorMsg('暂无数据'); errMsg.errorMsg('暂无数据');
return false; return false;
} }
...@@ -323,6 +324,7 @@ export default { ...@@ -323,6 +324,7 @@ export default {
// errMsg.errorMsg(resData); // errMsg.errorMsg(resData);
}) })
.catch(function(error) { .catch(function(error) {
that.loadingBtn = false;
that.$message.error({ that.$message.error({
duration: 1000, duration: 1000,
message: error.message message: error.message
......
...@@ -31,6 +31,18 @@ ...@@ -31,6 +31,18 @@
<ul class="icon_lists dib-box"> <ul class="icon_lists dib-box">
<li class="dib"> <li class="dib">
<span class="icon iconfont">&#xe60b;</span>
<div class="name">商品设置</div>
<div class="code-name">&amp;#xe60b;</div>
</li>
<li class="dib">
<span class="icon iconfont">&#xe60a;</span>
<div class="name">我的顾客 icon</div>
<div class="code-name">&amp;#xe60a;</div>
</li>
<li class="dib">
<span class="icon iconfont">&#xe613;</span> <span class="icon iconfont">&#xe613;</span>
<div class="name">刷新</div> <div class="name">刷新</div>
<div class="code-name">&amp;#xe613;</div> <div class="code-name">&amp;#xe613;</div>
...@@ -447,6 +459,24 @@ ...@@ -447,6 +459,24 @@
<ul class="icon_lists dib-box"> <ul class="icon_lists dib-box">
<li class="dib"> <li class="dib">
<span class="icon iconfont iconshangpinshezhi"></span>
<div class="name">
商品设置
</div>
<div class="code-name">.iconshangpinshezhi
</div>
</li>
<li class="dib">
<span class="icon iconfont icongukeguanliicon"></span>
<div class="name">
我的顾客 icon
</div>
<div class="code-name">.icongukeguanliicon
</div>
</li>
<li class="dib">
<span class="icon iconfont iconshuaxin1"></span> <span class="icon iconfont iconshuaxin1"></span>
<div class="name"> <div class="name">
刷新 刷新
...@@ -1026,6 +1056,22 @@ ...@@ -1026,6 +1056,22 @@
<li class="dib"> <li class="dib">
<svg class="icon svg-icon" aria-hidden="true"> <svg class="icon svg-icon" aria-hidden="true">
<use xlink:href="#iconshangpinshezhi"></use>
</svg>
<div class="name">商品设置</div>
<div class="code-name">#iconshangpinshezhi</div>
</li>
<li class="dib">
<svg class="icon svg-icon" aria-hidden="true">
<use xlink:href="#icongukeguanliicon"></use>
</svg>
<div class="name">我的顾客 icon</div>
<div class="code-name">#icongukeguanliicon</div>
</li>
<li class="dib">
<svg class="icon svg-icon" aria-hidden="true">
<use xlink:href="#iconshuaxin1"></use> <use xlink:href="#iconshuaxin1"></use>
</svg> </svg>
<div class="name">刷新</div> <div class="name">刷新</div>
......
No preview for this file type
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -6,6 +6,20 @@ ...@@ -6,6 +6,20 @@
"description": "", "description": "",
"glyphs": [ "glyphs": [
{ {
"icon_id": "9355504",
"name": "商品设置",
"font_class": "shangpinshezhi",
"unicode": "e60b",
"unicode_decimal": 58891
},
{
"icon_id": "8837045",
"name": "我的顾客 icon",
"font_class": "gukeguanliicon",
"unicode": "e60a",
"unicode_decimal": 58890
},
{
"icon_id": "5835478", "icon_id": "5835478",
"name": "刷新", "name": "刷新",
"font_class": "shuaxin1", "font_class": "shuaxin1",
......
...@@ -20,6 +20,12 @@ Created by iconfont ...@@ -20,6 +20,12 @@ Created by iconfont
/> />
<missing-glyph /> <missing-glyph />
<glyph glyph-name="shangpinshezhi" unicode="&#58891;" d="M136.96 49.28c-45.632 0-79.872 33.92-79.872 79.04V760.064c0 45.184 34.24 78.976 79.936 78.976h517.056c45.632 0 79.872-33.792 79.872-78.976V602.24c0-16.96 11.456-28.224 28.544-28.224 17.152 0 28.544 11.264 28.544 28.16V760.128c0 73.344-62.784 135.424-136.96 135.424H136.96C62.848 895.488 0 833.408 0 760.064v-637.44c0-73.28 62.784-135.36 136.96-135.36h152.96c17.152 0 28.544 11.328 28.544 28.224s-11.392 33.856-28.544 33.856H136.96zM706.624 133.952c-17.088 0-28.544 11.264-28.544 28.16 0 16.96 11.456 28.224 28.544 28.224 17.152 0 28.544-11.264 28.544-28.16 0-16.96-11.392-28.224-28.544-28.224m0 112.832c-45.632 0-85.632-39.488-85.632-84.608 0-45.12 40-84.608 85.632-84.608 45.696 0 85.632 39.488 85.632 84.608 0 45.12-34.24 84.608-85.632 84.608m-57.088 372.288c17.152 11.264 34.24 28.16 34.24 50.752 0 33.856-22.784 56.448-57.088 56.448-34.24 0-57.024-22.592-57.024-56.448 0-16.896 11.392-33.856 22.784-45.12-22.784-90.24-97.024-152.32-194.048-152.32-97.088 0-171.264 67.712-194.112 152.32 11.392 11.264 22.848 28.16 22.848 45.12 0 33.856-22.848 56.448-57.088 56.448s-57.088-22.592-57.088-56.448c0-22.528 11.392-45.12 34.24-50.752C170.048 506.24 272.768 416 398.4 416c125.568 0 222.592 84.608 251.136 203.072M815.104 9.856c-5.76-11.264-17.152-16.896-22.848-16.896H632.448c-11.456 0-17.152 5.632-22.848 16.896l-85.632 140.992c-5.76 11.328-5.76 16.96 0 28.224l79.936 141.056c5.696 11.264 17.088 16.896 22.784 16.896h159.872c11.392 0 17.088-5.632 22.848-16.896l79.872-141.056c3.456-5.248 11.456-22.592 5.76-28.16l-80-141.056z m131.264 197.44L866.56 348.288c-17.152 28.224-45.696 45.12-74.24 45.12H632.448c-28.544 0-57.088-16.896-74.24-45.12L478.272 207.36c-17.088-28.16-17.088-56.448 0-84.608l80-141.056c17.088-28.16 45.632-45.12 74.176-45.12h159.808c28.544 0 57.088 16.96 74.24 45.12l79.872 141.056c17.152 28.16 17.152 56.384 0 84.608" horiz-adv-x="1024" />
<glyph glyph-name="gukeguanliicon" unicode="&#58890;" d="M512.761 374.77c-30.144 0-60.808 6.1-88.674 17.64-27.86 11.54-53.857 28.907-75.18 50.227-21.325 21.334-38.694 47.33-50.233 75.18-11.537 27.856-17.636 58.52-17.636 88.678 0 30.153 6.099 60.817 17.634 88.675 11.545 27.863 28.914 53.858 50.234 75.18 21.322 21.323 47.32 38.693 75.178 50.232 27.86 11.538 58.524 17.637 88.676 17.637 30.153 0 60.816-6.099 88.675-17.637 27.857-11.537 53.853-28.91 75.18-50.233 21.318-21.317 38.69-47.311 50.23-75.177 11.538-27.86 17.637-58.524 17.637-88.677 0-30.157-6.099-60.822-17.637-88.676-11.537-27.858-28.907-53.856-50.23-75.182-21.327-21.323-47.323-38.69-75.182-50.228-27.864-11.538-58.527-17.64-88.672-17.64z m0 396.243c-21.407 0-43.178-4.33-62.96-12.522-19.776-8.19-38.231-20.523-53.37-35.662-15.139-15.14-27.47-33.595-35.664-53.377-8.19-19.776-12.522-41.546-12.522-62.955 0-21.412 4.33-43.182 12.522-62.956 8.19-19.777 20.526-38.235 35.667-53.381 15.133-15.133 33.589-27.464 53.368-35.654 19.788-8.196 41.56-12.528 62.96-12.528s43.172 4.332 62.957 12.526c19.78 8.192 38.237 20.523 53.375 35.659 15.138 15.14 27.47 33.597 35.662 53.377 8.19 19.776 12.521 41.546 12.521 62.958 0 21.408-4.33 43.179-12.522 62.96-8.193 19.78-20.524 38.235-35.66 53.369-15.142 15.143-33.6 27.475-53.376 35.667-19.778 8.189-41.548 12.52-62.958 12.52zM512.761-70.219c-153.124 0-258.397 18.188-321.837 55.603-59.37 35.017-69.763 79.25-72.416 109.476-5.71 65.034 30.23 148.91 68.681 198.149 38.892 49.811 91.984 77.243 149.492 77.243 35.325 0 58.258-11.794 78.49-22.2 23.676-12.174 46.036-23.675 97.59-23.675 53.02 0 75.954 12.035 98.133 23.673 19.832 10.406 42.31 22.202 77.887 22.202 51.316 0 94.635-19.516 136.323-61.415 55.979-56.267 84.892-151.733 80.504-211.52-1.542-20.992-5.153-70.147-66.86-109-62.552-39.39-169.183-58.536-325.987-58.536zM336.683 303.044c-46.606 0-78.213-27.95-96.522-51.4-33.682-43.133-58.22-110.83-54.701-150.91 1.526-17.4 5.97-37.623 39.607-57.462 35.802-21.115 114.776-46.285 287.695-46.285 176.569 0 255.257 26.212 290.178 48.2 32.978 20.763 34.52 41.736 35.643 57.05 2.8 38.17-16.882 114.73-61.121 159.199-29.017 29.165-55.539 41.608-88.68 41.608-19.015 0-29.419-5.46-46.657-14.506-26.635-13.974-59.78-31.369-129.364-31.369-67.821 0-101.37 17.253-128.325 31.116-17.28 8.887-28.699 14.76-47.753 14.76zM987.515 143.29c-1.647 0-3.312 0.122-4.992 0.37-18.355 2.733-31.02 19.829-28.288 38.186 14.7 98.735-46.498 224.021-157.815 245.942a33.603 33.603 0 0 0-20.82 52.547c39.655 55.326 50.128 107.85 31.13 156.115-14.717 37.383-42.278 59.416-42.555 59.634l0.163-0.125 40.949 53.29c4.123-3.168 40.924-32.476 62.59-84.745 17.601-42.469 27.523-106.727-13.466-184.43 49.074-20.416 91.66-57.385 122.71-107.263 37.692-60.55 53.579-133.761 43.59-200.862-2.484-16.676-16.828-28.657-33.196-28.66zM36.442 143.29c-16.37 0-30.71 11.98-33.195 28.66-9.99 67.1 5.898 140.311 43.593 200.861 31.048 49.878 73.635 86.847 122.71 107.263-40.991 77.703-31.07 141.96-13.468 184.43 21.664 52.268 58.464 81.574 62.59 84.745l40.95-53.29 0.16 0.125c-0.275-0.218-27.837-22.25-42.554-59.634-18.996-48.264-8.524-100.789 31.131-156.115a33.606 33.606 0 0 0-20.819-52.547C116.22 405.868 55.022 280.581 69.722 181.847c2.732-18.357-9.933-35.453-28.288-38.186-1.678-0.25-3.344-0.371-4.992-0.371zM205.535 722.236a33.121 33.121 0 1 1 67.786 0 33.121 33.121 0 1 1-67.786 0zM749.907 722.236a33.121 33.121 0 1 1 67.786 0 33.121 33.121 0 1 1-67.786 0z" horiz-adv-x="1040" />
<glyph glyph-name="shuaxin1" unicode="&#58899;" d="M780.9-6.4c-9.7 0-19.3 4.4-25.6 12.8-10.6 14.1-7.8 34.2 6.4 44.8C867.4 130.6 928 251.9 928 384c0 229.4-186.6 416-416 416-17.7 0-32 14.3-32 32s14.3 32 32 32c264.7 0 480-215.3 480-480 0-152.4-70-292.4-192-384-5.7-4.3-12.5-6.4-19.1-6.4zM512-96C247.3-96 32 119.3 32 384c0 130 51.1 251.7 144 342.8 12.6 12.4 32.9 12.2 45.3-0.4 12.4-12.6 12.2-32.9-0.4-45.3C140.3 602.2 96 496.7 96 384c0-229.4 186.6-416 416-416 17.7 0 32-14.3 32-32s-14.3-32-32-32zM601.6 665.6c-10.3 0-20.5 5-26.7 14.3L485.4 814.2c-9.8 14.7-5.8 34.6 8.9 44.4 14.7 9.8 34.6 5.8 44.4-8.9l89.6-134.4c9.8-14.7 5.8-34.6-8.9-44.4-5.5-3.6-11.7-5.3-17.8-5.3zM512-96c-10.3 0-20.5 5-26.7 14.3l-89.6 134.4c-9.8 14.7-5.8 34.6 8.9 44.4 14.7 9.8 34.5 5.8 44.4-8.9l89.6-134.4c9.8-14.7 5.8-34.6-8.9-44.4-5.4-3.7-11.6-5.4-17.7-5.4z" horiz-adv-x="1024" /> <glyph glyph-name="shuaxin1" unicode="&#58899;" d="M780.9-6.4c-9.7 0-19.3 4.4-25.6 12.8-10.6 14.1-7.8 34.2 6.4 44.8C867.4 130.6 928 251.9 928 384c0 229.4-186.6 416-416 416-17.7 0-32 14.3-32 32s14.3 32 32 32c264.7 0 480-215.3 480-480 0-152.4-70-292.4-192-384-5.7-4.3-12.5-6.4-19.1-6.4zM512-96C247.3-96 32 119.3 32 384c0 130 51.1 251.7 144 342.8 12.6 12.4 32.9 12.2 45.3-0.4 12.4-12.6 12.2-32.9-0.4-45.3C140.3 602.2 96 496.7 96 384c0-229.4 186.6-416 416-416 17.7 0 32-14.3 32-32s-14.3-32-32-32zM601.6 665.6c-10.3 0-20.5 5-26.7 14.3L485.4 814.2c-9.8 14.7-5.8 34.6 8.9 44.4 14.7 9.8 34.6 5.8 44.4-8.9l89.6-134.4c9.8-14.7 5.8-34.6-8.9-44.4-5.5-3.6-11.7-5.3-17.8-5.3zM512-96c-10.3 0-20.5 5-26.7 14.3l-89.6 134.4c-9.8 14.7-5.8 34.6 8.9 44.4 14.7 9.8 34.5 5.8 44.4-8.9l89.6-134.4c9.8-14.7 5.8-34.6-8.9-44.4-5.4-3.7-11.6-5.4-17.7-5.4z" horiz-adv-x="1024" />
......
No preview for this file type
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