Commit be447eee by 肖康

x

parent 23a61ef3
Showing with 30 additions and 46 deletions
......@@ -13,5 +13,8 @@
</noscript>
<div id="app"></div>
<!-- built files will be auto injected2 -->
<script>
window.userInfo=""
</script>
</body>
</html>
......@@ -292,26 +292,15 @@
},
methods: {
getData() {
this.$http('get', "/api/user/getuserinfo").then(res => {
this.userinfo = res.data;
if (res.data) {
sessionStorage.setItem('userInfox', JSON.stringify(res.data));
}
})
// var userInfo_ = sessionStorage.getItem('userInfox');
// if (userInfo_) {
// this.userinfo = JSON.parse(userInfo_);
// } else {
// this.$http('get', "/api/user/getuserinfo").then(res => {
// this.userinfo = res.data;
// if (res.data) {
// sessionStorage.setItem('userInfox', JSON.stringify(res.data));
// }
// })
// }
if (window.userInfo) {
this.userinfo = window.userInfo;
} else {
this.$http('get', "/api/user/getuserinfo").then(res => {
this.userinfo = res.data;
window.userInfo=res.data
})
}
},
tabUi() {
......@@ -409,7 +398,8 @@
setTimeout(() => {
Util.delCookie('token');
window.location.href = '/#/login';
sessionStorage.removeItem('userInfox')
window.userInfo=""
history.go(0);
}, 2000)
} else {
......@@ -428,7 +418,7 @@
this.$http('post', "/auth/logout").then(res => {
Util.delCookie('token');
window.location.href = '/#/login';
sessionStorage.removeItem('userInfox')
window.userInfo=""
history.go(0);
}).catch(err => {
console.log(err.message);
......
......@@ -102,7 +102,8 @@ router.beforeEach((to, from, next) => {
} else {
let token = Util.getCookie('token') || '';
if (!token) {
sessionStorage.removeItem('userInfox')
window.userInfo=""
var path_=window.location.hash
path_=path_.substr(1)
window.location.href = '/#/login?referer=' + encodeURI(path_);
......
......@@ -207,7 +207,7 @@
</div>
<div class="box2">
<p class="t1">单个型号询报价总数分析</p>
<input type="text" placeholder="请输入型号" class="inp boxsiz" disabled />
<input type="text" placeholder="请输入型号" class="inp boxsiz" disabled="true" />
<div id="echarts_box2" style="width: 100%;height:200px;"></div>
</div>
</div>
......
......@@ -71,25 +71,15 @@
computed: {},
methods: {
getUseInfo() {
this.$http('get', "/api/user/getuserinfo").then(res => {
if (window.userInfo) {
this.userinfo = window.userInfo;
} else {
this.$http('get', "/api/user/getuserinfo").then(res => {
this.userinfo = res.data;
if (res.data) {
sessionStorage.setItem('userInfox', JSON.stringify(res.data));
}
window.userInfo=res.data
})
// var userInfo_ = sessionStorage.getItem('userInfox');
// if (userInfo_) {
// this.userinfo = JSON.parse(userInfo_);
// } else {
// this.$http('get', "/api/user/getuserinfo").then(res => {
// this.userinfo = res.data;
// if (res.data) {
// sessionStorage.setItem('userInfox', JSON.stringify(res.data));
// }
// })
// }
}
},
submituser() {
......
<!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-0a105498.06914ce1.css" rel="prefetch"><link href="//yunxin.ichunt.com/css/chunk-15e903e6.55727460.css" rel="prefetch"><link href="//yunxin.ichunt.com/css/chunk-38f382e0.143c08b9.css" rel="prefetch"><link href="//yunxin.ichunt.com/css/chunk-49a1c939.b4a70c8b.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-6cf25ae4.819b729c.css" rel="prefetch"><link href="//yunxin.ichunt.com/css/chunk-7041f81e.903fb18e.css" rel="prefetch"><link href="//yunxin.ichunt.com/css/chunk-726bdd35.5a95e96d.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-ed440600.a51e2487.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.1622805186193.js" rel="prefetch"><link href="//yunxin.ichunt.com/static/js/chunk-0a105498.1622805186193.js" rel="prefetch"><link href="//yunxin.ichunt.com/static/js/chunk-15e903e6.1622805186193.js" rel="prefetch"><link href="//yunxin.ichunt.com/static/js/chunk-38f382e0.1622805186193.js" rel="prefetch"><link href="//yunxin.ichunt.com/static/js/chunk-4148ebe3.1622805186193.js" rel="prefetch"><link href="//yunxin.ichunt.com/static/js/chunk-49a1c939.1622805186193.js" rel="prefetch"><link href="//yunxin.ichunt.com/static/js/chunk-5e89952e.1622805186193.js" rel="prefetch"><link href="//yunxin.ichunt.com/static/js/chunk-68af1761.1622805186193.js" rel="prefetch"><link href="//yunxin.ichunt.com/static/js/chunk-6cf25ae4.1622805186193.js" rel="prefetch"><link href="//yunxin.ichunt.com/static/js/chunk-7041f81e.1622805186193.js" rel="prefetch"><link href="//yunxin.ichunt.com/static/js/chunk-726bdd35.1622805186193.js" rel="prefetch"><link href="//yunxin.ichunt.com/static/js/chunk-7c271fb9.1622805186193.js" rel="prefetch"><link href="//yunxin.ichunt.com/static/js/chunk-89bf742a.1622805186193.js" rel="prefetch"><link href="//yunxin.ichunt.com/static/js/chunk-97cba434.1622805186193.js" rel="prefetch"><link href="//yunxin.ichunt.com/static/js/chunk-d09dd692.1622805186193.js" rel="prefetch"><link href="//yunxin.ichunt.com/static/js/chunk-ed440600.1622805186193.js" rel="prefetch"><link href="//yunxin.ichunt.com/static/js/chunk-f06bc266.1622805186193.js" rel="prefetch"><link href="//yunxin.ichunt.com/static/js/chunk-fef16dca.1622805186193.js" rel="prefetch"><link href="//yunxin.ichunt.com/css/app.83671de9.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.1622805186193.js" rel="preload" as="script"><link href="//yunxin.ichunt.com/static/js/chunk-vendors.1622805186193.js" rel="preload" as="script"><link href="//yunxin.ichunt.com/css/chunk-vendors.8ffb1193.css" rel="stylesheet"><link href="//yunxin.ichunt.com/css/app.83671de9.css" rel="stylesheet"></head><body><noscript><strong>网络异常,请稍后加载</strong></noscript><div id="app"></div><script src="//yunxin.ichunt.com/static/js/chunk-vendors.1622805186193.js"></script><script src="//yunxin.ichunt.com/static/js/app.1622805186193.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-0492a5ab.3d6445eb.css" rel="prefetch"><link href="//yunxin.ichunt.com/css/chunk-0a105498.06914ce1.css" rel="prefetch"><link href="//yunxin.ichunt.com/css/chunk-15e903e6.55727460.css" rel="prefetch"><link href="//yunxin.ichunt.com/css/chunk-2ed8d364.5a95e96d.css" rel="prefetch"><link href="//yunxin.ichunt.com/css/chunk-38f382e0.143c08b9.css" rel="prefetch"><link href="//yunxin.ichunt.com/css/chunk-49a1c939.b4a70c8b.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.1622805999777.js" rel="prefetch"><link href="//yunxin.ichunt.com/static/js/chunk-0a105498.1622805999777.js" rel="prefetch"><link href="//yunxin.ichunt.com/static/js/chunk-15e903e6.1622805999777.js" rel="prefetch"><link href="//yunxin.ichunt.com/static/js/chunk-2ed8d364.1622805999777.js" rel="prefetch"><link href="//yunxin.ichunt.com/static/js/chunk-38f382e0.1622805999777.js" rel="prefetch"><link href="//yunxin.ichunt.com/static/js/chunk-4148ebe3.1622805999777.js" rel="prefetch"><link href="//yunxin.ichunt.com/static/js/chunk-49a1c939.1622805999777.js" rel="prefetch"><link href="//yunxin.ichunt.com/static/js/chunk-5e89952e.1622805999777.js" rel="prefetch"><link href="//yunxin.ichunt.com/static/js/chunk-68af1761.1622805999777.js" rel="prefetch"><link href="//yunxin.ichunt.com/static/js/chunk-6a1c18a2.1622805999777.js" rel="prefetch"><link href="//yunxin.ichunt.com/static/js/chunk-6cf25ae4.1622805999777.js" rel="prefetch"><link href="//yunxin.ichunt.com/static/js/chunk-7041f81e.1622805999777.js" rel="prefetch"><link href="//yunxin.ichunt.com/static/js/chunk-7c271fb9.1622805999777.js" rel="prefetch"><link href="//yunxin.ichunt.com/static/js/chunk-89bf742a.1622805999777.js" rel="prefetch"><link href="//yunxin.ichunt.com/static/js/chunk-97cba434.1622805999777.js" rel="prefetch"><link href="//yunxin.ichunt.com/static/js/chunk-d09dd692.1622805999777.js" rel="prefetch"><link href="//yunxin.ichunt.com/static/js/chunk-f06bc266.1622805999777.js" rel="prefetch"><link href="//yunxin.ichunt.com/static/js/chunk-fef16dca.1622805999777.js" rel="prefetch"><link href="//yunxin.ichunt.com/css/app.83671de9.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.1622805999777.js" rel="preload" as="script"><link href="//yunxin.ichunt.com/static/js/chunk-vendors.1622805999777.js" rel="preload" as="script"><link href="//yunxin.ichunt.com/css/chunk-vendors.8ffb1193.css" rel="stylesheet"><link href="//yunxin.ichunt.com/css/app.83671de9.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.1622805999777.js"></script><script src="//yunxin.ichunt.com/static/js/app.1622805999777.js"></script></body></html>
\ No newline at end of file
(function(e){function n(n){for(var r,a,u=n[0],i=n[1],h=n[2],l=0,f=[];l<u.length;l++)a=u[l],Object.prototype.hasOwnProperty.call(c,a)&&c[a]&&f.push(c[a][0]),c[a]=0;for(r in i)Object.prototype.hasOwnProperty.call(i,r)&&(e[r]=i[r]);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],r=!0,a=1;a<t.length;a++){var u=t[a];0!==c[u]&&(r=!1)}r&&(o.splice(n--,1),e=i(i.s=t[0]))}return e}var r={},a={app:0},c={app:0},o=[];function u(e){return i.p+"static/js/"+({}[e]||e)+".1622805186193.js"}function i(n){if(r[n])return r[n].exports;var t=r[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-15e903e6":1,"chunk-89bf742a":1,"chunk-726bdd35":1,"chunk-fef16dca":1,"chunk-68af1761":1,"chunk-7c271fb9":1,"chunk-38f382e0":1,"chunk-97cba434":1,"chunk-0a105498":1,"chunk-5e89952e":1,"chunk-6cf25ae4":1,"chunk-d09dd692":1,"chunk-f06bc266":1,"chunk-ed440600":1,"chunk-49a1c939":1,"chunk-7041f81e":1};a[e]?n.push(a[e]):0!==a[e]&&t[e]&&n.push(a[e]=new Promise((function(n,t){for(var r="css/"+({}[e]||e)+"."+{"chunk-0492a5ab":"3d6445eb","chunk-15e903e6":"55727460","chunk-4148ebe3":"31d6cfe0","chunk-89bf742a":"fb33d5e6","chunk-726bdd35":"5a95e96d","chunk-fef16dca":"0868bd02","chunk-68af1761":"12ee92ce","chunk-7c271fb9":"d938ddcf","chunk-38f382e0":"143c08b9","chunk-97cba434":"c584dd9b","chunk-0a105498":"06914ce1","chunk-5e89952e":"9970a763","chunk-6cf25ae4":"819b729c","chunk-d09dd692":"56dd64bd","chunk-f06bc266":"a7f65d28","chunk-ed440600":"a51e2487","chunk-49a1c939":"b4a70c8b","chunk-7041f81e":"903fb18e"}[e]+".css",c=i.p+r,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===r||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===r||l===c)return n()}var s=document.createElement("link");s.rel="stylesheet",s.type="text/css",s.onload=n,s.onerror=function(n){var r=n&&n.target&&n.target.src||c,o=new Error("Loading CSS chunk "+e+" failed.\n("+r+")");o.code="CSS_CHUNK_LOAD_FAILED",o.request=r,delete a[e],s.parentNode.removeChild(s),t(o)},s.href=c;var d=document.getElementsByTagName("head")[0];d.appendChild(s)})).then((function(){a[e]=0})));var r=c[e];if(0!==r)if(r)n.push(r[2]);else{var o=new Promise((function(n,t){r=c[e]=[n,t]}));n.push(r[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 r=n&&("load"===n.type?"missing":n.type),a=n&&n.target&&n.target.src;f.message="Loading chunk "+e+" failed.\n("+r+": "+a+")",f.name="ChunkLoadError",f.type=r,f.request=a,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=r,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 r in e)i.d(t,r,function(n){return e[n]}.bind(null,r));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 r=t("2b0e"),a=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,a,c,!1,null,null,null),l=h.exports,f=t("8c4f");r["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-726bdd35")]).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-0a105498")]).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-ed440600")]).then(function(){var n=[t("d75c")];e.apply(null,n)}.bind(this)).catch(t.oe)},S=function(e){return t.e("chunk-49a1c939").then(function(){var n=[t("812b")];e.apply(null,n)}.bind(this)).catch(t.oe)},E=function(e){return t.e("chunk-0492a5ab").then(function(){var n=[t("460e")];e.apply(null,n)}.bind(this)).catch(t.oe)},O=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:S},{path:"/notfound",name:"notfound",meta:{title:"猎芯网"},component:E},{path:"/bindError",name:"BindError",meta:{title:"微信重新绑定"},component:O},{path:"*",redirect:"/"}],q=new f["a"]({mode:"hash",base:"//yunxin.ichunt.com/",routes:T}),x=q,j=t("bca6"),C=(t("a9e3"),function(e){var n=Number(e);return n||0}),I={dateTimeFormate:j["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");r["default"].config.productionTip=!1,Object.keys(I).forEach((function(e){return r["default"].filter(e,I[e])})),r["default"].use(D),x.afterEach((function(e,n,t){if("/"!=e.path&&"/login"!=e.path&&"/notfound"!=e.path&&"/bindError"!=e.path){var r,a=sessionStorage.getItem("tabs"),c=[];if(a){r=JSON.parse(a);for(var o=0;o<r.length;o++)c.push(JSON.stringify(r[o]));-1==c.indexOf(JSON.stringify({path:e.path,title:e.meta.title,query:e.query}))&&r.push({path:e.path,title:e.meta.title,query:e.query})}else r=[{path:e.path,title:e.meta.title,query:e.query}];r&&sessionStorage.setItem("tabs",JSON.stringify(r))}})),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))})),r["default"].prototype.$http=L["b"],x.beforeEach((function(e,n,t){if("/login"==e.path||"/notfound"==e.path||"/bindError"==e.path)t();else{var r=$["a"].getCookie("token")||"";if(r)t();else{sessionStorage.removeItem("userInfox");var a=window.location.hash;a=a.substr(1),window.location.href="/#/login?referer="+encodeURI(a),history.go(0)}}})),new r["default"]({router:x,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 r=t("53ca"),a=(t("99af"),t("bc3a")),c=t.n(a),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,a){t=t&&"object"===Object(r["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:!a};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 r}));var r=function(e){var n=new Date(1e3*e);function t(e){return e<10&&(e="0"+e),e}var r=n.getFullYear(),a=n.getMonth()+1,c=n.getDate(),o=n.getHours(),u=n.getMinutes(),i=n.getSeconds();return r+"-"+t(a)+"-"+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,r){r=r?";domain="+r:"";var a=t,c=new Date;return c.setTime(c.getTime()+24*a*60*60*1e3),document.cookie=e+"="+encodeURIComponent(n)+";expires="+c.toGMTString()+";path=/"+r,!0},getCookie:function(e){for(var n=document.cookie,t=n.split("; "),r=0;r<t.length;r++){var a=t[r].split("=");if(e==a[0])return a[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 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)+".1622805999777.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-15e903e6":1,"chunk-89bf742a":1,"chunk-2ed8d364":1,"chunk-fef16dca":1,"chunk-68af1761":1,"chunk-7c271fb9":1,"chunk-38f382e0":1,"chunk-97cba434":1,"chunk-0a105498":1,"chunk-5e89952e":1,"chunk-6cf25ae4":1,"chunk-d09dd692":1,"chunk-f06bc266":1,"chunk-6a1c18a2":1,"chunk-49a1c939":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-15e903e6":"55727460","chunk-4148ebe3":"31d6cfe0","chunk-89bf742a":"fb33d5e6","chunk-2ed8d364":"5a95e96d","chunk-fef16dca":"0868bd02","chunk-68af1761":"12ee92ce","chunk-7c271fb9":"d938ddcf","chunk-38f382e0":"143c08b9","chunk-97cba434":"c584dd9b","chunk-0a105498":"06914ce1","chunk-5e89952e":"9970a763","chunk-6cf25ae4":"819b729c","chunk-d09dd692":"56dd64bd","chunk-f06bc266":"a7f65d28","chunk-6a1c18a2":"a51e2487","chunk-49a1c939":"b4a70c8b","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-2ed8d364")]).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-0a105498")]).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-49a1c939").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
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-6a1c18a2"],{"0d3b":function(e,t,r){var n=r("d039"),i=r("b622"),s=r("c430"),a=i("iterator");e.exports=!n((function(){var e=new URL("b?a=1&b=2&c=3","http://a"),t=e.searchParams,r="";return e.pathname="c%20d",t.forEach((function(e,n){t["delete"]("b"),r+=n+e})),s&&!e.toJSON||!t.sort||"http://a/c%20d?a=1&c=3"!==e.href||"3"!==t.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!t[a]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://тест").host||"#%D0%B1"!==new URL("http://a#б").hash||"a1c3"!==r||"x"!==new URL("http://x",void 0).host}))},"2b3d":function(e,t,r){"use strict";r("3ca3");var n,i=r("23e7"),s=r("83ab"),a=r("0d3b"),o=r("da84"),l=r("37e8"),u=r("6eeb"),c=r("19aa"),f=r("5135"),h=r("60da"),p=r("4df4"),d=r("6547").codeAt,g=r("5fb2"),m=r("d44e"),v=r("9861"),y=r("69f3"),b=o.URL,w=v.URLSearchParams,_=v.getState,k=y.set,x=y.getterFor("URL"),S=Math.floor,C=Math.pow,R="Invalid authority",U="Invalid scheme",F="Invalid host",L="Invalid port",P=/[A-Za-z]/,E=/[\d+-.A-Za-z]/,$=/\d/,O=/^(0x|0X)/,j=/^[0-7]+$/,T=/^\d+$/,A=/^[\dA-Fa-f]+$/,B=/[\0\t\n\r #%/:?@[\\]]/,q=/[\0\t\n\r #/:?@[\\]]/,I=/^[\u0000-\u001F ]+|[\u0000-\u001F ]+$/g,D=/[\t\n\r]/g,M=function(e,t){var r,n,i;if("["==t.charAt(0)){if("]"!=t.charAt(t.length-1))return F;if(r=z(t.slice(1,-1)),!r)return F;e.host=r}else if(Q(e)){if(t=g(t),B.test(t))return F;if(r=N(t),null===r)return F;e.host=r}else{if(q.test(t))return F;for(r="",n=p(t),i=0;i<n.length;i++)r+=K(n[i],J);e.host=r}},N=function(e){var t,r,n,i,s,a,o,l=e.split(".");if(l.length&&""==l[l.length-1]&&l.pop(),t=l.length,t>4)return e;for(r=[],n=0;n<t;n++){if(i=l[n],""==i)return e;if(s=10,i.length>1&&"0"==i.charAt(0)&&(s=O.test(i)?16:8,i=i.slice(8==s?1:2)),""===i)a=0;else{if(!(10==s?T:8==s?j:A).test(i))return e;a=parseInt(i,s)}r.push(a)}for(n=0;n<t;n++)if(a=r[n],n==t-1){if(a>=C(256,5-t))return null}else if(a>255)return null;for(o=r.pop(),n=0;n<r.length;n++)o+=r[n]*C(256,3-n);return o},z=function(e){var t,r,n,i,s,a,o,l=[0,0,0,0,0,0,0,0],u=0,c=null,f=0,h=function(){return e.charAt(f)};if(":"==h()){if(":"!=e.charAt(1))return;f+=2,u++,c=u}while(h()){if(8==u)return;if(":"!=h()){t=r=0;while(r<4&&A.test(h()))t=16*t+parseInt(h(),16),f++,r++;if("."==h()){if(0==r)return;if(f-=r,u>6)return;n=0;while(h()){if(i=null,n>0){if(!("."==h()&&n<4))return;f++}if(!$.test(h()))return;while($.test(h())){if(s=parseInt(h(),10),null===i)i=s;else{if(0==i)return;i=10*i+s}if(i>255)return;f++}l[u]=256*l[u]+i,n++,2!=n&&4!=n||u++}if(4!=n)return;break}if(":"==h()){if(f++,!h())return}else if(h())return;l[u++]=t}else{if(null!==c)return;f++,u++,c=u}}if(null!==c){a=u-c,u=7;while(0!=u&&a>0)o=l[u],l[u--]=l[c+a-1],l[c+--a]=o}else if(8!=u)return;return l},W=function(e){for(var t=null,r=1,n=null,i=0,s=0;s<8;s++)0!==e[s]?(i>r&&(t=n,r=i),n=null,i=0):(null===n&&(n=s),++i);return i>r&&(t=n,r=i),t},X=function(e){var t,r,n,i;if("number"==typeof e){for(t=[],r=0;r<4;r++)t.unshift(e%256),e=S(e/256);return t.join(".")}if("object"==typeof e){for(t="",n=W(e),r=0;r<8;r++)i&&0===e[r]||(i&&(i=!1),n===r?(t+=r?":":"::",i=!0):(t+=e[r].toString(16),r<7&&(t+=":")));return"["+t+"]"}return e},J={},H=h({},J,{" ":1,'"':1,"<":1,">":1,"`":1}),V=h({},H,{"#":1,"?":1,"{":1,"}":1}),G=h({},V,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),K=function(e,t){var r=d(e,0);return r>32&&r<127&&!f(t,e)?e:encodeURIComponent(e)},Z={ftp:21,file:null,http:80,https:443,ws:80,wss:443},Q=function(e){return f(Z,e.scheme)},Y=function(e){return""!=e.username||""!=e.password},ee=function(e){return!e.host||e.cannotBeABaseURL||"file"==e.scheme},te=function(e,t){var r;return 2==e.length&&P.test(e.charAt(0))&&(":"==(r=e.charAt(1))||!t&&"|"==r)},re=function(e){var t;return e.length>1&&te(e.slice(0,2))&&(2==e.length||"/"===(t=e.charAt(2))||"\\"===t||"?"===t||"#"===t)},ne=function(e){var t=e.path,r=t.length;!r||"file"==e.scheme&&1==r&&te(t[0],!0)||t.pop()},ie=function(e){return"."===e||"%2e"===e.toLowerCase()},se=function(e){return e=e.toLowerCase(),".."===e||"%2e."===e||".%2e"===e||"%2e%2e"===e},ae={},oe={},le={},ue={},ce={},fe={},he={},pe={},de={},ge={},me={},ve={},ye={},be={},we={},_e={},ke={},xe={},Se={},Ce={},Re={},Ue=function(e,t,r,i){var s,a,o,l,u=r||ae,c=0,h="",d=!1,g=!1,m=!1;r||(e.scheme="",e.username="",e.password="",e.host=null,e.port=null,e.path=[],e.query=null,e.fragment=null,e.cannotBeABaseURL=!1,t=t.replace(I,"")),t=t.replace(D,""),s=p(t);while(c<=s.length){switch(a=s[c],u){case ae:if(!a||!P.test(a)){if(r)return U;u=le;continue}h+=a.toLowerCase(),u=oe;break;case oe:if(a&&(E.test(a)||"+"==a||"-"==a||"."==a))h+=a.toLowerCase();else{if(":"!=a){if(r)return U;h="",u=le,c=0;continue}if(r&&(Q(e)!=f(Z,h)||"file"==h&&(Y(e)||null!==e.port)||"file"==e.scheme&&!e.host))return;if(e.scheme=h,r)return void(Q(e)&&Z[e.scheme]==e.port&&(e.port=null));h="","file"==e.scheme?u=be:Q(e)&&i&&i.scheme==e.scheme?u=ue:Q(e)?u=pe:"/"==s[c+1]?(u=ce,c++):(e.cannotBeABaseURL=!0,e.path.push(""),u=Se)}break;case le:if(!i||i.cannotBeABaseURL&&"#"!=a)return U;if(i.cannotBeABaseURL&&"#"==a){e.scheme=i.scheme,e.path=i.path.slice(),e.query=i.query,e.fragment="",e.cannotBeABaseURL=!0,u=Re;break}u="file"==i.scheme?be:fe;continue;case ue:if("/"!=a||"/"!=s[c+1]){u=fe;continue}u=de,c++;break;case ce:if("/"==a){u=ge;break}u=xe;continue;case fe:if(e.scheme=i.scheme,a==n)e.username=i.username,e.password=i.password,e.host=i.host,e.port=i.port,e.path=i.path.slice(),e.query=i.query;else if("/"==a||"\\"==a&&Q(e))u=he;else if("?"==a)e.username=i.username,e.password=i.password,e.host=i.host,e.port=i.port,e.path=i.path.slice(),e.query="",u=Ce;else{if("#"!=a){e.username=i.username,e.password=i.password,e.host=i.host,e.port=i.port,e.path=i.path.slice(),e.path.pop(),u=xe;continue}e.username=i.username,e.password=i.password,e.host=i.host,e.port=i.port,e.path=i.path.slice(),e.query=i.query,e.fragment="",u=Re}break;case he:if(!Q(e)||"/"!=a&&"\\"!=a){if("/"!=a){e.username=i.username,e.password=i.password,e.host=i.host,e.port=i.port,u=xe;continue}u=ge}else u=de;break;case pe:if(u=de,"/"!=a||"/"!=h.charAt(c+1))continue;c++;break;case de:if("/"!=a&&"\\"!=a){u=ge;continue}break;case ge:if("@"==a){d&&(h="%40"+h),d=!0,o=p(h);for(var v=0;v<o.length;v++){var y=o[v];if(":"!=y||m){var b=K(y,G);m?e.password+=b:e.username+=b}else m=!0}h=""}else if(a==n||"/"==a||"?"==a||"#"==a||"\\"==a&&Q(e)){if(d&&""==h)return R;c-=p(h).length+1,h="",u=me}else h+=a;break;case me:case ve:if(r&&"file"==e.scheme){u=_e;continue}if(":"!=a||g){if(a==n||"/"==a||"?"==a||"#"==a||"\\"==a&&Q(e)){if(Q(e)&&""==h)return F;if(r&&""==h&&(Y(e)||null!==e.port))return;if(l=M(e,h),l)return l;if(h="",u=ke,r)return;continue}"["==a?g=!0:"]"==a&&(g=!1),h+=a}else{if(""==h)return F;if(l=M(e,h),l)return l;if(h="",u=ye,r==ve)return}break;case ye:if(!$.test(a)){if(a==n||"/"==a||"?"==a||"#"==a||"\\"==a&&Q(e)||r){if(""!=h){var w=parseInt(h,10);if(w>65535)return L;e.port=Q(e)&&w===Z[e.scheme]?null:w,h=""}if(r)return;u=ke;continue}return L}h+=a;break;case be:if(e.scheme="file","/"==a||"\\"==a)u=we;else{if(!i||"file"!=i.scheme){u=xe;continue}if(a==n)e.host=i.host,e.path=i.path.slice(),e.query=i.query;else if("?"==a)e.host=i.host,e.path=i.path.slice(),e.query="",u=Ce;else{if("#"!=a){re(s.slice(c).join(""))||(e.host=i.host,e.path=i.path.slice(),ne(e)),u=xe;continue}e.host=i.host,e.path=i.path.slice(),e.query=i.query,e.fragment="",u=Re}}break;case we:if("/"==a||"\\"==a){u=_e;break}i&&"file"==i.scheme&&!re(s.slice(c).join(""))&&(te(i.path[0],!0)?e.path.push(i.path[0]):e.host=i.host),u=xe;continue;case _e:if(a==n||"/"==a||"\\"==a||"?"==a||"#"==a){if(!r&&te(h))u=xe;else if(""==h){if(e.host="",r)return;u=ke}else{if(l=M(e,h),l)return l;if("localhost"==e.host&&(e.host=""),r)return;h="",u=ke}continue}h+=a;break;case ke:if(Q(e)){if(u=xe,"/"!=a&&"\\"!=a)continue}else if(r||"?"!=a)if(r||"#"!=a){if(a!=n&&(u=xe,"/"!=a))continue}else e.fragment="",u=Re;else e.query="",u=Ce;break;case xe:if(a==n||"/"==a||"\\"==a&&Q(e)||!r&&("?"==a||"#"==a)){if(se(h)?(ne(e),"/"==a||"\\"==a&&Q(e)||e.path.push("")):ie(h)?"/"==a||"\\"==a&&Q(e)||e.path.push(""):("file"==e.scheme&&!e.path.length&&te(h)&&(e.host&&(e.host=""),h=h.charAt(0)+":"),e.path.push(h)),h="","file"==e.scheme&&(a==n||"?"==a||"#"==a))while(e.path.length>1&&""===e.path[0])e.path.shift();"?"==a?(e.query="",u=Ce):"#"==a&&(e.fragment="",u=Re)}else h+=K(a,V);break;case Se:"?"==a?(e.query="",u=Ce):"#"==a?(e.fragment="",u=Re):a!=n&&(e.path[0]+=K(a,J));break;case Ce:r||"#"!=a?a!=n&&("'"==a&&Q(e)?e.query+="%27":e.query+="#"==a?"%23":K(a,J)):(e.fragment="",u=Re);break;case Re:a!=n&&(e.fragment+=K(a,H));break}c++}},Fe=function(e){var t,r,n=c(this,Fe,"URL"),i=arguments.length>1?arguments[1]:void 0,a=String(e),o=k(n,{type:"URL"});if(void 0!==i)if(i instanceof Fe)t=x(i);else if(r=Ue(t={},String(i)),r)throw TypeError(r);if(r=Ue(o,a,null,t),r)throw TypeError(r);var l=o.searchParams=new w,u=_(l);u.updateSearchParams(o.query),u.updateURL=function(){o.query=String(l)||null},s||(n.href=Pe.call(n),n.origin=Ee.call(n),n.protocol=$e.call(n),n.username=Oe.call(n),n.password=je.call(n),n.host=Te.call(n),n.hostname=Ae.call(n),n.port=Be.call(n),n.pathname=qe.call(n),n.search=Ie.call(n),n.searchParams=De.call(n),n.hash=Me.call(n))},Le=Fe.prototype,Pe=function(){var e=x(this),t=e.scheme,r=e.username,n=e.password,i=e.host,s=e.port,a=e.path,o=e.query,l=e.fragment,u=t+":";return null!==i?(u+="//",Y(e)&&(u+=r+(n?":"+n:"")+"@"),u+=X(i),null!==s&&(u+=":"+s)):"file"==t&&(u+="//"),u+=e.cannotBeABaseURL?a[0]:a.length?"/"+a.join("/"):"",null!==o&&(u+="?"+o),null!==l&&(u+="#"+l),u},Ee=function(){var e=x(this),t=e.scheme,r=e.port;if("blob"==t)try{return new Fe(t.path[0]).origin}catch(n){return"null"}return"file"!=t&&Q(e)?t+"://"+X(e.host)+(null!==r?":"+r:""):"null"},$e=function(){return x(this).scheme+":"},Oe=function(){return x(this).username},je=function(){return x(this).password},Te=function(){var e=x(this),t=e.host,r=e.port;return null===t?"":null===r?X(t):X(t)+":"+r},Ae=function(){var e=x(this).host;return null===e?"":X(e)},Be=function(){var e=x(this).port;return null===e?"":String(e)},qe=function(){var e=x(this),t=e.path;return e.cannotBeABaseURL?t[0]:t.length?"/"+t.join("/"):""},Ie=function(){var e=x(this).query;return e?"?"+e:""},De=function(){return x(this).searchParams},Me=function(){var e=x(this).fragment;return e?"#"+e:""},Ne=function(e,t){return{get:e,set:t,configurable:!0,enumerable:!0}};if(s&&l(Le,{href:Ne(Pe,(function(e){var t=x(this),r=String(e),n=Ue(t,r);if(n)throw TypeError(n);_(t.searchParams).updateSearchParams(t.query)})),origin:Ne(Ee),protocol:Ne($e,(function(e){var t=x(this);Ue(t,String(e)+":",ae)})),username:Ne(Oe,(function(e){var t=x(this),r=p(String(e));if(!ee(t)){t.username="";for(var n=0;n<r.length;n++)t.username+=K(r[n],G)}})),password:Ne(je,(function(e){var t=x(this),r=p(String(e));if(!ee(t)){t.password="";for(var n=0;n<r.length;n++)t.password+=K(r[n],G)}})),host:Ne(Te,(function(e){var t=x(this);t.cannotBeABaseURL||Ue(t,String(e),me)})),hostname:Ne(Ae,(function(e){var t=x(this);t.cannotBeABaseURL||Ue(t,String(e),ve)})),port:Ne(Be,(function(e){var t=x(this);ee(t)||(e=String(e),""==e?t.port=null:Ue(t,e,ye))})),pathname:Ne(qe,(function(e){var t=x(this);t.cannotBeABaseURL||(t.path=[],Ue(t,e+"",ke))})),search:Ne(Ie,(function(e){var t=x(this);e=String(e),""==e?t.query=null:("?"==e.charAt(0)&&(e=e.slice(1)),t.query="",Ue(t,e,Ce)),_(t.searchParams).updateSearchParams(t.query)})),searchParams:Ne(De),hash:Ne(Me,(function(e){var t=x(this);e=String(e),""!=e?("#"==e.charAt(0)&&(e=e.slice(1)),t.fragment="",Ue(t,e,Re)):t.fragment=null}))}),u(Le,"toJSON",(function(){return Pe.call(this)}),{enumerable:!0}),u(Le,"toString",(function(){return Pe.call(this)}),{enumerable:!0}),b){var ze=b.createObjectURL,We=b.revokeObjectURL;ze&&u(Fe,"createObjectURL",(function(e){return ze.apply(b,arguments)})),We&&u(Fe,"revokeObjectURL",(function(e){return We.apply(b,arguments)}))}m(Fe,"URL"),i({global:!0,forced:!a,sham:!s},{URL:Fe})},"4df4":function(e,t,r){"use strict";var n=r("0366"),i=r("7b0b"),s=r("9bdd"),a=r("e95a"),o=r("50c4"),l=r("8418"),u=r("35a1");e.exports=function(e){var t,r,c,f,h,p,d=i(e),g="function"==typeof this?this:Array,m=arguments.length,v=m>1?arguments[1]:void 0,y=void 0!==v,b=u(d),w=0;if(y&&(v=n(v,m>2?arguments[2]:void 0,2)),void 0==b||g==Array&&a(b))for(t=o(d.length),r=new g(t);t>w;w++)p=y?v(d[w],w):d[w],l(r,w,p);else for(f=b.call(d),h=f.next,r=new g;!(c=h.call(f)).done;w++)p=y?s(f,v,[c.value,w],!0):c.value,l(r,w,p);return r.length=w,r}},"5e21":function(e,t,r){"use strict";r("650a")},"5fb2":function(e,t,r){"use strict";var n=2147483647,i=36,s=1,a=26,o=38,l=700,u=72,c=128,f="-",h=/[^\0-\u007E]/,p=/[.\u3002\uFF0E\uFF61]/g,d="Overflow: input needs wider integers to process",g=i-s,m=Math.floor,v=String.fromCharCode,y=function(e){var t=[],r=0,n=e.length;while(r<n){var i=e.charCodeAt(r++);if(i>=55296&&i<=56319&&r<n){var s=e.charCodeAt(r++);56320==(64512&s)?t.push(((1023&i)<<10)+(1023&s)+65536):(t.push(i),r--)}else t.push(i)}return t},b=function(e){return e+22+75*(e<26)},w=function(e,t,r){var n=0;for(e=r?m(e/l):e>>1,e+=m(e/t);e>g*a>>1;n+=i)e=m(e/g);return m(n+(g+1)*e/(e+o))},_=function(e){var t=[];e=y(e);var r,o,l=e.length,h=c,p=0,g=u;for(r=0;r<e.length;r++)o=e[r],o<128&&t.push(v(o));var _=t.length,k=_;_&&t.push(f);while(k<l){var x=n;for(r=0;r<e.length;r++)o=e[r],o>=h&&o<x&&(x=o);var S=k+1;if(x-h>m((n-p)/S))throw RangeError(d);for(p+=(x-h)*S,h=x,r=0;r<e.length;r++){if(o=e[r],o<h&&++p>n)throw RangeError(d);if(o==h){for(var C=p,R=i;;R+=i){var U=R<=g?s:R>=g+a?a:R-g;if(C<U)break;var F=C-U,L=i-U;t.push(v(b(U+F%L))),C=m(F/L)}t.push(v(b(C))),g=w(p,S,k==_),p=0,++k}}++p,++h}return t.join("")};e.exports=function(e){var t,r,n=[],i=e.toLowerCase().replace(p,".").split(".");for(t=0;t<i.length;t++)r=i[t],n.push(h.test(r)?"xn--"+_(r):r);return n.join(".")}},"650a":function(e,t,r){},"89a9":function(e,t,r){e.exports=function(e){var t={};function r(n){if(t[n])return t[n].exports;var i=t[n]={i:n,l:!1,exports:{}};return e[n].call(i.exports,i,i.exports,r),i.l=!0,i.exports}return r.m=e,r.c=t,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 i in e)r.d(n,i,function(t){return e[t]}.bind(null,i));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="/dist/",r(r.s=57)}({0:function(e,t,r){"use strict";function n(e,t,r,n,i,s,a,o){var l,u="function"===typeof e?e.options:e;if(t&&(u.render=t,u.staticRenderFns=r,u._compiled=!0),n&&(u.functional=!0),s&&(u._scopeId="data-v-"+s),a?(l=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),i&&i.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},u._ssrRegister=l):i&&(l=o?function(){i.call(this,this.$root.$options.shadowRoot)}:i),l)if(u.functional){u._injectStyles=l;var c=u.render;u.render=function(e,t){return l.call(t),c(e,t)}}else{var f=u.beforeCreate;u.beforeCreate=f?[].concat(f,l):[l]}return{exports:e,options:u}}r.d(t,"a",(function(){return n}))},11:function(e,t){e.exports=r("2bb5")},26:function(e,t){e.exports=r("92fa")},42:function(e,t){e.exports=r("c284")},57:function(e,t,r){"use strict";r.r(t);var n=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("transition-group",{class:["el-upload-list","el-upload-list--"+e.listType,{"is-disabled":e.disabled}],attrs:{tag:"ul",name:"el-list"}},e._l(e.files,(function(t){return r("li",{key:t.uid,class:["el-upload-list__item","is-"+t.status,e.focusing?"focusing":""],attrs:{tabindex:"0"},on:{keydown:function(r){if(!("button"in r)&&e._k(r.keyCode,"delete",[8,46],r.key,["Backspace","Delete","Del"]))return null;!e.disabled&&e.$emit("remove",t)},focus:function(t){e.focusing=!0},blur:function(t){e.focusing=!1},click:function(t){e.focusing=!1}}},[e._t("default",["uploading"!==t.status&&["picture-card","picture"].indexOf(e.listType)>-1?r("img",{staticClass:"el-upload-list__item-thumbnail",attrs:{src:t.url,alt:""}}):e._e(),r("a",{staticClass:"el-upload-list__item-name",on:{click:function(r){e.handleClick(t)}}},[r("i",{staticClass:"el-icon-document"}),e._v(e._s(t.name)+"\n ")]),r("label",{staticClass:"el-upload-list__item-status-label"},[r("i",{class:{"el-icon-upload-success":!0,"el-icon-circle-check":"text"===e.listType,"el-icon-check":["picture-card","picture"].indexOf(e.listType)>-1}})]),e.disabled?e._e():r("i",{staticClass:"el-icon-close",on:{click:function(r){e.$emit("remove",t)}}}),e.disabled?e._e():r("i",{staticClass:"el-icon-close-tip"},[e._v(e._s(e.t("el.upload.deleteTip")))]),"uploading"===t.status?r("el-progress",{attrs:{type:"picture-card"===e.listType?"circle":"line","stroke-width":"picture-card"===e.listType?6:2,percentage:e.parsePercentage(t.percentage)}}):e._e(),"picture-card"===e.listType?r("span",{staticClass:"el-upload-list__item-actions"},[e.handlePreview&&"picture-card"===e.listType?r("span",{staticClass:"el-upload-list__item-preview",on:{click:function(r){e.handlePreview(t)}}},[r("i",{staticClass:"el-icon-zoom-in"})]):e._e(),e.disabled?e._e():r("span",{staticClass:"el-upload-list__item-delete",on:{click:function(r){e.$emit("remove",t)}}},[r("i",{staticClass:"el-icon-delete"})])]):e._e()],{file:t})],2)})),0)},i=[];n._withStripped=!0;var s=r(6),a=r.n(s),o=r(42),l=r.n(o),u={name:"ElUploadList",mixins:[a.a],data:function(){return{focusing:!1}},components:{ElProgress:l.a},props:{files:{type:Array,default:function(){return[]}},disabled:{type:Boolean,default:!1},handlePreview:Function,listType:String},methods:{parsePercentage:function(e){return parseInt(e,10)},handleClick:function(e){this.handlePreview&&this.handlePreview(e)}}},c=u,f=r(0),h=Object(f["a"])(c,n,i,!1,null,null,null);h.options.__file="packages/upload/src/upload-list.vue";var p=h.exports,d=r(26),g=r.n(d);function m(e,t,r){var n=void 0;n=r.response?""+(r.response.error||r.response):r.responseText?""+r.responseText:"fail to post "+e+" "+r.status;var i=new Error(n);return i.status=r.status,i.method="post",i.url=e,i}function v(e){var t=e.responseText||e.response;if(!t)return t;try{return JSON.parse(t)}catch(r){return t}}function y(e){if("undefined"!==typeof XMLHttpRequest){var t=new XMLHttpRequest,r=e.action;t.upload&&(t.upload.onprogress=function(t){t.total>0&&(t.percent=t.loaded/t.total*100),e.onProgress(t)});var n=new FormData;e.data&&Object.keys(e.data).forEach((function(t){n.append(t,e.data[t])})),n.append(e.filename,e.file,e.file.name),t.onerror=function(t){e.onError(t)},t.onload=function(){if(t.status<200||t.status>=300)return e.onError(m(r,e,t));e.onSuccess(v(t))},t.open("post",r,!0),e.withCredentials&&"withCredentials"in t&&(t.withCredentials=!0);var i=e.headers||{};for(var s in i)i.hasOwnProperty(s)&&null!==i[s]&&t.setRequestHeader(s,i[s]);return t.send(n),t}}var b=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"el-upload-dragger",class:{"is-dragover":e.dragover},on:{drop:function(t){return t.preventDefault(),e.onDrop(t)},dragover:function(t){return t.preventDefault(),e.onDragover(t)},dragleave:function(t){t.preventDefault(),e.dragover=!1}}},[e._t("default")],2)},w=[];b._withStripped=!0;var _={name:"ElUploadDrag",props:{disabled:Boolean},inject:{uploader:{default:""}},data:function(){return{dragover:!1}},methods:{onDragover:function(){this.disabled||(this.dragover=!0)},onDrop:function(e){if(!this.disabled&&this.uploader){var t=this.uploader.accept;this.dragover=!1,t?this.$emit("file",[].slice.call(e.dataTransfer.files).filter((function(e){var r=e.type,n=e.name,i=n.indexOf(".")>-1?"."+n.split(".").pop():"",s=r.replace(/\/.*$/,"");return t.split(",").map((function(e){return e.trim()})).filter((function(e){return e})).some((function(e){return/\..+$/.test(e)?i===e:/\/\*$/.test(e)?s===e.replace(/\/\*$/,""):!!/^[^\/]+\/[^\/]+$/.test(e)&&r===e}))}))):this.$emit("file",e.dataTransfer.files)}}}},k=_,x=Object(f["a"])(k,b,w,!1,null,null,null);x.options.__file="packages/upload/src/upload-dragger.vue";var S,C,R=x.exports,U={inject:["uploader"],components:{UploadDragger:R},props:{type:String,action:{type:String,required:!0},name:{type:String,default:"file"},data:Object,headers:Object,withCredentials:Boolean,multiple:Boolean,accept:String,onStart:Function,onProgress:Function,onSuccess:Function,onError:Function,beforeUpload:Function,drag:Boolean,onPreview:{type:Function,default:function(){}},onRemove:{type:Function,default:function(){}},fileList:Array,autoUpload:Boolean,listType:String,httpRequest:{type:Function,default:y},disabled:Boolean,limit:Number,onExceed:Function},data:function(){return{mouseover:!1,reqs:{}}},methods:{isImage:function(e){return-1!==e.indexOf("image")},handleChange:function(e){var t=e.target.files;t&&this.uploadFiles(t)},uploadFiles:function(e){var t=this;if(this.limit&&this.fileList.length+e.length>this.limit)this.onExceed&&this.onExceed(e,this.fileList);else{var r=Array.prototype.slice.call(e);this.multiple||(r=r.slice(0,1)),0!==r.length&&r.forEach((function(e){t.onStart(e),t.autoUpload&&t.upload(e)}))}},upload:function(e){var t=this;if(this.$refs.input.value=null,!this.beforeUpload)return this.post(e);var r=this.beforeUpload(e);r&&r.then?r.then((function(r){var n=Object.prototype.toString.call(r);if("[object File]"===n||"[object Blob]"===n){for(var i in"[object Blob]"===n&&(r=new File([r],e.name,{type:e.type})),e)e.hasOwnProperty(i)&&(r[i]=e[i]);t.post(r)}else t.post(e)}),(function(){t.onRemove(null,e)})):!1!==r?this.post(e):this.onRemove(null,e)},abort:function(e){var t=this.reqs;if(e){var r=e;e.uid&&(r=e.uid),t[r]&&t[r].abort()}else Object.keys(t).forEach((function(e){t[e]&&t[e].abort(),delete t[e]}))},post:function(e){var t=this,r=e.uid,n={headers:this.headers,withCredentials:this.withCredentials,file:e,data:this.data,filename:this.name,action:this.action,onProgress:function(r){t.onProgress(r,e)},onSuccess:function(n){t.onSuccess(n,e),delete t.reqs[r]},onError:function(n){t.onError(n,e),delete t.reqs[r]}},i=this.httpRequest(n);this.reqs[r]=i,i&&i.then&&i.then(n.onSuccess,n.onError)},handleClick:function(){this.disabled||(this.$refs.input.value=null,this.$refs.input.click())},handleKeydown:function(e){e.target===e.currentTarget&&(13!==e.keyCode&&32!==e.keyCode||this.handleClick())}},render:function(e){var t=this.handleClick,r=this.drag,n=this.name,i=this.handleChange,s=this.multiple,a=this.accept,o=this.listType,l=this.uploadFiles,u=this.disabled,c=this.handleKeydown,f={class:{"el-upload":!0},on:{click:t,keydown:c}};return f.class["el-upload--"+o]=!0,e("div",g()([f,{attrs:{tabindex:"0"}}]),[r?e("upload-dragger",{attrs:{disabled:u},on:{file:l}},[this.$slots.default]):this.$slots.default,e("input",{class:"el-upload__input",attrs:{type:"file",name:n,multiple:s,accept:a},ref:"input",on:{change:i}})])}},F=U,L=Object(f["a"])(F,S,C,!1,null,null,null);L.options.__file="packages/upload/src/upload.vue";var P=L.exports,E=r(11),$=r.n(E);function O(){}var j,T,A={name:"ElUpload",mixins:[$.a],components:{ElProgress:l.a,UploadList:p,Upload:P},provide:function(){return{uploader:this}},inject:{elForm:{default:""}},props:{action:{type:String,required:!0},headers:{type:Object,default:function(){return{}}},data:Object,multiple:Boolean,name:{type:String,default:"file"},drag:Boolean,dragger:Boolean,withCredentials:Boolean,showFileList:{type:Boolean,default:!0},accept:String,type:{type:String,default:"select"},beforeUpload:Function,beforeRemove:Function,onRemove:{type:Function,default:O},onChange:{type:Function,default:O},onPreview:{type:Function},onSuccess:{type:Function,default:O},onProgress:{type:Function,default:O},onError:{type:Function,default:O},fileList:{type:Array,default:function(){return[]}},autoUpload:{type:Boolean,default:!0},listType:{type:String,default:"text"},httpRequest:Function,disabled:Boolean,limit:Number,onExceed:{type:Function,default:O}},data:function(){return{uploadFiles:[],dragOver:!1,draging:!1,tempIndex:1}},computed:{uploadDisabled:function(){return this.disabled||(this.elForm||{}).disabled}},watch:{listType:function(e){"picture-card"!==e&&"picture"!==e||(this.uploadFiles=this.uploadFiles.map((function(e){if(!e.url&&e.raw)try{e.url=URL.createObjectURL(e.raw)}catch(t){console.error("[Element Error][Upload]",t)}return e})))},fileList:{immediate:!0,handler:function(e){var t=this;this.uploadFiles=e.map((function(e){return e.uid=e.uid||Date.now()+t.tempIndex++,e.status=e.status||"success",e}))}}},methods:{handleStart:function(e){e.uid=Date.now()+this.tempIndex++;var t={status:"ready",name:e.name,size:e.size,percentage:0,uid:e.uid,raw:e};if("picture-card"===this.listType||"picture"===this.listType)try{t.url=URL.createObjectURL(e)}catch(r){return void console.error("[Element Error][Upload]",r)}this.uploadFiles.push(t),this.onChange(t,this.uploadFiles)},handleProgress:function(e,t){var r=this.getFile(t);this.onProgress(e,r,this.uploadFiles),r.status="uploading",r.percentage=e.percent||0},handleSuccess:function(e,t){var r=this.getFile(t);r&&(r.status="success",r.response=e,this.onSuccess(e,r,this.uploadFiles),this.onChange(r,this.uploadFiles))},handleError:function(e,t){var r=this.getFile(t),n=this.uploadFiles;r.status="fail",n.splice(n.indexOf(r),1),this.onError(e,r,this.uploadFiles),this.onChange(r,this.uploadFiles)},handleRemove:function(e,t){var r=this;t&&(e=this.getFile(t));var n=function(){r.abort(e);var t=r.uploadFiles;t.splice(t.indexOf(e),1),r.onRemove(e,t)};if(this.beforeRemove){if("function"===typeof this.beforeRemove){var i=this.beforeRemove(e,this.uploadFiles);i&&i.then?i.then((function(){n()}),O):!1!==i&&n()}}else n()},getFile:function(e){var t=this.uploadFiles,r=void 0;return t.every((function(t){return r=e.uid===t.uid?t:null,!r})),r},abort:function(e){this.$refs["upload-inner"].abort(e)},clearFiles:function(){this.uploadFiles=[]},submit:function(){var e=this;this.uploadFiles.filter((function(e){return"ready"===e.status})).forEach((function(t){e.$refs["upload-inner"].upload(t.raw)}))},getMigratingConfig:function(){return{props:{"default-file-list":"default-file-list is renamed to file-list.","show-upload-list":"show-upload-list is renamed to show-file-list.","thumbnail-mode":"thumbnail-mode has been deprecated, you can implement the same effect according to this case: http://element.eleme.io/#/zh-CN/component/upload#yong-hu-tou-xiang-shang-chuan"}}}},beforeDestroy:function(){this.uploadFiles.forEach((function(e){e.url&&0===e.url.indexOf("blob:")&&URL.revokeObjectURL(e.url)}))},render:function(e){var t=this,r=void 0;this.showFileList&&(r=e(p,{attrs:{disabled:this.uploadDisabled,listType:this.listType,files:this.uploadFiles,handlePreview:this.onPreview},on:{remove:this.handleRemove}},[function(e){if(t.$scopedSlots.file)return t.$scopedSlots.file({file:e.file})}]));var n={props:{type:this.type,drag:this.drag,action:this.action,multiple:this.multiple,"before-upload":this.beforeUpload,"with-credentials":this.withCredentials,headers:this.headers,name:this.name,data:this.data,accept:this.accept,fileList:this.uploadFiles,autoUpload:this.autoUpload,listType:this.listType,disabled:this.uploadDisabled,limit:this.limit,"on-exceed":this.onExceed,"on-start":this.handleStart,"on-progress":this.handleProgress,"on-success":this.handleSuccess,"on-error":this.handleError,"on-preview":this.onPreview,"on-remove":this.handleRemove,"http-request":this.httpRequest},ref:"upload-inner"},i=this.$slots.trigger||this.$slots.default,s=e("upload",n,[i]);return e("div",["picture-card"===this.listType?r:"",this.$slots.trigger?[s,this.$slots.default]:s,this.$slots.tip,"picture-card"!==this.listType?r:""])}},B=A,q=Object(f["a"])(B,j,T,!1,null,null,null);q.options.__file="packages/upload/src/index.vue";var I=q.exports;I.install=function(e){e.component(I.name,I)};t["default"]=I},6:function(e,t){e.exports=r("6b7c")}})},"92fa":function(e,t){var r=/^(attrs|props|on|nativeOn|class|style|hook)$/;function n(e,t){return function(){e&&e.apply(this,arguments),t&&t.apply(this,arguments)}}e.exports=function(e){return e.reduce((function(e,t){var i,s,a,o,l;for(a in t)if(i=e[a],s=t[a],i&&r.test(a))if("class"===a&&("string"===typeof i&&(l=i,e[a]=i={},i[l]=!0),"string"===typeof s&&(l=s,t[a]=s={},s[l]=!0)),"on"===a||"nativeOn"===a||"hook"===a)for(o in s)i[o]=n(i[o],s[o]);else if(Array.isArray(i))e[a]=i.concat(s);else if(Array.isArray(s))e[a]=[i].concat(s);else for(o in s)i[o]=s[o];else e[a]=t[a];return e}),{})}},9861:function(e,t,r){"use strict";r("e260");var n=r("23e7"),i=r("d066"),s=r("0d3b"),a=r("6eeb"),o=r("e2cc"),l=r("d44e"),u=r("9ed3"),c=r("69f3"),f=r("19aa"),h=r("5135"),p=r("0366"),d=r("f5df"),g=r("825a"),m=r("861d"),v=r("7c73"),y=r("5c6c"),b=r("9a1f"),w=r("35a1"),_=r("b622"),k=i("fetch"),x=i("Headers"),S=_("iterator"),C="URLSearchParams",R=C+"Iterator",U=c.set,F=c.getterFor(C),L=c.getterFor(R),P=/\+/g,E=Array(4),$=function(e){return E[e-1]||(E[e-1]=RegExp("((?:%[\\da-f]{2}){"+e+"})","gi"))},O=function(e){try{return decodeURIComponent(e)}catch(t){return e}},j=function(e){var t=e.replace(P," "),r=4;try{return decodeURIComponent(t)}catch(n){while(r)t=t.replace($(r--),O);return t}},T=/[!'()~]|%20/g,A={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},B=function(e){return A[e]},q=function(e){return encodeURIComponent(e).replace(T,B)},I=function(e,t){if(t){var r,n,i=t.split("&"),s=0;while(s<i.length)r=i[s++],r.length&&(n=r.split("="),e.push({key:j(n.shift()),value:j(n.join("="))}))}},D=function(e){this.entries.length=0,I(this.entries,e)},M=function(e,t){if(e<t)throw TypeError("Not enough arguments")},N=u((function(e,t){U(this,{type:R,iterator:b(F(e).entries),kind:t})}),"Iterator",(function(){var e=L(this),t=e.kind,r=e.iterator.next(),n=r.value;return r.done||(r.value="keys"===t?n.key:"values"===t?n.value:[n.key,n.value]),r})),z=function(){f(this,z,C);var e,t,r,n,i,s,a,o,l,u=arguments.length>0?arguments[0]:void 0,c=this,p=[];if(U(c,{type:C,entries:p,updateURL:function(){},updateSearchParams:D}),void 0!==u)if(m(u))if(e=w(u),"function"===typeof e){t=e.call(u),r=t.next;while(!(n=r.call(t)).done){if(i=b(g(n.value)),s=i.next,(a=s.call(i)).done||(o=s.call(i)).done||!s.call(i).done)throw TypeError("Expected sequence with length 2");p.push({key:a.value+"",value:o.value+""})}}else for(l in u)h(u,l)&&p.push({key:l,value:u[l]+""});else I(p,"string"===typeof u?"?"===u.charAt(0)?u.slice(1):u:u+"")},W=z.prototype;o(W,{append:function(e,t){M(arguments.length,2);var r=F(this);r.entries.push({key:e+"",value:t+""}),r.updateURL()},delete:function(e){M(arguments.length,1);var t=F(this),r=t.entries,n=e+"",i=0;while(i<r.length)r[i].key===n?r.splice(i,1):i++;t.updateURL()},get:function(e){M(arguments.length,1);for(var t=F(this).entries,r=e+"",n=0;n<t.length;n++)if(t[n].key===r)return t[n].value;return null},getAll:function(e){M(arguments.length,1);for(var t=F(this).entries,r=e+"",n=[],i=0;i<t.length;i++)t[i].key===r&&n.push(t[i].value);return n},has:function(e){M(arguments.length,1);var t=F(this).entries,r=e+"",n=0;while(n<t.length)if(t[n++].key===r)return!0;return!1},set:function(e,t){M(arguments.length,1);for(var r,n=F(this),i=n.entries,s=!1,a=e+"",o=t+"",l=0;l<i.length;l++)r=i[l],r.key===a&&(s?i.splice(l--,1):(s=!0,r.value=o));s||i.push({key:a,value:o}),n.updateURL()},sort:function(){var e,t,r,n=F(this),i=n.entries,s=i.slice();for(i.length=0,r=0;r<s.length;r++){for(e=s[r],t=0;t<r;t++)if(i[t].key>e.key){i.splice(t,0,e);break}t===r&&i.push(e)}n.updateURL()},forEach:function(e){var t,r=F(this).entries,n=p(e,arguments.length>1?arguments[1]:void 0,3),i=0;while(i<r.length)t=r[i++],n(t.value,t.key,this)},keys:function(){return new N(this,"keys")},values:function(){return new N(this,"values")},entries:function(){return new N(this,"entries")}},{enumerable:!0}),a(W,S,W.entries),a(W,"toString",(function(){var e,t=F(this).entries,r=[],n=0;while(n<t.length)e=t[n++],r.push(q(e.key)+"="+q(e.value));return r.join("&")}),{enumerable:!0}),l(z,C),n({global:!0,forced:!s},{URLSearchParams:z}),s||"function"!=typeof k||"function"!=typeof x||n({global:!0,enumerable:!0,forced:!0},{fetch:function(e){var t,r,n,i=[e];return arguments.length>1&&(t=arguments[1],m(t)&&(r=t.body,d(r)===C&&(n=t.headers?new x(t.headers):new x,n.has("content-type")||n.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"),t=v(t,{body:y(0,String(r)),headers:y(0,n)}))),i.push(t)),k.apply(this,i)}}),e.exports={URLSearchParams:z,getState:F}},"9a1f":function(e,t,r){var n=r("825a"),i=r("35a1");e.exports=function(e){var t=i(e);if("function"!=typeof t)throw TypeError(String(e)+" is not iterable");return n(t.call(e))}},"9bdd":function(e,t,r){var n=r("825a"),i=r("2a62");e.exports=function(e,t,r,s){try{return s?t(n(r)[0],r[1]):t(r)}catch(a){throw i(e),a}}},c284:function(e,t,r){e.exports=function(e){var t={};function r(n){if(t[n])return t[n].exports;var i=t[n]={i:n,l:!1,exports:{}};return e[n].call(i.exports,i,i.exports,r),i.l=!0,i.exports}return r.m=e,r.c=t,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 i in e)r.d(n,i,function(t){return e[t]}.bind(null,i));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="/dist/",r(r.s=119)}({0:function(e,t,r){"use strict";function n(e,t,r,n,i,s,a,o){var l,u="function"===typeof e?e.options:e;if(t&&(u.render=t,u.staticRenderFns=r,u._compiled=!0),n&&(u.functional=!0),s&&(u._scopeId="data-v-"+s),a?(l=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),i&&i.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},u._ssrRegister=l):i&&(l=o?function(){i.call(this,this.$root.$options.shadowRoot)}:i),l)if(u.functional){u._injectStyles=l;var c=u.render;u.render=function(e,t){return l.call(t),c(e,t)}}else{var f=u.beforeCreate;u.beforeCreate=f?[].concat(f,l):[l]}return{exports:e,options:u}}r.d(t,"a",(function(){return n}))},119:function(e,t,r){"use strict";r.r(t);var n=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"el-progress",class:["el-progress--"+e.type,e.status?"is-"+e.status:"",{"el-progress--without-text":!e.showText,"el-progress--text-inside":e.textInside}],attrs:{role:"progressbar","aria-valuenow":e.percentage,"aria-valuemin":"0","aria-valuemax":"100"}},["line"===e.type?r("div",{staticClass:"el-progress-bar"},[r("div",{staticClass:"el-progress-bar__outer",style:{height:e.strokeWidth+"px"}},[r("div",{staticClass:"el-progress-bar__inner",style:e.barStyle},[e.showText&&e.textInside?r("div",{staticClass:"el-progress-bar__innerText"},[e._v(e._s(e.content))]):e._e()])])]):r("div",{staticClass:"el-progress-circle",style:{height:e.width+"px",width:e.width+"px"}},[r("svg",{attrs:{viewBox:"0 0 100 100"}},[r("path",{staticClass:"el-progress-circle__track",style:e.trailPathStyle,attrs:{d:e.trackPath,stroke:"#e5e9f2","stroke-width":e.relativeStrokeWidth,fill:"none"}}),r("path",{staticClass:"el-progress-circle__path",style:e.circlePathStyle,attrs:{d:e.trackPath,stroke:e.stroke,fill:"none","stroke-linecap":e.strokeLinecap,"stroke-width":e.percentage?e.relativeStrokeWidth:0}})])]),e.showText&&!e.textInside?r("div",{staticClass:"el-progress__text",style:{fontSize:e.progressTextSize+"px"}},[e.status?r("i",{class:e.iconClass}):[e._v(e._s(e.content))]],2):e._e()])},i=[];n._withStripped=!0;var s={name:"ElProgress",props:{type:{type:String,default:"line",validator:function(e){return["line","circle","dashboard"].indexOf(e)>-1}},percentage:{type:Number,default:0,required:!0,validator:function(e){return e>=0&&e<=100}},status:{type:String,validator:function(e){return["success","exception","warning"].indexOf(e)>-1}},strokeWidth:{type:Number,default:6},strokeLinecap:{type:String,default:"round"},textInside:{type:Boolean,default:!1},width:{type:Number,default:126},showText:{type:Boolean,default:!0},color:{type:[String,Array,Function],default:""},format:Function},computed:{barStyle:function(){var e={};return e.width=this.percentage+"%",e.backgroundColor=this.getCurrentColor(this.percentage),e},relativeStrokeWidth:function(){return(this.strokeWidth/this.width*100).toFixed(1)},radius:function(){return"circle"===this.type||"dashboard"===this.type?parseInt(50-parseFloat(this.relativeStrokeWidth)/2,10):0},trackPath:function(){var e=this.radius,t="dashboard"===this.type;return"\n M 50 50\n m 0 "+(t?"":"-")+e+"\n a "+e+" "+e+" 0 1 1 0 "+(t?"-":"")+2*e+"\n a "+e+" "+e+" 0 1 1 0 "+(t?"":"-")+2*e+"\n "},perimeter:function(){return 2*Math.PI*this.radius},rate:function(){return"dashboard"===this.type?.75:1},strokeDashoffset:function(){var e=-1*this.perimeter*(1-this.rate)/2;return e+"px"},trailPathStyle:function(){return{strokeDasharray:this.perimeter*this.rate+"px, "+this.perimeter+"px",strokeDashoffset:this.strokeDashoffset}},circlePathStyle:function(){return{strokeDasharray:this.perimeter*this.rate*(this.percentage/100)+"px, "+this.perimeter+"px",strokeDashoffset:this.strokeDashoffset,transition:"stroke-dasharray 0.6s ease 0s, stroke 0.6s ease"}},stroke:function(){var e=void 0;if(this.color)e=this.getCurrentColor(this.percentage);else switch(this.status){case"success":e="#13ce66";break;case"exception":e="#ff4949";break;case"warning":e="#e6a23c";break;default:e="#20a0ff"}return e},iconClass:function(){return"warning"===this.status?"el-icon-warning":"line"===this.type?"success"===this.status?"el-icon-circle-check":"el-icon-circle-close":"success"===this.status?"el-icon-check":"el-icon-close"},progressTextSize:function(){return"line"===this.type?12+.4*this.strokeWidth:.111111*this.width+2},content:function(){return"function"===typeof this.format?this.format(this.percentage)||"":this.percentage+"%"}},methods:{getCurrentColor:function(e){return"function"===typeof this.color?this.color(e):"string"===typeof this.color?this.color:this.getLevelColor(e)},getLevelColor:function(e){for(var t=this.getColorArray().sort((function(e,t){return e.percentage-t.percentage})),r=0;r<t.length;r++)if(t[r].percentage>e)return t[r].color;return t[t.length-1].color},getColorArray:function(){var e=this.color,t=100/e.length;return e.map((function(e,r){return"string"===typeof e?{color:e,percentage:(r+1)*t}:e}))}}},a=s,o=r(0),l=Object(o["a"])(a,n,i,!1,null,null,null);l.options.__file="packages/progress/src/progress.vue";var u=l.exports;u.install=function(e){e.component(u.name,u)};t["default"]=u}})},d75c:function(e,t,r){"use strict";r.r(t);var n=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"messagexk pagex"},[r("div",{staticClass:"message-box"},[r("div",{staticClass:"h3"},[e._v("基本信息")]),r("el-form",{attrs:{model:e.userinfo,"label-width":"90px"}},[r("el-form-item",{attrs:{label:"公司名称"}},[r("el-input",{attrs:{placeholder:"",disabled:""},model:{value:e.userinfo.company_name,callback:function(t){e.$set(e.userinfo,"company_name",t)},expression:"userinfo.company_name"}})],1),r("el-form-item",{attrs:{label:"联系人"}},[r("el-input",{model:{value:e.userinfo.contacts_name,callback:function(t){e.$set(e.userinfo,"contacts_name",t)},expression:"userinfo.contacts_name"}})],1),r("el-form-item",{attrs:{label:"联系人电话"}},[r("el-input",{attrs:{disabled:""},model:{value:e.userinfo.mobile,callback:function(t){e.$set(e.userinfo,"mobile",t)},expression:"userinfo.mobile"}})],1),r("el-form-item",{attrs:{label:"邮箱"}},[r("el-input",{model:{value:e.userinfo.email,callback:function(t){e.$set(e.userinfo,"email",t)},expression:"userinfo.email"}})],1),r("el-form-item",[r("div",{staticClass:"submits",on:{click:e.submituser}},[e._v("确认")])])],1),r("div",{staticClass:"fl up-box"},[r("img",{staticClass:"imspre",attrs:{src:e.userinfo.avatar}}),r("el-upload",{staticClass:"avatar-uploader",attrs:{data:e.fileData,action:e.upUrl,"show-file-list":!1,"on-success":e.handleAvatarSuccess,"before-upload":e.beforeAvatarUpload}},[r("span",{staticClass:"icon iconfont fl"},[e._v("")]),r("div",{staticClass:"fl"},[e._v("更换头像")])])],1)],1),r("Menu")],1)},i=[],s=(r("425f"),r("450d"),r("4105")),a=r.n(s),o=(r("eca7"),r("3787")),l=r.n(o),u=(r("10cb"),r("f3ad")),c=r.n(u),f=(r("f225"),r("89a9")),h=r.n(f),p=(r("0fb7"),r("f529")),d=r.n(p),g=(r("d3b7"),r("3ca3"),r("ddb0"),r("2b3d"),r("2b0e")),m=r("2251"),v=r("9aea"),y=r("e8d6");g["default"].prototype.$message=d.a,g["default"].use(a.a).use(l.a).use(c.a).use(h.a);var b={name:"message",data:function(){return{upUrl:v["a"]+"/api/user/setavatar",fileData:{token:y["a"].getCookie("token")},userinfo:{company_name:"",contacts_name:"",mobile:"",email:"",avatar:"https://www.ichunt.com/v3/dist/res/home/images/headimg/boy1.png"}}},watch:{},created:function(){this.getUseInfo()},computed:{},methods:{getUseInfo:function(){var e=this;window.userInfo?this.userinfo=window.userInfo:this.$http("get","/api/user/getuserinfo").then((function(t){e.userinfo=t.data,window.userInfo=t.data}))},submituser:function(){var e=this;this.$http("post","/api/user/setuserinfo",{email:this.userinfo.email,contacts_name:this.userinfo.contacts_name}).then((function(t){0===t.err_code?(e.$message("提交成功"),sessionStorage.removeItem("userInfox")):e.$message(t.err_msg)}))},handleAvatarSuccess:function(e,t){0===e.err_code?(this.$message("设置成功"),this.userinfo.avatar=URL.createObjectURL(t.raw),sessionStorage.removeItem("userInfox")):this.$message(e.err_msg)},beforeAvatarUpload:function(e){var t="image/jpeg"===e.type||"image/png"===e.type||"image/jpg"===e.type||"image/gif"===e.type,r=e.size/1024/1024<5;return t||this.$message("上传头像图片只能是 JPG、PNG、GIF 格式!"),r||this.$message("上传头像图片大小不能超过 5MB!"),t&&r}},components:{Menu:m["a"]}},w=b,_=(r("5e21"),r("2877")),k=Object(_["a"])(w,n,i,!1,null,"36b7b371",null);t["default"]=k.exports},f225:function(e,t,r){}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-ed440600"],{"0d3b":function(e,t,r){var n=r("d039"),i=r("b622"),s=r("c430"),a=i("iterator");e.exports=!n((function(){var e=new URL("b?a=1&b=2&c=3","http://a"),t=e.searchParams,r="";return e.pathname="c%20d",t.forEach((function(e,n){t["delete"]("b"),r+=n+e})),s&&!e.toJSON||!t.sort||"http://a/c%20d?a=1&c=3"!==e.href||"3"!==t.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!t[a]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://тест").host||"#%D0%B1"!==new URL("http://a#б").hash||"a1c3"!==r||"x"!==new URL("http://x",void 0).host}))},"2b3d":function(e,t,r){"use strict";r("3ca3");var n,i=r("23e7"),s=r("83ab"),a=r("0d3b"),o=r("da84"),l=r("37e8"),u=r("6eeb"),c=r("19aa"),f=r("5135"),h=r("60da"),p=r("4df4"),d=r("6547").codeAt,g=r("5fb2"),m=r("d44e"),v=r("9861"),y=r("69f3"),b=o.URL,w=v.URLSearchParams,_=v.getState,k=y.set,x=y.getterFor("URL"),S=Math.floor,C=Math.pow,R="Invalid authority",U="Invalid scheme",F="Invalid host",L="Invalid port",P=/[A-Za-z]/,E=/[\d+-.A-Za-z]/,O=/\d/,$=/^(0x|0X)/,j=/^[0-7]+$/,T=/^\d+$/,A=/^[\dA-Fa-f]+$/,B=/[\0\t\n\r #%/:?@[\\]]/,q=/[\0\t\n\r #/:?@[\\]]/,I=/^[\u0000-\u001F ]+|[\u0000-\u001F ]+$/g,D=/[\t\n\r]/g,M=function(e,t){var r,n,i;if("["==t.charAt(0)){if("]"!=t.charAt(t.length-1))return F;if(r=z(t.slice(1,-1)),!r)return F;e.host=r}else if(Q(e)){if(t=g(t),B.test(t))return F;if(r=N(t),null===r)return F;e.host=r}else{if(q.test(t))return F;for(r="",n=p(t),i=0;i<n.length;i++)r+=K(n[i],X);e.host=r}},N=function(e){var t,r,n,i,s,a,o,l=e.split(".");if(l.length&&""==l[l.length-1]&&l.pop(),t=l.length,t>4)return e;for(r=[],n=0;n<t;n++){if(i=l[n],""==i)return e;if(s=10,i.length>1&&"0"==i.charAt(0)&&(s=$.test(i)?16:8,i=i.slice(8==s?1:2)),""===i)a=0;else{if(!(10==s?T:8==s?j:A).test(i))return e;a=parseInt(i,s)}r.push(a)}for(n=0;n<t;n++)if(a=r[n],n==t-1){if(a>=C(256,5-t))return null}else if(a>255)return null;for(o=r.pop(),n=0;n<r.length;n++)o+=r[n]*C(256,3-n);return o},z=function(e){var t,r,n,i,s,a,o,l=[0,0,0,0,0,0,0,0],u=0,c=null,f=0,h=function(){return e.charAt(f)};if(":"==h()){if(":"!=e.charAt(1))return;f+=2,u++,c=u}while(h()){if(8==u)return;if(":"!=h()){t=r=0;while(r<4&&A.test(h()))t=16*t+parseInt(h(),16),f++,r++;if("."==h()){if(0==r)return;if(f-=r,u>6)return;n=0;while(h()){if(i=null,n>0){if(!("."==h()&&n<4))return;f++}if(!O.test(h()))return;while(O.test(h())){if(s=parseInt(h(),10),null===i)i=s;else{if(0==i)return;i=10*i+s}if(i>255)return;f++}l[u]=256*l[u]+i,n++,2!=n&&4!=n||u++}if(4!=n)return;break}if(":"==h()){if(f++,!h())return}else if(h())return;l[u++]=t}else{if(null!==c)return;f++,u++,c=u}}if(null!==c){a=u-c,u=7;while(0!=u&&a>0)o=l[u],l[u--]=l[c+a-1],l[c+--a]=o}else if(8!=u)return;return l},W=function(e){for(var t=null,r=1,n=null,i=0,s=0;s<8;s++)0!==e[s]?(i>r&&(t=n,r=i),n=null,i=0):(null===n&&(n=s),++i);return i>r&&(t=n,r=i),t},J=function(e){var t,r,n,i;if("number"==typeof e){for(t=[],r=0;r<4;r++)t.unshift(e%256),e=S(e/256);return t.join(".")}if("object"==typeof e){for(t="",n=W(e),r=0;r<8;r++)i&&0===e[r]||(i&&(i=!1),n===r?(t+=r?":":"::",i=!0):(t+=e[r].toString(16),r<7&&(t+=":")));return"["+t+"]"}return e},X={},H=h({},X,{" ":1,'"':1,"<":1,">":1,"`":1}),V=h({},H,{"#":1,"?":1,"{":1,"}":1}),G=h({},V,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),K=function(e,t){var r=d(e,0);return r>32&&r<127&&!f(t,e)?e:encodeURIComponent(e)},Z={ftp:21,file:null,http:80,https:443,ws:80,wss:443},Q=function(e){return f(Z,e.scheme)},Y=function(e){return""!=e.username||""!=e.password},ee=function(e){return!e.host||e.cannotBeABaseURL||"file"==e.scheme},te=function(e,t){var r;return 2==e.length&&P.test(e.charAt(0))&&(":"==(r=e.charAt(1))||!t&&"|"==r)},re=function(e){var t;return e.length>1&&te(e.slice(0,2))&&(2==e.length||"/"===(t=e.charAt(2))||"\\"===t||"?"===t||"#"===t)},ne=function(e){var t=e.path,r=t.length;!r||"file"==e.scheme&&1==r&&te(t[0],!0)||t.pop()},ie=function(e){return"."===e||"%2e"===e.toLowerCase()},se=function(e){return e=e.toLowerCase(),".."===e||"%2e."===e||".%2e"===e||"%2e%2e"===e},ae={},oe={},le={},ue={},ce={},fe={},he={},pe={},de={},ge={},me={},ve={},ye={},be={},we={},_e={},ke={},xe={},Se={},Ce={},Re={},Ue=function(e,t,r,i){var s,a,o,l,u=r||ae,c=0,h="",d=!1,g=!1,m=!1;r||(e.scheme="",e.username="",e.password="",e.host=null,e.port=null,e.path=[],e.query=null,e.fragment=null,e.cannotBeABaseURL=!1,t=t.replace(I,"")),t=t.replace(D,""),s=p(t);while(c<=s.length){switch(a=s[c],u){case ae:if(!a||!P.test(a)){if(r)return U;u=le;continue}h+=a.toLowerCase(),u=oe;break;case oe:if(a&&(E.test(a)||"+"==a||"-"==a||"."==a))h+=a.toLowerCase();else{if(":"!=a){if(r)return U;h="",u=le,c=0;continue}if(r&&(Q(e)!=f(Z,h)||"file"==h&&(Y(e)||null!==e.port)||"file"==e.scheme&&!e.host))return;if(e.scheme=h,r)return void(Q(e)&&Z[e.scheme]==e.port&&(e.port=null));h="","file"==e.scheme?u=be:Q(e)&&i&&i.scheme==e.scheme?u=ue:Q(e)?u=pe:"/"==s[c+1]?(u=ce,c++):(e.cannotBeABaseURL=!0,e.path.push(""),u=Se)}break;case le:if(!i||i.cannotBeABaseURL&&"#"!=a)return U;if(i.cannotBeABaseURL&&"#"==a){e.scheme=i.scheme,e.path=i.path.slice(),e.query=i.query,e.fragment="",e.cannotBeABaseURL=!0,u=Re;break}u="file"==i.scheme?be:fe;continue;case ue:if("/"!=a||"/"!=s[c+1]){u=fe;continue}u=de,c++;break;case ce:if("/"==a){u=ge;break}u=xe;continue;case fe:if(e.scheme=i.scheme,a==n)e.username=i.username,e.password=i.password,e.host=i.host,e.port=i.port,e.path=i.path.slice(),e.query=i.query;else if("/"==a||"\\"==a&&Q(e))u=he;else if("?"==a)e.username=i.username,e.password=i.password,e.host=i.host,e.port=i.port,e.path=i.path.slice(),e.query="",u=Ce;else{if("#"!=a){e.username=i.username,e.password=i.password,e.host=i.host,e.port=i.port,e.path=i.path.slice(),e.path.pop(),u=xe;continue}e.username=i.username,e.password=i.password,e.host=i.host,e.port=i.port,e.path=i.path.slice(),e.query=i.query,e.fragment="",u=Re}break;case he:if(!Q(e)||"/"!=a&&"\\"!=a){if("/"!=a){e.username=i.username,e.password=i.password,e.host=i.host,e.port=i.port,u=xe;continue}u=ge}else u=de;break;case pe:if(u=de,"/"!=a||"/"!=h.charAt(c+1))continue;c++;break;case de:if("/"!=a&&"\\"!=a){u=ge;continue}break;case ge:if("@"==a){d&&(h="%40"+h),d=!0,o=p(h);for(var v=0;v<o.length;v++){var y=o[v];if(":"!=y||m){var b=K(y,G);m?e.password+=b:e.username+=b}else m=!0}h=""}else if(a==n||"/"==a||"?"==a||"#"==a||"\\"==a&&Q(e)){if(d&&""==h)return R;c-=p(h).length+1,h="",u=me}else h+=a;break;case me:case ve:if(r&&"file"==e.scheme){u=_e;continue}if(":"!=a||g){if(a==n||"/"==a||"?"==a||"#"==a||"\\"==a&&Q(e)){if(Q(e)&&""==h)return F;if(r&&""==h&&(Y(e)||null!==e.port))return;if(l=M(e,h),l)return l;if(h="",u=ke,r)return;continue}"["==a?g=!0:"]"==a&&(g=!1),h+=a}else{if(""==h)return F;if(l=M(e,h),l)return l;if(h="",u=ye,r==ve)return}break;case ye:if(!O.test(a)){if(a==n||"/"==a||"?"==a||"#"==a||"\\"==a&&Q(e)||r){if(""!=h){var w=parseInt(h,10);if(w>65535)return L;e.port=Q(e)&&w===Z[e.scheme]?null:w,h=""}if(r)return;u=ke;continue}return L}h+=a;break;case be:if(e.scheme="file","/"==a||"\\"==a)u=we;else{if(!i||"file"!=i.scheme){u=xe;continue}if(a==n)e.host=i.host,e.path=i.path.slice(),e.query=i.query;else if("?"==a)e.host=i.host,e.path=i.path.slice(),e.query="",u=Ce;else{if("#"!=a){re(s.slice(c).join(""))||(e.host=i.host,e.path=i.path.slice(),ne(e)),u=xe;continue}e.host=i.host,e.path=i.path.slice(),e.query=i.query,e.fragment="",u=Re}}break;case we:if("/"==a||"\\"==a){u=_e;break}i&&"file"==i.scheme&&!re(s.slice(c).join(""))&&(te(i.path[0],!0)?e.path.push(i.path[0]):e.host=i.host),u=xe;continue;case _e:if(a==n||"/"==a||"\\"==a||"?"==a||"#"==a){if(!r&&te(h))u=xe;else if(""==h){if(e.host="",r)return;u=ke}else{if(l=M(e,h),l)return l;if("localhost"==e.host&&(e.host=""),r)return;h="",u=ke}continue}h+=a;break;case ke:if(Q(e)){if(u=xe,"/"!=a&&"\\"!=a)continue}else if(r||"?"!=a)if(r||"#"!=a){if(a!=n&&(u=xe,"/"!=a))continue}else e.fragment="",u=Re;else e.query="",u=Ce;break;case xe:if(a==n||"/"==a||"\\"==a&&Q(e)||!r&&("?"==a||"#"==a)){if(se(h)?(ne(e),"/"==a||"\\"==a&&Q(e)||e.path.push("")):ie(h)?"/"==a||"\\"==a&&Q(e)||e.path.push(""):("file"==e.scheme&&!e.path.length&&te(h)&&(e.host&&(e.host=""),h=h.charAt(0)+":"),e.path.push(h)),h="","file"==e.scheme&&(a==n||"?"==a||"#"==a))while(e.path.length>1&&""===e.path[0])e.path.shift();"?"==a?(e.query="",u=Ce):"#"==a&&(e.fragment="",u=Re)}else h+=K(a,V);break;case Se:"?"==a?(e.query="",u=Ce):"#"==a?(e.fragment="",u=Re):a!=n&&(e.path[0]+=K(a,X));break;case Ce:r||"#"!=a?a!=n&&("'"==a&&Q(e)?e.query+="%27":e.query+="#"==a?"%23":K(a,X)):(e.fragment="",u=Re);break;case Re:a!=n&&(e.fragment+=K(a,H));break}c++}},Fe=function(e){var t,r,n=c(this,Fe,"URL"),i=arguments.length>1?arguments[1]:void 0,a=String(e),o=k(n,{type:"URL"});if(void 0!==i)if(i instanceof Fe)t=x(i);else if(r=Ue(t={},String(i)),r)throw TypeError(r);if(r=Ue(o,a,null,t),r)throw TypeError(r);var l=o.searchParams=new w,u=_(l);u.updateSearchParams(o.query),u.updateURL=function(){o.query=String(l)||null},s||(n.href=Pe.call(n),n.origin=Ee.call(n),n.protocol=Oe.call(n),n.username=$e.call(n),n.password=je.call(n),n.host=Te.call(n),n.hostname=Ae.call(n),n.port=Be.call(n),n.pathname=qe.call(n),n.search=Ie.call(n),n.searchParams=De.call(n),n.hash=Me.call(n))},Le=Fe.prototype,Pe=function(){var e=x(this),t=e.scheme,r=e.username,n=e.password,i=e.host,s=e.port,a=e.path,o=e.query,l=e.fragment,u=t+":";return null!==i?(u+="//",Y(e)&&(u+=r+(n?":"+n:"")+"@"),u+=J(i),null!==s&&(u+=":"+s)):"file"==t&&(u+="//"),u+=e.cannotBeABaseURL?a[0]:a.length?"/"+a.join("/"):"",null!==o&&(u+="?"+o),null!==l&&(u+="#"+l),u},Ee=function(){var e=x(this),t=e.scheme,r=e.port;if("blob"==t)try{return new Fe(t.path[0]).origin}catch(n){return"null"}return"file"!=t&&Q(e)?t+"://"+J(e.host)+(null!==r?":"+r:""):"null"},Oe=function(){return x(this).scheme+":"},$e=function(){return x(this).username},je=function(){return x(this).password},Te=function(){var e=x(this),t=e.host,r=e.port;return null===t?"":null===r?J(t):J(t)+":"+r},Ae=function(){var e=x(this).host;return null===e?"":J(e)},Be=function(){var e=x(this).port;return null===e?"":String(e)},qe=function(){var e=x(this),t=e.path;return e.cannotBeABaseURL?t[0]:t.length?"/"+t.join("/"):""},Ie=function(){var e=x(this).query;return e?"?"+e:""},De=function(){return x(this).searchParams},Me=function(){var e=x(this).fragment;return e?"#"+e:""},Ne=function(e,t){return{get:e,set:t,configurable:!0,enumerable:!0}};if(s&&l(Le,{href:Ne(Pe,(function(e){var t=x(this),r=String(e),n=Ue(t,r);if(n)throw TypeError(n);_(t.searchParams).updateSearchParams(t.query)})),origin:Ne(Ee),protocol:Ne(Oe,(function(e){var t=x(this);Ue(t,String(e)+":",ae)})),username:Ne($e,(function(e){var t=x(this),r=p(String(e));if(!ee(t)){t.username="";for(var n=0;n<r.length;n++)t.username+=K(r[n],G)}})),password:Ne(je,(function(e){var t=x(this),r=p(String(e));if(!ee(t)){t.password="";for(var n=0;n<r.length;n++)t.password+=K(r[n],G)}})),host:Ne(Te,(function(e){var t=x(this);t.cannotBeABaseURL||Ue(t,String(e),me)})),hostname:Ne(Ae,(function(e){var t=x(this);t.cannotBeABaseURL||Ue(t,String(e),ve)})),port:Ne(Be,(function(e){var t=x(this);ee(t)||(e=String(e),""==e?t.port=null:Ue(t,e,ye))})),pathname:Ne(qe,(function(e){var t=x(this);t.cannotBeABaseURL||(t.path=[],Ue(t,e+"",ke))})),search:Ne(Ie,(function(e){var t=x(this);e=String(e),""==e?t.query=null:("?"==e.charAt(0)&&(e=e.slice(1)),t.query="",Ue(t,e,Ce)),_(t.searchParams).updateSearchParams(t.query)})),searchParams:Ne(De),hash:Ne(Me,(function(e){var t=x(this);e=String(e),""!=e?("#"==e.charAt(0)&&(e=e.slice(1)),t.fragment="",Ue(t,e,Re)):t.fragment=null}))}),u(Le,"toJSON",(function(){return Pe.call(this)}),{enumerable:!0}),u(Le,"toString",(function(){return Pe.call(this)}),{enumerable:!0}),b){var ze=b.createObjectURL,We=b.revokeObjectURL;ze&&u(Fe,"createObjectURL",(function(e){return ze.apply(b,arguments)})),We&&u(Fe,"revokeObjectURL",(function(e){return We.apply(b,arguments)}))}m(Fe,"URL"),i({global:!0,forced:!a,sham:!s},{URL:Fe})},"4df4":function(e,t,r){"use strict";var n=r("0366"),i=r("7b0b"),s=r("9bdd"),a=r("e95a"),o=r("50c4"),l=r("8418"),u=r("35a1");e.exports=function(e){var t,r,c,f,h,p,d=i(e),g="function"==typeof this?this:Array,m=arguments.length,v=m>1?arguments[1]:void 0,y=void 0!==v,b=u(d),w=0;if(y&&(v=n(v,m>2?arguments[2]:void 0,2)),void 0==b||g==Array&&a(b))for(t=o(d.length),r=new g(t);t>w;w++)p=y?v(d[w],w):d[w],l(r,w,p);else for(f=b.call(d),h=f.next,r=new g;!(c=h.call(f)).done;w++)p=y?s(f,v,[c.value,w],!0):c.value,l(r,w,p);return r.length=w,r}},"5fb2":function(e,t,r){"use strict";var n=2147483647,i=36,s=1,a=26,o=38,l=700,u=72,c=128,f="-",h=/[^\0-\u007E]/,p=/[.\u3002\uFF0E\uFF61]/g,d="Overflow: input needs wider integers to process",g=i-s,m=Math.floor,v=String.fromCharCode,y=function(e){var t=[],r=0,n=e.length;while(r<n){var i=e.charCodeAt(r++);if(i>=55296&&i<=56319&&r<n){var s=e.charCodeAt(r++);56320==(64512&s)?t.push(((1023&i)<<10)+(1023&s)+65536):(t.push(i),r--)}else t.push(i)}return t},b=function(e){return e+22+75*(e<26)},w=function(e,t,r){var n=0;for(e=r?m(e/l):e>>1,e+=m(e/t);e>g*a>>1;n+=i)e=m(e/g);return m(n+(g+1)*e/(e+o))},_=function(e){var t=[];e=y(e);var r,o,l=e.length,h=c,p=0,g=u;for(r=0;r<e.length;r++)o=e[r],o<128&&t.push(v(o));var _=t.length,k=_;_&&t.push(f);while(k<l){var x=n;for(r=0;r<e.length;r++)o=e[r],o>=h&&o<x&&(x=o);var S=k+1;if(x-h>m((n-p)/S))throw RangeError(d);for(p+=(x-h)*S,h=x,r=0;r<e.length;r++){if(o=e[r],o<h&&++p>n)throw RangeError(d);if(o==h){for(var C=p,R=i;;R+=i){var U=R<=g?s:R>=g+a?a:R-g;if(C<U)break;var F=C-U,L=i-U;t.push(v(b(U+F%L))),C=m(F/L)}t.push(v(b(C))),g=w(p,S,k==_),p=0,++k}}++p,++h}return t.join("")};e.exports=function(e){var t,r,n=[],i=e.toLowerCase().replace(p,".").split(".");for(t=0;t<i.length;t++)r=i[t],n.push(h.test(r)?"xn--"+_(r):r);return n.join(".")}},"86be":function(e,t,r){},"89a9":function(e,t,r){e.exports=function(e){var t={};function r(n){if(t[n])return t[n].exports;var i=t[n]={i:n,l:!1,exports:{}};return e[n].call(i.exports,i,i.exports,r),i.l=!0,i.exports}return r.m=e,r.c=t,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 i in e)r.d(n,i,function(t){return e[t]}.bind(null,i));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="/dist/",r(r.s=57)}({0:function(e,t,r){"use strict";function n(e,t,r,n,i,s,a,o){var l,u="function"===typeof e?e.options:e;if(t&&(u.render=t,u.staticRenderFns=r,u._compiled=!0),n&&(u.functional=!0),s&&(u._scopeId="data-v-"+s),a?(l=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),i&&i.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},u._ssrRegister=l):i&&(l=o?function(){i.call(this,this.$root.$options.shadowRoot)}:i),l)if(u.functional){u._injectStyles=l;var c=u.render;u.render=function(e,t){return l.call(t),c(e,t)}}else{var f=u.beforeCreate;u.beforeCreate=f?[].concat(f,l):[l]}return{exports:e,options:u}}r.d(t,"a",(function(){return n}))},11:function(e,t){e.exports=r("2bb5")},26:function(e,t){e.exports=r("92fa")},42:function(e,t){e.exports=r("c284")},57:function(e,t,r){"use strict";r.r(t);var n=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("transition-group",{class:["el-upload-list","el-upload-list--"+e.listType,{"is-disabled":e.disabled}],attrs:{tag:"ul",name:"el-list"}},e._l(e.files,(function(t){return r("li",{key:t.uid,class:["el-upload-list__item","is-"+t.status,e.focusing?"focusing":""],attrs:{tabindex:"0"},on:{keydown:function(r){if(!("button"in r)&&e._k(r.keyCode,"delete",[8,46],r.key,["Backspace","Delete","Del"]))return null;!e.disabled&&e.$emit("remove",t)},focus:function(t){e.focusing=!0},blur:function(t){e.focusing=!1},click:function(t){e.focusing=!1}}},[e._t("default",["uploading"!==t.status&&["picture-card","picture"].indexOf(e.listType)>-1?r("img",{staticClass:"el-upload-list__item-thumbnail",attrs:{src:t.url,alt:""}}):e._e(),r("a",{staticClass:"el-upload-list__item-name",on:{click:function(r){e.handleClick(t)}}},[r("i",{staticClass:"el-icon-document"}),e._v(e._s(t.name)+"\n ")]),r("label",{staticClass:"el-upload-list__item-status-label"},[r("i",{class:{"el-icon-upload-success":!0,"el-icon-circle-check":"text"===e.listType,"el-icon-check":["picture-card","picture"].indexOf(e.listType)>-1}})]),e.disabled?e._e():r("i",{staticClass:"el-icon-close",on:{click:function(r){e.$emit("remove",t)}}}),e.disabled?e._e():r("i",{staticClass:"el-icon-close-tip"},[e._v(e._s(e.t("el.upload.deleteTip")))]),"uploading"===t.status?r("el-progress",{attrs:{type:"picture-card"===e.listType?"circle":"line","stroke-width":"picture-card"===e.listType?6:2,percentage:e.parsePercentage(t.percentage)}}):e._e(),"picture-card"===e.listType?r("span",{staticClass:"el-upload-list__item-actions"},[e.handlePreview&&"picture-card"===e.listType?r("span",{staticClass:"el-upload-list__item-preview",on:{click:function(r){e.handlePreview(t)}}},[r("i",{staticClass:"el-icon-zoom-in"})]):e._e(),e.disabled?e._e():r("span",{staticClass:"el-upload-list__item-delete",on:{click:function(r){e.$emit("remove",t)}}},[r("i",{staticClass:"el-icon-delete"})])]):e._e()],{file:t})],2)})),0)},i=[];n._withStripped=!0;var s=r(6),a=r.n(s),o=r(42),l=r.n(o),u={name:"ElUploadList",mixins:[a.a],data:function(){return{focusing:!1}},components:{ElProgress:l.a},props:{files:{type:Array,default:function(){return[]}},disabled:{type:Boolean,default:!1},handlePreview:Function,listType:String},methods:{parsePercentage:function(e){return parseInt(e,10)},handleClick:function(e){this.handlePreview&&this.handlePreview(e)}}},c=u,f=r(0),h=Object(f["a"])(c,n,i,!1,null,null,null);h.options.__file="packages/upload/src/upload-list.vue";var p=h.exports,d=r(26),g=r.n(d);function m(e,t,r){var n=void 0;n=r.response?""+(r.response.error||r.response):r.responseText?""+r.responseText:"fail to post "+e+" "+r.status;var i=new Error(n);return i.status=r.status,i.method="post",i.url=e,i}function v(e){var t=e.responseText||e.response;if(!t)return t;try{return JSON.parse(t)}catch(r){return t}}function y(e){if("undefined"!==typeof XMLHttpRequest){var t=new XMLHttpRequest,r=e.action;t.upload&&(t.upload.onprogress=function(t){t.total>0&&(t.percent=t.loaded/t.total*100),e.onProgress(t)});var n=new FormData;e.data&&Object.keys(e.data).forEach((function(t){n.append(t,e.data[t])})),n.append(e.filename,e.file,e.file.name),t.onerror=function(t){e.onError(t)},t.onload=function(){if(t.status<200||t.status>=300)return e.onError(m(r,e,t));e.onSuccess(v(t))},t.open("post",r,!0),e.withCredentials&&"withCredentials"in t&&(t.withCredentials=!0);var i=e.headers||{};for(var s in i)i.hasOwnProperty(s)&&null!==i[s]&&t.setRequestHeader(s,i[s]);return t.send(n),t}}var b=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"el-upload-dragger",class:{"is-dragover":e.dragover},on:{drop:function(t){return t.preventDefault(),e.onDrop(t)},dragover:function(t){return t.preventDefault(),e.onDragover(t)},dragleave:function(t){t.preventDefault(),e.dragover=!1}}},[e._t("default")],2)},w=[];b._withStripped=!0;var _={name:"ElUploadDrag",props:{disabled:Boolean},inject:{uploader:{default:""}},data:function(){return{dragover:!1}},methods:{onDragover:function(){this.disabled||(this.dragover=!0)},onDrop:function(e){if(!this.disabled&&this.uploader){var t=this.uploader.accept;this.dragover=!1,t?this.$emit("file",[].slice.call(e.dataTransfer.files).filter((function(e){var r=e.type,n=e.name,i=n.indexOf(".")>-1?"."+n.split(".").pop():"",s=r.replace(/\/.*$/,"");return t.split(",").map((function(e){return e.trim()})).filter((function(e){return e})).some((function(e){return/\..+$/.test(e)?i===e:/\/\*$/.test(e)?s===e.replace(/\/\*$/,""):!!/^[^\/]+\/[^\/]+$/.test(e)&&r===e}))}))):this.$emit("file",e.dataTransfer.files)}}}},k=_,x=Object(f["a"])(k,b,w,!1,null,null,null);x.options.__file="packages/upload/src/upload-dragger.vue";var S,C,R=x.exports,U={inject:["uploader"],components:{UploadDragger:R},props:{type:String,action:{type:String,required:!0},name:{type:String,default:"file"},data:Object,headers:Object,withCredentials:Boolean,multiple:Boolean,accept:String,onStart:Function,onProgress:Function,onSuccess:Function,onError:Function,beforeUpload:Function,drag:Boolean,onPreview:{type:Function,default:function(){}},onRemove:{type:Function,default:function(){}},fileList:Array,autoUpload:Boolean,listType:String,httpRequest:{type:Function,default:y},disabled:Boolean,limit:Number,onExceed:Function},data:function(){return{mouseover:!1,reqs:{}}},methods:{isImage:function(e){return-1!==e.indexOf("image")},handleChange:function(e){var t=e.target.files;t&&this.uploadFiles(t)},uploadFiles:function(e){var t=this;if(this.limit&&this.fileList.length+e.length>this.limit)this.onExceed&&this.onExceed(e,this.fileList);else{var r=Array.prototype.slice.call(e);this.multiple||(r=r.slice(0,1)),0!==r.length&&r.forEach((function(e){t.onStart(e),t.autoUpload&&t.upload(e)}))}},upload:function(e){var t=this;if(this.$refs.input.value=null,!this.beforeUpload)return this.post(e);var r=this.beforeUpload(e);r&&r.then?r.then((function(r){var n=Object.prototype.toString.call(r);if("[object File]"===n||"[object Blob]"===n){for(var i in"[object Blob]"===n&&(r=new File([r],e.name,{type:e.type})),e)e.hasOwnProperty(i)&&(r[i]=e[i]);t.post(r)}else t.post(e)}),(function(){t.onRemove(null,e)})):!1!==r?this.post(e):this.onRemove(null,e)},abort:function(e){var t=this.reqs;if(e){var r=e;e.uid&&(r=e.uid),t[r]&&t[r].abort()}else Object.keys(t).forEach((function(e){t[e]&&t[e].abort(),delete t[e]}))},post:function(e){var t=this,r=e.uid,n={headers:this.headers,withCredentials:this.withCredentials,file:e,data:this.data,filename:this.name,action:this.action,onProgress:function(r){t.onProgress(r,e)},onSuccess:function(n){t.onSuccess(n,e),delete t.reqs[r]},onError:function(n){t.onError(n,e),delete t.reqs[r]}},i=this.httpRequest(n);this.reqs[r]=i,i&&i.then&&i.then(n.onSuccess,n.onError)},handleClick:function(){this.disabled||(this.$refs.input.value=null,this.$refs.input.click())},handleKeydown:function(e){e.target===e.currentTarget&&(13!==e.keyCode&&32!==e.keyCode||this.handleClick())}},render:function(e){var t=this.handleClick,r=this.drag,n=this.name,i=this.handleChange,s=this.multiple,a=this.accept,o=this.listType,l=this.uploadFiles,u=this.disabled,c=this.handleKeydown,f={class:{"el-upload":!0},on:{click:t,keydown:c}};return f.class["el-upload--"+o]=!0,e("div",g()([f,{attrs:{tabindex:"0"}}]),[r?e("upload-dragger",{attrs:{disabled:u},on:{file:l}},[this.$slots.default]):this.$slots.default,e("input",{class:"el-upload__input",attrs:{type:"file",name:n,multiple:s,accept:a},ref:"input",on:{change:i}})])}},F=U,L=Object(f["a"])(F,S,C,!1,null,null,null);L.options.__file="packages/upload/src/upload.vue";var P=L.exports,E=r(11),O=r.n(E);function $(){}var j,T,A={name:"ElUpload",mixins:[O.a],components:{ElProgress:l.a,UploadList:p,Upload:P},provide:function(){return{uploader:this}},inject:{elForm:{default:""}},props:{action:{type:String,required:!0},headers:{type:Object,default:function(){return{}}},data:Object,multiple:Boolean,name:{type:String,default:"file"},drag:Boolean,dragger:Boolean,withCredentials:Boolean,showFileList:{type:Boolean,default:!0},accept:String,type:{type:String,default:"select"},beforeUpload:Function,beforeRemove:Function,onRemove:{type:Function,default:$},onChange:{type:Function,default:$},onPreview:{type:Function},onSuccess:{type:Function,default:$},onProgress:{type:Function,default:$},onError:{type:Function,default:$},fileList:{type:Array,default:function(){return[]}},autoUpload:{type:Boolean,default:!0},listType:{type:String,default:"text"},httpRequest:Function,disabled:Boolean,limit:Number,onExceed:{type:Function,default:$}},data:function(){return{uploadFiles:[],dragOver:!1,draging:!1,tempIndex:1}},computed:{uploadDisabled:function(){return this.disabled||(this.elForm||{}).disabled}},watch:{listType:function(e){"picture-card"!==e&&"picture"!==e||(this.uploadFiles=this.uploadFiles.map((function(e){if(!e.url&&e.raw)try{e.url=URL.createObjectURL(e.raw)}catch(t){console.error("[Element Error][Upload]",t)}return e})))},fileList:{immediate:!0,handler:function(e){var t=this;this.uploadFiles=e.map((function(e){return e.uid=e.uid||Date.now()+t.tempIndex++,e.status=e.status||"success",e}))}}},methods:{handleStart:function(e){e.uid=Date.now()+this.tempIndex++;var t={status:"ready",name:e.name,size:e.size,percentage:0,uid:e.uid,raw:e};if("picture-card"===this.listType||"picture"===this.listType)try{t.url=URL.createObjectURL(e)}catch(r){return void console.error("[Element Error][Upload]",r)}this.uploadFiles.push(t),this.onChange(t,this.uploadFiles)},handleProgress:function(e,t){var r=this.getFile(t);this.onProgress(e,r,this.uploadFiles),r.status="uploading",r.percentage=e.percent||0},handleSuccess:function(e,t){var r=this.getFile(t);r&&(r.status="success",r.response=e,this.onSuccess(e,r,this.uploadFiles),this.onChange(r,this.uploadFiles))},handleError:function(e,t){var r=this.getFile(t),n=this.uploadFiles;r.status="fail",n.splice(n.indexOf(r),1),this.onError(e,r,this.uploadFiles),this.onChange(r,this.uploadFiles)},handleRemove:function(e,t){var r=this;t&&(e=this.getFile(t));var n=function(){r.abort(e);var t=r.uploadFiles;t.splice(t.indexOf(e),1),r.onRemove(e,t)};if(this.beforeRemove){if("function"===typeof this.beforeRemove){var i=this.beforeRemove(e,this.uploadFiles);i&&i.then?i.then((function(){n()}),$):!1!==i&&n()}}else n()},getFile:function(e){var t=this.uploadFiles,r=void 0;return t.every((function(t){return r=e.uid===t.uid?t:null,!r})),r},abort:function(e){this.$refs["upload-inner"].abort(e)},clearFiles:function(){this.uploadFiles=[]},submit:function(){var e=this;this.uploadFiles.filter((function(e){return"ready"===e.status})).forEach((function(t){e.$refs["upload-inner"].upload(t.raw)}))},getMigratingConfig:function(){return{props:{"default-file-list":"default-file-list is renamed to file-list.","show-upload-list":"show-upload-list is renamed to show-file-list.","thumbnail-mode":"thumbnail-mode has been deprecated, you can implement the same effect according to this case: http://element.eleme.io/#/zh-CN/component/upload#yong-hu-tou-xiang-shang-chuan"}}}},beforeDestroy:function(){this.uploadFiles.forEach((function(e){e.url&&0===e.url.indexOf("blob:")&&URL.revokeObjectURL(e.url)}))},render:function(e){var t=this,r=void 0;this.showFileList&&(r=e(p,{attrs:{disabled:this.uploadDisabled,listType:this.listType,files:this.uploadFiles,handlePreview:this.onPreview},on:{remove:this.handleRemove}},[function(e){if(t.$scopedSlots.file)return t.$scopedSlots.file({file:e.file})}]));var n={props:{type:this.type,drag:this.drag,action:this.action,multiple:this.multiple,"before-upload":this.beforeUpload,"with-credentials":this.withCredentials,headers:this.headers,name:this.name,data:this.data,accept:this.accept,fileList:this.uploadFiles,autoUpload:this.autoUpload,listType:this.listType,disabled:this.uploadDisabled,limit:this.limit,"on-exceed":this.onExceed,"on-start":this.handleStart,"on-progress":this.handleProgress,"on-success":this.handleSuccess,"on-error":this.handleError,"on-preview":this.onPreview,"on-remove":this.handleRemove,"http-request":this.httpRequest},ref:"upload-inner"},i=this.$slots.trigger||this.$slots.default,s=e("upload",n,[i]);return e("div",["picture-card"===this.listType?r:"",this.$slots.trigger?[s,this.$slots.default]:s,this.$slots.tip,"picture-card"!==this.listType?r:""])}},B=A,q=Object(f["a"])(B,j,T,!1,null,null,null);q.options.__file="packages/upload/src/index.vue";var I=q.exports;I.install=function(e){e.component(I.name,I)};t["default"]=I},6:function(e,t){e.exports=r("6b7c")}})},"92fa":function(e,t){var r=/^(attrs|props|on|nativeOn|class|style|hook)$/;function n(e,t){return function(){e&&e.apply(this,arguments),t&&t.apply(this,arguments)}}e.exports=function(e){return e.reduce((function(e,t){var i,s,a,o,l;for(a in t)if(i=e[a],s=t[a],i&&r.test(a))if("class"===a&&("string"===typeof i&&(l=i,e[a]=i={},i[l]=!0),"string"===typeof s&&(l=s,t[a]=s={},s[l]=!0)),"on"===a||"nativeOn"===a||"hook"===a)for(o in s)i[o]=n(i[o],s[o]);else if(Array.isArray(i))e[a]=i.concat(s);else if(Array.isArray(s))e[a]=[i].concat(s);else for(o in s)i[o]=s[o];else e[a]=t[a];return e}),{})}},9861:function(e,t,r){"use strict";r("e260");var n=r("23e7"),i=r("d066"),s=r("0d3b"),a=r("6eeb"),o=r("e2cc"),l=r("d44e"),u=r("9ed3"),c=r("69f3"),f=r("19aa"),h=r("5135"),p=r("0366"),d=r("f5df"),g=r("825a"),m=r("861d"),v=r("7c73"),y=r("5c6c"),b=r("9a1f"),w=r("35a1"),_=r("b622"),k=i("fetch"),x=i("Headers"),S=_("iterator"),C="URLSearchParams",R=C+"Iterator",U=c.set,F=c.getterFor(C),L=c.getterFor(R),P=/\+/g,E=Array(4),O=function(e){return E[e-1]||(E[e-1]=RegExp("((?:%[\\da-f]{2}){"+e+"})","gi"))},$=function(e){try{return decodeURIComponent(e)}catch(t){return e}},j=function(e){var t=e.replace(P," "),r=4;try{return decodeURIComponent(t)}catch(n){while(r)t=t.replace(O(r--),$);return t}},T=/[!'()~]|%20/g,A={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},B=function(e){return A[e]},q=function(e){return encodeURIComponent(e).replace(T,B)},I=function(e,t){if(t){var r,n,i=t.split("&"),s=0;while(s<i.length)r=i[s++],r.length&&(n=r.split("="),e.push({key:j(n.shift()),value:j(n.join("="))}))}},D=function(e){this.entries.length=0,I(this.entries,e)},M=function(e,t){if(e<t)throw TypeError("Not enough arguments")},N=u((function(e,t){U(this,{type:R,iterator:b(F(e).entries),kind:t})}),"Iterator",(function(){var e=L(this),t=e.kind,r=e.iterator.next(),n=r.value;return r.done||(r.value="keys"===t?n.key:"values"===t?n.value:[n.key,n.value]),r})),z=function(){f(this,z,C);var e,t,r,n,i,s,a,o,l,u=arguments.length>0?arguments[0]:void 0,c=this,p=[];if(U(c,{type:C,entries:p,updateURL:function(){},updateSearchParams:D}),void 0!==u)if(m(u))if(e=w(u),"function"===typeof e){t=e.call(u),r=t.next;while(!(n=r.call(t)).done){if(i=b(g(n.value)),s=i.next,(a=s.call(i)).done||(o=s.call(i)).done||!s.call(i).done)throw TypeError("Expected sequence with length 2");p.push({key:a.value+"",value:o.value+""})}}else for(l in u)h(u,l)&&p.push({key:l,value:u[l]+""});else I(p,"string"===typeof u?"?"===u.charAt(0)?u.slice(1):u:u+"")},W=z.prototype;o(W,{append:function(e,t){M(arguments.length,2);var r=F(this);r.entries.push({key:e+"",value:t+""}),r.updateURL()},delete:function(e){M(arguments.length,1);var t=F(this),r=t.entries,n=e+"",i=0;while(i<r.length)r[i].key===n?r.splice(i,1):i++;t.updateURL()},get:function(e){M(arguments.length,1);for(var t=F(this).entries,r=e+"",n=0;n<t.length;n++)if(t[n].key===r)return t[n].value;return null},getAll:function(e){M(arguments.length,1);for(var t=F(this).entries,r=e+"",n=[],i=0;i<t.length;i++)t[i].key===r&&n.push(t[i].value);return n},has:function(e){M(arguments.length,1);var t=F(this).entries,r=e+"",n=0;while(n<t.length)if(t[n++].key===r)return!0;return!1},set:function(e,t){M(arguments.length,1);for(var r,n=F(this),i=n.entries,s=!1,a=e+"",o=t+"",l=0;l<i.length;l++)r=i[l],r.key===a&&(s?i.splice(l--,1):(s=!0,r.value=o));s||i.push({key:a,value:o}),n.updateURL()},sort:function(){var e,t,r,n=F(this),i=n.entries,s=i.slice();for(i.length=0,r=0;r<s.length;r++){for(e=s[r],t=0;t<r;t++)if(i[t].key>e.key){i.splice(t,0,e);break}t===r&&i.push(e)}n.updateURL()},forEach:function(e){var t,r=F(this).entries,n=p(e,arguments.length>1?arguments[1]:void 0,3),i=0;while(i<r.length)t=r[i++],n(t.value,t.key,this)},keys:function(){return new N(this,"keys")},values:function(){return new N(this,"values")},entries:function(){return new N(this,"entries")}},{enumerable:!0}),a(W,S,W.entries),a(W,"toString",(function(){var e,t=F(this).entries,r=[],n=0;while(n<t.length)e=t[n++],r.push(q(e.key)+"="+q(e.value));return r.join("&")}),{enumerable:!0}),l(z,C),n({global:!0,forced:!s},{URLSearchParams:z}),s||"function"!=typeof k||"function"!=typeof x||n({global:!0,enumerable:!0,forced:!0},{fetch:function(e){var t,r,n,i=[e];return arguments.length>1&&(t=arguments[1],m(t)&&(r=t.body,d(r)===C&&(n=t.headers?new x(t.headers):new x,n.has("content-type")||n.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"),t=v(t,{body:y(0,String(r)),headers:y(0,n)}))),i.push(t)),k.apply(this,i)}}),e.exports={URLSearchParams:z,getState:F}},"9a1f":function(e,t,r){var n=r("825a"),i=r("35a1");e.exports=function(e){var t=i(e);if("function"!=typeof t)throw TypeError(String(e)+" is not iterable");return n(t.call(e))}},"9bdd":function(e,t,r){var n=r("825a"),i=r("2a62");e.exports=function(e,t,r,s){try{return s?t(n(r)[0],r[1]):t(r)}catch(a){throw i(e),a}}},c284:function(e,t,r){e.exports=function(e){var t={};function r(n){if(t[n])return t[n].exports;var i=t[n]={i:n,l:!1,exports:{}};return e[n].call(i.exports,i,i.exports,r),i.l=!0,i.exports}return r.m=e,r.c=t,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 i in e)r.d(n,i,function(t){return e[t]}.bind(null,i));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="/dist/",r(r.s=119)}({0:function(e,t,r){"use strict";function n(e,t,r,n,i,s,a,o){var l,u="function"===typeof e?e.options:e;if(t&&(u.render=t,u.staticRenderFns=r,u._compiled=!0),n&&(u.functional=!0),s&&(u._scopeId="data-v-"+s),a?(l=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),i&&i.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},u._ssrRegister=l):i&&(l=o?function(){i.call(this,this.$root.$options.shadowRoot)}:i),l)if(u.functional){u._injectStyles=l;var c=u.render;u.render=function(e,t){return l.call(t),c(e,t)}}else{var f=u.beforeCreate;u.beforeCreate=f?[].concat(f,l):[l]}return{exports:e,options:u}}r.d(t,"a",(function(){return n}))},119:function(e,t,r){"use strict";r.r(t);var n=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"el-progress",class:["el-progress--"+e.type,e.status?"is-"+e.status:"",{"el-progress--without-text":!e.showText,"el-progress--text-inside":e.textInside}],attrs:{role:"progressbar","aria-valuenow":e.percentage,"aria-valuemin":"0","aria-valuemax":"100"}},["line"===e.type?r("div",{staticClass:"el-progress-bar"},[r("div",{staticClass:"el-progress-bar__outer",style:{height:e.strokeWidth+"px"}},[r("div",{staticClass:"el-progress-bar__inner",style:e.barStyle},[e.showText&&e.textInside?r("div",{staticClass:"el-progress-bar__innerText"},[e._v(e._s(e.content))]):e._e()])])]):r("div",{staticClass:"el-progress-circle",style:{height:e.width+"px",width:e.width+"px"}},[r("svg",{attrs:{viewBox:"0 0 100 100"}},[r("path",{staticClass:"el-progress-circle__track",style:e.trailPathStyle,attrs:{d:e.trackPath,stroke:"#e5e9f2","stroke-width":e.relativeStrokeWidth,fill:"none"}}),r("path",{staticClass:"el-progress-circle__path",style:e.circlePathStyle,attrs:{d:e.trackPath,stroke:e.stroke,fill:"none","stroke-linecap":e.strokeLinecap,"stroke-width":e.percentage?e.relativeStrokeWidth:0}})])]),e.showText&&!e.textInside?r("div",{staticClass:"el-progress__text",style:{fontSize:e.progressTextSize+"px"}},[e.status?r("i",{class:e.iconClass}):[e._v(e._s(e.content))]],2):e._e()])},i=[];n._withStripped=!0;var s={name:"ElProgress",props:{type:{type:String,default:"line",validator:function(e){return["line","circle","dashboard"].indexOf(e)>-1}},percentage:{type:Number,default:0,required:!0,validator:function(e){return e>=0&&e<=100}},status:{type:String,validator:function(e){return["success","exception","warning"].indexOf(e)>-1}},strokeWidth:{type:Number,default:6},strokeLinecap:{type:String,default:"round"},textInside:{type:Boolean,default:!1},width:{type:Number,default:126},showText:{type:Boolean,default:!0},color:{type:[String,Array,Function],default:""},format:Function},computed:{barStyle:function(){var e={};return e.width=this.percentage+"%",e.backgroundColor=this.getCurrentColor(this.percentage),e},relativeStrokeWidth:function(){return(this.strokeWidth/this.width*100).toFixed(1)},radius:function(){return"circle"===this.type||"dashboard"===this.type?parseInt(50-parseFloat(this.relativeStrokeWidth)/2,10):0},trackPath:function(){var e=this.radius,t="dashboard"===this.type;return"\n M 50 50\n m 0 "+(t?"":"-")+e+"\n a "+e+" "+e+" 0 1 1 0 "+(t?"-":"")+2*e+"\n a "+e+" "+e+" 0 1 1 0 "+(t?"":"-")+2*e+"\n "},perimeter:function(){return 2*Math.PI*this.radius},rate:function(){return"dashboard"===this.type?.75:1},strokeDashoffset:function(){var e=-1*this.perimeter*(1-this.rate)/2;return e+"px"},trailPathStyle:function(){return{strokeDasharray:this.perimeter*this.rate+"px, "+this.perimeter+"px",strokeDashoffset:this.strokeDashoffset}},circlePathStyle:function(){return{strokeDasharray:this.perimeter*this.rate*(this.percentage/100)+"px, "+this.perimeter+"px",strokeDashoffset:this.strokeDashoffset,transition:"stroke-dasharray 0.6s ease 0s, stroke 0.6s ease"}},stroke:function(){var e=void 0;if(this.color)e=this.getCurrentColor(this.percentage);else switch(this.status){case"success":e="#13ce66";break;case"exception":e="#ff4949";break;case"warning":e="#e6a23c";break;default:e="#20a0ff"}return e},iconClass:function(){return"warning"===this.status?"el-icon-warning":"line"===this.type?"success"===this.status?"el-icon-circle-check":"el-icon-circle-close":"success"===this.status?"el-icon-check":"el-icon-close"},progressTextSize:function(){return"line"===this.type?12+.4*this.strokeWidth:.111111*this.width+2},content:function(){return"function"===typeof this.format?this.format(this.percentage)||"":this.percentage+"%"}},methods:{getCurrentColor:function(e){return"function"===typeof this.color?this.color(e):"string"===typeof this.color?this.color:this.getLevelColor(e)},getLevelColor:function(e){for(var t=this.getColorArray().sort((function(e,t){return e.percentage-t.percentage})),r=0;r<t.length;r++)if(t[r].percentage>e)return t[r].color;return t[t.length-1].color},getColorArray:function(){var e=this.color,t=100/e.length;return e.map((function(e,r){return"string"===typeof e?{color:e,percentage:(r+1)*t}:e}))}}},a=s,o=r(0),l=Object(o["a"])(a,n,i,!1,null,null,null);l.options.__file="packages/progress/src/progress.vue";var u=l.exports;u.install=function(e){e.component(u.name,u)};t["default"]=u}})},d0d4:function(e,t,r){"use strict";r("86be")},d75c:function(e,t,r){"use strict";r.r(t);var n=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"messagexk pagex"},[r("div",{staticClass:"message-box"},[r("div",{staticClass:"h3"},[e._v("基本信息")]),r("el-form",{attrs:{model:e.userinfo,"label-width":"90px"}},[r("el-form-item",{attrs:{label:"公司名称"}},[r("el-input",{attrs:{placeholder:"",disabled:""},model:{value:e.userinfo.company_name,callback:function(t){e.$set(e.userinfo,"company_name",t)},expression:"userinfo.company_name"}})],1),r("el-form-item",{attrs:{label:"联系人"}},[r("el-input",{model:{value:e.userinfo.contacts_name,callback:function(t){e.$set(e.userinfo,"contacts_name",t)},expression:"userinfo.contacts_name"}})],1),r("el-form-item",{attrs:{label:"联系人电话"}},[r("el-input",{attrs:{disabled:""},model:{value:e.userinfo.mobile,callback:function(t){e.$set(e.userinfo,"mobile",t)},expression:"userinfo.mobile"}})],1),r("el-form-item",{attrs:{label:"邮箱"}},[r("el-input",{model:{value:e.userinfo.email,callback:function(t){e.$set(e.userinfo,"email",t)},expression:"userinfo.email"}})],1),r("el-form-item",[r("div",{staticClass:"submits",on:{click:e.submituser}},[e._v("确认")])])],1),r("div",{staticClass:"fl up-box"},[r("img",{staticClass:"imspre",attrs:{src:e.userinfo.avatar}}),r("el-upload",{staticClass:"avatar-uploader",attrs:{data:e.fileData,action:e.upUrl,"show-file-list":!1,"on-success":e.handleAvatarSuccess,"before-upload":e.beforeAvatarUpload}},[r("span",{staticClass:"icon iconfont fl"},[e._v("")]),r("div",{staticClass:"fl"},[e._v("更换头像")])])],1)],1),r("Menu")],1)},i=[],s=(r("425f"),r("450d"),r("4105")),a=r.n(s),o=(r("eca7"),r("3787")),l=r.n(o),u=(r("10cb"),r("f3ad")),c=r.n(u),f=(r("f225"),r("89a9")),h=r.n(f),p=(r("0fb7"),r("f529")),d=r.n(p),g=(r("d3b7"),r("3ca3"),r("ddb0"),r("2b3d"),r("2b0e")),m=r("2251"),v=r("9aea"),y=r("e8d6");g["default"].prototype.$message=d.a,g["default"].use(a.a).use(l.a).use(c.a).use(h.a);var b={name:"message",data:function(){return{upUrl:v["a"]+"/api/user/setavatar",fileData:{token:y["a"].getCookie("token")},userinfo:{company_name:"",contacts_name:"",mobile:"",email:"",avatar:"https://www.ichunt.com/v3/dist/res/home/images/headimg/boy1.png"}}},watch:{},created:function(){this.getUseInfo()},computed:{},methods:{getUseInfo:function(){var e=this;this.$http("get","/api/user/getuserinfo").then((function(t){e.userinfo=t.data,t.data&&sessionStorage.setItem("userInfox",JSON.stringify(t.data))}))},submituser:function(){var e=this;this.$http("post","/api/user/setuserinfo",{email:this.userinfo.email,contacts_name:this.userinfo.contacts_name}).then((function(t){0===t.err_code?(e.$message("提交成功"),sessionStorage.removeItem("userInfox")):e.$message(t.err_msg)}))},handleAvatarSuccess:function(e,t){0===e.err_code?(this.$message("设置成功"),this.userinfo.avatar=URL.createObjectURL(t.raw),sessionStorage.removeItem("userInfox")):this.$message(e.err_msg)},beforeAvatarUpload:function(e){var t="image/jpeg"===e.type||"image/png"===e.type||"image/jpg"===e.type||"image/gif"===e.type,r=e.size/1024/1024<5;return t||this.$message("上传头像图片只能是 JPG、PNG、GIF 格式!"),r||this.$message("上传头像图片大小不能超过 5MB!"),t&&r}},components:{Menu:m["a"]}},w=b,_=(r("d0d4"),r("2877")),k=Object(_["a"])(w,n,i,!1,null,"5e3c96ce",null);t["default"]=k.exports},f225:function(e,t,r){}}]);
\ No newline at end of file
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