Commit 5d0adb19 by 肖康

x

parent 724634ed
Showing with 12 additions and 6 deletions
...@@ -114,7 +114,7 @@ const routes = [ ...@@ -114,7 +114,7 @@ const routes = [
path: '/login', path: '/login',
name: 'Login', name: 'Login',
meta: { meta: {
title: '猎芯网 - 云芯系统登录', title: '猎芯云芯商家-登录',
}, },
component:Login component:Login
......
<!DOCTYPE html><html lang=""><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="//yunxin.ichunt.com/favicon.ico"><title>cloudsystem</title><link href="//yunxin.ichunt.com/css/chunk-0492a5ab.3d6445eb.css" rel="prefetch"><link href="//yunxin.ichunt.com/css/chunk-04adc2b8.c038533f.css" rel="prefetch"><link href="//yunxin.ichunt.com/css/chunk-15e903e6.72a2fc69.css" rel="prefetch"><link href="//yunxin.ichunt.com/css/chunk-35706816.5a95e96d.css" rel="prefetch"><link href="//yunxin.ichunt.com/css/chunk-38f382e0.143c08b9.css" rel="prefetch"><link href="//yunxin.ichunt.com/css/chunk-5a777a60.06914ce1.css" rel="prefetch"><link href="//yunxin.ichunt.com/css/chunk-5e89952e.9970a763.css" rel="prefetch"><link href="//yunxin.ichunt.com/css/chunk-68af1761.12ee92ce.css" rel="prefetch"><link href="//yunxin.ichunt.com/css/chunk-6a1c18a2.a51e2487.css" rel="prefetch"><link href="//yunxin.ichunt.com/css/chunk-6cf25ae4.819b729c.css" rel="prefetch"><link href="//yunxin.ichunt.com/css/chunk-7041f81e.903fb18e.css" rel="prefetch"><link href="//yunxin.ichunt.com/css/chunk-7c271fb9.d938ddcf.css" rel="prefetch"><link href="//yunxin.ichunt.com/css/chunk-89bf742a.fb33d5e6.css" rel="prefetch"><link href="//yunxin.ichunt.com/css/chunk-97cba434.c584dd9b.css" rel="prefetch"><link href="//yunxin.ichunt.com/css/chunk-d09dd692.56dd64bd.css" rel="prefetch"><link href="//yunxin.ichunt.com/css/chunk-f06bc266.a7f65d28.css" rel="prefetch"><link href="//yunxin.ichunt.com/css/chunk-fef16dca.0868bd02.css" rel="prefetch"><link href="//yunxin.ichunt.com/static/js/chunk-0492a5ab.1630654795469.js" rel="prefetch"><link href="//yunxin.ichunt.com/static/js/chunk-04adc2b8.1630654795469.js" rel="prefetch"><link href="//yunxin.ichunt.com/static/js/chunk-15e903e6.1630654795469.js" rel="prefetch"><link href="//yunxin.ichunt.com/static/js/chunk-35706816.1630654795469.js" rel="prefetch"><link href="//yunxin.ichunt.com/static/js/chunk-38f382e0.1630654795469.js" rel="prefetch"><link href="//yunxin.ichunt.com/static/js/chunk-4148ebe3.1630654795469.js" rel="prefetch"><link href="//yunxin.ichunt.com/static/js/chunk-5a777a60.1630654795469.js" rel="prefetch"><link href="//yunxin.ichunt.com/static/js/chunk-5e89952e.1630654795469.js" rel="prefetch"><link href="//yunxin.ichunt.com/static/js/chunk-68af1761.1630654795469.js" rel="prefetch"><link href="//yunxin.ichunt.com/static/js/chunk-6a1c18a2.1630654795469.js" rel="prefetch"><link href="//yunxin.ichunt.com/static/js/chunk-6cf25ae4.1630654795469.js" rel="prefetch"><link href="//yunxin.ichunt.com/static/js/chunk-7041f81e.1630654795469.js" rel="prefetch"><link href="//yunxin.ichunt.com/static/js/chunk-7c271fb9.1630654795469.js" rel="prefetch"><link href="//yunxin.ichunt.com/static/js/chunk-89bf742a.1630654795469.js" rel="prefetch"><link href="//yunxin.ichunt.com/static/js/chunk-97cba434.1630654795469.js" rel="prefetch"><link href="//yunxin.ichunt.com/static/js/chunk-d09dd692.1630654795469.js" rel="prefetch"><link href="//yunxin.ichunt.com/static/js/chunk-f06bc266.1630654795469.js" rel="prefetch"><link href="//yunxin.ichunt.com/static/js/chunk-fef16dca.1630654795469.js" rel="prefetch"><link href="//yunxin.ichunt.com/css/app.0a86e7b1.css" rel="preload" as="style"><link href="//yunxin.ichunt.com/css/chunk-vendors.8ffb1193.css" rel="preload" as="style"><link href="//yunxin.ichunt.com/static/js/app.1630654795469.js" rel="preload" as="script"><link href="//yunxin.ichunt.com/static/js/chunk-vendors.1630654795469.js" rel="preload" as="script"><link href="//yunxin.ichunt.com/css/chunk-vendors.8ffb1193.css" rel="stylesheet"><link href="//yunxin.ichunt.com/css/app.0a86e7b1.css" rel="stylesheet"></head><body><noscript><strong>网络异常,请稍后加载</strong></noscript><div id="app"></div><script>window.userInfo=""</script><script src="//yunxin.ichunt.com/static/js/chunk-vendors.1630654795469.js"></script><script src="//yunxin.ichunt.com/static/js/app.1630654795469.js"></script></body></html> <!DOCTYPE html><html lang=""><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="//yunxin.ichunt.com/favicon.ico"><title>猎芯云芯商家</title><link href="//yunxin.ichunt.com/css/chunk-0492a5ab.3d6445eb.css" rel="prefetch"><link href="//yunxin.ichunt.com/css/chunk-04adc2b8.c038533f.css" rel="prefetch"><link href="//yunxin.ichunt.com/css/chunk-15e903e6.72a2fc69.css" rel="prefetch"><link href="//yunxin.ichunt.com/css/chunk-35706816.5a95e96d.css" rel="prefetch"><link href="//yunxin.ichunt.com/css/chunk-38f382e0.143c08b9.css" rel="prefetch"><link href="//yunxin.ichunt.com/css/chunk-5a777a60.06914ce1.css" rel="prefetch"><link href="//yunxin.ichunt.com/css/chunk-5e89952e.9970a763.css" rel="prefetch"><link href="//yunxin.ichunt.com/css/chunk-68af1761.12ee92ce.css" rel="prefetch"><link href="//yunxin.ichunt.com/css/chunk-6a1c18a2.a51e2487.css" rel="prefetch"><link href="//yunxin.ichunt.com/css/chunk-6cf25ae4.819b729c.css" rel="prefetch"><link href="//yunxin.ichunt.com/css/chunk-7041f81e.903fb18e.css" rel="prefetch"><link href="//yunxin.ichunt.com/css/chunk-7c271fb9.d938ddcf.css" rel="prefetch"><link href="//yunxin.ichunt.com/css/chunk-89bf742a.fb33d5e6.css" rel="prefetch"><link href="//yunxin.ichunt.com/css/chunk-97cba434.c584dd9b.css" rel="prefetch"><link href="//yunxin.ichunt.com/css/chunk-d09dd692.56dd64bd.css" rel="prefetch"><link href="//yunxin.ichunt.com/css/chunk-f06bc266.a7f65d28.css" rel="prefetch"><link href="//yunxin.ichunt.com/css/chunk-fef16dca.0868bd02.css" rel="prefetch"><link href="//yunxin.ichunt.com/static/js/chunk-0492a5ab.1630655893092.js" rel="prefetch"><link href="//yunxin.ichunt.com/static/js/chunk-04adc2b8.1630655893092.js" rel="prefetch"><link href="//yunxin.ichunt.com/static/js/chunk-15e903e6.1630655893092.js" rel="prefetch"><link href="//yunxin.ichunt.com/static/js/chunk-35706816.1630655893092.js" rel="prefetch"><link href="//yunxin.ichunt.com/static/js/chunk-38f382e0.1630655893092.js" rel="prefetch"><link href="//yunxin.ichunt.com/static/js/chunk-4148ebe3.1630655893092.js" rel="prefetch"><link href="//yunxin.ichunt.com/static/js/chunk-5a777a60.1630655893092.js" rel="prefetch"><link href="//yunxin.ichunt.com/static/js/chunk-5e89952e.1630655893092.js" rel="prefetch"><link href="//yunxin.ichunt.com/static/js/chunk-68af1761.1630655893092.js" rel="prefetch"><link href="//yunxin.ichunt.com/static/js/chunk-6a1c18a2.1630655893092.js" rel="prefetch"><link href="//yunxin.ichunt.com/static/js/chunk-6cf25ae4.1630655893092.js" rel="prefetch"><link href="//yunxin.ichunt.com/static/js/chunk-7041f81e.1630655893092.js" rel="prefetch"><link href="//yunxin.ichunt.com/static/js/chunk-7c271fb9.1630655893092.js" rel="prefetch"><link href="//yunxin.ichunt.com/static/js/chunk-89bf742a.1630655893092.js" rel="prefetch"><link href="//yunxin.ichunt.com/static/js/chunk-97cba434.1630655893092.js" rel="prefetch"><link href="//yunxin.ichunt.com/static/js/chunk-d09dd692.1630655893092.js" rel="prefetch"><link href="//yunxin.ichunt.com/static/js/chunk-f06bc266.1630655893092.js" rel="prefetch"><link href="//yunxin.ichunt.com/static/js/chunk-fef16dca.1630655893092.js" rel="prefetch"><link href="//yunxin.ichunt.com/css/app.0a86e7b1.css" rel="preload" as="style"><link href="//yunxin.ichunt.com/css/chunk-vendors.8ffb1193.css" rel="preload" as="style"><link href="//yunxin.ichunt.com/static/js/app.1630655893092.js" rel="preload" as="script"><link href="//yunxin.ichunt.com/static/js/chunk-vendors.1630655893092.js" rel="preload" as="script"><link href="//yunxin.ichunt.com/css/chunk-vendors.8ffb1193.css" rel="stylesheet"><link href="//yunxin.ichunt.com/css/app.0a86e7b1.css" rel="stylesheet"></head><body><noscript><strong>网络异常,请稍后加载</strong></noscript><div id="app"></div><script>window.userInfo=""</script><script src="//yunxin.ichunt.com/static/js/chunk-vendors.1630655893092.js"></script><script src="//yunxin.ichunt.com/static/js/app.1630655893092.js"></script></body></html>
\ No newline at end of file \ No newline at end of file
(function(e){function n(n){for(var a,r,u=n[0],i=n[1],h=n[2],l=0,f=[];l<u.length;l++)r=u[l],Object.prototype.hasOwnProperty.call(c,r)&&c[r]&&f.push(c[r][0]),c[r]=0;for(a in i)Object.prototype.hasOwnProperty.call(i,a)&&(e[a]=i[a]);s&&s(n);while(f.length)f.shift()();return o.push.apply(o,h||[]),t()}function t(){for(var e,n=0;n<o.length;n++){for(var t=o[n],a=!0,r=1;r<t.length;r++){var u=t[r];0!==c[u]&&(a=!1)}a&&(o.splice(n--,1),e=i(i.s=t[0]))}return e}var a={},r={app:0},c={app:0},o=[];function u(e){return i.p+"static/js/"+({}[e]||e)+".1630654795469.js"}function i(n){if(a[n])return a[n].exports;var t=a[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-0492a5ab":1,"chunk-04adc2b8":1,"chunk-15e903e6":1,"chunk-89bf742a":1,"chunk-35706816":1,"chunk-fef16dca":1,"chunk-68af1761":1,"chunk-7c271fb9":1,"chunk-38f382e0":1,"chunk-97cba434":1,"chunk-5a777a60":1,"chunk-5e89952e":1,"chunk-6cf25ae4":1,"chunk-d09dd692":1,"chunk-f06bc266":1,"chunk-6a1c18a2":1,"chunk-7041f81e":1};r[e]?n.push(r[e]):0!==r[e]&&t[e]&&n.push(r[e]=new Promise((function(n,t){for(var a="css/"+({}[e]||e)+"."+{"chunk-0492a5ab":"3d6445eb","chunk-04adc2b8":"c038533f","chunk-15e903e6":"72a2fc69","chunk-4148ebe3":"31d6cfe0","chunk-89bf742a":"fb33d5e6","chunk-35706816":"5a95e96d","chunk-fef16dca":"0868bd02","chunk-68af1761":"12ee92ce","chunk-7c271fb9":"d938ddcf","chunk-38f382e0":"143c08b9","chunk-97cba434":"c584dd9b","chunk-5a777a60":"06914ce1","chunk-5e89952e":"9970a763","chunk-6cf25ae4":"819b729c","chunk-d09dd692":"56dd64bd","chunk-f06bc266":"a7f65d28","chunk-6a1c18a2":"a51e2487","chunk-7041f81e":"903fb18e"}[e]+".css",c=i.p+a,o=document.getElementsByTagName("link"),u=0;u<o.length;u++){var h=o[u],l=h.getAttribute("data-href")||h.getAttribute("href");if("stylesheet"===h.rel&&(l===a||l===c))return n()}var f=document.getElementsByTagName("style");for(u=0;u<f.length;u++){h=f[u],l=h.getAttribute("data-href");if(l===a||l===c)return n()}var s=document.createElement("link");s.rel="stylesheet",s.type="text/css",s.onload=n,s.onerror=function(n){var a=n&&n.target&&n.target.src||c,o=new Error("Loading CSS chunk "+e+" failed.\n("+a+")");o.code="CSS_CHUNK_LOAD_FAILED",o.request=a,delete r[e],s.parentNode.removeChild(s),t(o)},s.href=c;var d=document.getElementsByTagName("head")[0];d.appendChild(s)})).then((function(){r[e]=0})));var a=c[e];if(0!==a)if(a)n.push(a[2]);else{var o=new Promise((function(n,t){a=c[e]=[n,t]}));n.push(a[2]=o);var h,l=document.createElement("script");l.charset="utf-8",l.timeout=120,i.nc&&l.setAttribute("nonce",i.nc),l.src=u(e);var f=new Error;h=function(n){l.onerror=l.onload=null,clearTimeout(s);var t=c[e];if(0!==t){if(t){var a=n&&("load"===n.type?"missing":n.type),r=n&&n.target&&n.target.src;f.message="Loading chunk "+e+" failed.\n("+a+": "+r+")",f.name="ChunkLoadError",f.type=a,f.request=r,t[1](f)}c[e]=void 0}};var s=setTimeout((function(){h({type:"timeout",target:l})}),12e4);l.onerror=l.onload=h,document.head.appendChild(l)}return Promise.all(n)},i.m=e,i.c=a,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 a in e)i.d(t,a,function(n){return e[n]}.bind(null,a));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="//yunxin.ichunt.com/",i.oe=function(e){throw console.error(e),e};var h=window["webpackJsonp"]=window["webpackJsonp"]||[],l=h.push.bind(h);h.push=n,h=h.slice();for(var f=0;f<h.length;f++)n(h[f]);var s=l;o.push([0,"chunk-vendors"]),t()})({0:function(e,n,t){e.exports=t("56d7")},1:function(e,n){},"25aa":function(e,n,t){},"56d7":function(e,n,t){"use strict";t.r(n);t("e260"),t("e6cf"),t("cca6"),t("a79d"),t("159b"),t("b64b"),t("4de4"),t("d3b7");var a=t("2b0e"),r=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("div",{attrs:{id:"app"}},[t("keep-alive",{attrs:{exclude:"InquireDetail,ListDetail"}},[t("router-view",{staticClass:"router-view"})],1)],1)},c=[],o={name:"app"},u=o,i=t("2877"),h=Object(i["a"])(u,r,c,!1,null,null,null),l=h.exports,f=t("8c4f");a["default"].use(f["a"]);var s,d=function(e){return Promise.all([t.e("chunk-15e903e6"),t.e("chunk-4148ebe3"),t.e("chunk-89bf742a"),t.e("chunk-35706816")]).then(function(){var n=[t("b30e")];e.apply(null,n)}.bind(this)).catch(t.oe)},p=function(e){return Promise.all([t.e("chunk-15e903e6"),t.e("chunk-4148ebe3"),t.e("chunk-fef16dca"),t.e("chunk-89bf742a"),t.e("chunk-6cf25ae4")]).then(function(){var n=[t("a7e6")];e.apply(null,n)}.bind(this)).catch(t.oe)},b=function(e){return Promise.all([t.e("chunk-15e903e6"),t.e("chunk-4148ebe3"),t.e("chunk-fef16dca"),t.e("chunk-89bf742a"),t.e("chunk-5a777a60")]).then(function(){var n=[t("872f")];e.apply(null,n)}.bind(this)).catch(t.oe)},m=function(e){return Promise.all([t.e("chunk-15e903e6"),t.e("chunk-4148ebe3"),t.e("chunk-fef16dca"),t.e("chunk-89bf742a"),t.e("chunk-5e89952e")]).then(function(){var n=[t("5962")];e.apply(null,n)}.bind(this)).catch(t.oe)},k=function(e){return Promise.all([t.e("chunk-15e903e6"),t.e("chunk-4148ebe3"),t.e("chunk-fef16dca"),t.e("chunk-7c271fb9"),t.e("chunk-97cba434")]).then(function(){var n=[t("fc42")];e.apply(null,n)}.bind(this)).catch(t.oe)},v=function(e){return Promise.all([t.e("chunk-15e903e6"),t.e("chunk-4148ebe3"),t.e("chunk-fef16dca"),t.e("chunk-89bf742a"),t.e("chunk-f06bc266")]).then(function(){var n=[t("65477")];e.apply(null,n)}.bind(this)).catch(t.oe)},g=function(e){return Promise.all([t.e("chunk-15e903e6"),t.e("chunk-4148ebe3"),t.e("chunk-fef16dca"),t.e("chunk-68af1761")]).then(function(){var n=[t("f2d5")];e.apply(null,n)}.bind(this)).catch(t.oe)},y=function(e){return Promise.all([t.e("chunk-15e903e6"),t.e("chunk-4148ebe3"),t.e("chunk-fef16dca"),t.e("chunk-89bf742a"),t.e("chunk-d09dd692")]).then(function(){var n=[t("e6d3")];e.apply(null,n)}.bind(this)).catch(t.oe)},w=function(e){return Promise.all([t.e("chunk-15e903e6"),t.e("chunk-4148ebe3"),t.e("chunk-fef16dca"),t.e("chunk-7c271fb9"),t.e("chunk-38f382e0")]).then(function(){var n=[t("2e26")];e.apply(null,n)}.bind(this)).catch(t.oe)},P=function(e){return Promise.all([t.e("chunk-15e903e6"),t.e("chunk-6a1c18a2")]).then(function(){var n=[t("d75c")];e.apply(null,n)}.bind(this)).catch(t.oe)},E=function(e){return t.e("chunk-04adc2b8").then(function(){var n=[t("812b")];e.apply(null,n)}.bind(this)).catch(t.oe)},O=function(e){return t.e("chunk-0492a5ab").then(function(){var n=[t("460e")];e.apply(null,n)}.bind(this)).catch(t.oe)},S=function(e){return t.e("chunk-7041f81e").then(function(){var n=[t("8f14")];e.apply(null,n)}.bind(this)).catch(t.oe)},T=[{path:"/",name:"Index",meta:{title:"概况"},component:d},{path:"/inquire",name:"Inquire",meta:{title:"询价管理"},component:p},{path:"/inquire/detail",name:"InquireDetail",meta:{title:"报价详情"},component:b},{path:"/quote",name:"Quote",meta:{title:"报价管理"},component:m},{path:"/brand",name:"Brand",meta:{title:"品牌列表"},component:k},{path:"/list",name:"List",meta:{title:"库存列表"},component:v},{path:"/listDetail",name:"ListDetail",meta:{title:"导入详情"},component:g},{path:"/enter",name:"Enter",meta:{title:"库存导入"},component:y},{path:"/goods",name:"Goods",meta:{title:"商品列表"},component:w},{path:"/message",name:"Message",meta:{title:"基本信息"},component:P},{path:"/login",name:"Login",meta:{title:"猎芯网 - 云芯系统登录"},component:E},{path:"/notfound",name:"notfound",meta:{title:"猎芯网"},component:O},{path:"/bindError",name:"BindError",meta:{title:"微信重新绑定"},component:S},{path:"*",redirect:"/"}],q=new f["a"]({mode:"hash",base:"//yunxin.ichunt.com/",routes:T}),j=q,x=t("bca6"),C=(t("a9e3"),function(e){var n=Number(e);return n||0}),I={dateTimeFormate:x["a"],floatZero:C},_=(t("b680"),{bind:function(e,n){e.addEventListener("click",(function(){var e=document.querySelector(".container-wrap").scrollTop,n=(e/100).toFixed(0),t=setInterval((function(){e-=n,e<=0&&(e=0,clearInterval(t)),document.querySelector(".container-wrap").scrollTop=e}),1)}),!1)}}),D={install:function(e){e.directive("backTop",_)}},L=t("9aea"),N=t("bc3a"),M=t.n(N),A=(t("be4f"),t("450d"),t("896a")),B=t.n(A),J=0,F=function(){s=B.a.service({lock:!0,background:"rgba(255, 255, 255, 0)"})},G=function(){s.close()},R=function(){0===J&&F(),J+=1},U=function(){J<=0||(J-=1,0===J&&G())},$=t("e8d6");t("5eb7"),t("25aa");a["default"].config.productionTip=!1,Object.keys(I).forEach((function(e){return a["default"].filter(e,I[e])})),a["default"].use(D),j.afterEach((function(e,n,t){if("/"!=e.path&&"/login"!=e.path&&"/notfound"!=e.path&&"/bindError"!=e.path){var a,r=sessionStorage.getItem("tabs"),c=[];if(r){a=JSON.parse(r);for(var o=0;o<a.length;o++)c.push(JSON.stringify(a[o]));-1==c.indexOf(JSON.stringify({path:e.path,title:e.meta.title,query:e.query}))&&a.push({path:e.path,title:e.meta.title,query:e.query})}else a=[{path:e.path,title:e.meta.title,query:e.query}];a&&sessionStorage.setItem("tabs",JSON.stringify(a))}})),M.a.interceptors.request.use((function(e){return e.loading&&R(),e}),(function(e){return Promise.reject(e)})),M.a.interceptors.response.use((function(e){if(U(),101==e.data.err_code){var n=window.location.hash;n=n.substr(1),console.log(n),window.location.href="/#/login?referer="+encodeURI(n)}return e.data}),(function(e){return U(),Promise.reject(new Error(e))})),a["default"].prototype.$http=L["b"],j.beforeEach((function(e,n,t){if("/login"==e.path||"/notfound"==e.path||"/bindError"==e.path)t();else{var a=$["a"].getCookie("token")||"";if(a)t();else{window.userInfo="";var r=window.location.hash;r=r.substr(1),window.location.href="/#/login?referer="+encodeURI(r),history.go(0)}}})),new a["default"]({router:j,render:function(e){return e(l)}}).$mount("#app")},"5eb7":function(e,n,t){},"9aea":function(e,n,t){"use strict";t.d(n,"a",(function(){return l})),t.d(n,"b",(function(){return f}));var a=t("53ca"),r=(t("99af"),t("bc3a")),c=t.n(r),o=t("4328"),u=t.n(o),i=t("e8d6"),h="production",l="/";switch(h){case"development":l="http://192.168.1.30:8080";break;case"test":l="http://cloud.liexindev.net";break;case"production":l="//cloud.ichunt.com";break}var f=function(e,n,t,r){t=t&&"object"===Object(a["a"])(t)?t:{};var o=i["a"].getCookie("token")||"",h={url:"".concat(l).concat(n),method:e,transformRequest:[function(e){return u.a.stringify(e)}],loading:!r};return"/auth/cp"!=n&&"/auth/login"!=n&&(h.headers={Authorization:"Bearer "+o}),"post"==e||"POST"==e?h.data=t:"get"!==e&&"GET"!=e||(h.params=t),c()(h)}},bca6:function(e,n,t){"use strict";t.d(n,"a",(function(){return a}));var a=function(e){var n=new Date(1e3*e);function t(e){return e<10&&(e="0"+e),e}var a=n.getFullYear(),r=n.getMonth()+1,c=n.getDate(),o=n.getHours(),u=n.getMinutes(),i=n.getSeconds();return a+"-"+t(r)+"-"+t(c)+" "+t(o)+":"+t(u)+":"+t(i)}},e8d6:function(e,n,t){"use strict";t("ac1f"),t("1276");n["a"]={setCookie:function(e,n,t,a){a=a?";domain="+a:"";var r=t,c=new Date;return c.setTime(c.getTime()+24*r*60*60*1e3),document.cookie=e+"="+encodeURIComponent(n)+";expires="+c.toGMTString()+";path=/"+a,!0},getCookie:function(e){for(var n=document.cookie,t=n.split("; "),a=0;a<t.length;a++){var r=t[a].split("=");if(e==r[0])return r[1]}return null},delCookie:function(e){var n=new Date;n.setTime(n.getTime()-1);var t=this.getCookie(e);null!=t&&(document.cookie=e+"="+t+";expires="+n.toGMTString())}}}}); (function(e){function n(n){for(var a,r,u=n[0],i=n[1],h=n[2],l=0,f=[];l<u.length;l++)r=u[l],Object.prototype.hasOwnProperty.call(c,r)&&c[r]&&f.push(c[r][0]),c[r]=0;for(a in i)Object.prototype.hasOwnProperty.call(i,a)&&(e[a]=i[a]);s&&s(n);while(f.length)f.shift()();return o.push.apply(o,h||[]),t()}function t(){for(var e,n=0;n<o.length;n++){for(var t=o[n],a=!0,r=1;r<t.length;r++){var u=t[r];0!==c[u]&&(a=!1)}a&&(o.splice(n--,1),e=i(i.s=t[0]))}return e}var a={},r={app:0},c={app:0},o=[];function u(e){return i.p+"static/js/"+({}[e]||e)+".1630655893092.js"}function i(n){if(a[n])return a[n].exports;var t=a[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-0492a5ab":1,"chunk-04adc2b8":1,"chunk-15e903e6":1,"chunk-89bf742a":1,"chunk-35706816":1,"chunk-fef16dca":1,"chunk-68af1761":1,"chunk-7c271fb9":1,"chunk-38f382e0":1,"chunk-97cba434":1,"chunk-5a777a60":1,"chunk-5e89952e":1,"chunk-6cf25ae4":1,"chunk-d09dd692":1,"chunk-f06bc266":1,"chunk-6a1c18a2":1,"chunk-7041f81e":1};r[e]?n.push(r[e]):0!==r[e]&&t[e]&&n.push(r[e]=new Promise((function(n,t){for(var a="css/"+({}[e]||e)+"."+{"chunk-0492a5ab":"3d6445eb","chunk-04adc2b8":"c038533f","chunk-15e903e6":"72a2fc69","chunk-4148ebe3":"31d6cfe0","chunk-89bf742a":"fb33d5e6","chunk-35706816":"5a95e96d","chunk-fef16dca":"0868bd02","chunk-68af1761":"12ee92ce","chunk-7c271fb9":"d938ddcf","chunk-38f382e0":"143c08b9","chunk-97cba434":"c584dd9b","chunk-5a777a60":"06914ce1","chunk-5e89952e":"9970a763","chunk-6cf25ae4":"819b729c","chunk-d09dd692":"56dd64bd","chunk-f06bc266":"a7f65d28","chunk-6a1c18a2":"a51e2487","chunk-7041f81e":"903fb18e"}[e]+".css",c=i.p+a,o=document.getElementsByTagName("link"),u=0;u<o.length;u++){var h=o[u],l=h.getAttribute("data-href")||h.getAttribute("href");if("stylesheet"===h.rel&&(l===a||l===c))return n()}var f=document.getElementsByTagName("style");for(u=0;u<f.length;u++){h=f[u],l=h.getAttribute("data-href");if(l===a||l===c)return n()}var s=document.createElement("link");s.rel="stylesheet",s.type="text/css",s.onload=n,s.onerror=function(n){var a=n&&n.target&&n.target.src||c,o=new Error("Loading CSS chunk "+e+" failed.\n("+a+")");o.code="CSS_CHUNK_LOAD_FAILED",o.request=a,delete r[e],s.parentNode.removeChild(s),t(o)},s.href=c;var d=document.getElementsByTagName("head")[0];d.appendChild(s)})).then((function(){r[e]=0})));var a=c[e];if(0!==a)if(a)n.push(a[2]);else{var o=new Promise((function(n,t){a=c[e]=[n,t]}));n.push(a[2]=o);var h,l=document.createElement("script");l.charset="utf-8",l.timeout=120,i.nc&&l.setAttribute("nonce",i.nc),l.src=u(e);var f=new Error;h=function(n){l.onerror=l.onload=null,clearTimeout(s);var t=c[e];if(0!==t){if(t){var a=n&&("load"===n.type?"missing":n.type),r=n&&n.target&&n.target.src;f.message="Loading chunk "+e+" failed.\n("+a+": "+r+")",f.name="ChunkLoadError",f.type=a,f.request=r,t[1](f)}c[e]=void 0}};var s=setTimeout((function(){h({type:"timeout",target:l})}),12e4);l.onerror=l.onload=h,document.head.appendChild(l)}return Promise.all(n)},i.m=e,i.c=a,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 a in e)i.d(t,a,function(n){return e[n]}.bind(null,a));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="//yunxin.ichunt.com/",i.oe=function(e){throw console.error(e),e};var h=window["webpackJsonp"]=window["webpackJsonp"]||[],l=h.push.bind(h);h.push=n,h=h.slice();for(var f=0;f<h.length;f++)n(h[f]);var s=l;o.push([0,"chunk-vendors"]),t()})({0:function(e,n,t){e.exports=t("56d7")},1:function(e,n){},"25aa":function(e,n,t){},"56d7":function(e,n,t){"use strict";t.r(n);t("e260"),t("e6cf"),t("cca6"),t("a79d"),t("159b"),t("b64b"),t("4de4"),t("d3b7");var a=t("2b0e"),r=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("div",{attrs:{id:"app"}},[t("keep-alive",{attrs:{exclude:"InquireDetail,ListDetail"}},[t("router-view",{staticClass:"router-view"})],1)],1)},c=[],o={name:"app"},u=o,i=t("2877"),h=Object(i["a"])(u,r,c,!1,null,null,null),l=h.exports,f=t("8c4f");a["default"].use(f["a"]);var s,d=function(e){return Promise.all([t.e("chunk-15e903e6"),t.e("chunk-4148ebe3"),t.e("chunk-89bf742a"),t.e("chunk-35706816")]).then(function(){var n=[t("b30e")];e.apply(null,n)}.bind(this)).catch(t.oe)},p=function(e){return Promise.all([t.e("chunk-15e903e6"),t.e("chunk-4148ebe3"),t.e("chunk-fef16dca"),t.e("chunk-89bf742a"),t.e("chunk-6cf25ae4")]).then(function(){var n=[t("a7e6")];e.apply(null,n)}.bind(this)).catch(t.oe)},b=function(e){return Promise.all([t.e("chunk-15e903e6"),t.e("chunk-4148ebe3"),t.e("chunk-fef16dca"),t.e("chunk-89bf742a"),t.e("chunk-5a777a60")]).then(function(){var n=[t("872f")];e.apply(null,n)}.bind(this)).catch(t.oe)},m=function(e){return Promise.all([t.e("chunk-15e903e6"),t.e("chunk-4148ebe3"),t.e("chunk-fef16dca"),t.e("chunk-89bf742a"),t.e("chunk-5e89952e")]).then(function(){var n=[t("5962")];e.apply(null,n)}.bind(this)).catch(t.oe)},k=function(e){return Promise.all([t.e("chunk-15e903e6"),t.e("chunk-4148ebe3"),t.e("chunk-fef16dca"),t.e("chunk-7c271fb9"),t.e("chunk-97cba434")]).then(function(){var n=[t("fc42")];e.apply(null,n)}.bind(this)).catch(t.oe)},v=function(e){return Promise.all([t.e("chunk-15e903e6"),t.e("chunk-4148ebe3"),t.e("chunk-fef16dca"),t.e("chunk-89bf742a"),t.e("chunk-f06bc266")]).then(function(){var n=[t("65477")];e.apply(null,n)}.bind(this)).catch(t.oe)},g=function(e){return Promise.all([t.e("chunk-15e903e6"),t.e("chunk-4148ebe3"),t.e("chunk-fef16dca"),t.e("chunk-68af1761")]).then(function(){var n=[t("f2d5")];e.apply(null,n)}.bind(this)).catch(t.oe)},y=function(e){return Promise.all([t.e("chunk-15e903e6"),t.e("chunk-4148ebe3"),t.e("chunk-fef16dca"),t.e("chunk-89bf742a"),t.e("chunk-d09dd692")]).then(function(){var n=[t("e6d3")];e.apply(null,n)}.bind(this)).catch(t.oe)},w=function(e){return Promise.all([t.e("chunk-15e903e6"),t.e("chunk-4148ebe3"),t.e("chunk-fef16dca"),t.e("chunk-7c271fb9"),t.e("chunk-38f382e0")]).then(function(){var n=[t("2e26")];e.apply(null,n)}.bind(this)).catch(t.oe)},P=function(e){return Promise.all([t.e("chunk-15e903e6"),t.e("chunk-6a1c18a2")]).then(function(){var n=[t("d75c")];e.apply(null,n)}.bind(this)).catch(t.oe)},E=function(e){return t.e("chunk-04adc2b8").then(function(){var n=[t("812b")];e.apply(null,n)}.bind(this)).catch(t.oe)},O=function(e){return t.e("chunk-0492a5ab").then(function(){var n=[t("460e")];e.apply(null,n)}.bind(this)).catch(t.oe)},S=function(e){return t.e("chunk-7041f81e").then(function(){var n=[t("8f14")];e.apply(null,n)}.bind(this)).catch(t.oe)},T=[{path:"/",name:"Index",meta:{title:"概况"},component:d},{path:"/inquire",name:"Inquire",meta:{title:"询价管理"},component:p},{path:"/inquire/detail",name:"InquireDetail",meta:{title:"报价详情"},component:b},{path:"/quote",name:"Quote",meta:{title:"报价管理"},component:m},{path:"/brand",name:"Brand",meta:{title:"品牌列表"},component:k},{path:"/list",name:"List",meta:{title:"库存列表"},component:v},{path:"/listDetail",name:"ListDetail",meta:{title:"导入详情"},component:g},{path:"/enter",name:"Enter",meta:{title:"库存导入"},component:y},{path:"/goods",name:"Goods",meta:{title:"商品列表"},component:w},{path:"/message",name:"Message",meta:{title:"基本信息"},component:P},{path:"/login",name:"Login",meta:{title:"猎芯云芯商家-登录"},component:E},{path:"/notfound",name:"notfound",meta:{title:"猎芯网"},component:O},{path:"/bindError",name:"BindError",meta:{title:"微信重新绑定"},component:S},{path:"*",redirect:"/"}],q=new f["a"]({mode:"hash",base:"//yunxin.ichunt.com/",routes:T}),j=q,x=t("bca6"),C=(t("a9e3"),function(e){var n=Number(e);return n||0}),I={dateTimeFormate:x["a"],floatZero:C},_=(t("b680"),{bind:function(e,n){e.addEventListener("click",(function(){var e=document.querySelector(".container-wrap").scrollTop,n=(e/100).toFixed(0),t=setInterval((function(){e-=n,e<=0&&(e=0,clearInterval(t)),document.querySelector(".container-wrap").scrollTop=e}),1)}),!1)}}),D={install:function(e){e.directive("backTop",_)}},L=t("9aea"),N=t("bc3a"),M=t.n(N),A=(t("be4f"),t("450d"),t("896a")),B=t.n(A),J=0,F=function(){s=B.a.service({lock:!0,background:"rgba(255, 255, 255, 0)"})},G=function(){s.close()},R=function(){0===J&&F(),J+=1},U=function(){J<=0||(J-=1,0===J&&G())},$=t("e8d6");t("5eb7"),t("25aa");a["default"].config.productionTip=!1,Object.keys(I).forEach((function(e){return a["default"].filter(e,I[e])})),a["default"].use(D),j.afterEach((function(e,n,t){if("/"!=e.path&&"/login"!=e.path&&"/notfound"!=e.path&&"/bindError"!=e.path){var a,r=sessionStorage.getItem("tabs"),c=[];if(r){a=JSON.parse(r);for(var o=0;o<a.length;o++)c.push(JSON.stringify(a[o]));-1==c.indexOf(JSON.stringify({path:e.path,title:e.meta.title,query:e.query}))&&a.push({path:e.path,title:e.meta.title,query:e.query})}else a=[{path:e.path,title:e.meta.title,query:e.query}];a&&sessionStorage.setItem("tabs",JSON.stringify(a))}})),M.a.interceptors.request.use((function(e){return e.loading&&R(),e}),(function(e){return Promise.reject(e)})),M.a.interceptors.response.use((function(e){if(U(),101==e.data.err_code){var n=window.location.hash;n=n.substr(1),console.log(n),window.location.href="/#/login?referer="+encodeURI(n)}return e.data}),(function(e){return U(),Promise.reject(new Error(e))})),a["default"].prototype.$http=L["b"],j.beforeEach((function(e,n,t){if("/login"==e.path||"/notfound"==e.path||"/bindError"==e.path)t();else{var a=$["a"].getCookie("token")||"";if(a)t();else{window.userInfo="";var r=window.location.hash;r=r.substr(1),window.location.href="/#/login?referer="+encodeURI(r),history.go(0)}}})),new a["default"]({router:j,render:function(e){return e(l)}}).$mount("#app")},"5eb7":function(e,n,t){},"9aea":function(e,n,t){"use strict";t.d(n,"a",(function(){return l})),t.d(n,"b",(function(){return f}));var a=t("53ca"),r=(t("99af"),t("bc3a")),c=t.n(r),o=t("4328"),u=t.n(o),i=t("e8d6"),h="production",l="/";switch(h){case"development":l="http://192.168.1.30:8080";break;case"test":l="http://cloud.liexindev.net";break;case"production":l="//cloud.ichunt.com";break}var f=function(e,n,t,r){t=t&&"object"===Object(a["a"])(t)?t:{};var o=i["a"].getCookie("token")||"",h={url:"".concat(l).concat(n),method:e,transformRequest:[function(e){return u.a.stringify(e)}],loading:!r};return"/auth/cp"!=n&&"/auth/login"!=n&&(h.headers={Authorization:"Bearer "+o}),"post"==e||"POST"==e?h.data=t:"get"!==e&&"GET"!=e||(h.params=t),c()(h)}},bca6:function(e,n,t){"use strict";t.d(n,"a",(function(){return a}));var a=function(e){var n=new Date(1e3*e);function t(e){return e<10&&(e="0"+e),e}var a=n.getFullYear(),r=n.getMonth()+1,c=n.getDate(),o=n.getHours(),u=n.getMinutes(),i=n.getSeconds();return a+"-"+t(r)+"-"+t(c)+" "+t(o)+":"+t(u)+":"+t(i)}},e8d6:function(e,n,t){"use strict";t("ac1f"),t("1276");n["a"]={setCookie:function(e,n,t,a){a=a?";domain="+a:"";var r=t,c=new Date;return c.setTime(c.getTime()+24*r*60*60*1e3),document.cookie=e+"="+encodeURIComponent(n)+";expires="+c.toGMTString()+";path=/"+a,!0},getCookie:function(e){for(var n=document.cookie,t=n.split("; "),a=0;a<t.length;a++){var r=t[a].split("=");if(e==r[0])return r[1]}return null},delCookie:function(e){var n=new Date;n.setTime(n.getTime()-1);var t=this.getCookie(e);null!=t&&(document.cookie=e+"="+t+";expires="+n.toGMTString())}}}});
\ No newline at end of file \ No newline at end of file
...@@ -24,7 +24,13 @@ module.exports = { ...@@ -24,7 +24,13 @@ module.exports = {
outputDir: 'view', outputDir: 'view',
productionSourceMap: false, productionSourceMap: false,
chainWebpack: config => { chainWebpack: config => {
},
chainWebpack: config => {
config.plugin('html').tap(args => {
args[0].title= '猎芯云芯商家'
return args
})
config.output.filename('[name].[hash].js').end(); config.output.filename('[name].[hash].js').end();
}, },
......
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 sign in to comment