Commit 7d3361fc by caoyanzhi

update: dist

parent 4db3014d
<!DOCTYPE html><html lang=cn><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><meta name=viewport content="width=device-width,initial-scale=1"><link rel=icon href=favicon.ico><link rel=stylesheet type=text/css href=//web-1251519181.file.myqcloud.com/custom-element/custom-element.1.0.44.css><link rel=stylesheet type=text/css href=static/fonts/iconfont.css><title>好办</title><link href=css/chunk-01e836a3.99858b5e.css rel=prefetch><link href=css/chunk-02cdd212.ce5861cc.css rel=prefetch><link href=css/chunk-0b34723d.1f7d0d83.css rel=prefetch><link href=css/chunk-113e6480.2f295556.css rel=prefetch><link href=css/chunk-14c0f460.e9986bc6.css rel=prefetch><link href=css/chunk-1c295d3c.b201954d.css rel=prefetch><link href=css/chunk-1c5a064d.774f8da8.css rel=prefetch><link href=css/chunk-1fbcb7b4.0a6c7a95.css rel=prefetch><link href=css/chunk-220f7958.1e40ff67.css rel=prefetch><link href=css/chunk-2270cb54.31ea5e58.css rel=prefetch><link href=css/chunk-2351fb9b.6efba3e1.css rel=prefetch><link href=css/chunk-23d376bc.46c25b47.css rel=prefetch><link href=css/chunk-33b0918a.b7424a51.css rel=prefetch><link href=css/chunk-3433c9cf.55d4a6f7.css rel=prefetch><link href=css/chunk-37259986.34356bc6.css rel=prefetch><link href=css/chunk-3c06dd3c.8f493d46.css rel=prefetch><link href=css/chunk-3e212760.8f532f9e.css rel=prefetch><link href=css/chunk-3edbff8b.a8215837.css rel=prefetch><link href=css/chunk-41d5b83e.411c6e35.css rel=prefetch><link href=css/chunk-56f22583.419fd225.css rel=prefetch><link href=css/chunk-5c427045.2fc03ad0.css rel=prefetch><link href=css/chunk-6dfc1c36.effcfd5e.css rel=prefetch><link href=css/chunk-70a132aa.85ff600a.css rel=prefetch><link href=css/chunk-70b39bcc.2240cde3.css rel=prefetch><link href=css/chunk-7198c410.2e64d511.css rel=prefetch><link href=css/chunk-730fab8e.3af2c213.css rel=prefetch><link href=css/chunk-7b0069c2.58029651.css rel=prefetch><link href=css/chunk-8f5b7c26.f0ff185c.css rel=prefetch><link href=css/chunk-a5cbb47e.75723084.css rel=prefetch><link href=css/chunk-ba1c12aa.813bfa0b.css rel=prefetch><link href=css/chunk-bfbebd78.aba0a312.css rel=prefetch><link href=css/chunk-c2d4f890.7e26fbb5.css rel=prefetch><link href=css/chunk-c871c2ac.c7a019fc.css rel=prefetch><link href=css/chunk-d7315c84.93e19818.css rel=prefetch><link href=css/chunk-f157b4c8.39b039b5.css rel=prefetch><link href=js/chunk-01e836a3.070eeb22.js rel=prefetch><link href=js/chunk-02cdd212.a2d891f3.js rel=prefetch><link href=js/chunk-0b34723d.9ae1a684.js rel=prefetch><link href=js/chunk-113e6480.48eb44fb.js rel=prefetch><link href=js/chunk-14c0f460.196d43fd.js rel=prefetch><link href=js/chunk-1c295d3c.108505a8.js rel=prefetch><link href=js/chunk-1c5a064d.74b7b886.js rel=prefetch><link href=js/chunk-1fbcb7b4.673eb75e.js rel=prefetch><link href=js/chunk-220f7958.bd7095da.js rel=prefetch><link href=js/chunk-2270cb54.2c841f32.js rel=prefetch><link href=js/chunk-2351fb9b.4be2dd12.js rel=prefetch><link href=js/chunk-23d376bc.5a86c885.js rel=prefetch><link href=js/chunk-33b0918a.c2fc1df7.js rel=prefetch><link href=js/chunk-3433c9cf.3241ba67.js rel=prefetch><link href=js/chunk-37259986.28d25656.js rel=prefetch><link href=js/chunk-3c06dd3c.f94d3700.js rel=prefetch><link href=js/chunk-3e212760.91ce1837.js rel=prefetch><link href=js/chunk-3edbff8b.84402ac7.js rel=prefetch><link href=js/chunk-41d5b83e.efa4f063.js rel=prefetch><link href=js/chunk-56f22583.22563b39.js rel=prefetch><link href=js/chunk-5c427045.c14df22d.js rel=prefetch><link href=js/chunk-6dfc1c36.b6bfdfc9.js rel=prefetch><link href=js/chunk-70a132aa.9f35d4d3.js rel=prefetch><link href=js/chunk-70b39bcc.97a1c2c8.js rel=prefetch><link href=js/chunk-7198c410.e4bd5eff.js rel=prefetch><link href=js/chunk-730fab8e.fbf9fc10.js rel=prefetch><link href=js/chunk-7b0069c2.4ae016a7.js rel=prefetch><link href=js/chunk-8f5b7c26.d2dec6f1.js rel=prefetch><link href=js/chunk-a5cbb47e.8d7d52bd.js rel=prefetch><link href=js/chunk-ba1c12aa.c29dbeb7.js rel=prefetch><link href=js/chunk-bfbebd78.765cd2b1.js rel=prefetch><link href=js/chunk-c2d4f890.56b54320.js rel=prefetch><link href=js/chunk-c871c2ac.58b06813.js rel=prefetch><link href=js/chunk-d7315c84.d5307d16.js rel=prefetch><link href=js/chunk-f157b4c8.ad503ca8.js rel=prefetch><link href=css/app.f1525482.css rel=preload as=style><link href=css/chunk-vendors.635bc84a.css rel=preload as=style><link href=js/app.68986b9f.js rel=preload as=script><link href=js/chunk-vendors.9d79b2ca.js rel=preload as=script><link href=css/chunk-vendors.635bc84a.css rel=stylesheet><link href=css/app.f1525482.css rel=stylesheet></head><body class=damolish><noscript><strong>We're sorry but damolish doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id=app></div><script src=//web-1251519181.file.myqcloud.com/lib-4.0/vue/2.6.10/vue.min.js></script><script src=//web-1251519181.file.myqcloud.com/lib-4.0/vuex/3.0.1/vuex.js></script><script src=//web-1251519181.file.myqcloud.com/lib-4.0/axios/0.19.0/axios.min.js></script><script src=//web-1251519181.file.myqcloud.com/components/pagination.1.0.8.js></script><script src=//web-1251519181.file.myqcloud.com/components/perm-button.1.0.0.js></script><script src=js/chunk-vendors.9d79b2ca.js></script><script src=js/app.68986b9f.js></script></body></html>
\ No newline at end of file
<!DOCTYPE html><html lang=cn><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><meta name=viewport content="width=device-width,initial-scale=1"><link rel=icon href=favicon.ico><link rel=stylesheet type=text/css href=//web-1251519181.file.myqcloud.com/custom-element/custom-element.1.0.44.css><link rel=stylesheet type=text/css href=static/fonts/iconfont.css><title>好办</title><link href=css/chunk-01e836a3.99858b5e.css rel=prefetch><link href=css/chunk-02cdd212.ce5861cc.css rel=prefetch><link href=css/chunk-0b34723d.1f7d0d83.css rel=prefetch><link href=css/chunk-113e6480.2f295556.css rel=prefetch><link href=css/chunk-14c0f460.e9986bc6.css rel=prefetch><link href=css/chunk-1c295d3c.b201954d.css rel=prefetch><link href=css/chunk-1c5a064d.774f8da8.css rel=prefetch><link href=css/chunk-1fbcb7b4.0a6c7a95.css rel=prefetch><link href=css/chunk-220f7958.1e40ff67.css rel=prefetch><link href=css/chunk-2270cb54.31ea5e58.css rel=prefetch><link href=css/chunk-2351fb9b.6efba3e1.css rel=prefetch><link href=css/chunk-23d376bc.46c25b47.css rel=prefetch><link href=css/chunk-33b0918a.b7424a51.css rel=prefetch><link href=css/chunk-3433c9cf.55d4a6f7.css rel=prefetch><link href=css/chunk-37259986.34356bc6.css rel=prefetch><link href=css/chunk-3c06dd3c.8f493d46.css rel=prefetch><link href=css/chunk-3e212760.8f532f9e.css rel=prefetch><link href=css/chunk-3edbff8b.a8215837.css rel=prefetch><link href=css/chunk-41d5b83e.411c6e35.css rel=prefetch><link href=css/chunk-56f22583.419fd225.css rel=prefetch><link href=css/chunk-5c427045.2fc03ad0.css rel=prefetch><link href=css/chunk-6dfc1c36.effcfd5e.css rel=prefetch><link href=css/chunk-70a132aa.85ff600a.css rel=prefetch><link href=css/chunk-70b39bcc.2240cde3.css rel=prefetch><link href=css/chunk-7198c410.2e64d511.css rel=prefetch><link href=css/chunk-730fab8e.3af2c213.css rel=prefetch><link href=css/chunk-7b0069c2.58029651.css rel=prefetch><link href=css/chunk-8f5b7c26.f0ff185c.css rel=prefetch><link href=css/chunk-a5cbb47e.75723084.css rel=prefetch><link href=css/chunk-ba1c12aa.813bfa0b.css rel=prefetch><link href=css/chunk-bfbebd78.aba0a312.css rel=prefetch><link href=css/chunk-c2d4f890.7e26fbb5.css rel=prefetch><link href=css/chunk-c871c2ac.c7a019fc.css rel=prefetch><link href=css/chunk-d7315c84.93e19818.css rel=prefetch><link href=css/chunk-f157b4c8.39b039b5.css rel=prefetch><link href=js/chunk-01e836a3.c3a72f45.js rel=prefetch><link href=js/chunk-02cdd212.183c152d.js rel=prefetch><link href=js/chunk-0b34723d.ee9713d5.js rel=prefetch><link href=js/chunk-113e6480.231fac20.js rel=prefetch><link href=js/chunk-14c0f460.e2e01390.js rel=prefetch><link href=js/chunk-1c295d3c.a1c9fa62.js rel=prefetch><link href=js/chunk-1c5a064d.cda540d4.js rel=prefetch><link href=js/chunk-1fbcb7b4.64b8a54e.js rel=prefetch><link href=js/chunk-220f7958.1c55f117.js rel=prefetch><link href=js/chunk-2270cb54.ecf35424.js rel=prefetch><link href=js/chunk-2351fb9b.a9c068a1.js rel=prefetch><link href=js/chunk-23d376bc.e063fd86.js rel=prefetch><link href=js/chunk-33b0918a.4239a1a7.js rel=prefetch><link href=js/chunk-3433c9cf.8bb35a0d.js rel=prefetch><link href=js/chunk-37259986.5bbb180b.js rel=prefetch><link href=js/chunk-3c06dd3c.672d5db7.js rel=prefetch><link href=js/chunk-3e212760.e7f507e1.js rel=prefetch><link href=js/chunk-3edbff8b.ba50c439.js rel=prefetch><link href=js/chunk-41d5b83e.c35132ab.js rel=prefetch><link href=js/chunk-56f22583.4b4f3515.js rel=prefetch><link href=js/chunk-5c427045.0a347fe5.js rel=prefetch><link href=js/chunk-6dfc1c36.cca10061.js rel=prefetch><link href=js/chunk-70a132aa.6796619e.js rel=prefetch><link href=js/chunk-70b39bcc.fe26075c.js rel=prefetch><link href=js/chunk-7198c410.c4503f2a.js rel=prefetch><link href=js/chunk-730fab8e.dd4bc7aa.js rel=prefetch><link href=js/chunk-7b0069c2.47243e1b.js rel=prefetch><link href=js/chunk-8f5b7c26.0107a375.js rel=prefetch><link href=js/chunk-a5cbb47e.a2710167.js rel=prefetch><link href=js/chunk-ba1c12aa.e2ddd7cb.js rel=prefetch><link href=js/chunk-bfbebd78.0abcbbe0.js rel=prefetch><link href=js/chunk-c2d4f890.256bc2a0.js rel=prefetch><link href=js/chunk-c871c2ac.57ff76e8.js rel=prefetch><link href=js/chunk-d7315c84.a71325e0.js rel=prefetch><link href=js/chunk-f157b4c8.2e77f877.js rel=prefetch><link href=css/app.f1525482.css rel=preload as=style><link href=css/chunk-vendors.635bc84a.css rel=preload as=style><link href=js/app.0a4aecd5.js rel=preload as=script><link href=js/chunk-vendors.cda08bb4.js rel=preload as=script><link href=css/chunk-vendors.635bc84a.css rel=stylesheet><link href=css/app.f1525482.css rel=stylesheet></head><body class=damolish><noscript><strong>We're sorry but damolish doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id=app></div><script src=//web-1251519181.file.myqcloud.com/lib-4.0/vue/2.6.10/vue.min.js></script><script src=//web-1251519181.file.myqcloud.com/lib-4.0/vuex/3.0.1/vuex.js></script><script src=//web-1251519181.file.myqcloud.com/lib-4.0/axios/0.19.0/axios.min.js></script><script src=//web-1251519181.file.myqcloud.com/components/pagination.1.0.8.js></script><script src=//web-1251519181.file.myqcloud.com/components/perm-button.1.0.0.js></script><script src=js/chunk-vendors.cda08bb4.js></script><script src=js/app.0a4aecd5.js></script></body></html>
\ No newline at end of file
(function(e){function n(n){for(var c,r,o=n[0],i=n[1],s=n[2],h=0,d=[];h<o.length;h++)r=o[h],Object.prototype.hasOwnProperty.call(a,r)&&a[r]&&d.push(a[r][0]),a[r]=0;for(c in i)Object.prototype.hasOwnProperty.call(i,c)&&(e[c]=i[c]);f&&f(n);while(d.length)d.shift()();return u.push.apply(u,s||[]),t()}function t(){for(var e,n=0;n<u.length;n++){for(var t=u[n],c=!0,r=1;r<t.length;r++){var o=t[r];0!==a[o]&&(c=!1)}c&&(u.splice(n--,1),e=i(i.s=t[0]))}return e}var c={},r={app:0},a={app:0},u=[];function o(e){return i.p+"js/"+({}[e]||e)+"."+{"chunk-01e836a3":"c3a72f45","chunk-02cdd212":"183c152d","chunk-0b34723d":"ee9713d5","chunk-113e6480":"231fac20","chunk-14c0f460":"e2e01390","chunk-1c295d3c":"a1c9fa62","chunk-1c5a064d":"cda540d4","chunk-1fbcb7b4":"64b8a54e","chunk-220f7958":"1c55f117","chunk-2270cb54":"ecf35424","chunk-2351fb9b":"a9c068a1","chunk-23d376bc":"e063fd86","chunk-33b0918a":"4239a1a7","chunk-3433c9cf":"8bb35a0d","chunk-37259986":"5bbb180b","chunk-3c06dd3c":"672d5db7","chunk-3e212760":"e7f507e1","chunk-3edbff8b":"ba50c439","chunk-41d5b83e":"c35132ab","chunk-56f22583":"4b4f3515","chunk-5c427045":"0a347fe5","chunk-6dfc1c36":"cca10061","chunk-70a132aa":"6796619e","chunk-7198c410":"c4503f2a","chunk-730fab8e":"dd4bc7aa","chunk-70b39bcc":"fe26075c","chunk-c871c2ac":"57ff76e8","chunk-7b0069c2":"47243e1b","chunk-8f5b7c26":"0107a375","chunk-a5cbb47e":"a2710167","chunk-ba1c12aa":"e2ddd7cb","chunk-bfbebd78":"0abcbbe0","chunk-c2d4f890":"256bc2a0","chunk-d7315c84":"a71325e0","chunk-f157b4c8":"2e77f877"}[e]+".js"}function i(n){if(c[n])return c[n].exports;var t=c[n]={i:n,l:!1,exports:{}};return e[n].call(t.exports,t,t.exports,i),t.l=!0,t.exports}i.e=function(e){var n=[],t={"chunk-01e836a3":1,"chunk-02cdd212":1,"chunk-0b34723d":1,"chunk-113e6480":1,"chunk-14c0f460":1,"chunk-1c295d3c":1,"chunk-1c5a064d":1,"chunk-1fbcb7b4":1,"chunk-220f7958":1,"chunk-2270cb54":1,"chunk-2351fb9b":1,"chunk-23d376bc":1,"chunk-33b0918a":1,"chunk-3433c9cf":1,"chunk-37259986":1,"chunk-3c06dd3c":1,"chunk-3e212760":1,"chunk-3edbff8b":1,"chunk-41d5b83e":1,"chunk-56f22583":1,"chunk-5c427045":1,"chunk-6dfc1c36":1,"chunk-70a132aa":1,"chunk-7198c410":1,"chunk-730fab8e":1,"chunk-70b39bcc":1,"chunk-c871c2ac":1,"chunk-7b0069c2":1,"chunk-8f5b7c26":1,"chunk-a5cbb47e":1,"chunk-ba1c12aa":1,"chunk-bfbebd78":1,"chunk-c2d4f890":1,"chunk-d7315c84":1,"chunk-f157b4c8":1};r[e]?n.push(r[e]):0!==r[e]&&t[e]&&n.push(r[e]=new Promise((function(n,t){for(var c="css/"+({}[e]||e)+"."+{"chunk-01e836a3":"99858b5e","chunk-02cdd212":"ce5861cc","chunk-0b34723d":"1f7d0d83","chunk-113e6480":"2f295556","chunk-14c0f460":"e9986bc6","chunk-1c295d3c":"b201954d","chunk-1c5a064d":"774f8da8","chunk-1fbcb7b4":"0a6c7a95","chunk-220f7958":"1e40ff67","chunk-2270cb54":"31ea5e58","chunk-2351fb9b":"6efba3e1","chunk-23d376bc":"46c25b47","chunk-33b0918a":"b7424a51","chunk-3433c9cf":"55d4a6f7","chunk-37259986":"34356bc6","chunk-3c06dd3c":"8f493d46","chunk-3e212760":"8f532f9e","chunk-3edbff8b":"a8215837","chunk-41d5b83e":"411c6e35","chunk-56f22583":"419fd225","chunk-5c427045":"2fc03ad0","chunk-6dfc1c36":"effcfd5e","chunk-70a132aa":"85ff600a","chunk-7198c410":"2e64d511","chunk-730fab8e":"3af2c213","chunk-70b39bcc":"2240cde3","chunk-c871c2ac":"c7a019fc","chunk-7b0069c2":"58029651","chunk-8f5b7c26":"f0ff185c","chunk-a5cbb47e":"75723084","chunk-ba1c12aa":"813bfa0b","chunk-bfbebd78":"aba0a312","chunk-c2d4f890":"7e26fbb5","chunk-d7315c84":"93e19818","chunk-f157b4c8":"39b039b5"}[e]+".css",a=i.p+c,u=document.getElementsByTagName("link"),o=0;o<u.length;o++){var s=u[o],h=s.getAttribute("data-href")||s.getAttribute("href");if("stylesheet"===s.rel&&(h===c||h===a))return n()}var d=document.getElementsByTagName("style");for(o=0;o<d.length;o++){s=d[o],h=s.getAttribute("data-href");if(h===c||h===a)return n()}var f=document.createElement("link");f.rel="stylesheet",f.type="text/css",f.onload=n,f.onerror=function(n){var c=n&&n.target&&n.target.src||a,u=new Error("Loading CSS chunk "+e+" failed.\n("+c+")");u.code="CSS_CHUNK_LOAD_FAILED",u.request=c,delete r[e],f.parentNode.removeChild(f),t(u)},f.href=a;var p=document.getElementsByTagName("head")[0];p.appendChild(f)})).then((function(){r[e]=0})));var c=a[e];if(0!==c)if(c)n.push(c[2]);else{var u=new Promise((function(n,t){c=a[e]=[n,t]}));n.push(c[2]=u);var s,h=document.createElement("script");h.charset="utf-8",h.timeout=120,i.nc&&h.setAttribute("nonce",i.nc),h.src=o(e);var d=new Error;s=function(n){h.onerror=h.onload=null,clearTimeout(f);var t=a[e];if(0!==t){if(t){var c=n&&("load"===n.type?"missing":n.type),r=n&&n.target&&n.target.src;d.message="Loading chunk "+e+" failed.\n("+c+": "+r+")",d.name="ChunkLoadError",d.type=c,d.request=r,t[1](d)}a[e]=void 0}};var f=setTimeout((function(){s({type:"timeout",target:h})}),12e4);h.onerror=h.onload=s,document.head.appendChild(h)}return Promise.all(n)},i.m=e,i.c=c,i.d=function(e,n,t){i.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:t})},i.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,n){if(1&n&&(e=i(e)),8&n)return e;if(4&n&&"object"===typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(i.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var c in e)i.d(t,c,function(n){return e[n]}.bind(null,c));return t},i.n=function(e){var n=e&&e.__esModule?function(){return e["default"]}:function(){return e};return i.d(n,"a",n),n},i.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},i.p="",i.oe=function(e){throw e};var s=window["webpackJsonp"]=window["webpackJsonp"]||[],h=s.push.bind(s);s.push=n,s=s.slice();for(var d=0;d<s.length;d++)n(s[d]);var f=h;u.push([0,"chunk-vendors"]),t()})({0:function(e,n,t){t("db4d"),e.exports=t("56d7")},"1a5d":function(e,n,t){var c={"./apps/customer-app/clerk-tag.vue":["b5b0","chunk-0b34723d"],"./apps/customer-app/crowd-scene.vue":["c7d7","chunk-41d5b83e"],"./apps/customer-app/customer-assign.vue":["12eb","chunk-5c427045"],"./apps/customer-app/customer-data-set.vue":["3cf8","chunk-7b0069c2"],"./apps/customer-app/customer-show-set.vue":["f766","chunk-3c06dd3c"],"./apps/customer-app/data-dimension.vue":["55f3","chunk-3edbff8b"],"./apps/customer-app/index.vue":["c3d9","chunk-113e6480"],"./apps/index.vue":["7f2e","chunk-220f7958"],"./business/audit-log.vue":["0912","chunk-3433c9cf"],"./business/auth-merchant.vue":["56b3","chunk-f157b4c8"],"./business/contacts.vue":["a269","chunk-01e836a3"],"./business/index.vue":["50c8","chunk-3e212760"],"./business/new-auth-merchant.vue":["62a7","chunk-730fab8e","chunk-c871c2ac"],"./business/sync-log.vue":["b155","chunk-a5cbb47e"],"./enterprise/admin-list.vue":["db80","chunk-14c0f460"],"./enterprise/admin-list/role-list.vue":["0082","chunk-33b0918a"],"./enterprise/edit-admin.vue":["7dc6","chunk-730fab8e","chunk-70b39bcc"],"./enterprise/edit-role.vue":["2249","chunk-1c295d3c"],"./enterprise/edit-role/menu-tree.vue":["a088","chunk-23d376bc"],"./enterprise/edit-store-role.vue":["a960","chunk-56f22583"],"./enterprise/enterprise-set.vue":["b735","chunk-70a132aa"],"./enterprise/index.vue":["ea02","chunk-8f5b7c26"],"./enterprise/store-admin-list.vue":["2058","chunk-1fbcb7b4"],"./enterprise/super-admin.vue":["9b74","chunk-c2d4f890"],"./error-page/403.vue":["5140","chunk-ba1c12aa"],"./error-page/404.vue":["1db4","chunk-2351fb9b"],"./error-page/500.vue":["721c","chunk-6dfc1c36"],"./error-page/gic-error.vue":["442d","chunk-37259986"],"./error-page/index.vue":["4cf1","chunk-d7315c84"],"./index/index.vue":["37f9","chunk-bfbebd78"],"./login/index.vue":["9ed6","chunk-2270cb54"],"./review-center/index.vue":["2cad","chunk-7198c410"],"./review-center/reviewed.vue":["dacc","chunk-02cdd212"],"./review-center/unreview.vue":["1005","chunk-1c5a064d"]};function r(e){if(!t.o(c,e))return Promise.resolve().then((function(){var n=new Error("Cannot find module '"+e+"'");throw n.code="MODULE_NOT_FOUND",n}));var n=c[e],r=n[0];return Promise.all(n.slice(1).map(t.e)).then((function(){return t(r)}))}r.keys=function(){return Object.keys(c)},r.id="1a5d",e.exports=r},"4f94":function(e,n,t){},"56d7":function(e,n,t){"use strict";t.r(n);t("456d"),t("ac6a"),t("cadf"),t("551c"),t("f751"),t("097d"),t("db4d"),t("0fae"),t("4f94"),t("d31c");var c=t("8bbf"),r=t.n(c),a=t("8c4f"),u=t("cebe"),o=t.n(u),i=t("5c96"),s=t.n(i),h=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("div",{staticClass:"dm-reset",attrs:{id:"app"}},[t("router-view",{key:e.$route.fullPath})],1)},d=[],f={name:"App"},p=f,b=t("2877"),m=Object(b["a"])(p,h,d,!1,null,null,null),l=m.exports,k=t("a18c"),g=t("d046"),v=(t("c5f6"),t("3b2b"),t("a481"),t("6b54"),function(e,n){if(!e)return"";e=10===e.toString().length?1e3*e:e;var t=new Date(e),c={"M+":t.getMonth()+1,"D+":t.getDate(),W:"日一二三四五六".charAt(t.getDay()),"h+":t.getHours(),"m+":t.getMinutes(),"s+":t.getSeconds(),"q+":Math.floor((t.getMonth()+3)/3),S:t.getMilliseconds()};for(var r in/(Y+)/.test(n)&&(n=n.replace(RegExp.$1,(t.getFullYear()+"").substr(4-RegExp.$1.length))),c)new RegExp("("+r+")").test(n)&&(n=n.replace(RegExp.$1,1===RegExp.$1.length?c[r]:("00"+c[r]).substr((""+c[r]).length)));return n}),w=function(e){if(!e)return"";var n=new Date(e),t=n.getMonth()+1,c=n.getDate()<10?"0"+n.getDate():n.getDate(),r=t<10?"0"+t:t,a=n.getHours()<10?"0"+n.getHours():n.getHours(),u=n.getMinutes()<10?"0"+n.getMinutes():n.getMinutes(),o=n.getSeconds()<10?"0"+n.getSeconds():n.getSeconds();return"".concat(n.getFullYear(),"-").concat(r,"-").concat(c," ").concat(a,":").concat(u,":").concat(o)},y=function(e){if(!e)return"";var n=new Date(e),t=n.getMonth()+1,c=n.getDate()<10?"0"+n.getDate():n.getDate(),r=t<10?"0"+t:t,a=n.getHours()<10?"0"+n.getHours():n.getHours(),u=n.getMinutes()<10?"0"+n.getMinutes():n.getMinutes(),o=n.getSeconds()<10?"0"+n.getSeconds():n.getSeconds();return"".concat(n.getFullYear(),".").concat(r,".").concat(c," ").concat(a,":").concat(u,":").concat(o)},x=function(e){if(!e)return"";var n=new Date(e),t=n.getMonth()+1,c=t<10?"0"+t:t;return"".concat(n.getFullYear(),"-").concat(c)},M=function(e){if(!e)return"";var n=new Date(e),t=n.getMonth()+1,c=n.getDate()<10?"0"+n.getDate():n.getDate(),r=t<10?"0"+t:t;return"".concat(n.getFullYear(),"-").concat(r,"-").concat(c)},S=function(e){if(!e)return"";var n=new Date(e),t=n.getHours()<10?"0"+n.getHours():n.getHours(),c=n.getMinutes()<10?"0"+n.getMinutes():n.getMinutes(),r=n.getSeconds()<10?"0"+n.getSeconds():n.getSeconds();return"".concat(t,":").concat(c,":").concat(r)},O=function(e){if(!e)return"";var n=new Date,t=new Date(Number(e)).getTime()-n.getTime();if(t<0)return"";var c=Math.floor(t/864e5),r=t%864e5,a=Math.floor(r/36e5),u=r%36e5,o=Math.floor(u/6e4);return"".concat(c,"天").concat(a,"小时").concat(o,"分")},D=function(e){return e?(e=e.toString(),e.substr(0,3)+"****"+e.substr(7,11)):""},j=function(e){return e?(e=e.toString(),"**"+e.substr(e.length-1,e.length)):""},A=function(e){return e?(e=e.toString(),e.length>6?e.substr(0,5)+"...":e):""},E=function(e){if(!e)return"00:00:00";var n=e/1e3,t=Math.floor(n/60/60/24),c=24*t+Math.floor(n/60/60)%24<10?"0"+(24*t+Math.floor(n/60/60)%24):24*t+Math.floor(n/60/60)%24,r=Math.floor(n/60)%60<10?"0"+Math.floor(n/60)%60:Math.floor(n/60)%60,a=Math.floor(n)%60<10?"0"+Math.floor(n)%60:Math.floor(n)%60;return"".concat(c,":").concat(r,":").concat(a)},P={dateFormat:v,formatTimeStamp:w,timeStampToYm:x,timeStampToYmd:M,timeStampToHms:S,formatTimeYmdHms:y,formatPhoneNum:D,formatName:j,timeStampSpace:O,formatTime:E,formatWord:A},T=(t("96cf"),t("1da1")),C=(t("5df3"),t("b775")),H=[],L=[],_={};function F(){var e=Object(C["a"])({url:"/hb-manage-web/list-staff-role-menu"}).then((function(e){L=N(e.result||[])})),n=Object(C["a"])({url:"/hb-manage-web/list-staff-role-opeation"}).then((function(e){_=R(e.result||[])}));return Promise.all([e,n])}function N(e){var n=[];return e.forEach((function(e){e.menuUrl&&n.push(e.menuUrl),Array.isArray(e.children)&&(n=n.concat(N(e.children)))})),n}function R(e){var n={};return e.forEach((function(e){n[e.menuCode]=!0})),n}function Y(e){var n=[];return e.forEach((function(e){Array.isArray(e.children)&&(n=n.concat(Y(e.children))),n.push(e.path)})),n}function $(e,n,t){var c=L.some((function(n){return n.indexOf("/#")>=0?n=="/#".concat(e.path):n==e.path}));if(c)return t();H.some((function(n){return n==e.path}))||0==L.length?t("/gic-error"):t(L[0])}function U(e){return!!_[e]}var q=function(e){var n=e.whiteRoute,t=e.router,c=e.routes,r=e.createApp;window.onload=Object(T["a"])(regeneratorRuntime.mark((function e(){var a;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(a=window.location.href,-1!=a.indexOf("/login")||-1!=a.indexOf("/gic-error")){e.next=4;break}return e.next=4,F();case 4:Array.isArray(n)&&(L=L.concat(n)),Array.isArray(c)&&(H=Y(c)),t.beforeEach($),"function"==typeof r&&r();case 8:case"end":return e.stop()}}),e)})))},B=t("f121");r.a.use(a["a"]),r.a.use(s.a),o.a.defaults.withCredentials=!0,r.a.prototype.axios=o.a,r.a.prototype.$itemPerm=U,r.a.prototype.$itemCode=B["a"],r.a.config.devtools=!1,r.a.config.productionTip=!1,Object.keys(P).forEach((function(e){r.a.filter(e,P[e])})),q({whiteRoute:["/login","/contactsList","/gic-error","/403","/404","/500"],router:k["a"],routes:g["a"],createApp:function(){new r.a({router:k["a"],render:function(e){return e(l)}}).$mount("#app")}})},"8bbf":function(e,n){e.exports=Vue},a18c:function(e,n,t){"use strict";var c=t("8c4f"),r=t("d046"),a=c["a"].prototype.push;c["a"].prototype.push=function(e){return a.call(this,e).catch((function(e){return e}))};var u=new c["a"]({routes:r["a"]});n["a"]=u},b775:function(e,n,t){"use strict";t.d(n,"a",(function(){return h}));var c=t("cebe"),r=t.n(c),a=t("4328"),u=t.n(a),o=t("5c96"),i=t("f121"),s=t("a18c");r.a.defaults.baseURL=i["c"],r.a.defaults.withCredentials=!0;var h=function(e,n){n=Object.assign({},n),e=Object.assign({},e);var t={url:"",params:"",data:"",method:"get",useFormData:!1,useIntercept:!0,headers:{}};switch(t=Object.assign(t,e),t.useFormData&&(n=u.a.stringify(n)),t.method.toLowerCase()){case"get":t.params=n;break;case"post":t.data=n;break;default:t.data=n;break}return new Promise((function(e,n){r()(t).then((function(c){var r=c.data;if(r.code!=i["b"])return t.useIntercept&&r.code!=i["d"]?(Object(o["Message"])({message:r.message||"未知错误",type:"warning"}),n(r)):void e(r);s["a"].push("/login")})).catch((function(e){var t=e.response||{},c=t.data||{};Object(o["Message"])({message:c.message||"未知错误",type:"warning"}),n(e)}))}))}},cebe:function(e,n){e.exports=axios},d046:function(e,n,t){"use strict";t.d(n,"a",(function(){return u}));var c=t("e2b2"),r=t.n(c),a=function(e){t.e("chunk-d7315c84").then(t.bind(null,"4cf1")).then((function(n){e(n)}))},u=[{path:"/",name:"/",redirect:"login"},{path:"/login",name:"登录",component:r()("login","index")},{path:"/index",name:"index",component:r()("index","index")},{path:"/contacts",name:"通讯录",redirect:"contactsList",component:r()("business","index"),children:[{path:"/contactsList",name:"通讯录",component:r()("business","contacts")},{path:"/syncLog",name:"通讯录日志",component:r()("business","sync-log")},{path:"/authMerchant",name:"授权商户",component:r()("business","auth-merchant")},{path:"/newAuthMerchant",name:"新增授权",component:r()("business","new-auth-merchant")},{path:"/auditLog",name:"审核日志",component:r()("business","audit-log")}]},{path:"/reviewCenter",name:"审核中心",redirect:"unreview",component:r()("review-center","index"),children:[{path:"/reviewed",name:"已审核",component:r()("review-center","reviewed")},{path:"/unreview",name:"未审核",component:r()("review-center","unreview")}]},{path:"/enterprise",name:"企业设置",redirect:"enterpriseSet",component:r()("enterprise","index"),children:[{path:"/enterpriseSet",name:"企业信息",component:r()("enterprise","enterprise-set")},{path:"/admin-list",name:"管理员",component:r()("enterprise","admin-list")},{path:"/edit-role",name:"新建、编辑角色",component:r()("enterprise","edit-role")},{path:"/edit-admin",name:"新建编辑管理员",component:r()("enterprise","edit-admin")},{path:"/store-admin-list",name:"门店角色",component:r()("enterprise","store-admin-list")},{path:"/edit-store-role",name:"编辑门店角色",component:r()("enterprise","edit-store-role")},{path:"/superAdmin",name:"超级管理员",component:r()("enterprise","super-admin")}]},{path:"/apps",name:"企业应用",redirect:"mycustomer",component:r()("apps","index"),children:[{path:"/my-customer",name:"我的顾客",redirect:"/data-dimension",component:r()("apps/customer-app","index"),children:[{path:"/data-dimension",name:"数据维度",component:r()("apps/customer-app","data-dimension")},{path:"/crowd-scene",name:"人群场景",component:r()("apps/customer-app","crowd-scene")},{path:"/customer-data-set",name:"顾客资料",component:r()("apps/customer-app","customer-data-set")},{path:"/clerk-tag",name:"导购标签",component:r()("apps/customer-app","clerk-tag")},{path:"/customer-assign",name:"顾客分配",component:r()("apps/customer-app","customer-assign")}]}]},{path:"/gic-error",name:"gic跳转失败页",component:r()("error-page","gic-error")},{path:"/403",name:"无权访问",component:a},{path:"/404",name:"error404",component:a},{path:"/500",name:"error500",component:a},{path:"*",redirect:"/404",hidden:!0}]},d31c:function(e,n,t){},e2b2:function(e,n,t){e.exports=function(e,n){return function(c){t("1a5d")("./"+e+"/"+n+".vue").then((function(e){c(e)}))}}},f121:function(e,n,t){"use strict";function c(){var e=window.location.origin;return(e.indexOf("localhost")>=0||e.indexOf("192.168")>=0)&&(e="https://four.gicdev.com"),e}t.d(n,"c",(function(){return r})),t.d(n,"d",(function(){return a})),t.d(n,"b",(function(){return u})),t.d(n,"a",(function(){return o}));var r=c(),a="0000",u="0003",o={batchAudit:"batchAudit"}}});
\ No newline at end of file
(function(e){function n(n){for(var c,r,o=n[0],i=n[1],s=n[2],d=0,h=[];d<o.length;d++)r=o[d],Object.prototype.hasOwnProperty.call(a,r)&&a[r]&&h.push(a[r][0]),a[r]=0;for(c in i)Object.prototype.hasOwnProperty.call(i,c)&&(e[c]=i[c]);f&&f(n);while(h.length)h.shift()();return u.push.apply(u,s||[]),t()}function t(){for(var e,n=0;n<u.length;n++){for(var t=u[n],c=!0,r=1;r<t.length;r++){var o=t[r];0!==a[o]&&(c=!1)}c&&(u.splice(n--,1),e=i(i.s=t[0]))}return e}var c={},r={app:0},a={app:0},u=[];function o(e){return i.p+"js/"+({}[e]||e)+"."+{"chunk-01e836a3":"070eeb22","chunk-02cdd212":"a2d891f3","chunk-0b34723d":"9ae1a684","chunk-113e6480":"48eb44fb","chunk-14c0f460":"196d43fd","chunk-1c295d3c":"108505a8","chunk-1c5a064d":"74b7b886","chunk-1fbcb7b4":"673eb75e","chunk-220f7958":"bd7095da","chunk-2270cb54":"2c841f32","chunk-2351fb9b":"4be2dd12","chunk-23d376bc":"5a86c885","chunk-33b0918a":"c2fc1df7","chunk-3433c9cf":"3241ba67","chunk-37259986":"28d25656","chunk-3c06dd3c":"f94d3700","chunk-3e212760":"91ce1837","chunk-3edbff8b":"84402ac7","chunk-41d5b83e":"efa4f063","chunk-56f22583":"22563b39","chunk-5c427045":"c14df22d","chunk-6dfc1c36":"b6bfdfc9","chunk-70a132aa":"9f35d4d3","chunk-7198c410":"e4bd5eff","chunk-730fab8e":"fbf9fc10","chunk-70b39bcc":"97a1c2c8","chunk-c871c2ac":"58b06813","chunk-7b0069c2":"4ae016a7","chunk-8f5b7c26":"d2dec6f1","chunk-a5cbb47e":"8d7d52bd","chunk-ba1c12aa":"c29dbeb7","chunk-bfbebd78":"765cd2b1","chunk-c2d4f890":"56b54320","chunk-d7315c84":"d5307d16","chunk-f157b4c8":"ad503ca8"}[e]+".js"}function i(n){if(c[n])return c[n].exports;var t=c[n]={i:n,l:!1,exports:{}};return e[n].call(t.exports,t,t.exports,i),t.l=!0,t.exports}i.e=function(e){var n=[],t={"chunk-01e836a3":1,"chunk-02cdd212":1,"chunk-0b34723d":1,"chunk-113e6480":1,"chunk-14c0f460":1,"chunk-1c295d3c":1,"chunk-1c5a064d":1,"chunk-1fbcb7b4":1,"chunk-220f7958":1,"chunk-2270cb54":1,"chunk-2351fb9b":1,"chunk-23d376bc":1,"chunk-33b0918a":1,"chunk-3433c9cf":1,"chunk-37259986":1,"chunk-3c06dd3c":1,"chunk-3e212760":1,"chunk-3edbff8b":1,"chunk-41d5b83e":1,"chunk-56f22583":1,"chunk-5c427045":1,"chunk-6dfc1c36":1,"chunk-70a132aa":1,"chunk-7198c410":1,"chunk-730fab8e":1,"chunk-70b39bcc":1,"chunk-c871c2ac":1,"chunk-7b0069c2":1,"chunk-8f5b7c26":1,"chunk-a5cbb47e":1,"chunk-ba1c12aa":1,"chunk-bfbebd78":1,"chunk-c2d4f890":1,"chunk-d7315c84":1,"chunk-f157b4c8":1};r[e]?n.push(r[e]):0!==r[e]&&t[e]&&n.push(r[e]=new Promise((function(n,t){for(var c="css/"+({}[e]||e)+"."+{"chunk-01e836a3":"99858b5e","chunk-02cdd212":"ce5861cc","chunk-0b34723d":"1f7d0d83","chunk-113e6480":"2f295556","chunk-14c0f460":"e9986bc6","chunk-1c295d3c":"b201954d","chunk-1c5a064d":"774f8da8","chunk-1fbcb7b4":"0a6c7a95","chunk-220f7958":"1e40ff67","chunk-2270cb54":"31ea5e58","chunk-2351fb9b":"6efba3e1","chunk-23d376bc":"46c25b47","chunk-33b0918a":"b7424a51","chunk-3433c9cf":"55d4a6f7","chunk-37259986":"34356bc6","chunk-3c06dd3c":"8f493d46","chunk-3e212760":"8f532f9e","chunk-3edbff8b":"a8215837","chunk-41d5b83e":"411c6e35","chunk-56f22583":"419fd225","chunk-5c427045":"2fc03ad0","chunk-6dfc1c36":"effcfd5e","chunk-70a132aa":"85ff600a","chunk-7198c410":"2e64d511","chunk-730fab8e":"3af2c213","chunk-70b39bcc":"2240cde3","chunk-c871c2ac":"c7a019fc","chunk-7b0069c2":"58029651","chunk-8f5b7c26":"f0ff185c","chunk-a5cbb47e":"75723084","chunk-ba1c12aa":"813bfa0b","chunk-bfbebd78":"aba0a312","chunk-c2d4f890":"7e26fbb5","chunk-d7315c84":"93e19818","chunk-f157b4c8":"39b039b5"}[e]+".css",a=i.p+c,u=document.getElementsByTagName("link"),o=0;o<u.length;o++){var s=u[o],d=s.getAttribute("data-href")||s.getAttribute("href");if("stylesheet"===s.rel&&(d===c||d===a))return n()}var h=document.getElementsByTagName("style");for(o=0;o<h.length;o++){s=h[o],d=s.getAttribute("data-href");if(d===c||d===a)return n()}var f=document.createElement("link");f.rel="stylesheet",f.type="text/css",f.onload=n,f.onerror=function(n){var c=n&&n.target&&n.target.src||a,u=new Error("Loading CSS chunk "+e+" failed.\n("+c+")");u.code="CSS_CHUNK_LOAD_FAILED",u.request=c,delete r[e],f.parentNode.removeChild(f),t(u)},f.href=a;var p=document.getElementsByTagName("head")[0];p.appendChild(f)})).then((function(){r[e]=0})));var c=a[e];if(0!==c)if(c)n.push(c[2]);else{var u=new Promise((function(n,t){c=a[e]=[n,t]}));n.push(c[2]=u);var s,d=document.createElement("script");d.charset="utf-8",d.timeout=120,i.nc&&d.setAttribute("nonce",i.nc),d.src=o(e);var h=new Error;s=function(n){d.onerror=d.onload=null,clearTimeout(f);var t=a[e];if(0!==t){if(t){var c=n&&("load"===n.type?"missing":n.type),r=n&&n.target&&n.target.src;h.message="Loading chunk "+e+" failed.\n("+c+": "+r+")",h.name="ChunkLoadError",h.type=c,h.request=r,t[1](h)}a[e]=void 0}};var f=setTimeout((function(){s({type:"timeout",target:d})}),12e4);d.onerror=d.onload=s,document.head.appendChild(d)}return Promise.all(n)},i.m=e,i.c=c,i.d=function(e,n,t){i.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:t})},i.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,n){if(1&n&&(e=i(e)),8&n)return e;if(4&n&&"object"===typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(i.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var c in e)i.d(t,c,function(n){return e[n]}.bind(null,c));return t},i.n=function(e){var n=e&&e.__esModule?function(){return e["default"]}:function(){return e};return i.d(n,"a",n),n},i.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},i.p="",i.oe=function(e){throw console.error(e),e};var s=window["webpackJsonp"]=window["webpackJsonp"]||[],d=s.push.bind(s);s.push=n,s=s.slice();for(var h=0;h<s.length;h++)n(s[h]);var f=d;u.push([0,"chunk-vendors"]),t()})({0:function(e,n,t){t("db4d"),e.exports=t("56d7")},"1a5d":function(e,n,t){var c={"./apps/customer-app/clerk-tag.vue":["b5b0","chunk-0b34723d"],"./apps/customer-app/crowd-scene.vue":["c7d7","chunk-41d5b83e"],"./apps/customer-app/customer-assign.vue":["12eb","chunk-5c427045"],"./apps/customer-app/customer-data-set.vue":["3cf8","chunk-7b0069c2"],"./apps/customer-app/customer-show-set.vue":["f766","chunk-3c06dd3c"],"./apps/customer-app/data-dimension.vue":["55f3","chunk-3edbff8b"],"./apps/customer-app/index.vue":["c3d9","chunk-113e6480"],"./apps/index.vue":["7f2e","chunk-220f7958"],"./business/audit-log.vue":["0912","chunk-3433c9cf"],"./business/auth-merchant.vue":["56b3","chunk-f157b4c8"],"./business/contacts.vue":["a269","chunk-01e836a3"],"./business/index.vue":["50c8","chunk-3e212760"],"./business/new-auth-merchant.vue":["62a7","chunk-730fab8e","chunk-c871c2ac"],"./business/sync-log.vue":["b155","chunk-a5cbb47e"],"./enterprise/admin-list.vue":["db80","chunk-14c0f460"],"./enterprise/admin-list/role-list.vue":["0082","chunk-33b0918a"],"./enterprise/edit-admin.vue":["7dc6","chunk-730fab8e","chunk-70b39bcc"],"./enterprise/edit-role.vue":["2249","chunk-1c295d3c"],"./enterprise/edit-role/menu-tree.vue":["a088","chunk-23d376bc"],"./enterprise/edit-store-role.vue":["a960","chunk-56f22583"],"./enterprise/enterprise-set.vue":["b735","chunk-70a132aa"],"./enterprise/index.vue":["ea02","chunk-8f5b7c26"],"./enterprise/store-admin-list.vue":["2058","chunk-1fbcb7b4"],"./enterprise/super-admin.vue":["9b74","chunk-c2d4f890"],"./error-page/403.vue":["5140","chunk-ba1c12aa"],"./error-page/404.vue":["1db4","chunk-2351fb9b"],"./error-page/500.vue":["721c","chunk-6dfc1c36"],"./error-page/gic-error.vue":["442d","chunk-37259986"],"./error-page/index.vue":["4cf1","chunk-d7315c84"],"./index/index.vue":["37f9","chunk-bfbebd78"],"./login/index.vue":["9ed6","chunk-2270cb54"],"./review-center/index.vue":["2cad","chunk-7198c410"],"./review-center/reviewed.vue":["dacc","chunk-02cdd212"],"./review-center/unreview.vue":["1005","chunk-1c5a064d"]};function r(e){if(!t.o(c,e))return Promise.resolve().then((function(){var n=new Error("Cannot find module '"+e+"'");throw n.code="MODULE_NOT_FOUND",n}));var n=c[e],r=n[0];return Promise.all(n.slice(1).map(t.e)).then((function(){return t(r)}))}r.keys=function(){return Object.keys(c)},r.id="1a5d",e.exports=r},"4f94":function(e,n,t){},"56d7":function(e,n,t){"use strict";t.r(n);t("456d"),t("ac6a"),t("cadf"),t("551c"),t("f751"),t("097d"),t("db4d"),t("0fae"),t("4f94"),t("d31c");var c=t("8bbf"),r=t.n(c),a=t("8c4f"),u=t("cebe"),o=t.n(u),i=t("5c96"),s=t.n(i),d=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("div",{staticClass:"dm-reset",attrs:{id:"app"}},[t("router-view")],1)},h=[],f={name:"App"},p=f,b=t("2877"),m=Object(b["a"])(p,d,h,!1,null,null,null),l=m.exports,k=t("a18c"),g=t("d046"),v=(t("c5f6"),t("3b2b"),t("a481"),t("6b54"),function(e,n){if(!e)return"";e=10===e.toString().length?1e3*e:e;var t=new Date(e),c={"M+":t.getMonth()+1,"D+":t.getDate(),W:"日一二三四五六".charAt(t.getDay()),"h+":t.getHours(),"m+":t.getMinutes(),"s+":t.getSeconds(),"q+":Math.floor((t.getMonth()+3)/3),S:t.getMilliseconds()};for(var r in/(Y+)/.test(n)&&(n=n.replace(RegExp.$1,(t.getFullYear()+"").substr(4-RegExp.$1.length))),c)new RegExp("("+r+")").test(n)&&(n=n.replace(RegExp.$1,1===RegExp.$1.length?c[r]:("00"+c[r]).substr((""+c[r]).length)));return n}),w=function(e){if(!e)return"";var n=new Date(e),t=n.getMonth()+1,c=n.getDate()<10?"0"+n.getDate():n.getDate(),r=t<10?"0"+t:t,a=n.getHours()<10?"0"+n.getHours():n.getHours(),u=n.getMinutes()<10?"0"+n.getMinutes():n.getMinutes(),o=n.getSeconds()<10?"0"+n.getSeconds():n.getSeconds();return"".concat(n.getFullYear(),"-").concat(r,"-").concat(c," ").concat(a,":").concat(u,":").concat(o)},y=function(e){if(!e)return"";var n=new Date(e),t=n.getMonth()+1,c=n.getDate()<10?"0"+n.getDate():n.getDate(),r=t<10?"0"+t:t,a=n.getHours()<10?"0"+n.getHours():n.getHours(),u=n.getMinutes()<10?"0"+n.getMinutes():n.getMinutes(),o=n.getSeconds()<10?"0"+n.getSeconds():n.getSeconds();return"".concat(n.getFullYear(),".").concat(r,".").concat(c," ").concat(a,":").concat(u,":").concat(o)},x=function(e){if(!e)return"";var n=new Date(e),t=n.getMonth()+1,c=t<10?"0"+t:t;return"".concat(n.getFullYear(),"-").concat(c)},M=function(e){if(!e)return"";var n=new Date(e),t=n.getMonth()+1,c=n.getDate()<10?"0"+n.getDate():n.getDate(),r=t<10?"0"+t:t;return"".concat(n.getFullYear(),"-").concat(r,"-").concat(c)},S=function(e){if(!e)return"";var n=new Date(e),t=n.getHours()<10?"0"+n.getHours():n.getHours(),c=n.getMinutes()<10?"0"+n.getMinutes():n.getMinutes(),r=n.getSeconds()<10?"0"+n.getSeconds():n.getSeconds();return"".concat(t,":").concat(c,":").concat(r)},O=function(e){if(!e)return"";var n=new Date,t=new Date(Number(e)).getTime()-n.getTime();if(t<0)return"";var c=Math.floor(t/864e5),r=t%864e5,a=Math.floor(r/36e5),u=r%36e5,o=Math.floor(u/6e4);return"".concat(c,"天").concat(a,"小时").concat(o,"分")},D=function(e){return e?(e=e.toString(),e.substr(0,3)+"****"+e.substr(7,11)):""},j=function(e){return e?(e=e.toString(),"**"+e.substr(e.length-1,e.length)):""},A=function(e){return e?(e=e.toString(),e.length>6?e.substr(0,5)+"...":e):""},E=function(e){if(!e)return"00:00:00";var n=e/1e3,t=Math.floor(n/60/60/24),c=24*t+Math.floor(n/60/60)%24<10?"0"+(24*t+Math.floor(n/60/60)%24):24*t+Math.floor(n/60/60)%24,r=Math.floor(n/60)%60<10?"0"+Math.floor(n/60)%60:Math.floor(n/60)%60,a=Math.floor(n)%60<10?"0"+Math.floor(n)%60:Math.floor(n)%60;return"".concat(c,":").concat(r,":").concat(a)},T={dateFormat:v,formatTimeStamp:w,timeStampToYm:x,timeStampToYmd:M,timeStampToHms:S,formatTimeYmdHms:y,formatPhoneNum:D,formatName:j,timeStampSpace:O,formatTime:E,formatWord:A},P=(t("96cf"),t("1da1")),C=(t("5df3"),t("b775")),H=[],L=[],_={};function F(){var e=Object(C["a"])({url:"/hb-manage-web/list-staff-role-menu"}).then((function(e){L=N(e.result||[])})),n=Object(C["a"])({url:"/hb-manage-web/list-staff-role-opeation"}).then((function(e){_=R(e.result||[])}));return Promise.all([e,n])}function N(e){var n=[];return e.forEach((function(e){e.menuUrl&&n.push(e.menuUrl),Array.isArray(e.children)&&(n=n.concat(N(e.children)))})),n}function R(e){var n={};return e.forEach((function(e){n[e.menuCode]=!0})),n}function Y(e){var n=[];return e.forEach((function(e){Array.isArray(e.children)&&(n=n.concat(Y(e.children))),n.push(e.path)})),n}function $(e,n,t){var c=L.some((function(n){return n.indexOf("/#")>=0?n=="/#".concat(e.path):n==e.path}));if(c)return console.log("to.path",e.path),t();H.some((function(n){return n==e.path}))||0==L.length?t("/gic-error"):t(L[0])}function U(e){return!!_[e]}var q=function(e){var n=e.whiteRoute,t=e.router,c=e.routes,r=e.createApp;window.onload=Object(P["a"])(regeneratorRuntime.mark((function e(){var a;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(a=window.location.href,-1!=a.indexOf("/login")||-1!=a.indexOf("/gic-error")){e.next=4;break}return e.next=4,F();case 4:Array.isArray(n)&&(L=L.concat(n)),Array.isArray(c)&&(H=Y(c)),t.beforeEach($),"function"==typeof r&&r();case 8:case"end":return e.stop()}}),e)})))},B=t("f121");r.a.use(a["a"]),r.a.use(s.a),o.a.defaults.withCredentials=!0,r.a.prototype.axios=o.a,r.a.prototype.$itemPerm=U,r.a.prototype.$itemCode=B["a"],r.a.config.devtools=!1,r.a.config.productionTip=!1,Object.keys(T).forEach((function(e){r.a.filter(e,T[e])})),q({whiteRoute:["/login","/contactsList","/gic-error","/403","/404","/500"],router:k["a"],routes:g["a"],createApp:function(){new r.a({router:k["a"],render:function(e){return e(l)}}).$mount("#app")}})},"8bbf":function(e,n){e.exports=Vue},a18c:function(e,n,t){"use strict";var c=t("8c4f"),r=t("d046"),a=c["a"].prototype.push;c["a"].prototype.push=function(e){return a.call(this,e).catch((function(e){return e}))};var u=new c["a"]({routes:r["a"]});n["a"]=u},b775:function(e,n,t){"use strict";t.d(n,"a",(function(){return d}));var c=t("cebe"),r=t.n(c),a=t("4328"),u=t.n(a),o=t("5c96"),i=t("f121"),s=t("a18c");r.a.defaults.baseURL=i["c"],r.a.defaults.withCredentials=!0;var d=function(e,n){n=Object.assign({},n),e=Object.assign({},e);var t={url:"",params:"",data:"",method:"get",useFormData:!1,useIntercept:!0,headers:{}};switch(t=Object.assign(t,e),t.useFormData&&(n=u.a.stringify(n)),t.method.toLowerCase()){case"get":t.params=n;break;case"post":t.data=n;break;default:t.data=n;break}return new Promise((function(e,n){r()(t).then((function(c){var r=c.data;if(r.code!=i["b"])return t.useIntercept&&r.code!=i["d"]?(Object(o["Message"])({message:r.message||"未知错误",type:"warning"}),n(r)):void e(r);s["a"].push("/login")})).catch((function(e){var t=e.response||{},c=t.data||{};Object(o["Message"])({message:c.message||"未知错误",type:"warning"}),n(e)}))}))}},cebe:function(e,n){e.exports=axios},d046:function(e,n,t){"use strict";t.d(n,"a",(function(){return u}));var c=t("e2b2"),r=t.n(c),a=function(e){t.e("chunk-d7315c84").then(t.bind(null,"4cf1")).then((function(n){e(n)}))},u=[{path:"/",name:"/",redirect:"login"},{path:"/login",name:"登录",component:r()("login","index")},{path:"/index",name:"index",component:r()("index","index")},{path:"/contacts",name:"通讯录",redirect:"contactsList",component:r()("business","index"),children:[{path:"/contactsList",name:"通讯录",component:r()("business","contacts")},{path:"/syncLog",name:"通讯录日志",component:r()("business","sync-log")},{path:"/authMerchant",name:"授权商户",component:r()("business","auth-merchant")},{path:"/newAuthMerchant",name:"新增授权",component:r()("business","new-auth-merchant")},{path:"/auditLog",name:"审核日志",component:r()("business","audit-log")}]},{path:"/reviewCenter",name:"审核中心",redirect:"unreview",component:r()("review-center","index"),children:[{path:"/reviewed",name:"已审核",component:r()("review-center","reviewed")},{path:"/unreview",name:"未审核",component:r()("review-center","unreview")}]},{path:"/enterprise",name:"企业设置",redirect:"enterpriseSet",component:r()("enterprise","index"),children:[{path:"/enterpriseSet",name:"企业信息",component:r()("enterprise","enterprise-set")},{path:"/admin-list",name:"管理员",component:r()("enterprise","admin-list")},{path:"/edit-role",name:"新建、编辑角色",component:r()("enterprise","edit-role")},{path:"/edit-admin",name:"新建编辑管理员",component:r()("enterprise","edit-admin")},{path:"/store-admin-list",name:"门店角色",component:r()("enterprise","store-admin-list")},{path:"/edit-store-role",name:"编辑门店角色",component:r()("enterprise","edit-store-role")},{path:"/superAdmin",name:"超级管理员",component:r()("enterprise","super-admin")}]},{path:"/apps",name:"企业应用",redirect:"mycustomer",component:r()("apps","index"),children:[{path:"/my-customer",name:"我的顾客",redirect:"/data-dimension",component:r()("apps/customer-app","index"),children:[{path:"/data-dimension",name:"数据维度",component:r()("apps/customer-app","data-dimension")},{path:"/crowd-scene",name:"人群场景",component:r()("apps/customer-app","crowd-scene")},{path:"/customer-data-set",name:"顾客资料",component:r()("apps/customer-app","customer-data-set")},{path:"/clerk-tag",name:"导购标签",component:r()("apps/customer-app","clerk-tag")},{path:"/customer-assign",name:"顾客分配",component:r()("apps/customer-app","customer-assign")}]}]},{path:"/gic-error",name:"gic跳转失败页",component:r()("error-page","gic-error")},{path:"/403",name:"无权访问",component:a},{path:"/404",name:"error404",component:a},{path:"/500",name:"error500",component:a},{path:"*",redirect:"/404",hidden:!0}]},d31c:function(e,n,t){},e2b2:function(e,n,t){e.exports=function(e,n){return function(c){t("1a5d")("./"+e+"/"+n+".vue").then((function(e){c(e)}))}}},f121:function(e,n,t){"use strict";function c(){var e=window.location.origin;return(e.indexOf("localhost")>=0||e.indexOf("192.168")>=0)&&(e="https://four.gicdev.com"),e}t.d(n,"c",(function(){return r})),t.d(n,"d",(function(){return a})),t.d(n,"b",(function(){return u})),t.d(n,"a",(function(){return o}));var r=c(),a="0000",u="0003",o={batchAudit:"batchAudit"}}});
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-1c5a064d"],{"0fb7":function(t,e,a){"use strict";var i=a("67ae"),n=a.n(i);n.a},1005:function(t,e,a){"use strict";a.r(e);var i=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"unreview-wrap common-set-wrap"},[i("div",{staticClass:"right-content"},[i("div",{staticClass:"right-box",staticStyle:{"min-height":"calc(100vh - 86px)"}},[i("div",{staticClass:"reviewed-body-head flex flex-space-between"},[i("div",[i("el-input",{staticClass:"w-344",attrs:{maxlength:"50",placeholder:"请输入提交人姓名/账号/手机号","prefix-icon":"el-icon-search",clearable:""},on:{clear:t.clearSearch},nativeOn:{keyup:function(e){return function(e){return t.searchEnterFun(e,t.searchInput)}(e)}},model:{value:t.searchValue,callback:function(e){t.searchValue=e},expression:"searchValue"}}),i("el-select",{staticClass:"w-130 m-l-10",attrs:{placeholder:"全部事项"},on:{change:t.changeTableList},model:{value:t.auditType,callback:function(e){t.auditType=e},expression:"auditType"}},t._l(t.filterOptions,(function(t){return i("el-option",{key:t.value,attrs:{label:t.label,value:t.value}})})),1),i("el-select",{staticClass:"w-168 m-l-10",attrs:{placeholder:"全部品牌"},on:{change:t.changeTableList},model:{value:t.filterBrand,callback:function(e){t.filterBrand=e},expression:"filterBrand"}},[i("el-option",{attrs:{label:"全部品牌",value:""}}),t._l(t.brandOptions,(function(t){return i("el-option",{key:t.enterpriseId,attrs:{label:t.enterpriseName,value:t.enterpriseId}})}))],2)],1),i("dm-perm-button",{attrs:{disabled:t.$itemPerm(t.$itemCode.batchAudit),type:"primary"},on:{click:t.approveAll}},[t._v("批量同意")])],1),i("div",{staticClass:"reviewed-body-content"},[i("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],ref:"multipleTable",staticStyle:{width:"100%"},attrs:{data:t.tableData,"tooltip-effect":"dark"},on:{"selection-change":t.handleSelectionChange}},[i("el-table-column",{attrs:{type:"selection",width:"55"}}),i("el-table-column",{attrs:{label:"审核事项"},scopedSlots:t._u([{key:"default",fn:function(e){return[1==e.row.auditType?i("span",[t._v("导购账号绑定")]):t._e()]}}])}),i("el-table-column",{attrs:{label:"提交人","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[i("div",{staticClass:"flex"},[i("el-popover",{attrs:{placement:"top",width:"300",trigger:"hover"},on:{show:function(a){return t.showSingleInfo(e.row.submitStaffId)}}},[i("div",{staticClass:"apply-info-detail"},[i("div",{staticClass:"flex"},[i("div",{staticClass:"apply-info-img flex-align-center flex-pack-center bg-82c5ff "},[t.userData.headImg?i("img",{attrs:{src:t.userData.headImg,alt:"img"}}):i("img",{attrs:{src:a("6ce2"),alt:"img"}})]),i("div",{staticClass:"flex flex-column apply-info-right flex-pack-center"},[i("div",{staticClass:"apply-info-name"},[i("span",{staticClass:"font-14 color-303133"},[t._v(t._s(t.userData.staffName||"--"))]),i("span",{staticClass:"font-14 color-90939"},[t._v("( "+t._s(1==t.userData.sex?"男":2==t.userData.sex?"女":"--")+")")])])])]),i("div",{staticClass:"flex flex-space-between line-26 m-t-15"},[i("div",{staticClass:"font-14 color-606266"},[t._v("账号")]),i("div",{staticClass:"font-14 color-303133"},[t._v(t._s(t.userData.wxUserId||"--"))])]),i("div",{staticClass:"flex flex-space-between line-26"},[i("div",{staticClass:"font-14 color-606266"},[t._v("职务")]),i("div",{staticClass:"font-14 color-303133"},[t._v(t._s(t.userData.postion||"--"))])]),i("div",{staticClass:"flex flex-space-between line-26"},[i("div",{staticClass:"font-14 color-606266"},[t._v("手机号")]),i("div",{staticClass:"font-14 color-303133"},[t._v(t._s(t.userData.nationCode||"--")+"-"+t._s(t.userData.phoneNumber||"--"))])]),i("div",{staticClass:"flex flex-space-between line-26"},[i("div",{staticClass:"font-14 color-606266 w-m-100"},[t._v("部门")]),i("div",{staticClass:"font-14 color-303133"},[t._v(t._s(t.userData.departmentInfo.map((function(t){return t.departmentName})).join(";")||"--"))])])]),i("div",{attrs:{slot:"reference"},slot:"reference"},[i("div",{staticClass:"flex flex-align-center flex-pack-center bg-82c5ff table-head-pic cursor-pointer"},[e.row.submitHeadImg?i("img",{attrs:{src:e.row.submitHeadImg,alt:"img"}}):i("img",{attrs:{src:a("6ce2"),alt:"img"}})])])]),i("div",{staticClass:"flex flex-column apply-info hide-ellipsis"},[i("span",{staticClass:"font-14 color-606266 hide-ellipsis"},[t._v(t._s(e.row.submitStaffName||"--"))]),i("span",{staticClass:"font-12 color-909399 hide-ellipsis"},[t._v(t._s(e.row.submitWxUserId||"--"))])])],1)]}}])}),i("el-table-column",{attrs:{label:"详情","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(e.row.content||"--")+"\n ")]}}])}),i("el-table-column",{attrs:{label:"提交时间","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[i("div",{staticClass:"line-h-18"},[t._v(t._s(t._f("timeStampToYmd")(e.row.createTime)))]),i("div",{staticClass:"line-h-18"},[t._v(t._s(t._f("timeStampToHms")(e.row.createTime)))])]}}])}),i("el-table-column",{attrs:{label:"操作",width:"150"},scopedSlots:t._u([{key:"default",fn:function(e){return[i("el-button",{attrs:{type:"text"},on:{click:function(a){return t.handleClick(e.$index,e.row)}}},[t._v("同意")]),i("el-button",{attrs:{type:"text"},on:{click:function(a){return t.handleClick(e.$index,e.row,"refuse")}}},[t._v("拒绝")])]}}])})],1),0!=t.tableData.length?i("div",{staticClass:"block common-wrap__page text-right"},[i("dm-pagination",{attrs:{background:"","current-page":t.currentPage,"page-sizes":[20,40,60,80],"page-size":t.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:t.total},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}})],1):t._e()],1)])]),i("store-change",{attrs:{"store-change-data":t.storeChangeData},model:{value:t.showStoreDialog,callback:function(e){t.showStoreDialog=e},expression:"showStoreDialog"}}),i("el-dialog",{staticClass:"approve-dialog",attrs:{title:"",visible:t.approveVisible,width:"422px"},on:{"update:visible":function(e){t.approveVisible=e}}},[i("div",{staticClass:"approve-body text-center"},[i("div",[i("i",{staticClass:"el-icon-success"}),i("span",{staticClass:"approve-icon-tip"},[t._v("同意")])]),i("div",{staticClass:"approve-tip"},[t._v("是否确认同意")])]),i("div",{staticClass:"approve-footer dialog-footer",staticStyle:{"text-align":"center"},attrs:{slot:"footer"},slot:"footer"},[i("el-button",{on:{click:function(e){t.approveVisible=!1}}},[t._v("取 消")]),i("el-button",{attrs:{type:"primary"},on:{click:t.sendApprove}},[t._v("确 定")])],1)]),i("el-dialog",{staticClass:"refuse-dialog",attrs:{title:"提示",visible:t.refuseVisible,"before-close":t.cancelRefuse,width:"422px"},on:{"update:visible":function(e){t.refuseVisible=e}}},[i("div",[i("div",{staticClass:"refuse-tip"},[t._v("请输入拒绝理由")]),i("el-form",{ref:"ruleForm",staticClass:"demo-ruleForm",attrs:{model:t.ruleForm,rules:t.rules}},[i("el-form-item",{attrs:{label:"",prop:"refuseReason"}},[i("el-input",{staticClass:"font-14",attrs:{type:"textarea",placeholder:"最多 50 个字",rows:3},model:{value:t.ruleForm.refuseReason,callback:function(e){t.$set(t.ruleForm,"refuseReason",e)},expression:"ruleForm.refuseReason"}})],1)],1)],1),i("div",{staticClass:"approve-footer dialog-footer",attrs:{slot:"footer"},slot:"footer"},[i("el-button",{on:{click:function(e){return t.cancelRefuse("ruleForm")}}},[t._v("取 消")]),i("el-button",{attrs:{type:"primary"},on:{click:function(e){return t.sendRefuse("ruleForm")}}},[t._v("确 定")])],1)]),i("review-result-detail",{attrs:{"audit-ids":t.auditIds,"detail-show":t.detailShow},on:{hideDetailDialog:t.hideDetailDialog}}),i("el-dialog",{attrs:{title:"提示",visible:t.dialogVisible,width:"30%"},on:{"update:visible":function(e){t.dialogVisible=e}}},[i("span",[t._v("共"+t._s(t.multipleSelection.length)+"条审核事项,是否批量同意?")]),i("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[i("el-button",{on:{click:function(e){t.dialogVisible=!1}}},[t._v("取 消")]),i("el-button",{attrs:{type:"primary",loading:t.loadBtn},on:{click:function(e){t.postAllApprove(t.multipleSelection.map((function(t){return t.auditId})).join(","))}}},[t._v("确 定")])],1)])],1)},n=[],s=(a("28a5"),a("6300")),l=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{directives:[{name:"show",rawName:"v-show",value:t.customDialog,expression:"customDialog"}]},[a("el-dialog",{staticClass:"edit-dialog",attrs:{title:"审核详情",visible:t.customDialog,width:"600px","before-close":t.handleClose},on:{"update:visible":function(e){t.customDialog=e}}},[a("div",{staticClass:"edit-dialog-body"},[a("div",{staticClass:"font-14 color-606266 m-b-8"},[t._v("共 "+t._s(t.multLength||"")+" 条审核事项, "+t._s(t.success||"0")+" 条成功, "),a("span",{staticClass:"color-f5222d"},[t._v(t._s(t.fail||"0")+" ")]),t._v(" 条失败,失败详情如下:")]),a("el-table",{staticStyle:{width:"100%"},attrs:{data:t.tableData,height:"332"}},[a("el-table-column",{attrs:{prop:"publishRecordId",label:"审核事项","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[1==e.row.auditType?a("span",[t._v("导购账号绑定")]):t._e()]}}])}),a("el-table-column",{attrs:{label:"商户","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(e.row.enterpriseName||"--")+"\n ")]}}])}),a("el-table-column",{attrs:{label:"提交人","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(e.row.submitStaffName||"--")+"\n ")]}}])}),a("el-table-column",{attrs:{label:"提交时间",width:"120"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",{staticClass:"color-606266 line-18"},[t._v(t._s(t._f("timeStampToYmd")(e.row.createTime))+" "+t._s(e.row.createTime?"":"--"))]),a("div",{staticClass:"color-606266 line-18"},[t._v(t._s(t._f("timeStampToHms")(e.row.createTime))+" "+t._s(e.row.createTime?"":"--"))])]}}])}),a("el-table-column",{attrs:{label:"状态"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",{class:["span-dot",1==e.row.auditFlag?"bg-52c41a":"bg-f5222d"]}),1==e.row.auditFlag?a("span",[t._v("已同意")]):t._e()]}}])}),a("el-table-column",{attrs:{label:"结果"},scopedSlots:t._u([{key:"default",fn:function(e){return[2==e.row.statusFlag&&1==e.row.auditFlag?a("span",[t._v("成功")]):t._e(),2==e.row.auditFlag?a("span",[t._v("--")]):t._e(),1==e.row.statusFlag&&1==e.row.auditFlag?a("el-popover",{attrs:{placement:"top",width:"200",trigger:"hover",content:e.row.reason}},[a("span",{staticClass:"common-bottom-border",attrs:{slot:"reference"},slot:"reference"},[t._v("失败")])]):t._e()]}}])})],1)],1)])],1)},o=[],r=a("96b6"),c=r["a"].getAuditDetail,u={name:"ReviewResultDetail",props:{detailShow:{type:Boolean,default:!1},auditIds:{type:String,default:function(){return""}},tableListData:{type:Object,default:function(){return[]}}},data:function(){return{customDialog:!1,tableData:[],fail:"",success:""}},mounted:function(){var t=this;t.customDialog=t.detailShow,t.auditIds&&(t.multLength=t.auditIds.split(",").length,t.getTableData())},methods:{handleClose:function(t){var e=this;t(),e.hideDialog()},customCancel:function(){var t=this;t.hideDialog()},hideDialog:function(){var t=this;t.customDialog=!1,t.$emit("hideDetailDialog")},getTableData:function(){var t=this,e={auditIds:t.auditIds};c(e).then((function(e){console.log(e),t.tableData=e.result.resultList||[],t.fail=e.result.fail,t.success=e.result.success})).catch((function(t){}))}},watch:{detailShow:function(t,e){var a=this;a.customDialog=t},auditIds:function(t,e){var a=this;t&&(a.multLength=t.split(",").length,a.getTableData())}}},d=u,f=(a("0fb7"),a("2877")),p=Object(f["a"])(d,l,o,!1,null,"62237765",null),g=p.exports,m=a("5b4e6"),h=a("d157"),v=a("e230"),b=v["a"].getStaffDetail,w=r["a"].getReview,C=r["a"].getWxEnterprise,D=r["a"].postAudit,_=r["a"].postBatchApprove,y=r["a"].postRefuse,x=r["a"].getAuditDetail,S={name:"UnreviewPage",components:{storeChange:s["a"],reviewResultDetail:g},data:function(){return{wxEnterpriseId:localStorage.getItem("haoBanUser")?JSON.parse(localStorage.getItem("haoBanUser")).wxEnterpriseId:"",auditName:localStorage.getItem("haoBanUser")?JSON.parse(localStorage.getItem("haoBanUser")).staffName:"",auditType:"",filterBrand:"",brandOptions:[],searchValue:"",filterOptions:[{label:"全部事项",value:""},{label:"导购账号绑定",value:"1"}],loading:!1,tableData:[],multipleSelection:[],currentPage:1,pageSize:20,total:0,selectId:"",ruleForm:{refuseReason:""},rules:{refuseReason:[{required:!0,message:"拒绝理由不能为空",trigger:"change"},{min:1,max:50,message:"长度在 1 到 50 个字",trigger:"change"}]},showStoreDialog:!1,storeChangeData:{beforeContent:[],afterContent:[]},approveVisible:!1,refuseVisible:!1,detailShow:!1,resultShow:!1,tableListData:[],resultText:"",failCount:"0",userData:{staffName:"",phoneNumber:"",nationCode:"",postion:"",departmentInfo:[],headImg:"",wxUserId:"",sex:1},dialogVisible:!1,loadBtn:!1,timeFlag:null,loadingFull:""}},mounted:function(){var t=this;t.$emit("showTab","/unreview"),t.getTableList(),t.getBrandData()},beforeDestroy:function(){window.clearInterval(this.timeFlag),this.timeFlag=null},methods:{clearSearch:function(){var t=this;t.currentPage=1,t.getTableList()},changeTableList:function(){var t=this;t.currentPage=1,t.getTableList()},searchEnterFun:Object(h["a"])((function(t){var e=this,a=String(t.target.value).trim();if(!a)return!1;e.currentPage=1,e.getTableList()}),200),hideDetailDialog:function(){var t=this;t.detailShow=!1,t.currentPage=1,t.getTableList()},handleSelectionChange:function(t){var e=this;e.multipleSelection=t},handleSizeChange:function(t){var e=this;e.currentPage=1,e.pageSize=t,e.getTableList()},handleCurrentChange:function(t){var e=this;e.currentPage=t,e.getTableList()},handleClick:function(t,e,a){var i=this;if(i.selectId=e.auditId,a&&(i.refuseVisible=!0),a)return!1;i.$confirm("是否确认同意?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){i.sendApprove()})).catch((function(){i.selectId=""}))},sendApprove:Object(h["a"])((function(){var t=this;t.postApprove(t.selectId)}),500),postApprove:function(t){var e=this,a={auditId:t,auditName:e.auditName};D(a).then((function(t){"0000"==t.code?(m["a"].showmsg("操作成功","success"),e.approveVisible=!1,e.currentPage=1,e.getTableList(),e.$forceUpdate()):(e.currentPage=1,e.getTableList(),e.$message({message:t.message||"接口异常",type:"warning"}))})).catch((function(t){}))},approveAll:function(){var t=this,e=t.multipleSelection.length?t.multipleSelection.map((function(t){return t.auditId})).join(","):"";if(!e)return t.$message({message:"请至少选择一条审核事项",type:"warning"}),!1;t.dialogVisible=!0},postAllApprove:function(t){var e=this;e.loadBtn=!0;var a={auditIds:t,auditName:e.auditName};_(a).then((function(t){e.loadBtn=!1,"0000"==t.code?(e.dialogVisible=!1,e.$nextTick((function(){e.loadingFull=e.$loading({lock:!0,text:"数据处理中,请耐心等待",spinner:"el-icon-loading",background:"rgba(0, 0, 0, 0.7)"}),window.clearInterval(e.timeFlag),e.timeFlag=null,e.timeFlag=window.setInterval((function(){e.getDetailFlag()}),3e3),e.$once("hook:beforeDestroy",(function(){window.clearInterval(e.timeFlag),e.timeFlag=null}))}))):e.$message({message:t.message||"接口异常",type:"warning"})})).catch((function(t){e.loadBtn=!1}))},getDetailFlag:function(){var t=this,e={auditIds:t.multipleSelection.map((function(t){return t.auditId})).join(",")||""};x(e).then((function(e){e.result.auditResult?(t.auditIds=t.multipleSelection.map((function(t){return t.auditId})).join(","),t.loadingFull.close(),window.clearInterval(t.timeFlag),t.timeFlag=null,t.detailShow=!0,t.currentPage=1,t.getTableList()):t.detailShow=!1})).catch((function(t){}))},cancelRefuse:function(t){var e=this;e.refuseVisible=!1,e.$refs["ruleForm"].resetFields()},sendRefuse:Object(h["a"])((function(t){var e=this;e.$refs[t].validate((function(t){if(!t)return!1;e.postRefuseData()}))}),500),postRefuseData:function(){var t=this,e={auditName:t.auditName,auditId:t.selectId,reason:Object(h["c"])(t.ruleForm.refuseReason)};y(e).then((function(e){"0000"==e.code?(m["a"].showmsg("操作成功","success"),t.refuseVisible=!1,t.$refs["ruleForm"].resetFields(),t.currentPage=1,t.getTableList()):(t.$message({message:e.message||"接口异常",type:"warning"}),t.currentPage=1,t.getTableList())})).catch((function(e){t.$message.error({duration:1e3,message:e.message})}))},showSingleInfo:function(t){var e=this,a={staffId:t};b(a).then((function(t){e.userData=t.result||{staffName:"",phoneNumber:"",nationCode:"",postion:"",departmentInfo:[],headImg:"",wxUserId:"",sex:1}})).catch((function(t){}))},showStoreChange:function(t){var e=this;e.storeChangeData={beforeContent:[],afterContent:[]},e.showStoreDialog=!0,e.storeChangeData={beforeContent:""!=t.oldValue?t.oldValue.split(","):[],afterContent:""!=t.newValue?t.newValue.split(","):[]}},getBrandData:function(){var t=this;C({wxEnterpriseId:t.wxEnterpriseId}).then((function(e){t.brandOptions=e.result||[]})).catch((function(t){}))},getTableList:function(){var t=this;t.loading=!0;var e={wxEnterpriseId:t.wxEnterpriseId,auditType:t.auditType,searchType:"0",search:t.searchValue,pageNum:t.currentPage,pageSize:t.pageSize,enterpriseId:t.filterBrand};w(e).then((function(e){t.loading=!1,t.tableData=e.result.result||[],t.total=e.result.totalCount})).catch((function(e){t.loading=!1}))}}},F=S,I=(a("c686"),Object(f["a"])(F,i,n,!1,null,"169957e5",null));e["default"]=I.exports},"5b4e6":function(t,e,a){"use strict";var i=a("5c96");e["a"]={showmsg:function(t,e){Object(i["Message"])({duration:1e3,message:t||"接口异常",type:e})}}},6300:function(t,e,a){"use strict";var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"custom-dialog-wrap"},[a("el-dialog",{attrs:{title:"门店图片变更",visible:t.customDialog,width:"600px","before-close":t.handleCardClose},on:{"update:visible":function(e){t.customDialog=e}}},[a("div",{staticClass:"dialog-content"},[a("el-row",[a("el-col",{attrs:{span:11}},[a("div",{staticClass:"grid-content bg-purple-dark"},[t._v("\n 变更前\n ")]),a("div",{staticClass:"data-body"},[a("div",{staticClass:"data-body-content flex flex-column"},[t._l(t.leftData,(function(t,e){return[a("img",{key:"img"+e,attrs:{src:t,alt:""}})]}))],2)])]),a("el-col",{attrs:{span:11}},[a("div",{staticClass:"grid-content bg-purple-dark"},[t._v("\n 变更后\n ")]),a("div",{staticClass:"data-body"},[a("div",{staticClass:"data-body-content flex flex-column"},[t._l(t.rightData,(function(t,e){return[a("img",{key:"img0"+e,attrs:{src:t,alt:""}})]}))],2)])])],1)],1)])],1)},n=[],s={name:"StoreChangeDialog",props:{value:{type:Boolean,default:!1},storeChangeData:{type:[Object,Array]}},data:function(){return{repProjectName:"haoban-web",customDialog:this.value,leftData:[],rightData:[]}},mounted:function(){var t=this;t.leftData=t.storeChangeData.beforeContent,t.rightData=t.storeChangeData.afterContent},methods:{handleCardClose:function(){var t=this;t.customCancel()},customCancel:function(){var t=this;t.customDialog=!1,t.$emit("input",t.customDialog)}},watch:{value:function(t,e){var a=this;a.customDialog=t},storeChangeData:function(t,e){var a=this;a.leftData=t.beforeContent,a.rightData=t.afterContent}}},l=s,o=(a("8709"),a("2877")),r=Object(o["a"])(l,i,n,!1,null,"bce7ed18",null);e["a"]=r.exports},"67ae":function(t,e,a){},"6ce2":function(t,e,a){t.exports=a.p+"img/member.1eda5d6c.png"},"71f6":function(t,e,a){"use strict";a.d(e,"a",(function(){return n}));a("ac6a"),a("456d");var i=a("b775");function n(t,e){t=t||{};var a=Object.keys(t);return a.forEach((function(a){var n=t[a];"string"===typeof n&&(n={url:n}),n.url="".concat(e).concat(n.url),t[a]=function(t){return Object(i["a"])(n,t)}})),t}},7842:function(t,e,a){},8709:function(t,e,a){"use strict";var i=a("7842"),n=a.n(i);n.a},"96b6":function(t,e,a){"use strict";var i=a("71f6"),n={getReview:"/audit/audit-list",getWxEnterprise:"/auth-enterprise-list",getStaffInfo:"/get-staff-info",postAudit:{url:"/audit/agree",method:"post",useFormData:!0,useIntercept:!1},postBatchApprove:{url:"/audit/batch-agree",method:"post",useFormData:!0,useIntercept:!1},postRefuse:{url:"/audit/refuse",method:"post",useFormData:!0,useIntercept:!1},getAuditDetail:"/audit/batch-log-list"};n=Object(i["a"])(n,"/hb-manage-web"),e["a"]=n},a605:function(t,e,a){},c686:function(t,e,a){"use strict";var i=a("a605"),n=a.n(i);n.a},d157:function(t,e,a){"use strict";a.d(e,"a",(function(){return i})),a.d(e,"b",(function(){return n})),a.d(e,"c",(function(){return s}));a("c5f6"),a("a481"),a("28a5"),a("6b54");function i(t,e){var a,i=e||200;return function(){var e=this,n=arguments;a&&clearTimeout(a),a=setTimeout((function(){a=null,t.apply(e,n)}),i)}}function n(t,e){var a,i,n=e||200;return function(){var e=this,s=arguments,l=+new Date;a&&l-a<n?(clearTimeout(i),i=setTimeout((function(){a=l,t.apply(e,s)}),n)):(a=l,t.apply(e,s))}}function s(t){return t=t.replace(/\uD83C[\uDF00-\uDFFF]|\uD83D[\uDC00-\uDE4F]|[\uD800-\uDBFF]|[\uDC00-\uDFFF]|[^\u0020-\u007E\u00A0-\u00BE\u2E80-\uA4CF\uF900-\uFAFF\uFE30-\uFE4F\uFF00-\uFFEF\u0080-\u009F\u2000-\u201f\u2026\u2022\u20ac\r\n]/g,""),unescape(escape(t).replace(/\%uD.{3}/g,""))}},e230:function(t,e,a){"use strict";var i=a("71f6"),n={getSyncCheck:"/sync/sync-check",refreshWx:"/sync/sync-contact",getDepartmentList:"/department-list-level",getCompanyDepartList:"/contact/get-department-list",getStaffList:"/contact/get-staff-list",getStaffDetail:"/contact/staff-detail",getStaffRelation:"/bind/staff-clerk-relation",delStaffRelation:{url:"/bind/staff-unbind",method:"post",useFormData:!0,useIntercept:!1},addStaffRelation:{url:"/bind/staff-bind",method:"post",useFormData:!0,useIntercept:!1},getClerkRelation:"/bind/search-clerk-list",getWxEnterprise:"/auth-enterprise-list",getBindLog:"/bind/bind-log-list",getRefreshLog:"/sync/sync-task",getSyncFailDetail:"/sync-task-detail",getNationCode:"/nationcode/get-nationcode-list",getGicGroup:"/gic-department-list",getGicStore:"/get-store-list"};n=Object(i["a"])(n,"/hb-manage-web"),e["a"]=n}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-1c5a064d"],{"0fb7":function(t,e,a){"use strict";var i=a("67ae"),n=a.n(i);n.a},1005:function(t,e,a){"use strict";a.r(e);var i=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"unreview-wrap common-set-wrap"},[i("div",{staticClass:"right-content"},[i("div",{staticClass:"right-box",staticStyle:{"min-height":"calc(100vh - 86px)"}},[i("div",{staticClass:"reviewed-body-head flex flex-space-between"},[i("div",[i("el-input",{staticClass:"w-344",attrs:{maxlength:"50",placeholder:"请输入提交人姓名/账号/手机号","prefix-icon":"el-icon-search",clearable:""},on:{clear:t.clearSearch},nativeOn:{keyup:function(e){return function(e){return t.searchEnterFun(e,t.searchInput)}(e)}},model:{value:t.searchValue,callback:function(e){t.searchValue=e},expression:"searchValue"}}),i("el-select",{staticClass:"w-130 m-l-10",attrs:{placeholder:"全部事项"},on:{change:t.changeTableList},model:{value:t.auditType,callback:function(e){t.auditType=e},expression:"auditType"}},t._l(t.filterOptions,(function(t){return i("el-option",{key:t.value,attrs:{label:t.label,value:t.value}})})),1),i("el-select",{staticClass:"w-168 m-l-10",attrs:{placeholder:"全部品牌"},on:{change:t.changeTableList},model:{value:t.filterBrand,callback:function(e){t.filterBrand=e},expression:"filterBrand"}},[i("el-option",{attrs:{label:"全部品牌",value:""}}),t._l(t.brandOptions,(function(t){return i("el-option",{key:t.enterpriseId,attrs:{label:t.enterpriseName,value:t.enterpriseId}})}))],2)],1),i("dm-perm-button",{attrs:{disabled:t.$itemPerm(t.$itemCode.batchAudit),type:"primary"},on:{click:t.approveAll}},[t._v("批量同意")])],1),i("div",{staticClass:"reviewed-body-content"},[i("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],ref:"multipleTable",staticStyle:{width:"100%"},attrs:{data:t.tableData,"tooltip-effect":"dark"},on:{"selection-change":t.handleSelectionChange}},[i("el-table-column",{attrs:{type:"selection",width:"55"}}),i("el-table-column",{attrs:{label:"审核事项"},scopedSlots:t._u([{key:"default",fn:function(e){return[1==e.row.auditType?i("span",[t._v("导购账号绑定")]):t._e()]}}])}),i("el-table-column",{attrs:{label:"提交人","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[i("div",{staticClass:"flex"},[i("el-popover",{attrs:{placement:"top",width:"300",trigger:"hover"},on:{show:function(a){return t.showSingleInfo(e.row.submitStaffId)}}},[i("div",{staticClass:"apply-info-detail"},[i("div",{staticClass:"flex"},[i("div",{staticClass:"apply-info-img flex-align-center flex-pack-center bg-82c5ff "},[t.userData.headImg?i("img",{attrs:{src:t.userData.headImg,alt:"img"}}):i("img",{attrs:{src:a("6ce2"),alt:"img"}})]),i("div",{staticClass:"flex flex-column apply-info-right flex-pack-center"},[i("div",{staticClass:"apply-info-name"},[i("span",{staticClass:"font-14 color-303133"},[t._v(t._s(t.userData.staffName||"--"))]),i("span",{staticClass:"font-14 color-90939"},[t._v("( "+t._s(1==t.userData.sex?"男":2==t.userData.sex?"女":"--")+")")])])])]),i("div",{staticClass:"flex flex-space-between line-26 m-t-15"},[i("div",{staticClass:"font-14 color-606266"},[t._v("账号")]),i("div",{staticClass:"font-14 color-303133"},[t._v(t._s(t.userData.wxUserId||"--"))])]),i("div",{staticClass:"flex flex-space-between line-26"},[i("div",{staticClass:"font-14 color-606266"},[t._v("职务")]),i("div",{staticClass:"font-14 color-303133"},[t._v(t._s(t.userData.postion||"--"))])]),i("div",{staticClass:"flex flex-space-between line-26"},[i("div",{staticClass:"font-14 color-606266"},[t._v("手机号")]),i("div",{staticClass:"font-14 color-303133"},[t._v(t._s(t.userData.nationCode||"--")+"-"+t._s(t.userData.phoneNumber||"--"))])]),i("div",{staticClass:"flex flex-space-between line-26"},[i("div",{staticClass:"font-14 color-606266 w-m-100"},[t._v("部门")]),i("div",{staticClass:"font-14 color-303133"},[t._v(t._s(t.userData.departmentInfo.map((function(t){return t.departmentName})).join(";")||"--"))])])]),i("div",{attrs:{slot:"reference"},slot:"reference"},[i("div",{staticClass:"flex flex-align-center flex-pack-center bg-82c5ff table-head-pic cursor-pointer"},[e.row.submitHeadImg?i("img",{attrs:{src:e.row.submitHeadImg,alt:"img"}}):i("img",{attrs:{src:a("6ce2"),alt:"img"}})])])]),i("div",{staticClass:"flex flex-column apply-info hide-ellipsis"},[i("span",{staticClass:"font-14 color-606266 hide-ellipsis"},[t._v(t._s(e.row.submitStaffName||"--"))]),i("span",{staticClass:"font-12 color-909399 hide-ellipsis"},[t._v(t._s(e.row.submitWxUserId||"--"))])])],1)]}}])}),i("el-table-column",{attrs:{label:"详情","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(e.row.content||"--")+"\n ")]}}])}),i("el-table-column",{attrs:{label:"提交时间","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[i("div",{staticClass:"line-h-18"},[t._v(t._s(t._f("timeStampToYmd")(e.row.createTime)))]),i("div",{staticClass:"line-h-18"},[t._v(t._s(t._f("timeStampToHms")(e.row.createTime)))])]}}])}),i("el-table-column",{attrs:{label:"操作",width:"150"},scopedSlots:t._u([{key:"default",fn:function(e){return[i("el-button",{attrs:{type:"text"},on:{click:function(a){return t.handleClick(e.$index,e.row)}}},[t._v("同意")]),i("el-button",{attrs:{type:"text"},on:{click:function(a){return t.handleClick(e.$index,e.row,"refuse")}}},[t._v("拒绝")])]}}])})],1),0!=t.tableData.length?i("div",{staticClass:"block common-wrap__page text-right"},[i("dm-pagination",{attrs:{background:"","current-page":t.currentPage,"page-sizes":[20,40,60,80],"page-size":t.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:t.total},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}})],1):t._e()],1)])]),i("store-change",{attrs:{"store-change-data":t.storeChangeData},model:{value:t.showStoreDialog,callback:function(e){t.showStoreDialog=e},expression:"showStoreDialog"}}),i("el-dialog",{staticClass:"approve-dialog",attrs:{title:"",visible:t.approveVisible,width:"422px"},on:{"update:visible":function(e){t.approveVisible=e}}},[i("div",{staticClass:"approve-body text-center"},[i("div",[i("i",{staticClass:"el-icon-success"}),i("span",{staticClass:"approve-icon-tip"},[t._v("同意")])]),i("div",{staticClass:"approve-tip"},[t._v("是否确认同意")])]),i("div",{staticClass:"approve-footer dialog-footer",staticStyle:{"text-align":"center"},attrs:{slot:"footer"},slot:"footer"},[i("el-button",{on:{click:function(e){t.approveVisible=!1}}},[t._v("取 消")]),i("el-button",{attrs:{type:"primary"},on:{click:t.sendApprove}},[t._v("确 定")])],1)]),i("el-dialog",{staticClass:"refuse-dialog",attrs:{title:"提示",visible:t.refuseVisible,"before-close":t.cancelRefuse,width:"422px"},on:{"update:visible":function(e){t.refuseVisible=e}}},[i("div",[i("div",{staticClass:"refuse-tip"},[t._v("请输入拒绝理由")]),i("el-form",{ref:"ruleForm",staticClass:"demo-ruleForm",attrs:{model:t.ruleForm,rules:t.rules}},[i("el-form-item",{attrs:{label:"",prop:"refuseReason"}},[i("el-input",{staticClass:"font-14",attrs:{type:"textarea",placeholder:"最多 50 个字",rows:3},model:{value:t.ruleForm.refuseReason,callback:function(e){t.$set(t.ruleForm,"refuseReason",e)},expression:"ruleForm.refuseReason"}})],1)],1)],1),i("div",{staticClass:"approve-footer dialog-footer",attrs:{slot:"footer"},slot:"footer"},[i("el-button",{on:{click:function(e){return t.cancelRefuse("ruleForm")}}},[t._v("取 消")]),i("el-button",{attrs:{type:"primary"},on:{click:function(e){return t.sendRefuse("ruleForm")}}},[t._v("确 定")])],1)]),i("review-result-detail",{attrs:{"audit-ids":t.auditIds,"detail-show":t.detailShow},on:{hideDetailDialog:t.hideDetailDialog}}),i("el-dialog",{attrs:{title:"提示",visible:t.dialogVisible,width:"30%"},on:{"update:visible":function(e){t.dialogVisible=e}}},[i("span",[t._v("共"+t._s(t.multipleSelection.length)+"条审核事项,是否批量同意?")]),i("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[i("el-button",{on:{click:function(e){t.dialogVisible=!1}}},[t._v("取 消")]),i("el-button",{attrs:{type:"primary",loading:t.loadBtn},on:{click:function(e){t.postAllApprove(t.multipleSelection.map((function(t){return t.auditId})).join(","))}}},[t._v("确 定")])],1)])],1)},n=[],s=(a("28a5"),a("6300")),l=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{directives:[{name:"show",rawName:"v-show",value:t.customDialog,expression:"customDialog"}]},[a("el-dialog",{staticClass:"edit-dialog",attrs:{title:"审核详情",visible:t.customDialog,width:"600px","before-close":t.handleClose},on:{"update:visible":function(e){t.customDialog=e}}},[a("div",{staticClass:"edit-dialog-body"},[a("div",{staticClass:"font-14 color-606266 m-b-8"},[t._v("共 "+t._s(t.multLength||"")+" 条审核事项, "+t._s(t.success||"0")+" 条成功, "),a("span",{staticClass:"color-f5222d"},[t._v(t._s(t.fail||"0")+" ")]),t._v(" 条失败,失败详情如下:")]),a("el-table",{staticStyle:{width:"100%"},attrs:{data:t.tableData,height:"332"}},[a("el-table-column",{attrs:{prop:"publishRecordId",label:"审核事项","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[1==e.row.auditType?a("span",[t._v("导购账号绑定")]):t._e()]}}])}),a("el-table-column",{attrs:{label:"商户","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(e.row.enterpriseName||"--")+"\n ")]}}])}),a("el-table-column",{attrs:{label:"提交人","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(e.row.submitStaffName||"--")+"\n ")]}}])}),a("el-table-column",{attrs:{label:"提交时间",width:"120"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",{staticClass:"color-606266 line-18"},[t._v(t._s(t._f("timeStampToYmd")(e.row.createTime))+" "+t._s(e.row.createTime?"":"--"))]),a("div",{staticClass:"color-606266 line-18"},[t._v(t._s(t._f("timeStampToHms")(e.row.createTime))+" "+t._s(e.row.createTime?"":"--"))])]}}])}),a("el-table-column",{attrs:{label:"状态"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",{class:["span-dot",1==e.row.auditFlag?"bg-52c41a":"bg-f5222d"]}),1==e.row.auditFlag?a("span",[t._v("已同意")]):t._e()]}}])}),a("el-table-column",{attrs:{label:"结果"},scopedSlots:t._u([{key:"default",fn:function(e){return[2==e.row.statusFlag&&1==e.row.auditFlag?a("span",[t._v("成功")]):t._e(),2==e.row.auditFlag?a("span",[t._v("--")]):t._e(),1==e.row.statusFlag&&1==e.row.auditFlag?a("el-popover",{attrs:{placement:"top",width:"200",trigger:"hover",content:e.row.reason}},[a("span",{staticClass:"common-bottom-border",attrs:{slot:"reference"},slot:"reference"},[t._v("失败")])]):t._e()]}}])})],1)],1)])],1)},o=[],r=a("96b6"),c=r["a"].getAuditDetail,u={name:"ReviewResultDetail",props:{detailShow:{type:Boolean,default:!1},auditIds:{type:String,default:function(){return""}},tableListData:{type:Object,default:function(){return[]}}},data:function(){return{customDialog:!1,tableData:[],fail:"",success:""}},mounted:function(){var t=this;t.customDialog=t.detailShow,t.auditIds&&(t.multLength=t.auditIds.split(",").length,t.getTableData())},methods:{handleClose:function(t){var e=this;t(),e.hideDialog()},customCancel:function(){var t=this;t.hideDialog()},hideDialog:function(){var t=this;t.customDialog=!1,t.$emit("hideDetailDialog")},getTableData:function(){var t=this,e={auditIds:t.auditIds};c(e).then((function(e){t.tableData=e.result.resultList||[],t.fail=e.result.fail,t.success=e.result.success})).catch((function(t){}))}},watch:{detailShow:function(t,e){var a=this;a.customDialog=t},auditIds:function(t,e){var a=this;t&&(a.multLength=t.split(",").length,a.getTableData())}}},d=u,f=(a("0fb7"),a("2877")),p=Object(f["a"])(d,l,o,!1,null,"62237765",null),g=p.exports,m=a("5b4e6"),h=a("d157"),v=a("e230"),b=v["a"].getStaffDetail,w=r["a"].getReview,C=r["a"].getWxEnterprise,D=r["a"].postAudit,_=r["a"].postBatchApprove,y=r["a"].postRefuse,x=r["a"].getAuditDetail,S={name:"UnreviewPage",components:{storeChange:s["a"],reviewResultDetail:g},data:function(){return{wxEnterpriseId:localStorage.getItem("haoBanUser")?JSON.parse(localStorage.getItem("haoBanUser")).wxEnterpriseId:"",auditName:localStorage.getItem("haoBanUser")?JSON.parse(localStorage.getItem("haoBanUser")).staffName:"",auditType:"",filterBrand:"",brandOptions:[],searchValue:"",filterOptions:[{label:"全部事项",value:""},{label:"导购账号绑定",value:"1"}],loading:!1,tableData:[],multipleSelection:[],currentPage:1,pageSize:20,total:0,selectId:"",ruleForm:{refuseReason:""},rules:{refuseReason:[{required:!0,message:"拒绝理由不能为空",trigger:"change"},{min:1,max:50,message:"长度在 1 到 50 个字",trigger:"change"}]},showStoreDialog:!1,storeChangeData:{beforeContent:[],afterContent:[]},approveVisible:!1,refuseVisible:!1,detailShow:!1,resultShow:!1,tableListData:[],resultText:"",failCount:"0",userData:{staffName:"",phoneNumber:"",nationCode:"",postion:"",departmentInfo:[],headImg:"",wxUserId:"",sex:1},dialogVisible:!1,loadBtn:!1,timeFlag:null,loadingFull:""}},mounted:function(){var t=this;t.$emit("showTab","/unreview"),t.getTableList(),t.getBrandData()},beforeDestroy:function(){window.clearInterval(this.timeFlag),this.timeFlag=null},methods:{clearSearch:function(){var t=this;t.currentPage=1,t.getTableList()},changeTableList:function(){var t=this;t.currentPage=1,t.getTableList()},searchEnterFun:Object(h["a"])((function(t){var e=this,a=String(t.target.value).trim();if(!a)return!1;e.currentPage=1,e.getTableList()}),200),hideDetailDialog:function(){var t=this;t.detailShow=!1,t.currentPage=1,t.getTableList()},handleSelectionChange:function(t){var e=this;e.multipleSelection=t},handleSizeChange:function(t){var e=this;e.currentPage=1,e.pageSize=t,e.getTableList()},handleCurrentChange:function(t){var e=this;e.currentPage=t,e.getTableList()},handleClick:function(t,e,a){var i=this;if(i.selectId=e.auditId,a&&(i.refuseVisible=!0),a)return!1;i.$confirm("是否确认同意?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){i.sendApprove()})).catch((function(){i.selectId=""}))},sendApprove:Object(h["a"])((function(){var t=this;t.postApprove(t.selectId)}),500),postApprove:function(t){var e=this,a={auditId:t,auditName:e.auditName};D(a).then((function(t){"0000"==t.code?(m["a"].showmsg("操作成功","success"),e.approveVisible=!1,e.currentPage=1,e.getTableList(),e.$forceUpdate()):(e.currentPage=1,e.getTableList(),e.$message({message:t.message||"接口异常",type:"warning"}))})).catch((function(t){}))},approveAll:function(){var t=this,e=t.multipleSelection.length?t.multipleSelection.map((function(t){return t.auditId})).join(","):"";if(!e)return t.$message({message:"请至少选择一条审核事项",type:"warning"}),!1;t.dialogVisible=!0},postAllApprove:function(t){var e=this;e.loadBtn=!0;var a={auditIds:t,auditName:e.auditName};_(a).then((function(t){e.loadBtn=!1,"0000"==t.code?(e.dialogVisible=!1,e.$nextTick((function(){e.loadingFull=e.$loading({lock:!0,text:"数据处理中,请耐心等待",spinner:"el-icon-loading",background:"rgba(0, 0, 0, 0.7)"}),window.clearInterval(e.timeFlag),e.timeFlag=null,e.timeFlag=window.setInterval((function(){e.getDetailFlag()}),3e3),e.$once("hook:beforeDestroy",(function(){window.clearInterval(e.timeFlag),e.timeFlag=null}))}))):e.$message({message:t.message||"接口异常",type:"warning"})})).catch((function(t){e.loadBtn=!1}))},getDetailFlag:function(){var t=this,e={auditIds:t.multipleSelection.map((function(t){return t.auditId})).join(",")||""};x(e).then((function(e){e.result.auditResult?(t.auditIds=t.multipleSelection.map((function(t){return t.auditId})).join(","),t.loadingFull.close(),window.clearInterval(t.timeFlag),t.timeFlag=null,t.detailShow=!0,t.currentPage=1,t.getTableList()):t.detailShow=!1})).catch((function(t){}))},cancelRefuse:function(t){var e=this;e.refuseVisible=!1,e.$refs["ruleForm"].resetFields()},sendRefuse:Object(h["a"])((function(t){var e=this;e.$refs[t].validate((function(t){if(!t)return!1;e.postRefuseData()}))}),500),postRefuseData:function(){var t=this,e={auditName:t.auditName,auditId:t.selectId,reason:Object(h["c"])(t.ruleForm.refuseReason)};y(e).then((function(e){"0000"==e.code?(m["a"].showmsg("操作成功","success"),t.refuseVisible=!1,t.$refs["ruleForm"].resetFields(),t.currentPage=1,t.getTableList()):(t.$message({message:e.message||"接口异常",type:"warning"}),t.currentPage=1,t.getTableList())})).catch((function(e){t.$message.error({duration:1e3,message:e.message})}))},showSingleInfo:function(t){var e=this,a={staffId:t};b(a).then((function(t){e.userData=t.result||{staffName:"",phoneNumber:"",nationCode:"",postion:"",departmentInfo:[],headImg:"",wxUserId:"",sex:1}})).catch((function(t){}))},showStoreChange:function(t){var e=this;e.storeChangeData={beforeContent:[],afterContent:[]},e.showStoreDialog=!0,e.storeChangeData={beforeContent:""!=t.oldValue?t.oldValue.split(","):[],afterContent:""!=t.newValue?t.newValue.split(","):[]}},getBrandData:function(){var t=this;C({wxEnterpriseId:t.wxEnterpriseId}).then((function(e){t.brandOptions=e.result||[]})).catch((function(t){}))},getTableList:function(){var t=this;t.loading=!0;var e={wxEnterpriseId:t.wxEnterpriseId,auditType:t.auditType,searchType:"0",search:t.searchValue,pageNum:t.currentPage,pageSize:t.pageSize,enterpriseId:t.filterBrand};w(e).then((function(e){t.loading=!1,t.tableData=e.result.result||[],t.total=e.result.totalCount})).catch((function(e){t.loading=!1}))}}},F=S,I=(a("c686"),Object(f["a"])(F,i,n,!1,null,"169957e5",null));e["default"]=I.exports},"5b4e6":function(t,e,a){"use strict";var i=a("5c96");e["a"]={showmsg:function(t,e){Object(i["Message"])({duration:1e3,message:t||"接口异常",type:e})}}},6300:function(t,e,a){"use strict";var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"custom-dialog-wrap"},[a("el-dialog",{attrs:{title:"门店图片变更",visible:t.customDialog,width:"600px","before-close":t.handleCardClose},on:{"update:visible":function(e){t.customDialog=e}}},[a("div",{staticClass:"dialog-content"},[a("el-row",[a("el-col",{attrs:{span:11}},[a("div",{staticClass:"grid-content bg-purple-dark"},[t._v("\n 变更前\n ")]),a("div",{staticClass:"data-body"},[a("div",{staticClass:"data-body-content flex flex-column"},[t._l(t.leftData,(function(t,e){return[a("img",{key:"img"+e,attrs:{src:t,alt:""}})]}))],2)])]),a("el-col",{attrs:{span:11}},[a("div",{staticClass:"grid-content bg-purple-dark"},[t._v("\n 变更后\n ")]),a("div",{staticClass:"data-body"},[a("div",{staticClass:"data-body-content flex flex-column"},[t._l(t.rightData,(function(t,e){return[a("img",{key:"img0"+e,attrs:{src:t,alt:""}})]}))],2)])])],1)],1)])],1)},n=[],s={name:"StoreChangeDialog",props:{value:{type:Boolean,default:!1},storeChangeData:{type:[Object,Array]}},data:function(){return{repProjectName:"haoban-web",customDialog:this.value,leftData:[],rightData:[]}},mounted:function(){var t=this;t.leftData=t.storeChangeData.beforeContent,t.rightData=t.storeChangeData.afterContent},methods:{handleCardClose:function(){var t=this;t.customCancel()},customCancel:function(){var t=this;t.customDialog=!1,t.$emit("input",t.customDialog)}},watch:{value:function(t,e){var a=this;a.customDialog=t},storeChangeData:function(t,e){var a=this;a.leftData=t.beforeContent,a.rightData=t.afterContent}}},l=s,o=(a("8709"),a("2877")),r=Object(o["a"])(l,i,n,!1,null,"bce7ed18",null);e["a"]=r.exports},"67ae":function(t,e,a){},"6ce2":function(t,e,a){t.exports=a.p+"img/member.1eda5d6c.png"},"71f6":function(t,e,a){"use strict";a.d(e,"a",(function(){return n}));a("ac6a"),a("456d");var i=a("b775");function n(t,e){t=t||{};var a=Object.keys(t);return a.forEach((function(a){var n=t[a];"string"===typeof n&&(n={url:n}),n.url="".concat(e).concat(n.url),t[a]=function(t){return Object(i["a"])(n,t)}})),t}},7842:function(t,e,a){},8709:function(t,e,a){"use strict";var i=a("7842"),n=a.n(i);n.a},"96b6":function(t,e,a){"use strict";var i=a("71f6"),n={getReview:"/audit/audit-list",getWxEnterprise:"/auth-enterprise-list",getStaffInfo:"/get-staff-info",postAudit:{url:"/audit/agree",method:"post",useFormData:!0,useIntercept:!1},postBatchApprove:{url:"/audit/batch-agree",method:"post",useFormData:!0,useIntercept:!1},postRefuse:{url:"/audit/refuse",method:"post",useFormData:!0,useIntercept:!1},getAuditDetail:"/audit/batch-log-list"};n=Object(i["a"])(n,"/hb-manage-web"),e["a"]=n},a605:function(t,e,a){},c686:function(t,e,a){"use strict";var i=a("a605"),n=a.n(i);n.a},d157:function(t,e,a){"use strict";a.d(e,"a",(function(){return i})),a.d(e,"b",(function(){return n})),a.d(e,"c",(function(){return s}));a("c5f6"),a("a481"),a("28a5"),a("6b54");function i(t,e){var a,i=e||200;return function(){var e=this,n=arguments;a&&clearTimeout(a),a=setTimeout((function(){a=null,t.apply(e,n)}),i)}}function n(t,e){var a,i,n=e||200;return function(){var e=this,s=arguments,l=+new Date;a&&l-a<n?(clearTimeout(i),i=setTimeout((function(){a=l,t.apply(e,s)}),n)):(a=l,t.apply(e,s))}}function s(t){return t=t.replace(/\uD83C[\uDF00-\uDFFF]|\uD83D[\uDC00-\uDE4F]|[\uD800-\uDBFF]|[\uDC00-\uDFFF]|[^\u0020-\u007E\u00A0-\u00BE\u2E80-\uA4CF\uF900-\uFAFF\uFE30-\uFE4F\uFF00-\uFFEF\u0080-\u009F\u2000-\u201f\u2026\u2022\u20ac\r\n]/g,""),unescape(escape(t).replace(/\%uD.{3}/g,""))}},e230:function(t,e,a){"use strict";var i=a("71f6"),n={getSyncCheck:"/sync/sync-check",refreshWx:"/sync/sync-contact",getDepartmentList:"/department-list-level",getCompanyDepartList:"/contact/get-department-list",getStaffList:"/contact/get-staff-list",getStaffDetail:"/contact/staff-detail",getStaffRelation:"/bind/staff-clerk-relation",delStaffRelation:{url:"/bind/staff-unbind",method:"post",useFormData:!0,useIntercept:!1},addStaffRelation:{url:"/bind/staff-bind",method:"post",useFormData:!0,useIntercept:!1},getClerkRelation:"/bind/search-clerk-list",getWxEnterprise:"/auth-enterprise-list",getBindLog:"/bind/bind-log-list",getRefreshLog:"/sync/sync-task",getSyncFailDetail:"/sync-task-detail",getNationCode:"/nationcode/get-nationcode-list",getGicGroup:"/gic-department-list",getGicStore:"/get-store-list"};n=Object(i["a"])(n,"/hb-manage-web"),e["a"]=n}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-bfbebd78"],{"37f9":function(t,e,a){"use strict";a.r(e);var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{attrs:{id:"index"}},[a("vue-office-header",{ref:"headerMenu",attrs:{"project-name":t.projectName},on:{collapseTag:t.collapseTag,toRouterView:t.toRouterView}}),a("div",{staticClass:"content",attrs:{id:"content"}},[a("div",{staticClass:"content-body border-box",staticStyle:{"min-height":"calc(100vh - 46px)"}},[a("div",{staticClass:"index-body flex flex-row"},[a("div",{staticClass:"index-body-left"},[a("div",{staticClass:"index-body-left_top border-box"},[t._m(0),a("ul",t._l(t.purchaseApp,(function(e,n){return a("li",{key:n+"app",staticClass:"border-box",on:{click:function(a){return t.toAppView(e)}}},[a("div",{staticClass:"app-li-cell border-box flex"},[a("div",{staticClass:"app-cell-left"},[a("img",{attrs:{src:e.applicationUrl,alt:"img"}})]),a("div",{staticClass:"app-cell-right flex flex-column flex-align-center flex-pack-center"},[a("div",{staticClass:"app-name font-14 color-303133"},[t._v(t._s(e.applicationName))]),e.applicationPath?t._e():a("div",{staticClass:"app-info"},[a("span",{staticClass:"font-14 color-909399"},[t._v("里面为空~")])])]),a("div",{staticClass:"app-cell-arrow"},[a("el-dropdown",{staticClass:"app-cell-dropdown",attrs:{trigger:"hover"}},[a("span",{staticClass:"el-dropdown-link"},[a("i",{staticClass:"el-icon-more el-icon--right",staticStyle:{cursor:"pointer"}})]),a("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[a("el-dropdown-item",{staticClass:"p-0"},[a("span",{on:{click:function(a){return a.stopPropagation(),t.changeSwitch(e)}}},[t._v(t._s(1==e.openFlag?"停用":"启用"))])])],1)],1)],1)])])})),0)]),t.noPurchaseApp.length?a("div",{staticClass:"bg-space"}):t._e(),a("div",{class:["index-body-left_bottom border-box",t.noPurchaseApp.length?"bottom-0":"bottom-9999"]},[a("div",{staticClass:"app-title font-16 color-303133"},[t._v("已停用")]),a("ul",t._l(t.noPurchaseApp,(function(e,n){return a("li",{key:n+"appno",staticClass:"border-box"},[a("div",{staticClass:"app-li-cell border-box flex"},[a("div",{staticClass:"app-cell-left"},[a("img",{attrs:{src:e.applicationUrl,alt:"img"}})]),a("div",{staticClass:"app-cell-right"},[a("div",{staticClass:"app-name stop-app-name font-14 color-303133"},[t._v(t._s(e.applicationName))]),a("div",{staticClass:"app-info stop-app-info"},[a("el-switch",{attrs:{"active-text":"","inactive-text":""},on:{change:function(a){return t.changeAppSwitch(a,e)}},model:{value:e.openFlag,callback:function(a){t.$set(e,"openFlag",a)},expression:"item.openFlag"}})],1)])])])})),0)])]),a("div",{staticClass:"index-body-right"},[a("div",{staticClass:"index-body-right_top border-box"},[a("div",{staticClass:"serve-info"},[a("div",{staticClass:"serve-date-info"},[a("div",{staticClass:"font-14 color-909399 p-t-10 m-b-13",staticStyle:{"font-weight":"300"}},[t._v(t._s(t._f("timeStampToYm")((new Date).getTime())))]),a("div",{staticClass:"font-12 color-909399"},[t._v("农历"+t._s(t.getLunarDay((new Date).getFullYear(),(new Date).getMonth()+1,(new Date).getDate())))]),a("div",{staticClass:"serve-date-day"},[a("div",{staticClass:"serve-date-day_inner "},[a("div",{staticClass:"color-fff font-26 p-t-10",staticStyle:{"letter-spacing":"2px"}},[t._v(t._s((new Date).getDate()))]),a("div",{staticClass:"color-fff font-12"},[t._v(t._s(t.weeks[(new Date).getDay()]))])])])]),a("div",{staticClass:"serve-version flex"},[a("span",{staticClass:"w-86 font-14 color-909399 text-left"},[t._v("企业")]),a("span",{staticClass:"font-14 color-303133"},[t._v(t._s(t.versionData.corpName))])]),a("div",{staticClass:"serve-date flex m-t-20"},[a("span",{staticClass:"w-86 font-14 color-909399 text-left"},[t._v("版本")]),a("span",{staticClass:"font-14 color-303133"},[t._v(t._s(t.versionData.smallVersion))])]),t._e()])]),a("div",{staticClass:"bg-margin-10"}),a("div",{staticClass:"index-body-right_bottom border-box"},[a("div",{staticClass:"help-title font-16 color-303133 font-w-600"},[t._v("帮助中心")]),a("ul",{staticClass:"help-list m-t-15"},[t._l(t.helpList,(function(e,n){return a("li",{key:n+"help",staticClass:"cursor-pointer font-14 color-606266",on:{click:function(a){return t.toRedirect(e)}}},[t._v("\n "+t._s(e.helpTitle)+"\n ")])})),a("li",{staticClass:"text-center li-more cursor-pointer",on:{click:t.goUdesk}},[t._v("查看更多")])],2)])])])])])],1)},o=[function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"app-title font-16 color-303133 flex flex-space-between"},[a("span",{staticClass:"font-16 color-303133 font-w-600 line-h-32 color-primary"},[t._v("已使用")])])}],i=(a("96cf"),a("1da1")),s=a("f777"),r=a("5b4e6"),c={name:"IndexPage",components:{vueOfficeHeader:s["a"]},data:function(){return{checkShow:!0,tipText:"请先完成商户初始化设置后,再进行其他操作",projectName:"haoban-manage-web",collapseFlag:!1,showCustomDialog:!1,customType:"",customTitle:"",wxEnterpriseId:localStorage.getItem("haoBanUser")?JSON.parse(localStorage.getItem("haoBanUser")).wxEnterpriseId:"",purchaseApp:[],weeks:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],noPurchaseApp:[],versionData:{id:1,smallVersion:"",corpName:"",date:(new Date).getTime(),storeNum:100,storeTotal:""},helpList:[]}},mounted:function(){var t=Object(i["a"])(regeneratorRuntime.mark((function t(){var e;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e=this,t.next=3,e.toLogin();case 3:e.wxEnterpriseId=t.sent;case 4:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}(),methods:{goUdesk:function(){window.open("https://demogic.udesk.cn/hc/categories/96671?api_name=")},getLunarDay:function(t,e,a){var n=[0,31,59,90,120,151,181,212,243,273,304,334],o="一二三四五六七八九十",i="正二三四五六七八九十冬腊",s=[2635,333387,1701,1748,267701,694,2391,133423,1175,396438,3402,3749,331177,1453,694,201326,2350,465197,3221,3402,400202,2901,1386,267611,605,2349,137515,2709,464533,1738,2901,330421,1242,2651,199255,1323,529706,3733,1706,398762,2741,1206,267438,2647,1318,204070,3477,461653,1386,2413,330077,1197,2637,268877,3365,531109,2900,2922,398042,2395,1179,267415,2635,661067,1701,1748,398772,2742,2391,330031,1175,1611,200010,3749,527717,1452,2742,332397,2350,3222,268949,3402,3493,133973,1386,464219,605,2349,334123,2709,2890,267946,2773,592565,1210,2651,395863,1323,2707,265877];if(!(t<1921||t>2100)){e=parseInt(e)>0?e-1:11;var r,c,l,u,p,f,h=[t,e,a],d=3!==h.length?new Date:new Date(h[0],h[1],h[2]),m=!1,g=d.getFullYear();for(r=365*(g-1921)+Math.floor((g-1921)/4)+n[d.getMonth()]+d.getDate()-38,g%4===0&&d.getMonth()>1&&r++,c=0;;c++){for(u=s[c]<4095?11:12,l=u;l>=0;l--){if(r<=this.getBit(s[c],l)){m=!0;break}r-=this.getBit(s[c],l)}if(m)break}p=u-l+1,f=r,12===u&&(p===Math.floor(s[c]/65536)+1&&(p=1-p),p>Math.floor(s[c]/65536)+1&&p--);var v=o.charAt(f-1);return f%10===0&&10!==f||(v=o.charAt((f-1)%10)),console.log(),1===f?i.charAt(p-1)+"月初一":i.charAt(p-1)+"月"+(f<11?"初":f<20?"十":f<30?"廿":"三十")+v}},getBit:function(t,e){return 29+(t>>e&1)},toRedirect:function(t){if(!t.helpUrl)return!1;window.open(t.helpUrl)},changeRoute:function(t){this.$router.push(t)},toOverStore:function(){var t=this;t.changeRoute("/overStoreList")},toAppView:function(t){var e=this;if(!t.applicationPath)return r["a"].showmsg("无更多设置项,不可进入!","warning"),!1;e.changeRoute("".concat(t.applicationPath))},goShopping:function(){var t=this;t.changeRoute("/")},toRouterView:function(t){var e=this;e.$router.push({path:t.path})},changeSwitch:function(t){var e=this,a=1==t.openFlag?"关闭":"开启";e.$confirm("确认".concat(a,"【").concat(t.applicationName,"】应用吗?"),"提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){e.postSwitch(t)})).catch((function(){t.openFlag}))},collapseTag:function(t){var e=this;e.collapseFlag=t},toAlert:function(){var t=this;t.$confirm("您所在企业尚未订购好办 ,请前往升级版本后继续使用。","提示",{confirmButtonText:"立即前往订购",cancelButtonText:"取消",type:"warning"}).then((function(){window.open("")}))},toTip:function(){var t=this;t.$confirm("您没有该功能的使用权限,请联系管理员授权后继续使用。","提示",{confirmButtonText:"知道了",type:"warning"}).then((function(){window.open("")}))}}},l=c,u=(a("a45c"),a("2877")),p=Object(u["a"])(l,n,o,!1,null,"82ae9e10",null);e["default"]=p.exports},"54d2":function(t,e,a){},5937:function(t,e,a){"use strict";var n=a("71f6"),o={getRoleMenu:"/list-staff-role-menu"};o=Object(n["a"])(o,"/hb-manage-web"),e["a"]=o},"5b4e6":function(t,e,a){"use strict";var n=a("5c96");e["a"]={showmsg:function(t,e){Object(n["Message"])({duration:1e3,message:t||"接口异常",type:e})}}},"6ce2":function(t,e,a){t.exports=a.p+"img/member.1eda5d6c.png"},"71f6":function(t,e,a){"use strict";a.d(e,"a",(function(){return o}));a("ac6a"),a("456d");var n=a("b775");function o(t,e){t=t||{};var a=Object.keys(t);return a.forEach((function(a){var o=t[a];"string"===typeof o&&(o={url:o}),o.url="".concat(e).concat(o.url),t[a]=function(t){return Object(n["a"])(o,t)}})),t}},"7ded":function(t,e,a){"use strict";var n=a("71f6"),o={getLoginQrcode:"/get-login-qrcode",getUserInfo:"/get-login-user",loginOut:{url:"/login-out",method:"post",useFormData:!0}};o=Object(n["a"])(o,"/hb-manage-web/auth"),e["a"]=o},a45c:function(t,e,a){"use strict";var n=a("54d2"),o=a.n(n);o.a},cc0d:function(t,e,a){"use strict";var n=a("ed94"),o=a.n(n);o.a},ed94:function(t,e,a){},f777:function(t,e,a){"use strict";var n=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"nav-header"},[n("div",{staticClass:"nav-header-logo fl cursor-pointer",on:{click:t.toIndex}},[n("span",{staticClass:"pro-name"},[t._v("好办管理平台")])]),n("div",{staticClass:"nav-header-item fl"},[t._l(t.menuHead,(function(e,a){return[n("a",{key:a,class:["item-link menu-font-16"],on:{click:function(a){return t.changeRouter(e)}}},[n("span",{class:["inline-block bottom",-1!=e.menuUrl.indexOf(t.pathName)?"current-module":""]},[t._v(t._s(e.menuName))])])]})),n("div",{staticClass:"navuser-info fr"},[t.userInfo.headImg?n("img",{staticClass:"user-img",attrs:{src:t.userInfo.headImg,alt:""}}):n("img",{staticClass:"user-img",attrs:{src:a("6ce2"),alt:"img"}}),n("el-popover",{staticStyle:{"min-width":"95px"},attrs:{placement:"bottom",title:"",width:"95",trigger:"hover","popper-class":"user-header-pop"}},[n("ul",{staticClass:"navsuer-wrap"},[n("li",[n("p",{staticClass:"font-14 color-606266 hide-item"},[t._v(t._s(t.userInfo.staffName||"--"))]),n("p",{staticClass:"font-12 color-909399 hide-item"},[t._v(t._s(t.userInfo.roleName||"--"))])]),n("li",{staticClass:"user-item text-align",on:{click:function(e){return e.stopPropagation(),t.toLoginOut(e)}}},[n("a",{staticClass:"user-text"},[t._v("退出登录")])])]),n("a",{staticClass:"nav-user-name",attrs:{slot:"reference"},slot:"reference"},[n("span",{staticClass:"font-12 color-606266"},[t._v(t._s(t.userInfo.staffName||"--"))]),n("i",{staticClass:"iconfont iconxiala arrowico color-c0c4cc"})])])],1)],2)])},o=[],i=(a("456d"),a("96cf"),a("1da1")),s=(a("ac6a"),a("28a5"),a("7ded")),r=a("5937"),c=r["a"].getRoleMenu,l=s["a"].getUserInfo,u=s["a"].loginOut,p={name:"VueOfficeHeader",components:{},data:function(){return{checkShow:!0,tipText:"请先完成商户初始化设置后,再进行其他操作",repProjectName:"haoban-manage-web",pathName:"",isCollapse:!1,menuHead:[],roleMenuData:[],routePathName:"",userInfo:{staffName:"",nationCode:"",phoneNumber:"",headImg:"",wxEnterpriseId:"",roleName:""}}},mounted:function(){var t=this;t.pathName=t.$route.path,t.routePathName=window.location.hash.split("/")[1],-1!=t.routePathName.indexOf("?")&&(t.routePathName=t.routePathName.split("?")[0]),-1!=t.routePathName.indexOf("/")&&(t.routePathName=t.routePathName.split("/")[0]),localStorage.removeItem("haoBanUser"),t.toLogin()},methods:{toIndex:function(){var t=this;t.$router.push("/contactsList")},changeRouter:function(t){var e=this;if(1==t.target)-1!=t.menuUrl.indexOf("http")?window.open(t.menuUrl):window.open("/haoban-4/#".concat(t.menuUrl));else{e.setleftData(t);var a={};e.roleMenuData.forEach((function(e){t.menuCode!=e.menuCode||e.children.length||(a=e),t.menuCode==e.menuCode&&e.children.length&&(a=e.children[0])})),e.$router.push(a.menuUrl)}},setleftData:function(t){var e=this,a=[];e.roleMenuData.forEach((function(e){t.menuCode==e.menuCode&&a.push(e)})),e.$emit("leftData",a)},toLoginOut:function(){var t=this;t.$confirm("确认退出吗?","提示",{type:"warning"}).then((function(){u({}).then((function(e){"0000"==e.code&&(t.$message({message:"退出成功",type:"success"}),localStorage.removeItem("haoBanUser"),window.location.href=window.location.origin+"/haoban-4/#/login")})).catch((function(t){}))})).catch((function(){}))},toRouter:function(t,e,a){var n=this,o={path:"/"+t,name:e};n.$emit("toRouterView",o)},toLogin:function(){var t=this;l({}).then((function(e){e.result||(e.result={loginStaff:{staffName:"",nationCode:"",phoneNumber:"",headImg:"",wxEnterpriseId:""},role:{roleName:""}}),localStorage.setItem("haoBanUser",JSON.stringify(e.result.loginStaff)),t.userInfo=Object.assign(e.result.loginStaff,e.result.role),t.getData()})).catch((function(t){}))},treeData:function(t){var e=t.filter((function(e){var a=t.filter((function(t){return e.menuCode==t.parentCode&&1==t.isShow}));return a.length>0?(e.hasSonNode=!0,e.children=a):(e.children=[],e.hasSonNode=!1),""==e.parentCode&&1==e.isShow}));return e},getData:function(){var t=this,e={};c(e).then(function(){var e=Object(i["a"])(regeneratorRuntime.mark((function e(a){var n,o,i,s;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if("0000"!=a.code){e.next=14;break}return n=[],o={},i={},a.result.forEach((function(e){1==e.level&&1==e.isShow&&n.push(e),t.$route.path==e.menuUrl&&1==e.level&&1==e.isShow&&(o=e),t.$route.path==e.menuUrl&&1!=e.level&&(i=e)})),t.menuHead=n,e.next=8,t.treeData(JSON.parse(JSON.stringify(a.result)));case 8:t.roleMenuData=e.sent,Object.keys(i).length&&2==i.level&&a.result.forEach((function(t){i.parentCode==t.menuCode&&1==t.level&&1==t.isShow&&(o=t)})),s={},Object.keys(i).length&&3==i.level&&a.result.forEach((function(t){i.parentCode==t.menuCode&&2==t.level&&1==t.isShow&&(s=t)})),Object.keys(s).length&&2==s.level&&a.result.forEach((function(t){s.parentCode==t.menuCode&&1==t.level&&1==t.isShow&&(o=t)})),t.setleftData(o);case 14:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()).catch((function(t){}))}}},f=p,h=(a("cc0d"),a("2877")),d=Object(h["a"])(f,n,o,!1,null,"2a4f88b9",null);e["a"]=d.exports}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-bfbebd78"],{"37f9":function(t,e,a){"use strict";a.r(e);var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{attrs:{id:"index"}},[a("vue-office-header",{ref:"headerMenu",attrs:{"project-name":t.projectName},on:{collapseTag:t.collapseTag,toRouterView:t.toRouterView}}),a("div",{staticClass:"content",attrs:{id:"content"}},[a("div",{staticClass:"content-body border-box",staticStyle:{"min-height":"calc(100vh - 46px)"}},[a("div",{staticClass:"index-body flex flex-row"},[a("div",{staticClass:"index-body-left"},[a("div",{staticClass:"index-body-left_top border-box"},[t._m(0),a("ul",t._l(t.purchaseApp,(function(e,n){return a("li",{key:n+"app",staticClass:"border-box",on:{click:function(a){return t.toAppView(e)}}},[a("div",{staticClass:"app-li-cell border-box flex"},[a("div",{staticClass:"app-cell-left"},[a("img",{attrs:{src:e.applicationUrl,alt:"img"}})]),a("div",{staticClass:"app-cell-right flex flex-column flex-align-center flex-pack-center"},[a("div",{staticClass:"app-name font-14 color-303133"},[t._v(t._s(e.applicationName))]),e.applicationPath?t._e():a("div",{staticClass:"app-info"},[a("span",{staticClass:"font-14 color-909399"},[t._v("里面为空~")])])]),a("div",{staticClass:"app-cell-arrow"},[a("el-dropdown",{staticClass:"app-cell-dropdown",attrs:{trigger:"hover"}},[a("span",{staticClass:"el-dropdown-link"},[a("i",{staticClass:"el-icon-more el-icon--right",staticStyle:{cursor:"pointer"}})]),a("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[a("el-dropdown-item",{staticClass:"p-0"},[a("span",{on:{click:function(a){return a.stopPropagation(),t.changeSwitch(e)}}},[t._v(t._s(1==e.openFlag?"停用":"启用"))])])],1)],1)],1)])])})),0)]),t.noPurchaseApp.length?a("div",{staticClass:"bg-space"}):t._e(),a("div",{class:["index-body-left_bottom border-box",t.noPurchaseApp.length?"bottom-0":"bottom-9999"]},[a("div",{staticClass:"app-title font-16 color-303133"},[t._v("已停用")]),a("ul",t._l(t.noPurchaseApp,(function(e,n){return a("li",{key:n+"appno",staticClass:"border-box"},[a("div",{staticClass:"app-li-cell border-box flex"},[a("div",{staticClass:"app-cell-left"},[a("img",{attrs:{src:e.applicationUrl,alt:"img"}})]),a("div",{staticClass:"app-cell-right"},[a("div",{staticClass:"app-name stop-app-name font-14 color-303133"},[t._v(t._s(e.applicationName))]),a("div",{staticClass:"app-info stop-app-info"},[a("el-switch",{attrs:{"active-text":"","inactive-text":""},on:{change:function(a){return t.changeAppSwitch(a,e)}},model:{value:e.openFlag,callback:function(a){t.$set(e,"openFlag",a)},expression:"item.openFlag"}})],1)])])])})),0)])]),a("div",{staticClass:"index-body-right"},[a("div",{staticClass:"index-body-right_top border-box"},[a("div",{staticClass:"serve-info"},[a("div",{staticClass:"serve-date-info"},[a("div",{staticClass:"font-14 color-909399 p-t-10 m-b-13",staticStyle:{"font-weight":"300"}},[t._v(t._s(t._f("timeStampToYm")((new Date).getTime())))]),a("div",{staticClass:"font-12 color-909399"},[t._v("农历"+t._s(t.getLunarDay((new Date).getFullYear(),(new Date).getMonth()+1,(new Date).getDate())))]),a("div",{staticClass:"serve-date-day"},[a("div",{staticClass:"serve-date-day_inner "},[a("div",{staticClass:"color-fff font-26 p-t-10",staticStyle:{"letter-spacing":"2px"}},[t._v(t._s((new Date).getDate()))]),a("div",{staticClass:"color-fff font-12"},[t._v(t._s(t.weeks[(new Date).getDay()]))])])])]),a("div",{staticClass:"serve-version flex"},[a("span",{staticClass:"w-86 font-14 color-909399 text-left"},[t._v("企业")]),a("span",{staticClass:"font-14 color-303133"},[t._v(t._s(t.versionData.corpName))])]),a("div",{staticClass:"serve-date flex m-t-20"},[a("span",{staticClass:"w-86 font-14 color-909399 text-left"},[t._v("版本")]),a("span",{staticClass:"font-14 color-303133"},[t._v(t._s(t.versionData.smallVersion))])]),t._e()])]),a("div",{staticClass:"bg-margin-10"}),a("div",{staticClass:"index-body-right_bottom border-box"},[a("div",{staticClass:"help-title font-16 color-303133 font-w-600"},[t._v("帮助中心")]),a("ul",{staticClass:"help-list m-t-15"},[t._l(t.helpList,(function(e,n){return a("li",{key:n+"help",staticClass:"cursor-pointer font-14 color-606266",on:{click:function(a){return t.toRedirect(e)}}},[t._v("\n "+t._s(e.helpTitle)+"\n ")])})),a("li",{staticClass:"text-center li-more cursor-pointer",on:{click:t.goUdesk}},[t._v("查看更多")])],2)])])])])])],1)},o=[function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"app-title font-16 color-303133 flex flex-space-between"},[a("span",{staticClass:"font-16 color-303133 font-w-600 line-h-32 color-primary"},[t._v("已使用")])])}],i=(a("96cf"),a("1da1")),s=a("f777"),r=a("5b4e6"),c={name:"IndexPage",components:{vueOfficeHeader:s["a"]},data:function(){return{checkShow:!0,tipText:"请先完成商户初始化设置后,再进行其他操作",projectName:"haoban-manage-web",collapseFlag:!1,showCustomDialog:!1,customType:"",customTitle:"",wxEnterpriseId:localStorage.getItem("haoBanUser")?JSON.parse(localStorage.getItem("haoBanUser")).wxEnterpriseId:"",purchaseApp:[],weeks:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],noPurchaseApp:[],versionData:{id:1,smallVersion:"",corpName:"",date:(new Date).getTime(),storeNum:100,storeTotal:""},helpList:[]}},mounted:function(){var t=Object(i["a"])(regeneratorRuntime.mark((function t(){var e;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e=this,t.next=3,e.toLogin();case 3:e.wxEnterpriseId=t.sent;case 4:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}(),methods:{goUdesk:function(){window.open("https://demogic.udesk.cn/hc/categories/96671?api_name=")},getLunarDay:function(t,e,a){var n=[0,31,59,90,120,151,181,212,243,273,304,334],o="一二三四五六七八九十",i="正二三四五六七八九十冬腊",s=[2635,333387,1701,1748,267701,694,2391,133423,1175,396438,3402,3749,331177,1453,694,201326,2350,465197,3221,3402,400202,2901,1386,267611,605,2349,137515,2709,464533,1738,2901,330421,1242,2651,199255,1323,529706,3733,1706,398762,2741,1206,267438,2647,1318,204070,3477,461653,1386,2413,330077,1197,2637,268877,3365,531109,2900,2922,398042,2395,1179,267415,2635,661067,1701,1748,398772,2742,2391,330031,1175,1611,200010,3749,527717,1452,2742,332397,2350,3222,268949,3402,3493,133973,1386,464219,605,2349,334123,2709,2890,267946,2773,592565,1210,2651,395863,1323,2707,265877];if(!(t<1921||t>2100)){e=parseInt(e)>0?e-1:11;var r,c,l,u,p,f,h=[t,e,a],d=3!==h.length?new Date:new Date(h[0],h[1],h[2]),m=!1,g=d.getFullYear();for(r=365*(g-1921)+Math.floor((g-1921)/4)+n[d.getMonth()]+d.getDate()-38,g%4===0&&d.getMonth()>1&&r++,c=0;;c++){for(u=s[c]<4095?11:12,l=u;l>=0;l--){if(r<=this.getBit(s[c],l)){m=!0;break}r-=this.getBit(s[c],l)}if(m)break}p=u-l+1,f=r,12===u&&(p===Math.floor(s[c]/65536)+1&&(p=1-p),p>Math.floor(s[c]/65536)+1&&p--);var v=o.charAt(f-1);return f%10===0&&10!==f||(v=o.charAt((f-1)%10)),1===f?i.charAt(p-1)+"月初一":i.charAt(p-1)+"月"+(f<11?"初":f<20?"十":f<30?"廿":"三十")+v}},getBit:function(t,e){return 29+(t>>e&1)},toRedirect:function(t){if(!t.helpUrl)return!1;window.open(t.helpUrl)},changeRoute:function(t){this.$router.push(t)},toOverStore:function(){var t=this;t.changeRoute("/overStoreList")},toAppView:function(t){var e=this;if(!t.applicationPath)return r["a"].showmsg("无更多设置项,不可进入!","warning"),!1;e.changeRoute("".concat(t.applicationPath))},goShopping:function(){var t=this;t.changeRoute("/")},toRouterView:function(t){var e=this;e.$router.push({path:t.path})},changeSwitch:function(t){var e=this,a=1==t.openFlag?"关闭":"开启";e.$confirm("确认".concat(a,"【").concat(t.applicationName,"】应用吗?"),"提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){e.postSwitch(t)})).catch((function(){t.openFlag}))},collapseTag:function(t){var e=this;e.collapseFlag=t},toAlert:function(){var t=this;t.$confirm("您所在企业尚未订购好办 ,请前往升级版本后继续使用。","提示",{confirmButtonText:"立即前往订购",cancelButtonText:"取消",type:"warning"}).then((function(){window.open("")}))},toTip:function(){var t=this;t.$confirm("您没有该功能的使用权限,请联系管理员授权后继续使用。","提示",{confirmButtonText:"知道了",type:"warning"}).then((function(){window.open("")}))}}},l=c,u=(a("a45c"),a("2877")),p=Object(u["a"])(l,n,o,!1,null,"82ae9e10",null);e["default"]=p.exports},"54d2":function(t,e,a){},5937:function(t,e,a){"use strict";var n=a("71f6"),o={getRoleMenu:"/list-staff-role-menu"};o=Object(n["a"])(o,"/hb-manage-web"),e["a"]=o},"5b4e6":function(t,e,a){"use strict";var n=a("5c96");e["a"]={showmsg:function(t,e){Object(n["Message"])({duration:1e3,message:t||"接口异常",type:e})}}},"6ce2":function(t,e,a){t.exports=a.p+"img/member.1eda5d6c.png"},"71f6":function(t,e,a){"use strict";a.d(e,"a",(function(){return o}));a("ac6a"),a("456d");var n=a("b775");function o(t,e){t=t||{};var a=Object.keys(t);return a.forEach((function(a){var o=t[a];"string"===typeof o&&(o={url:o}),o.url="".concat(e).concat(o.url),t[a]=function(t){return Object(n["a"])(o,t)}})),t}},"7ded":function(t,e,a){"use strict";var n=a("71f6"),o={getLoginQrcode:"/get-login-qrcode",getUserInfo:"/get-login-user",loginOut:{url:"/login-out",method:"post",useFormData:!0}};o=Object(n["a"])(o,"/hb-manage-web/auth"),e["a"]=o},a45c:function(t,e,a){"use strict";var n=a("54d2"),o=a.n(n);o.a},cc0d:function(t,e,a){"use strict";var n=a("ed94"),o=a.n(n);o.a},ed94:function(t,e,a){},f777:function(t,e,a){"use strict";var n=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"nav-header"},[n("div",{staticClass:"nav-header-logo fl cursor-pointer",on:{click:t.toIndex}},[n("span",{staticClass:"pro-name"},[t._v("好办管理平台")])]),n("div",{staticClass:"nav-header-item fl"},[t._l(t.menuHead,(function(e,a){return[n("a",{key:a,class:["item-link menu-font-16"],on:{click:function(a){return t.changeRouter(e)}}},[n("span",{class:["inline-block bottom",-1!=e.menuUrl.indexOf(t.pathName)?"current-module":""]},[t._v(t._s(e.menuName))])])]})),n("div",{staticClass:"navuser-info fr"},[t.userInfo.headImg?n("img",{staticClass:"user-img",attrs:{src:t.userInfo.headImg,alt:""}}):n("img",{staticClass:"user-img",attrs:{src:a("6ce2"),alt:"img"}}),n("el-popover",{staticStyle:{"min-width":"95px"},attrs:{placement:"bottom",title:"",width:"95",trigger:"hover","popper-class":"user-header-pop"}},[n("ul",{staticClass:"navsuer-wrap"},[n("li",[n("p",{staticClass:"font-14 color-606266 hide-item"},[t._v(t._s(t.userInfo.staffName||"--"))]),n("p",{staticClass:"font-12 color-909399 hide-item"},[t._v(t._s(t.userInfo.roleName||"--"))])]),n("li",{staticClass:"user-item text-align",on:{click:function(e){return e.stopPropagation(),t.toLoginOut(e)}}},[n("a",{staticClass:"user-text"},[t._v("退出登录")])])]),n("a",{staticClass:"nav-user-name",attrs:{slot:"reference"},slot:"reference"},[n("span",{staticClass:"font-12 color-606266"},[t._v(t._s(t.userInfo.staffName||"--"))]),n("i",{staticClass:"iconfont iconxiala arrowico color-c0c4cc"})])])],1)],2)])},o=[],i=(a("456d"),a("96cf"),a("1da1")),s=(a("ac6a"),a("28a5"),a("7ded")),r=a("5937"),c=r["a"].getRoleMenu,l=s["a"].getUserInfo,u=s["a"].loginOut,p={name:"VueOfficeHeader",components:{},data:function(){return{checkShow:!0,tipText:"请先完成商户初始化设置后,再进行其他操作",repProjectName:"haoban-manage-web",pathName:"",isCollapse:!1,menuHead:[],roleMenuData:[],routePathName:"",userInfo:{staffName:"",nationCode:"",phoneNumber:"",headImg:"",wxEnterpriseId:"",roleName:""}}},mounted:function(){var t=this;t.pathName=t.$route.path,t.routePathName=window.location.hash.split("/")[1],-1!=t.routePathName.indexOf("?")&&(t.routePathName=t.routePathName.split("?")[0]),-1!=t.routePathName.indexOf("/")&&(t.routePathName=t.routePathName.split("/")[0]),localStorage.removeItem("haoBanUser"),t.toLogin()},methods:{toIndex:function(){var t=this;t.$router.push("/contactsList")},changeRouter:function(t){var e=this;if(1==t.target)-1!=t.menuUrl.indexOf("http")?window.open(t.menuUrl):window.open("/haoban-4/#".concat(t.menuUrl));else{e.setleftData(t);var a={};e.roleMenuData.forEach((function(e){t.menuCode!=e.menuCode||e.children.length||(a=e),t.menuCode==e.menuCode&&e.children.length&&(a=e.children[0])})),e.$router.push(a.menuUrl)}},setleftData:function(t){var e=this,a=[];e.roleMenuData.forEach((function(e){t.menuCode==e.menuCode&&a.push(e)})),e.$emit("leftData",a)},toLoginOut:function(){var t=this;t.$confirm("确认退出吗?","提示",{type:"warning"}).then((function(){u({}).then((function(e){"0000"==e.code&&(t.$message({message:"退出成功",type:"success"}),localStorage.removeItem("haoBanUser"),window.location.href=window.location.origin+"/haoban-4/#/login")})).catch((function(t){}))})).catch((function(){}))},toRouter:function(t,e,a){var n=this,o={path:"/"+t,name:e};n.$emit("toRouterView",o)},toLogin:function(){var t=this;l({}).then((function(e){e.result||(e.result={loginStaff:{staffName:"",nationCode:"",phoneNumber:"",headImg:"",wxEnterpriseId:""},role:{roleName:""}}),localStorage.setItem("haoBanUser",JSON.stringify(e.result.loginStaff)),t.userInfo=Object.assign(e.result.loginStaff,e.result.role),t.getData()})).catch((function(t){}))},treeData:function(t){var e=t.filter((function(e){var a=t.filter((function(t){return e.menuCode==t.parentCode&&1==t.isShow}));return a.length>0?(e.hasSonNode=!0,e.children=a):(e.children=[],e.hasSonNode=!1),""==e.parentCode&&1==e.isShow}));return e},getData:function(){var t=this,e={};c(e).then(function(){var e=Object(i["a"])(regeneratorRuntime.mark((function e(a){var n,o,i,s;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if("0000"!=a.code){e.next=14;break}return n=[],o={},i={},a.result.forEach((function(e){1==e.level&&1==e.isShow&&n.push(e),t.$route.path==e.menuUrl&&1==e.level&&1==e.isShow&&(o=e),t.$route.path==e.menuUrl&&1!=e.level&&(i=e)})),t.menuHead=n,e.next=8,t.treeData(JSON.parse(JSON.stringify(a.result)));case 8:t.roleMenuData=e.sent,Object.keys(i).length&&2==i.level&&a.result.forEach((function(t){i.parentCode==t.menuCode&&1==t.level&&1==t.isShow&&(o=t)})),s={},Object.keys(i).length&&3==i.level&&a.result.forEach((function(t){i.parentCode==t.menuCode&&2==t.level&&1==t.isShow&&(s=t)})),Object.keys(s).length&&2==s.level&&a.result.forEach((function(t){s.parentCode==t.menuCode&&1==t.level&&1==t.isShow&&(o=t)})),t.setleftData(o);case 14:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()).catch((function(t){}))}}},f=p,h=(a("cc0d"),a("2877")),d=Object(h["a"])(f,n,o,!1,null,"2a4f88b9",null);e["a"]=d.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.
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