Commit 908a7424 by liangjianmin

js

parent 7c228b0b
Showing with 6 additions and 6 deletions
No preview for this file type
......@@ -15,7 +15,7 @@ export let NODE_ENVS = "/";
switch (envs) {
case 'development':
//开发环境
NODE_ENVS = 'http://192.168.1.30:8080';
NODE_ENVS = 'http://192.168.1.224:8080';
break;
case 'test':
//测试环境
......
......@@ -23,7 +23,7 @@
<span class="el-icon-refresh icon" style="position:relative;top:3px;"></span>
</a>
<div class="line"></div>
<a href="#" class="fl" target="_blank"><span class="icon iconfont fl"></span></a>
<a href="/云芯操作手册.pdf" class="fl" target="_blank" title="操作手册"><span class="icon iconfont fl"></span></a>
<div class="line"></div>
<div class="login-v fl">
<img class="fl" :src="userinfo.avatar||'https://www.ichunt.com/v3/dist/res/home/images/headimg/boy1.png'"
......
<!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-09cb4ae8.b71ebd2f.css" rel="prefetch"><link href="//yunxin.ichunt.com/css/chunk-1b5b7edc.d938ddcf.css" rel="prefetch"><link href="//yunxin.ichunt.com/css/chunk-1f1d09b0.fb33d5e6.css" rel="prefetch"><link href="//yunxin.ichunt.com/css/chunk-1f98229c.b7dbb9bc.css" rel="prefetch"><link href="//yunxin.ichunt.com/css/chunk-25ac136c.903fb18e.css" rel="prefetch"><link href="//yunxin.ichunt.com/css/chunk-284b2208.f146077b.css" rel="prefetch"><link href="//yunxin.ichunt.com/css/chunk-288fe952.62f4a50e.css" rel="prefetch"><link href="//yunxin.ichunt.com/css/chunk-296911be.bb7545e5.css" rel="prefetch"><link href="//yunxin.ichunt.com/css/chunk-2e1aef6e.8886942d.css" rel="prefetch"><link href="//yunxin.ichunt.com/css/chunk-2ed520c1.588e48a9.css" rel="prefetch"><link href="//yunxin.ichunt.com/css/chunk-36bc79d4.e6d75a1f.css" rel="prefetch"><link href="//yunxin.ichunt.com/css/chunk-464fcfec.128f9899.css" rel="prefetch"><link href="//yunxin.ichunt.com/css/chunk-61379a30.3d6445eb.css" rel="prefetch"><link href="//yunxin.ichunt.com/css/chunk-6257fb96.195447e9.css" rel="prefetch"><link href="//yunxin.ichunt.com/css/chunk-6766dae0.eff85fa1.css" rel="prefetch"><link href="//yunxin.ichunt.com/css/chunk-767781bc.cea3a61d.css" rel="prefetch"><link href="//yunxin.ichunt.com/css/chunk-8c7f0cae.b6cda0c4.css" rel="prefetch"><link href="//yunxin.ichunt.com/static/js/chunk-09cb4ae8.1623117350841.js" rel="prefetch"><link href="//yunxin.ichunt.com/static/js/chunk-0a21860e.1623117350841.js" rel="prefetch"><link href="//yunxin.ichunt.com/static/js/chunk-1b5b7edc.1623117350841.js" rel="prefetch"><link href="//yunxin.ichunt.com/static/js/chunk-1f1d09b0.1623117350841.js" rel="prefetch"><link href="//yunxin.ichunt.com/static/js/chunk-1f98229c.1623117350841.js" rel="prefetch"><link href="//yunxin.ichunt.com/static/js/chunk-25ac136c.1623117350841.js" rel="prefetch"><link href="//yunxin.ichunt.com/static/js/chunk-284b2208.1623117350841.js" rel="prefetch"><link href="//yunxin.ichunt.com/static/js/chunk-288fe952.1623117350841.js" rel="prefetch"><link href="//yunxin.ichunt.com/static/js/chunk-296911be.1623117350841.js" rel="prefetch"><link href="//yunxin.ichunt.com/static/js/chunk-2e1aef6e.1623117350841.js" rel="prefetch"><link href="//yunxin.ichunt.com/static/js/chunk-2ed520c1.1623117350841.js" rel="prefetch"><link href="//yunxin.ichunt.com/static/js/chunk-36bc79d4.1623117350841.js" rel="prefetch"><link href="//yunxin.ichunt.com/static/js/chunk-464fcfec.1623117350841.js" rel="prefetch"><link href="//yunxin.ichunt.com/static/js/chunk-61379a30.1623117350841.js" rel="prefetch"><link href="//yunxin.ichunt.com/static/js/chunk-6257fb96.1623117350841.js" rel="prefetch"><link href="//yunxin.ichunt.com/static/js/chunk-6766dae0.1623117350841.js" rel="prefetch"><link href="//yunxin.ichunt.com/static/js/chunk-767781bc.1623117350841.js" rel="prefetch"><link href="//yunxin.ichunt.com/static/js/chunk-8c7f0cae.1623117350841.js" rel="prefetch"><link href="//yunxin.ichunt.com/css/app.1ef93a8e.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.1623117350841.js" rel="preload" as="script"><link href="//yunxin.ichunt.com/static/js/chunk-vendors.1623117350841.js" rel="preload" as="script"><link href="//yunxin.ichunt.com/css/chunk-vendors.8ffb1193.css" rel="stylesheet"><link href="//yunxin.ichunt.com/css/app.1ef93a8e.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.1623117350841.js"></script><script src="//yunxin.ichunt.com/static/js/app.1623117350841.js"></script></body></html>
\ No newline at end of file
<!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-09cb4ae8.b71ebd2f.css" rel="prefetch"><link href="//yunxin.ichunt.com/css/chunk-1b5b7edc.d938ddcf.css" rel="prefetch"><link href="//yunxin.ichunt.com/css/chunk-1f1d09b0.fb33d5e6.css" rel="prefetch"><link href="//yunxin.ichunt.com/css/chunk-1f98229c.b7dbb9bc.css" rel="prefetch"><link href="//yunxin.ichunt.com/css/chunk-25ac136c.903fb18e.css" rel="prefetch"><link href="//yunxin.ichunt.com/css/chunk-284b2208.f146077b.css" rel="prefetch"><link href="//yunxin.ichunt.com/css/chunk-288fe952.62f4a50e.css" rel="prefetch"><link href="//yunxin.ichunt.com/css/chunk-296911be.bb7545e5.css" rel="prefetch"><link href="//yunxin.ichunt.com/css/chunk-2e1aef6e.8886942d.css" rel="prefetch"><link href="//yunxin.ichunt.com/css/chunk-2ed520c1.588e48a9.css" rel="prefetch"><link href="//yunxin.ichunt.com/css/chunk-36bc79d4.e6d75a1f.css" rel="prefetch"><link href="//yunxin.ichunt.com/css/chunk-464fcfec.128f9899.css" rel="prefetch"><link href="//yunxin.ichunt.com/css/chunk-61379a30.3d6445eb.css" rel="prefetch"><link href="//yunxin.ichunt.com/css/chunk-6257fb96.195447e9.css" rel="prefetch"><link href="//yunxin.ichunt.com/css/chunk-6766dae0.eff85fa1.css" rel="prefetch"><link href="//yunxin.ichunt.com/css/chunk-767781bc.cea3a61d.css" rel="prefetch"><link href="//yunxin.ichunt.com/css/chunk-8c7f0cae.b6cda0c4.css" rel="prefetch"><link href="//yunxin.ichunt.com/static/js/chunk-09cb4ae8.1623220686078.js" rel="prefetch"><link href="//yunxin.ichunt.com/static/js/chunk-0a21860e.1623220686078.js" rel="prefetch"><link href="//yunxin.ichunt.com/static/js/chunk-1b5b7edc.1623220686078.js" rel="prefetch"><link href="//yunxin.ichunt.com/static/js/chunk-1f1d09b0.1623220686078.js" rel="prefetch"><link href="//yunxin.ichunt.com/static/js/chunk-1f98229c.1623220686078.js" rel="prefetch"><link href="//yunxin.ichunt.com/static/js/chunk-25ac136c.1623220686078.js" rel="prefetch"><link href="//yunxin.ichunt.com/static/js/chunk-284b2208.1623220686078.js" rel="prefetch"><link href="//yunxin.ichunt.com/static/js/chunk-288fe952.1623220686078.js" rel="prefetch"><link href="//yunxin.ichunt.com/static/js/chunk-296911be.1623220686078.js" rel="prefetch"><link href="//yunxin.ichunt.com/static/js/chunk-2e1aef6e.1623220686078.js" rel="prefetch"><link href="//yunxin.ichunt.com/static/js/chunk-2ed520c1.1623220686078.js" rel="prefetch"><link href="//yunxin.ichunt.com/static/js/chunk-36bc79d4.1623220686078.js" rel="prefetch"><link href="//yunxin.ichunt.com/static/js/chunk-464fcfec.1623220686078.js" rel="prefetch"><link href="//yunxin.ichunt.com/static/js/chunk-61379a30.1623220686078.js" rel="prefetch"><link href="//yunxin.ichunt.com/static/js/chunk-6257fb96.1623220686078.js" rel="prefetch"><link href="//yunxin.ichunt.com/static/js/chunk-6766dae0.1623220686078.js" rel="prefetch"><link href="//yunxin.ichunt.com/static/js/chunk-767781bc.1623220686078.js" rel="prefetch"><link href="//yunxin.ichunt.com/static/js/chunk-8c7f0cae.1623220686078.js" rel="prefetch"><link href="//yunxin.ichunt.com/css/app.1ef93a8e.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.1623220686078.js" rel="preload" as="script"><link href="//yunxin.ichunt.com/static/js/chunk-vendors.1623220686078.js" rel="preload" as="script"><link href="//yunxin.ichunt.com/css/chunk-vendors.8ffb1193.css" rel="stylesheet"><link href="//yunxin.ichunt.com/css/app.1ef93a8e.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.1623220686078.js"></script><script src="//yunxin.ichunt.com/static/js/app.1623220686078.js"></script></body></html>
\ No newline at end of file
(function(e){function n(n){for(var c,r,u=n[0],i=n[1],f=n[2],h=0,l=[];h<u.length;h++)r=u[h],Object.prototype.hasOwnProperty.call(a,r)&&a[r]&&l.push(a[r][0]),a[r]=0;for(c in i)Object.prototype.hasOwnProperty.call(i,c)&&(e[c]=i[c]);s&&s(n);while(l.length)l.shift()();return o.push.apply(o,f||[]),t()}function t(){for(var e,n=0;n<o.length;n++){for(var t=o[n],c=!0,r=1;r<t.length;r++){var u=t[r];0!==a[u]&&(c=!1)}c&&(o.splice(n--,1),e=i(i.s=t[0]))}return e}var c={},r={app:0},a={app:0},o=[];function u(e){return i.p+"static/js/"+({}[e]||e)+".1623117350841.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-25ac136c":1,"chunk-61379a30":1,"chunk-6257fb96":1,"chunk-09cb4ae8":1,"chunk-1f1d09b0":1,"chunk-296911be":1,"chunk-8c7f0cae":1,"chunk-1b5b7edc":1,"chunk-2ed520c1":1,"chunk-36bc79d4":1,"chunk-1f98229c":1,"chunk-288fe952":1,"chunk-2e1aef6e":1,"chunk-464fcfec":1,"chunk-767781bc":1,"chunk-284b2208":1,"chunk-6766dae0":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-25ac136c":"903fb18e","chunk-61379a30":"3d6445eb","chunk-6257fb96":"195447e9","chunk-09cb4ae8":"b71ebd2f","chunk-0a21860e":"31d6cfe0","chunk-1f1d09b0":"fb33d5e6","chunk-296911be":"bb7545e5","chunk-8c7f0cae":"b6cda0c4","chunk-1b5b7edc":"d938ddcf","chunk-2ed520c1":"588e48a9","chunk-36bc79d4":"e6d75a1f","chunk-1f98229c":"b7dbb9bc","chunk-288fe952":"62f4a50e","chunk-2e1aef6e":"8886942d","chunk-464fcfec":"128f9899","chunk-767781bc":"cea3a61d","chunk-284b2208":"f146077b","chunk-6766dae0":"eff85fa1"}[e]+".css",a=i.p+c,o=document.getElementsByTagName("link"),u=0;u<o.length;u++){var f=o[u],h=f.getAttribute("data-href")||f.getAttribute("href");if("stylesheet"===f.rel&&(h===c||h===a))return n()}var l=document.getElementsByTagName("style");for(u=0;u<l.length;u++){f=l[u],h=f.getAttribute("data-href");if(h===c||h===a)return n()}var s=document.createElement("link");s.rel="stylesheet",s.type="text/css",s.onload=n,s.onerror=function(n){var c=n&&n.target&&n.target.src||a,o=new Error("Loading CSS chunk "+e+" failed.\n("+c+")");o.code="CSS_CHUNK_LOAD_FAILED",o.request=c,delete r[e],s.parentNode.removeChild(s),t(o)},s.href=a;var d=document.getElementsByTagName("head")[0];d.appendChild(s)})).then((function(){r[e]=0})));var c=a[e];if(0!==c)if(c)n.push(c[2]);else{var o=new Promise((function(n,t){c=a[e]=[n,t]}));n.push(c[2]=o);var f,h=document.createElement("script");h.charset="utf-8",h.timeout=120,i.nc&&h.setAttribute("nonce",i.nc),h.src=u(e);var l=new Error;f=function(n){h.onerror=h.onload=null,clearTimeout(s);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;l.message="Loading chunk "+e+" failed.\n("+c+": "+r+")",l.name="ChunkLoadError",l.type=c,l.request=r,t[1](l)}a[e]=void 0}};var s=setTimeout((function(){f({type:"timeout",target:h})}),12e4);h.onerror=h.onload=f,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="//yunxin.ichunt.com/",i.oe=function(e){throw console.error(e),e};var f=window["webpackJsonp"]=window["webpackJsonp"]||[],h=f.push.bind(f);f.push=n,f=f.slice();for(var l=0;l<f.length;l++)n(f[l]);var s=h;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("4465"),t("0e87"),t("44b8"),t("98ac"),t("b008"),t("f16a"),t("651e"),t("c4ee");var c=t("a593"),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)},a=[],o={name:"app"},u=o,i=t("5d22"),f=Object(i["a"])(u,r,a,!1,null,null,null),h=f.exports,l=t("8aaf");c["default"].use(l["a"]);var s,d=function(e){return Promise.all([t.e("chunk-6257fb96"),t.e("chunk-0a21860e"),t.e("chunk-1f1d09b0"),t.e("chunk-296911be")]).then(function(){var n=[t("b30e")];e.apply(null,n)}.bind(this)).catch(t.oe)},p=function(e){return Promise.all([t.e("chunk-6257fb96"),t.e("chunk-0a21860e"),t.e("chunk-8c7f0cae"),t.e("chunk-1f1d09b0"),t.e("chunk-2e1aef6e")]).then(function(){var n=[t("a7e6")];e.apply(null,n)}.bind(this)).catch(t.oe)},b=function(e){return Promise.all([t.e("chunk-6257fb96"),t.e("chunk-0a21860e"),t.e("chunk-8c7f0cae"),t.e("chunk-1f1d09b0"),t.e("chunk-464fcfec")]).then(function(){var n=[t("872f")];e.apply(null,n)}.bind(this)).catch(t.oe)},m=function(e){return Promise.all([t.e("chunk-6257fb96"),t.e("chunk-0a21860e"),t.e("chunk-8c7f0cae"),t.e("chunk-1f1d09b0"),t.e("chunk-767781bc")]).then(function(){var n=[t("5962")];e.apply(null,n)}.bind(this)).catch(t.oe)},k=function(e){return Promise.all([t.e("chunk-6257fb96"),t.e("chunk-0a21860e"),t.e("chunk-8c7f0cae"),t.e("chunk-1b5b7edc"),t.e("chunk-2ed520c1")]).then(function(){var n=[t("fc42")];e.apply(null,n)}.bind(this)).catch(t.oe)},v=function(e){return Promise.all([t.e("chunk-6257fb96"),t.e("chunk-0a21860e"),t.e("chunk-8c7f0cae"),t.e("chunk-1f1d09b0"),t.e("chunk-1f98229c")]).then(function(){var n=[t("6547")];e.apply(null,n)}.bind(this)).catch(t.oe)},g=function(e){return Promise.all([t.e("chunk-6257fb96"),t.e("chunk-0a21860e"),t.e("chunk-8c7f0cae"),t.e("chunk-284b2208")]).then(function(){var n=[t("f2d5")];e.apply(null,n)}.bind(this)).catch(t.oe)},y=function(e){return Promise.all([t.e("chunk-6257fb96"),t.e("chunk-0a21860e"),t.e("chunk-8c7f0cae"),t.e("chunk-1f1d09b0"),t.e("chunk-288fe952")]).then(function(){var n=[t("e6d3")];e.apply(null,n)}.bind(this)).catch(t.oe)},w=function(e){return Promise.all([t.e("chunk-6257fb96"),t.e("chunk-0a21860e"),t.e("chunk-8c7f0cae"),t.e("chunk-1b5b7edc"),t.e("chunk-36bc79d4")]).then(function(){var n=[t("2e26")];e.apply(null,n)}.bind(this)).catch(t.oe)},P=function(e){return Promise.all([t.e("chunk-6257fb96"),t.e("chunk-09cb4ae8")]).then(function(){var n=[t("d75c")];e.apply(null,n)}.bind(this)).catch(t.oe)},E=function(e){return t.e("chunk-6766dae0").then(function(){var n=[t("812b")];e.apply(null,n)}.bind(this)).catch(t.oe)},O=function(e){return t.e("chunk-61379a30").then(function(){var n=[t("460e")];e.apply(null,n)}.bind(this)).catch(t.oe)},S=function(e){return t.e("chunk-25ac136c").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 l["a"]({mode:"hash",base:"//yunxin.ichunt.com/",routes:T}),j=q,x=t("bca6"),C=(t("11f8"),function(e){var n=Number(e);return n||0}),I={dateTimeFormate:x["a"],floatZero:C},_=(t("bb2d"),{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("73ef"),M=t.n(N),A=(t("19a9"),t("3d26"),t("6376")),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");c["default"].config.productionTip=!1,Object.keys(I).forEach((function(e){return c["default"].filter(e,I[e])})),c["default"].use(D),j.afterEach((function(e,n,t){if("/"!=e.path&&"/login"!=e.path&&"/notfound"!=e.path&&"/bindError"!=e.path){var c,r=sessionStorage.getItem("tabs"),a=[];if(r){c=JSON.parse(r);for(var o=0;o<c.length;o++)a.push(JSON.stringify(c[o]));-1==a.indexOf(JSON.stringify({path:e.path,title:e.meta.title,query:e.query}))&&c.push({path:e.path,title:e.meta.title,query:e.query})}else c=[{path:e.path,title:e.meta.title,query:e.query}];c&&sessionStorage.setItem("tabs",JSON.stringify(c))}})),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))})),c["default"].prototype.$http=L["b"],j.beforeEach((function(e,n,t){if("/login"==e.path||"/notfound"==e.path||"/bindError"==e.path)t();else{var c=$["a"].getCookie("token")||"";if(c)t();else{window.userInfo="";var r=window.location.hash;r=r.substr(1),window.location.href="/#/login?referer="+encodeURI(r),history.go(0)}}})),new c["default"]({router:j,render:function(e){return e(h)}}).$mount("#app")},"5eb7":function(e,n,t){},"9aea":function(e,n,t){"use strict";t.d(n,"a",(function(){return h})),t.d(n,"b",(function(){return l}));var c=t("22e1"),r=(t("55cf"),t("73ef")),a=t.n(r),o=t("7c78"),u=t.n(o),i=t("e8d6"),f="production",h="/";switch(f){case"development":h="http://192.168.1.30:8080";break;case"test":h="http://cloud.liexindev.net";break;case"production":h="//cloud.ichunt.com";break}var l=function(e,n,t,r){t=t&&"object"===Object(c["a"])(t)?t:{};var o=i["a"].getCookie("token")||"",f={url:"".concat(h).concat(n),method:e,transformRequest:[function(e){return u.a.stringify(e)}],loading:!r};return"/auth/cp"!=n&&"/auth/login"!=n&&(f.headers={Authorization:"Bearer "+o}),"post"==e||"POST"==e?f.data=t:"get"!==e&&"GET"!=e||(f.params=t),a()(f)}},bca6:function(e,n,t){"use strict";t.d(n,"a",(function(){return c}));var c=function(e){var n=new Date(1e3*e);function t(e){return e<10&&(e="0"+e),e}var c=n.getFullYear(),r=n.getMonth()+1,a=n.getDate(),o=n.getHours(),u=n.getMinutes(),i=n.getSeconds();return c+"-"+t(r)+"-"+t(a)+" "+t(o)+":"+t(u)+":"+t(i)}},e8d6:function(e,n,t){"use strict";t("ba79"),t("050b");n["a"]={setCookie:function(e,n,t,c){c=c?";domain="+c:"";var r=t,a=new Date;return a.setTime(a.getTime()+24*r*60*60*1e3),document.cookie=e+"="+encodeURIComponent(n)+";expires="+a.toGMTString()+";path=/"+c,!0},getCookie:function(e){for(var n=document.cookie,t=n.split("; "),c=0;c<t.length;c++){var r=t[c].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
(function(e){function n(n){for(var c,r,u=n[0],i=n[1],f=n[2],h=0,l=[];h<u.length;h++)r=u[h],Object.prototype.hasOwnProperty.call(a,r)&&a[r]&&l.push(a[r][0]),a[r]=0;for(c in i)Object.prototype.hasOwnProperty.call(i,c)&&(e[c]=i[c]);s&&s(n);while(l.length)l.shift()();return o.push.apply(o,f||[]),t()}function t(){for(var e,n=0;n<o.length;n++){for(var t=o[n],c=!0,r=1;r<t.length;r++){var u=t[r];0!==a[u]&&(c=!1)}c&&(o.splice(n--,1),e=i(i.s=t[0]))}return e}var c={},r={app:0},a={app:0},o=[];function u(e){return i.p+"static/js/"+({}[e]||e)+".1623220686078.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-25ac136c":1,"chunk-61379a30":1,"chunk-6257fb96":1,"chunk-09cb4ae8":1,"chunk-1f1d09b0":1,"chunk-296911be":1,"chunk-8c7f0cae":1,"chunk-1b5b7edc":1,"chunk-2ed520c1":1,"chunk-36bc79d4":1,"chunk-1f98229c":1,"chunk-288fe952":1,"chunk-2e1aef6e":1,"chunk-464fcfec":1,"chunk-767781bc":1,"chunk-284b2208":1,"chunk-6766dae0":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-25ac136c":"903fb18e","chunk-61379a30":"3d6445eb","chunk-6257fb96":"195447e9","chunk-09cb4ae8":"b71ebd2f","chunk-0a21860e":"31d6cfe0","chunk-1f1d09b0":"fb33d5e6","chunk-296911be":"bb7545e5","chunk-8c7f0cae":"b6cda0c4","chunk-1b5b7edc":"d938ddcf","chunk-2ed520c1":"588e48a9","chunk-36bc79d4":"e6d75a1f","chunk-1f98229c":"b7dbb9bc","chunk-288fe952":"62f4a50e","chunk-2e1aef6e":"8886942d","chunk-464fcfec":"128f9899","chunk-767781bc":"cea3a61d","chunk-284b2208":"f146077b","chunk-6766dae0":"eff85fa1"}[e]+".css",a=i.p+c,o=document.getElementsByTagName("link"),u=0;u<o.length;u++){var f=o[u],h=f.getAttribute("data-href")||f.getAttribute("href");if("stylesheet"===f.rel&&(h===c||h===a))return n()}var l=document.getElementsByTagName("style");for(u=0;u<l.length;u++){f=l[u],h=f.getAttribute("data-href");if(h===c||h===a)return n()}var s=document.createElement("link");s.rel="stylesheet",s.type="text/css",s.onload=n,s.onerror=function(n){var c=n&&n.target&&n.target.src||a,o=new Error("Loading CSS chunk "+e+" failed.\n("+c+")");o.code="CSS_CHUNK_LOAD_FAILED",o.request=c,delete r[e],s.parentNode.removeChild(s),t(o)},s.href=a;var d=document.getElementsByTagName("head")[0];d.appendChild(s)})).then((function(){r[e]=0})));var c=a[e];if(0!==c)if(c)n.push(c[2]);else{var o=new Promise((function(n,t){c=a[e]=[n,t]}));n.push(c[2]=o);var f,h=document.createElement("script");h.charset="utf-8",h.timeout=120,i.nc&&h.setAttribute("nonce",i.nc),h.src=u(e);var l=new Error;f=function(n){h.onerror=h.onload=null,clearTimeout(s);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;l.message="Loading chunk "+e+" failed.\n("+c+": "+r+")",l.name="ChunkLoadError",l.type=c,l.request=r,t[1](l)}a[e]=void 0}};var s=setTimeout((function(){f({type:"timeout",target:h})}),12e4);h.onerror=h.onload=f,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="//yunxin.ichunt.com/",i.oe=function(e){throw console.error(e),e};var f=window["webpackJsonp"]=window["webpackJsonp"]||[],h=f.push.bind(f);f.push=n,f=f.slice();for(var l=0;l<f.length;l++)n(f[l]);var s=h;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("4465"),t("0e87"),t("44b8"),t("98ac"),t("b008"),t("f16a"),t("651e"),t("c4ee");var c=t("a593"),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)},a=[],o={name:"app"},u=o,i=t("5d22"),f=Object(i["a"])(u,r,a,!1,null,null,null),h=f.exports,l=t("8aaf");c["default"].use(l["a"]);var s,d=function(e){return Promise.all([t.e("chunk-6257fb96"),t.e("chunk-0a21860e"),t.e("chunk-1f1d09b0"),t.e("chunk-296911be")]).then(function(){var n=[t("b30e")];e.apply(null,n)}.bind(this)).catch(t.oe)},p=function(e){return Promise.all([t.e("chunk-6257fb96"),t.e("chunk-0a21860e"),t.e("chunk-8c7f0cae"),t.e("chunk-1f1d09b0"),t.e("chunk-2e1aef6e")]).then(function(){var n=[t("a7e6")];e.apply(null,n)}.bind(this)).catch(t.oe)},b=function(e){return Promise.all([t.e("chunk-6257fb96"),t.e("chunk-0a21860e"),t.e("chunk-8c7f0cae"),t.e("chunk-1f1d09b0"),t.e("chunk-464fcfec")]).then(function(){var n=[t("872f")];e.apply(null,n)}.bind(this)).catch(t.oe)},m=function(e){return Promise.all([t.e("chunk-6257fb96"),t.e("chunk-0a21860e"),t.e("chunk-8c7f0cae"),t.e("chunk-1f1d09b0"),t.e("chunk-767781bc")]).then(function(){var n=[t("5962")];e.apply(null,n)}.bind(this)).catch(t.oe)},k=function(e){return Promise.all([t.e("chunk-6257fb96"),t.e("chunk-0a21860e"),t.e("chunk-8c7f0cae"),t.e("chunk-1b5b7edc"),t.e("chunk-2ed520c1")]).then(function(){var n=[t("fc42")];e.apply(null,n)}.bind(this)).catch(t.oe)},v=function(e){return Promise.all([t.e("chunk-6257fb96"),t.e("chunk-0a21860e"),t.e("chunk-8c7f0cae"),t.e("chunk-1f1d09b0"),t.e("chunk-1f98229c")]).then(function(){var n=[t("6547")];e.apply(null,n)}.bind(this)).catch(t.oe)},g=function(e){return Promise.all([t.e("chunk-6257fb96"),t.e("chunk-0a21860e"),t.e("chunk-8c7f0cae"),t.e("chunk-284b2208")]).then(function(){var n=[t("f2d5")];e.apply(null,n)}.bind(this)).catch(t.oe)},y=function(e){return Promise.all([t.e("chunk-6257fb96"),t.e("chunk-0a21860e"),t.e("chunk-8c7f0cae"),t.e("chunk-1f1d09b0"),t.e("chunk-288fe952")]).then(function(){var n=[t("e6d3")];e.apply(null,n)}.bind(this)).catch(t.oe)},w=function(e){return Promise.all([t.e("chunk-6257fb96"),t.e("chunk-0a21860e"),t.e("chunk-8c7f0cae"),t.e("chunk-1b5b7edc"),t.e("chunk-36bc79d4")]).then(function(){var n=[t("2e26")];e.apply(null,n)}.bind(this)).catch(t.oe)},P=function(e){return Promise.all([t.e("chunk-6257fb96"),t.e("chunk-09cb4ae8")]).then(function(){var n=[t("d75c")];e.apply(null,n)}.bind(this)).catch(t.oe)},E=function(e){return t.e("chunk-6766dae0").then(function(){var n=[t("812b")];e.apply(null,n)}.bind(this)).catch(t.oe)},O=function(e){return t.e("chunk-61379a30").then(function(){var n=[t("460e")];e.apply(null,n)}.bind(this)).catch(t.oe)},S=function(e){return t.e("chunk-25ac136c").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 l["a"]({mode:"hash",base:"//yunxin.ichunt.com/",routes:T}),j=q,x=t("bca6"),C=(t("11f8"),function(e){var n=Number(e);return n||0}),I={dateTimeFormate:x["a"],floatZero:C},_=(t("bb2d"),{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("73ef"),M=t.n(N),A=(t("19a9"),t("3d26"),t("6376")),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");c["default"].config.productionTip=!1,Object.keys(I).forEach((function(e){return c["default"].filter(e,I[e])})),c["default"].use(D),j.afterEach((function(e,n,t){if("/"!=e.path&&"/login"!=e.path&&"/notfound"!=e.path&&"/bindError"!=e.path){var c,r=sessionStorage.getItem("tabs"),a=[];if(r){c=JSON.parse(r);for(var o=0;o<c.length;o++)a.push(JSON.stringify(c[o]));-1==a.indexOf(JSON.stringify({path:e.path,title:e.meta.title,query:e.query}))&&c.push({path:e.path,title:e.meta.title,query:e.query})}else c=[{path:e.path,title:e.meta.title,query:e.query}];c&&sessionStorage.setItem("tabs",JSON.stringify(c))}})),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))})),c["default"].prototype.$http=L["b"],j.beforeEach((function(e,n,t){if("/login"==e.path||"/notfound"==e.path||"/bindError"==e.path)t();else{var c=$["a"].getCookie("token")||"";if(c)t();else{window.userInfo="";var r=window.location.hash;r=r.substr(1),window.location.href="/#/login?referer="+encodeURI(r),history.go(0)}}})),new c["default"]({router:j,render:function(e){return e(h)}}).$mount("#app")},"5eb7":function(e,n,t){},"9aea":function(e,n,t){"use strict";t.d(n,"a",(function(){return h})),t.d(n,"b",(function(){return l}));var c=t("22e1"),r=(t("55cf"),t("73ef")),a=t.n(r),o=t("7c78"),u=t.n(o),i=t("e8d6"),f="production",h="/";switch(f){case"development":h="http://192.168.1.224:8080";break;case"test":h="http://cloud.liexindev.net";break;case"production":h="//cloud.ichunt.com";break}var l=function(e,n,t,r){t=t&&"object"===Object(c["a"])(t)?t:{};var o=i["a"].getCookie("token")||"",f={url:"".concat(h).concat(n),method:e,transformRequest:[function(e){return u.a.stringify(e)}],loading:!r};return"/auth/cp"!=n&&"/auth/login"!=n&&(f.headers={Authorization:"Bearer "+o}),"post"==e||"POST"==e?f.data=t:"get"!==e&&"GET"!=e||(f.params=t),a()(f)}},bca6:function(e,n,t){"use strict";t.d(n,"a",(function(){return c}));var c=function(e){var n=new Date(1e3*e);function t(e){return e<10&&(e="0"+e),e}var c=n.getFullYear(),r=n.getMonth()+1,a=n.getDate(),o=n.getHours(),u=n.getMinutes(),i=n.getSeconds();return c+"-"+t(r)+"-"+t(a)+" "+t(o)+":"+t(u)+":"+t(i)}},e8d6:function(e,n,t){"use strict";t("ba79"),t("050b");n["a"]={setCookie:function(e,n,t,c){c=c?";domain="+c:"";var r=t,a=new Date;return a.setTime(a.getTime()+24*r*60*60*1e3),document.cookie=e+"="+encodeURIComponent(n)+";expires="+a.toGMTString()+";path=/"+c,!0},getCookie:function(e){for(var n=document.cookie,t=n.split("; "),c=0;c<t.length;c++){var r=t[c].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
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
No preview for this file type
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment