1 |
- (function(e){function t(t){for(var a,c,o=t[0],r=t[1],h=t[2],l=0,d=[];l<o.length;l++)c=o[l],Object.prototype.hasOwnProperty.call(u,c)&&u[c]&&d.push(u[c][0]),u[c]=0;for(a in r)Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a]);f&&f(t);while(d.length)d.shift()();return i.push.apply(i,h||[]),n()}function n(){for(var e,t=0;t<i.length;t++){for(var n=i[t],a=!0,c=1;c<n.length;c++){var o=n[c];0!==u[o]&&(a=!1)}a&&(i.splice(t--,1),e=r(r.s=n[0]))}return e}var a={},c={app:0},u={app:0},i=[];function o(e){return r.p+"js/"+({index:"index"}[e]||e)+"."+{"chunk-01707ce2":"aef32057","chunk-01759d39":"4ccd773d","chunk-071455c8":"77028d94","chunk-075fb29d":"080c651f","chunk-3197d6a2":"9e1bb432","chunk-3feb20bc":"d9673605","chunk-367d276a":"7fe05b5e","chunk-ea5a4b90":"0d5b86c4","chunk-07badb74":"cccd1750","chunk-0b7865a2":"495e8633","chunk-1679d7ce":"4d27541d","chunk-1cbca90f":"35e8398d","chunk-2009474d":"c341b45a","chunk-2b31d902":"d7d4f6a6","chunk-32a178c4":"87478c73","chunk-358efb36":"418e811b","chunk-3604deee":"c332d98d","chunk-378a85e4":"adc57b6a","chunk-39bb7a1e":"2b222f32","chunk-3c077fd6":"c85a533e","chunk-3c61ab7e":"faf35a21","chunk-3cf666f8":"f6af4831","chunk-f5492fa2":"546f585e","chunk-3e57d6a6":"e7d3213e","chunk-3f043c4a":"bb5624ee","chunk-3f7de8cc":"b3f61a07","chunk-211b4744":"30be3659","chunk-44369e0e":"b05035fc","chunk-491bdcb0":"35560e35","chunk-4a2b1adc":"4a9867b6","chunk-4cbe68f6":"c5d59c1d","chunk-51421c7e":"e145bc5e","chunk-55140186":"62ee8be0","chunk-556cec8c":"53d1b3d5","chunk-0110e3ba":"d8c9c1c6","chunk-6dc35264":"af688166","chunk-1d0c47c4":"4168a377","chunk-3ae2cdb6":"29129bb7","chunk-fc451a4e":"6d0291e8","chunk-70cb4f69":"e168e67b","chunk-717020f4":"bbe5292d","chunk-1e1449e1":"ee1ab7dc","chunk-20766f7a":"20dabc6f","chunk-3f3af37e":"868b7614","chunk-03aa8b04":"8befa91e","chunk-19e72660":"f0762dd8","chunk-1a33f8b3":"96bff3ea","chunk-6c82c2d8":"1a502bd8","chunk-a5c88ca6":"a396ed8e","chunk-cb8a5aea":"3e6866c6","chunk-7b61d779":"fb3f5b86","chunk-6f0dc7a9":"4ed52aef","chunk-d472ff26":"17251012","chunk-e965dda6":"ec5e12d9","chunk-a078993a":"76e20e3c","chunk-72ff4ecd":"9b5d6fbf","chunk-394c6028":"0e560298","chunk-e224edf6":"4ce054f1","chunk-773bbe9e":"5da3f848","chunk-5d8cfe36":"0d68f27c","chunk-6160231a":"f42bf209","chunk-66644144":"201c7ee9","chunk-487e8636":"f3a9be8a","chunk-735520ea":"66e95756","chunk-89157454":"9f6b97df","chunk-8a79b676":"60e57f0b","chunk-9354193a":"0f2de7f5","chunk-abca8270":"15ff75c1","chunk-ae8b6190":"ceb30ba2","chunk-af4130ea":"a30b12b2","chunk-ba0c4966":"67cad539","chunk-bd3e753c":"93bdb4d1","chunk-cc228834":"2f85b774","chunk-dcac946e":"ec849ca5","chunk-e037fa16":"bb9a0e8e",index:"013f843e"}[e]+".js"}function r(t){if(a[t])return a[t].exports;var n=a[t]={i:t,l:!1,exports:{}};return e[t].call(n.exports,n,n.exports,r),n.l=!0,n.exports}r.e=function(e){var t=[],n={"chunk-01707ce2":1,"chunk-01759d39":1,"chunk-071455c8":1,"chunk-075fb29d":1,"chunk-3feb20bc":1,"chunk-367d276a":1,"chunk-ea5a4b90":1,"chunk-07badb74":1,"chunk-0b7865a2":1,"chunk-1679d7ce":1,"chunk-1cbca90f":1,"chunk-2009474d":1,"chunk-2b31d902":1,"chunk-32a178c4":1,"chunk-358efb36":1,"chunk-3604deee":1,"chunk-378a85e4":1,"chunk-39bb7a1e":1,"chunk-3c077fd6":1,"chunk-3c61ab7e":1,"chunk-3cf666f8":1,"chunk-f5492fa2":1,"chunk-3e57d6a6":1,"chunk-3f043c4a":1,"chunk-3f7de8cc":1,"chunk-211b4744":1,"chunk-44369e0e":1,"chunk-491bdcb0":1,"chunk-4a2b1adc":1,"chunk-4cbe68f6":1,"chunk-51421c7e":1,"chunk-55140186":1,"chunk-556cec8c":1,"chunk-0110e3ba":1,"chunk-6dc35264":1,"chunk-1d0c47c4":1,"chunk-3ae2cdb6":1,"chunk-fc451a4e":1,"chunk-70cb4f69":1,"chunk-717020f4":1,"chunk-1e1449e1":1,"chunk-20766f7a":1,"chunk-3f3af37e":1,"chunk-03aa8b04":1,"chunk-19e72660":1,"chunk-1a33f8b3":1,"chunk-6c82c2d8":1,"chunk-a5c88ca6":1,"chunk-cb8a5aea":1,"chunk-7b61d779":1,"chunk-6f0dc7a9":1,"chunk-d472ff26":1,"chunk-e965dda6":1,"chunk-a078993a":1,"chunk-72ff4ecd":1,"chunk-394c6028":1,"chunk-e224edf6":1,"chunk-773bbe9e":1,"chunk-5d8cfe36":1,"chunk-6160231a":1,"chunk-66644144":1,"chunk-487e8636":1,"chunk-735520ea":1,"chunk-89157454":1,"chunk-8a79b676":1,"chunk-9354193a":1,"chunk-abca8270":1,"chunk-ae8b6190":1,"chunk-af4130ea":1,"chunk-ba0c4966":1,"chunk-bd3e753c":1,"chunk-cc228834":1,"chunk-dcac946e":1,"chunk-e037fa16":1,index:1};c[e]?t.push(c[e]):0!==c[e]&&n[e]&&t.push(c[e]=new Promise((function(t,n){for(var a="css/"+({index:"index"}[e]||e)+"."+{"chunk-01707ce2":"68c47be6","chunk-01759d39":"d3f2f9c9","chunk-071455c8":"66a7eef4","chunk-075fb29d":"3db63185","chunk-3197d6a2":"31d6cfe0","chunk-3feb20bc":"388300c1","chunk-367d276a":"f6fbe5bd","chunk-ea5a4b90":"86b81e55","chunk-07badb74":"68a09b6a","chunk-0b7865a2":"90ce1dad","chunk-1679d7ce":"b1cead66","chunk-1cbca90f":"f01b5b71","chunk-2009474d":"f458d9ba","chunk-2b31d902":"455e7f84","chunk-32a178c4":"a7d9e93b","chunk-358efb36":"9af8c8f3","chunk-3604deee":"f14fda4f","chunk-378a85e4":"ef79b6fa","chunk-39bb7a1e":"d0631d2d","chunk-3c077fd6":"18011186","chunk-3c61ab7e":"1ad59ed4","chunk-3cf666f8":"bd5ba970","chunk-f5492fa2":"7b1d4c6f","chunk-3e57d6a6":"8277b92e","chunk-3f043c4a":"982c184a","chunk-3f7de8cc":"f879a9db","chunk-211b4744":"3170b829","chunk-44369e0e":"fa0aa453","chunk-491bdcb0":"f3478ecc","chunk-4a2b1adc":"45044e53","chunk-4cbe68f6":"c11bdbca","chunk-51421c7e":"085b3bff","chunk-55140186":"f35edb48","chunk-556cec8c":"83801be7","chunk-0110e3ba":"91975b55","chunk-6dc35264":"cbd8bfeb","chunk-1d0c47c4":"27104f9b","chunk-3ae2cdb6":"b88ae73a","chunk-fc451a4e":"328b8c51","chunk-70cb4f69":"b4210cff","chunk-717020f4":"682795ce","chunk-1e1449e1":"537f0abc","chunk-20766f7a":"70cbc47b","chunk-3f3af37e":"5cd230bc","chunk-03aa8b04":"023ff2b5","chunk-19e72660":"c54cfe93","chunk-1a33f8b3":"1468089f","chunk-6c82c2d8":"1ad04690","chunk-a5c88ca6":"d4d92e6c","chunk-cb8a5aea":"588f86ab","chunk-7b61d779":"956ea812","chunk-6f0dc7a9":"88a890bd","chunk-d472ff26":"8a3f789d","chunk-e965dda6":"a81ba804","chunk-a078993a":"c5981991","chunk-72ff4ecd":"e14ddef4","chunk-394c6028":"6de461e2","chunk-e224edf6":"a20b40c4","chunk-773bbe9e":"4c431c52","chunk-5d8cfe36":"a109c000","chunk-6160231a":"d5d19890","chunk-66644144":"cb03895b","chunk-487e8636":"9f04db1e","chunk-735520ea":"2e85f89d","chunk-89157454":"227c3b95","chunk-8a79b676":"49e822de","chunk-9354193a":"57048692","chunk-abca8270":"6fd3629c","chunk-ae8b6190":"5e3e6b3e","chunk-af4130ea":"98257ae3","chunk-ba0c4966":"accfa2bc","chunk-bd3e753c":"bb73eac3","chunk-cc228834":"fe31d693","chunk-dcac946e":"85a75af6","chunk-e037fa16":"54989c14",index:"2a7b8390"}[e]+".css",u=r.p+a,i=document.getElementsByTagName("link"),o=0;o<i.length;o++){var h=i[o],l=h.getAttribute("data-href")||h.getAttribute("href");if("stylesheet"===h.rel&&(l===a||l===u))return t()}var d=document.getElementsByTagName("style");for(o=0;o<d.length;o++){h=d[o],l=h.getAttribute("data-href");if(l===a||l===u)return t()}var f=document.createElement("link");f.rel="stylesheet",f.type="text/css",f.onload=t,f.onerror=function(t){var a=t&&t.target&&t.target.src||u,i=new Error("Loading CSS chunk "+e+" failed.\n("+a+")");i.code="CSS_CHUNK_LOAD_FAILED",i.request=a,delete c[e],f.parentNode.removeChild(f),n(i)},f.href=u;var s=document.getElementsByTagName("head")[0];s.appendChild(f)})).then((function(){c[e]=0})));var a=u[e];if(0!==a)if(a)t.push(a[2]);else{var i=new Promise((function(t,n){a=u[e]=[t,n]}));t.push(a[2]=i);var h,l=document.createElement("script");l.charset="utf-8",l.timeout=120,r.nc&&l.setAttribute("nonce",r.nc),l.src=o(e);var d=new Error;h=function(t){l.onerror=l.onload=null,clearTimeout(f);var n=u[e];if(0!==n){if(n){var a=t&&("load"===t.type?"missing":t.type),c=t&&t.target&&t.target.src;d.message="Loading chunk "+e+" failed.\n("+a+": "+c+")",d.name="ChunkLoadError",d.type=a,d.request=c,n[1](d)}u[e]=void 0}};var f=setTimeout((function(){h({type:"timeout",target:l})}),12e4);l.onerror=l.onload=h,document.head.appendChild(l)}return Promise.all(t)},r.m=e,r.c=a,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)r.d(n,a,function(t){return e[t]}.bind(null,a));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="weworksingle/",r.oe=function(e){throw console.error(e),e};var h=window["webpackJsonp"]=window["webpackJsonp"]||[],l=h.push.bind(h);h.push=t,h=h.slice();for(var d=0;d<h.length;d++)t(h[d]);var f=l;i.push([0,"chunk-vendors"]),n()})({0:function(e,t,n){e.exports=n("56d7")},"01b7":function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAkCAYAAADhAJiYAAAABHNCSVQICAgIfAhkiAAAAapJREFUWEftl8tRwzAQhndlD1dSQg5JroQOQgVQghsgjw6gggymAKADqACoIOSaMIOpgJwzspaVwRnlYVsxkJgZ6eKDVtKn/9fKK4SKNawYDzigIkecQlsr1LqmMwB1VDSwTP9cirtogFHe2CXL6kOqHXjqo8xiVmOIHiY9nzec3ZaAGtfUEaQerSYvEURAz9Ou33FAWQo4hYqOlVPIKVSkQFG/eYaaoXwCwNG06w3McXu7GFthTBqEYnE8HeBLCrV3IIXi5PUcWa2v5oDSf1lq2f9SqDmkNnpqVJQtZfvNLLNSSC/EgfrE/0mBBgSXk5538b1OkmW5lqU710qRDzUg1RYAww2KjHmi/jZKSQlRWi1yIVjnQvDNGihdKKNgG89j0eHJZ9sAmbGtK3kPiKe/AbQGk6jpwaENHLLiHBcggv4mzcqyDIXWYUIZIOCNDUxWTFmgjTbx/yjQO84DYuDahiR554yLkGC2WvTnPhT1K8T3VCBjcfuTM9MI4/5SchjZtrqZnb1ctZoLe6sApJVYQFUFKLkQ+WVMfCeZJYdp284ss81EB1Sk1CfQKUg0j/bC2QAAAABJRU5ErkJggg=="},"01cf":function(e,t,n){"use strict";n("48d6")},"081b":function(e,t,n){"use strict";n.d(t,"d",(function(){return c})),n.d(t,"p",(function(){return u})),n.d(t,"q",(function(){return i})),n.d(t,"f",(function(){return o})),n.d(t,"h",(function(){return r})),n.d(t,"a",(function(){return h})),n.d(t,"l",(function(){return l})),n.d(t,"n",(function(){return d})),n.d(t,"r",(function(){return f})),n.d(t,"m",(function(){return s})),n.d(t,"k",(function(){return k})),n.d(t,"c",(function(){return m})),n.d(t,"i",(function(){return b})),n.d(t,"j",(function(){return p})),n.d(t,"b",(function(){return g})),n.d(t,"s",(function(){return A})),n.d(t,"g",(function(){return w})),n.d(t,"o",(function(){return v})),n.d(t,"e",(function(){return C}));var a=n("b775");function c(e){return Object(a["a"])({url:"/api/wework/getAuthLink",method:"post",data:e})}function u(e){return Object(a["a"])({url:"/api/wework/getUserByCode",method:"post",data:e})}function i(e){return Object(a["a"])({url:"/api/wework/phone_login",method:"post",data:e})}function o(e){return Object(a["a"])({url:"/api/wework/sms",method:"post",data:e})}function r(e){return Object(a["a"])({url:"/api/wework/getCompanys",method:"post",data:e})}function h(e){return Object(a["a"])({url:"/api/wework/bindCompany",method:"post",data:e})}function l(e){return Object(a["a"])({url:"/api/weworkSingle/getAuthLink",method:"post",data:e})}function d(e){return Object(a["a"])({url:"/api/weworkSingle/getUserByCode",method:"post",data:e})}function f(e){return Object(a["a"])({url:"/api/weworkSingle/phone_login",method:"post",data:e})}function s(e){return Object(a["a"])({url:"/api/weworkSingle/sms",method:"post",data:e})}function k(e){return Object(a["a"])({url:"/api/weworkSingle/getJsSdk",method:"get",params:e})}function m(e){return Object(a["a"])({url:"/api/weworkSingle/getAgentJsSdk",method:"get",params:e})}function b(e){return Object(a["a"])({url:"/api/weworkSingle/getCustomerByExternalUid",method:"post",data:e})}function p(e){return Object(a["a"])({url:"/api/weworkSingle/getCustomerByPhone",method:"post",data:e})}function g(e){return Object(a["a"])({url:"/api/weworkSingle/bindCustomer",method:"post",data:e})}function A(e){return Object(a["a"])({url:"/api/user_msg/unreadCount",method:"post",data:e})}function w(e){return Object(a["a"])({url:"/api/wework_single/getCompanyByTicket",method:"post",data:e})}function v(e){return Object(a["a"])({url:"/api/wework_single/getTokenByWxCompany",method:"post",data:e})}function C(e){return Object(a["a"])({url:"/api/wework_single/getChatRecord",method:"post",data:e})}},2395:function(e,t,n){},"257e":function(e,t,n){e.exports=n.p+"img/face.0bc0d165.png"},"2d8e":function(e,t,n){"use strict";n.d(t,"a",(function(){return c})),n.d(t,"c",(function(){return u})),n.d(t,"b",(function(){return i})),n.d(t,"d",(function(){return o})),n.d(t,"e",(function(){return r}));var a=n("b775");function c(e){return Object(a["a"])({url:"/api/org_employee/empdetail",method:"post",data:e})}function u(e){return Object(a["a"])({url:"/api/profile/qrcode",method:"post",data:e})}function i(e){return Object(a["a"])({url:"/api/talkskill/ticket",method:"post",data:e})}function o(e){return Object(a["a"])({url:"/api/talkskill/system",method:"post",data:e})}function r(e){return Object(a["a"])({url:"/api/user_msg/list",method:"post",data:e})}},"3ee2":function(e,t,n){},4178:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAkCAYAAADhAJiYAAAABHNCSVQICAgIfAhkiAAAAZVJREFUWEftl99RhDAQxi/Au5TgO8MAHWAFUgIlaAdagSWoHWgFagUcMDyLFXgF8McvDNzkMkACzHE4k8zkgZBNfny7GzZkt7FGNsazU0AijyiFJiuUJElQ17UjMpzzvqqqV8/z8jHbE5dFUWRqmvY7ZzNJm3fHcQJpoDRNfXzFh+Tic6Z9AchXQCMKKIVEcaUUUgqJFBC9P8ZQHMefmBzhXLpnjU5O6jUPRgDVFMQwDM+yrH0HdXEg/KpubNumajVNAXX/ss5l/0uhLMvcoigiUaoseM9mWRPUowrRCXs0QshZCjQs/wiXPdB9pFzWfTlVCnWRie5i7IlXBBVlrOv63RSloHzeVYsoBK+hzLeUQuwmfecShUH3sfhhChA7F+q84fl2MVAfDFWzLMsrGTjYu+ghQoIq3zRhDA0p1AeDC0GI8WcZmKE5s4CG3NQChWNAsDX5JMHYD8Zy2B34on/0otjeQkIE98vCmKEJwCbHMdv4j1nt5sq59/JAVAkGahtALVSAMyxnSw7Wbau5TDYTFZBIqT/tIVY0FI1/oQAAAABJRU5ErkJggg=="},4360:function(e,t,n){"use strict";n("e9c4");var a=n("2b0e"),c=n("2f62");a["default"].use(c["a"]),t["a"]=new c["a"].Store({state:{weburl:"https://wework.zqxg.cc/",imgUrl:"https://o.nczyzs.com",token:sessionStorage.getItem("AUTH-TOKEN")?sessionStorage.getItem("AUTH-TOKEN"):"",shareUserId:"",personObj:localStorage.getItem("PERSON-DATA")?localStorage.getItem("PERSON-DATA"):{},clientype:localStorage.getItem("CLIENT-TYPE")?localStorage.getItem("CLIENT-TYPE"):"wzh68h",org_id:"",empid:"",wordtype:1,pageData:{},transmitData:[],company_id:"",wx_uid:"",platform:"wxChat",ticket:localStorage.getItem("TICKET")?localStorage.getItem("TICKET"):"",fullPath:localStorage.getItem("FULL-PATH")?localStorage.getItem("FULL-PATH"):"",hiddenTab:!1,userInfo:localStorage.getItem("USERINFO")?localStorage.getItem("USERINFO"):{},isScroll:!1},mutations:{setUserInfo:function(e,t){e.userInfo=t,localStorage.setItem("USERINFO",JSON.stringify(t))},setHiddenTab:function(e,t){e.hiddenTab=t},setFullPath:function(e,t){e.fullPath=t,localStorage.setItem("FULL-PATH",t)},setTicket:function(e,t){e.ticket=t||null,localStorage.setItem("TICKET",t)},setCompanyId:function(e,t){e.company_id=t},setWXUid:function(e,t){e.wx_uid=t},setPageData:function(e,t){e.pageData=t},setTransmitData:function(e,t){e.transmitData=t},setpersonObj:function(e,t){e.personObj=t,localStorage.setItem("PERSON-DATA",JSON.stringify(t))},setshareUserId:function(e,t){e.shareUserId="undefined"==t||void 0==t?"":t},setToken:function(e,t){e.token=t,sessionStorage.setItem("AUTH-TOKEN",t)},setclientype:function(e,t){e.clientype=t||"",localStorage.setItem("CLIENT-TYPE",t)},setorgid:function(e,t){e.org_id=t},setempid:function(e,t){e.empid=t},setwordtype:function(e,t){e.wordtype=t},setplatform:function(e,t){e.platform=t}},actions:{},modules:{}})},"48d6":function(e,t,n){},"56d7":function(e,t,n){"use strict";n.r(t);n("480b");var a=n("a37c"),c=(n("61ae"),n("d314")),u=(n("09d3"),n("2d6d")),i=(n("0653"),n("34e9")),o=(n("c194"),n("7744")),r=(n("a44c"),n("e27c")),h=(n("4ddd"),n("9f14")),l=(n("d1cf"),n("ee83")),d=(n("a909"),n("3acc")),f=(n("3c32"),n("417e")),s=(n("ac1e"),n("543e")),k=(n("e7e5"),n("d399")),m=(n("6d73"),n("473d")),b=(n("be7f"),n("565f")),p=(n("8a58"),n("e41f")),g=(n("5f5f"),n("f253")),A=(n("c3a6"),n("ad06")),w=(n("0cc8"),n("3104")),v=n("9944"),C=n.n(v),y=(n("0fae"),n("9e2f")),O=n.n(y),E=(n("e260"),n("e6cf"),n("cca6"),n("a79d"),n("2b0e")),S=n("bc3a"),x=n.n(S),I=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{attrs:{id:"app"}},[a("keep-alive",[e.$route.meta.keepAlive?a("router-view"):e._e()],1),e.$route.meta.keepAlive?e._e():a("router-view"),e.isShowNav&&!e.hiddenTab?a("div",{staticClass:"fixed-bottom"},[a("div",{directives:[{name:"show",rawName:"v-show",value:!1,expression:"false"}],staticClass:"tab-item",on:{click:function(t){return e.switchTab("/companyword")}}},[e.isActiveWord?a("img",{attrs:{src:n("01b7"),alt:"话术1",width:"25px",height:"25px"}}):a("img",{attrs:{src:n("4178"),alt:"话术",width:"25px",height:"25px"}}),a("span",{class:e.isActiveWord?"activeNav":""},[e._v("话术")])]),a("div",{staticClass:"tab-item",on:{click:function(t){return e.switchTab("/CRM")}}},[e.$route.fullPath.indexOf("/CRM")>-1?a("img",{attrs:{src:n("8dd7"),alt:"crm",width:"25px",height:"25px"}}):a("img",{attrs:{src:n("6db1"),alt:"crm",width:"25px",height:"25px"}}),a("span",{class:e.$route.fullPath.indexOf("/CRM")>-1?"activeNav":""},[e._v("CRM")])]),a("div",{staticClass:"tab-item",on:{click:function(t){return e.switchTab("/Mine")}}},[e.$route.fullPath.indexOf("/Mine")>-1?a("img",{attrs:{src:n("8532"),alt:"我的",width:"25px",height:"25px"}}):a("img",{attrs:{src:n("7766"),alt:"我的",width:"25px",height:"25px"}}),a("span",{class:e.$route.fullPath.indexOf("/Mine")>-1?"activeNav":""},[e._v("我的")])])]):e._e()],1)},B=[],D=n("5530"),P=(n("ac1f"),n("5319"),n("99af"),n("1276"),n("466d"),n("2f62")),j=n("2d8e"),U=n("081b"),T={name:"App",data:function(){return{}},computed:Object(D["a"])(Object(D["a"])({},Object(P["c"])({ticket:function(e){return e.ticket},hiddenTab:function(e){return e.hiddenTab}})),{},{isShowNav:function(){return this.$route.fullPath.indexOf("/fineword")>-1||this.$route.fullPath.indexOf("/sucessword")>-1||this.$route.fullPath.indexOf("/answersword")>-1||this.$route.fullPath.indexOf("/CRM")>-1||this.$route.fullPath.indexOf("/Mine")>-1},isActiveWord:function(){return this.$route.fullPath.indexOf("/fineword")>-1||this.$route.fullPath.indexOf("/sucessword")>-1||this.$route.fullPath.indexOf("/answersword")>-1}}),created:function(){var e=this,t=e.getQueryStringArgs(window.location.href);t.token&&e.setToken(t.token),t.client_type&&e.setclientype(t.client_type),t.empid&&(e.setempid(t.empid),this.userfun()),t.ticket&&this.setTicket(t.ticket),this.checkBrowerPlaform(),this.setWXChatConfig()},methods:Object(D["a"])(Object(D["a"])({},Object(P["b"])(["setToken","setclientype","setempid","setpersonObj","setTicket","setplatform"])),{},{switchTab:function(e){this.$router.replace({path:"".concat(e,"?ticket=").concat(this.ticket||"")})},setWXChatConfig:function(){var e=location.href.split("#")[0];U["k"]({url:e}).then((function(t){0==t.data.code&&(wx.config({beta:!0,debug:!1,appId:t.data.data.appId,timestamp:t.data.data.timestamp,nonceStr:t.data.data.nonceStr,signature:t.data.data.signature,jsApiList:["chooseImage","uploadImage","getLocalImgData","previewImage"]}),wx.ready((function(){U["c"]({url:e}).then((function(e){0==e.data.code&&wx.agentConfig({corpid:e.data.data.corpid,agentid:e.data.data.agentid,timestamp:e.data.data.timestamp,nonceStr:e.data.data.nonceStr,signature:e.data.data.signature,jsApiList:["chooseImage","uploadImage","getLocalImgData","previewImage"],success:function(e){},fail:function(e){console.log(e,"error"),e.errMsg.indexOf("function not exist")>-1&&alert("版本过低请升级")}})}))})),wx.error((function(e){})))}))},getQueryStringArgs:function(e){e=null==e?window.location.href:e;var t=e.substring(e.lastIndexOf("?")+1),n={},a=/([^?&=]+)=([^?&=]*)/g;return t.replace(a,(function(e,t,a){var c=decodeURIComponent(t),u=decodeURIComponent(a);return u=String(u),n[c]=u,e})),n},checkBrowerPlaform:function(){var e=navigator.userAgent.toLowerCase(),t="ipad"==e.match(/ipad/i),n="iphone os"==e.match(/iphone os/i),a="midp"==e.match(/midp/i),c="rv:1.2.3.4"==e.match(/rv:1.2.3.4/i),u="ucweb"==e.match(/ucweb/i),i="android"==e.match(/android/i),o="windows ce"==e.match(/windows ce/i),r="windows mobile"==e.match(/windows mobile/i);t||n||a||c||u||i||o||r?this.setplatform("mobile"):this.setplatform("windows")},userfun:function(){var e=this,t={empid:1*e.$store.state.empid};Object(j["a"])(t).then((function(t){0==t.data.code&&e.setpersonObj(t.data.data)}))}})},Q=T,Y=(n("7c55"),n("2877")),F=Object(Y["a"])(Q,I,B,!1,null,null,null),R=F.exports,N=n("4360"),M=n("a18c"),q=n("fa7d"),J=(n("499a"),n("3ee2"),n("ca95")),H=n.n(J),V=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"wzhload"},[e.showflag?n("div",{staticClass:"index center"},[e._m(0)]):e._e()])},L=[function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"center cirbox"},[a("div",{staticClass:"loadmiddle relative"},[a("div",{staticClass:"bg249efb firstbox"}),a("div",{staticClass:"bg249efb secondbox"}),a("div",{staticClass:"bg249efb thirdbox"})]),a("div",{staticClass:"faceimg"},[a("img",{attrs:{src:n("257e")}})])])}],K={data:function(){return{showflag:!1}},created:function(){},methods:{},mounted:function(){var e=this;this.$nextTick((function(){e.showflag=!0}))}},W=K,Z=(n("01cf"),Object(Y["a"])(W,V,L,!1,null,"2e28d502",null)),G=Z.exports,z=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"callload"},[e.showflag?n("van-loading",{attrs:{size:"24px",color:"#ffffff",type:"spinner","text-color":"#ffffff",vertical:""}},[e._v("电话拨通中,请等待5s ~ 10s ")]):e._e()],1)},X=[],_=n("ade3"),$=(n("b0c0"),{components:Object(_["a"])({},s["a"].name,s["a"]),data:function(){return{showflag:!1}},mounted:function(){var e=this;this.$nextTick((function(){e.showflag=!0}))}}),ee=$,te=(n("baaf"),Object(Y["a"])(ee,z,X,!1,null,"28ed68b7",null)),ne=te.exports;E["default"].config.productionTip=!1;var ae=n("3eba");n("ef97"),n("c037"),n("007d"),n("627c"),n("d28f"),n("5450"),n("cd12"),n("0352"),E["default"].component("wzhload",G),E["default"].component("callload",ne),E["default"].prototype.$echarts=ae,E["default"].prototype.$axios=x.a,E["default"].prototype.utils=q["a"],E["default"].use(H.a,{name:"v-touch"}),E["default"].use(O.a),E["default"].use(C.a),E["default"].use(w["a"]),E["default"].use(A["a"]),E["default"].use(g["a"]),E["default"].use(p["a"]),E["default"].use(b["a"]),E["default"].use(m["a"]),E["default"].use(k["a"]),E["default"].use(s["a"]),E["default"].use(f["a"]),E["default"].use(d["a"]),E["default"].use(l["a"]),E["default"].use(h["a"]),E["default"].use(r["a"]),E["default"].use(o["a"]),E["default"].use(i["a"]),E["default"].use(u["a"]),E["default"].use(c["a"]),E["default"].use(a["a"]),M["a"].beforeEach((function(e,t,n){e.meta.title&&(document.title=e.meta.title),n()})),new E["default"]({store:N["a"],router:M["a"],render:function(e){return e(R)}}).$mount("#app")},"6db1":function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAkCAYAAADhAJiYAAAABHNCSVQICAgIfAhkiAAAAzBJREFUWEftV8tx4kAURHzOizOwzxQgRbAQgdkIVkSwbARGERhHYIjAJgLLEUhAcV5vBObOb7tVkj2S3ozE+mJXoSoVxXze6+l50z2yKp/ssT4ZnsoZUNGOnBn6MENBEDSr1erN8Xi0GcyyrLBer89arVZoCr5arXqHw+FanYf/nuM4G9M845Ytl8sBgtwDRDMbBKAcgiLgWq3WZf9+v18wIecByEN2Dto2WNyw0+k86kBpASHRJYAEEhi0/UByH7+3eF01OJJO8f5GYrbfSqDQD9zOiwRKC2ixWEwx4acwyQNrEwB5whtto5A0RNI+QJGJ78KQWbfbTS0kGaMFFIbhq8QOwFwg0UQDVs3tsd50W2fb9sWpDB2FCc8ANACgV1Nhso/1wqRgWopTAUMiGSaGQqwwKlblmZMdgHoqAsR+sokYrLVUHIBdAKy43aYaGiPmTSYxGXIB6k8ZQGRBw5CHPsbPPaZT1syuDit7wcKuUF8b9H0zgcLYv3h7WfBkh+06PTLqUCyKqZOCBH2w1BPYS+ED4CESX2bGRTVoEkcjIEVt3eTEkSXqSMFJm0E4J7vdLkhQssgRY4p583a77evYFQHFokiFJhOph1sBZXYZFPUh1VlUH+gbYexY2lq0+3iHkjjmAK3Xa3u73VL0cnYBZHdINoI1uKD+l0EYfYD2wFCoE0cy1mg0+llPTAEygWFNwC4e8UvmBmVOmWIjopASVNZGUoBweuhdkj7MwMjIZBc6gEgY2YikR5zDfpxcJ5n/BojbgM57qWZ4hQD1U/Rdl2FGGHNH/9PpF9nHDYDx3+/UKEJWfs4IORjtpDZ3nTgFXCwXLuZIhj1HbUZl8MaQznNiM9W59imYjLaTeFsEiMWsaoaS5SSrKEJnsBL63hVlIAIUC6BkmB6o9suaaRGgeNuoXbnSYB+1Td0yqYa8OEnWZItyi/0GQM9gr5eqIWXrWFw9+hClXnfJ+h9EvIejNCZxbH4k+GjzVXEs9V0W2wD9LHs/KoWLDg92xqbLfRKoFKBkMD0OlmBTl9BGaxEvWVw5Xn5hhLSPok8fdVUnASpFxwcHnQEVEXhm6Msx9A/ORuc0PbA4RAAAAABJRU5ErkJggg=="},7766:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAkCAYAAADhAJiYAAAABHNCSVQICAgIfAhkiAAAAetJREFUWEftl1FOwkAQhmkJz3KE+kxo4QTiCcQTiCcATyDeAE4gnkA5gfUELXAAuYF4gLb+Q7YJ0W53ZqVJH0rSkNDZ/b/8M7szOK2afZya8bQaIFNGrB2Koqjruu4NBLwsyzz61ol1Op2HXq8Xm2DovRXQZrOZA2LqOE6XIwLw636/H3JiRUDkCiBe8Yw4m+cxlQHBmRVE7iQwFFsJ0G63G6Vp+i6FqQwI7rxhcypi8acShwCUiUnUgrMDqSP+VRsgAvmPQ0EQsE8zO7COQLZFvYZDY2662Q7ZHntJQYtbh8XF+AJ3Jlx3xEDqtFHqrhgiolTl+7FTdgqgmusMPe3iNxia7jd+X8CZOQP6T4gVEO1CbrXb7bEaPY4bAyROkiQcDocHGxhxymxFJOusHcpF6PTBpWNb8X3/QyJeFMsGyidEaI+w0QDpGejEEUPTYYyYEBPCWpJCI5ACmUKEipg1IZ6CYt2BihxgSw5YKRBgPDUhat3gpohcw3MLqH3ZGi2QGlcjAHlcUVMcgPZ4wKQ/hVogi1vZxJO/L729C4EoVehBn1wFaRzq6VKXukKg7XY7gbXPUiFuPMrgHlfEin3sqTUg+JErYBH3pGstupTRv9KZhRBrCVK20BW28R5iKZwxqAEymdk4ZHLoB/JeyyUPt9s/AAAAAElFTkSuQmCC"},"7c55":function(e,t,n){"use strict";n("2395")},8532:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAkCAYAAADhAJiYAAAABHNCSVQICAgIfAhkiAAAAgJJREFUWEftlsFRQjEQhnfz0KuW8JxRzlqBWoFYgViAPKlArUDQAtQKlArECuQMzEgH6vXJy7pBUcchZDfKDAfCcHqb7Df/v5sNwpwtnDMeWACFHIlWKD2n1WVT7IHBlAhSAOK/ZxVJvVfHTgjGfY8CKjeLUwLIEGFVksSi2e0fYVsSqwJyqiwlxS0C7kgOH8fMDGijWVyzKgcaGBc7E6D1S9oxZO+1MDMDKjeHd4C4Nz9AFwXXcdz6d8tGLZ7Y5zicGdVQ+Q8KdWuJuJvFgfMHFFvURK1uVqpI7RYrFNv2moJWjw7txcgz7qaXJVWpOmqgz9Fxx6NjO5hEadX4PLFlPwFGwxXhmDev/Abjy+oVCRrdLDkNQk8IiAJy53yqVUHC9OtcYzr5ENqDOr7EwKgti02i2Ret0DiJ6z4g/vHq1/BBk3xSrBho/EIk5LcQwSY/QzZ9ybm7Ovz06yBRO7dJS2NhEGgEUrIZWS5i4QvxJyjDvaCBRj40TQnYVCCGSZeMvZ2mhtQip9qbNfsMNZi2xwv0YZF9ZOm/u0ia3eslDHJrtqYp5QXS3spS1tDtPRHIWcXvnydpEm1cXpg1n3UTgTYuhlUeD1faRNJ4viUOe7XStbjt3Wjg2jmRJlDHEZz5RovPMlfQx+pEwg1c2A1fYQfvIWGOfwtbAIWkXCgUUugd4wTQJYLKoBcAAAAASUVORK5CYII="},"8dd7":function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAkCAYAAADhAJiYAAAABHNCSVQICAgIfAhkiAAAA2pJREFUWEftl11SGkEUhe/tRl6jO8Aq8TWyguAKQlYQWIB/KwisgB8XIK4gugLJCoRXTFV0BfKsdHfOHRxqhumeAfNiqpgXq5zp21+fvn1Ow/TBHv5gPLQFKtqRrUL/rFCl63Z3tP1B5I4WxXhMRl0/XOBvznNw6ers7NfkuFejOo8XPMsbl7tlh5eu4ay9Yqbd1SLOqJpACXBJ02d5Pzc0kQllHDn7MzPG0YyVak1P+CYEFQTCRJUdZe99MMTq28ucRlCuiwLNZHFHNIQSFyVtm4qo64N6taoG8EcfVBCo2jdDwHzPDHLUebGqB9g7vH/bxvRXztEYkx7vaHPDxF88UNcPZzq1kPibPKBnnzovRu0BpueFTUvVIaXGoa0D0N5GCh0ODNRfWTm5X69GN8raPhedFqg0k0l9dWTs9FR7xQgqhEJyiqJmXT7O3Vqle8rZuyIgeS9qAn6UqUM0AZB3u8NAfdNGsOC4J3gWCjUxyZ91gEQFr0Low+mZbm+0ZXKcM6tz9IhC+9WBmWElnwqgnqBQ3QM/kf+H/CjXhxammD4pltWxsra+qp6n31rsuJL8zr31YJ455gIt3dZRc3nioBKOfS3vpKGhrwnWwNrex6DS5IAbOla3v09Y+sr7eIEiU9TmCh5S94x6gkpNKXro6TN664+DgTlH8bZva6HUCL3Y8pljBqjaRWYtTC8bF476OMrn1cG8SY7PgsaICR3rznxO4xxznEHF49VMTAHlwpBrYVU3ZSiHgG2sc8riGAltr2zjaoykgfpGsivjD9ITGHieFxchwDhGAn5E8h6q1+LxSyDZBvQMVp955PgelZUZEjOuE5s/mLSPBfVC/oWeaj2cloZSOQk08gYhPmbWM18mbYImdsHWymn1BLa7nZ6VojZYAoUyJwrTQGpvAoS9yY2dONsiIGnmpGcsvWPDqCgCDEYJBmLh+2IDEZAYoDcw4SlWqdG6YVoEFG2bM/Cm7B1J3om35fcQgKJJVkK2aOLQ+xCQRAqaOjLhjA+xsg3HuKATV+C6w9Al6z1Qcg8nbXqL2m5sGYoYNUqa41q/yyQGcD9uAiJ9P1qfaoJ7eDvvch+XWgso/lgyrlyCcVp7BBfeJY5/GqXJkPIjyxKmaizxUfTTJzl6I6D1BXn/l1ugIu22Cv13Cv0FycjONBKnmc4AAAAASUVORK5CYII="},"9f4d":function(e,t,n){},a18c:function(e,t,n){"use strict";n("d3b7"),n("3ca3"),n("ddb0"),n("ac1f"),n("5319");var a=n("8c4f"),c=n("2b0e"),u=n("4360"),i=function(e){return n.e("index").then(function(){return e(n("9f78"))}.bind(null,n)).catch(n.oe)};c["default"].use(a["a"]);var o=new a["a"]({routes:[{path:"/",redirect:"/Mine"},{path:"/index",component:i},{path:"/customermsg",name:"customermsg",component:function(){return Promise.all([n.e("chunk-556cec8c"),n.e("chunk-717020f4"),n.e("chunk-075fb29d"),n.e("chunk-3197d6a2"),n.e("chunk-a5c88ca6")]).then(n.bind(null,"7672"))},meta:{title:"客户详情",keepAlive:!1,auth:!0}},{path:"/addcustomer",name:"addcustomer",component:function(){return Promise.all([n.e("chunk-075fb29d"),n.e("chunk-3197d6a2"),n.e("chunk-3feb20bc"),n.e("chunk-367d276a")]).then(n.bind(null,"4900"))},meta:{title:"客户建档",keepAlive:!1,auth:!0}},{path:"/CRM",name:"CRM",component:function(){return Promise.all([n.e("chunk-556cec8c"),n.e("chunk-717020f4"),n.e("chunk-075fb29d"),n.e("chunk-3197d6a2"),n.e("chunk-cb8a5aea")]).then(n.bind(null,"bc50"))},meta:{title:"我的客户管理",keepAlive:!0,auth:!0}},{path:"/bindCustomer",name:"bindCustomer",component:function(){return n.e("chunk-01759d39").then(n.bind(null,"e012"))},meta:{title:"绑定客户",keepAlive:!1,auth:!0}},{path:"/editcustomer",name:"editcustomer",component:function(){return Promise.all([n.e("chunk-3feb20bc"),n.e("chunk-211b4744")]).then(n.bind(null,"ed54"))},meta:{title:"CRM客户编辑",keepAlive:!1,auth:!0}},{path:"/guestclues",name:"guestclues",component:function(){return Promise.all([n.e("chunk-717020f4"),n.e("chunk-487e8636")]).then(n.bind(null,"5e78"))},meta:{title:"客户线索",keepAlive:!1,auth:!0}},{path:"/mycompany",name:"mycompany",component:function(){return n.e("chunk-e037fa16").then(n.bind(null,"e091"))},meta:{title:"我的团队",keepAlive:!1,auth:!1}},{path:"/management",name:"management",component:function(){return Promise.all([n.e("chunk-556cec8c"),n.e("chunk-70cb4f69")]).then(n.bind(null,"d285"))},meta:{title:"团队管理",keepAlive:!1,auth:!1}},{path:"/collected",name:"collected",component:function(){return Promise.all([n.e("chunk-556cec8c"),n.e("chunk-717020f4"),n.e("chunk-075fb29d"),n.e("chunk-1e1449e1"),n.e("chunk-3f3af37e")]).then(n.bind(null,"4d17"))},meta:{title:"我的收藏",keepAlive:!1,auth:!1}},{path:"/resourcepool",name:"resourcepool",component:function(){return n.e("chunk-51421c7e").then(n.bind(null,"ffa2"))},meta:{title:"资源库详情",keepAlive:!1,auth:!1}},{path:"/figureprice",name:"figureprice",component:function(){return n.e("chunk-32a178c4").then(n.bind(null,"ce66"))},meta:{title:"装修报价",keepAlive:!1,auth:!1}},{path:"/findesign",name:"findesign",component:function(){return n.e("chunk-bd3e753c").then(n.bind(null,"8cb3"))},meta:{title:"装修设计",keepAlive:!1,auth:!1}},{path:"/information",name:"information",component:function(){return n.e("chunk-3c61ab7e").then(n.bind(null,"8d81"))},meta:{title:"系统消息",keepAlive:!1,auth:!1}},{path:"/companyword",name:"companyword",component:function(){return n.e("chunk-44369e0e").then(n.bind(null,"348c"))},redirect:"/fineword",meta:{title:"企业话术库",keepAlive:!0,auth:!0},children:[{path:"/fineword",name:"fineword",component:function(){return n.e("chunk-abca8270").then(n.bind(null,"482a"))},meta:{title:"精选话术",keepAlive:!0,auth:!0}},{path:"/sucessword",name:"sucessword",component:function(){return n.e("chunk-491bdcb0").then(n.bind(null,"91ab"))},meta:{title:"成功案例",keepAlive:!0,auth:!0}},{path:"/answersword",name:"answersword",component:function(){return Promise.all([n.e("chunk-556cec8c"),n.e("chunk-717020f4"),n.e("chunk-075fb29d"),n.e("chunk-3197d6a2"),n.e("chunk-6c82c2d8")]).then(n.bind(null,"831c"))},meta:{title:"百问百答",keepAlive:!0,auth:!0}}]},{path:"/wordlist",name:"wordlist",component:function(){return Promise.all([n.e("chunk-556cec8c"),n.e("chunk-717020f4"),n.e("chunk-075fb29d"),n.e("chunk-3197d6a2"),n.e("chunk-03aa8b04")]).then(n.bind(null,"9923"))},meta:{title:"企业话术库",keepAlive:!1,auth:!0}},{path:"/searchword",name:"searchword",component:function(){return Promise.all([n.e("chunk-556cec8c"),n.e("chunk-717020f4"),n.e("chunk-075fb29d"),n.e("chunk-3197d6a2"),n.e("chunk-19e72660")]).then(n.bind(null,"236d"))},meta:{title:"企业话术库",keepAlive:!1,auth:!0}},{path:"/searchPage",name:"searchPage",component:function(){return Promise.all([n.e("chunk-556cec8c"),n.e("chunk-717020f4"),n.e("chunk-1e1449e1"),n.e("chunk-7b61d779"),n.e("chunk-e965dda6")]).then(n.bind(null,"7692"))},meta:{title:"话术搜索",keepAlive:!0,auth:!0}},{path:"/wordmsg",name:"wordmsg",component:function(){return Promise.all([n.e("chunk-556cec8c"),n.e("chunk-717020f4"),n.e("chunk-a078993a")]).then(n.bind(null,"2c5e"))},meta:{title:"话术详情",keepAlive:!0,auth:!0}},{path:"/set",name:"set",component:function(){return Promise.all([n.e("chunk-556cec8c"),n.e("chunk-1d0c47c4")]).then(n.bind(null,"5ee4"))},meta:{title:"个人信息设置",keepAlive:!1,auth:!1}},{path:"/login",name:"login",component:function(){return n.e("chunk-66644144").then(n.bind(null,"850c"))},meta:{title:"员工申请",keepAlive:!1,auth:!1}},{path:"/siteappoint",name:"siteappoint",component:function(){return n.e("chunk-cc228834").then(n.bind(null,"4100"))},meta:{title:"工地预约",keepAlive:!1,auth:!1}},{path:"/changecompany",name:"changecompany",component:function(){return n.e("chunk-39bb7a1e").then(n.bind(null,"b706"))},meta:{title:"切换公司",keepAlive:!1,auth:!1}},{path:"/myword",name:"myword",component:function(){return n.e("chunk-4a2b1adc").then(n.bind(null,"bc8f"))},meta:{title:"我的话术",keepAlive:!0,auth:!1},children:[{path:"/myanswer",name:"myanswer",component:function(){return Promise.all([n.e("chunk-556cec8c"),n.e("chunk-717020f4"),n.e("chunk-1e1449e1"),n.e("chunk-7b61d779"),n.e("chunk-6f0dc7a9")]).then(n.bind(null,"e8a5"))},meta:{title:"我的话术",keepAlive:!0,auth:!1}},{path:"/myquestion",name:"myquestion",component:function(){return Promise.all([n.e("chunk-556cec8c"),n.e("chunk-717020f4"),n.e("chunk-1e1449e1"),n.e("chunk-7b61d779"),n.e("chunk-d472ff26")]).then(n.bind(null,"9817"))},meta:{title:"我的话术",keepAlive:!0,auth:!1}},{path:"/myshareword",name:"myshareword",component:function(){return Promise.all([n.e("chunk-556cec8c"),n.e("chunk-717020f4"),n.e("chunk-075fb29d"),n.e("chunk-1e1449e1"),n.e("chunk-20766f7a")]).then(n.bind(null,"1f82"))},meta:{title:"我的话术",keepAlive:!0,auth:!1}}]},{path:"/scoremsg",name:"scoremsg",component:function(){return n.e("chunk-dcac946e").then(n.bind(null,"2b8d"))},meta:{title:"变动详情",keepAlive:!1,auth:!1}},{path:"/school",name:"school",component:function(){return n.e("chunk-071455c8").then(n.bind(null,"5d89"))},meta:{title:"培训中心",keepAlive:!1,auth:!1}},{path:"/traincourse",name:"traincourse",component:function(){return n.e("chunk-55140186").then(n.bind(null,"d684"))},meta:{title:"培训课程",keepAlive:!1,auth:!1}},{path:"/trainmsg",name:"trainmsg",component:function(){return Promise.all([n.e("chunk-556cec8c"),n.e("chunk-72ff4ecd"),n.e("chunk-394c6028")]).then(n.bind(null,"4e4a"))},meta:{title:"培训课程",keepAlive:!0,auth:!1}},{path:"/coursewaremsg",name:"coursewaremsg",component:function(){return Promise.all([n.e("chunk-556cec8c"),n.e("chunk-72ff4ecd"),n.e("chunk-e224edf6")]).then(n.bind(null,"d895"))},meta:{title:"",keepAlive:!1,auth:!1}},{path:"/staffAssess",name:"staffAssess",component:function(){return n.e("chunk-5d8cfe36").then(n.bind(null,"3c4a"))},meta:{title:"员工考核",keepAlive:!0,auth:!1}},{path:"/assessMsg",name:"assessMsg",component:function(){return n.e("chunk-2009474d").then(n.bind(null,"766b"))},meta:{title:"",keepAlive:!0,auth:!1}},{path:"/content",name:"content",component:function(){return Promise.all([n.e("chunk-556cec8c"),n.e("chunk-3ae2cdb6")]).then(n.bind(null,"996c"))},meta:{title:"",keepAlive:!1,auth:!1}},{path:"/viewGrades",name:"viewGrades",component:function(){return n.e("chunk-358efb36").then(n.bind(null,"5730"))},meta:{title:"",keepAlive:!0,auth:!1}},{path:"/questionRecord",name:"questionRecord",component:function(){return Promise.all([n.e("chunk-556cec8c"),n.e("chunk-3cf666f8"),n.e("chunk-fc451a4e")]).then(n.bind(null,"1c96"))},meta:{title:"答题详情",keepAlive:!1,auth:!1}},{path:"/completedPerson",name:"completedPerson",component:function(){return n.e("chunk-735520ea").then(n.bind(null,"d6a4"))},meta:{title:"已完成人员",keepAlive:!0,auth:!1}},{path:"/ranking",name:"ranking",component:function(){return n.e("chunk-89157454").then(n.bind(null,"8435"))},meta:{title:"答题排行",keepAlive:!1,auth:!1}},{path:"/examList",name:"examList",component:function(){return n.e("chunk-1cbca90f").then(n.bind(null,"4397"))},meta:{title:"试卷列表",keepAlive:!1,auth:!1}},{path:"/volumeList",name:"volumeList",component:function(){return Promise.all([n.e("chunk-3cf666f8"),n.e("chunk-f5492fa2")]).then(n.bind(null,"7d43"))},meta:{title:"考卷列表",keepAlive:!0,auth:!1}},{path:"/read",name:"read",component:function(){return n.e("chunk-2b31d902").then(n.bind(null,"d2c5"))},meta:{title:"考卷",keepAlive:!1,auth:!1}},{path:"/smartScreen",name:"smartScreen",component:function(){return n.e("index").then(n.bind(null,"9f78"))},meta:{title:"智慧屏",keepAlive:!1,auth:!1}},{path:"/case",name:"case",component:function(){return n.e("chunk-07badb74").then(n.bind(null,"d752"))},meta:{title:"装修案例详情",keepAlive:!1,auth:!1}},{path:"/materialcase",name:"materialcase",component:function(){return n.e("chunk-3f043c4a").then(n.bind(null,"a1a7"))},meta:{title:"案例详情",keepAlive:!1,auth:!1}},{path:"/guide",name:"guide",component:function(){return Promise.all([n.e("chunk-556cec8c"),n.e("chunk-773bbe9e")]).then(n.bind(null,"6f05"))},meta:{title:"装修指南详情",keepAlive:!1,auth:!1}},{path:"/evaluateInfo",name:"evaluateInfo",component:function(){return n.e("chunk-01707ce2").then(n.bind(null,"8818"))},meta:{title:"业主口碑详情",keepAlive:!1,auth:!1}},{path:"/manage",name:"manage",component:function(){return Promise.all([n.e("chunk-556cec8c"),n.e("chunk-717020f4"),n.e("chunk-075fb29d"),n.e("chunk-3197d6a2"),n.e("chunk-1a33f8b3")]).then(n.bind(null,"1eec"))},meta:{title:"员工工作台",keepAlive:!0,auth:!1}},{path:"/client",name:"client",component:function(){return Promise.all([n.e("chunk-556cec8c"),n.e("chunk-075fb29d"),n.e("chunk-3197d6a2"),n.e("chunk-3feb20bc"),n.e("chunk-0110e3ba")]).then(n.bind(null,"c785"))},meta:{title:"共有客户",keepAlive:!1,auth:!1}},{path:"/workReport",name:"workReport",component:function(){return n.e("chunk-378a85e4").then(n.bind(null,"6616"))},meta:{title:"工作汇报",keepAlive:!1,auth:!1}},{path:"/daily",name:"daily",component:function(){return Promise.all([n.e("chunk-075fb29d"),n.e("chunk-ea5a4b90")]).then(n.bind(null,"25da"))},meta:{title:"汇报",keepAlive:!1,auth:!1}},{path:"/dailyDetail",name:"dailyDetail",component:function(){return n.e("chunk-1679d7ce").then(n.bind(null,"d0bb"))},meta:{title:"汇报详情",keepAlive:!1,auth:!1}},{path:"/choose",name:"choose",component:function(){return n.e("chunk-ae8b6190").then(n.bind(null,"1304"))},meta:{title:"选择汇报对象",keepAlive:!1,auth:!1}},{path:"/networktool",name:"networktool",component:function(){return n.e("chunk-3c077fd6").then(n.bind(null,"e53d"))},meta:{title:"获客工具",keepAlive:!1,auth:!1}},{path:"/housestyle",name:"housestyle",component:function(){return n.e("chunk-9354193a").then(n.bind(null,"090c"))},meta:{title:"装修风格",keepAlive:!1,auth:!1}},{path:"/oldhouserenovation",name:"oldhouserenovation",component:function(){return n.e("chunk-0b7865a2").then(n.bind(null,"e407"))},meta:{title:"老房装修",keepAlive:!1,auth:!1}},{path:"/decorateoffer",name:"decorateoffer",component:function(){return n.e("chunk-3f7de8cc").then(n.bind(null,"4e11"))},meta:{title:"装修报价",keepAlive:!1,auth:!1}},{path:"/custmanage",name:"custmanage",component:function(){return Promise.all([n.e("chunk-556cec8c"),n.e("chunk-075fb29d"),n.e("chunk-3197d6a2"),n.e("chunk-3feb20bc"),n.e("chunk-6dc35264")]).then(n.bind(null,"bfed"))},meta:{title:"团队客户管理",keepAlive:!0,auth:!1}},{path:"/wechatlogin",name:"wechatlogin",component:function(){return n.e("chunk-3e57d6a6").then(n.bind(null,"25b1"))},meta:{title:"登录",keepAlive:!1,auth:!1}},{path:"/signLogin",name:"signLogin",component:function(){return n.e("chunk-3604deee").then(n.bind(null,"0a22"))},meta:{title:"登录",keepAlive:!1,auth:!1}},{path:"/wechatMain",name:"wechatMain",component:function(){return n.e("chunk-4cbe68f6").then(n.bind(null,"b340"))},meta:{title:"首页",keepAlive:!1,auth:!1}},{path:"/bindCompany",name:"bindCompany",component:function(){return n.e("chunk-ba0c4966").then(n.bind(null,"aff6"))},meta:{title:"绑定企业",keepAlive:!1,auth:!1}},{path:"/selectCompany",name:"selectCompany",component:function(){return n.e("chunk-af4130ea").then(n.bind(null,"4691"))},meta:{title:"选择企业",keepAlive:!1,auth:!1}},{path:"/loading",name:"loading",component:function(){return n.e("chunk-6160231a").then(n.bind(null,"7a98"))},meta:{title:"loading",keepAlive:!1,auth:!1}},{path:"/Mine",name:"Mine",component:function(){return n.e("chunk-8a79b676").then(n.bind(null,"da24"))},meta:{title:"我的",keepAlive:!0,auth:!0}}]});o.beforeEach((function(e,t,n){e.fullPath.indexOf("/signLogin")>-1&&u["a"].state.token?n(t.fullPath):n()})),o.afterEach((function(e,t){e.meta.auth&&!u["a"].state.token&&t.fullPath.indexOf("/selectCompany")<0&&(u["a"].commit("setFullPath",e.fullPath),o.replace({path:"/loading"}))})),t["a"]=o},b775:function(e,t,n){"use strict";n("e7e5");var a=n("d399"),c=n("5530"),u=(n("d3b7"),n("ac1f"),n("5319"),n("bc3a")),i=n.n(u),o=(n("18a0"),n("4360")),r=n("a18c"),h=i.a.create({timeout:5e3});h.interceptors.request.use((function(e){return e.Connection="keep-alive",e.headers["Authorization"]="bearer "+o["a"].state.token,"get"===e.method?e.params=Object(c["a"])({client_type:o["a"].state.clientype,ticket:o["a"].state.ticket},e.params):(e.data.client_type=o["a"].state.clientype,e.data.ticket=o["a"].state.ticket),e}),(function(e){console.log(e),Promise.reject(e)})),h.interceptors.response.use((function(e){e.config.data;if(e.data.code)switch(e.data.code){case 1:Object(a["a"])(e.data.msg);break;case 403:o["a"].commit("setToken",""),r["a"].replace("/loading");break;case 404:Object(a["a"])("请求的资源不存在"),o["a"].commit("setToken",""),r["a"].replace("/loading");break;default:Object(a["a"])(e.data.msg);break}return e}),(function(e){if(console.log(e),e.response.data.code)switch(e.response.data.code){case 1:Object(a["a"])(e.response.data.msg);break;case 404:Object(a["a"])("请求的资源不存在");break;default:console.log(e);break}return Promise.reject(e)}));t["a"]=h},baaf:function(e,t,n){"use strict";n("9f4d")},fa7d:function(e,t,n){"use strict";n("ac1f"),n("5319"),n("00b4"),n("a9e3"),n("1276"),n("c19f"),n("d3b7"),n("5cc6"),n("907a"),n("9a8c"),n("a975"),n("735e"),n("c1ac"),n("d139"),n("3a7b"),n("d5d6"),n("82f8"),n("e91f"),n("60bd"),n("5f96"),n("3280"),n("3fcc"),n("ca91"),n("25a1"),n("cd26"),n("3c5d"),n("2954"),n("649e"),n("219c"),n("170b"),n("b39a"),n("72f7"),n("466d"),n("b0c0");t["a"]={getQueryStringArgs:function(e){e=null==e?window.location.href:e;var t=e.substring(e.lastIndexOf("?")+1),n={},a=/([^?&=]+)=([^?&=]*)/g;return t.replace(a,(function(e,t,a){var c=decodeURIComponent(t),u=decodeURIComponent(a);return u=String(u),n[c]=u,e})),n},dayDiff:function(e,t){var n=Math.ceil((e.getTime()-t.getTime())/864e5);return n},nowdayDiff:function(e){var t=new Date,n=t.getFullYear()+"/"+(1*t.getMonth()+1)+"/"+t.getDate(),a=Math.ceil((new Date(n).getTime()-new Date(e).getTime())/864e5);return a},ismobilephone:function(){var e=navigator.userAgent,t=/(?:Windows Phone)/.test(e),n=(/(?:SymbianOS)/.test(e),/(?:Android)/.test(e)),a=/(?:Firefox)/.test(e),c=(/(?:Chrome|CriOS)/.test(e),/(?:iPad|PlayBook)/.test(e)||n&&!/(?:Mobile)/.test(e)||a&&/(?:Tablet)/.test(e)),u=/(?:iPhone)/.test(e)&&!c;return n||u},getCurrentWeekFirstDay:function(){var e=new Date,t=e.getDay()||7,n=new Date(e.getFullYear(),e.getMonth(),e.getDate()+1-t);return n.getFullYear()+"/"+(Number(n.getMonth())+1)+"/"+n.getDate()},getCurrentWeekLastDay:function(){var e=new Date,t=e.getDay()||7,n=new Date(e.getFullYear(),e.getMonth(),e.getDate()+1-t),a=new Date(1e3*(n/1e3+518400)),c=Number(a.getMonth())+1;c<10&&(c="0"+c);var u=a.getDate();return u<10&&(u="0"+u),n.getFullYear()+"/"+c+"/"+u},getmonthfirstday:function(){var e=new Date;e.setDate(1);var t=parseInt(e.getMonth()+1),n=e.getDate();return t<10&&(t="0"+t),n<10&&(n="0"+n),e.getFullYear()+"/"+t+"/"+n},getmonthlastday:function(){var e=new Date,t=e.getMonth(),n=++t,a=new Date(e.getFullYear(),n,1),c=864e5,u=new Date(a-c),i=parseInt(u.getMonth()+1),o=u.getDate();return i<10&&(i="0"+i),o<10&&(o="0"+o),e.getFullYear()+"/"+i+"/"+o},dataURL2blob:function(e){for(var t=atob(e.split(",")[1]),n=new ArrayBuffer(t.length),a=new Uint8Array(n),c=e.split(",")[0].match(/:(.*?);/)[1],u=0,i=t.length;u<i;u++)a[u]=t.charCodeAt(u);var o,r=[a];try{o=new Blob(r,{type:c})}catch(l){if(window.BlobBuilder=window.BlobBuilder||window.WebKitBlobBuilder||window.MozBlobBuilder||window.MSBlobBuilder,"TypeError"!==l.name||!window.BlobBuilder)throw new Error("没救了");var h=new BlobBuilder;h.append(n),o=h.getBlob(type)}return o}}}});
|