提交 b3ae9cb7 authored 作者: 王天霸's avatar 王天霸

1

上级 0d3aec6e
......@@ -181,7 +181,7 @@
font-size: 13px;
color: #FFF;
opacity: 0.5;
}</style><link href=/static/css/chunk-libs.144811ca.css rel=stylesheet><link href=/static/css/app.b8303db1.css rel=stylesheet></head><body><div id=app><div id=loader-wrapper><div id=loader></div><div class="loader-section section-left"></div><div class="loader-section section-right"></div><div class=load_title>正在加载系统资源,请耐心等待</div></div></div><script src=/static/js/chunk-elementUI.c1dc07ee.js></script><script src=/static/js/chunk-libs.50d3d7f1.js></script><script>(function(e){function n(n){for(var t,u,d=n[0],f=n[1],o=n[2],h=0,i=[];h<d.length;h++)u=d[h],r[u]&&i.push(r[u][0]),r[u]=0;for(t in f)Object.prototype.hasOwnProperty.call(f,t)&&(e[t]=f[t]);b&&b(n);while(i.length)i.shift()();return a.push.apply(a,o||[]),c()}function c(){for(var e,n=0;n<a.length;n++){for(var c=a[n],t=!0,u=1;u<c.length;u++){var d=c[u];0!==r[d]&&(t=!1)}t&&(a.splice(n--,1),e=f(f.s=c[0]))}return e}var t={},u={runtime:0},r={runtime:0},a=[];function d(e){return f.p+"static/js/"+({}[e]||e)+"."+{"chunk-0a90d205":"0189bbe0","chunk-1b9ca1bf":"37bc6947","chunk-2810acda":"eb60835a","chunk-2d0c7ece":"6e0c231b","chunk-2d0c84d3":"cdf8b2d0","chunk-0b4a9e9a":"82347d9f","chunk-2d0e28b6":"b5c279ef","chunk-47c51416":"42d1d71b","chunk-2d0d6345":"e4d18775","chunk-2d0e2366":"13651a23","chunk-1d113f47":"8e0634a8","chunk-b0d57d44":"a672684b","chunk-2d0d67a2":"2a791f8c","chunk-779f4447":"d38b8e9c","chunk-2d0f012d":"c5cdd7ec","chunk-2d22db58":"4991ac92","chunk-30c771e6":"dbb74e24","chunk-41dc9244":"f15022e4","chunk-07e45201":"d5aafa30","chunk-5168c511":"90581123","chunk-5be5b3e2":"1bcac1ef","chunk-5f18f729":"565ed286","chunk-6c237b40":"54fd57df","chunk-7c2f4fe6":"13bc5f69","chunk-f18f73fa":"50d829cb","chunk-fbeba9ea":"aa81932d"}[e]+".js"}function f(n){if(t[n])return t[n].exports;var c=t[n]={i:n,l:!1,exports:{}};return e[n].call(c.exports,c,c.exports,f),c.l=!0,c.exports}f.e=function(e){var n=[],c={"chunk-0a90d205":1,"chunk-1b9ca1bf":1,"chunk-2810acda":1,"chunk-1d113f47":1,"chunk-b0d57d44":1,"chunk-30c771e6":1,"chunk-41dc9244":1,"chunk-07e45201":1,"chunk-5168c511":1,"chunk-5be5b3e2":1,"chunk-5f18f729":1,"chunk-6c237b40":1,"chunk-f18f73fa":1,"chunk-fbeba9ea":1};u[e]?n.push(u[e]):0!==u[e]&&c[e]&&n.push(u[e]=new Promise((function(n,c){for(var t="static/css/"+({}[e]||e)+"."+{"chunk-0a90d205":"9183fc08","chunk-1b9ca1bf":"e539ec29","chunk-2810acda":"6485bf58","chunk-2d0c7ece":"31d6cfe0","chunk-2d0c84d3":"31d6cfe0","chunk-0b4a9e9a":"31d6cfe0","chunk-2d0e28b6":"31d6cfe0","chunk-47c51416":"31d6cfe0","chunk-2d0d6345":"31d6cfe0","chunk-2d0e2366":"31d6cfe0","chunk-1d113f47":"71e93061","chunk-b0d57d44":"3c72d4e5","chunk-2d0d67a2":"31d6cfe0","chunk-779f4447":"31d6cfe0","chunk-2d0f012d":"31d6cfe0","chunk-2d22db58":"31d6cfe0","chunk-30c771e6":"6ab5ebe0","chunk-41dc9244":"d0adca96","chunk-07e45201":"2123e5ba","chunk-5168c511":"d3829422","chunk-5be5b3e2":"1d48f9b5","chunk-5f18f729":"c9a455ad","chunk-6c237b40":"fe6be668","chunk-7c2f4fe6":"31d6cfe0","chunk-f18f73fa":"0615606c","chunk-fbeba9ea":"a3da7543"}[e]+".css",r=f.p+t,a=document.getElementsByTagName("link"),d=0;d<a.length;d++){var o=a[d],h=o.getAttribute("data-href")||o.getAttribute("href");if("stylesheet"===o.rel&&(h===t||h===r))return n()}var i=document.getElementsByTagName("style");for(d=0;d<i.length;d++){o=i[d],h=o.getAttribute("data-href");if(h===t||h===r)return n()}var b=document.createElement("link");b.rel="stylesheet",b.type="text/css",b.onload=n,b.onerror=function(n){var t=n&&n.target&&n.target.src||r,a=new Error("Loading CSS chunk "+e+" failed.\n("+t+")");a.request=t,delete u[e],b.parentNode.removeChild(b),c(a)},b.href=r;var k=document.getElementsByTagName("head")[0];k.appendChild(b)})).then((function(){u[e]=0})));var t=r[e];if(0!==t)if(t)n.push(t[2]);else{var a=new Promise((function(n,c){t=r[e]=[n,c]}));n.push(t[2]=a);var o,h=document.createElement("script");h.charset="utf-8",h.timeout=120,f.nc&&h.setAttribute("nonce",f.nc),h.src=d(e),o=function(n){h.onerror=h.onload=null,clearTimeout(i);var c=r[e];if(0!==c){if(c){var t=n&&("load"===n.type?"missing":n.type),u=n&&n.target&&n.target.src,a=new Error("Loading chunk "+e+" failed.\n("+t+": "+u+")");a.type=t,a.request=u,c[1](a)}r[e]=void 0}};var i=setTimeout((function(){o({type:"timeout",target:h})}),12e4);h.onerror=h.onload=o,document.head.appendChild(h)}return Promise.all(n)},f.m=e,f.c=t,f.d=function(e,n,c){f.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:c})},f.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},f.t=function(e,n){if(1&n&&(e=f(e)),8&n)return e;if(4&n&&"object"===typeof e&&e&&e.__esModule)return e;var c=Object.create(null);if(f.r(c),Object.defineProperty(c,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var t in e)f.d(c,t,function(n){return e[n]}.bind(null,t));return c},f.n=function(e){var n=e&&e.__esModule?function(){return e["default"]}:function(){return e};return f.d(n,"a",n),n},f.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},f.p="/",f.oe=function(e){throw console.error(e),e};var o=window["webpackJsonp"]=window["webpackJsonp"]||[],h=o.push.bind(o);o.push=n,o=o.slice();for(var i=0;i<o.length;i++)n(o[i]);var b=h;c()})([]);</script><script src=/static/js/app.196a5b8c.js></script></body><script>window.onload = function() {
}</style><link href=/static/css/chunk-libs.144811ca.css rel=stylesheet><link href=/static/css/app.7239b927.css rel=stylesheet></head><body><div id=app><div id=loader-wrapper><div id=loader></div><div class="loader-section section-left"></div><div class="loader-section section-right"></div><div class=load_title>正在加载系统资源,请耐心等待</div></div></div><script src=/static/js/chunk-elementUI.ede1d689.js></script><script src=/static/js/chunk-libs.fa449f45.js></script><script>(function(e){function n(n){for(var t,u,d=n[0],f=n[1],o=n[2],h=0,i=[];h<d.length;h++)u=d[h],r[u]&&i.push(r[u][0]),r[u]=0;for(t in f)Object.prototype.hasOwnProperty.call(f,t)&&(e[t]=f[t]);k&&k(n);while(i.length)i.shift()();return a.push.apply(a,o||[]),c()}function c(){for(var e,n=0;n<a.length;n++){for(var c=a[n],t=!0,u=1;u<c.length;u++){var d=c[u];0!==r[d]&&(t=!1)}t&&(a.splice(n--,1),e=f(f.s=c[0]))}return e}var t={},u={runtime:0},r={runtime:0},a=[];function d(e){return f.p+"static/js/"+({}[e]||e)+"."+{"chunk-1d571893":"587ea3ab","chunk-242f810e":"7f248e2a","chunk-2d0c741e":"9a348a52","chunk-612d55f9":"c756653f","chunk-2d0c7ece":"92549903","chunk-2d0cbf05":"598ccefa","chunk-779f4447":"a073c076","chunk-2d0d67a2":"929eb124","chunk-2d0f012d":"7a9a98ab","chunk-2d226555":"e093ec60","chunk-0b4a9e9a":"2c7e0b39","chunk-2d0e28b6":"851865e9","chunk-57fda325":"9febe76c","chunk-000b3ab4":"a4f7a2d5","chunk-2d22db58":"c5e21280","chunk-395a9d81":"e546680d","chunk-3c5d3e7a":"de3ef871","chunk-542b2550":"8074cae0","chunk-57872cf8":"e5876f3f","chunk-26cdcf30":"c5a34ae1","chunk-5b4b2fda":"9833ec1f","chunk-7c2f4fe6":"a6e494d8","chunk-8457bade":"fae1e02b","chunk-bd8611ca":"0033f7f2","chunk-d0560568":"49c8d60c","chunk-fa6b139a":"af89dea0"}[e]+".js"}function f(n){if(t[n])return t[n].exports;var c=t[n]={i:n,l:!1,exports:{}};return e[n].call(c.exports,c,c.exports,f),c.l=!0,c.exports}f.e=function(e){var n=[],c={"chunk-1d571893":1,"chunk-242f810e":1,"chunk-612d55f9":1,"chunk-000b3ab4":1,"chunk-395a9d81":1,"chunk-3c5d3e7a":1,"chunk-542b2550":1,"chunk-57872cf8":1,"chunk-26cdcf30":1,"chunk-5b4b2fda":1,"chunk-8457bade":1,"chunk-bd8611ca":1,"chunk-d0560568":1,"chunk-fa6b139a":1};u[e]?n.push(u[e]):0!==u[e]&&c[e]&&n.push(u[e]=new Promise((function(n,c){for(var t="static/css/"+({}[e]||e)+"."+{"chunk-1d571893":"0615606c","chunk-242f810e":"c9a455ad","chunk-2d0c741e":"31d6cfe0","chunk-612d55f9":"3c72d4e5","chunk-2d0c7ece":"31d6cfe0","chunk-2d0cbf05":"31d6cfe0","chunk-779f4447":"31d6cfe0","chunk-2d0d67a2":"31d6cfe0","chunk-2d0f012d":"31d6cfe0","chunk-2d226555":"31d6cfe0","chunk-0b4a9e9a":"31d6cfe0","chunk-2d0e28b6":"31d6cfe0","chunk-57fda325":"31d6cfe0","chunk-000b3ab4":"9f670dd0","chunk-2d22db58":"31d6cfe0","chunk-395a9d81":"6485bf58","chunk-3c5d3e7a":"d0adca96","chunk-542b2550":"d3829422","chunk-57872cf8":"9183fc08","chunk-26cdcf30":"2123e5ba","chunk-5b4b2fda":"6ab5ebe0","chunk-7c2f4fe6":"31d6cfe0","chunk-8457bade":"e539ec29","chunk-bd8611ca":"a3da7543","chunk-d0560568":"1d48f9b5","chunk-fa6b139a":"fe6be668"}[e]+".css",r=f.p+t,a=document.getElementsByTagName("link"),d=0;d<a.length;d++){var o=a[d],h=o.getAttribute("data-href")||o.getAttribute("href");if("stylesheet"===o.rel&&(h===t||h===r))return n()}var i=document.getElementsByTagName("style");for(d=0;d<i.length;d++){o=i[d],h=o.getAttribute("data-href");if(h===t||h===r)return n()}var k=document.createElement("link");k.rel="stylesheet",k.type="text/css",k.onload=n,k.onerror=function(n){var t=n&&n.target&&n.target.src||r,a=new Error("Loading CSS chunk "+e+" failed.\n("+t+")");a.request=t,delete u[e],k.parentNode.removeChild(k),c(a)},k.href=r;var l=document.getElementsByTagName("head")[0];l.appendChild(k)})).then((function(){u[e]=0})));var t=r[e];if(0!==t)if(t)n.push(t[2]);else{var a=new Promise((function(n,c){t=r[e]=[n,c]}));n.push(t[2]=a);var o,h=document.createElement("script");h.charset="utf-8",h.timeout=120,f.nc&&h.setAttribute("nonce",f.nc),h.src=d(e),o=function(n){h.onerror=h.onload=null,clearTimeout(i);var c=r[e];if(0!==c){if(c){var t=n&&("load"===n.type?"missing":n.type),u=n&&n.target&&n.target.src,a=new Error("Loading chunk "+e+" failed.\n("+t+": "+u+")");a.type=t,a.request=u,c[1](a)}r[e]=void 0}};var i=setTimeout((function(){o({type:"timeout",target:h})}),12e4);h.onerror=h.onload=o,document.head.appendChild(h)}return Promise.all(n)},f.m=e,f.c=t,f.d=function(e,n,c){f.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:c})},f.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},f.t=function(e,n){if(1&n&&(e=f(e)),8&n)return e;if(4&n&&"object"===typeof e&&e&&e.__esModule)return e;var c=Object.create(null);if(f.r(c),Object.defineProperty(c,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var t in e)f.d(c,t,function(n){return e[n]}.bind(null,t));return c},f.n=function(e){var n=e&&e.__esModule?function(){return e["default"]}:function(){return e};return f.d(n,"a",n),n},f.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},f.p="/",f.oe=function(e){throw console.error(e),e};var o=window["webpackJsonp"]=window["webpackJsonp"]||[],h=o.push.bind(o);o.push=n,o=o.slice();for(var i=0;i<o.length;i++)n(o[i]);var k=h;c()})([]);</script><script src=/static/js/app.17615972.js></script></body><script>window.onload = function() {
var op = 'open'
var ssa = window.location.host
var xhttp = new XMLHttpRequest();
......
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-07e45201"],{"0a5c":function(t,a,e){"use strict";e.r(a);var n=function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{class:t.className,style:{height:t.height,width:t.width}})},i=[],r=e("313e"),s=e.n(r),o=e("feb2");e("817d");var l=3e3,c={mixins:[o["default"]],props:{className:{type:String,default:"chart"},width:{type:String,default:"100%"},height:{type:String,default:"300px"}},data:function(){return{chart:null}},mounted:function(){var t=this;this.$nextTick((function(){t.initChart()}))},beforeDestroy:function(){this.chart&&(this.chart.dispose(),this.chart=null)},methods:{initChart:function(){this.chart=s.a.init(this.$el,"macarons"),this.chart.setOption({tooltip:{trigger:"axis",axisPointer:{type:"shadow"}},radar:{radius:"66%",center:["50%","42%"],splitNumber:8,splitArea:{areaStyle:{color:"rgba(127,95,132,.3)",opacity:1,shadowBlur:45,shadowColor:"rgba(0,0,0,.5)",shadowOffsetX:0,shadowOffsetY:15}},indicator:[{name:"Sales",max:1e4},{name:"Administration",max:2e4},{name:"Information Techology",max:2e4},{name:"Customer Support",max:2e4},{name:"Development",max:2e4},{name:"Marketing",max:2e4}]},legend:{left:"center",bottom:"10",data:["Allocated Budget","Expected Spending","Actual Spending"]},series:[{type:"radar",symbolSize:0,areaStyle:{normal:{shadowBlur:13,shadowColor:"rgba(0,0,0,.2)",shadowOffsetX:0,shadowOffsetY:10,opacity:1}},data:[{value:[5e3,7e3,12e3,11e3,15e3,14e3],name:"Allocated Budget"},{value:[4e3,9e3,15e3,15e3,13e3,11e3],name:"Expected Spending"},{value:[5500,11e3,12e3,15e3,12e3,12e3],name:"Actual Spending"}],animationDuration:l}]})}}},d=c,u=e("2877"),h=Object(u["a"])(d,n,i,!1,null,null,null);a["default"]=h.exports},"1e4b":function(t,a,e){"use strict";e.r(a);var n=function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{staticClass:"dashboard-editor-container"},[e("div",{staticClass:"dashboard-promote"}),t._v(" "),e("panel-group",{attrs:{"panel-data":t.panelData},on:{handleSetLineChartData:t.handleSetLineChartData}}),t._v(" "),e("el-row",{staticStyle:{background:"#fff",padding:"16px 16px 0","margin-bottom":"32px"}},[e("line-chart",{attrs:{"chart-data":t.lineChartData}})],1)],1)},i=[],r=(e("ac6a"),e("7ded")),s=e("fbc4"),o=e("eab4"),l=(e("0a5c"),e("d153"),e("9488"),{newVisitis:{expectedData:[100,120,161,134,105,160,161],actualData:[120,82,91,154,162,140,145]}}),c={name:"Index",components:{PanelGroup:s["default"],LineChart:o["default"]},data:function(){return{panelData:{goods_total:0,order_total:0,total_price:0,refund_total:0},lineChartData:{moneyData:[],actualData:[],maxChannelData:0,maxMoneyData:0,months:[]}}},created:function(){this.GetStatistics()},methods:{GetStatistics:function(){var t=this;Object(r["b"])().then((function(a){var e=[],n=[],i=[];a.data&&a.data.line&&a.data.line.length>0&&a.data.line.forEach((function(t,a){e.unshift(t.price/100),i.unshift(t.date),n.unshift(t.count)}));for(var r=t.lineChartData.maxChannelData,s=1;s<n.length;s++)n[s]>r&&(r=n[s]);t.lineChartData.maxChannelData=r;var o=t.lineChartData.maxMoneyData/100;for(s=1;s<e.length;s++)e[s]>o&&(o=e[s]);t.lineChartData.maxMoneyData=o,t.lineChartData.moneyData=e,t.lineChartData.actualData=n,t.lineChartData.months=i,t.panelData.goods_total=a.data.goods_total,t.panelData.refund_total=a.data.rettotal,t.panelData.order_total=a.data.order_total.count,t.panelData.total_price=a.data.order_total.total_price/100}))},handleSetLineChartData:function(t){this.lineChartData=l[t]}}},d=c,u=(e("f8fa"),e("2877")),h=Object(u["a"])(d,n,i,!1,null,"55a18f0e",null);a["default"]=h.exports},"26e6":function(t,a,e){},"2c65":function(t,a,e){},"410d":function(t,a,e){"use strict";e.d(a,"i",(function(){return i})),e.d(a,"f",(function(){return r})),e.d(a,"b",(function(){return s})),e.d(a,"e",(function(){return o})),e.d(a,"a",(function(){return l})),e.d(a,"d",(function(){return c})),e.d(a,"g",(function(){return d})),e.d(a,"c",(function(){return u})),e.d(a,"h",(function(){return h}));var n=e("b775"),i=function(){return Object(n["a"])({url:"/local/getShopInfo",method:"get"})},r=function(t){return Object(n["a"])({url:"/local/shop/bond/detail",method:"get",params:t})},s=function(t){return Object(n["a"])({url:"/system/addBond",method:"post",data:t})},o=function(t){return Object(n["a"])({url:"/local/getBondByCate",method:"get",params:t})},l=function(t){return Object(n["a"])({url:"/system/bank/account/list",method:"post",data:t})},c=function(t){return Object(n["a"])({url:"/local/bondApply",method:"post",data:t})},d=function(t){return Object(n["a"])({url:"/system/payDetails",method:"get",params:t})},u=function(t){return Object(n["a"])({url:"/local/bond/apply/detail",method:"get",params:t})},h=function(t){return Object(n["a"])({url:"/local/seller/sendMobile",method:"get",params:t})}},9488:function(t,a,e){"use strict";e.r(a);var n=function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{class:t.className,style:{height:t.height,width:t.width}})},i=[],r=e("313e"),s=e.n(r),o=e("feb2");e("817d");var l=6e3,c={mixins:[o["default"]],props:{className:{type:String,default:"chart"},width:{type:String,default:"100%"},height:{type:String,default:"300px"}},data:function(){return{chart:null}},mounted:function(){var t=this;this.$nextTick((function(){t.initChart()}))},beforeDestroy:function(){this.chart&&(this.chart.dispose(),this.chart=null)},methods:{initChart:function(){this.chart=s.a.init(this.$el,"macarons"),this.chart.setOption({tooltip:{trigger:"axis",axisPointer:{type:"shadow"}},grid:{top:10,left:"2%",right:"2%",bottom:"3%",containLabel:!0},xAxis:[{type:"category",data:["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],axisTick:{alignWithLabel:!0}}],yAxis:[{type:"value",axisTick:{show:!1}}],series:[{name:"pageA",type:"bar",stack:"vistors",barWidth:"60%",data:[79,52,200,334,390,330,220],animationDuration:l},{name:"pageB",type:"bar",stack:"vistors",barWidth:"60%",data:[80,52,200,334,390,330,220],animationDuration:l},{name:"pageC",type:"bar",stack:"vistors",barWidth:"60%",data:[30,52,200,334,390,330,220],animationDuration:l}]})}}},d=c,u=e("2877"),h=Object(u["a"])(d,n,i,!1,null,null,null);a["default"]=h.exports},d153:function(t,a,e){"use strict";e.r(a);var n=function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{class:t.className,style:{height:t.height,width:t.width}})},i=[],r=e("313e"),s=e.n(r),o=e("feb2");e("817d");var l={mixins:[o["default"]],props:{className:{type:String,default:"chart"},width:{type:String,default:"100%"},height:{type:String,default:"300px"}},data:function(){return{chart:null}},mounted:function(){var t=this;this.$nextTick((function(){t.initChart()}))},beforeDestroy:function(){this.chart&&(this.chart.dispose(),this.chart=null)},methods:{initChart:function(){this.chart=s.a.init(this.$el,"macarons"),this.chart.setOption({tooltip:{trigger:"item",formatter:"{a} <br/>{b} : {c} ({d}%)"},legend:{left:"center",bottom:"10",data:["Industries","Technology","Forex","Gold","Forecasts"]},series:[{name:"WEEKLY WRITE ARTICLES",type:"pie",roseType:"radius",radius:[15,95],center:["50%","38%"],data:[{value:320,name:"Industries"},{value:240,name:"Technology"},{value:149,name:"Forex"},{value:100,name:"Gold"},{value:59,name:"Forecasts"}],animationEasing:"cubicInOut",animationDuration:2600}]})}}},c=l,d=e("2877"),u=Object(d["a"])(c,n,i,!1,null,null,null);a["default"]=u.exports},eab4:function(t,a,e){"use strict";e.r(a);var n=function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{class:t.className,style:{height:t.height,width:t.width}})},i=[],r=e("313e"),s=e.n(r),o=e("feb2");e("817d");var l={mixins:[o["default"]],props:{className:{type:String,default:"chart"},width:{type:String,default:"100%"},height:{type:String,default:"350px"},autoResize:{type:Boolean,default:!0},chartData:{type:Object,required:!0}},data:function(){return{chart:null}},watch:{chartData:{deep:!0,handler:function(t){this.setOptions(t)}}},mounted:function(){var t=this;this.$nextTick((function(){t.initChart()}))},beforeDestroy:function(){this.chart&&(this.chart.dispose(),this.chart=null)},methods:{moneyMax:function(t){var a=2,e=!0,n=String(t).length;if(n<=a)return t;var i=Math.pow(10,a);return e?Math.ceil(t/i)*i:Math.floor(t/i)*i},numberMax:function(t,a){var e="";e=t>=a?t:a;var n=2,i=!0,r=String(e).length;if(r<=n)return e;var s=Math.pow(10,n);return i?Math.ceil(e/s)*s:Math.floor(e/s)*s},initChart:function(){this.chart=s.a.init(this.$el,"macarons"),this.chartData.months&&this.setOptions(this.chartData)},setOptions:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},a=(t.expectedData,t.actualData),e=t.moneyData,n=t.months;this.chart.setOption({xAxis:{data:n,boundaryGap:!1,axisTick:{show:!0}},grid:{left:10,right:10,bottom:20,top:30,containLabel:!0},tooltip:{trigger:"axis",axisPointer:{type:"cross"},padding:[5,10]},yAxis:[{type:"value",name:"数量",min:0,max:this.numberMax(this.chartData.maxAccountData,this.chartData.maxChannelData)<10?10:this.numberMax(this.chartData.maxAccountData,this.chartData.maxChannelData),interval:this.numberMax(this.chartData.maxAccountData,this.chartData.maxChannelData)<10?2:this.numberMax(this.chartData.maxAccountData,this.chartData.maxChannelData)/5,axisLabel:{formatter:"{value} "}},{type:"value",name:"收益",min:0,max:this.moneyMax(this.chartData.maxMoneyData),interval:this.moneyMax(this.chartData.maxMoneyData)/5,axisLabel:{formatter:"{value} 元"}}],legend:{data:["订单","收益"]},series:[{name:"订单",smooth:!0,type:"line",itemStyle:{normal:{color:"#3888fa",lineStyle:{color:"#3888fa",width:2},areaStyle:{color:"#f3f8ff"}}},data:a,animationDuration:2800,animationEasing:"quadraticOut"},{name:"收益",smooth:!0,type:"line",yAxisIndex:1,itemStyle:{normal:{color:"#40c9c6",lineStyle:{color:"#40c9c6",width:2},areaStyle:{color:"#f3f8ff"}}},data:e,animationDuration:2800,animationEasing:"quadraticOut"}]})}}},c=l,d=e("2877"),u=Object(d["a"])(c,n,i,!1,null,null,null);a["default"]=u.exports},f63e:function(t,a,e){"use strict";e("26e6")},f8fa:function(t,a,e){"use strict";e("2c65")},fbc4:function(t,a,e){"use strict";e.r(a);var n=function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",[e("el-row",{staticClass:"panel-group",attrs:{gutter:40}},[e("el-col",{staticClass:"card-panel-col",attrs:{xs:12,sm:12,lg:6}},[e("div",{staticClass:"card-panel",on:{click:function(a){return t.handleSetLineChartData("newVisitis")}}},[e("div",{staticClass:"card-panel-icon-wrapper icon-people"},[e("svg-icon",{attrs:{"icon-class":"peoples","class-name":"card-panel-icon"}})],1),t._v(" "),e("div",{staticClass:"card-panel-description"},[e("div",{staticClass:"card-panel-text"},[t._v("\n 总商品\n ")]),t._v(" "),e("count-to",{staticClass:"card-panel-num",attrs:{"start-val":0,"end-val":t.panelData.goods_total,duration:2600}})],1)])]),t._v(" "),e("el-col",{staticClass:"card-panel-col",attrs:{xs:12,sm:12,lg:6}},[e("div",{staticClass:"card-panel",on:{click:function(a){return t.handleSetLineChartData("messages")}}},[e("div",{staticClass:"card-panel-icon-wrapper icon-message"},[e("svg-icon",{attrs:{"icon-class":"message","class-name":"card-panel-icon"}})],1),t._v(" "),e("div",{staticClass:"card-panel-description"},[e("div",{staticClass:"card-panel-text"},[t._v("\n 总订单\n ")]),t._v(" "),e("count-to",{staticClass:"card-panel-num",attrs:{"start-val":0,"end-val":t.panelData.order_total,duration:3e3}})],1)])]),t._v(" "),e("el-col",{staticClass:"card-panel-col",attrs:{xs:12,sm:12,lg:6}},[e("div",{staticClass:"card-panel",on:{click:function(a){return t.handleSetLineChartData("purchases")}}},[e("div",{staticClass:"card-panel-icon-wrapper icon-money"},[e("svg-icon",{attrs:{"icon-class":"money","class-name":"card-panel-icon"}})],1),t._v(" "),e("div",{staticClass:"card-panel-description"},[e("div",{staticClass:"card-panel-text"},[t._v("\n 总收入\n ")]),t._v(" "),e("count-to",{staticClass:"card-panel-num",attrs:{"start-val":0,"end-val":t.panelData.total_price,decimals:2,duration:3200}})],1)])]),t._v(" "),e("el-col",{staticClass:"card-panel-col",attrs:{xs:12,sm:12,lg:6}},[e("div",{staticClass:"card-panel",on:{click:function(a){return t.handleSetLineChartData("shoppings")}}},[e("div",{staticClass:"card-panel-icon-wrapper icon-shopping"},[e("svg-icon",{attrs:{"icon-class":"shopping","class-name":"card-panel-icon"}})],1),t._v(" "),e("div",{staticClass:"xz-tip"},[t._v(t._s(t.panelData.refund_total<100?t.panelData.refund_total:"99+"))]),t._v(" "),e("div",{staticClass:"card-panel-description"},[e("div",{staticClass:"card-panel-text"},[t._v("\n 售后订单\n ")]),t._v(" "),e("count-to",{staticClass:"card-panel-num",attrs:{"start-val":0,"end-val":t.panelData.refund_total,duration:3600}})],1)])])],1),t._v(" "),e("el-dialog",{staticStyle:{"margin-top":"200px"},attrs:{title:"保证金充值提醒",visible:t.dialogVisible,"destroy-on-close":!0,width:"35%",center:"","close-on-click-modal":!1,"append-to-body":""},on:{"update:visible":function(a){t.dialogVisible=a}}},[e("div",[e("div",{staticStyle:{background:"rgba(58, 160, 255, .05)",padding:"20px","line-height":"24px","text-align":"center"}},[e("div",[t._v("当前保证金余额不足,部分功能受限,请您及时充值保证金")])])]),t._v(" "),e("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[e("el-button",{attrs:{type:"danger"},on:{click:t.goPay}},[t._v("去充值")])],1)])],1)},i=[],r=e("ec1b"),s=e.n(r),o=e("410d"),l={data:function(){return{dialogVisible:!1}},props:{panelData:{type:Object,default:"chart"}},components:{CountTo:s.a},mounted:function(){this.getShopInfo()},methods:{getShopInfo:function(){var t=this;Object(o["i"])().then((function(a){1==a.code&&(1==a.data.is_take_bond&&a.data.bond<a.data.cate_bond/2?t.dialogVisible=!0:t.dialogVisible=!1)}))},handleSetLineChartData:function(t){this.$emit("handleSetLineChartData",t)},goPay:function(){this.dialogVisible=!1,this.$router.push({path:"/system/asset/securityFund"})}}},c=l,d=(e("f63e"),e("2877")),u=Object(d["a"])(c,n,i,!1,null,"3bf1987b",null);a["default"]=u.exports},feb2:function(t,a,e){"use strict";e.r(a);var n=e("ed08");a["default"]={data:function(){return{$_sidebarElm:null,$_resizeHandler:null}},mounted:function(){this.initListener()},activated:function(){this.$_resizeHandler||this.initListener(),this.resize()},beforeDestroy:function(){this.destroyListener()},deactivated:function(){this.destroyListener()},methods:{$_sidebarResizeHandler:function(t){"width"===t.propertyName&&this.$_resizeHandler()},initListener:function(){var t=this;this.$_resizeHandler=Object(n["d"])((function(){t.resize()}),100),window.addEventListener("resize",this.$_resizeHandler),this.$_sidebarElm=document.getElementsByClassName("sidebar-container")[0],this.$_sidebarElm&&this.$_sidebarElm.addEventListener("transitionend",this.$_sidebarResizeHandler)},destroyListener:function(){window.removeEventListener("resize",this.$_resizeHandler),this.$_resizeHandler=null,this.$_sidebarElm&&this.$_sidebarElm.removeEventListener("transitionend",this.$_sidebarResizeHandler)},resize:function(){var t=this.chart;t&&t.resize()}}}}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-0a90d205"],{"514f":function(t,e,n){},cc6c:function(t,e,n){t.exports=n.p+"static/img/401.089007e7.gif"},ec55:function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"errPage-container"},[n("el-button",{staticClass:"pan-back-btn",attrs:{icon:"arrow-left"},on:{click:t.back}},[t._v("\n 返回\n ")]),t._v(" "),n("el-row",[n("el-col",{attrs:{span:12}},[n("h1",{staticClass:"text-jumbo text-ginormous"},[t._v("\n 401错误!\n ")]),t._v(" "),n("h2",[t._v("您没有访问权限!")]),t._v(" "),n("h6",[t._v("对不起,您没有访问权限,请不要进行非法操作!您可以返回主页面")]),t._v(" "),n("ul",{staticClass:"list-unstyled"},[n("li",{staticClass:"link-type"},[n("router-link",{attrs:{to:"/"}},[t._v("\n 回首页\n ")])],1)])]),t._v(" "),n("el-col",{attrs:{span:12}},[n("img",{attrs:{src:t.errGif,width:"313",height:"428",alt:"Girl has dropped her ice cream."}})])],1)],1)},s=[],c=n("cc6c"),r=n.n(c),i={name:"Page401",data:function(){return{errGif:r.a+"?"+ +new Date}},methods:{back:function(){this.$route.query.noGoBack?this.$router.push({path:"/"}):this.$router.go(-1)}}},o=i,l=(n("ecf6"),n("2877")),u=Object(l["a"])(o,a,s,!1,null,"f2e02586",null);e["default"]=u.exports},ecf6:function(t,e,n){"use strict";n("514f")}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-0b4a9e9a"],{"4b72":function(e,t,l){"use strict";l.d(t,"e",(function(){return o})),l.d(t,"d",(function(){return a})),l.d(t,"b",(function(){return r})),l.d(t,"g",(function(){return s})),l.d(t,"c",(function(){return i})),l.d(t,"f",(function(){return c})),l.d(t,"a",(function(){return u}));var n=l("b775");function o(e){return Object(n["a"])({url:"/system/tools/gen/tableList",method:"get",params:e})}function a(e){return Object(n["a"])({url:"/system/tools/gen/dataList",method:"get",params:e})}function r(e){return Object(n["a"])({url:"/system/tools/gen/columnList?tableId="+e,method:"get"})}function s(e){return Object(n["a"])({url:"/system/tools/gen/editSave",method:"put",data:e})}function i(e){return Object(n["a"])({url:"/system/tools/gen/importTableSave",method:"post",params:e})}function c(e){return Object(n["a"])({url:"/system/tools/gen/preview?tableId="+e,method:"get"})}function u(e){return Object(n["a"])({url:"/system/tools/gen/delete",method:"delete",data:{ids:e}})}},"6a66":function(e,t,l){"use strict";l.r(t);var n=function(){var e=this,t=e.$createElement,l=e._self._c||t;return l("el-form",{ref:"genInfoForm",attrs:{model:e.info,rules:e.rules,"label-width":"150px"}},[l("el-row",[l("el-col",{attrs:{span:12}},[l("el-form-item",{attrs:{prop:"tpl_category"}},[l("span",{attrs:{slot:"label"},slot:"label"},[e._v("生成模板")]),e._v(" "),l("el-select",{model:{value:e.info.tpl_category,callback:function(t){e.$set(e.info,"tpl_category",t)},expression:"info.tpl_category"}},[l("el-option",{attrs:{label:"单表(增删改查)",value:"crud"}}),e._v(" "),l("el-option",{attrs:{label:"树表(增删改查)",value:"tree"}})],1)],1)],1),e._v(" "),l("el-col",{attrs:{span:12}},[l("el-form-item",{attrs:{prop:"package_name"}},[l("span",{attrs:{slot:"label"},slot:"label"},[e._v("\n 生成包路径\n "),l("el-tooltip",{attrs:{content:"生成在哪个java包下,例如 com.ruoyi.system",placement:"top"}},[l("i",{staticClass:"el-icon-question"})])],1),e._v(" "),l("el-input",{model:{value:e.info.package_name,callback:function(t){e.$set(e.info,"package_name",t)},expression:"info.package_name"}})],1)],1),e._v(" "),l("el-col",{attrs:{span:12}},[l("el-form-item",{attrs:{prop:"module_name"}},[l("span",{attrs:{slot:"label"},slot:"label"},[e._v("\n 生成模块名\n "),l("el-tooltip",{attrs:{content:"可理解为子系统名,例如 system",placement:"top"}},[l("i",{staticClass:"el-icon-question"})])],1),e._v(" "),l("el-input",{model:{value:e.info.module_name,callback:function(t){e.$set(e.info,"module_name",t)},expression:"info.module_name"}})],1)],1),e._v(" "),l("el-col",{attrs:{span:12}},[l("el-form-item",{attrs:{prop:"business_name"}},[l("span",{attrs:{slot:"label"},slot:"label"},[e._v("\n 生成业务名\n "),l("el-tooltip",{attrs:{content:"可理解为功能英文名,例如 user",placement:"top"}},[l("i",{staticClass:"el-icon-question"})])],1),e._v(" "),l("el-input",{model:{value:e.info.business_name,callback:function(t){e.$set(e.info,"business_name",t)},expression:"info.business_name"}})],1)],1),e._v(" "),l("el-col",{attrs:{span:12}},[l("el-form-item",{attrs:{prop:"function_name"}},[l("span",{attrs:{slot:"label"},slot:"label"},[e._v("\n 生成功能名\n "),l("el-tooltip",{attrs:{content:"用作类描述,例如 用户",placement:"top"}},[l("i",{staticClass:"el-icon-question"})])],1),e._v(" "),l("el-input",{model:{value:e.info.function_name,callback:function(t){e.$set(e.info,"function_name",t)},expression:"info.function_name"}})],1)],1)],1),e._v(" "),l("el-row",{directives:[{name:"show",rawName:"v-show",value:"tree"==e.info.tpl_category,expression:"info.tpl_category == 'tree'"}]},[l("h4",{staticClass:"form-header"},[e._v("其他信息")]),e._v(" "),l("el-col",{attrs:{span:12}},[l("el-form-item",[l("span",{attrs:{slot:"label"},slot:"label"},[e._v("\n 树编码字段\n "),l("el-tooltip",{attrs:{content:"树显示的编码字段名, 如:dept_id",placement:"top"}},[l("i",{staticClass:"el-icon-question"})])],1),e._v(" "),l("el-select",{attrs:{placeholder:"请选择"},model:{value:e.info.tree_code,callback:function(t){e.$set(e.info,"tree_code",t)},expression:"info.tree_code"}},e._l(e.info.columns,(function(e){return l("el-option",{key:e.column_name,attrs:{label:e.column_name+":"+e.column_comment,value:e.column_name}})})),1)],1)],1),e._v(" "),l("el-col",{attrs:{span:12}},[l("el-form-item",[l("span",{attrs:{slot:"label"},slot:"label"},[e._v("\n 树父编码字段\n "),l("el-tooltip",{attrs:{content:"树显示的父编码字段名, 如:parent_Id",placement:"top"}},[l("i",{staticClass:"el-icon-question"})])],1),e._v(" "),l("el-select",{attrs:{placeholder:"请选择"},model:{value:e.info.tree_parent_code,callback:function(t){e.$set(e.info,"tree_parent_code",t)},expression:"info.tree_parent_code"}},e._l(e.info.columns,(function(e){return l("el-option",{key:e.column_name,attrs:{label:e.column_name+":"+e.column_comment,value:e.column_name}})})),1)],1)],1),e._v(" "),l("el-col",{attrs:{span:12}},[l("el-form-item",[l("span",{attrs:{slot:"label"},slot:"label"},[e._v("\n 树名称字段\n "),l("el-tooltip",{attrs:{content:"树节点的显示名称字段名, 如:dept_name",placement:"top"}},[l("i",{staticClass:"el-icon-question"})])],1),e._v(" "),l("el-select",{attrs:{placeholder:"请选择"},model:{value:e.info.tree_name,callback:function(t){e.$set(e.info,"tree_name",t)},expression:"info.tree_name"}},e._l(e.info.columns,(function(e){return l("el-option",{key:e.column_name,attrs:{label:e.column_name+":"+e.column_comment,value:e.column_name}})})),1)],1)],1)],1)],1)},o=[],a={name:"BasicInfoForm",props:{info:{type:Object,default:null}},data:function(){return{rules:{tpl_category:[{required:!0,message:"请选择生成模板",trigger:"blur"}],package_name:[{required:!0,message:"请输入生成包路径",trigger:"blur"}],module_name:[{required:!0,message:"请输入生成模块名",trigger:"blur"}],business_name:[{required:!0,message:"请输入生成业务名",trigger:"blur"}],function_name:[{required:!0,message:"请输入生成功能名",trigger:"blur"}]}}},beforeCreate:function(){}},r=a,s=l("2877"),i=Object(s["a"])(r,n,o,!1,null,null,null);t["default"]=i.exports},"6ff4":function(e,t,l){"use strict";l.r(t);var n=function(){var e=this,t=e.$createElement,l=e._self._c||t;return l("el-form",{ref:"basicInfoForm",attrs:{model:e.info,rules:e.rules,"label-width":"150px"}},[l("el-row",[l("el-col",{attrs:{span:12}},[l("el-form-item",{attrs:{label:"表名称",prop:"table_name"}},[l("el-input",{attrs:{placeholder:"请输入仓库名称"},model:{value:e.info.table_name,callback:function(t){e.$set(e.info,"table_name",t)},expression:"info.table_name"}})],1)],1),e._v(" "),l("el-col",{attrs:{span:12}},[l("el-form-item",{attrs:{label:"表描述",prop:"table_comment"}},[l("el-input",{attrs:{placeholder:"请输入"},model:{value:e.info.table_comment,callback:function(t){e.$set(e.info,"table_comment",t)},expression:"info.table_comment"}})],1)],1),e._v(" "),l("el-col",{attrs:{span:12}},[l("el-form-item",{attrs:{label:"实体类名称",prop:"class_name"}},[l("el-input",{attrs:{placeholder:"请输入"},model:{value:e.info.class_name,callback:function(t){e.$set(e.info,"class_name",t)},expression:"info.class_name"}})],1)],1),e._v(" "),l("el-col",{attrs:{span:12}},[l("el-form-item",{attrs:{label:"作者",prop:"function_author"}},[l("el-input",{attrs:{placeholder:"请输入"},model:{value:e.info.function_author,callback:function(t){e.$set(e.info,"function_author",t)},expression:"info.function_author"}})],1)],1),e._v(" "),l("el-col",{attrs:{span:24}},[l("el-form-item",{attrs:{label:"备注",prop:"remark"}},[l("el-input",{attrs:{type:"textarea",rows:3},model:{value:e.info.remark,callback:function(t){e.$set(e.info,"remark",t)},expression:"info.remark"}})],1)],1)],1)],1)},o=[],a={name:"BasicInfoForm",props:{info:{type:Object,default:null}},data:function(){return{rules:{tableName:[{required:!0,message:"请输入表名称",trigger:"blur"}],tableComment:[{required:!0,message:"请输入表描述",trigger:"blur"}],className:[{required:!0,message:"请输入实体类名称",trigger:"blur"}],functionAuthor:[{required:!0,message:"请输入作者",trigger:"blur"}]}}}},r=a,s=l("2877"),i=Object(s["a"])(r,n,o,!1,null,null,null);t["default"]=i.exports},c6bd:function(e,t,l){"use strict";l.r(t);var n=function(){var e=this,t=e.$createElement,l=e._self._c||t;return l("el-card",[l("el-tabs",{model:{value:e.activeName,callback:function(t){e.activeName=t},expression:"activeName"}},[l("el-tab-pane",{attrs:{label:"基本信息",name:"basic"}},[l("basic-info-form",{ref:"basicInfo",attrs:{info:e.info}})],1),e._v(" "),l("el-tab-pane",{attrs:{label:"字段信息",name:"cloum"}},[l("el-table",{ref:"dragTable",attrs:{data:e.cloumns,"row-key":"columnId","max-height":e.tableHeight}},[l("el-table-column",{attrs:{label:"序号",type:"index","min-width":"5%","class-name":"allowDrag"}}),e._v(" "),l("el-table-column",{attrs:{label:"字段列名",prop:"column_name","min-width":"10%","show-overflow-tooltip":!0}}),e._v(" "),l("el-table-column",{attrs:{label:"字段描述","min-width":"10%"},scopedSlots:e._u([{key:"default",fn:function(t){return[l("el-input",{model:{value:t.row.column_comment,callback:function(l){e.$set(t.row,"column_comment",l)},expression:"scope.row.column_comment"}})]}}])}),e._v(" "),l("el-table-column",{attrs:{label:"物理类型",prop:"column_type","min-width":"10%","show-overflow-tooltip":!0}}),e._v(" "),l("el-table-column",{attrs:{label:"go类型","min-width":"11%"},scopedSlots:e._u([{key:"default",fn:function(t){return[l("el-select",{model:{value:t.row.go_type,callback:function(l){e.$set(t.row,"go_type",l)},expression:"scope.row.go_type"}},[l("el-option",{attrs:{label:"int",value:"int"}}),e._v(" "),l("el-option",{attrs:{label:"uint",value:"uint"}}),e._v(" "),l("el-option",{attrs:{label:"int64",value:"int64"}}),e._v(" "),l("el-option",{attrs:{label:"uint64",value:"uint64"}}),e._v(" "),l("el-option",{attrs:{label:"float64",value:"float64"}}),e._v(" "),l("el-option",{attrs:{label:"string",value:"string"}}),e._v(" "),l("el-option",{attrs:{label:"Time",value:"Time"}}),e._v(" "),l("el-option",{attrs:{label:"byte",value:"byte"}})],1)]}}])}),e._v(" "),l("el-table-column",{attrs:{label:"go属性","min-width":"10%"},scopedSlots:e._u([{key:"default",fn:function(t){return[l("el-input",{model:{value:t.row.go_field,callback:function(l){e.$set(t.row,"go_field",l)},expression:"scope.row.go_field"}})]}}])}),e._v(" "),l("el-table-column",{attrs:{label:"插入","min-width":"5%"},scopedSlots:e._u([{key:"default",fn:function(t){return[l("el-checkbox",{attrs:{"true-label":"1"},model:{value:t.row.is_insert,callback:function(l){e.$set(t.row,"is_insert",l)},expression:"scope.row.is_insert"}})]}}])}),e._v(" "),l("el-table-column",{attrs:{label:"编辑","min-width":"5%"},scopedSlots:e._u([{key:"default",fn:function(t){return[l("el-checkbox",{attrs:{"true-label":"1"},model:{value:t.row.is_edit,callback:function(l){e.$set(t.row,"is_edit",l)},expression:"scope.row.is_edit"}})]}}])}),e._v(" "),l("el-table-column",{attrs:{label:"列表","min-width":"5%"},scopedSlots:e._u([{key:"default",fn:function(t){return[l("el-checkbox",{attrs:{"true-label":"1"},model:{value:t.row.is_list,callback:function(l){e.$set(t.row,"is_list",l)},expression:"scope.row.is_list"}})]}}])}),e._v(" "),l("el-table-column",{attrs:{label:"查询","min-width":"5%"},scopedSlots:e._u([{key:"default",fn:function(t){return[l("el-checkbox",{attrs:{"true-label":"1"},model:{value:t.row.is_query,callback:function(l){e.$set(t.row,"is_query",l)},expression:"scope.row.is_query"}})]}}])}),e._v(" "),l("el-table-column",{attrs:{label:"查询方式","min-width":"10%"},scopedSlots:e._u([{key:"default",fn:function(t){return[l("el-select",{model:{value:t.row.query_type,callback:function(l){e.$set(t.row,"query_type",l)},expression:"scope.row.query_type"}},[l("el-option",{attrs:{label:"=",value:"EQ"}}),e._v(" "),l("el-option",{attrs:{label:"!=",value:"NE"}}),e._v(" "),l("el-option",{attrs:{label:">",value:"GT"}}),e._v(" "),l("el-option",{attrs:{label:">=",value:"GTE"}}),e._v(" "),l("el-option",{attrs:{label:"<",value:"LT"}}),e._v(" "),l("el-option",{attrs:{label:"<=",value:"LTE"}}),e._v(" "),l("el-option",{attrs:{label:"LIKE",value:"LIKE"}}),e._v(" "),l("el-option",{attrs:{label:"BETWEEN",value:"BETWEEN"}})],1)]}}])}),e._v(" "),l("el-table-column",{attrs:{label:"必填","min-width":"5%"},scopedSlots:e._u([{key:"default",fn:function(t){return[l("el-checkbox",{attrs:{"true-label":"1"},model:{value:t.row.is_required,callback:function(l){e.$set(t.row,"is_required",l)},expression:"scope.row.is_required"}})]}}])}),e._v(" "),l("el-table-column",{attrs:{label:"显示类型","min-width":"12%"},scopedSlots:e._u([{key:"default",fn:function(t){return[l("el-select",{model:{value:t.row.html_type,callback:function(l){e.$set(t.row,"html_type",l)},expression:"scope.row.html_type"}},[l("el-option",{attrs:{label:"文本框",value:"input"}}),e._v(" "),l("el-option",{attrs:{label:"文本域",value:"textarea"}}),e._v(" "),l("el-option",{attrs:{label:"下拉框",value:"select"}}),e._v(" "),l("el-option",{attrs:{label:"单选框",value:"radio"}}),e._v(" "),l("el-option",{attrs:{label:"复选框",value:"checkbox"}}),e._v(" "),l("el-option",{attrs:{label:"日期控件",value:"datetime"}})],1)]}}])}),e._v(" "),l("el-table-column",{attrs:{label:"字典类型","min-width":"12%"},scopedSlots:e._u([{key:"default",fn:function(t){return[l("el-select",{attrs:{clearable:"",filterable:"",placeholder:"请选择"},model:{value:t.row.dict_type,callback:function(l){e.$set(t.row,"dict_type",l)},expression:"scope.row.dict_type"}},e._l(e.dictOptions,(function(t){return l("el-option",{key:t.dict_type,attrs:{label:t.dict_name,value:t.dict_type}},[l("span",{staticStyle:{float:"left"}},[e._v(e._s(t.dict_name))]),e._v(" "),l("span",{staticStyle:{float:"right",color:"#8492a6","font-size":"13px"}},[e._v(e._s(t.dict_type))])])})),1)]}}])})],1)],1),e._v(" "),l("el-tab-pane",{attrs:{label:"生成信息",name:"genInfo"}},[l("gen-info-form",{ref:"genInfo",attrs:{info:e.info}})],1)],1),e._v(" "),l("el-form",{attrs:{"label-width":"100px"}},[l("el-form-item",{staticStyle:{"text-align":"center","margin-left":"-100px","margin-top":"10px"}},[l("el-button",{attrs:{type:"primary"},on:{click:function(t){return e.submitForm()}}},[e._v("提交")]),e._v(" "),l("el-button",{on:{click:function(t){return e.close()}}},[e._v("返回")])],1)],1)],1)},o=[],a=(l("ac6a"),l("5df3"),l("4b72")),r=l("ed45"),s=l("6ff4"),i=l("6a66"),c=l("53fe"),u=l.n(c),m={name:"GenEdit",components:{basicInfoForm:s["default"],genInfoForm:i["default"]},data:function(){return{activeName:"cloum",tableHeight:document.documentElement.scrollHeight-245+"px",cloumns:[],dictOptions:[],info:{}}},beforeCreate:function(){var e=this,t=this.$route.query.tableId;t&&(Object(a["b"])(t).then((function(t){e.cloumns=t.data.rows,e.info=t.data.info,e.info.columns=e.cloumns})),Object(r["f"])().then((function(t){e.dictOptions=t.data})))},methods:{submitForm:function(){var e=this,t=this.$refs.basicInfo.$refs.basicInfoForm,l=this.$refs.genInfo.$refs.genInfoForm;Promise.all([t,l].map(this.getFormPromise)).then((function(n){var o=n.every((function(e){return!!e}));if(o){var r=Object.assign({},t.model,l.model);r.columns=e.cloumns,r.params={treeCode:r.treeCode,treeName:r.treeName,treeParentCode:r.treeParentCode},Object(a["g"])(r).then((function(t){e.msgSuccess(t.msg),0===t.code&&e.close()}))}else e.msgError("表单校验未通过,请重新检查提交内容")}))},setInfoColumn:function(e){this.info.column=e},getFormPromise:function(e){return new Promise((function(t){e.validate((function(e){t(e)}))}))},close:function(){this.$store.dispatch("tagsView/delView",this.$route),this.$router.push({path:"/system/tools/gen",query:{t:Date.now()}})}},mounted:function(){var e=this,t=this.$refs.dragTable.$el.querySelectorAll(".el-table__body-wrapper > table > tbody")[0];u.a.create(t,{handle:".allowDrag",onEnd:function(t){var l=e.cloumns.splice(t.oldIndex,1)[0];for(var n in e.cloumns.splice(t.newIndex,0,l),e.cloumns)e.cloumns[n].sort=parseInt(n)+1}})}},f=m,p=l("2877"),d=Object(p["a"])(f,n,o,!1,null,null,null);t["default"]=d.exports},ed45:function(e,t,l){"use strict";l.d(t,"e",(function(){return o})),l.d(t,"d",(function(){return a})),l.d(t,"a",(function(){return r})),l.d(t,"g",(function(){return s})),l.d(t,"f",(function(){return i})),l.d(t,"b",(function(){return c})),l.d(t,"c",(function(){return u}));var n=l("b775");function o(e){return Object(n["a"])({url:"/system/config/dict/list",method:"get",params:e})}function a(e){return Object(n["a"])({url:"/system/config/dict/edit?dictId="+e,method:"get"})}function r(e){return Object(n["a"])({url:"/system/config/dict/add",method:"post",data:e})}function s(e){return Object(n["a"])({url:"/system/config/dict/edit",method:"post",data:e})}function i(){return Object(n["a"])({url:"/system/config/dict/optionSelect",method:"get"})}function c(e){return Object(n["a"])({url:"/system/config/dict/delete",method:"delete",data:{dictIds:e}})}function u(e){return Object(n["a"])({url:"/system/dict/type/export",method:"get",params:e})}}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-0b4a9e9a"],{"4b72":function(e,t,l){"use strict";l.d(t,"e",(function(){return o})),l.d(t,"d",(function(){return a})),l.d(t,"b",(function(){return r})),l.d(t,"g",(function(){return s})),l.d(t,"c",(function(){return i})),l.d(t,"f",(function(){return c})),l.d(t,"a",(function(){return u}));var n=l("b775");function o(e){return Object(n["a"])({url:"/system/tools/gen/tableList",method:"get",params:e})}function a(e){return Object(n["a"])({url:"/system/tools/gen/dataList",method:"get",params:e})}function r(e){return Object(n["a"])({url:"/system/tools/gen/columnList?tableId="+e,method:"get"})}function s(e){return Object(n["a"])({url:"/system/tools/gen/editSave",method:"put",data:e})}function i(e){return Object(n["a"])({url:"/system/tools/gen/importTableSave",method:"post",params:e})}function c(e){return Object(n["a"])({url:"/system/tools/gen/preview?tableId="+e,method:"get"})}function u(e){return Object(n["a"])({url:"/system/tools/gen/delete",method:"delete",data:{ids:e}})}},"6a66":function(e,t,l){"use strict";l.r(t);var n=function(){var e=this,t=e.$createElement,l=e._self._c||t;return l("el-form",{ref:"genInfoForm",attrs:{model:e.info,rules:e.rules,"label-width":"150px"}},[l("el-row",[l("el-col",{attrs:{span:12}},[l("el-form-item",{attrs:{prop:"tpl_category"}},[l("span",{attrs:{slot:"label"},slot:"label"},[e._v("生成模板")]),e._v(" "),l("el-select",{model:{value:e.info.tpl_category,callback:function(t){e.$set(e.info,"tpl_category",t)},expression:"info.tpl_category"}},[l("el-option",{attrs:{label:"单表(增删改查)",value:"crud"}}),e._v(" "),l("el-option",{attrs:{label:"树表(增删改查)",value:"tree"}})],1)],1)],1),e._v(" "),l("el-col",{attrs:{span:12}},[l("el-form-item",{attrs:{prop:"package_name"}},[l("span",{attrs:{slot:"label"},slot:"label"},[e._v("\n 生成包路径\n "),l("el-tooltip",{attrs:{content:"生成在哪个java包下,例如 com.ruoyi.system",placement:"top"}},[l("i",{staticClass:"el-icon-question"})])],1),e._v(" "),l("el-input",{model:{value:e.info.package_name,callback:function(t){e.$set(e.info,"package_name",t)},expression:"info.package_name"}})],1)],1),e._v(" "),l("el-col",{attrs:{span:12}},[l("el-form-item",{attrs:{prop:"module_name"}},[l("span",{attrs:{slot:"label"},slot:"label"},[e._v("\n 生成模块名\n "),l("el-tooltip",{attrs:{content:"可理解为子系统名,例如 system",placement:"top"}},[l("i",{staticClass:"el-icon-question"})])],1),e._v(" "),l("el-input",{model:{value:e.info.module_name,callback:function(t){e.$set(e.info,"module_name",t)},expression:"info.module_name"}})],1)],1),e._v(" "),l("el-col",{attrs:{span:12}},[l("el-form-item",{attrs:{prop:"business_name"}},[l("span",{attrs:{slot:"label"},slot:"label"},[e._v("\n 生成业务名\n "),l("el-tooltip",{attrs:{content:"可理解为功能英文名,例如 user",placement:"top"}},[l("i",{staticClass:"el-icon-question"})])],1),e._v(" "),l("el-input",{model:{value:e.info.business_name,callback:function(t){e.$set(e.info,"business_name",t)},expression:"info.business_name"}})],1)],1),e._v(" "),l("el-col",{attrs:{span:12}},[l("el-form-item",{attrs:{prop:"function_name"}},[l("span",{attrs:{slot:"label"},slot:"label"},[e._v("\n 生成功能名\n "),l("el-tooltip",{attrs:{content:"用作类描述,例如 用户",placement:"top"}},[l("i",{staticClass:"el-icon-question"})])],1),e._v(" "),l("el-input",{model:{value:e.info.function_name,callback:function(t){e.$set(e.info,"function_name",t)},expression:"info.function_name"}})],1)],1)],1),e._v(" "),l("el-row",{directives:[{name:"show",rawName:"v-show",value:"tree"==e.info.tpl_category,expression:"info.tpl_category == 'tree'"}]},[l("h4",{staticClass:"form-header"},[e._v("其他信息")]),e._v(" "),l("el-col",{attrs:{span:12}},[l("el-form-item",[l("span",{attrs:{slot:"label"},slot:"label"},[e._v("\n 树编码字段\n "),l("el-tooltip",{attrs:{content:"树显示的编码字段名, 如:dept_id",placement:"top"}},[l("i",{staticClass:"el-icon-question"})])],1),e._v(" "),l("el-select",{attrs:{placeholder:"请选择"},model:{value:e.info.tree_code,callback:function(t){e.$set(e.info,"tree_code",t)},expression:"info.tree_code"}},e._l(e.info.columns,(function(e){return l("el-option",{key:e.column_name,attrs:{label:e.column_name+":"+e.column_comment,value:e.column_name}})})),1)],1)],1),e._v(" "),l("el-col",{attrs:{span:12}},[l("el-form-item",[l("span",{attrs:{slot:"label"},slot:"label"},[e._v("\n 树父编码字段\n "),l("el-tooltip",{attrs:{content:"树显示的父编码字段名, 如:parent_Id",placement:"top"}},[l("i",{staticClass:"el-icon-question"})])],1),e._v(" "),l("el-select",{attrs:{placeholder:"请选择"},model:{value:e.info.tree_parent_code,callback:function(t){e.$set(e.info,"tree_parent_code",t)},expression:"info.tree_parent_code"}},e._l(e.info.columns,(function(e){return l("el-option",{key:e.column_name,attrs:{label:e.column_name+":"+e.column_comment,value:e.column_name}})})),1)],1)],1),e._v(" "),l("el-col",{attrs:{span:12}},[l("el-form-item",[l("span",{attrs:{slot:"label"},slot:"label"},[e._v("\n 树名称字段\n "),l("el-tooltip",{attrs:{content:"树节点的显示名称字段名, 如:dept_name",placement:"top"}},[l("i",{staticClass:"el-icon-question"})])],1),e._v(" "),l("el-select",{attrs:{placeholder:"请选择"},model:{value:e.info.tree_name,callback:function(t){e.$set(e.info,"tree_name",t)},expression:"info.tree_name"}},e._l(e.info.columns,(function(e){return l("el-option",{key:e.column_name,attrs:{label:e.column_name+":"+e.column_comment,value:e.column_name}})})),1)],1)],1)],1)],1)},o=[],a={name:"BasicInfoForm",props:{info:{type:Object,default:null}},data:function(){return{rules:{tpl_category:[{required:!0,message:"请选择生成模板",trigger:"blur"}],package_name:[{required:!0,message:"请输入生成包路径",trigger:"blur"}],module_name:[{required:!0,message:"请输入生成模块名",trigger:"blur"}],business_name:[{required:!0,message:"请输入生成业务名",trigger:"blur"}],function_name:[{required:!0,message:"请输入生成功能名",trigger:"blur"}]}}},beforeCreate:function(){}},r=a,s=l("cba8"),i=Object(s["a"])(r,n,o,!1,null,null,null);t["default"]=i.exports},"6ff4":function(e,t,l){"use strict";l.r(t);var n=function(){var e=this,t=e.$createElement,l=e._self._c||t;return l("el-form",{ref:"basicInfoForm",attrs:{model:e.info,rules:e.rules,"label-width":"150px"}},[l("el-row",[l("el-col",{attrs:{span:12}},[l("el-form-item",{attrs:{label:"表名称",prop:"table_name"}},[l("el-input",{attrs:{placeholder:"请输入仓库名称"},model:{value:e.info.table_name,callback:function(t){e.$set(e.info,"table_name",t)},expression:"info.table_name"}})],1)],1),e._v(" "),l("el-col",{attrs:{span:12}},[l("el-form-item",{attrs:{label:"表描述",prop:"table_comment"}},[l("el-input",{attrs:{placeholder:"请输入"},model:{value:e.info.table_comment,callback:function(t){e.$set(e.info,"table_comment",t)},expression:"info.table_comment"}})],1)],1),e._v(" "),l("el-col",{attrs:{span:12}},[l("el-form-item",{attrs:{label:"实体类名称",prop:"class_name"}},[l("el-input",{attrs:{placeholder:"请输入"},model:{value:e.info.class_name,callback:function(t){e.$set(e.info,"class_name",t)},expression:"info.class_name"}})],1)],1),e._v(" "),l("el-col",{attrs:{span:12}},[l("el-form-item",{attrs:{label:"作者",prop:"function_author"}},[l("el-input",{attrs:{placeholder:"请输入"},model:{value:e.info.function_author,callback:function(t){e.$set(e.info,"function_author",t)},expression:"info.function_author"}})],1)],1),e._v(" "),l("el-col",{attrs:{span:24}},[l("el-form-item",{attrs:{label:"备注",prop:"remark"}},[l("el-input",{attrs:{type:"textarea",rows:3},model:{value:e.info.remark,callback:function(t){e.$set(e.info,"remark",t)},expression:"info.remark"}})],1)],1)],1)],1)},o=[],a={name:"BasicInfoForm",props:{info:{type:Object,default:null}},data:function(){return{rules:{tableName:[{required:!0,message:"请输入表名称",trigger:"blur"}],tableComment:[{required:!0,message:"请输入表描述",trigger:"blur"}],className:[{required:!0,message:"请输入实体类名称",trigger:"blur"}],functionAuthor:[{required:!0,message:"请输入作者",trigger:"blur"}]}}}},r=a,s=l("cba8"),i=Object(s["a"])(r,n,o,!1,null,null,null);t["default"]=i.exports},c6bd:function(e,t,l){"use strict";l.r(t);var n=function(){var e=this,t=e.$createElement,l=e._self._c||t;return l("el-card",[l("el-tabs",{model:{value:e.activeName,callback:function(t){e.activeName=t},expression:"activeName"}},[l("el-tab-pane",{attrs:{label:"基本信息",name:"basic"}},[l("basic-info-form",{ref:"basicInfo",attrs:{info:e.info}})],1),e._v(" "),l("el-tab-pane",{attrs:{label:"字段信息",name:"cloum"}},[l("el-table",{ref:"dragTable",attrs:{data:e.cloumns,"row-key":"columnId","max-height":e.tableHeight}},[l("el-table-column",{attrs:{label:"序号",type:"index","min-width":"5%","class-name":"allowDrag"}}),e._v(" "),l("el-table-column",{attrs:{label:"字段列名",prop:"column_name","min-width":"10%","show-overflow-tooltip":!0}}),e._v(" "),l("el-table-column",{attrs:{label:"字段描述","min-width":"10%"},scopedSlots:e._u([{key:"default",fn:function(t){return[l("el-input",{model:{value:t.row.column_comment,callback:function(l){e.$set(t.row,"column_comment",l)},expression:"scope.row.column_comment"}})]}}])}),e._v(" "),l("el-table-column",{attrs:{label:"物理类型",prop:"column_type","min-width":"10%","show-overflow-tooltip":!0}}),e._v(" "),l("el-table-column",{attrs:{label:"go类型","min-width":"11%"},scopedSlots:e._u([{key:"default",fn:function(t){return[l("el-select",{model:{value:t.row.go_type,callback:function(l){e.$set(t.row,"go_type",l)},expression:"scope.row.go_type"}},[l("el-option",{attrs:{label:"int",value:"int"}}),e._v(" "),l("el-option",{attrs:{label:"uint",value:"uint"}}),e._v(" "),l("el-option",{attrs:{label:"int64",value:"int64"}}),e._v(" "),l("el-option",{attrs:{label:"uint64",value:"uint64"}}),e._v(" "),l("el-option",{attrs:{label:"float64",value:"float64"}}),e._v(" "),l("el-option",{attrs:{label:"string",value:"string"}}),e._v(" "),l("el-option",{attrs:{label:"Time",value:"Time"}}),e._v(" "),l("el-option",{attrs:{label:"byte",value:"byte"}})],1)]}}])}),e._v(" "),l("el-table-column",{attrs:{label:"go属性","min-width":"10%"},scopedSlots:e._u([{key:"default",fn:function(t){return[l("el-input",{model:{value:t.row.go_field,callback:function(l){e.$set(t.row,"go_field",l)},expression:"scope.row.go_field"}})]}}])}),e._v(" "),l("el-table-column",{attrs:{label:"插入","min-width":"5%"},scopedSlots:e._u([{key:"default",fn:function(t){return[l("el-checkbox",{attrs:{"true-label":"1"},model:{value:t.row.is_insert,callback:function(l){e.$set(t.row,"is_insert",l)},expression:"scope.row.is_insert"}})]}}])}),e._v(" "),l("el-table-column",{attrs:{label:"编辑","min-width":"5%"},scopedSlots:e._u([{key:"default",fn:function(t){return[l("el-checkbox",{attrs:{"true-label":"1"},model:{value:t.row.is_edit,callback:function(l){e.$set(t.row,"is_edit",l)},expression:"scope.row.is_edit"}})]}}])}),e._v(" "),l("el-table-column",{attrs:{label:"列表","min-width":"5%"},scopedSlots:e._u([{key:"default",fn:function(t){return[l("el-checkbox",{attrs:{"true-label":"1"},model:{value:t.row.is_list,callback:function(l){e.$set(t.row,"is_list",l)},expression:"scope.row.is_list"}})]}}])}),e._v(" "),l("el-table-column",{attrs:{label:"查询","min-width":"5%"},scopedSlots:e._u([{key:"default",fn:function(t){return[l("el-checkbox",{attrs:{"true-label":"1"},model:{value:t.row.is_query,callback:function(l){e.$set(t.row,"is_query",l)},expression:"scope.row.is_query"}})]}}])}),e._v(" "),l("el-table-column",{attrs:{label:"查询方式","min-width":"10%"},scopedSlots:e._u([{key:"default",fn:function(t){return[l("el-select",{model:{value:t.row.query_type,callback:function(l){e.$set(t.row,"query_type",l)},expression:"scope.row.query_type"}},[l("el-option",{attrs:{label:"=",value:"EQ"}}),e._v(" "),l("el-option",{attrs:{label:"!=",value:"NE"}}),e._v(" "),l("el-option",{attrs:{label:">",value:"GT"}}),e._v(" "),l("el-option",{attrs:{label:">=",value:"GTE"}}),e._v(" "),l("el-option",{attrs:{label:"<",value:"LT"}}),e._v(" "),l("el-option",{attrs:{label:"<=",value:"LTE"}}),e._v(" "),l("el-option",{attrs:{label:"LIKE",value:"LIKE"}}),e._v(" "),l("el-option",{attrs:{label:"BETWEEN",value:"BETWEEN"}})],1)]}}])}),e._v(" "),l("el-table-column",{attrs:{label:"必填","min-width":"5%"},scopedSlots:e._u([{key:"default",fn:function(t){return[l("el-checkbox",{attrs:{"true-label":"1"},model:{value:t.row.is_required,callback:function(l){e.$set(t.row,"is_required",l)},expression:"scope.row.is_required"}})]}}])}),e._v(" "),l("el-table-column",{attrs:{label:"显示类型","min-width":"12%"},scopedSlots:e._u([{key:"default",fn:function(t){return[l("el-select",{model:{value:t.row.html_type,callback:function(l){e.$set(t.row,"html_type",l)},expression:"scope.row.html_type"}},[l("el-option",{attrs:{label:"文本框",value:"input"}}),e._v(" "),l("el-option",{attrs:{label:"文本域",value:"textarea"}}),e._v(" "),l("el-option",{attrs:{label:"下拉框",value:"select"}}),e._v(" "),l("el-option",{attrs:{label:"单选框",value:"radio"}}),e._v(" "),l("el-option",{attrs:{label:"复选框",value:"checkbox"}}),e._v(" "),l("el-option",{attrs:{label:"日期控件",value:"datetime"}})],1)]}}])}),e._v(" "),l("el-table-column",{attrs:{label:"字典类型","min-width":"12%"},scopedSlots:e._u([{key:"default",fn:function(t){return[l("el-select",{attrs:{clearable:"",filterable:"",placeholder:"请选择"},model:{value:t.row.dict_type,callback:function(l){e.$set(t.row,"dict_type",l)},expression:"scope.row.dict_type"}},e._l(e.dictOptions,(function(t){return l("el-option",{key:t.dict_type,attrs:{label:t.dict_name,value:t.dict_type}},[l("span",{staticStyle:{float:"left"}},[e._v(e._s(t.dict_name))]),e._v(" "),l("span",{staticStyle:{float:"right",color:"#8492a6","font-size":"13px"}},[e._v(e._s(t.dict_type))])])})),1)]}}])})],1)],1),e._v(" "),l("el-tab-pane",{attrs:{label:"生成信息",name:"genInfo"}},[l("gen-info-form",{ref:"genInfo",attrs:{info:e.info}})],1)],1),e._v(" "),l("el-form",{attrs:{"label-width":"100px"}},[l("el-form-item",{staticStyle:{"text-align":"center","margin-left":"-100px","margin-top":"10px"}},[l("el-button",{attrs:{type:"primary"},on:{click:function(t){return e.submitForm()}}},[e._v("提交")]),e._v(" "),l("el-button",{on:{click:function(t){return e.close()}}},[e._v("返回")])],1)],1)],1)},o=[],a=(l("1bc7"),l("0c84"),l("4b72")),r=l("ed45"),s=l("6ff4"),i=l("6a66"),c=l("e7e2"),u=l.n(c),m={name:"GenEdit",components:{basicInfoForm:s["default"],genInfoForm:i["default"]},data:function(){return{activeName:"cloum",tableHeight:document.documentElement.scrollHeight-245+"px",cloumns:[],dictOptions:[],info:{}}},beforeCreate:function(){var e=this,t=this.$route.query.tableId;t&&(Object(a["b"])(t).then((function(t){e.cloumns=t.data.rows,e.info=t.data.info,e.info.columns=e.cloumns})),Object(r["f"])().then((function(t){e.dictOptions=t.data})))},methods:{submitForm:function(){var e=this,t=this.$refs.basicInfo.$refs.basicInfoForm,l=this.$refs.genInfo.$refs.genInfoForm;Promise.all([t,l].map(this.getFormPromise)).then((function(n){var o=n.every((function(e){return!!e}));if(o){var r=Object.assign({},t.model,l.model);r.columns=e.cloumns,r.params={treeCode:r.treeCode,treeName:r.treeName,treeParentCode:r.treeParentCode},Object(a["g"])(r).then((function(t){e.msgSuccess(t.msg),0===t.code&&e.close()}))}else e.msgError("表单校验未通过,请重新检查提交内容")}))},setInfoColumn:function(e){this.info.column=e},getFormPromise:function(e){return new Promise((function(t){e.validate((function(e){t(e)}))}))},close:function(){this.$store.dispatch("tagsView/delView",this.$route),this.$router.push({path:"/system/tools/gen",query:{t:Date.now()}})}},mounted:function(){var e=this,t=this.$refs.dragTable.$el.querySelectorAll(".el-table__body-wrapper > table > tbody")[0];u.a.create(t,{handle:".allowDrag",onEnd:function(t){var l=e.cloumns.splice(t.oldIndex,1)[0];for(var n in e.cloumns.splice(t.newIndex,0,l),e.cloumns)e.cloumns[n].sort=parseInt(n)+1}})}},f=m,p=l("cba8"),d=Object(p["a"])(f,n,o,!1,null,null,null);t["default"]=d.exports},ed45:function(e,t,l){"use strict";l.d(t,"e",(function(){return o})),l.d(t,"d",(function(){return a})),l.d(t,"a",(function(){return r})),l.d(t,"g",(function(){return s})),l.d(t,"f",(function(){return i})),l.d(t,"b",(function(){return c})),l.d(t,"c",(function(){return u}));var n=l("b775");function o(e){return Object(n["a"])({url:"/system/config/dict/list",method:"get",params:e})}function a(e){return Object(n["a"])({url:"/system/config/dict/edit?dictId="+e,method:"get"})}function r(e){return Object(n["a"])({url:"/system/config/dict/add",method:"post",data:e})}function s(e){return Object(n["a"])({url:"/system/config/dict/edit",method:"post",data:e})}function i(){return Object(n["a"])({url:"/system/config/dict/optionSelect",method:"get"})}function c(e){return Object(n["a"])({url:"/system/config/dict/delete",method:"delete",data:{dictIds:e}})}function u(e){return Object(n["a"])({url:"/system/dict/type/export",method:"get",params:e})}}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-f18f73fa"],{"5a97":function(t,e,n){"use strict";n.d(e,"e",(function(){return r})),n.d(e,"h",(function(){return o})),n.d(e,"c",(function(){return s})),n.d(e,"d",(function(){return c})),n.d(e,"g",(function(){return u})),n.d(e,"f",(function(){return i})),n.d(e,"a",(function(){return l})),n.d(e,"b",(function(){return d}));var a=n("b775");function r(t){return Object(a["a"])({url:"/system/goodsNew/list",method:"get",params:t})}function o(t){return Object(a["a"])({url:"/system/goodsNew/shelvesStatus",method:"post",data:t})}function s(t){return Object(a["a"])({url:"/system/goodsNew/goodsStatus",method:"post",data:t})}function c(t){return Object(a["a"])({url:"/system/goodsNew/info",method:"get",params:t})}function u(t){return Object(a["a"])({url:"/system/goodsNew/businessList",method:"get",params:t})}function i(t){return Object(a["a"])({url:"/system/goodsNew/collect",method:"post",data:t})}function l(t){return Object(a["a"])({url:"/system/goodsNew/cancelOnsale",method:"post",data:t})}function d(t){return Object(a["a"])({url:"/system/goodsNew/cancelOnsaleAll",method:"post",data:t})}},"6b1f":function(t,e,n){"use strict";n.d(e,"g",(function(){return r})),n.d(e,"i",(function(){return o})),n.d(e,"b",(function(){return s})),n.d(e,"d",(function(){return c})),n.d(e,"a",(function(){return u})),n.d(e,"l",(function(){return i})),n.d(e,"j",(function(){return l})),n.d(e,"c",(function(){return d})),n.d(e,"m",(function(){return m})),n.d(e,"e",(function(){return f})),n.d(e,"h",(function(){return h})),n.d(e,"f",(function(){return p})),n.d(e,"k",(function(){return g}));var a=n("b775");function r(t){return Object(a["a"])({url:"/system/index/getInfo",method:"get",params:t})}function o(t){return Object(a["a"])({url:"/local/getOrganization",method:"get",params:t})}function s(t){return Object(a["a"])({url:"/local/organization",method:"post",data:t})}function c(t){return Object(a["a"])({url:"/local/shopbrand",method:"get",params:t})}function u(t){return Object(a["a"])({url:"/local/brands",method:"post",data:t})}function i(t){return Object(a["a"])({url:"/local/upbrands",method:"post",data:t})}function l(t){return Object(a["a"])({url:"/local/getShopInfo",method:"get",params:t})}function d(t){return Object(a["a"])({url:"/local/addShopInfo",method:"post",data:t})}function m(t){return Object(a["a"])({url:"/system/goodsNew/uploadImage",method:"post",data:t})}function f(t){return Object(a["a"])({url:"/local/cate",method:"get",params:t})}function h(t){return Object(a["a"])({url:"/local/check/businessLicense",method:"get",params:t})}function p(t){return Object(a["a"])({url:"/local/check/idCard",method:"get",params:t})}function g(t){return Object(a["a"])({url:"/local/qualification/list",method:"get",params:t})}},"9c36":function(t,e,n){},e3b2:function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"app-container"},[n("el-card",{staticClass:"box-card"},[n("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[t._v("商品导入")]),t._v(" "),n("h3",{staticClass:"cton_h3"},[t._v("剩余次数:"+t._s(t.collect_num)+" / 1000次")]),t._v(" "),n("div",{staticClass:"cton_text"},[n("p",[t._v("功能介绍:")]),t._v(" "),n("p",[t._v("\n 商品导入是为了商家快速、方便地将其它平台上已有的商品,一键导入到您的云仓平台,不再用手动输入编写商品信息\n ")]),t._v(" "),n("p",[t._v("使用方法:")]),t._v(" "),n("p",[t._v("\n 复制其它电商平台的商品链接,粘贴至商品链接输入框内,为该商品选择对应的商品分类,选择完成后点击立即获取按钮即可\n ")]),t._v(" "),n("p",[t._v("示例:")]),t._v(" "),n("p",[t._v("京东商品链接如:https://item.jd.com/10684560542.html")]),t._v(" "),n("p",[t._v("温馨提示:")]),t._v(" "),n("p",[t._v("商品在获取过程中,请不要进行其它操作")]),t._v(" "),n("p",[t._v("\n 商品抓取后,默认放入到下架商品中,请手动修改商品相关信息,再提交申请上架\n ")]),t._v(" "),n("p",[t._v("请确保不要将多个平台的商品链接混合输入")]),t._v(" "),n("p",[t._v("每个用户默认拥有1000次商品导入的机会,请慎重使用")])]),t._v(" "),n("el-form",{ref:"form",attrs:{model:t.form,"label-width":"180px"}},[n("el-form-item",{attrs:{label:"商品链接:"}},[n("el-input",{staticStyle:{width:"700px"},attrs:{type:"textarea",autosize:{minRows:4,maxRows:8},placeholder:"请输入其它平台商品的链接,单次最多允许输入10条链接,以英文逗号隔开"},model:{value:t.form.desc,callback:function(e){t.$set(t.form,"desc",e)},expression:"form.desc"}})],1),t._v(" "),n("el-form-item",{attrs:{label:"商品分类:"}},[t.el_valuestatus?n("el-cascader",{ref:"cascaderDom",staticStyle:{width:"350px"},attrs:{props:t.props,options:t.options,placeholder:"请选择"},on:{change:t.elvalueclick},model:{value:t.el_value,callback:function(e){t.el_value=e},expression:"el_value"}}):t._e()],1),t._v(" "),n("el-form-item",[n("el-button",{attrs:{type:"primary"},on:{click:t.onSubmit}},[t._v("立即导入")])],1)],1)],1)],1)},r=[],o=(n("6b54"),n("c5f6"),n("28a5"),n("5c96"),n("6b1f")),s=n("5a97"),c=(n("ed08"),{name:"freight",data:function(){return{collect_num:0,form:{desc:""},el_valuestatus:!0,el_value:[],options:[],props:{checkStrictly:!1,expandTrigger:"click",emitPath:!0,value:"id",label:"label"}}},components:{},created:function(){this.getData(),this.info()},watch:{},methods:{info:function(){var t=this;Object(o["j"])().then((function(e){1==e.code&&(t.collect_num=e.data.collect_num)}))},onSubmit:function(){var t=this;if(this.collect_num<=0)this.$message({type:"warning",message:"您好,您的导入次数已用完,请您联系我们的工作人员操作充值"});else{var e;if(!this.form.desc)return this.$message.error("请填写需要导入的商品链接!"),!1;if(e=this.form.desc.split(","),!(e.length>0&&e.length<=10))return e.length>10?(this.$message({message:"您单次输入的链接数量超过10条!",type:"warning"}),!1):(this.$message.error("请填写需要导入的商品链接!"),!1);if(Number(e.length)>Number(this.collect_num))this.$message({type:"warning",message:"您好,准备导入的商品条数过多,当前剩余次数不足,请重新输入"});else{if(3!=this.el_value.length)return this.$message.error("请选择商品分类!"),!1;var n={category_id:this.el_value[2],third_url:e};Object(s["f"])(n).then((function(n){var a=0,r=Number(e.length),o="";1===n.code?(1===r?1===Number(n.data)?t.$message({type:"success",message:"您好,商品已导入成功,请在仓库中进行编辑后申请上架"}):t.$message({type:"error",message:"您好,商品导入失败,请您重新导入"}):r>1&&(a=Number(n.data),o="您好,一共导入"+r+"条商品,"+a+"条导入成功,请在仓库中进行编辑后申请上架",t.$message({type:"warning",message:o})),t.el_value=[],t.$refs.cascaderDom.$refs.panel.activePath=[],t.form.desc=""):(o=n.message?n.message:"导入失败",t.$message({type:"error",message:o})),t.info()}))}}},add:function(t,e){var n,a,r,o;try{n=t.toString().split(".")[1].length,a=e.toString().split(".")[1].length}catch(s){n=0,a=0}return r=Math.pow(10,Math.max(n,a)),o=(t*r+e*r)/r,o=o.toFixed(2),o},minus:function(t,e){return this.add(t,-e)},elvalueclick:function(){},getData:function(){var t=this;Object(s["g"])().then((function(e){1==e.code&&(t.options=e.data)}))}}}),u=c,i=(n("fe8e"),n("2877")),l=Object(i["a"])(u,a,r,!1,null,"9269e492",null);e["default"]=l.exports},fe8e:function(t,e,n){"use strict";n("9c36")}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-1d571893"],{"5a97":function(t,e,n){"use strict";n.d(e,"e",(function(){return r})),n.d(e,"h",(function(){return o})),n.d(e,"c",(function(){return s})),n.d(e,"d",(function(){return c})),n.d(e,"g",(function(){return u})),n.d(e,"f",(function(){return i})),n.d(e,"a",(function(){return l})),n.d(e,"b",(function(){return d}));var a=n("b775");function r(t){return Object(a["a"])({url:"/system/goodsNew/list",method:"get",params:t})}function o(t){return Object(a["a"])({url:"/system/goodsNew/shelvesStatus",method:"post",data:t})}function s(t){return Object(a["a"])({url:"/system/goodsNew/goodsStatus",method:"post",data:t})}function c(t){return Object(a["a"])({url:"/system/goodsNew/info",method:"get",params:t})}function u(t){return Object(a["a"])({url:"/system/goodsNew/businessList",method:"get",params:t})}function i(t){return Object(a["a"])({url:"/system/goodsNew/collect",method:"post",data:t})}function l(t){return Object(a["a"])({url:"/system/goodsNew/cancelOnsale",method:"post",data:t})}function d(t){return Object(a["a"])({url:"/system/goodsNew/cancelOnsaleAll",method:"post",data:t})}},"6b1f":function(t,e,n){"use strict";n.d(e,"g",(function(){return r})),n.d(e,"i",(function(){return o})),n.d(e,"b",(function(){return s})),n.d(e,"d",(function(){return c})),n.d(e,"a",(function(){return u})),n.d(e,"l",(function(){return i})),n.d(e,"j",(function(){return l})),n.d(e,"c",(function(){return d})),n.d(e,"m",(function(){return m})),n.d(e,"e",(function(){return f})),n.d(e,"h",(function(){return h})),n.d(e,"f",(function(){return p})),n.d(e,"k",(function(){return g}));var a=n("b775");function r(t){return Object(a["a"])({url:"/system/index/getInfo",method:"get",params:t})}function o(t){return Object(a["a"])({url:"/local/getOrganization",method:"get",params:t})}function s(t){return Object(a["a"])({url:"/local/organization",method:"post",data:t})}function c(t){return Object(a["a"])({url:"/local/shopbrand",method:"get",params:t})}function u(t){return Object(a["a"])({url:"/local/brands",method:"post",data:t})}function i(t){return Object(a["a"])({url:"/local/upbrands",method:"post",data:t})}function l(t){return Object(a["a"])({url:"/local/getShopInfo",method:"get",params:t})}function d(t){return Object(a["a"])({url:"/local/addShopInfo",method:"post",data:t})}function m(t){return Object(a["a"])({url:"/system/goodsNew/uploadImage",method:"post",data:t})}function f(t){return Object(a["a"])({url:"/local/cate",method:"get",params:t})}function h(t){return Object(a["a"])({url:"/local/check/businessLicense",method:"get",params:t})}function p(t){return Object(a["a"])({url:"/local/check/idCard",method:"get",params:t})}function g(t){return Object(a["a"])({url:"/local/qualification/list",method:"get",params:t})}},e3b2:function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"app-container"},[n("el-card",{staticClass:"box-card"},[n("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[t._v("商品导入")]),t._v(" "),n("h3",{staticClass:"cton_h3"},[t._v("剩余次数:"+t._s(t.collect_num)+" / 1000次")]),t._v(" "),n("div",{staticClass:"cton_text"},[n("p",[t._v("功能介绍:")]),t._v(" "),n("p",[t._v("\n 商品导入是为了商家快速、方便地将其它平台上已有的商品,一键导入到您的云仓平台,不再用手动输入编写商品信息\n ")]),t._v(" "),n("p",[t._v("使用方法:")]),t._v(" "),n("p",[t._v("\n 复制其它电商平台的商品链接,粘贴至商品链接输入框内,为该商品选择对应的商品分类,选择完成后点击立即获取按钮即可\n ")]),t._v(" "),n("p",[t._v("示例:")]),t._v(" "),n("p",[t._v("京东商品链接如:https://item.jd.com/10684560542.html")]),t._v(" "),n("p",[t._v("温馨提示:")]),t._v(" "),n("p",[t._v("商品在获取过程中,请不要进行其它操作")]),t._v(" "),n("p",[t._v("\n 商品抓取后,默认放入到下架商品中,请手动修改商品相关信息,再提交申请上架\n ")]),t._v(" "),n("p",[t._v("请确保不要将多个平台的商品链接混合输入")]),t._v(" "),n("p",[t._v("每个用户默认拥有1000次商品导入的机会,请慎重使用")])]),t._v(" "),n("el-form",{ref:"form",attrs:{model:t.form,"label-width":"180px"}},[n("el-form-item",{attrs:{label:"商品链接:"}},[n("el-input",{staticStyle:{width:"700px"},attrs:{type:"textarea",autosize:{minRows:4,maxRows:8},placeholder:"请输入其它平台商品的链接,单次最多允许输入10条链接,以英文逗号隔开"},model:{value:t.form.desc,callback:function(e){t.$set(t.form,"desc",e)},expression:"form.desc"}})],1),t._v(" "),n("el-form-item",{attrs:{label:"商品分类:"}},[t.el_valuestatus?n("el-cascader",{ref:"cascaderDom",staticStyle:{width:"350px"},attrs:{props:t.props,options:t.options,placeholder:"请选择"},on:{change:t.elvalueclick},model:{value:t.el_value,callback:function(e){t.el_value=e},expression:"el_value"}}):t._e()],1),t._v(" "),n("el-form-item",[n("el-button",{attrs:{type:"primary"},on:{click:t.onSubmit}},[t._v("立即导入")])],1)],1)],1)],1)},r=[],o=(n("4057"),n("e680"),n("fc02"),n("2ca7"),n("6b1f")),s=n("5a97"),c=(n("ed08"),{name:"freight",data:function(){return{collect_num:0,form:{desc:""},el_valuestatus:!0,el_value:[],options:[],props:{checkStrictly:!1,expandTrigger:"click",emitPath:!0,value:"id",label:"label"}}},components:{},created:function(){this.getData(),this.info()},watch:{},methods:{info:function(){var t=this;Object(o["j"])().then((function(e){1==e.code&&(t.collect_num=e.data.collect_num)}))},onSubmit:function(){var t=this;if(this.collect_num<=0)this.$message({type:"warning",message:"您好,您的导入次数已用完,请您联系我们的工作人员操作充值"});else{var e;if(!this.form.desc)return this.$message.error("请填写需要导入的商品链接!"),!1;if(e=this.form.desc.split(","),!(e.length>0&&e.length<=10))return e.length>10?(this.$message({message:"您单次输入的链接数量超过10条!",type:"warning"}),!1):(this.$message.error("请填写需要导入的商品链接!"),!1);if(Number(e.length)>Number(this.collect_num))this.$message({type:"warning",message:"您好,准备导入的商品条数过多,当前剩余次数不足,请重新输入"});else{if(3!=this.el_value.length)return this.$message.error("请选择商品分类!"),!1;var n={category_id:this.el_value[2],third_url:e};Object(s["f"])(n).then((function(n){var a=0,r=Number(e.length),o="";1===n.code?(1===r?1===Number(n.data)?t.$message({type:"success",message:"您好,商品已导入成功,请在仓库中进行编辑后申请上架"}):t.$message({type:"error",message:"您好,商品导入失败,请您重新导入"}):r>1&&(a=Number(n.data),o="您好,一共导入"+r+"条商品,"+a+"条导入成功,请在仓库中进行编辑后申请上架",t.$message({type:"warning",message:o})),t.el_value=[],t.$refs.cascaderDom.$refs.panel.activePath=[],t.form.desc=""):(o=n.message?n.message:"导入失败",t.$message({type:"error",message:o})),t.info()}))}}},add:function(t,e){var n,a,r,o;try{n=t.toString().split(".")[1].length,a=e.toString().split(".")[1].length}catch(s){n=0,a=0}return r=Math.pow(10,Math.max(n,a)),o=(t*r+e*r)/r,o=o.toFixed(2),o},minus:function(t,e){return this.add(t,-e)},elvalueclick:function(){},getData:function(){var t=this;Object(s["g"])().then((function(e){1==e.code&&(t.options=e.data)}))}}}),u=c,i=(n("fe8e"),n("cba8")),l=Object(i["a"])(u,a,r,!1,null,"9269e492",null);e["default"]=l.exports},eaab:function(t,e,n){},fe8e:function(t,e,n){"use strict";n("eaab")}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-242f810e"],{"4c56":function(v,_,t){},"85ee":function(v,_,t){v.exports=t.p+"static/img/logo_white_sm.9191b2e1.png"},a026:function(v,_,t){"use strict";t("4c56")},a291:function(v,_,t){"use strict";t.r(_);var n=function(){var v=this,_=v.$createElement,t=v._self._c||_;return t("div",{staticClass:"entry"},[v._m(0),v._v(" "),t("el-card",{staticClass:"box-card"},[t("div",{staticClass:"clearfix steps",attrs:{slot:"header"},slot:"header"},[t("el-steps",{attrs:{active:0,"align-center":"","finish-status":"success"}},[t("el-step",{attrs:{title:"填写主体信息"}}),v._v(" "),t("el-step",{attrs:{title:"填写品牌信息"}}),v._v(" "),t("el-step",{attrs:{title:"填写店铺信息"}}),v._v(" "),t("el-step",{attrs:{title:"提交入驻审核"}})],1)],1),v._v(" "),t("div",{staticClass:"entry-main"},[t("div",{staticClass:"main-text"},[t("h2",[v._v("胜天半子供应链商家入驻协议书")]),v._v(" "),t("p",[v._v("\n 甲方:北京胜天半子科技有限公司(以下简称“甲方或者平台”)"),t("br")]),v._v(" "),t("p",[v._v("乙方:(以下简称“乙方”)")]),v._v(" "),t("p",[v._v("\n 甲乙双方本着互惠互利的双赢策略,根据甲方商城入驻条件,乙方申请入驻甲方商城,并完全接受甲方的规范,本着自愿、平等、公正原则,甲乙双方在协商一致的基础上达成如下协议:\n ")]),v._v(" "),t("p",[v._v("\n 乙方可在平台上进行商铺发布及管理、推广商品、达成交易意向。\n ")]),v._v(" "),t("h4",[v._v("一、入驻商家基本条件")]),v._v(" "),t("p",[v._v("\n 1、有良好的合作意愿,能提供优质的商品,保证合作的顺利进行,并保证提供良好的售后服务;\n ")]),v._v(" "),t("p",[v._v("\n 2、 乙方申请成为平台入驻商家,应该满足以下条件:\n (1) 乙方已依照中华人民共和国法律注册并领取合法有效的营业执照及其他经营许可;\n (2) 乙方申请经营的商品或服务合法,资质齐全;\n (3)乙方同意本协议及平台相关规则并同意缴纳平台履约保证金1万-5万具体见附件\n "),t("a",{staticClass:"download-Template-btn",attrs:{target:"_blank",href:v.downTemplatehttp}},[v._v("《平台类目费率收取标准》")]),v._v("\n 。 (4) 乙方须保证所提交予乙方的所有材料真实、准确、合法、有效。如相关材料有变更或更新时应及时通知甲方,若导致乙方不符合本协议所规定入驻条件的,甲方有权单方全部或部分限制乙方经营,直至终止本协议。\n ")]),v._v(" "),t("p",[v._v("\n 3、乙方应在签订本协议时向甲方提供(经甲方认可的)包括但不限于以下证明材料复印件:\n (1)营业执照(包括个体户营业执照)、税务登记证;\n (2)拥有注册商标或者拥有正规的品牌授权书。\n (3)商品质检报告、报关单、检验检疫证书、产品来源地证明等。\n ")]),v._v(" "),t("p",[v._v("\n 4、乙方支持并同意所入驻商品满足甲方一件代发的条件。\n ")]),v._v(" "),t("p",[v._v("\n 5、平台相关费用及货款结算周期:\n (1)平台服务费:按照乙方确定的平台供货价根据商品不同类目收取1%-10%平台服务费,具体类目收费标准见附件《平台类目费率收取标准》。\n (2) 货款结算手续费:按照实际结算货款收取0.1%。\n (3) 货款结算周期:自乙方发货后15天。\n (4)如出现因快递物流等因素而造成的商品问题,则以快递物流赔偿协议界定责任人。\n ")]),v._v(" "),t("h4",[v._v("二、平台入驻开通流程")]),v._v(" "),t("p",[v._v("1、乙方注册甲方平台账号;")]),v._v(" "),t("p",[v._v("2、乙方阅读并在线签署平台入驻协议;")]),v._v(" "),t("p",[v._v("3、乙方填写上传公司相关资质和产品资质并经甲方审核确认")]),v._v(" "),t("p",[v._v("4、甲方审核通过后,乙方即可上传商品信息及确定价格体系;")]),v._v(" "),t("p",[v._v("5、甲方审核通过即上线运营;")]),v._v(" "),t("h4",[v._v("三、乙方的声明和保证")]),v._v(" "),t("p",[v._v("1、乙方须在接到订单之后的48小时内及时发货。乙方应自行解决因商品质量及运输等问题引起的客户投诉及索赔事件,并承担由此产生的经济损失和涉及的其他一切法律后果。")]),v._v(" "),t("p",[v._v("2、为方便乙方线上产品的销售,乙方需自行向甲方提供品牌线上销售产品的相关图片、文字描述、必要的商品技术说明、产品培训等信息资料,该资料乙方应当保证真实、准确、有效,且根据甲方需求准备其他的相应电子或者纸质资料。")]),v._v(" "),t("p",[v._v("3、乙方所供商品须为具备市场价格优势的来源于正规渠道的原装正品,同时具备相应资质、质检、原产地等合法证明材料。若在销售中出现商品质量、伪劣、次货等问题损害消费者权益,乙方承诺假一赔十,因产品质量问题产生的一切法律责任由乙方自行承担。")]),v._v(" "),t("p",[v._v("4、乙方在接到甲方或甲方客户提出的售后服务申请后,乙方应在4小时内予以回应,并在24小时内解决。")]),v._v(" "),t("p",[v._v("5、所有商品如无质量问题,可7天无理由退换货,商品如存在质量问题,可以协商退换货或者退款处理,并由乙方承担相关物流费用。")]),v._v(" "),t("p",[v._v("6、保证向甲方提供真实、合法、准确、有效的注册资料,并保证其诸如电子邮件地址、联系电话、联系地址、邮政编码等内容的有效性及安全性,保证甲方及其他用户可以通过上述联系方式与自己进行联系。同时,乙方也有义务在相关资料实际变更时及时更新有关注册资料。")]),v._v(" "),t("p",[v._v("7、所有商品保证合法渠道原厂正品,保障商品质量、承诺售后服务,必须提供销售发票。")]),v._v(" "),t("p",[v._v("8、乙方确保给甲方供货价为全球最低价,零售价不得高于京东或天猫在线销售价。")]),v._v(" "),t("h4",[v._v("四、双方权利义务")]),v._v(" "),t("h5",[v._v("1、甲方权利义务: ")]),v._v(" "),t("p",[v._v("(1)甲方根据本协议向乙方提供电子商务平台及相应技术支持服务,尽力维护平台的正常稳定运行,并努力提升和改进技术,对平台功能及服务进行更新、升级,不断提升平台性能和合作效率。")]),v._v(" "),t("p",[v._v("(2)在本协议有效期限内,甲方有权根据国家相关法律法规、政策及平台运营情况,对公示于平台的规则、流程、收费标准、乙方入驻条件等进行更新、调整。")]),v._v(" "),t("p",[v._v("(3)甲方方按照合同约定及时结算货款并主动续约合同有效期。")]),v._v(" "),t("p",[v._v("(4)如乙方在48小时内未发货,甲方有权利从乙方保证金或账户余额中扣除该订单金额10%的违约金。")]),v._v(" "),t("h5",[v._v("2、乙方权利义务: ")]),v._v(" "),t("p",[v._v("(1)乙方妥善保管商铺管理员账号,如因乙方保管、设置或使用不当造成的经济损失,由乙方自行承担责任。")]),v._v(" "),t("p",[v._v("(2)乙方在使用过程中如发现任何非法盗用乙方账号出现安全漏洞等情况,应立即通知甲方。")]),v._v(" "),t("p",[v._v("(3)乙方负责所售商品的快递物流、清关、发货、售后等服务,如在售后服务中跟客户出现沟通问题,乙方可以咨询甲方,甲方根据实际情况给予技术上的帮助与协调。")]),v._v(" "),t("p",[v._v("(4)乙方保证其所经营销售的产品均为合法渠道的正品正货,并提供销售发票。")]),v._v(" "),t("p",[v._v("(5)乙方保证在平台发布的商品信息真实、准确,符合平台规则及国家相关法律法规的规定,与实际出售的商品一致,不含任何夸大或虚假内容,并对商品信息承担独立的完全的法律责任。")]),v._v(" "),t("p",[v._v("(6)乙方保证对在平台经营的商品或服务拥有合法销售权,商品质量合格,符合国家相关质量标准,不侵犯任何第三方的合法权利,并对其商品质量及商品合法性独立承担全部法律责任。 ")]),v._v(" "),t("p",[v._v("(7)在协议有效期内,乙方不得向与甲方构成商业竞争关系的企业、商业机构或者组织提供有关甲方相关信息或者资料,否则对甲方造成损失的,由乙方负责赔偿。")]),v._v(" "),t("h4",[v._v("五、协议期限")]),v._v(" "),t("p",[v._v("本协议有效期为一年,自在线签订之日起生效。有效期满后,双方可视合作情况在线续签。 ")]),v._v(" "),t("h4",[v._v("六,平台结算及发票")]),v._v(" "),t("p",[v._v("1、关于结算")]),v._v(" "),t("p",[v._v("甲方自发货日起15天后将该订单金额结算到乙方平台余额账户中,乙方可向平台申请货款结算提现。")]),v._v(" "),t("p",[v._v("2、关于发票")]),v._v(" "),t("p",[v._v("乙方在申请提现前需给甲方开具增值税发票,甲方方可给予打款,打款周期为收到发票后3-5个工作日。")]),v._v(" "),t("h4",[v._v("七、银行账户信息")]),v._v(" "),t("p",[v._v("甲乙双方结算以乙方提交的对公账户为准,该对公账户需与乙方所提交的公司资质信息一致。")]),v._v(" "),t("h4",[v._v("八、协议变更、终止及违约责任 ")]),v._v(" "),t("p",[v._v("1、甲乙双方应本着诚实信用的原则履行本协议。任何一方在履约过程中采用欺诈、胁迫或者暴力的手段,另一方均可以解除本协议并要求对方赔偿由此造成的损失。")]),v._v(" "),t("p",[v._v("2、在协议执行期间,如果双方或一方认为需要终止,应提前一个月通知对方,双方在财务结算完毕、各自责任明确履行之后,方可终止协议。某方擅自终止本协议,给对方造成损失的,应赔偿对方损失。")]),v._v(" "),t("p",[v._v("3、经双方协商达成一致,可以对本协议有关条款进行变更,但应当以书面形式确认。")]),v._v(" "),t("p",[v._v("4、一方变更通讯地址或其它联系方式,应自变更之日起十日内,将变更后的地址、联系方式通知另一方,否则变更方应对此造成的一切后果承担责任; ")]),v._v(" "),t("p",[v._v("5、如因客观情况发生重大变化,致使本协议无继续法履行的,经甲乙双方协商同意,可以变更或者终止协议的履行。")]),v._v(" "),t("h4",[v._v("九、保密条款")]),v._v(" "),t("p",[v._v("1、甲、乙双方所提供给对方的一切资料、技术和对项目的策划设计要严格保密,并只能在合作双方公司的业务范围内使用;")]),v._v(" "),t("p",[v._v("2、甲、乙双方均应对在合作过程中所知悉的对方的商业和技术秘密承担保密义务。保密条款不受本协议期限的限制。 ")]),v._v(" "),t("h4",[v._v("十 、其他约定")]),v._v(" "),t("p",[v._v("1、若发生争议,双方本着友好协商原则进行解决。如协商未果,任何一方均可依照法律规定向甲方所在地的人民法院提起诉讼。")]),v._v(" "),t("p",[v._v("2、本合同未尽事宜双方协议而定,可另行签订补充协议,与本协议同具法律效力。   ")]),v._v(" "),t("p",[v._v("3、以上条款请协议各方务必仔细阅读后在线签署,协议各方均不得以不了解协议条款或其他任何理由拒绝履行本协议。")]),v._v(" "),t("p",[v._v("4、本合同为在线线上签署,具备同等法律效力。")])])]),v._v(" "),t("div",{staticClass:"confirm-btn"},[t("p",[t("el-checkbox",{model:{value:v.isComfirm,callback:function(_){v.isComfirm=_},expression:"isComfirm"}},[v._v("我已仔细阅读并同意签署入驻协议")])],1),v._v(" "),t("p",[v._v("\n 入驻协议约定了双方的权利和义务,及其它的法律责任,请您认真阅读!\n ")]),v._v(" "),t("p",[t("el-button",{staticStyle:{padding:"8px 30px"},attrs:{type:"primary",disabled:!v.isComfirm},on:{click:v.nextStep}},[v._v("下一步")])],1)])])],1)},e=[function(){var v=this,_=v.$createElement,n=v._self._c||_;return n("div",{staticClass:"logo-bg"},[n("img",{attrs:{src:t("85ee"),alt:""}})])}],p={name:"IndexOne",data:function(){return{isComfirm:!1,downTemplatehttp:"http://img3.jxhh.com/shop/cate_price.pdf"}},mounted:function(){},methods:{nextStep:function(){this.isComfirm&&this.$router.push("/fillMainInf")}}},s=p,a=(t("a026"),t("cba8")),i=Object(a["a"])(s,n,e,!1,null,"9edd0c7a",null);_["default"]=i.exports}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-26cdcf30"],{"0a5c":function(t,a,e){"use strict";e.r(a);var n=function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{class:t.className,style:{height:t.height,width:t.width}})},i=[],r=e("24ce"),s=e.n(r),o=e("feb2");e("6cbb");var l=3e3,c={mixins:[o["default"]],props:{className:{type:String,default:"chart"},width:{type:String,default:"100%"},height:{type:String,default:"300px"}},data:function(){return{chart:null}},mounted:function(){var t=this;this.$nextTick((function(){t.initChart()}))},beforeDestroy:function(){this.chart&&(this.chart.dispose(),this.chart=null)},methods:{initChart:function(){this.chart=s.a.init(this.$el,"macarons"),this.chart.setOption({tooltip:{trigger:"axis",axisPointer:{type:"shadow"}},radar:{radius:"66%",center:["50%","42%"],splitNumber:8,splitArea:{areaStyle:{color:"rgba(127,95,132,.3)",opacity:1,shadowBlur:45,shadowColor:"rgba(0,0,0,.5)",shadowOffsetX:0,shadowOffsetY:15}},indicator:[{name:"Sales",max:1e4},{name:"Administration",max:2e4},{name:"Information Techology",max:2e4},{name:"Customer Support",max:2e4},{name:"Development",max:2e4},{name:"Marketing",max:2e4}]},legend:{left:"center",bottom:"10",data:["Allocated Budget","Expected Spending","Actual Spending"]},series:[{type:"radar",symbolSize:0,areaStyle:{normal:{shadowBlur:13,shadowColor:"rgba(0,0,0,.2)",shadowOffsetX:0,shadowOffsetY:10,opacity:1}},data:[{value:[5e3,7e3,12e3,11e3,15e3,14e3],name:"Allocated Budget"},{value:[4e3,9e3,15e3,15e3,13e3,11e3],name:"Expected Spending"},{value:[5500,11e3,12e3,15e3,12e3,12e3],name:"Actual Spending"}],animationDuration:l}]})}}},d=c,u=e("cba8"),h=Object(u["a"])(d,n,i,!1,null,null,null);a["default"]=h.exports},"1e4b":function(t,a,e){"use strict";e.r(a);var n=function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{staticClass:"dashboard-editor-container"},[e("div",{staticClass:"dashboard-promote"}),t._v(" "),e("panel-group",{attrs:{"panel-data":t.panelData},on:{handleSetLineChartData:t.handleSetLineChartData}}),t._v(" "),e("el-row",{staticStyle:{background:"#fff",padding:"16px 16px 0","margin-bottom":"32px"}},[e("line-chart",{attrs:{"chart-data":t.lineChartData}})],1)],1)},i=[],r=(e("1bc7"),e("7ded")),s=e("fbc4"),o=e("eab4"),l=(e("0a5c"),e("d153"),e("9488"),{newVisitis:{expectedData:[100,120,161,134,105,160,161],actualData:[120,82,91,154,162,140,145]}}),c={name:"Index",components:{PanelGroup:s["default"],LineChart:o["default"]},data:function(){return{panelData:{goods_total:0,order_total:0,total_price:0,refund_total:0},lineChartData:{moneyData:[],actualData:[],maxChannelData:0,maxMoneyData:0,months:[]}}},created:function(){this.GetStatistics()},methods:{GetStatistics:function(){var t=this;Object(r["b"])().then((function(a){var e=[],n=[],i=[];a.data&&a.data.line&&a.data.line.length>0&&a.data.line.forEach((function(t,a){e.unshift(t.price/100),i.unshift(t.date),n.unshift(t.count)}));for(var r=t.lineChartData.maxChannelData,s=1;s<n.length;s++)n[s]>r&&(r=n[s]);t.lineChartData.maxChannelData=r;var o=t.lineChartData.maxMoneyData/100;for(s=1;s<e.length;s++)e[s]>o&&(o=e[s]);t.lineChartData.maxMoneyData=o,t.lineChartData.moneyData=e,t.lineChartData.actualData=n,t.lineChartData.months=i,t.panelData.goods_total=a.data.goods_total,t.panelData.refund_total=a.data.rettotal,t.panelData.order_total=a.data.order_total.count,t.panelData.total_price=a.data.order_total.total_price/100}))},handleSetLineChartData:function(t){this.lineChartData=l[t]}}},d=c,u=(e("f8fa"),e("cba8")),h=Object(u["a"])(d,n,i,!1,null,"55a18f0e",null);a["default"]=h.exports},"410d":function(t,a,e){"use strict";e.d(a,"i",(function(){return i})),e.d(a,"f",(function(){return r})),e.d(a,"b",(function(){return s})),e.d(a,"e",(function(){return o})),e.d(a,"a",(function(){return l})),e.d(a,"d",(function(){return c})),e.d(a,"g",(function(){return d})),e.d(a,"c",(function(){return u})),e.d(a,"h",(function(){return h}));var n=e("b775"),i=function(){return Object(n["a"])({url:"/local/getShopInfo",method:"get"})},r=function(t){return Object(n["a"])({url:"/local/shop/bond/detail",method:"get",params:t})},s=function(t){return Object(n["a"])({url:"/system/addBond",method:"post",data:t})},o=function(t){return Object(n["a"])({url:"/local/getBondByCate",method:"get",params:t})},l=function(t){return Object(n["a"])({url:"/system/bank/account/list",method:"post",data:t})},c=function(t){return Object(n["a"])({url:"/local/bondApply",method:"post",data:t})},d=function(t){return Object(n["a"])({url:"/system/payDetails",method:"get",params:t})},u=function(t){return Object(n["a"])({url:"/local/bond/apply/detail",method:"get",params:t})},h=function(t){return Object(n["a"])({url:"/local/seller/sendMobile",method:"get",params:t})}},9488:function(t,a,e){"use strict";e.r(a);var n=function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{class:t.className,style:{height:t.height,width:t.width}})},i=[],r=e("24ce"),s=e.n(r),o=e("feb2");e("6cbb");var l=6e3,c={mixins:[o["default"]],props:{className:{type:String,default:"chart"},width:{type:String,default:"100%"},height:{type:String,default:"300px"}},data:function(){return{chart:null}},mounted:function(){var t=this;this.$nextTick((function(){t.initChart()}))},beforeDestroy:function(){this.chart&&(this.chart.dispose(),this.chart=null)},methods:{initChart:function(){this.chart=s.a.init(this.$el,"macarons"),this.chart.setOption({tooltip:{trigger:"axis",axisPointer:{type:"shadow"}},grid:{top:10,left:"2%",right:"2%",bottom:"3%",containLabel:!0},xAxis:[{type:"category",data:["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],axisTick:{alignWithLabel:!0}}],yAxis:[{type:"value",axisTick:{show:!1}}],series:[{name:"pageA",type:"bar",stack:"vistors",barWidth:"60%",data:[79,52,200,334,390,330,220],animationDuration:l},{name:"pageB",type:"bar",stack:"vistors",barWidth:"60%",data:[80,52,200,334,390,330,220],animationDuration:l},{name:"pageC",type:"bar",stack:"vistors",barWidth:"60%",data:[30,52,200,334,390,330,220],animationDuration:l}]})}}},d=c,u=e("cba8"),h=Object(u["a"])(d,n,i,!1,null,null,null);a["default"]=h.exports},"9db6":function(t,a,e){},d153:function(t,a,e){"use strict";e.r(a);var n=function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{class:t.className,style:{height:t.height,width:t.width}})},i=[],r=e("24ce"),s=e.n(r),o=e("feb2");e("6cbb");var l={mixins:[o["default"]],props:{className:{type:String,default:"chart"},width:{type:String,default:"100%"},height:{type:String,default:"300px"}},data:function(){return{chart:null}},mounted:function(){var t=this;this.$nextTick((function(){t.initChart()}))},beforeDestroy:function(){this.chart&&(this.chart.dispose(),this.chart=null)},methods:{initChart:function(){this.chart=s.a.init(this.$el,"macarons"),this.chart.setOption({tooltip:{trigger:"item",formatter:"{a} <br/>{b} : {c} ({d}%)"},legend:{left:"center",bottom:"10",data:["Industries","Technology","Forex","Gold","Forecasts"]},series:[{name:"WEEKLY WRITE ARTICLES",type:"pie",roseType:"radius",radius:[15,95],center:["50%","38%"],data:[{value:320,name:"Industries"},{value:240,name:"Technology"},{value:149,name:"Forex"},{value:100,name:"Gold"},{value:59,name:"Forecasts"}],animationEasing:"cubicInOut",animationDuration:2600}]})}}},c=l,d=e("cba8"),u=Object(d["a"])(c,n,i,!1,null,null,null);a["default"]=u.exports},e057:function(t,a,e){},eab4:function(t,a,e){"use strict";e.r(a);var n=function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{class:t.className,style:{height:t.height,width:t.width}})},i=[],r=e("24ce"),s=e.n(r),o=e("feb2");e("6cbb");var l={mixins:[o["default"]],props:{className:{type:String,default:"chart"},width:{type:String,default:"100%"},height:{type:String,default:"350px"},autoResize:{type:Boolean,default:!0},chartData:{type:Object,required:!0}},data:function(){return{chart:null}},watch:{chartData:{deep:!0,handler:function(t){this.setOptions(t)}}},mounted:function(){var t=this;this.$nextTick((function(){t.initChart()}))},beforeDestroy:function(){this.chart&&(this.chart.dispose(),this.chart=null)},methods:{moneyMax:function(t){var a=2,e=!0,n=String(t).length;if(n<=a)return t;var i=Math.pow(10,a);return e?Math.ceil(t/i)*i:Math.floor(t/i)*i},numberMax:function(t,a){var e="";e=t>=a?t:a;var n=2,i=!0,r=String(e).length;if(r<=n)return e;var s=Math.pow(10,n);return i?Math.ceil(e/s)*s:Math.floor(e/s)*s},initChart:function(){this.chart=s.a.init(this.$el,"macarons"),this.chartData.months&&this.setOptions(this.chartData)},setOptions:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},a=(t.expectedData,t.actualData),e=t.moneyData,n=t.months;this.chart.setOption({xAxis:{data:n,boundaryGap:!1,axisTick:{show:!0}},grid:{left:10,right:10,bottom:20,top:30,containLabel:!0},tooltip:{trigger:"axis",axisPointer:{type:"cross"},padding:[5,10]},yAxis:[{type:"value",name:"数量",min:0,max:this.numberMax(this.chartData.maxAccountData,this.chartData.maxChannelData)<10?10:this.numberMax(this.chartData.maxAccountData,this.chartData.maxChannelData),interval:this.numberMax(this.chartData.maxAccountData,this.chartData.maxChannelData)<10?2:this.numberMax(this.chartData.maxAccountData,this.chartData.maxChannelData)/5,axisLabel:{formatter:"{value} "}},{type:"value",name:"收益",min:0,max:this.moneyMax(this.chartData.maxMoneyData),interval:this.moneyMax(this.chartData.maxMoneyData)/5,axisLabel:{formatter:"{value} 元"}}],legend:{data:["订单","收益"]},series:[{name:"订单",smooth:!0,type:"line",itemStyle:{normal:{color:"#3888fa",lineStyle:{color:"#3888fa",width:2},areaStyle:{color:"#f3f8ff"}}},data:a,animationDuration:2800,animationEasing:"quadraticOut"},{name:"收益",smooth:!0,type:"line",yAxisIndex:1,itemStyle:{normal:{color:"#40c9c6",lineStyle:{color:"#40c9c6",width:2},areaStyle:{color:"#f3f8ff"}}},data:e,animationDuration:2800,animationEasing:"quadraticOut"}]})}}},c=l,d=e("cba8"),u=Object(d["a"])(c,n,i,!1,null,null,null);a["default"]=u.exports},f63e:function(t,a,e){"use strict";e("9db6")},f8fa:function(t,a,e){"use strict";e("e057")},fbc4:function(t,a,e){"use strict";e.r(a);var n=function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",[e("el-row",{staticClass:"panel-group",attrs:{gutter:40}},[e("el-col",{staticClass:"card-panel-col",attrs:{xs:12,sm:12,lg:6}},[e("div",{staticClass:"card-panel",on:{click:function(a){return t.handleSetLineChartData("newVisitis")}}},[e("div",{staticClass:"card-panel-icon-wrapper icon-people"},[e("svg-icon",{attrs:{"icon-class":"peoples","class-name":"card-panel-icon"}})],1),t._v(" "),e("div",{staticClass:"card-panel-description"},[e("div",{staticClass:"card-panel-text"},[t._v("\n 总商品\n ")]),t._v(" "),e("count-to",{staticClass:"card-panel-num",attrs:{"start-val":0,"end-val":t.panelData.goods_total,duration:2600}})],1)])]),t._v(" "),e("el-col",{staticClass:"card-panel-col",attrs:{xs:12,sm:12,lg:6}},[e("div",{staticClass:"card-panel",on:{click:function(a){return t.handleSetLineChartData("messages")}}},[e("div",{staticClass:"card-panel-icon-wrapper icon-message"},[e("svg-icon",{attrs:{"icon-class":"message","class-name":"card-panel-icon"}})],1),t._v(" "),e("div",{staticClass:"card-panel-description"},[e("div",{staticClass:"card-panel-text"},[t._v("\n 总订单\n ")]),t._v(" "),e("count-to",{staticClass:"card-panel-num",attrs:{"start-val":0,"end-val":t.panelData.order_total,duration:3e3}})],1)])]),t._v(" "),e("el-col",{staticClass:"card-panel-col",attrs:{xs:12,sm:12,lg:6}},[e("div",{staticClass:"card-panel",on:{click:function(a){return t.handleSetLineChartData("purchases")}}},[e("div",{staticClass:"card-panel-icon-wrapper icon-money"},[e("svg-icon",{attrs:{"icon-class":"money","class-name":"card-panel-icon"}})],1),t._v(" "),e("div",{staticClass:"card-panel-description"},[e("div",{staticClass:"card-panel-text"},[t._v("\n 总收入\n ")]),t._v(" "),e("count-to",{staticClass:"card-panel-num",attrs:{"start-val":0,"end-val":t.panelData.total_price,decimals:2,duration:3200}})],1)])]),t._v(" "),e("el-col",{staticClass:"card-panel-col",attrs:{xs:12,sm:12,lg:6}},[e("div",{staticClass:"card-panel",on:{click:function(a){return t.handleSetLineChartData("shoppings")}}},[e("div",{staticClass:"card-panel-icon-wrapper icon-shopping"},[e("svg-icon",{attrs:{"icon-class":"shopping","class-name":"card-panel-icon"}})],1),t._v(" "),e("div",{staticClass:"xz-tip"},[t._v(t._s(t.panelData.refund_total<100?t.panelData.refund_total:"99+"))]),t._v(" "),e("div",{staticClass:"card-panel-description"},[e("div",{staticClass:"card-panel-text"},[t._v("\n 售后订单\n ")]),t._v(" "),e("count-to",{staticClass:"card-panel-num",attrs:{"start-val":0,"end-val":t.panelData.refund_total,duration:3600}})],1)])])],1),t._v(" "),e("el-dialog",{staticStyle:{"margin-top":"200px"},attrs:{title:"保证金充值提醒",visible:t.dialogVisible,"destroy-on-close":!0,width:"35%",center:"","close-on-click-modal":!1,"append-to-body":""},on:{"update:visible":function(a){t.dialogVisible=a}}},[e("div",[e("div",{staticStyle:{background:"rgba(58, 160, 255, .05)",padding:"20px","line-height":"24px","text-align":"center"}},[e("div",[t._v("当前保证金余额不足,部分功能受限,请您及时充值保证金")])])]),t._v(" "),e("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[e("el-button",{attrs:{type:"danger"},on:{click:t.goPay}},[t._v("去充值")])],1)])],1)},i=[],r=e("9e2e"),s=e.n(r),o=e("410d"),l={data:function(){return{dialogVisible:!1}},props:{panelData:{type:Object,default:"chart"}},components:{CountTo:s.a},mounted:function(){this.getShopInfo()},methods:{getShopInfo:function(){var t=this;Object(o["i"])().then((function(a){1==a.code&&(1==a.data.is_take_bond&&a.data.bond<a.data.cate_bond/2?t.dialogVisible=!0:t.dialogVisible=!1)}))},handleSetLineChartData:function(t){this.$emit("handleSetLineChartData",t)},goPay:function(){this.dialogVisible=!1,this.$router.push({path:"/system/asset/securityFund"})}}},c=l,d=(e("f63e"),e("cba8")),u=Object(d["a"])(c,n,i,!1,null,"3bf1987b",null);a["default"]=u.exports},feb2:function(t,a,e){"use strict";e.r(a);var n=e("ed08");a["default"]={data:function(){return{$_sidebarElm:null,$_resizeHandler:null}},mounted:function(){this.initListener()},activated:function(){this.$_resizeHandler||this.initListener(),this.resize()},beforeDestroy:function(){this.destroyListener()},deactivated:function(){this.destroyListener()},methods:{$_sidebarResizeHandler:function(t){"width"===t.propertyName&&this.$_resizeHandler()},initListener:function(){var t=this;this.$_resizeHandler=Object(n["d"])((function(){t.resize()}),100),window.addEventListener("resize",this.$_resizeHandler),this.$_sidebarElm=document.getElementsByClassName("sidebar-container")[0],this.$_sidebarElm&&this.$_sidebarElm.addEventListener("transitionend",this.$_sidebarResizeHandler)},destroyListener:function(){window.removeEventListener("resize",this.$_resizeHandler),this.$_resizeHandler=null,this.$_sidebarElm&&this.$_sidebarElm.removeEventListener("transitionend",this.$_sidebarResizeHandler)},resize:function(){var t=this.chart;t&&t.resize()}}}}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2810acda"],{"6b1f":function(t,e,a){"use strict";a.d(e,"g",(function(){return r})),a.d(e,"i",(function(){return n})),a.d(e,"b",(function(){return s})),a.d(e,"d",(function(){return o})),a.d(e,"a",(function(){return l})),a.d(e,"l",(function(){return d})),a.d(e,"j",(function(){return m})),a.d(e,"c",(function(){return c})),a.d(e,"m",(function(){return h})),a.d(e,"e",(function(){return u})),a.d(e,"h",(function(){return g})),a.d(e,"f",(function(){return p})),a.d(e,"k",(function(){return b}));var i=a("b775");function r(t){return Object(i["a"])({url:"/system/index/getInfo",method:"get",params:t})}function n(t){return Object(i["a"])({url:"/local/getOrganization",method:"get",params:t})}function s(t){return Object(i["a"])({url:"/local/organization",method:"post",data:t})}function o(t){return Object(i["a"])({url:"/local/shopbrand",method:"get",params:t})}function l(t){return Object(i["a"])({url:"/local/brands",method:"post",data:t})}function d(t){return Object(i["a"])({url:"/local/upbrands",method:"post",data:t})}function m(t){return Object(i["a"])({url:"/local/getShopInfo",method:"get",params:t})}function c(t){return Object(i["a"])({url:"/local/addShopInfo",method:"post",data:t})}function h(t){return Object(i["a"])({url:"/system/goodsNew/uploadImage",method:"post",data:t})}function u(t){return Object(i["a"])({url:"/local/cate",method:"get",params:t})}function g(t){return Object(i["a"])({url:"/local/check/businessLicense",method:"get",params:t})}function p(t){return Object(i["a"])({url:"/local/check/idCard",method:"get",params:t})}function b(t){return Object(i["a"])({url:"/local/qualification/list",method:"get",params:t})}},b176:function(t,e,a){"use strict";a.r(e);var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"fill-brand-inf"},[a("div",{staticClass:"logo-bg"},[t._e()]),t._v(" "),a("el-card",{staticClass:"box-card"},[a("div",{staticClass:"clearfix steps",attrs:{slot:"header"},slot:"header"},[a("el-steps",{attrs:{active:1,"align-center":"","finish-status":"success"}},[a("el-step",{attrs:{title:"填写主体信息"}}),t._v(" "),a("el-step",{attrs:{title:"填写品牌信息"}}),t._v(" "),a("el-step",{attrs:{title:"填写店铺信息"}}),t._v(" "),a("el-step",{attrs:{title:"提交入驻审核"}})],1)],1),t._v(" "),a("div",{staticClass:"main-con"},[a("el-form",{ref:"brandForm",attrs:{model:t.brandForm,rules:t.brandRules,"label-width":"180px"}},[a("el-form-item",{attrs:{label:"经营品牌类型:"}},[a("el-radio-group",{on:{change:t.chooseBrandType},model:{value:t.brandForm.brand_type,callback:function(e){t.$set(t.brandForm,"brand_type",e)},expression:"brandForm.brand_type"}},[a("el-radio",{attrs:{label:1}},[t._v("自有品牌")]),t._v(" "),a("el-radio",{attrs:{label:2}},[t._v("品牌厂商授权")]),t._v(" "),a("el-radio",{attrs:{label:3}},[t._v("无品牌")])],1)],1),t._v(" "),a("div",{directives:[{name:"show",rawName:"v-show",value:3!==t.brandForm.brand_type,expression:"brandForm.brand_type !== 3"}],staticClass:"spe-brand-text"},[t._v("\n 品牌一\n ")]),t._v(" "),a("el-form-item",{directives:[{name:"show",rawName:"v-show",value:3!==t.brandForm.brand_type,expression:"brandForm.brand_type !== 3"}],attrs:{label:"品牌中文名:",prop:"brand_cn"}},[a("el-input",{staticStyle:{width:"400px"},attrs:{placeholder:""},model:{value:t.brandForm.brand_cn,callback:function(e){t.$set(t.brandForm,"brand_cn",e)},expression:"brandForm.brand_cn"}})],1),t._v(" "),a("el-form-item",{directives:[{name:"show",rawName:"v-show",value:3!==t.brandForm.brand_type,expression:"brandForm.brand_type !== 3"}],attrs:{label:"品牌英文名:",prop:"brand_en"}},[a("el-input",{staticStyle:{width:"400px"},attrs:{placeholder:""},model:{value:t.brandForm.brand_en,callback:function(e){t.$set(t.brandForm,"brand_en",e)},expression:"brandForm.brand_en"}})],1),t._v(" "),3!==t.brandForm.brand_type?a("el-form-item",{ref:"logoImg",attrs:{label:"品牌LOGO:",prop:"brand_logo"}},[a("div",{staticStyle:{width:"100%",height:"100%",display:"flex","flex-direction":"row","justify-content":"normal"}},[a("div",{staticStyle:{"padding-right":"6px"}},[a("el-upload",{staticClass:"uploadData",attrs:{action:"#","list-type":"picture-card","http-request":t.uploadLogoImgs,limit:2,"on-exceed":t.showTip,"before-upload":t.beforeUpLogoImg,"on-preview":t.handlePictureCardPreview,"on-remove":t.handleRemove,"file-list":t.brandImgFileList}},[a("i",{staticClass:"el-icon-plus"})]),t._v(" "),a("el-dialog",{attrs:{visible:t.dialogVisible},on:{"update:visible":function(e){t.dialogVisible=e}}},[a("img",{attrs:{width:"100%",src:t.dialogImageUrl,alt:""}})])],1),t._v(" "),a("div",[a("span",{staticClass:"tips-text"},[a("i",{staticClass:"el-icon-warning h-warning"})])]),t._v(" "),a("div",{staticStyle:{width:"380px","line-height":"24px","padding-top":"6px"}},[a("span",{staticClass:"tips-text"},[t._v("必须与商标图文一致。文件大小在500KB以内,支持png,jpg格式,最多可上传2张")])])])]):t._e(),t._v(" "),a("el-form-item",{directives:[{name:"show",rawName:"v-show",value:3!==t.brandForm.brand_type,expression:"brandForm.brand_type !== 3"}],attrs:{label:"品牌商标注册号:",prop:"brand_number"}},[a("el-input",{staticStyle:{width:"400px"},attrs:{placeholder:""},model:{value:t.brandForm.brand_number,callback:function(e){t.$set(t.brandForm,"brand_number",e)},expression:"brandForm.brand_number"}})],1),t._v(" "),a("el-form-item",{directives:[{name:"show",rawName:"v-show",value:3!==t.brandForm.brand_type,expression:"brandForm.brand_type !== 3"}],attrs:{label:"品牌类型:",prop:"brand_range"}},[a("el-radio-group",{model:{value:t.brandForm.brand_range,callback:function(e){t.$set(t.brandForm,"brand_range",e)},expression:"brandForm.brand_range"}},[a("el-radio",{attrs:{label:1}},[t._v("国内品牌")]),t._v(" "),a("el-radio",{attrs:{label:2}},[t._v("国外品牌")])],1)],1),t._v(" "),2===t.brandForm.brand_type?a("el-form-item",{attrs:{label:"品牌方授权书:",prop:"brand_auth"}},[a("div",{staticStyle:{width:"100%",height:"100%",display:"flex","flex-direction":"row","justify-content":"normal"}},[a("div",{staticStyle:{"padding-right":"6px"}},[a("el-upload",{staticClass:"uploadData",attrs:{action:"#","list-type":"picture-card","http-request":t.uploadFactoryImgs,"before-upload":t.beforeUpImg,"on-preview":t.handlePictureCardPreview2,"on-remove":t.handleRemove2,"file-list":t.factoryImgFileList}},[a("i",{staticClass:"el-icon-plus"})]),t._v(" "),a("el-dialog",{attrs:{visible:t.dialogVisible2},on:{"update:visible":function(e){t.dialogVisible2=e}}},[a("img",{attrs:{width:"100%",src:t.dialogImageUrl2,alt:""}})])],1),t._v(" "),a("div",[a("span",{staticClass:"tips-text"},[a("i",{staticClass:"el-icon-warning h-warning"})])]),t._v(" "),a("div",{staticStyle:{width:"380px","line-height":"24px","padding-top":"6px"}},[a("span",{staticClass:"tips-text"},[t._v("品牌方给予企业的授权书。文件大小在2MB以内,支持png,jpg格式")])])])]):t._e(),t._v(" "),2===t.brandForm.brand_type?a("el-form-item",{attrs:{label:"授权有效期至:",prop:"brand_auth_time"}},[a("el-date-picker",{staticStyle:{width:"300px"},attrs:{type:"date",placeholder:"选择日期"},on:{change:t.validityConcrete},model:{value:t.validityConcreteTime,callback:function(e){t.validityConcreteTime=e},expression:"validityConcreteTime"}}),t._v(" "),a("el-checkbox",{staticStyle:{"padding-left":"15px"},on:{change:t.validityLongTerm},model:{value:t.validityLongTermVal,callback:function(e){t.validityLongTermVal=e},expression:"validityLongTermVal"}},[t._v("长期\n ")])],1):t._e(),t._v(" "),3!==t.brandForm.brand_type?a("el-form-item",{attrs:{label:"品牌经营授权:",prop:"brand_business_auth"}},[a("div",{staticStyle:{width:"100%",height:"100%",display:"flex","flex-direction":"row","justify-content":"normal"}},[a("div",{staticStyle:{"padding-right":"6px"}},[a("el-upload",{staticClass:"uploadData",attrs:{action:"#","http-request":t.uploadShopImgs,"list-type":"picture-card",limit:2,"on-exceed":t.showTip,"before-upload":t.beforeUpImg,"on-preview":t.handlePictureCardPreview3,"on-remove":t.handleRemove3,"file-list":t.shopImgFileList}},[a("i",{staticClass:"el-icon-plus"})]),t._v(" "),a("el-dialog",{attrs:{visible:t.dialogVisible3},on:{"update:visible":function(e){t.dialogVisible3=e}}},[a("img",{attrs:{width:"100%",src:t.dialogImageUrl3,alt:""}})])],1),t._v(" "),a("div",[a("span",{staticClass:"tips-text"},[a("i",{staticClass:"el-icon-warning h-warning"})])]),t._v(" "),a("div",{staticStyle:{width:"380px","line-height":"24px","padding-top":"6px"}},[a("span",{staticClass:"tips-text"},[t._v("授权在云仓平台经营此品牌。文件大小在2MB以内,支持png,jpg格式,最多可上传2张")])])])]):t._e(),t._v(" "),a("el-form-item",{directives:[{name:"show",rawName:"v-show",value:3!==t.brandForm.brand_type,expression:"brandForm.brand_type !== 3"}],attrs:{label:""}},[a("div",{staticStyle:{width:"100%",height:"100%",display:"flex","flex-direction":"row","justify-content":"normal"}},[a("a",{staticClass:"download-Template-btn",attrs:{href:t.downTemplatehttp}},[a("i",{staticClass:"el-icon-download"}),t._v("下载模板")]),t._v(" "),a("div",[a("span",{staticClass:"tips-text"},[a("i",{staticClass:"el-icon-warning h-warning"})])]),t._v(" "),a("div",{staticStyle:{width:"380px","line-height":"24px","padding-top":"6px"}},[a("span",{staticClass:"tips-text"},[t._v("请您点击下载授权书模板,打印并签字盖章,拍照上传。\n 如暂时无法上传该授权,可选择【无品牌】,稍后在店铺信息里面完善品牌信息")])])])]),t._v(" "),a("el-form-item",{directives:[{name:"show",rawName:"v-show",value:3!==t.brandForm.brand_type,expression:"brandForm.brand_type !== 3"}]},[a("el-button",{staticStyle:{"margin-right":"40px"},attrs:{type:"primary"},on:{click:t.back}},[t._v("上一步")]),t._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:function(e){return t.next("brandForm")}}},[t._v("下一步")])],1)],1),t._v(" "),a("div",{directives:[{name:"show",rawName:"v-show",value:!t.hasBrand,expression:"!hasBrand"}],staticClass:"no-brand"},[a("p",[t._v("您当前选择的是无品牌")]),t._v(" "),a("p",[t._v("这不会影响您入驻的审核")]),t._v(" "),a("p",[t._v("入驻成功后,您可以在店铺信息里,添加您的品牌")]),t._v(" "),a("div",{staticClass:"no-brand-btn"},[a("el-button",{staticStyle:{"margin-right":"40px"},attrs:{type:"primary"},on:{click:t.back}},[t._v("上一步")]),t._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:t.noBrandNext}},[t._v("下一步")])],1)])],1)])],1)},r=[],n=(a("28a5"),a("6b1f")),s={name:"FillBrandInf",data:function(){var t=this,e=function(e,a,i){2===t.brandForm.brand_type&&null===t.validityConcreteTime&&!1===t.validityLongTermVal?i(new Error("授权有效期具体时间和长期必须填写其中一个")):i()},a=function(e,a,i){t.brandImgFileList.length>0?i():0===t.brandImgFileList.length&&i(new Error("品牌logo图片至少上传一张"))},i=function(e,a,i){t.shopImgFileList.length>0?i():0===t.shopImgFileList.length&&i(new Error("品牌logo图片至少上传一张"))};return{shopTemplatehttp:"http://img3.jxhh.com/shop/brand.doc",factoryTemplatehttp:"http://img3.jxhh.com/shop/factory.doc",hasBrand:!0,dialogImageUrl:"",dialogVisible:!1,dialogImageUrl2:"",dialogVisible2:!1,dialogImageUrl3:"",dialogVisible3:!1,validityConcreteTime:null,validityLongTermVal:!1,downTemplatehttp:"",brandImgFileList:[],factoryImgFileList:[],shopImgFileList:[],brandForm:{id:0,brand_type:1,brand_cn:"",brand_en:"",brand_logo:"",brand_number:"",brand_range:"",brand_auth_time:"",brand_auth:"",brand_business_auth:""},brandRules:{brand_cn:[{required:!0,message:"品牌中文名称不能为空",trigger:"blur"}],brand_logo:[{required:!0,message:"品牌logo图片至少上传一张",validator:a}],brand_range:[{required:!0,message:"品牌类型需要选择其一",trigger:"blur"}],brand_auth:[{required:!0,message:"品牌授权至少上传一张图片"}],brand_auth_time:[{validator:e,required:!0,trigger:"change"}],brand_business_auth:[{required:!0,message:"品牌经营授权至少上传一张图片",validator:i}]}}},watch:{factoryImgFileList:{handler:function(t,e){var a=this;2===this.brandForm.brand_type&&(this.$refs.brandForm.validateField("brand_auth"),0!==t.length&&this.$nextTick((function(){a.$refs.brandForm.clearValidate("brand_auth")})))},deep:!0}},created:function(){this.getBrands()},mounted:function(){this.downTemplatehttp=this.factoryTemplatehttp},methods:{beforeUpImg:function(t){var e=t.size/1024/1024>2;return"image/png"!==t.type&&"image/jpg"!==t.type&&"image/jpeg"!=t.type?(this.$message({message:"上传图片格式只支持jpg/png格式",type:"warning"}),!1):e?(this.$message({message:"上传图片大小不能超过2M",type:"warning"}),!1):void 0},beforeUpLogoImg:function(t){var e=t.size/1024>500;return"image/png"!==t.type&&"image/jpg"!==t.type&&"image/jpeg"!=t.type?(this.$message({message:"上传图片格式只支持jpg/png格式",type:"warning"}),!1):e?(this.$message({message:"上传图片大小不能超过500 kb",type:"warning"}),!1):void 0},uploadLogoImgs:function(t){var e=this;this.getBase64(t.file).then((function(t){var a=t.split(",");e.Base64img=a[1];var i={img_data:e.Base64img};Object(n["m"])(i).then((function(t){1==t.code?(e.brandImgFileList.push({url:t.data.image_url}),e.$message({type:"success",message:"上传成功"}),e.$refs.brandForm.clearValidate("brand_logo")):e.$message({type:"error",message:t.message?t.message:"上传失败"})}))}))},uploadShopImgs:function(t){var e=this;this.getBase64(t.file).then((function(t){var a=t.split(",");e.Base64img=a[1];var i={img_data:e.Base64img};Object(n["m"])(i).then((function(t){1==t.code?(e.shopImgFileList.push({url:t.data.image_url}),e.$message({type:"success",message:"上传成功"}),e.$refs.brandForm.clearValidate("brand_business_auth")):e.$message({type:"error",message:t.message?t.message:"上传失败"})}))}))},uploadFactoryImgs:function(t){var e=this;this.getBase64(t.file).then((function(t){var a=t.split(",");e.Base64img=a[1];var i={img_data:e.Base64img};Object(n["m"])(i).then((function(t){1==t.code?(e.factoryImgFileList.push({url:t.data.image_url}),e.$message({type:"success",message:"上传成功"})):e.$message({type:"error",message:t.message?t.message:"上传失败"})}))}))},getBase64:function(t){return new Promise((function(e,a){var i=new FileReader,r="";i.readAsDataURL(t),i.onload=function(){r=i.result},i.onerror=function(t){a(t)},i.onloadend=function(){e(r)}}))},chooseBrandType:function(){this.downTemplatehttp="",1===this.brandForm.brand_type?(this.hasBrand=!0,this.downTemplatehttp=this.shopTemplatehttp):2===this.brandForm.brand_type?(this.hasBrand=!0,this.downTemplatehttp=this.factoryTemplatehttp,this.factoryImgFileList=[],this.brandForm.brand_auth="",this.brand_auth_time="",this.validityConcreteTime=null,this.validityLongTermVal=!1):3===this.brandForm.brand_type&&(this.hasBrand=!1)},clearImg:function(){this.brandImgFileList=[],this.factoryImgFileList=[],this.shopImgFileList=[],this.brandForm.brand_logo="",this.brandForm.brand_auth="",this.brandForm.brand_business_auth="",this.brand_auth_time="",this.validityConcreteTime=null,this.validityLongTermVal=!1},handlePictureCardPreview:function(t){this.dialogImageUrl=t.url,this.dialogVisible=!0},handleRemove:function(t,e){for(var a=0;a<this.brandImgFileList.length;a++)t.uid===this.brandImgFileList[a].uid&&this.brandImgFileList.splice(a,1)},handlePictureCardPreview2:function(t){this.dialogImageUrl2=t.url,this.dialogVisible2=!0},handleRemove2:function(t){for(var e=0;e<this.factoryImgFileList.length;e++)t.uid===this.factoryImgFileList[e].uid&&this.factoryImgFileList.splice(e,1)},handlePictureCardPreview3:function(t){this.dialogImageUrl3=t.url,this.dialogVisible3=!0},handleRemove3:function(t){for(var e=0;e<this.shopImgFileList.length;e++)t.uid===this.shopImgFileList[e].uid&&this.shopImgFileList.splice(e,1)},validityConcrete:function(){this.validityConcreteTime&&(this.validityLongTermVal=!1)},validityLongTerm:function(){this.validityLongTermVal&&(this.validityConcreteTime=null)},getBrands:function(){var t=this;Object(n["d"])().then((function(e){if(1==e.code){t.brandForm=e.data[0];var a={},i=[];if(t.brandForm.brand_logo.indexOf(",")>0){i=t.brandForm.brand_logo.split(",");for(var r=0;r<i.length;r++)a={},a.url=i[r],t.brandImgFileList.push(a)}else a.url=t.brandForm.brand_logo,t.brandImgFileList=[],t.brandImgFileList.push(a);var n={},s=[];if(t.brandForm.brand_auth.indexOf(",")>0){s=t.brandForm.brand_auth.split(",");for(var o=0;o<s.length;o++)n={},n.url=s[o],t.factoryImgFileList.push(n)}else n.url=t.brandForm.brand_auth,t.factoryImgFileList=[],t.factoryImgFileList.push(n);var l={},d=[];if(t.brandForm.brand_business_auth.indexOf(",")>0){d=t.brandForm.brand_business_auth.split(",");for(var m=0;m<d.length;m++)l={},l.url=d[m],t.shopImgFileList.push(l)}else l.url=t.brandForm.brand_business_auth,t.shopImgFileList=[],t.shopImgFileList.push(l);0===t.brandForm.brand_auth_time?t.validityLongTermVal=!0:t.validityConcreteTime=t.toStandTime(t.brandForm.brand_auth_time)}else t.$message({type:"error",message:e.message?e.message:""})}))},toStandTime:function(t){var e=new Date(1e3*t),a=e.getFullYear()+"-",i=(e.getMonth()+1<10?"0"+(e.getMonth()+1):e.getMonth()+1)+"-",r=(e.getDate()<10?"0"+e.getDate():e.getDate())+" ",n=(e.getHours()<10?"0"+e.getHours():e.getHours())+":",s=(e.getMinutes()<10?"0"+e.getMinutes():e.getMinutes())+":",o=e.getSeconds()<10?"0"+e.getSeconds():e.getSeconds();return a+i+r+n+s+o},showTip:function(t,e){this.$message({message:"最多上传2张图片",type:"warning"})},back:function(){this.$router.push("/fillMainInf")},next:function(t){var e=this;if(this.validityLongTermVal?this.brandForm.brand_auth_time=this.validityLongTermVal-0-1:!1===this.validityLongTermVal&&this.validityConcreteTime?this.brandForm.brand_auth_time=new Date(this.validityConcreteTime).getTime()/1e3:this.brandForm.brand_auth_time="",this.brandImgFileList.length>0){for(var a=0;a<this.brandImgFileList.length;a++)0===a?this.brandForm.brand_logo=this.brandImgFileList[a].url:this.brandForm.brand_logo+=","+this.brandImgFileList[a].url;this.brandForm.brand_register_cert=this.brandImgFileList[0].url}if(this.factoryImgFileList.length>0)for(var i=0;i<this.factoryImgFileList.length;i++)0===i?this.brandForm.brand_auth=this.factoryImgFileList[i].url:this.brandForm.brand_auth+=","+this.factoryImgFileList[i].url;if(this.shopImgFileList.length>0)for(var r=0;r<this.shopImgFileList.length;r++)0===r?this.brandForm.brand_business_auth=this.shopImgFileList[r].url:this.brandForm.brand_business_auth+=","+this.shopImgFileList[r].url;this.$refs[t].validate((function(t){if(t){var a={},i=[];i.push(e.brandForm),0===e.brandForm.id?(a.brands=i,Object(n["a"])(a).then((function(t){1==t.code?e.$router.push("/fillShopInf"):e.$message({type:"error",message:t.message?t.message:"保存失败"})}))):Object(n["l"])(i).then((function(t){1==t.code?e.$router.push("/fillShopInf"):e.$message({type:"error",message:t.message?t.message:"保存失败"})}))}}))},noBrandNext:function(){this.$router.push("/fillShopInf")}}},o=s,l=(a("d623"),a("2877")),d=Object(l["a"])(o,i,r,!1,null,"44c1b794",null);e["default"]=d.exports},d623:function(t,e,a){"use strict";a("e1b9")},e1b9:function(t,e,a){}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d0d6345"],{"720d":function(t,e,i){(function(t,i){i(e)})(0,(function(t){"use strict";var e="0123456789abcdefghijklmnopqrstuvwxyz";function i(t){return e.charAt(t)}function r(t,e){return t&e}function n(t,e){return t|e}function s(t,e){return t^e}function o(t,e){return t&~e}function h(t){if(0==t)return-1;var e=0;return 0==(65535&t)&&(t>>=16,e+=16),0==(255&t)&&(t>>=8,e+=8),0==(15&t)&&(t>>=4,e+=4),0==(3&t)&&(t>>=2,e+=2),0==(1&t)&&++e,e}function a(t){var e=0;while(0!=t)t&=t-1,++e;return e}var u="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",c="=";function f(t){var e,i,r="";for(e=0;e+3<=t.length;e+=3)i=parseInt(t.substring(e,e+3),16),r+=u.charAt(i>>6)+u.charAt(63&i);e+1==t.length?(i=parseInt(t.substring(e,e+1),16),r+=u.charAt(i<<2)):e+2==t.length&&(i=parseInt(t.substring(e,e+2),16),r+=u.charAt(i>>2)+u.charAt((3&i)<<4));while((3&r.length)>0)r+=c;return r}function l(t){var e,r="",n=0,s=0;for(e=0;e<t.length;++e){if(t.charAt(e)==c)break;var o=u.indexOf(t.charAt(e));o<0||(0==n?(r+=i(o>>2),s=3&o,n=1):1==n?(r+=i(s<<2|o>>4),s=15&o,n=2):2==n?(r+=i(s),r+=i(o>>2),s=3&o,n=3):(r+=i(s<<2|o>>4),r+=i(15&o),n=0))}return 1==n&&(r+=i(s<<2)),r}
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d0c741e"],{"509f":function(t,e,i){(function(t,i){i(e)})(0,(function(t){"use strict";var e="0123456789abcdefghijklmnopqrstuvwxyz";function i(t){return e.charAt(t)}function r(t,e){return t&e}function n(t,e){return t|e}function s(t,e){return t^e}function o(t,e){return t&~e}function h(t){if(0==t)return-1;var e=0;return 0==(65535&t)&&(t>>=16,e+=16),0==(255&t)&&(t>>=8,e+=8),0==(15&t)&&(t>>=4,e+=4),0==(3&t)&&(t>>=2,e+=2),0==(1&t)&&++e,e}function a(t){var e=0;while(0!=t)t&=t-1,++e;return e}var u="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",c="=";function f(t){var e,i,r="";for(e=0;e+3<=t.length;e+=3)i=parseInt(t.substring(e,e+3),16),r+=u.charAt(i>>6)+u.charAt(63&i);e+1==t.length?(i=parseInt(t.substring(e,e+1),16),r+=u.charAt(i<<2)):e+2==t.length&&(i=parseInt(t.substring(e,e+2),16),r+=u.charAt(i>>2)+u.charAt((3&i)<<4));while((3&r.length)>0)r+=c;return r}function l(t){var e,r="",n=0,s=0;for(e=0;e<t.length;++e){if(t.charAt(e)==c)break;var o=u.indexOf(t.charAt(e));o<0||(0==n?(r+=i(o>>2),s=3&o,n=1):1==n?(r+=i(s<<2|o>>4),s=15&o,n=2):2==n?(r+=i(s),r+=i(o>>2),s=3&o,n=3):(r+=i(s<<2|o>>4),r+=i(15&o),n=0))}return 1==n&&(r+=i(s<<2)),r}
/*! *****************************************************************************
Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
......
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d0c7ece"],{5360:function(t,e,a){"use strict";a.r(e);var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"app-container"},[a("el-form",{ref:"queryForm",attrs:{model:t.queryParams,inline:!0}},[a("el-form-item",{attrs:{label:"字典类型",prop:"dictType"}},[a("el-input",{attrs:{placeholder:"请输入字典类型",clearable:"",size:"small"},nativeOn:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.handleQuery(e)}},model:{value:t.queryParams.dictType,callback:function(e){t.$set(t.queryParams,"dictType",e)},expression:"queryParams.dictType"}})],1),t._v(" "),a("el-form-item",{attrs:{label:"字典标签",prop:"dictLabel"}},[a("el-input",{attrs:{placeholder:"请输入字典标签",clearable:"",size:"small"},nativeOn:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.handleQuery(e)}},model:{value:t.queryParams.dictLabel,callback:function(e){t.$set(t.queryParams,"dictLabel",e)},expression:"queryParams.dictLabel"}})],1),t._v(" "),a("el-form-item",{attrs:{label:"状态",prop:"status"}},[a("el-select",{attrs:{placeholder:"数据状态",clearable:"",size:"small"},model:{value:t.queryParams.status,callback:function(e){t.$set(t.queryParams,"status",e)},expression:"queryParams.status"}},t._l(t.statusOptions.values,(function(t){return a("el-option",{key:t.key,attrs:{label:t.value,value:t.key}})})),1)],1),t._v(" "),a("el-form-item",[a("el-button",{attrs:{type:"primary",icon:"el-icon-search",size:"mini"},on:{click:t.handleQuery}},[t._v("搜索")]),t._v(" "),a("el-button",{attrs:{icon:"el-icon-refresh",size:"mini"},on:{click:t.resetQuery}},[t._v("重置")])],1)],1),t._v(" "),a("el-row",{staticClass:"mb8",attrs:{gutter:10}},[a("el-col",{attrs:{span:1.5}},[a("el-button",{attrs:{type:"primary",icon:"el-icon-plus",size:"mini"},on:{click:t.handleAdd}},[t._v("新增")])],1),t._v(" "),a("el-col",{attrs:{span:1.5}},[a("el-button",{attrs:{type:"success",icon:"el-icon-edit",size:"mini",disabled:t.single},on:{click:t.handleUpdate}},[t._v("修改")])],1),t._v(" "),a("el-col",{attrs:{span:1.5}},[a("el-button",{attrs:{type:"danger",icon:"el-icon-delete",size:"mini",disabled:t.multiple},on:{click:t.handleDelete}},[t._v("删除")])],1)],1),t._v(" "),a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],attrs:{data:t.dataList},on:{"selection-change":t.handleSelectionChange}},[a("el-table-column",{attrs:{type:"selection",width:"55",align:"center"}}),t._v(" "),a("el-table-column",{attrs:{label:"字典编码",align:"center",prop:"dict_code"}}),t._v(" "),a("el-table-column",{attrs:{label:"字典标签",align:"center",prop:"dict_label"}}),t._v(" "),a("el-table-column",{attrs:{label:"字典键值",align:"center",prop:"dict_value"}}),t._v(" "),a("el-table-column",{attrs:{label:"字典排序",align:"center",prop:"dict_sort"}}),t._v(" "),a("el-table-column",{attrs:{label:"状态",align:"center",prop:"status",formatter:t.statusFormat}}),t._v(" "),a("el-table-column",{attrs:{label:"备注",align:"center",prop:"remark","show-overflow-tooltip":!0}}),t._v(" "),a("el-table-column",{attrs:{label:"创建时间",align:"center",prop:"create_time",width:"180"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",[t._v(t._s(t.parseTime(e.row.create_time)))])]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"操作",align:"center","class-name":"small-padding fixed-width"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("el-button",{attrs:{size:"mini",type:"text",icon:"el-icon-edit"},on:{click:function(a){return t.handleUpdate(e.row)}}},[t._v("修改")]),t._v(" "),a("el-button",{attrs:{size:"mini",type:"text",icon:"el-icon-delete"},on:{click:function(a){return t.handleDelete(e.row)}}},[t._v("删除")])]}}])})],1),t._v(" "),a("pagination",{directives:[{name:"show",rawName:"v-show",value:t.total>0,expression:"total>0"}],attrs:{total:t.total,page:t.queryParams.pageNum,limit:t.queryParams.pageSize},on:{"update:page":function(e){return t.$set(t.queryParams,"pageNum",e)},"update:limit":function(e){return t.$set(t.queryParams,"pageSize",e)},pagination:t.getList}}),t._v(" "),a("el-dialog",{attrs:{title:t.title,visible:t.open,width:"500px","append-to-body":""},on:{"update:visible":function(e){t.open=e}}},[a("el-form",{ref:"form",attrs:{model:t.form,rules:t.rules,"label-width":"80px"}},[a("el-form-item",{attrs:{label:"字典类型"}},[a("el-input",{attrs:{disabled:!0},model:{value:t.form.dictType,callback:function(e){t.$set(t.form,"dictType",e)},expression:"form.dictType"}})],1),t._v(" "),a("el-form-item",{attrs:{label:"数据标签",prop:"dictLabel"}},[a("el-input",{attrs:{placeholder:"请输入数据标签"},model:{value:t.form.dictLabel,callback:function(e){t.$set(t.form,"dictLabel",e)},expression:"form.dictLabel"}})],1),t._v(" "),a("el-form-item",{attrs:{label:"数据键值",prop:"dictValue"}},[a("el-input",{attrs:{placeholder:"请输入数据键值"},model:{value:t.form.dictValue,callback:function(e){t.$set(t.form,"dictValue",e)},expression:"form.dictValue"}})],1),t._v(" "),a("el-form-item",{attrs:{label:"显示排序",prop:"dictSort"}},[a("el-input-number",{attrs:{"controls-position":"right",min:0},model:{value:t.form.dictSort,callback:function(e){t.$set(t.form,"dictSort",e)},expression:"form.dictSort"}})],1),t._v(" "),a("el-form-item",{attrs:{label:"系统默认"}},[a("el-switch",{attrs:{"active-text":"是","inactive-text":"否","active-value":"1","inactive-value":"0"},model:{value:t.form.isDefault,callback:function(e){t.$set(t.form,"isDefault",e)},expression:"form.isDefault"}})],1),t._v(" "),a("el-form-item",{attrs:{label:"状态",prop:"status"}},[a("el-radio-group",{model:{value:t.form.status,callback:function(e){t.$set(t.form,"status",e)},expression:"form.status"}},t._l(t.statusOptions.values,(function(e){return a("el-radio",{key:e.key,attrs:{label:e.key}},[t._v(t._s(e.value))])})),1)],1),t._v(" "),a("el-form-item",{attrs:{label:"备注",prop:"remark"}},[a("el-input",{attrs:{type:"textarea",placeholder:"请输入内容"},model:{value:t.form.remark,callback:function(e){t.$set(t.form,"remark",e)},expression:"form.remark"}})],1)],1),t._v(" "),a("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{attrs:{type:"primary"},on:{click:t.submitForm}},[t._v("确 定")]),t._v(" "),a("el-button",{on:{click:t.cancel}},[t._v("取 消")])],1)],1)],1)},l=[],r=(a("ac6a"),a("aa3a")),s={name:"Data",data:function(){return{loading:!0,ids:[],single:!0,multiple:!0,total:0,dataList:[],defaultDictType:"",title:"",open:!1,statusOptions:[],typeOptions:[],queryParams:{pageNum:1,pageSize:10,dictName:void 0,dictType:void 0,status:void 0},form:{},rules:{dictLabel:[{required:!0,message:"数据标签不能为空",trigger:"blur"}],dictValue:[{required:!0,message:"数据键值不能为空",trigger:"blur"}],dictSort:[{required:!0,message:"数据顺序不能为空",trigger:"blur"}]}}},created:function(){var t=this.$route.params&&this.$route.params.dictType;this.queryParams.dictType=t,this.getList()},methods:{getList:function(){var t=this;this.loading=!0,Object(r["f"])(this.queryParams).then((function(e){t.dataList=e.data.list,t.statusOptions=e.data.searchStatus,t.total=e.data.total,t.loading=!1}))},statusFormat:function(t,e){return this.selectDictLabel(this.statusOptions.values,t.status)},cancel:function(){this.open=!1,this.reset()},reset:function(){this.form={dictCode:void 0,dictLabel:void 0,dictValue:void 0,dictSort:0,isDefault:"0",status:"1",remark:void 0},this.resetForm("form")},handleQuery:function(){this.queryParams.pageNum=1,this.getList()},resetQuery:function(){this.resetForm("queryForm"),this.queryParams.dictType=this.defaultDictType,this.handleQuery()},handleAdd:function(){this.reset(),this.open=!0,this.title="添加字典数据",this.form.dictType=this.queryParams.dictType},handleSelectionChange:function(t){this.ids=t.map((function(t){return t.dict_code})),this.single=1!=t.length,this.multiple=!t.length},handleUpdate:function(t){var e=this;this.reset();var a=t.dict_code||this.ids;Object(r["d"])(a).then((function(t){e.form={dictType:t.data.dict_type,dictCode:t.data.dict_code,dictLabel:t.data.dict_label,dictValue:t.data.dict_value,dictSort:t.data.dict_sort,isDefault:""+t.data.is_default,status:""+t.data.status,remark:t.data.remark},e.open=!0,e.title="修改字典数据"}))},submitForm:function(){var t=this;this.$refs["form"].validate((function(e){e&&(void 0!=t.form.dictCode?Object(r["g"])(t.form).then((function(e){0===e.code?(t.msgSuccess("修改成功"),t.open=!1,t.getList()):t.msgError(e.msg)})):Object(r["a"])(t.form).then((function(e){0===e.code?(t.msgSuccess("新增成功"),t.open=!1,t.getList()):t.msgError(e.msg)})))}))},handleDelete:function(t){var e=this,a=t.dict_code||this.ids;this.$confirm('是否确认删除字典编码为"'+a+'"的数据项?',"警告",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){return Object(r["b"])(a)})).then((function(){e.getList(),e.msgSuccess("删除成功")})).catch((function(){}))},handleExport:function(){var t=this,e=this.queryParams;this.$confirm("是否确认导出所有数据项?","警告",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){return Object(r["c"])(e)})).then((function(e){t.download(e.msg)})).catch((function(){}))}}},n=s,o=a("2877"),c=Object(o["a"])(n,i,l,!1,null,null,null);e["default"]=c.exports}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d0c7ece"],{5360:function(t,e,a){"use strict";a.r(e);var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"app-container"},[a("el-form",{ref:"queryForm",attrs:{model:t.queryParams,inline:!0}},[a("el-form-item",{attrs:{label:"字典类型",prop:"dictType"}},[a("el-input",{attrs:{placeholder:"请输入字典类型",clearable:"",size:"small"},nativeOn:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.handleQuery(e)}},model:{value:t.queryParams.dictType,callback:function(e){t.$set(t.queryParams,"dictType",e)},expression:"queryParams.dictType"}})],1),t._v(" "),a("el-form-item",{attrs:{label:"字典标签",prop:"dictLabel"}},[a("el-input",{attrs:{placeholder:"请输入字典标签",clearable:"",size:"small"},nativeOn:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.handleQuery(e)}},model:{value:t.queryParams.dictLabel,callback:function(e){t.$set(t.queryParams,"dictLabel",e)},expression:"queryParams.dictLabel"}})],1),t._v(" "),a("el-form-item",{attrs:{label:"状态",prop:"status"}},[a("el-select",{attrs:{placeholder:"数据状态",clearable:"",size:"small"},model:{value:t.queryParams.status,callback:function(e){t.$set(t.queryParams,"status",e)},expression:"queryParams.status"}},t._l(t.statusOptions.values,(function(t){return a("el-option",{key:t.key,attrs:{label:t.value,value:t.key}})})),1)],1),t._v(" "),a("el-form-item",[a("el-button",{attrs:{type:"primary",icon:"el-icon-search",size:"mini"},on:{click:t.handleQuery}},[t._v("搜索")]),t._v(" "),a("el-button",{attrs:{icon:"el-icon-refresh",size:"mini"},on:{click:t.resetQuery}},[t._v("重置")])],1)],1),t._v(" "),a("el-row",{staticClass:"mb8",attrs:{gutter:10}},[a("el-col",{attrs:{span:1.5}},[a("el-button",{attrs:{type:"primary",icon:"el-icon-plus",size:"mini"},on:{click:t.handleAdd}},[t._v("新增")])],1),t._v(" "),a("el-col",{attrs:{span:1.5}},[a("el-button",{attrs:{type:"success",icon:"el-icon-edit",size:"mini",disabled:t.single},on:{click:t.handleUpdate}},[t._v("修改")])],1),t._v(" "),a("el-col",{attrs:{span:1.5}},[a("el-button",{attrs:{type:"danger",icon:"el-icon-delete",size:"mini",disabled:t.multiple},on:{click:t.handleDelete}},[t._v("删除")])],1)],1),t._v(" "),a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],attrs:{data:t.dataList},on:{"selection-change":t.handleSelectionChange}},[a("el-table-column",{attrs:{type:"selection",width:"55",align:"center"}}),t._v(" "),a("el-table-column",{attrs:{label:"字典编码",align:"center",prop:"dict_code"}}),t._v(" "),a("el-table-column",{attrs:{label:"字典标签",align:"center",prop:"dict_label"}}),t._v(" "),a("el-table-column",{attrs:{label:"字典键值",align:"center",prop:"dict_value"}}),t._v(" "),a("el-table-column",{attrs:{label:"字典排序",align:"center",prop:"dict_sort"}}),t._v(" "),a("el-table-column",{attrs:{label:"状态",align:"center",prop:"status",formatter:t.statusFormat}}),t._v(" "),a("el-table-column",{attrs:{label:"备注",align:"center",prop:"remark","show-overflow-tooltip":!0}}),t._v(" "),a("el-table-column",{attrs:{label:"创建时间",align:"center",prop:"create_time",width:"180"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",[t._v(t._s(t.parseTime(e.row.create_time)))])]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"操作",align:"center","class-name":"small-padding fixed-width"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("el-button",{attrs:{size:"mini",type:"text",icon:"el-icon-edit"},on:{click:function(a){return t.handleUpdate(e.row)}}},[t._v("修改")]),t._v(" "),a("el-button",{attrs:{size:"mini",type:"text",icon:"el-icon-delete"},on:{click:function(a){return t.handleDelete(e.row)}}},[t._v("删除")])]}}])})],1),t._v(" "),a("pagination",{directives:[{name:"show",rawName:"v-show",value:t.total>0,expression:"total>0"}],attrs:{total:t.total,page:t.queryParams.pageNum,limit:t.queryParams.pageSize},on:{"update:page":function(e){return t.$set(t.queryParams,"pageNum",e)},"update:limit":function(e){return t.$set(t.queryParams,"pageSize",e)},pagination:t.getList}}),t._v(" "),a("el-dialog",{attrs:{title:t.title,visible:t.open,width:"500px","append-to-body":""},on:{"update:visible":function(e){t.open=e}}},[a("el-form",{ref:"form",attrs:{model:t.form,rules:t.rules,"label-width":"80px"}},[a("el-form-item",{attrs:{label:"字典类型"}},[a("el-input",{attrs:{disabled:!0},model:{value:t.form.dictType,callback:function(e){t.$set(t.form,"dictType",e)},expression:"form.dictType"}})],1),t._v(" "),a("el-form-item",{attrs:{label:"数据标签",prop:"dictLabel"}},[a("el-input",{attrs:{placeholder:"请输入数据标签"},model:{value:t.form.dictLabel,callback:function(e){t.$set(t.form,"dictLabel",e)},expression:"form.dictLabel"}})],1),t._v(" "),a("el-form-item",{attrs:{label:"数据键值",prop:"dictValue"}},[a("el-input",{attrs:{placeholder:"请输入数据键值"},model:{value:t.form.dictValue,callback:function(e){t.$set(t.form,"dictValue",e)},expression:"form.dictValue"}})],1),t._v(" "),a("el-form-item",{attrs:{label:"显示排序",prop:"dictSort"}},[a("el-input-number",{attrs:{"controls-position":"right",min:0},model:{value:t.form.dictSort,callback:function(e){t.$set(t.form,"dictSort",e)},expression:"form.dictSort"}})],1),t._v(" "),a("el-form-item",{attrs:{label:"系统默认"}},[a("el-switch",{attrs:{"active-text":"是","inactive-text":"否","active-value":"1","inactive-value":"0"},model:{value:t.form.isDefault,callback:function(e){t.$set(t.form,"isDefault",e)},expression:"form.isDefault"}})],1),t._v(" "),a("el-form-item",{attrs:{label:"状态",prop:"status"}},[a("el-radio-group",{model:{value:t.form.status,callback:function(e){t.$set(t.form,"status",e)},expression:"form.status"}},t._l(t.statusOptions.values,(function(e){return a("el-radio",{key:e.key,attrs:{label:e.key}},[t._v(t._s(e.value))])})),1)],1),t._v(" "),a("el-form-item",{attrs:{label:"备注",prop:"remark"}},[a("el-input",{attrs:{type:"textarea",placeholder:"请输入内容"},model:{value:t.form.remark,callback:function(e){t.$set(t.form,"remark",e)},expression:"form.remark"}})],1)],1),t._v(" "),a("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{attrs:{type:"primary"},on:{click:t.submitForm}},[t._v("确 定")]),t._v(" "),a("el-button",{on:{click:t.cancel}},[t._v("取 消")])],1)],1)],1)},l=[],r=(a("1bc7"),a("aa3a")),s={name:"Data",data:function(){return{loading:!0,ids:[],single:!0,multiple:!0,total:0,dataList:[],defaultDictType:"",title:"",open:!1,statusOptions:[],typeOptions:[],queryParams:{pageNum:1,pageSize:10,dictName:void 0,dictType:void 0,status:void 0},form:{},rules:{dictLabel:[{required:!0,message:"数据标签不能为空",trigger:"blur"}],dictValue:[{required:!0,message:"数据键值不能为空",trigger:"blur"}],dictSort:[{required:!0,message:"数据顺序不能为空",trigger:"blur"}]}}},created:function(){var t=this.$route.params&&this.$route.params.dictType;this.queryParams.dictType=t,this.getList()},methods:{getList:function(){var t=this;this.loading=!0,Object(r["f"])(this.queryParams).then((function(e){t.dataList=e.data.list,t.statusOptions=e.data.searchStatus,t.total=e.data.total,t.loading=!1}))},statusFormat:function(t,e){return this.selectDictLabel(this.statusOptions.values,t.status)},cancel:function(){this.open=!1,this.reset()},reset:function(){this.form={dictCode:void 0,dictLabel:void 0,dictValue:void 0,dictSort:0,isDefault:"0",status:"1",remark:void 0},this.resetForm("form")},handleQuery:function(){this.queryParams.pageNum=1,this.getList()},resetQuery:function(){this.resetForm("queryForm"),this.queryParams.dictType=this.defaultDictType,this.handleQuery()},handleAdd:function(){this.reset(),this.open=!0,this.title="添加字典数据",this.form.dictType=this.queryParams.dictType},handleSelectionChange:function(t){this.ids=t.map((function(t){return t.dict_code})),this.single=1!=t.length,this.multiple=!t.length},handleUpdate:function(t){var e=this;this.reset();var a=t.dict_code||this.ids;Object(r["d"])(a).then((function(t){e.form={dictType:t.data.dict_type,dictCode:t.data.dict_code,dictLabel:t.data.dict_label,dictValue:t.data.dict_value,dictSort:t.data.dict_sort,isDefault:""+t.data.is_default,status:""+t.data.status,remark:t.data.remark},e.open=!0,e.title="修改字典数据"}))},submitForm:function(){var t=this;this.$refs["form"].validate((function(e){e&&(void 0!=t.form.dictCode?Object(r["g"])(t.form).then((function(e){0===e.code?(t.msgSuccess("修改成功"),t.open=!1,t.getList()):t.msgError(e.msg)})):Object(r["a"])(t.form).then((function(e){0===e.code?(t.msgSuccess("新增成功"),t.open=!1,t.getList()):t.msgError(e.msg)})))}))},handleDelete:function(t){var e=this,a=t.dict_code||this.ids;this.$confirm('是否确认删除字典编码为"'+a+'"的数据项?',"警告",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){return Object(r["b"])(a)})).then((function(){e.getList(),e.msgSuccess("删除成功")})).catch((function(){}))},handleExport:function(){var t=this,e=this.queryParams;this.$confirm("是否确认导出所有数据项?","警告",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){return Object(r["c"])(e)})).then((function(e){t.download(e.msg)})).catch((function(){}))}}},n=s,o=a("cba8"),c=Object(o["a"])(n,i,l,!1,null,null,null);e["default"]=c.exports}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d0e2366"],{"7e79":function(t,e,o){!function(e,o){t.exports=o()}(window,(function(){return function(t){var e={};function o(n){if(e[n])return e[n].exports;var r=e[n]={i:n,l:!1,exports:{}};return t[n].call(r.exports,r,r.exports,o),r.l=!0,r.exports}return o.m=t,o.c=e,o.d=function(t,e,n){o.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},o.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},o.t=function(t,e){if(1&e&&(t=o(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(o.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)o.d(n,r,function(e){return t[e]}.bind(null,r));return n},o.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return o.d(e,"a",e),e},o.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},o.p="",o(o.s=6)}([function(t,e,o){var n=o(2);"string"==typeof n&&(n=[[t.i,n,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};o(4)(n,r),n.locals&&(t.exports=n.locals)},function(t,e,o){"use strict";var n=o(0);o.n(n).a},function(t,e,o){(t.exports=o(3)(!1)).push([t.i,'\n.vue-cropper[data-v-6dae58fd] {\n position: relative;\n width: 100%;\n height: 100%;\n box-sizing: border-box;\n user-select: none;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n direction: ltr;\n touch-action: none;\n text-align: left;\n background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQAQMAAAAlPW0iAAAAA3NCSVQICAjb4U/gAAAABlBMVEXMzMz////TjRV2AAAACXBIWXMAAArrAAAK6wGCiw1aAAAAHHRFWHRTb2Z0d2FyZQBBZG9iZSBGaXJld29ya3MgQ1M26LyyjAAAABFJREFUCJlj+M/AgBVhF/0PAH6/D/HkDxOGAAAAAElFTkSuQmCC");\n}\n.cropper-box[data-v-6dae58fd],\n.cropper-box-canvas[data-v-6dae58fd],\n.cropper-drag-box[data-v-6dae58fd],\n.cropper-crop-box[data-v-6dae58fd],\n.cropper-face[data-v-6dae58fd] {\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n user-select: none;\n}\n.cropper-box-canvas img[data-v-6dae58fd] {\n position: relative;\n text-align: left;\n user-select: none;\n transform: none;\n max-width: none;\n max-height: none;\n}\n.cropper-box[data-v-6dae58fd] {\n overflow: hidden;\n}\n.cropper-move[data-v-6dae58fd] {\n cursor: move;\n}\n.cropper-crop[data-v-6dae58fd] {\n cursor: crosshair;\n}\n.cropper-modal[data-v-6dae58fd] {\n background: rgba(0, 0, 0, 0.5);\n}\n.cropper-crop-box[data-v-6dae58fd] {\n /*border: 2px solid #39f;*/\n}\n.cropper-view-box[data-v-6dae58fd] {\n display: block;\n overflow: hidden;\n width: 100%;\n height: 100%;\n outline: 1px solid #39f;\n outline-color: rgba(51, 153, 255, 0.75);\n user-select: none;\n}\n.cropper-view-box img[data-v-6dae58fd] {\n user-select: none;\n text-align: left;\n max-width: none;\n max-height: none;\n}\n.cropper-face[data-v-6dae58fd] {\n top: 0;\n left: 0;\n background-color: #fff;\n opacity: 0.1;\n}\n.crop-info[data-v-6dae58fd] {\n position: absolute;\n left: 0px;\n min-width: 65px;\n text-align: center;\n color: white;\n line-height: 20px;\n background-color: rgba(0, 0, 0, 0.8);\n font-size: 12px;\n}\n.crop-line[data-v-6dae58fd] {\n position: absolute;\n display: block;\n width: 100%;\n height: 100%;\n opacity: 0.1;\n}\n.line-w[data-v-6dae58fd] {\n top: -3px;\n left: 0;\n height: 5px;\n cursor: n-resize;\n}\n.line-a[data-v-6dae58fd] {\n top: 0;\n left: -3px;\n width: 5px;\n cursor: w-resize;\n}\n.line-s[data-v-6dae58fd] {\n bottom: -3px;\n left: 0;\n height: 5px;\n cursor: s-resize;\n}\n.line-d[data-v-6dae58fd] {\n top: 0;\n right: -3px;\n width: 5px;\n cursor: e-resize;\n}\n.crop-point[data-v-6dae58fd] {\n position: absolute;\n width: 8px;\n height: 8px;\n opacity: 0.75;\n background-color: #39f;\n border-radius: 100%;\n}\n.point1[data-v-6dae58fd] {\n top: -4px;\n left: -4px;\n cursor: nw-resize;\n}\n.point2[data-v-6dae58fd] {\n top: -5px;\n left: 50%;\n margin-left: -3px;\n cursor: n-resize;\n}\n.point3[data-v-6dae58fd] {\n top: -4px;\n right: -4px;\n cursor: ne-resize;\n}\n.point4[data-v-6dae58fd] {\n top: 50%;\n left: -4px;\n margin-top: -3px;\n cursor: w-resize;\n}\n.point5[data-v-6dae58fd] {\n top: 50%;\n right: -4px;\n margin-top: -3px;\n cursor: e-resize;\n}\n.point6[data-v-6dae58fd] {\n bottom: -5px;\n left: -4px;\n cursor: sw-resize;\n}\n.point7[data-v-6dae58fd] {\n bottom: -5px;\n left: 50%;\n margin-left: -3px;\n cursor: s-resize;\n}\n.point8[data-v-6dae58fd] {\n bottom: -5px;\n right: -4px;\n cursor: se-resize;\n}\n@media screen and (max-width: 500px) {\n.crop-point[data-v-6dae58fd] {\n position: absolute;\n width: 20px;\n height: 20px;\n opacity: 0.45;\n background-color: #39f;\n border-radius: 100%;\n}\n.point1[data-v-6dae58fd] {\n top: -10px;\n left: -10px;\n}\n.point2[data-v-6dae58fd],\n .point4[data-v-6dae58fd],\n .point5[data-v-6dae58fd],\n .point7[data-v-6dae58fd] {\n display: none;\n}\n.point3[data-v-6dae58fd] {\n top: -10px;\n right: -10px;\n}\n.point4[data-v-6dae58fd] {\n top: 0;\n left: 0;\n}\n.point6[data-v-6dae58fd] {\n bottom: -10px;\n left: -10px;\n}\n.point8[data-v-6dae58fd] {\n bottom: -10px;\n right: -10px;\n}\n}\n',""])},function(t,e){t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var o=function(t,e){var o=t[1]||"",n=t[3];if(!n)return o;if(e&&"function"==typeof btoa){var r=function(t){return"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(t))))+" */"}(n),i=n.sources.map((function(t){return"/*# sourceURL="+n.sourceRoot+t+" */"}));return[o].concat(i).concat([r]).join("\n")}return[o].join("\n")}(e,t);return e[2]?"@media "+e[2]+"{"+o+"}":o})).join("")},e.i=function(t,o){"string"==typeof t&&(t=[[null,t,""]]);for(var n={},r=0;r<this.length;r++){var i=this[r][0];"number"==typeof i&&(n[i]=!0)}for(r=0;r<t.length;r++){var s=t[r];"number"==typeof s[0]&&n[s[0]]||(o&&!s[2]?s[2]=o:o&&(s[2]="("+s[2]+") and ("+o+")"),e.push(s))}},e}},function(t,e,o){var n={},r=function(t){var e;return function(){return void 0===e&&(e=t.apply(this,arguments)),e}}((function(){return window&&document&&document.all&&!window.atob})),i=function(t){var e={};return function(t,o){if("function"==typeof t)return t();if(void 0===e[t]){var n=function(t,e){return e?e.querySelector(t):document.querySelector(t)}.call(this,t,o);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(t){n=null}e[t]=n}return e[t]}}(),s=null,a=0,c=[],h=o(5);function p(t,e){for(var o=0;o<t.length;o++){var r=t[o],i=n[r.id];if(i){i.refs++;for(var s=0;s<i.parts.length;s++)i.parts[s](r.parts[s]);for(;s<r.parts.length;s++)i.parts.push(v(r.parts[s],e))}else{var a=[];for(s=0;s<r.parts.length;s++)a.push(v(r.parts[s],e));n[r.id]={id:r.id,refs:1,parts:a}}}}function u(t,e){for(var o=[],n={},r=0;r<t.length;r++){var i=t[r],s=e.base?i[0]+e.base:i[0],a={css:i[1],media:i[2],sourceMap:i[3]};n[s]?n[s].parts.push(a):o.push(n[s]={id:s,parts:[a]})}return o}function d(t,e){var o=i(t.insertInto);if(!o)throw new Error("Couldn't find a style target. This probably means that the value for the 'insertInto' parameter is invalid.");var n=c[c.length-1];if("top"===t.insertAt)n?n.nextSibling?o.insertBefore(e,n.nextSibling):o.appendChild(e):o.insertBefore(e,o.firstChild),c.push(e);else if("bottom"===t.insertAt)o.appendChild(e);else{if("object"!=typeof t.insertAt||!t.insertAt.before)throw new Error("[Style Loader]\n\n Invalid value for parameter 'insertAt' ('options.insertAt') found.\n Must be 'top', 'bottom', or Object.\n (https://github.com/webpack-contrib/style-loader#insertat)\n");var r=i(t.insertAt.before,o);o.insertBefore(e,r)}}function l(t){if(null===t.parentNode)return!1;t.parentNode.removeChild(t);var e=c.indexOf(t);e>=0&&c.splice(e,1)}function f(t){var e=document.createElement("style");if(void 0===t.attrs.type&&(t.attrs.type="text/css"),void 0===t.attrs.nonce){var n=function(){return o.nc}();n&&(t.attrs.nonce=n)}return g(e,t.attrs),d(t,e),e}function g(t,e){Object.keys(e).forEach((function(o){t.setAttribute(o,e[o])}))}function v(t,e){var o,n,r,i;if(e.transform&&t.css){if(!(i="function"==typeof e.transform?e.transform(t.css):e.transform.default(t.css)))return function(){};t.css=i}if(e.singleton){var c=a++;o=s||(s=f(e)),n=w.bind(null,o,c,!1),r=w.bind(null,o,c,!0)}else t.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(o=function(t){var e=document.createElement("link");return void 0===t.attrs.type&&(t.attrs.type="text/css"),t.attrs.rel="stylesheet",g(e,t.attrs),d(t,e),e}(e),n=function(t,e,o){var n=o.css,r=o.sourceMap,i=void 0===e.convertToAbsoluteUrls&&r;(e.convertToAbsoluteUrls||i)&&(n=h(n)),r&&(n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(r))))+" */");var s=new Blob([n],{type:"text/css"}),a=t.href;t.href=URL.createObjectURL(s),a&&URL.revokeObjectURL(a)}.bind(null,o,e),r=function(){l(o),o.href&&URL.revokeObjectURL(o.href)}):(o=f(e),n=function(t,e){var o=e.css,n=e.media;if(n&&t.setAttribute("media",n),t.styleSheet)t.styleSheet.cssText=o;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(o))}}.bind(null,o),r=function(){l(o)});return n(t),function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap)return;n(t=e)}else r()}}t.exports=function(t,e){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");(e=e||{}).attrs="object"==typeof e.attrs?e.attrs:{},e.singleton||"boolean"==typeof e.singleton||(e.singleton=r()),e.insertInto||(e.insertInto="head"),e.insertAt||(e.insertAt="bottom");var o=u(t,e);return p(o,e),function(t){for(var r=[],i=0;i<o.length;i++){var s=o[i];(a=n[s.id]).refs--,r.push(a)}for(t&&p(u(t,e),e),i=0;i<r.length;i++){var a;if(0===(a=r[i]).refs){for(var c=0;c<a.parts.length;c++)a.parts[c]();delete n[a.id]}}}};var m=function(){var t=[];return function(e,o){return t[e]=o,t.filter(Boolean).join("\n")}}();function w(t,e,o,n){var r=o?"":n.css;if(t.styleSheet)t.styleSheet.cssText=m(e,r);else{var i=document.createTextNode(r),s=t.childNodes;s[e]&&t.removeChild(s[e]),s.length?t.insertBefore(i,s[e]):t.appendChild(i)}}},function(t,e){t.exports=function(t){var e="undefined"!=typeof window&&window.location;if(!e)throw new Error("fixUrls requires window.location");if(!t||"string"!=typeof t)return t;var o=e.protocol+"//"+e.host,n=o+e.pathname.replace(/\/[^\/]*$/,"/");return t.replace(/url\s*\(((?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)\)/gi,(function(t,e){var r,i=e.trim().replace(/^"(.*)"$/,(function(t,e){return e})).replace(/^'(.*)'$/,(function(t,e){return e}));return/^(#|data:|http:\/\/|https:\/\/|file:\/\/\/|\s*$)/i.test(i)?t:(r=0===i.indexOf("//")?i:0===i.indexOf("/")?o+i:n+i.replace(/^\.\//,""),"url("+JSON.stringify(r)+")")}))}},function(t,e,o){"use strict";o.r(e);var n=function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("div",{ref:"cropper",staticClass:"vue-cropper",on:{mouseover:t.scaleImg,mouseout:t.cancelScale}},[o("div",{staticClass:"cropper-box"},[o("div",{directives:[{name:"show",rawName:"v-show",value:!t.loading,expression:"!loading"}],staticClass:"cropper-box-canvas",style:{width:t.trueWidth+"px",height:t.trueHeight+"px",transform:"scale("+t.scale+","+t.scale+") translate3d("+t.x/t.scale+"px,"+t.y/t.scale+"px,0)rotateZ("+90*t.rotate+"deg)"}},[o("img",{ref:"cropperImg",attrs:{src:t.imgs,alt:"cropper-img"}})])]),t._v(" "),o("div",{staticClass:"cropper-drag-box",class:{"cropper-move":t.move&&!t.crop,"cropper-crop":t.crop,"cropper-modal":t.cropping},on:{mousedown:t.startMove,touchstart:t.startMove}}),t._v(" "),o("div",{directives:[{name:"show",rawName:"v-show",value:t.cropping,expression:"cropping"}],staticClass:"cropper-crop-box",style:{width:t.cropW+"px",height:t.cropH+"px",transform:"translate3d("+t.cropOffsertX+"px,"+t.cropOffsertY+"px,0)"}},[o("span",{staticClass:"cropper-view-box"},[o("img",{style:{width:t.trueWidth+"px",height:t.trueHeight+"px",transform:"scale("+t.scale+","+t.scale+") translate3d("+(t.x-t.cropOffsertX)/t.scale+"px,"+(t.y-t.cropOffsertY)/t.scale+"px,0)rotateZ("+90*t.rotate+"deg)"},attrs:{src:t.imgs,alt:"cropper-img"}})]),t._v(" "),o("span",{staticClass:"cropper-face cropper-move",on:{mousedown:t.cropMove,touchstart:t.cropMove}}),t._v(" "),t.info?o("span",{staticClass:"crop-info",style:{top:t.cropInfo.top}},[t._v(t._s(this.cropInfo.width)+" × "+t._s(this.cropInfo.height))]):t._e(),t._v(" "),t.fixedBox?t._e():o("span",[o("span",{staticClass:"crop-line line-w",on:{mousedown:function(e){t.changeCropSize(e,!1,!0,0,1)},touchstart:function(e){t.changeCropSize(e,!1,!0,0,1)}}}),t._v(" "),o("span",{staticClass:"crop-line line-a",on:{mousedown:function(e){t.changeCropSize(e,!0,!1,1,0)},touchstart:function(e){t.changeCropSize(e,!0,!1,1,0)}}}),t._v(" "),o("span",{staticClass:"crop-line line-s",on:{mousedown:function(e){t.changeCropSize(e,!1,!0,0,2)},touchstart:function(e){t.changeCropSize(e,!1,!0,0,2)}}}),t._v(" "),o("span",{staticClass:"crop-line line-d",on:{mousedown:function(e){t.changeCropSize(e,!0,!1,2,0)},touchstart:function(e){t.changeCropSize(e,!0,!1,2,0)}}}),t._v(" "),o("span",{staticClass:"crop-point point1",on:{mousedown:function(e){t.changeCropSize(e,!0,!0,1,1)},touchstart:function(e){t.changeCropSize(e,!0,!0,1,1)}}}),t._v(" "),o("span",{staticClass:"crop-point point2",on:{mousedown:function(e){t.changeCropSize(e,!1,!0,0,1)},touchstart:function(e){t.changeCropSize(e,!1,!0,0,1)}}}),t._v(" "),o("span",{staticClass:"crop-point point3",on:{mousedown:function(e){t.changeCropSize(e,!0,!0,2,1)},touchstart:function(e){t.changeCropSize(e,!0,!0,2,1)}}}),t._v(" "),o("span",{staticClass:"crop-point point4",on:{mousedown:function(e){t.changeCropSize(e,!0,!1,1,0)},touchstart:function(e){t.changeCropSize(e,!0,!1,1,0)}}}),t._v(" "),o("span",{staticClass:"crop-point point5",on:{mousedown:function(e){t.changeCropSize(e,!0,!1,2,0)},touchstart:function(e){t.changeCropSize(e,!0,!1,2,0)}}}),t._v(" "),o("span",{staticClass:"crop-point point6",on:{mousedown:function(e){t.changeCropSize(e,!0,!0,1,2)},touchstart:function(e){t.changeCropSize(e,!0,!0,1,2)}}}),t._v(" "),o("span",{staticClass:"crop-point point7",on:{mousedown:function(e){t.changeCropSize(e,!1,!0,0,2)},touchstart:function(e){t.changeCropSize(e,!1,!0,0,2)}}}),t._v(" "),o("span",{staticClass:"crop-point point8",on:{mousedown:function(e){t.changeCropSize(e,!0,!0,2,2)},touchstart:function(e){t.changeCropSize(e,!0,!0,2,2)}}})])])])};n._withStripped=!0;var r={getData:function(t){return new Promise((function(e,o){var n={};(function(t){var e=null;return new Promise((function(o,n){if(t.src)if(/^data\:/i.test(t.src))e=function(t){t=t.replace(/^data\:([^\;]+)\;base64,/gim,"");for(var e=atob(t),o=e.length,n=new ArrayBuffer(o),r=new Uint8Array(n),i=0;i<o;i++)r[i]=e.charCodeAt(i);return n}(t.src),o(e);else if(/^blob\:/i.test(t.src)){var r=new FileReader;r.onload=function(t){e=t.target.result,o(e)},function(t,e){var o=new XMLHttpRequest;o.open("GET",t,!0),o.responseType="blob",o.onload=function(t){200!=this.status&&0!==this.status||e(this.response)},o.send()}(t.src,(function(t){r.readAsArrayBuffer(t)}))}else{var i=new XMLHttpRequest;i.onload=function(){if(200!=this.status&&0!==this.status)throw"Could not load image";e=i.response,o(e),i=null},i.open("GET",t.src,!0),i.responseType="arraybuffer",i.send(null)}else n("img error")}))})(t).then((function(t){n.arrayBuffer=t,n.orientation=function(t){var e,o,n,r,i,s,a,c,h,p=new DataView(t),u=p.byteLength;if(255===p.getUint8(0)&&216===p.getUint8(1))for(c=2;c<u;){if(255===p.getUint8(c)&&225===p.getUint8(c+1)){s=c;break}c++}if(s&&(o=s+10,"Exif"===function(t,e,o){var n,r="";for(n=e,o+=e;n<o;n++)r+=String.fromCharCode(t.getUint8(n));return r}(p,s+4,4)&&(i=p.getUint16(o),((r=18761===i)||19789===i)&&42===p.getUint16(o+2,r)&&(n=p.getUint32(o+4,r))>=8&&(a=o+n))),a)for(u=p.getUint16(a,r),h=0;h<u;h++)if(c=a+12*h+2,274===p.getUint16(c,r)){c+=8,e=p.getUint16(c,r);break}return e}(t),e(n)})).catch((function(t){o(t)}))}))}},i=r,s={data:function(){return{w:0,h:0,scale:1,x:0,y:0,loading:!0,trueWidth:0,trueHeight:0,move:!0,moveX:0,moveY:0,crop:!1,cropping:!1,cropW:0,cropH:0,cropOldW:0,cropOldH:0,canChangeX:!1,canChangeY:!1,changeCropTypeX:1,changeCropTypeY:1,cropX:0,cropY:0,cropChangeX:0,cropChangeY:0,cropOffsertX:0,cropOffsertY:0,support:"",touches:[],touchNow:!1,rotate:0,isIos:!1,orientation:0,imgs:"",coe:.2,scaling:!1,scalingSet:"",coeStatus:"",isCanShow:!0}},props:{img:{type:[String,Blob,null,File],default:""},outputSize:{type:Number,default:1},outputType:{type:String,default:"jpeg"},info:{type:Boolean,default:!0},canScale:{type:Boolean,default:!0},autoCrop:{type:Boolean,default:!1},autoCropWidth:{type:[Number,String],default:0},autoCropHeight:{type:[Number,String],default:0},fixed:{type:Boolean,default:!1},fixedNumber:{type:Array,default:function(){return[1,1]}},fixedBox:{type:Boolean,default:!1},full:{type:Boolean,default:!1},canMove:{type:Boolean,default:!0},canMoveBox:{type:Boolean,default:!0},original:{type:Boolean,default:!1},centerBox:{type:Boolean,default:!1},high:{type:Boolean,default:!0},infoTrue:{type:Boolean,default:!1},maxImgSize:{type:Number,default:2e3},enlarge:{type:[Number,String],default:1},preW:{type:[Number,String],default:0},mode:{type:String,default:"contain"}},computed:{cropInfo:function(){var t={};if(t.top=this.cropOffsertY>21?"-21px":"0px",t.width=this.cropW>0?this.cropW:0,t.height=this.cropH>0?this.cropH:0,this.infoTrue){var e=1;this.high&&!this.full&&(e=window.devicePixelRatio),1!==this.enlarge&!this.full&&(e=Math.abs(Number(this.enlarge))),t.width=t.width*e,t.height=t.height*e,this.full&&(t.width=t.width/this.scale,t.height=t.height/this.scale)}return t.width=t.width.toFixed(0),t.height=t.height.toFixed(0),t},isIE:function(){var t=navigator.userAgent,e=t.indexOf("compatible")>-1&&t.indexOf("MSIE")>-1;return e}},watch:{img:function(){this.checkedImg()},imgs:function(t){""!==t&&this.reload()},cropW:function(){this.showPreview()},cropH:function(){this.showPreview()},cropOffsertX:function(){this.showPreview()},cropOffsertY:function(){this.showPreview()},scale:function(t,e){this.showPreview()},x:function(){this.showPreview()},y:function(){this.showPreview()},autoCrop:function(t){t&&this.goAutoCrop()},autoCropWidth:function(){this.autoCrop&&this.goAutoCrop()},autoCropHeight:function(){this.autoCrop&&this.goAutoCrop()},mode:function(){this.checkedImg()},rotate:function(){this.showPreview(),(this.autoCrop||this.cropW>0||this.cropH>0)&&this.goAutoCrop(this.cropW,this.cropH)}},methods:{checkOrientationImage:function(t,e,o,n){var r=this,i=document.createElement("canvas"),s=i.getContext("2d");switch(s.save(),e){case 2:i.width=o,i.height=n,s.translate(o,0),s.scale(-1,1);break;case 3:i.width=o,i.height=n,s.translate(o/2,n/2),s.rotate(180*Math.PI/180),s.translate(-o/2,-n/2);break;case 4:i.width=o,i.height=n,s.translate(0,n),s.scale(1,-1);break;case 5:i.height=o,i.width=n,s.rotate(.5*Math.PI),s.scale(1,-1);break;case 6:i.width=n,i.height=o,s.translate(n/2,o/2),s.rotate(90*Math.PI/180),s.translate(-o/2,-n/2);break;case 7:i.height=o,i.width=n,s.rotate(.5*Math.PI),s.translate(o,-n),s.scale(-1,1);break;case 8:i.height=o,i.width=n,s.translate(n/2,o/2),s.rotate(-90*Math.PI/180),s.translate(-o/2,-n/2);break;default:i.width=o,i.height=n}s.drawImage(t,0,0,o,n),s.restore(),i.toBlob((function(t){var e=URL.createObjectURL(t);r.imgs=e}),"image/"+this.outputType,1)},checkedImg:function(){var t=this;if(""!==this.img){this.loading=!0,this.scale=1,this.rotate=0,this.clearCrop();var e=new Image;if(e.onload=function(){if(""===t.img)return t.$emit("imgLoad","error"),t.$emit("img-load","error"),!1;var o=e.width,n=e.height;i.getData(e).then((function(r){t.orientation=r.orientation||1;var i=t.maxImgSize;!t.orientation&&o<i&n<i?t.imgs=t.img:(o>i&&(n=n/o*i,o=i),n>i&&(o=o/n*i,n=i),t.checkOrientationImage(e,t.orientation,o,n))}))},e.onerror=function(){t.$emit("imgLoad","error"),t.$emit("img-load","error")},"data"!==this.img.substr(0,4)&&(e.crossOrigin=""),this.isIE){var o=new XMLHttpRequest;o.onload=function(){var t=URL.createObjectURL(this.response);e.src=t},o.open("GET",this.img,!0),o.responseType="blob",o.send()}else e.src=this.img}},startMove:function(t){if(t.preventDefault(),this.move&&!this.crop){if(!this.canMove)return!1;this.moveX=(t.clientX?t.clientX:t.touches[0].clientX)-this.x,this.moveY=(t.clientY?t.clientY:t.touches[0].clientY)-this.y,t.touches?(window.addEventListener("touchmove",this.moveImg),window.addEventListener("touchend",this.leaveImg),2==t.touches.length&&(this.touches=t.touches,window.addEventListener("touchmove",this.touchScale),window.addEventListener("touchend",this.cancelTouchScale))):(window.addEventListener("mousemove",this.moveImg),window.addEventListener("mouseup",this.leaveImg)),this.$emit("imgMoving",{moving:!0,axis:this.getImgAxis()}),this.$emit("img-moving",{moving:!0,axis:this.getImgAxis()})}else this.cropping=!0,window.addEventListener("mousemove",this.createCrop),window.addEventListener("mouseup",this.endCrop),window.addEventListener("touchmove",this.createCrop),window.addEventListener("touchend",this.endCrop),this.cropOffsertX=t.offsetX?t.offsetX:t.touches[0].pageX-this.$refs.cropper.offsetLeft,this.cropOffsertY=t.offsetY?t.offsetY:t.touches[0].pageY-this.$refs.cropper.offsetTop,this.cropX=t.clientX?t.clientX:t.touches[0].clientX,this.cropY=t.clientY?t.clientY:t.touches[0].clientY,this.cropChangeX=this.cropOffsertX,this.cropChangeY=this.cropOffsertY,this.cropW=0,this.cropH=0},touchScale:function(t){var e=this;t.preventDefault();var o=this.scale,n=this.touches[0].clientX,r=this.touches[0].clientY,i=t.touches[0].clientX,s=t.touches[0].clientY,a=this.touches[1].clientX,c=this.touches[1].clientY,h=t.touches[1].clientX,p=t.touches[1].clientY,u=Math.sqrt(Math.pow(n-a,2)+Math.pow(r-c,2)),d=Math.sqrt(Math.pow(i-h,2)+Math.pow(s-p,2))-u,l=1,f=(l=(l=l/this.trueWidth>l/this.trueHeight?l/this.trueHeight:l/this.trueWidth)>.1?.1:l)*d;if(!this.touchNow){if(this.touchNow=!0,d>0?o+=Math.abs(f):d<0&&o>Math.abs(f)&&(o-=Math.abs(f)),this.touches=t.touches,setTimeout((function(){e.touchNow=!1}),8),!this.checkoutImgAxis(this.x,this.y,o))return!1;this.scale=o}},cancelTouchScale:function(t){window.removeEventListener("touchmove",this.touchScale)},moveImg:function(t){var e=this;if(t.preventDefault(),t.touches&&2===t.touches.length)return this.touches=t.touches,window.addEventListener("touchmove",this.touchScale),window.addEventListener("touchend",this.cancelTouchScale),window.removeEventListener("touchmove",this.moveImg),!1;var o,n,r=t.clientX?t.clientX:t.touches[0].clientX,i=t.clientY?t.clientY:t.touches[0].clientY;o=r-this.moveX,n=i-this.moveY,this.$nextTick((function(){if(e.centerBox){var t,r,i,s,a=e.getImgAxis(o,n,e.scale),c=e.getCropAxis(),h=e.trueHeight*e.scale,p=e.trueWidth*e.scale;switch(e.rotate){case 1:case-1:case 3:case-3:t=e.cropOffsertX-e.trueWidth*(1-e.scale)/2+(h-p)/2,r=e.cropOffsertY-e.trueHeight*(1-e.scale)/2+(p-h)/2,i=t-h+e.cropW,s=r-p+e.cropH;break;default:t=e.cropOffsertX-e.trueWidth*(1-e.scale)/2,r=e.cropOffsertY-e.trueHeight*(1-e.scale)/2,i=t-p+e.cropW,s=r-h+e.cropH}a.x1>=c.x1&&(o=t),a.y1>=c.y1&&(n=r),a.x2<=c.x2&&(o=i),a.y2<=c.y2&&(n=s)}e.x=o,e.y=n,e.$emit("imgMoving",{moving:!0,axis:e.getImgAxis()}),e.$emit("img-moving",{moving:!0,axis:e.getImgAxis()})}))},leaveImg:function(t){window.removeEventListener("mousemove",this.moveImg),window.removeEventListener("touchmove",this.moveImg),window.removeEventListener("mouseup",this.leaveImg),window.removeEventListener("touchend",this.leaveImg),this.$emit("imgMoving",{moving:!1,axis:this.getImgAxis()}),this.$emit("img-moving",{moving:!1,axis:this.getImgAxis()})},scaleImg:function(){this.canScale&&window.addEventListener(this.support,this.changeSize,{passive:!1})},cancelScale:function(){this.canScale&&window.removeEventListener(this.support,this.changeSize)},changeSize:function(t){var e=this;t.preventDefault();var o=this.scale,n=t.deltaY||t.wheelDelta;n=navigator.userAgent.indexOf("Firefox")>0?30*n:n,this.isIE&&(n=-n);var r=this.coe,i=(r=r/this.trueWidth>r/this.trueHeight?r/this.trueHeight:r/this.trueWidth)*n;i<0?o+=Math.abs(i):o>Math.abs(i)&&(o-=Math.abs(i));var s=i<0?"add":"reduce";if(s!==this.coeStatus&&(this.coeStatus=s,this.coe=.2),this.scaling||(this.scalingSet=setTimeout((function(){e.scaling=!1,e.coe=e.coe+=.01}),50)),this.scaling=!0,!this.checkoutImgAxis(this.x,this.y,o))return!1;this.scale=o},changeScale:function(t){var e=this.scale;t=t||1;var o=20;if((t*=o=o/this.trueWidth>o/this.trueHeight?o/this.trueHeight:o/this.trueWidth)>0?e+=Math.abs(t):e>Math.abs(t)&&(e-=Math.abs(t)),!this.checkoutImgAxis(this.x,this.y,e))return!1;this.scale=e},createCrop:function(t){var e=this;t.preventDefault();var o=t.clientX?t.clientX:t.touches?t.touches[0].clientX:0,n=t.clientY?t.clientY:t.touches?t.touches[0].clientY:0;this.$nextTick((function(){var t=o-e.cropX,r=n-e.cropY;if(t>0?(e.cropW=t+e.cropChangeX>e.w?e.w-e.cropChangeX:t,e.cropOffsertX=e.cropChangeX):(e.cropW=e.w-e.cropChangeX+Math.abs(t)>e.w?e.cropChangeX:Math.abs(t),e.cropOffsertX=e.cropChangeX+t>0?e.cropChangeX+t:0),e.fixed){var i=e.cropW/e.fixedNumber[0]*e.fixedNumber[1];i+e.cropOffsertY>e.h?(e.cropH=e.h-e.cropOffsertY,e.cropW=e.cropH/e.fixedNumber[1]*e.fixedNumber[0],e.cropOffsertX=t>0?e.cropChangeX:e.cropChangeX-e.cropW):e.cropH=i,e.cropOffsertY=e.cropOffsertY}else r>0?(e.cropH=r+e.cropChangeY>e.h?e.h-e.cropChangeY:r,e.cropOffsertY=e.cropChangeY):(e.cropH=e.h-e.cropChangeY+Math.abs(r)>e.h?e.cropChangeY:Math.abs(r),e.cropOffsertY=e.cropChangeY+r>0?e.cropChangeY+r:0)}))},changeCropSize:function(t,e,o,n,r){t.preventDefault(),window.addEventListener("mousemove",this.changeCropNow),window.addEventListener("mouseup",this.changeCropEnd),window.addEventListener("touchmove",this.changeCropNow),window.addEventListener("touchend",this.changeCropEnd),this.canChangeX=e,this.canChangeY=o,this.changeCropTypeX=n,this.changeCropTypeY=r,this.cropX=t.clientX?t.clientX:t.touches[0].clientX,this.cropY=t.clientY?t.clientY:t.touches[0].clientY,this.cropOldW=this.cropW,this.cropOldH=this.cropH,this.cropChangeX=this.cropOffsertX,this.cropChangeY=this.cropOffsertY,this.fixed&&this.canChangeX&&this.canChangeY&&(this.canChangeY=0)},changeCropNow:function(t){var e=this;t.preventDefault();var o=t.clientX?t.clientX:t.touches?t.touches[0].clientX:0,n=t.clientY?t.clientY:t.touches?t.touches[0].clientY:0,r=this.w,i=this.h,s=0,a=0;if(this.centerBox){var c=this.getImgAxis(),h=c.x2,p=c.y2;s=c.x1>0?c.x1:0,a=c.y1>0?c.y1:0,r>h&&(r=h),i>p&&(i=p)}this.$nextTick((function(){var t=o-e.cropX,c=n-e.cropY;if(e.canChangeX&&(1===e.changeCropTypeX?e.cropOldW-t>0?(e.cropW=r-e.cropChangeX-t<=r-s?e.cropOldW-t:e.cropOldW+e.cropChangeX-s,e.cropOffsertX=r-e.cropChangeX-t<=r-s?e.cropChangeX+t:s):(e.cropW=Math.abs(t)+e.cropChangeX<=r?Math.abs(t)-e.cropOldW:r-e.cropOldW-e.cropChangeX,e.cropOffsertX=e.cropChangeX+e.cropOldW):2===e.changeCropTypeX&&(e.cropOldW+t>0?(e.cropW=e.cropOldW+t+e.cropOffsertX<=r?e.cropOldW+t:r-e.cropOffsertX,e.cropOffsertX=e.cropChangeX):(e.cropW=r-e.cropChangeX+Math.abs(t+e.cropOldW)<=r-s?Math.abs(t+e.cropOldW):e.cropChangeX-s,e.cropOffsertX=r-e.cropChangeX+Math.abs(t+e.cropOldW)<=r-s?e.cropChangeX-Math.abs(t+e.cropOldW):s))),e.canChangeY&&(1===e.changeCropTypeY?e.cropOldH-c>0?(e.cropH=i-e.cropChangeY-c<=i-a?e.cropOldH-c:e.cropOldH+e.cropChangeY-a,e.cropOffsertY=i-e.cropChangeY-c<=i-a?e.cropChangeY+c:a):(e.cropH=Math.abs(c)+e.cropChangeY<=i?Math.abs(c)-e.cropOldH:i-e.cropOldH-e.cropChangeY,e.cropOffsertY=e.cropChangeY+e.cropOldH):2===e.changeCropTypeY&&(e.cropOldH+c>0?(e.cropH=e.cropOldH+c+e.cropOffsertY<=i?e.cropOldH+c:i-e.cropOffsertY,e.cropOffsertY=e.cropChangeY):(e.cropH=i-e.cropChangeY+Math.abs(c+e.cropOldH)<=i-a?Math.abs(c+e.cropOldH):e.cropChangeY-a,e.cropOffsertY=i-e.cropChangeY+Math.abs(c+e.cropOldH)<=i-a?e.cropChangeY-Math.abs(c+e.cropOldH):a))),e.canChangeX&&e.fixed){var h=e.cropW/e.fixedNumber[0]*e.fixedNumber[1];h+e.cropOffsertY>i?(e.cropH=i-e.cropOffsertY,e.cropW=e.cropH/e.fixedNumber[1]*e.fixedNumber[0]):e.cropH=h}if(e.canChangeY&&e.fixed){var p=e.cropH/e.fixedNumber[1]*e.fixedNumber[0];p+e.cropOffsertX>r?(e.cropW=r-e.cropOffsertX,e.cropH=e.cropW/e.fixedNumber[0]*e.fixedNumber[1]):e.cropW=p}}))},changeCropEnd:function(t){window.removeEventListener("mousemove",this.changeCropNow),window.removeEventListener("mouseup",this.changeCropEnd),window.removeEventListener("touchmove",this.changeCropNow),window.removeEventListener("touchend",this.changeCropEnd)},endCrop:function(){0===this.cropW&&0===this.cropH&&(this.cropping=!1),window.removeEventListener("mousemove",this.createCrop),window.removeEventListener("mouseup",this.endCrop),window.removeEventListener("touchmove",this.createCrop),window.removeEventListener("touchend",this.endCrop)},startCrop:function(){this.crop=!0},stopCrop:function(){this.crop=!1},clearCrop:function(){this.cropping=!1,this.cropW=0,this.cropH=0},cropMove:function(t){if(t.preventDefault(),!this.canMoveBox)return this.crop=!1,this.startMove(t),!1;if(t.touches&&2===t.touches.length)return this.crop=!1,this.startMove(t),this.leaveCrop(),!1;window.addEventListener("mousemove",this.moveCrop),window.addEventListener("mouseup",this.leaveCrop),window.addEventListener("touchmove",this.moveCrop),window.addEventListener("touchend",this.leaveCrop);var e,o,n=t.clientX?t.clientX:t.touches[0].clientX,r=t.clientY?t.clientY:t.touches[0].clientY;e=n-this.cropOffsertX,o=r-this.cropOffsertY,this.cropX=e,this.cropY=o,this.$emit("cropMoving",{moving:!0,axis:this.getCropAxis()}),this.$emit("crop-moving",{moving:!0,axis:this.getCropAxis()})},moveCrop:function(t,e){var o=this,n=0,r=0;t&&(t.preventDefault(),n=t.clientX?t.clientX:t.touches[0].clientX,r=t.clientY?t.clientY:t.touches[0].clientY),this.$nextTick((function(){var t,i,s=n-o.cropX,a=r-o.cropY;if(e&&(s=o.cropOffsertX,a=o.cropOffsertY),t=s<=0?0:s+o.cropW>o.w?o.w-o.cropW:s,i=a<=0?0:a+o.cropH>o.h?o.h-o.cropH:a,o.centerBox){var c=o.getImgAxis();t<=c.x1&&(t=c.x1),t+o.cropW>c.x2&&(t=c.x2-o.cropW),i<=c.y1&&(i=c.y1),i+o.cropH>c.y2&&(i=c.y2-o.cropH)}o.cropOffsertX=t,o.cropOffsertY=i,o.$emit("cropMoving",{moving:!0,axis:o.getCropAxis()}),o.$emit("crop-moving",{moving:!0,axis:o.getCropAxis()})}))},getImgAxis:function(t,e,o){t=t||this.x,e=e||this.y,o=o||this.scale;var n={x1:0,x2:0,y1:0,y2:0},r=this.trueWidth*o,i=this.trueHeight*o;switch(this.rotate){case 0:n.x1=t+this.trueWidth*(1-o)/2,n.x2=n.x1+this.trueWidth*o,n.y1=e+this.trueHeight*(1-o)/2,n.y2=n.y1+this.trueHeight*o;break;case 1:case-1:case 3:case-3:n.x1=t+this.trueWidth*(1-o)/2+(r-i)/2,n.x2=n.x1+this.trueHeight*o,n.y1=e+this.trueHeight*(1-o)/2+(i-r)/2,n.y2=n.y1+this.trueWidth*o;break;default:n.x1=t+this.trueWidth*(1-o)/2,n.x2=n.x1+this.trueWidth*o,n.y1=e+this.trueHeight*(1-o)/2,n.y2=n.y1+this.trueHeight*o}return n},getCropAxis:function(){var t={x1:0,x2:0,y1:0,y2:0};return t.x1=this.cropOffsertX,t.x2=t.x1+this.cropW,t.y1=this.cropOffsertY,t.y2=t.y1+this.cropH,t},leaveCrop:function(t){window.removeEventListener("mousemove",this.moveCrop),window.removeEventListener("mouseup",this.leaveCrop),window.removeEventListener("touchmove",this.moveCrop),window.removeEventListener("touchend",this.leaveCrop),this.$emit("cropMoving",{moving:!1,axis:this.getCropAxis()}),this.$emit("crop-moving",{moving:!1,axis:this.getCropAxis()})},getCropChecked:function(t){var e=this,o=document.createElement("canvas"),n=new Image,r=this.rotate,i=this.trueWidth,s=this.trueHeight,a=this.cropOffsertX,c=this.cropOffsertY;function h(t,e){o.width=Math.round(t),o.height=Math.round(e)}n.onload=function(){if(0!==e.cropW){var p=o.getContext("2d"),u=1;e.high&!e.full&&(u=window.devicePixelRatio),1!==e.enlarge&!e.full&&(u=Math.abs(Number(e.enlarge)),console.log(u));var d=e.cropW*u,l=e.cropH*u,f=i*e.scale*u,g=s*e.scale*u,v=(e.x-a+e.trueWidth*(1-e.scale)/2)*u,m=(e.y-c+e.trueHeight*(1-e.scale)/2)*u;switch(h(d,l),p.save(),r){case 0:e.full?(h(d/e.scale,l/e.scale),p.drawImage(n,v/e.scale,m/e.scale,f/e.scale,g/e.scale)):p.drawImage(n,v,m,f,g);break;case 1:case-3:e.full?(h(d/e.scale,l/e.scale),v=v/e.scale+(f/e.scale-g/e.scale)/2,m=m/e.scale+(g/e.scale-f/e.scale)/2,p.rotate(90*r*Math.PI/180),p.drawImage(n,m,-v-g/e.scale,f/e.scale,g/e.scale)):(v+=(f-g)/2,m+=(g-f)/2,p.rotate(90*r*Math.PI/180),p.drawImage(n,m,-v-g,f,g));break;case 2:case-2:e.full?(h(d/e.scale,l/e.scale),p.rotate(90*r*Math.PI/180),v/=e.scale,m/=e.scale,p.drawImage(n,-v-f/e.scale,-m-g/e.scale,f/e.scale,g/e.scale)):(p.rotate(90*r*Math.PI/180),p.drawImage(n,-v-f,-m-g,f,g));break;case 3:case-1:e.full?(h(d/e.scale,l/e.scale),v=v/e.scale+(f/e.scale-g/e.scale)/2,m=m/e.scale+(g/e.scale-f/e.scale)/2,p.rotate(90*r*Math.PI/180),p.drawImage(n,-m-f/e.scale,v,f/e.scale,g/e.scale)):(v+=(f-g)/2,m+=(g-f)/2,p.rotate(90*r*Math.PI/180),p.drawImage(n,-m-f,v,f,g));break;default:e.full?(h(d/e.scale,l/e.scale),p.drawImage(n,v/e.scale,m/e.scale,f/e.scale,g/e.scale)):p.drawImage(n,v,m,f,g)}p.restore()}else{var w=i*e.scale,x=s*e.scale,C=o.getContext("2d");switch(C.save(),r){case 0:h(w,x),C.drawImage(n,0,0,w,x);break;case 1:case-3:h(x,w),C.rotate(90*r*Math.PI/180),C.drawImage(n,0,-x,w,x);break;case 2:case-2:h(w,x),C.rotate(90*r*Math.PI/180),C.drawImage(n,-w,-x,w,x);break;case 3:case-1:h(x,w),C.rotate(90*r*Math.PI/180),C.drawImage(n,-w,0,w,x);break;default:h(w,x),C.drawImage(n,0,0,w,x)}C.restore()}t(o)},"data"!==this.img.substr(0,4)&&(n.crossOrigin="Anonymous"),n.src=this.imgs},getCropData:function(t){var e=this;this.getCropChecked((function(o){t(o.toDataURL("image/"+e.outputType,e.outputSize))}))},getCropBlob:function(t){var e=this;this.getCropChecked((function(o){o.toBlob((function(e){return t(e)}),"image/"+e.outputType,e.outputSize)}))},showPreview:function(){var t=this;if(!this.isCanShow)return!1;this.isCanShow=!1,setTimeout((function(){t.isCanShow=!0}),16);var e=this.cropW,o=this.cropH,n=this.scale,r={};r.div={width:"".concat(e,"px"),height:"".concat(o,"px")};var i=(this.x-this.cropOffsertX)/n,s=(this.y-this.cropOffsertY)/n;r.w=e,r.h=o,r.url=this.imgs,r.img={width:"".concat(this.trueWidth,"px"),height:"".concat(this.trueHeight,"px"),transform:"scale(".concat(n,")translate3d(").concat(i,"px, ").concat(s,"px, ").concat(0,"px)rotateZ(").concat(90*this.rotate,"deg)")},r.html='\n <div class="show-preview" style="width: '.concat(r.w,"px; height: ").concat(r.h,'px,; overflow: hidden">\n <div style="width: ').concat(e,"px; height: ").concat(o,'px">\n <img src=').concat(r.url,' style="width: ').concat(this.trueWidth,"px; height: ").concat(this.trueHeight,"px; transform:\n scale(").concat(n,")translate3d(").concat(i,"px, ").concat(s,"px, ").concat(0,"px)rotateZ(").concat(90*this.rotate,'deg)">\n </div>\n </div>'),this.$emit("realTime",r),this.$emit("real-time",r)},reload:function(){var t=this,e=new Image;e.onload=function(){t.w=parseFloat(window.getComputedStyle(t.$refs.cropper).width),t.h=parseFloat(window.getComputedStyle(t.$refs.cropper).height),t.trueWidth=e.width,t.trueHeight=e.height,t.original?t.scale=1:t.scale=t.checkedMode(),t.$nextTick((function(){t.x=-(t.trueWidth-t.trueWidth*t.scale)/2+(t.w-t.trueWidth*t.scale)/2,t.y=-(t.trueHeight-t.trueHeight*t.scale)/2+(t.h-t.trueHeight*t.scale)/2,t.loading=!1,t.autoCrop&&t.goAutoCrop(),t.$emit("img-load","success"),t.$emit("imgLoad","success"),setTimeout((function(){t.showPreview()}),20)}))},e.onerror=function(){t.$emit("imgLoad","error"),t.$emit("img-load","error")},e.src=this.imgs},checkedMode:function(){var t=1,e=(this.trueWidth,this.trueHeight),o=this.mode.split(" ");switch(o[0]){case"contain":this.trueWidth>this.w&&(t=this.w/this.trueWidth),this.trueHeight*t>this.h&&(t=this.h/this.trueHeight);break;case"cover":(e*=t=this.w/this.trueWidth)<this.h&&(t=(e=this.h)/this.trueHeight);break;default:try{var n=o[0];if(-1!==n.search("px")&&(n=n.replace("px",""),t=parseFloat(n)/this.trueWidth),-1!==n.search("%")&&(n=n.replace("%",""),t=parseFloat(n)/100*this.w/this.trueWidth),2===o.length&&"auto"===n){var r=o[1];-1!==r.search("px")&&(r=r.replace("px",""),t=(e=parseFloat(r))/this.trueHeight),-1!==r.search("%")&&(r=r.replace("%",""),t=(e=parseFloat(r)/100*this.h)/this.trueHeight)}}catch(e){t=1}}return t},goAutoCrop:function(t,e){this.clearCrop(),this.cropping=!0;var o=this.w,n=this.h;if(this.centerBox){var r=this.trueWidth*this.scale,i=this.trueHeight*this.scale;o=r<o?r:o,n=i<n?i:n}var s=t||parseFloat(this.autoCropWidth),a=e||parseFloat(this.autoCropHeight);0!==s&&0!==a||(s=.8*o,a=.8*n),s=s>o?o:s,a=a>n?n:a,this.fixed&&(a=s/this.fixedNumber[0]*this.fixedNumber[1]),a>this.h&&(s=(a=this.h)/this.fixedNumber[1]*this.fixedNumber[0]),this.changeCrop(s,a)},changeCrop:function(t,e){var o=this;if(this.centerBox){var n=this.getImgAxis();t>n.x2-n.x1&&(e=(t=n.x2-n.x1)/this.fixedNumber[0]*this.fixedNumber[1]),e>n.y2-n.y1&&(t=(e=n.y2-n.y1)/this.fixedNumber[1]*this.fixedNumber[0])}this.cropW=t,this.cropH=e,this.cropOffsertX=(this.w-t)/2,this.cropOffsertY=(this.h-e)/2,this.centerBox&&this.$nextTick((function(){o.moveCrop(null,!0)}))},refresh:function(){var t=this;this.img,this.imgs="",this.scale=1,this.crop=!1,this.rotate=0,this.w=0,this.h=0,this.trueWidth=0,this.trueHeight=0,this.clearCrop(),this.$nextTick((function(){t.checkedImg()}))},rotateLeft:function(){this.rotate=this.rotate<=-3?0:this.rotate-1},rotateRight:function(){this.rotate=this.rotate>=3?0:this.rotate+1},rotateClear:function(){this.rotate=0},checkoutImgAxis:function(t,e,o){t=t||this.x,e=e||this.y,o=o||this.scale;var n=!0;if(this.centerBox){var r=this.getImgAxis(t,e,o),i=this.getCropAxis();r.x1>=i.x1&&(n=!1),r.x2<=i.x2&&(n=!1),r.y1>=i.y1&&(n=!1),r.y2<=i.y2&&(n=!1)}return n}},mounted:function(){this.support="onwheel"in document.createElement("div")?"wheel":void 0!==document.onmousewheel?"mousewheel":"DOMMouseScroll";var t=this,e=navigator.userAgent;this.isIOS=!!e.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/),HTMLCanvasElement.prototype.toBlob||Object.defineProperty(HTMLCanvasElement.prototype,"toBlob",{value:function(e,o,n){for(var r=atob(this.toDataURL(o,n).split(",")[1]),i=r.length,s=new Uint8Array(i),a=0;a<i;a++)s[a]=r.charCodeAt(a);e(new Blob([s],{type:t.type||"image/png"}))}}),this.showPreview(),this.checkedImg()},destroyed:function(){window.removeEventListener("mousemove",this.moveCrop),window.removeEventListener("mouseup",this.leaveCrop),window.removeEventListener("touchmove",this.moveCrop),window.removeEventListener("touchend",this.leaveCrop)}};o(1);var a=function(t,e,o,n,r,i,s,a){var c,h="function"==typeof t?t.options:t;if(e&&(h.render=e,h.staticRenderFns=o,h._compiled=!0),n&&(h.functional=!0),i&&(h._scopeId="data-v-"+i),s?(c=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),r&&r.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(s)},h._ssrRegister=c):r&&(c=a?function(){r.call(this,this.$root.$options.shadowRoot)}:r),c)if(h.functional){h._injectStyles=c;var p=h.render;h.render=function(t,e){return c.call(e),p(t,e)}}else{var u=h.beforeCreate;h.beforeCreate=u?[].concat(u,c):[c]}return{exports:t,options:h}}(s,n,[],!1,null,"6dae58fd",null);a.options.__file="src/vue-cropper.vue";var c=a.exports;o.d(e,"VueCropper",(function(){return c}));var h=function(t){t.component("VueCropper",c)};"undefined"!=typeof window&&window.Vue&&h(window.Vue),e.default={version:"0.4.8",install:h,VueCropper:c,vueCropper:c}}])}))}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d0cbf05"],{"4c99":function(t,e,o){!function(e,o){t.exports=o()}(window,(function(){return function(t){var e={};function o(n){if(e[n])return e[n].exports;var r=e[n]={i:n,l:!1,exports:{}};return t[n].call(r.exports,r,r.exports,o),r.l=!0,r.exports}return o.m=t,o.c=e,o.d=function(t,e,n){o.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},o.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},o.t=function(t,e){if(1&e&&(t=o(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(o.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)o.d(n,r,function(e){return t[e]}.bind(null,r));return n},o.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return o.d(e,"a",e),e},o.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},o.p="",o(o.s=6)}([function(t,e,o){var n=o(2);"string"==typeof n&&(n=[[t.i,n,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};o(4)(n,r),n.locals&&(t.exports=n.locals)},function(t,e,o){"use strict";var n=o(0);o.n(n).a},function(t,e,o){(t.exports=o(3)(!1)).push([t.i,'\n.vue-cropper[data-v-6dae58fd] {\n position: relative;\n width: 100%;\n height: 100%;\n box-sizing: border-box;\n user-select: none;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n direction: ltr;\n touch-action: none;\n text-align: left;\n background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQAQMAAAAlPW0iAAAAA3NCSVQICAjb4U/gAAAABlBMVEXMzMz////TjRV2AAAACXBIWXMAAArrAAAK6wGCiw1aAAAAHHRFWHRTb2Z0d2FyZQBBZG9iZSBGaXJld29ya3MgQ1M26LyyjAAAABFJREFUCJlj+M/AgBVhF/0PAH6/D/HkDxOGAAAAAElFTkSuQmCC");\n}\n.cropper-box[data-v-6dae58fd],\n.cropper-box-canvas[data-v-6dae58fd],\n.cropper-drag-box[data-v-6dae58fd],\n.cropper-crop-box[data-v-6dae58fd],\n.cropper-face[data-v-6dae58fd] {\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n user-select: none;\n}\n.cropper-box-canvas img[data-v-6dae58fd] {\n position: relative;\n text-align: left;\n user-select: none;\n transform: none;\n max-width: none;\n max-height: none;\n}\n.cropper-box[data-v-6dae58fd] {\n overflow: hidden;\n}\n.cropper-move[data-v-6dae58fd] {\n cursor: move;\n}\n.cropper-crop[data-v-6dae58fd] {\n cursor: crosshair;\n}\n.cropper-modal[data-v-6dae58fd] {\n background: rgba(0, 0, 0, 0.5);\n}\n.cropper-crop-box[data-v-6dae58fd] {\n /*border: 2px solid #39f;*/\n}\n.cropper-view-box[data-v-6dae58fd] {\n display: block;\n overflow: hidden;\n width: 100%;\n height: 100%;\n outline: 1px solid #39f;\n outline-color: rgba(51, 153, 255, 0.75);\n user-select: none;\n}\n.cropper-view-box img[data-v-6dae58fd] {\n user-select: none;\n text-align: left;\n max-width: none;\n max-height: none;\n}\n.cropper-face[data-v-6dae58fd] {\n top: 0;\n left: 0;\n background-color: #fff;\n opacity: 0.1;\n}\n.crop-info[data-v-6dae58fd] {\n position: absolute;\n left: 0px;\n min-width: 65px;\n text-align: center;\n color: white;\n line-height: 20px;\n background-color: rgba(0, 0, 0, 0.8);\n font-size: 12px;\n}\n.crop-line[data-v-6dae58fd] {\n position: absolute;\n display: block;\n width: 100%;\n height: 100%;\n opacity: 0.1;\n}\n.line-w[data-v-6dae58fd] {\n top: -3px;\n left: 0;\n height: 5px;\n cursor: n-resize;\n}\n.line-a[data-v-6dae58fd] {\n top: 0;\n left: -3px;\n width: 5px;\n cursor: w-resize;\n}\n.line-s[data-v-6dae58fd] {\n bottom: -3px;\n left: 0;\n height: 5px;\n cursor: s-resize;\n}\n.line-d[data-v-6dae58fd] {\n top: 0;\n right: -3px;\n width: 5px;\n cursor: e-resize;\n}\n.crop-point[data-v-6dae58fd] {\n position: absolute;\n width: 8px;\n height: 8px;\n opacity: 0.75;\n background-color: #39f;\n border-radius: 100%;\n}\n.point1[data-v-6dae58fd] {\n top: -4px;\n left: -4px;\n cursor: nw-resize;\n}\n.point2[data-v-6dae58fd] {\n top: -5px;\n left: 50%;\n margin-left: -3px;\n cursor: n-resize;\n}\n.point3[data-v-6dae58fd] {\n top: -4px;\n right: -4px;\n cursor: ne-resize;\n}\n.point4[data-v-6dae58fd] {\n top: 50%;\n left: -4px;\n margin-top: -3px;\n cursor: w-resize;\n}\n.point5[data-v-6dae58fd] {\n top: 50%;\n right: -4px;\n margin-top: -3px;\n cursor: e-resize;\n}\n.point6[data-v-6dae58fd] {\n bottom: -5px;\n left: -4px;\n cursor: sw-resize;\n}\n.point7[data-v-6dae58fd] {\n bottom: -5px;\n left: 50%;\n margin-left: -3px;\n cursor: s-resize;\n}\n.point8[data-v-6dae58fd] {\n bottom: -5px;\n right: -4px;\n cursor: se-resize;\n}\n@media screen and (max-width: 500px) {\n.crop-point[data-v-6dae58fd] {\n position: absolute;\n width: 20px;\n height: 20px;\n opacity: 0.45;\n background-color: #39f;\n border-radius: 100%;\n}\n.point1[data-v-6dae58fd] {\n top: -10px;\n left: -10px;\n}\n.point2[data-v-6dae58fd],\n .point4[data-v-6dae58fd],\n .point5[data-v-6dae58fd],\n .point7[data-v-6dae58fd] {\n display: none;\n}\n.point3[data-v-6dae58fd] {\n top: -10px;\n right: -10px;\n}\n.point4[data-v-6dae58fd] {\n top: 0;\n left: 0;\n}\n.point6[data-v-6dae58fd] {\n bottom: -10px;\n left: -10px;\n}\n.point8[data-v-6dae58fd] {\n bottom: -10px;\n right: -10px;\n}\n}\n',""])},function(t,e){t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var o=function(t,e){var o=t[1]||"",n=t[3];if(!n)return o;if(e&&"function"==typeof btoa){var r=function(t){return"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(t))))+" */"}(n),i=n.sources.map((function(t){return"/*# sourceURL="+n.sourceRoot+t+" */"}));return[o].concat(i).concat([r]).join("\n")}return[o].join("\n")}(e,t);return e[2]?"@media "+e[2]+"{"+o+"}":o})).join("")},e.i=function(t,o){"string"==typeof t&&(t=[[null,t,""]]);for(var n={},r=0;r<this.length;r++){var i=this[r][0];"number"==typeof i&&(n[i]=!0)}for(r=0;r<t.length;r++){var s=t[r];"number"==typeof s[0]&&n[s[0]]||(o&&!s[2]?s[2]=o:o&&(s[2]="("+s[2]+") and ("+o+")"),e.push(s))}},e}},function(t,e,o){var n={},r=function(t){var e;return function(){return void 0===e&&(e=t.apply(this,arguments)),e}}((function(){return window&&document&&document.all&&!window.atob})),i=function(t){var e={};return function(t,o){if("function"==typeof t)return t();if(void 0===e[t]){var n=function(t,e){return e?e.querySelector(t):document.querySelector(t)}.call(this,t,o);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(t){n=null}e[t]=n}return e[t]}}(),s=null,a=0,c=[],h=o(5);function p(t,e){for(var o=0;o<t.length;o++){var r=t[o],i=n[r.id];if(i){i.refs++;for(var s=0;s<i.parts.length;s++)i.parts[s](r.parts[s]);for(;s<r.parts.length;s++)i.parts.push(v(r.parts[s],e))}else{var a=[];for(s=0;s<r.parts.length;s++)a.push(v(r.parts[s],e));n[r.id]={id:r.id,refs:1,parts:a}}}}function u(t,e){for(var o=[],n={},r=0;r<t.length;r++){var i=t[r],s=e.base?i[0]+e.base:i[0],a={css:i[1],media:i[2],sourceMap:i[3]};n[s]?n[s].parts.push(a):o.push(n[s]={id:s,parts:[a]})}return o}function d(t,e){var o=i(t.insertInto);if(!o)throw new Error("Couldn't find a style target. This probably means that the value for the 'insertInto' parameter is invalid.");var n=c[c.length-1];if("top"===t.insertAt)n?n.nextSibling?o.insertBefore(e,n.nextSibling):o.appendChild(e):o.insertBefore(e,o.firstChild),c.push(e);else if("bottom"===t.insertAt)o.appendChild(e);else{if("object"!=typeof t.insertAt||!t.insertAt.before)throw new Error("[Style Loader]\n\n Invalid value for parameter 'insertAt' ('options.insertAt') found.\n Must be 'top', 'bottom', or Object.\n (https://github.com/webpack-contrib/style-loader#insertat)\n");var r=i(t.insertAt.before,o);o.insertBefore(e,r)}}function l(t){if(null===t.parentNode)return!1;t.parentNode.removeChild(t);var e=c.indexOf(t);e>=0&&c.splice(e,1)}function f(t){var e=document.createElement("style");if(void 0===t.attrs.type&&(t.attrs.type="text/css"),void 0===t.attrs.nonce){var n=function(){return o.nc}();n&&(t.attrs.nonce=n)}return g(e,t.attrs),d(t,e),e}function g(t,e){Object.keys(e).forEach((function(o){t.setAttribute(o,e[o])}))}function v(t,e){var o,n,r,i;if(e.transform&&t.css){if(!(i="function"==typeof e.transform?e.transform(t.css):e.transform.default(t.css)))return function(){};t.css=i}if(e.singleton){var c=a++;o=s||(s=f(e)),n=w.bind(null,o,c,!1),r=w.bind(null,o,c,!0)}else t.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(o=function(t){var e=document.createElement("link");return void 0===t.attrs.type&&(t.attrs.type="text/css"),t.attrs.rel="stylesheet",g(e,t.attrs),d(t,e),e}(e),n=function(t,e,o){var n=o.css,r=o.sourceMap,i=void 0===e.convertToAbsoluteUrls&&r;(e.convertToAbsoluteUrls||i)&&(n=h(n)),r&&(n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(r))))+" */");var s=new Blob([n],{type:"text/css"}),a=t.href;t.href=URL.createObjectURL(s),a&&URL.revokeObjectURL(a)}.bind(null,o,e),r=function(){l(o),o.href&&URL.revokeObjectURL(o.href)}):(o=f(e),n=function(t,e){var o=e.css,n=e.media;if(n&&t.setAttribute("media",n),t.styleSheet)t.styleSheet.cssText=o;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(o))}}.bind(null,o),r=function(){l(o)});return n(t),function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap)return;n(t=e)}else r()}}t.exports=function(t,e){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");(e=e||{}).attrs="object"==typeof e.attrs?e.attrs:{},e.singleton||"boolean"==typeof e.singleton||(e.singleton=r()),e.insertInto||(e.insertInto="head"),e.insertAt||(e.insertAt="bottom");var o=u(t,e);return p(o,e),function(t){for(var r=[],i=0;i<o.length;i++){var s=o[i];(a=n[s.id]).refs--,r.push(a)}for(t&&p(u(t,e),e),i=0;i<r.length;i++){var a;if(0===(a=r[i]).refs){for(var c=0;c<a.parts.length;c++)a.parts[c]();delete n[a.id]}}}};var m=function(){var t=[];return function(e,o){return t[e]=o,t.filter(Boolean).join("\n")}}();function w(t,e,o,n){var r=o?"":n.css;if(t.styleSheet)t.styleSheet.cssText=m(e,r);else{var i=document.createTextNode(r),s=t.childNodes;s[e]&&t.removeChild(s[e]),s.length?t.insertBefore(i,s[e]):t.appendChild(i)}}},function(t,e){t.exports=function(t){var e="undefined"!=typeof window&&window.location;if(!e)throw new Error("fixUrls requires window.location");if(!t||"string"!=typeof t)return t;var o=e.protocol+"//"+e.host,n=o+e.pathname.replace(/\/[^\/]*$/,"/");return t.replace(/url\s*\(((?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)\)/gi,(function(t,e){var r,i=e.trim().replace(/^"(.*)"$/,(function(t,e){return e})).replace(/^'(.*)'$/,(function(t,e){return e}));return/^(#|data:|http:\/\/|https:\/\/|file:\/\/\/|\s*$)/i.test(i)?t:(r=0===i.indexOf("//")?i:0===i.indexOf("/")?o+i:n+i.replace(/^\.\//,""),"url("+JSON.stringify(r)+")")}))}},function(t,e,o){"use strict";o.r(e);var n=function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("div",{ref:"cropper",staticClass:"vue-cropper",on:{mouseover:t.scaleImg,mouseout:t.cancelScale}},[o("div",{staticClass:"cropper-box"},[o("div",{directives:[{name:"show",rawName:"v-show",value:!t.loading,expression:"!loading"}],staticClass:"cropper-box-canvas",style:{width:t.trueWidth+"px",height:t.trueHeight+"px",transform:"scale("+t.scale+","+t.scale+") translate3d("+t.x/t.scale+"px,"+t.y/t.scale+"px,0)rotateZ("+90*t.rotate+"deg)"}},[o("img",{ref:"cropperImg",attrs:{src:t.imgs,alt:"cropper-img"}})])]),t._v(" "),o("div",{staticClass:"cropper-drag-box",class:{"cropper-move":t.move&&!t.crop,"cropper-crop":t.crop,"cropper-modal":t.cropping},on:{mousedown:t.startMove,touchstart:t.startMove}}),t._v(" "),o("div",{directives:[{name:"show",rawName:"v-show",value:t.cropping,expression:"cropping"}],staticClass:"cropper-crop-box",style:{width:t.cropW+"px",height:t.cropH+"px",transform:"translate3d("+t.cropOffsertX+"px,"+t.cropOffsertY+"px,0)"}},[o("span",{staticClass:"cropper-view-box"},[o("img",{style:{width:t.trueWidth+"px",height:t.trueHeight+"px",transform:"scale("+t.scale+","+t.scale+") translate3d("+(t.x-t.cropOffsertX)/t.scale+"px,"+(t.y-t.cropOffsertY)/t.scale+"px,0)rotateZ("+90*t.rotate+"deg)"},attrs:{src:t.imgs,alt:"cropper-img"}})]),t._v(" "),o("span",{staticClass:"cropper-face cropper-move",on:{mousedown:t.cropMove,touchstart:t.cropMove}}),t._v(" "),t.info?o("span",{staticClass:"crop-info",style:{top:t.cropInfo.top}},[t._v(t._s(this.cropInfo.width)+" × "+t._s(this.cropInfo.height))]):t._e(),t._v(" "),t.fixedBox?t._e():o("span",[o("span",{staticClass:"crop-line line-w",on:{mousedown:function(e){t.changeCropSize(e,!1,!0,0,1)},touchstart:function(e){t.changeCropSize(e,!1,!0,0,1)}}}),t._v(" "),o("span",{staticClass:"crop-line line-a",on:{mousedown:function(e){t.changeCropSize(e,!0,!1,1,0)},touchstart:function(e){t.changeCropSize(e,!0,!1,1,0)}}}),t._v(" "),o("span",{staticClass:"crop-line line-s",on:{mousedown:function(e){t.changeCropSize(e,!1,!0,0,2)},touchstart:function(e){t.changeCropSize(e,!1,!0,0,2)}}}),t._v(" "),o("span",{staticClass:"crop-line line-d",on:{mousedown:function(e){t.changeCropSize(e,!0,!1,2,0)},touchstart:function(e){t.changeCropSize(e,!0,!1,2,0)}}}),t._v(" "),o("span",{staticClass:"crop-point point1",on:{mousedown:function(e){t.changeCropSize(e,!0,!0,1,1)},touchstart:function(e){t.changeCropSize(e,!0,!0,1,1)}}}),t._v(" "),o("span",{staticClass:"crop-point point2",on:{mousedown:function(e){t.changeCropSize(e,!1,!0,0,1)},touchstart:function(e){t.changeCropSize(e,!1,!0,0,1)}}}),t._v(" "),o("span",{staticClass:"crop-point point3",on:{mousedown:function(e){t.changeCropSize(e,!0,!0,2,1)},touchstart:function(e){t.changeCropSize(e,!0,!0,2,1)}}}),t._v(" "),o("span",{staticClass:"crop-point point4",on:{mousedown:function(e){t.changeCropSize(e,!0,!1,1,0)},touchstart:function(e){t.changeCropSize(e,!0,!1,1,0)}}}),t._v(" "),o("span",{staticClass:"crop-point point5",on:{mousedown:function(e){t.changeCropSize(e,!0,!1,2,0)},touchstart:function(e){t.changeCropSize(e,!0,!1,2,0)}}}),t._v(" "),o("span",{staticClass:"crop-point point6",on:{mousedown:function(e){t.changeCropSize(e,!0,!0,1,2)},touchstart:function(e){t.changeCropSize(e,!0,!0,1,2)}}}),t._v(" "),o("span",{staticClass:"crop-point point7",on:{mousedown:function(e){t.changeCropSize(e,!1,!0,0,2)},touchstart:function(e){t.changeCropSize(e,!1,!0,0,2)}}}),t._v(" "),o("span",{staticClass:"crop-point point8",on:{mousedown:function(e){t.changeCropSize(e,!0,!0,2,2)},touchstart:function(e){t.changeCropSize(e,!0,!0,2,2)}}})])])])};n._withStripped=!0;var r={getData:function(t){return new Promise((function(e,o){var n={};(function(t){var e=null;return new Promise((function(o,n){if(t.src)if(/^data\:/i.test(t.src))e=function(t){t=t.replace(/^data\:([^\;]+)\;base64,/gim,"");for(var e=atob(t),o=e.length,n=new ArrayBuffer(o),r=new Uint8Array(n),i=0;i<o;i++)r[i]=e.charCodeAt(i);return n}(t.src),o(e);else if(/^blob\:/i.test(t.src)){var r=new FileReader;r.onload=function(t){e=t.target.result,o(e)},function(t,e){var o=new XMLHttpRequest;o.open("GET",t,!0),o.responseType="blob",o.onload=function(t){200!=this.status&&0!==this.status||e(this.response)},o.send()}(t.src,(function(t){r.readAsArrayBuffer(t)}))}else{var i=new XMLHttpRequest;i.onload=function(){if(200!=this.status&&0!==this.status)throw"Could not load image";e=i.response,o(e),i=null},i.open("GET",t.src,!0),i.responseType="arraybuffer",i.send(null)}else n("img error")}))})(t).then((function(t){n.arrayBuffer=t,n.orientation=function(t){var e,o,n,r,i,s,a,c,h,p=new DataView(t),u=p.byteLength;if(255===p.getUint8(0)&&216===p.getUint8(1))for(c=2;c<u;){if(255===p.getUint8(c)&&225===p.getUint8(c+1)){s=c;break}c++}if(s&&(o=s+10,"Exif"===function(t,e,o){var n,r="";for(n=e,o+=e;n<o;n++)r+=String.fromCharCode(t.getUint8(n));return r}(p,s+4,4)&&(i=p.getUint16(o),((r=18761===i)||19789===i)&&42===p.getUint16(o+2,r)&&(n=p.getUint32(o+4,r))>=8&&(a=o+n))),a)for(u=p.getUint16(a,r),h=0;h<u;h++)if(c=a+12*h+2,274===p.getUint16(c,r)){c+=8,e=p.getUint16(c,r);break}return e}(t),e(n)})).catch((function(t){o(t)}))}))}},i=r,s={data:function(){return{w:0,h:0,scale:1,x:0,y:0,loading:!0,trueWidth:0,trueHeight:0,move:!0,moveX:0,moveY:0,crop:!1,cropping:!1,cropW:0,cropH:0,cropOldW:0,cropOldH:0,canChangeX:!1,canChangeY:!1,changeCropTypeX:1,changeCropTypeY:1,cropX:0,cropY:0,cropChangeX:0,cropChangeY:0,cropOffsertX:0,cropOffsertY:0,support:"",touches:[],touchNow:!1,rotate:0,isIos:!1,orientation:0,imgs:"",coe:.2,scaling:!1,scalingSet:"",coeStatus:"",isCanShow:!0}},props:{img:{type:[String,Blob,null,File],default:""},outputSize:{type:Number,default:1},outputType:{type:String,default:"jpeg"},info:{type:Boolean,default:!0},canScale:{type:Boolean,default:!0},autoCrop:{type:Boolean,default:!1},autoCropWidth:{type:[Number,String],default:0},autoCropHeight:{type:[Number,String],default:0},fixed:{type:Boolean,default:!1},fixedNumber:{type:Array,default:function(){return[1,1]}},fixedBox:{type:Boolean,default:!1},full:{type:Boolean,default:!1},canMove:{type:Boolean,default:!0},canMoveBox:{type:Boolean,default:!0},original:{type:Boolean,default:!1},centerBox:{type:Boolean,default:!1},high:{type:Boolean,default:!0},infoTrue:{type:Boolean,default:!1},maxImgSize:{type:Number,default:2e3},enlarge:{type:[Number,String],default:1},preW:{type:[Number,String],default:0},mode:{type:String,default:"contain"}},computed:{cropInfo:function(){var t={};if(t.top=this.cropOffsertY>21?"-21px":"0px",t.width=this.cropW>0?this.cropW:0,t.height=this.cropH>0?this.cropH:0,this.infoTrue){var e=1;this.high&&!this.full&&(e=window.devicePixelRatio),1!==this.enlarge&!this.full&&(e=Math.abs(Number(this.enlarge))),t.width=t.width*e,t.height=t.height*e,this.full&&(t.width=t.width/this.scale,t.height=t.height/this.scale)}return t.width=t.width.toFixed(0),t.height=t.height.toFixed(0),t},isIE:function(){var t=navigator.userAgent,e=t.indexOf("compatible")>-1&&t.indexOf("MSIE")>-1;return e}},watch:{img:function(){this.checkedImg()},imgs:function(t){""!==t&&this.reload()},cropW:function(){this.showPreview()},cropH:function(){this.showPreview()},cropOffsertX:function(){this.showPreview()},cropOffsertY:function(){this.showPreview()},scale:function(t,e){this.showPreview()},x:function(){this.showPreview()},y:function(){this.showPreview()},autoCrop:function(t){t&&this.goAutoCrop()},autoCropWidth:function(){this.autoCrop&&this.goAutoCrop()},autoCropHeight:function(){this.autoCrop&&this.goAutoCrop()},mode:function(){this.checkedImg()},rotate:function(){this.showPreview(),(this.autoCrop||this.cropW>0||this.cropH>0)&&this.goAutoCrop(this.cropW,this.cropH)}},methods:{checkOrientationImage:function(t,e,o,n){var r=this,i=document.createElement("canvas"),s=i.getContext("2d");switch(s.save(),e){case 2:i.width=o,i.height=n,s.translate(o,0),s.scale(-1,1);break;case 3:i.width=o,i.height=n,s.translate(o/2,n/2),s.rotate(180*Math.PI/180),s.translate(-o/2,-n/2);break;case 4:i.width=o,i.height=n,s.translate(0,n),s.scale(1,-1);break;case 5:i.height=o,i.width=n,s.rotate(.5*Math.PI),s.scale(1,-1);break;case 6:i.width=n,i.height=o,s.translate(n/2,o/2),s.rotate(90*Math.PI/180),s.translate(-o/2,-n/2);break;case 7:i.height=o,i.width=n,s.rotate(.5*Math.PI),s.translate(o,-n),s.scale(-1,1);break;case 8:i.height=o,i.width=n,s.translate(n/2,o/2),s.rotate(-90*Math.PI/180),s.translate(-o/2,-n/2);break;default:i.width=o,i.height=n}s.drawImage(t,0,0,o,n),s.restore(),i.toBlob((function(t){var e=URL.createObjectURL(t);r.imgs=e}),"image/"+this.outputType,1)},checkedImg:function(){var t=this;if(""!==this.img){this.loading=!0,this.scale=1,this.rotate=0,this.clearCrop();var e=new Image;if(e.onload=function(){if(""===t.img)return t.$emit("imgLoad","error"),t.$emit("img-load","error"),!1;var o=e.width,n=e.height;i.getData(e).then((function(r){t.orientation=r.orientation||1;var i=t.maxImgSize;!t.orientation&&o<i&n<i?t.imgs=t.img:(o>i&&(n=n/o*i,o=i),n>i&&(o=o/n*i,n=i),t.checkOrientationImage(e,t.orientation,o,n))}))},e.onerror=function(){t.$emit("imgLoad","error"),t.$emit("img-load","error")},"data"!==this.img.substr(0,4)&&(e.crossOrigin=""),this.isIE){var o=new XMLHttpRequest;o.onload=function(){var t=URL.createObjectURL(this.response);e.src=t},o.open("GET",this.img,!0),o.responseType="blob",o.send()}else e.src=this.img}},startMove:function(t){if(t.preventDefault(),this.move&&!this.crop){if(!this.canMove)return!1;this.moveX=(t.clientX?t.clientX:t.touches[0].clientX)-this.x,this.moveY=(t.clientY?t.clientY:t.touches[0].clientY)-this.y,t.touches?(window.addEventListener("touchmove",this.moveImg),window.addEventListener("touchend",this.leaveImg),2==t.touches.length&&(this.touches=t.touches,window.addEventListener("touchmove",this.touchScale),window.addEventListener("touchend",this.cancelTouchScale))):(window.addEventListener("mousemove",this.moveImg),window.addEventListener("mouseup",this.leaveImg)),this.$emit("imgMoving",{moving:!0,axis:this.getImgAxis()}),this.$emit("img-moving",{moving:!0,axis:this.getImgAxis()})}else this.cropping=!0,window.addEventListener("mousemove",this.createCrop),window.addEventListener("mouseup",this.endCrop),window.addEventListener("touchmove",this.createCrop),window.addEventListener("touchend",this.endCrop),this.cropOffsertX=t.offsetX?t.offsetX:t.touches[0].pageX-this.$refs.cropper.offsetLeft,this.cropOffsertY=t.offsetY?t.offsetY:t.touches[0].pageY-this.$refs.cropper.offsetTop,this.cropX=t.clientX?t.clientX:t.touches[0].clientX,this.cropY=t.clientY?t.clientY:t.touches[0].clientY,this.cropChangeX=this.cropOffsertX,this.cropChangeY=this.cropOffsertY,this.cropW=0,this.cropH=0},touchScale:function(t){var e=this;t.preventDefault();var o=this.scale,n=this.touches[0].clientX,r=this.touches[0].clientY,i=t.touches[0].clientX,s=t.touches[0].clientY,a=this.touches[1].clientX,c=this.touches[1].clientY,h=t.touches[1].clientX,p=t.touches[1].clientY,u=Math.sqrt(Math.pow(n-a,2)+Math.pow(r-c,2)),d=Math.sqrt(Math.pow(i-h,2)+Math.pow(s-p,2))-u,l=1,f=(l=(l=l/this.trueWidth>l/this.trueHeight?l/this.trueHeight:l/this.trueWidth)>.1?.1:l)*d;if(!this.touchNow){if(this.touchNow=!0,d>0?o+=Math.abs(f):d<0&&o>Math.abs(f)&&(o-=Math.abs(f)),this.touches=t.touches,setTimeout((function(){e.touchNow=!1}),8),!this.checkoutImgAxis(this.x,this.y,o))return!1;this.scale=o}},cancelTouchScale:function(t){window.removeEventListener("touchmove",this.touchScale)},moveImg:function(t){var e=this;if(t.preventDefault(),t.touches&&2===t.touches.length)return this.touches=t.touches,window.addEventListener("touchmove",this.touchScale),window.addEventListener("touchend",this.cancelTouchScale),window.removeEventListener("touchmove",this.moveImg),!1;var o,n,r=t.clientX?t.clientX:t.touches[0].clientX,i=t.clientY?t.clientY:t.touches[0].clientY;o=r-this.moveX,n=i-this.moveY,this.$nextTick((function(){if(e.centerBox){var t,r,i,s,a=e.getImgAxis(o,n,e.scale),c=e.getCropAxis(),h=e.trueHeight*e.scale,p=e.trueWidth*e.scale;switch(e.rotate){case 1:case-1:case 3:case-3:t=e.cropOffsertX-e.trueWidth*(1-e.scale)/2+(h-p)/2,r=e.cropOffsertY-e.trueHeight*(1-e.scale)/2+(p-h)/2,i=t-h+e.cropW,s=r-p+e.cropH;break;default:t=e.cropOffsertX-e.trueWidth*(1-e.scale)/2,r=e.cropOffsertY-e.trueHeight*(1-e.scale)/2,i=t-p+e.cropW,s=r-h+e.cropH}a.x1>=c.x1&&(o=t),a.y1>=c.y1&&(n=r),a.x2<=c.x2&&(o=i),a.y2<=c.y2&&(n=s)}e.x=o,e.y=n,e.$emit("imgMoving",{moving:!0,axis:e.getImgAxis()}),e.$emit("img-moving",{moving:!0,axis:e.getImgAxis()})}))},leaveImg:function(t){window.removeEventListener("mousemove",this.moveImg),window.removeEventListener("touchmove",this.moveImg),window.removeEventListener("mouseup",this.leaveImg),window.removeEventListener("touchend",this.leaveImg),this.$emit("imgMoving",{moving:!1,axis:this.getImgAxis()}),this.$emit("img-moving",{moving:!1,axis:this.getImgAxis()})},scaleImg:function(){this.canScale&&window.addEventListener(this.support,this.changeSize,{passive:!1})},cancelScale:function(){this.canScale&&window.removeEventListener(this.support,this.changeSize)},changeSize:function(t){var e=this;t.preventDefault();var o=this.scale,n=t.deltaY||t.wheelDelta;n=navigator.userAgent.indexOf("Firefox")>0?30*n:n,this.isIE&&(n=-n);var r=this.coe,i=(r=r/this.trueWidth>r/this.trueHeight?r/this.trueHeight:r/this.trueWidth)*n;i<0?o+=Math.abs(i):o>Math.abs(i)&&(o-=Math.abs(i));var s=i<0?"add":"reduce";if(s!==this.coeStatus&&(this.coeStatus=s,this.coe=.2),this.scaling||(this.scalingSet=setTimeout((function(){e.scaling=!1,e.coe=e.coe+=.01}),50)),this.scaling=!0,!this.checkoutImgAxis(this.x,this.y,o))return!1;this.scale=o},changeScale:function(t){var e=this.scale;t=t||1;var o=20;if((t*=o=o/this.trueWidth>o/this.trueHeight?o/this.trueHeight:o/this.trueWidth)>0?e+=Math.abs(t):e>Math.abs(t)&&(e-=Math.abs(t)),!this.checkoutImgAxis(this.x,this.y,e))return!1;this.scale=e},createCrop:function(t){var e=this;t.preventDefault();var o=t.clientX?t.clientX:t.touches?t.touches[0].clientX:0,n=t.clientY?t.clientY:t.touches?t.touches[0].clientY:0;this.$nextTick((function(){var t=o-e.cropX,r=n-e.cropY;if(t>0?(e.cropW=t+e.cropChangeX>e.w?e.w-e.cropChangeX:t,e.cropOffsertX=e.cropChangeX):(e.cropW=e.w-e.cropChangeX+Math.abs(t)>e.w?e.cropChangeX:Math.abs(t),e.cropOffsertX=e.cropChangeX+t>0?e.cropChangeX+t:0),e.fixed){var i=e.cropW/e.fixedNumber[0]*e.fixedNumber[1];i+e.cropOffsertY>e.h?(e.cropH=e.h-e.cropOffsertY,e.cropW=e.cropH/e.fixedNumber[1]*e.fixedNumber[0],e.cropOffsertX=t>0?e.cropChangeX:e.cropChangeX-e.cropW):e.cropH=i,e.cropOffsertY=e.cropOffsertY}else r>0?(e.cropH=r+e.cropChangeY>e.h?e.h-e.cropChangeY:r,e.cropOffsertY=e.cropChangeY):(e.cropH=e.h-e.cropChangeY+Math.abs(r)>e.h?e.cropChangeY:Math.abs(r),e.cropOffsertY=e.cropChangeY+r>0?e.cropChangeY+r:0)}))},changeCropSize:function(t,e,o,n,r){t.preventDefault(),window.addEventListener("mousemove",this.changeCropNow),window.addEventListener("mouseup",this.changeCropEnd),window.addEventListener("touchmove",this.changeCropNow),window.addEventListener("touchend",this.changeCropEnd),this.canChangeX=e,this.canChangeY=o,this.changeCropTypeX=n,this.changeCropTypeY=r,this.cropX=t.clientX?t.clientX:t.touches[0].clientX,this.cropY=t.clientY?t.clientY:t.touches[0].clientY,this.cropOldW=this.cropW,this.cropOldH=this.cropH,this.cropChangeX=this.cropOffsertX,this.cropChangeY=this.cropOffsertY,this.fixed&&this.canChangeX&&this.canChangeY&&(this.canChangeY=0)},changeCropNow:function(t){var e=this;t.preventDefault();var o=t.clientX?t.clientX:t.touches?t.touches[0].clientX:0,n=t.clientY?t.clientY:t.touches?t.touches[0].clientY:0,r=this.w,i=this.h,s=0,a=0;if(this.centerBox){var c=this.getImgAxis(),h=c.x2,p=c.y2;s=c.x1>0?c.x1:0,a=c.y1>0?c.y1:0,r>h&&(r=h),i>p&&(i=p)}this.$nextTick((function(){var t=o-e.cropX,c=n-e.cropY;if(e.canChangeX&&(1===e.changeCropTypeX?e.cropOldW-t>0?(e.cropW=r-e.cropChangeX-t<=r-s?e.cropOldW-t:e.cropOldW+e.cropChangeX-s,e.cropOffsertX=r-e.cropChangeX-t<=r-s?e.cropChangeX+t:s):(e.cropW=Math.abs(t)+e.cropChangeX<=r?Math.abs(t)-e.cropOldW:r-e.cropOldW-e.cropChangeX,e.cropOffsertX=e.cropChangeX+e.cropOldW):2===e.changeCropTypeX&&(e.cropOldW+t>0?(e.cropW=e.cropOldW+t+e.cropOffsertX<=r?e.cropOldW+t:r-e.cropOffsertX,e.cropOffsertX=e.cropChangeX):(e.cropW=r-e.cropChangeX+Math.abs(t+e.cropOldW)<=r-s?Math.abs(t+e.cropOldW):e.cropChangeX-s,e.cropOffsertX=r-e.cropChangeX+Math.abs(t+e.cropOldW)<=r-s?e.cropChangeX-Math.abs(t+e.cropOldW):s))),e.canChangeY&&(1===e.changeCropTypeY?e.cropOldH-c>0?(e.cropH=i-e.cropChangeY-c<=i-a?e.cropOldH-c:e.cropOldH+e.cropChangeY-a,e.cropOffsertY=i-e.cropChangeY-c<=i-a?e.cropChangeY+c:a):(e.cropH=Math.abs(c)+e.cropChangeY<=i?Math.abs(c)-e.cropOldH:i-e.cropOldH-e.cropChangeY,e.cropOffsertY=e.cropChangeY+e.cropOldH):2===e.changeCropTypeY&&(e.cropOldH+c>0?(e.cropH=e.cropOldH+c+e.cropOffsertY<=i?e.cropOldH+c:i-e.cropOffsertY,e.cropOffsertY=e.cropChangeY):(e.cropH=i-e.cropChangeY+Math.abs(c+e.cropOldH)<=i-a?Math.abs(c+e.cropOldH):e.cropChangeY-a,e.cropOffsertY=i-e.cropChangeY+Math.abs(c+e.cropOldH)<=i-a?e.cropChangeY-Math.abs(c+e.cropOldH):a))),e.canChangeX&&e.fixed){var h=e.cropW/e.fixedNumber[0]*e.fixedNumber[1];h+e.cropOffsertY>i?(e.cropH=i-e.cropOffsertY,e.cropW=e.cropH/e.fixedNumber[1]*e.fixedNumber[0]):e.cropH=h}if(e.canChangeY&&e.fixed){var p=e.cropH/e.fixedNumber[1]*e.fixedNumber[0];p+e.cropOffsertX>r?(e.cropW=r-e.cropOffsertX,e.cropH=e.cropW/e.fixedNumber[0]*e.fixedNumber[1]):e.cropW=p}}))},changeCropEnd:function(t){window.removeEventListener("mousemove",this.changeCropNow),window.removeEventListener("mouseup",this.changeCropEnd),window.removeEventListener("touchmove",this.changeCropNow),window.removeEventListener("touchend",this.changeCropEnd)},endCrop:function(){0===this.cropW&&0===this.cropH&&(this.cropping=!1),window.removeEventListener("mousemove",this.createCrop),window.removeEventListener("mouseup",this.endCrop),window.removeEventListener("touchmove",this.createCrop),window.removeEventListener("touchend",this.endCrop)},startCrop:function(){this.crop=!0},stopCrop:function(){this.crop=!1},clearCrop:function(){this.cropping=!1,this.cropW=0,this.cropH=0},cropMove:function(t){if(t.preventDefault(),!this.canMoveBox)return this.crop=!1,this.startMove(t),!1;if(t.touches&&2===t.touches.length)return this.crop=!1,this.startMove(t),this.leaveCrop(),!1;window.addEventListener("mousemove",this.moveCrop),window.addEventListener("mouseup",this.leaveCrop),window.addEventListener("touchmove",this.moveCrop),window.addEventListener("touchend",this.leaveCrop);var e,o,n=t.clientX?t.clientX:t.touches[0].clientX,r=t.clientY?t.clientY:t.touches[0].clientY;e=n-this.cropOffsertX,o=r-this.cropOffsertY,this.cropX=e,this.cropY=o,this.$emit("cropMoving",{moving:!0,axis:this.getCropAxis()}),this.$emit("crop-moving",{moving:!0,axis:this.getCropAxis()})},moveCrop:function(t,e){var o=this,n=0,r=0;t&&(t.preventDefault(),n=t.clientX?t.clientX:t.touches[0].clientX,r=t.clientY?t.clientY:t.touches[0].clientY),this.$nextTick((function(){var t,i,s=n-o.cropX,a=r-o.cropY;if(e&&(s=o.cropOffsertX,a=o.cropOffsertY),t=s<=0?0:s+o.cropW>o.w?o.w-o.cropW:s,i=a<=0?0:a+o.cropH>o.h?o.h-o.cropH:a,o.centerBox){var c=o.getImgAxis();t<=c.x1&&(t=c.x1),t+o.cropW>c.x2&&(t=c.x2-o.cropW),i<=c.y1&&(i=c.y1),i+o.cropH>c.y2&&(i=c.y2-o.cropH)}o.cropOffsertX=t,o.cropOffsertY=i,o.$emit("cropMoving",{moving:!0,axis:o.getCropAxis()}),o.$emit("crop-moving",{moving:!0,axis:o.getCropAxis()})}))},getImgAxis:function(t,e,o){t=t||this.x,e=e||this.y,o=o||this.scale;var n={x1:0,x2:0,y1:0,y2:0},r=this.trueWidth*o,i=this.trueHeight*o;switch(this.rotate){case 0:n.x1=t+this.trueWidth*(1-o)/2,n.x2=n.x1+this.trueWidth*o,n.y1=e+this.trueHeight*(1-o)/2,n.y2=n.y1+this.trueHeight*o;break;case 1:case-1:case 3:case-3:n.x1=t+this.trueWidth*(1-o)/2+(r-i)/2,n.x2=n.x1+this.trueHeight*o,n.y1=e+this.trueHeight*(1-o)/2+(i-r)/2,n.y2=n.y1+this.trueWidth*o;break;default:n.x1=t+this.trueWidth*(1-o)/2,n.x2=n.x1+this.trueWidth*o,n.y1=e+this.trueHeight*(1-o)/2,n.y2=n.y1+this.trueHeight*o}return n},getCropAxis:function(){var t={x1:0,x2:0,y1:0,y2:0};return t.x1=this.cropOffsertX,t.x2=t.x1+this.cropW,t.y1=this.cropOffsertY,t.y2=t.y1+this.cropH,t},leaveCrop:function(t){window.removeEventListener("mousemove",this.moveCrop),window.removeEventListener("mouseup",this.leaveCrop),window.removeEventListener("touchmove",this.moveCrop),window.removeEventListener("touchend",this.leaveCrop),this.$emit("cropMoving",{moving:!1,axis:this.getCropAxis()}),this.$emit("crop-moving",{moving:!1,axis:this.getCropAxis()})},getCropChecked:function(t){var e=this,o=document.createElement("canvas"),n=new Image,r=this.rotate,i=this.trueWidth,s=this.trueHeight,a=this.cropOffsertX,c=this.cropOffsertY;function h(t,e){o.width=Math.round(t),o.height=Math.round(e)}n.onload=function(){if(0!==e.cropW){var p=o.getContext("2d"),u=1;e.high&!e.full&&(u=window.devicePixelRatio),1!==e.enlarge&!e.full&&(u=Math.abs(Number(e.enlarge)),console.log(u));var d=e.cropW*u,l=e.cropH*u,f=i*e.scale*u,g=s*e.scale*u,v=(e.x-a+e.trueWidth*(1-e.scale)/2)*u,m=(e.y-c+e.trueHeight*(1-e.scale)/2)*u;switch(h(d,l),p.save(),r){case 0:e.full?(h(d/e.scale,l/e.scale),p.drawImage(n,v/e.scale,m/e.scale,f/e.scale,g/e.scale)):p.drawImage(n,v,m,f,g);break;case 1:case-3:e.full?(h(d/e.scale,l/e.scale),v=v/e.scale+(f/e.scale-g/e.scale)/2,m=m/e.scale+(g/e.scale-f/e.scale)/2,p.rotate(90*r*Math.PI/180),p.drawImage(n,m,-v-g/e.scale,f/e.scale,g/e.scale)):(v+=(f-g)/2,m+=(g-f)/2,p.rotate(90*r*Math.PI/180),p.drawImage(n,m,-v-g,f,g));break;case 2:case-2:e.full?(h(d/e.scale,l/e.scale),p.rotate(90*r*Math.PI/180),v/=e.scale,m/=e.scale,p.drawImage(n,-v-f/e.scale,-m-g/e.scale,f/e.scale,g/e.scale)):(p.rotate(90*r*Math.PI/180),p.drawImage(n,-v-f,-m-g,f,g));break;case 3:case-1:e.full?(h(d/e.scale,l/e.scale),v=v/e.scale+(f/e.scale-g/e.scale)/2,m=m/e.scale+(g/e.scale-f/e.scale)/2,p.rotate(90*r*Math.PI/180),p.drawImage(n,-m-f/e.scale,v,f/e.scale,g/e.scale)):(v+=(f-g)/2,m+=(g-f)/2,p.rotate(90*r*Math.PI/180),p.drawImage(n,-m-f,v,f,g));break;default:e.full?(h(d/e.scale,l/e.scale),p.drawImage(n,v/e.scale,m/e.scale,f/e.scale,g/e.scale)):p.drawImage(n,v,m,f,g)}p.restore()}else{var w=i*e.scale,x=s*e.scale,C=o.getContext("2d");switch(C.save(),r){case 0:h(w,x),C.drawImage(n,0,0,w,x);break;case 1:case-3:h(x,w),C.rotate(90*r*Math.PI/180),C.drawImage(n,0,-x,w,x);break;case 2:case-2:h(w,x),C.rotate(90*r*Math.PI/180),C.drawImage(n,-w,-x,w,x);break;case 3:case-1:h(x,w),C.rotate(90*r*Math.PI/180),C.drawImage(n,-w,0,w,x);break;default:h(w,x),C.drawImage(n,0,0,w,x)}C.restore()}t(o)},"data"!==this.img.substr(0,4)&&(n.crossOrigin="Anonymous"),n.src=this.imgs},getCropData:function(t){var e=this;this.getCropChecked((function(o){t(o.toDataURL("image/"+e.outputType,e.outputSize))}))},getCropBlob:function(t){var e=this;this.getCropChecked((function(o){o.toBlob((function(e){return t(e)}),"image/"+e.outputType,e.outputSize)}))},showPreview:function(){var t=this;if(!this.isCanShow)return!1;this.isCanShow=!1,setTimeout((function(){t.isCanShow=!0}),16);var e=this.cropW,o=this.cropH,n=this.scale,r={};r.div={width:"".concat(e,"px"),height:"".concat(o,"px")};var i=(this.x-this.cropOffsertX)/n,s=(this.y-this.cropOffsertY)/n;r.w=e,r.h=o,r.url=this.imgs,r.img={width:"".concat(this.trueWidth,"px"),height:"".concat(this.trueHeight,"px"),transform:"scale(".concat(n,")translate3d(").concat(i,"px, ").concat(s,"px, ").concat(0,"px)rotateZ(").concat(90*this.rotate,"deg)")},r.html='\n <div class="show-preview" style="width: '.concat(r.w,"px; height: ").concat(r.h,'px,; overflow: hidden">\n <div style="width: ').concat(e,"px; height: ").concat(o,'px">\n <img src=').concat(r.url,' style="width: ').concat(this.trueWidth,"px; height: ").concat(this.trueHeight,"px; transform:\n scale(").concat(n,")translate3d(").concat(i,"px, ").concat(s,"px, ").concat(0,"px)rotateZ(").concat(90*this.rotate,'deg)">\n </div>\n </div>'),this.$emit("realTime",r),this.$emit("real-time",r)},reload:function(){var t=this,e=new Image;e.onload=function(){t.w=parseFloat(window.getComputedStyle(t.$refs.cropper).width),t.h=parseFloat(window.getComputedStyle(t.$refs.cropper).height),t.trueWidth=e.width,t.trueHeight=e.height,t.original?t.scale=1:t.scale=t.checkedMode(),t.$nextTick((function(){t.x=-(t.trueWidth-t.trueWidth*t.scale)/2+(t.w-t.trueWidth*t.scale)/2,t.y=-(t.trueHeight-t.trueHeight*t.scale)/2+(t.h-t.trueHeight*t.scale)/2,t.loading=!1,t.autoCrop&&t.goAutoCrop(),t.$emit("img-load","success"),t.$emit("imgLoad","success"),setTimeout((function(){t.showPreview()}),20)}))},e.onerror=function(){t.$emit("imgLoad","error"),t.$emit("img-load","error")},e.src=this.imgs},checkedMode:function(){var t=1,e=(this.trueWidth,this.trueHeight),o=this.mode.split(" ");switch(o[0]){case"contain":this.trueWidth>this.w&&(t=this.w/this.trueWidth),this.trueHeight*t>this.h&&(t=this.h/this.trueHeight);break;case"cover":(e*=t=this.w/this.trueWidth)<this.h&&(t=(e=this.h)/this.trueHeight);break;default:try{var n=o[0];if(-1!==n.search("px")&&(n=n.replace("px",""),t=parseFloat(n)/this.trueWidth),-1!==n.search("%")&&(n=n.replace("%",""),t=parseFloat(n)/100*this.w/this.trueWidth),2===o.length&&"auto"===n){var r=o[1];-1!==r.search("px")&&(r=r.replace("px",""),t=(e=parseFloat(r))/this.trueHeight),-1!==r.search("%")&&(r=r.replace("%",""),t=(e=parseFloat(r)/100*this.h)/this.trueHeight)}}catch(e){t=1}}return t},goAutoCrop:function(t,e){this.clearCrop(),this.cropping=!0;var o=this.w,n=this.h;if(this.centerBox){var r=this.trueWidth*this.scale,i=this.trueHeight*this.scale;o=r<o?r:o,n=i<n?i:n}var s=t||parseFloat(this.autoCropWidth),a=e||parseFloat(this.autoCropHeight);0!==s&&0!==a||(s=.8*o,a=.8*n),s=s>o?o:s,a=a>n?n:a,this.fixed&&(a=s/this.fixedNumber[0]*this.fixedNumber[1]),a>this.h&&(s=(a=this.h)/this.fixedNumber[1]*this.fixedNumber[0]),this.changeCrop(s,a)},changeCrop:function(t,e){var o=this;if(this.centerBox){var n=this.getImgAxis();t>n.x2-n.x1&&(e=(t=n.x2-n.x1)/this.fixedNumber[0]*this.fixedNumber[1]),e>n.y2-n.y1&&(t=(e=n.y2-n.y1)/this.fixedNumber[1]*this.fixedNumber[0])}this.cropW=t,this.cropH=e,this.cropOffsertX=(this.w-t)/2,this.cropOffsertY=(this.h-e)/2,this.centerBox&&this.$nextTick((function(){o.moveCrop(null,!0)}))},refresh:function(){var t=this;this.img,this.imgs="",this.scale=1,this.crop=!1,this.rotate=0,this.w=0,this.h=0,this.trueWidth=0,this.trueHeight=0,this.clearCrop(),this.$nextTick((function(){t.checkedImg()}))},rotateLeft:function(){this.rotate=this.rotate<=-3?0:this.rotate-1},rotateRight:function(){this.rotate=this.rotate>=3?0:this.rotate+1},rotateClear:function(){this.rotate=0},checkoutImgAxis:function(t,e,o){t=t||this.x,e=e||this.y,o=o||this.scale;var n=!0;if(this.centerBox){var r=this.getImgAxis(t,e,o),i=this.getCropAxis();r.x1>=i.x1&&(n=!1),r.x2<=i.x2&&(n=!1),r.y1>=i.y1&&(n=!1),r.y2<=i.y2&&(n=!1)}return n}},mounted:function(){this.support="onwheel"in document.createElement("div")?"wheel":void 0!==document.onmousewheel?"mousewheel":"DOMMouseScroll";var t=this,e=navigator.userAgent;this.isIOS=!!e.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/),HTMLCanvasElement.prototype.toBlob||Object.defineProperty(HTMLCanvasElement.prototype,"toBlob",{value:function(e,o,n){for(var r=atob(this.toDataURL(o,n).split(",")[1]),i=r.length,s=new Uint8Array(i),a=0;a<i;a++)s[a]=r.charCodeAt(a);e(new Blob([s],{type:t.type||"image/png"}))}}),this.showPreview(),this.checkedImg()},destroyed:function(){window.removeEventListener("mousemove",this.moveCrop),window.removeEventListener("mouseup",this.leaveCrop),window.removeEventListener("touchmove",this.moveCrop),window.removeEventListener("touchend",this.leaveCrop)}};o(1);var a=function(t,e,o,n,r,i,s,a){var c,h="function"==typeof t?t.options:t;if(e&&(h.render=e,h.staticRenderFns=o,h._compiled=!0),n&&(h.functional=!0),i&&(h._scopeId="data-v-"+i),s?(c=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),r&&r.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(s)},h._ssrRegister=c):r&&(c=a?function(){r.call(this,this.$root.$options.shadowRoot)}:r),c)if(h.functional){h._injectStyles=c;var p=h.render;h.render=function(t,e){return c.call(e),p(t,e)}}else{var u=h.beforeCreate;h.beforeCreate=u?[].concat(u,c):[c]}return{exports:t,options:h}}(s,n,[],!1,null,"6dae58fd",null);a.options.__file="src/vue-cropper.vue";var c=a.exports;o.d(e,"VueCropper",(function(){return c}));var h=function(t){t.component("VueCropper",c)};"undefined"!=typeof window&&window.Vue&&h(window.Vue),e.default={version:"0.4.8",install:h,VueCropper:c,vueCropper:c}}])}))}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d0d67a2"],{"735e":function(e,t,a){"use strict";a.r(t);var o=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"app-container"},[a("el-form",{ref:"queryForm",attrs:{model:e.queryParams,inline:!0,"label-width":"68px"}},[a("el-form-item",{attrs:{label:"任务名称",prop:"jobName"}},[a("el-input",{staticStyle:{width:"240px"},attrs:{placeholder:"请输入任务名称",clearable:"",size:"small"},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.handleQuery(t)}},model:{value:e.queryParams.jobName,callback:function(t){e.$set(e.queryParams,"jobName",t)},expression:"queryParams.jobName"}})],1),e._v(" "),a("el-form-item",{attrs:{label:"任务组名",prop:"jobGroup"}},[a("el-select",{staticStyle:{width:"240px"},attrs:{placeholder:"请任务组名",clearable:"",size:"small"},model:{value:e.queryParams.jobGroup,callback:function(t){e.$set(e.queryParams,"jobGroup",t)},expression:"queryParams.jobGroup"}},e._l(e.jobGroupOptions,(function(e){return a("el-option",{key:e.dictValue,attrs:{label:e.dictLabel,value:e.dictValue}})})),1)],1),e._v(" "),a("el-form-item",{attrs:{label:"执行状态",prop:"status"}},[a("el-select",{staticStyle:{width:"240px"},attrs:{placeholder:"请选择执行状态",clearable:"",size:"small"},model:{value:e.queryParams.status,callback:function(t){e.$set(e.queryParams,"status",t)},expression:"queryParams.status"}},e._l(e.statusOptions,(function(e){return a("el-option",{key:e.dictValue,attrs:{label:e.dictLabel,value:e.dictValue}})})),1)],1),e._v(" "),a("el-form-item",{attrs:{label:"执行时间"}},[a("el-date-picker",{staticStyle:{width:"240px"},attrs:{size:"small","value-format":"yyyy-MM-dd",type:"daterange","range-separator":"-","start-placeholder":"开始日期","end-placeholder":"结束日期"},model:{value:e.dateRange,callback:function(t){e.dateRange=t},expression:"dateRange"}})],1),e._v(" "),a("el-form-item",[a("el-button",{attrs:{type:"primary",icon:"el-icon-search",size:"mini"},on:{click:e.handleQuery}},[e._v("搜索")]),e._v(" "),a("el-button",{attrs:{icon:"el-icon-refresh",size:"mini"},on:{click:e.resetQuery}},[e._v("重置")])],1)],1),e._v(" "),a("el-row",{staticClass:"mb8",attrs:{gutter:10}},[a("el-col",{attrs:{span:1.5}},[a("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["monitor:job:remove"],expression:"['monitor:job:remove']"}],attrs:{type:"danger",icon:"el-icon-delete",size:"mini",disabled:e.multiple},on:{click:e.handleDelete}},[e._v("删除")])],1),e._v(" "),a("el-col",{attrs:{span:1.5}},[a("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["monitor:job:remove"],expression:"['monitor:job:remove']"}],attrs:{type:"danger",icon:"el-icon-delete",size:"mini"},on:{click:e.handleClean}},[e._v("清空")])],1),e._v(" "),a("el-col",{attrs:{span:1.5}},[a("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["monitor:jobLog:export"],expression:"['monitor:jobLog:export']"}],attrs:{type:"warning",icon:"el-icon-download",size:"mini"},on:{click:e.handleExport}},[e._v("导出")])],1)],1),e._v(" "),a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],attrs:{data:e.jobLogList},on:{"selection-change":e.handleSelectionChange}},[a("el-table-column",{attrs:{type:"selection",width:"55",align:"center"}}),e._v(" "),a("el-table-column",{attrs:{label:"日志编号",width:"80",align:"center",prop:"jobLogId"}}),e._v(" "),a("el-table-column",{attrs:{label:"任务名称",align:"center",prop:"jobName","show-overflow-tooltip":!0}}),e._v(" "),a("el-table-column",{attrs:{label:"任务组名",align:"center",prop:"jobGroup",formatter:e.jobGroupFormat,"show-overflow-tooltip":!0}}),e._v(" "),a("el-table-column",{attrs:{label:"调用目标字符串",align:"center",prop:"invokeTarget","show-overflow-tooltip":!0}}),e._v(" "),a("el-table-column",{attrs:{label:"日志信息",align:"center",prop:"jobMessage","show-overflow-tooltip":!0}}),e._v(" "),a("el-table-column",{attrs:{label:"执行状态",align:"center",prop:"status",formatter:e.statusFormat}}),e._v(" "),a("el-table-column",{attrs:{label:"执行时间",align:"center",prop:"createTime",width:"180"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(e.parseTime(t.row.createTime)))])]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"操作",align:"center","class-name":"small-padding fixed-width"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["monitor:job:query"],expression:"['monitor:job:query']"}],attrs:{size:"mini",type:"text",icon:"el-icon-view"},on:{click:function(a){return e.handleView(t.row)}}},[e._v("详细")])]}}])})],1),e._v(" "),a("pagination",{directives:[{name:"show",rawName:"v-show",value:e.total>0,expression:"total>0"}],attrs:{total:e.total,page:e.queryParams.pageNum,limit:e.queryParams.pageSize},on:{"update:page":function(t){return e.$set(e.queryParams,"pageNum",t)},"update:limit":function(t){return e.$set(e.queryParams,"pageSize",t)},pagination:e.getList}}),e._v(" "),a("el-dialog",{attrs:{title:"调度日志详细",visible:e.open,width:"700px","append-to-body":""},on:{"update:visible":function(t){e.open=t}}},[a("el-form",{ref:"form",attrs:{model:e.form,"label-width":"100px",size:"mini"}},[a("el-row",[a("el-col",{attrs:{span:12}},[a("el-form-item",{attrs:{label:"日志序号:"}},[e._v(e._s(e.form.jobLogId))]),e._v(" "),a("el-form-item",{attrs:{label:"任务名称:"}},[e._v(e._s(e.form.jobName))])],1),e._v(" "),a("el-col",{attrs:{span:12}},[a("el-form-item",{attrs:{label:"任务分组:"}},[e._v(e._s(e.form.jobGroup))]),e._v(" "),a("el-form-item",{attrs:{label:"执行时间:"}},[e._v(e._s(e.form.createTime))])],1),e._v(" "),a("el-col",{attrs:{span:24}},[a("el-form-item",{attrs:{label:"调用方法:"}},[e._v(e._s(e.form.invokeTarget))])],1),e._v(" "),a("el-col",{attrs:{span:24}},[a("el-form-item",{attrs:{label:"日志信息:"}},[e._v(e._s(e.form.jobMessage))])],1),e._v(" "),a("el-col",{attrs:{span:24}},[a("el-form-item",{attrs:{label:"执行状态:"}},[0==e.form.status?a("div",[e._v("正常")]):1==e.form.status?a("div",[e._v("失败")]):e._e()])],1),e._v(" "),a("el-col",{attrs:{span:24}},[1==e.form.status?a("el-form-item",{attrs:{label:"异常信息:"}},[e._v(e._s(e.form.exceptionInfo))]):e._e()],1)],1)],1),e._v(" "),a("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:function(t){e.open=!1}}},[e._v("关 闭")])],1)],1)],1)},r=[],n=a("ade3"),l=a("b775");function i(e){return Object(l["a"])({url:"/monitor/jobLog/list",method:"get",params:e})}function s(e){return Object(l["a"])({url:"/monitor/jobLog/"+e,method:"delete"})}function u(){return Object(l["a"])({url:"/monitor/jobLog/clean",method:"delete"})}function c(e){return Object(l["a"])({url:"/monitor/jobLog/export",method:"get",params:e})}var m={name:"JobLog",data:function(){return Object(n["a"])({loading:!0,ids:[],multiple:!0,total:0,jobLogList:[],open:!1,dateRange:[],form:{},statusOptions:[],jobGroupOptions:[],queryParams:{pageNum:1,pageSize:10,jobName:void 0,jobGroup:void 0,status:void 0}},"form",{})},created:function(){var e=this;this.getList(),this.getDicts("sys_job_status").then((function(t){e.statusOptions=t.data})),this.getDicts("sys_job_group").then((function(t){e.jobGroupOptions=t.data}))},methods:{getList:function(){var e=this;this.loading=!0,i(this.addDateRange(this.queryParams,this.dateRange)).then((function(t){e.jobLogList=t.rows,e.total=t.total,e.loading=!1}))},statusFormat:function(e,t){return this.selectDictLabel(this.statusOptions,e.status)},jobGroupFormat:function(e,t){return this.selectDictLabel(this.jobGroupOptions,e.jobGroup)},handleQuery:function(){this.queryParams.pageNum=1,this.getList()},resetQuery:function(){this.dateRange=[],this.resetForm("queryForm"),this.handleQuery()},handleSelectionChange:function(e){this.ids=e.map((function(e){return e.jobLogId})),this.multiple=!e.length},handleView:function(e){this.open=!0,this.form=e},handleDelete:function(e){var t=this,a=this.ids;this.$confirm('是否确认删除调度日志编号为"'+a+'"的数据项?',"警告",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){return s(a)})).then((function(){t.getList(),t.msgSuccess("删除成功")})).catch((function(){}))},handleClean:function(){var e=this;this.$confirm("是否确认清空所有调度日志数据项?","警告",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){return u()})).then((function(){e.getList(),e.msgSuccess("清空成功")})).catch((function(){}))},handleExport:function(){var e=this,t=this.queryParams;this.$confirm("是否确认导出所有调度日志数据项?","警告",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){return c(t)})).then((function(t){e.download(t.msg)})).catch((function(){}))}}},p=m,d=a("2877"),b=Object(d["a"])(p,o,r,!1,null,null,null);t["default"]=b.exports}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d0d67a2"],{"735e":function(e,t,a){"use strict";a.r(t);var o=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"app-container"},[a("el-form",{ref:"queryForm",attrs:{model:e.queryParams,inline:!0,"label-width":"68px"}},[a("el-form-item",{attrs:{label:"任务名称",prop:"jobName"}},[a("el-input",{staticStyle:{width:"240px"},attrs:{placeholder:"请输入任务名称",clearable:"",size:"small"},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.handleQuery(t)}},model:{value:e.queryParams.jobName,callback:function(t){e.$set(e.queryParams,"jobName",t)},expression:"queryParams.jobName"}})],1),e._v(" "),a("el-form-item",{attrs:{label:"任务组名",prop:"jobGroup"}},[a("el-select",{staticStyle:{width:"240px"},attrs:{placeholder:"请任务组名",clearable:"",size:"small"},model:{value:e.queryParams.jobGroup,callback:function(t){e.$set(e.queryParams,"jobGroup",t)},expression:"queryParams.jobGroup"}},e._l(e.jobGroupOptions,(function(e){return a("el-option",{key:e.dictValue,attrs:{label:e.dictLabel,value:e.dictValue}})})),1)],1),e._v(" "),a("el-form-item",{attrs:{label:"执行状态",prop:"status"}},[a("el-select",{staticStyle:{width:"240px"},attrs:{placeholder:"请选择执行状态",clearable:"",size:"small"},model:{value:e.queryParams.status,callback:function(t){e.$set(e.queryParams,"status",t)},expression:"queryParams.status"}},e._l(e.statusOptions,(function(e){return a("el-option",{key:e.dictValue,attrs:{label:e.dictLabel,value:e.dictValue}})})),1)],1),e._v(" "),a("el-form-item",{attrs:{label:"执行时间"}},[a("el-date-picker",{staticStyle:{width:"240px"},attrs:{size:"small","value-format":"yyyy-MM-dd",type:"daterange","range-separator":"-","start-placeholder":"开始日期","end-placeholder":"结束日期"},model:{value:e.dateRange,callback:function(t){e.dateRange=t},expression:"dateRange"}})],1),e._v(" "),a("el-form-item",[a("el-button",{attrs:{type:"primary",icon:"el-icon-search",size:"mini"},on:{click:e.handleQuery}},[e._v("搜索")]),e._v(" "),a("el-button",{attrs:{icon:"el-icon-refresh",size:"mini"},on:{click:e.resetQuery}},[e._v("重置")])],1)],1),e._v(" "),a("el-row",{staticClass:"mb8",attrs:{gutter:10}},[a("el-col",{attrs:{span:1.5}},[a("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["monitor:job:remove"],expression:"['monitor:job:remove']"}],attrs:{type:"danger",icon:"el-icon-delete",size:"mini",disabled:e.multiple},on:{click:e.handleDelete}},[e._v("删除")])],1),e._v(" "),a("el-col",{attrs:{span:1.5}},[a("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["monitor:job:remove"],expression:"['monitor:job:remove']"}],attrs:{type:"danger",icon:"el-icon-delete",size:"mini"},on:{click:e.handleClean}},[e._v("清空")])],1),e._v(" "),a("el-col",{attrs:{span:1.5}},[a("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["monitor:jobLog:export"],expression:"['monitor:jobLog:export']"}],attrs:{type:"warning",icon:"el-icon-download",size:"mini"},on:{click:e.handleExport}},[e._v("导出")])],1)],1),e._v(" "),a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],attrs:{data:e.jobLogList},on:{"selection-change":e.handleSelectionChange}},[a("el-table-column",{attrs:{type:"selection",width:"55",align:"center"}}),e._v(" "),a("el-table-column",{attrs:{label:"日志编号",width:"80",align:"center",prop:"jobLogId"}}),e._v(" "),a("el-table-column",{attrs:{label:"任务名称",align:"center",prop:"jobName","show-overflow-tooltip":!0}}),e._v(" "),a("el-table-column",{attrs:{label:"任务组名",align:"center",prop:"jobGroup",formatter:e.jobGroupFormat,"show-overflow-tooltip":!0}}),e._v(" "),a("el-table-column",{attrs:{label:"调用目标字符串",align:"center",prop:"invokeTarget","show-overflow-tooltip":!0}}),e._v(" "),a("el-table-column",{attrs:{label:"日志信息",align:"center",prop:"jobMessage","show-overflow-tooltip":!0}}),e._v(" "),a("el-table-column",{attrs:{label:"执行状态",align:"center",prop:"status",formatter:e.statusFormat}}),e._v(" "),a("el-table-column",{attrs:{label:"执行时间",align:"center",prop:"createTime",width:"180"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(e.parseTime(t.row.createTime)))])]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"操作",align:"center","class-name":"small-padding fixed-width"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["monitor:job:query"],expression:"['monitor:job:query']"}],attrs:{size:"mini",type:"text",icon:"el-icon-view"},on:{click:function(a){return e.handleView(t.row)}}},[e._v("详细")])]}}])})],1),e._v(" "),a("pagination",{directives:[{name:"show",rawName:"v-show",value:e.total>0,expression:"total>0"}],attrs:{total:e.total,page:e.queryParams.pageNum,limit:e.queryParams.pageSize},on:{"update:page":function(t){return e.$set(e.queryParams,"pageNum",t)},"update:limit":function(t){return e.$set(e.queryParams,"pageSize",t)},pagination:e.getList}}),e._v(" "),a("el-dialog",{attrs:{title:"调度日志详细",visible:e.open,width:"700px","append-to-body":""},on:{"update:visible":function(t){e.open=t}}},[a("el-form",{ref:"form",attrs:{model:e.form,"label-width":"100px",size:"mini"}},[a("el-row",[a("el-col",{attrs:{span:12}},[a("el-form-item",{attrs:{label:"日志序号:"}},[e._v(e._s(e.form.jobLogId))]),e._v(" "),a("el-form-item",{attrs:{label:"任务名称:"}},[e._v(e._s(e.form.jobName))])],1),e._v(" "),a("el-col",{attrs:{span:12}},[a("el-form-item",{attrs:{label:"任务分组:"}},[e._v(e._s(e.form.jobGroup))]),e._v(" "),a("el-form-item",{attrs:{label:"执行时间:"}},[e._v(e._s(e.form.createTime))])],1),e._v(" "),a("el-col",{attrs:{span:24}},[a("el-form-item",{attrs:{label:"调用方法:"}},[e._v(e._s(e.form.invokeTarget))])],1),e._v(" "),a("el-col",{attrs:{span:24}},[a("el-form-item",{attrs:{label:"日志信息:"}},[e._v(e._s(e.form.jobMessage))])],1),e._v(" "),a("el-col",{attrs:{span:24}},[a("el-form-item",{attrs:{label:"执行状态:"}},[0==e.form.status?a("div",[e._v("正常")]):1==e.form.status?a("div",[e._v("失败")]):e._e()])],1),e._v(" "),a("el-col",{attrs:{span:24}},[1==e.form.status?a("el-form-item",{attrs:{label:"异常信息:"}},[e._v(e._s(e.form.exceptionInfo))]):e._e()],1)],1)],1),e._v(" "),a("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:function(t){e.open=!1}}},[e._v("关 闭")])],1)],1)],1)},r=[],n=a("8ee4"),l=a("b775");function i(e){return Object(l["a"])({url:"/monitor/jobLog/list",method:"get",params:e})}function s(e){return Object(l["a"])({url:"/monitor/jobLog/"+e,method:"delete"})}function u(){return Object(l["a"])({url:"/monitor/jobLog/clean",method:"delete"})}function c(e){return Object(l["a"])({url:"/monitor/jobLog/export",method:"get",params:e})}var m={name:"JobLog",data:function(){return Object(n["a"])({loading:!0,ids:[],multiple:!0,total:0,jobLogList:[],open:!1,dateRange:[],form:{},statusOptions:[],jobGroupOptions:[],queryParams:{pageNum:1,pageSize:10,jobName:void 0,jobGroup:void 0,status:void 0}},"form",{})},created:function(){var e=this;this.getList(),this.getDicts("sys_job_status").then((function(t){e.statusOptions=t.data})),this.getDicts("sys_job_group").then((function(t){e.jobGroupOptions=t.data}))},methods:{getList:function(){var e=this;this.loading=!0,i(this.addDateRange(this.queryParams,this.dateRange)).then((function(t){e.jobLogList=t.rows,e.total=t.total,e.loading=!1}))},statusFormat:function(e,t){return this.selectDictLabel(this.statusOptions,e.status)},jobGroupFormat:function(e,t){return this.selectDictLabel(this.jobGroupOptions,e.jobGroup)},handleQuery:function(){this.queryParams.pageNum=1,this.getList()},resetQuery:function(){this.dateRange=[],this.resetForm("queryForm"),this.handleQuery()},handleSelectionChange:function(e){this.ids=e.map((function(e){return e.jobLogId})),this.multiple=!e.length},handleView:function(e){this.open=!0,this.form=e},handleDelete:function(e){var t=this,a=this.ids;this.$confirm('是否确认删除调度日志编号为"'+a+'"的数据项?',"警告",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){return s(a)})).then((function(){t.getList(),t.msgSuccess("删除成功")})).catch((function(){}))},handleClean:function(){var e=this;this.$confirm("是否确认清空所有调度日志数据项?","警告",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){return u()})).then((function(){e.getList(),e.msgSuccess("清空成功")})).catch((function(){}))},handleExport:function(){var e=this,t=this.queryParams;this.$confirm("是否确认导出所有调度日志数据项?","警告",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){return c(t)})).then((function(t){e.download(t.msg)})).catch((function(){}))}}},p=m,d=a("cba8"),b=Object(d["a"])(p,o,r,!1,null,null,null);t["default"]=b.exports}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d0e28b6"],{"7ec5":function(e,t,l){"use strict";l.r(t);var i=function(){var e=this,t=e.$createElement,l=e._self._c||t;return l("div",{staticClass:"app-container"},[l("el-row",{staticClass:"mb8",attrs:{gutter:10}},[l("el-col",{attrs:{span:1.5}},[l("el-button",{attrs:{type:"primary",icon:"el-icon-plus",size:"mini"},on:{click:e.handleAdd}},[e._v("新增")])],1),e._v(" "),l("el-col",{attrs:{span:1.5}},[l("el-button",{attrs:{type:"success",icon:"el-icon-edit",size:"mini",disabled:e.single},on:{click:e.handleUpdate}},[e._v("修改")])],1),e._v(" "),l("el-col",{attrs:{span:1.5}},[l("el-button",{attrs:{type:"danger",icon:"el-icon-delete",size:"mini",disabled:e.multiple},on:{click:e.handleDelete}},[e._v("删除")])],1)],1),e._v(" "),l("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],ref:"dragTable",attrs:{data:e.fieldsList,"row-key":"field_id"},on:{"selection-change":e.handleSelectionChange}},[l("el-table-column",{attrs:{align:"center",width:"40"},scopedSlots:e._u([{key:"default",fn:function(e){return[l("svg-icon",{staticClass:"drag-handler",attrs:{"icon-class":"drag"}})]}}])}),e._v(" "),l("el-table-column",{attrs:{type:"selection",width:"45",align:"center"}}),e._v(" "),l("el-table-column",{attrs:{label:"字段编号",align:"center",width:"50",prop:"field_id"}}),e._v(" "),l("el-table-column",{attrs:{label:"字段名称",align:"center",prop:"field_name"}}),e._v(" "),l("el-table-column",{attrs:{label:"字段标题",align:"center",prop:"field_title"}}),e._v(" "),l("el-table-column",{attrs:{label:"字段类型",align:"center",prop:"field_type"}}),e._v(" "),l("el-table-column",{attrs:{label:"字段规则",align:"center",prop:"field_rules"}}),e._v(" "),l("el-table-column",{attrs:{label:"主键","min-width":"30"},scopedSlots:e._u([{key:"default",fn:function(t){return[l("el-radio",{attrs:{label:t.row.field_id},model:{value:e.fieldPkId,callback:function(t){e.fieldPkId=t},expression:"fieldPkId"}},[e._v("是")])]}}])}),e._v(" "),l("el-table-column",{attrs:{label:"排序字段","min-width":"30"},scopedSlots:e._u([{key:"default",fn:function(t){return[l("el-checkbox",{attrs:{"true-label":"1"},model:{value:t.row.model_sort,callback:function(l){e.$set(t.row,"model_sort",l)},expression:"scope.row.model_sort"}})]}}])}),e._v(" "),l("el-table-column",{attrs:{label:"列表显示","min-width":"30"},scopedSlots:e._u([{key:"default",fn:function(t){return[l("el-checkbox",{attrs:{"true-label":"1"},model:{value:t.row.model_list,callback:function(l){e.$set(t.row,"model_list",l)},expression:"scope.row.model_list"}})]}}])}),e._v(" "),l("el-table-column",{attrs:{label:"可编辑","min-width":"30"},scopedSlots:e._u([{key:"default",fn:function(t){return[l("el-checkbox",{attrs:{"true-label":"1"},model:{value:t.row.model_edit,callback:function(l){e.$set(t.row,"model_edit",l)},expression:"scope.row.model_edit"}})]}}])}),e._v(" "),l("el-table-column",{attrs:{label:"模型索引","min-width":"30"},scopedSlots:e._u([{key:"default",fn:function(t){return[l("el-checkbox",{attrs:{"true-label":"1"},model:{value:t.row.model_indexes,callback:function(l){e.$set(t.row,"model_indexes",l)},expression:"scope.row.model_indexes"}})]}}])}),e._v(" "),l("el-table-column",{attrs:{label:"列表查询","min-width":"30"},scopedSlots:e._u([{key:"default",fn:function(t){return[l("el-checkbox",{attrs:{"true-label":"1"},model:{value:t.row.search_list,callback:function(l){e.$set(t.row,"search_list",l)},expression:"scope.row.search_list"}})]}}])}),e._v(" "),l("el-table-column",{attrs:{label:"操作",align:"center","class-name":"small-padding fixed-width"},scopedSlots:e._u([{key:"default",fn:function(t){return[l("el-button",{attrs:{size:"mini",type:"text",icon:"el-icon-edit"},on:{click:function(l){return e.handleUpdate(t.row)}}},[e._v("修改")]),e._v(" "),l("el-button",{attrs:{size:"mini",type:"text",icon:"el-icon-delete"},on:{click:function(l){return e.handleDelete(t.row)}}},[e._v("删除")])]}}])})],1),e._v(" "),l("el-form",{attrs:{"label-width":"100px"}},[l("el-form-item",{staticStyle:{"text-align":"center","margin-left":"-100px","margin-top":"10px"}},[l("el-button",{attrs:{type:"primary"},on:{click:function(t){return e.submitFormList()}}},[e._v("提交")]),e._v(" "),l("el-button",{on:{click:function(t){return e.close()}}},[e._v("返回")])],1)],1),e._v(" "),l("el-dialog",{attrs:{title:e.title,visible:e.open,width:"600px","append-to-body":""},on:{"update:visible":function(t){e.open=t}}},[l("el-form",{ref:"form",attrs:{model:e.form,rules:e.rules,"label-width":"160px"}},[l("el-form-item",{attrs:{label:"字段名称",prop:"fieldName"}},[l("el-input",{attrs:{placeholder:"请输入字段名称"},model:{value:e.form.fieldName,callback:function(t){e.$set(e.form,"fieldName",t)},expression:"form.fieldName"}})],1),e._v(" "),l("el-form-item",{attrs:{label:"字段标题",prop:"fieldTitle"}},[l("el-input",{attrs:{placeholder:"请输入字段标题"},model:{value:e.form.fieldTitle,callback:function(t){e.$set(e.form,"fieldTitle",t)},expression:"form.fieldTitle"}})],1),e._v(" "),l("el-form-item",{attrs:{label:"字段类型",prop:"fieldType"}},[l("el-select",{on:{change:e.typeChange},model:{value:e.form.fieldType,callback:function(t){e.$set(e.form,"fieldType",t)},expression:"form.fieldType"}},e._l(e.fieldsType,(function(e){return l("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),1)],1),e._v(" "),l("el-form-item",{directives:[{name:"show",rawName:"v-show",value:e.tagShow.inputData,expression:"tagShow.inputData"}],attrs:{prop:"fieldData"}},[l("span",{attrs:{slot:"label"},slot:"label"},[e._v("\n 字段数据\n "),l("el-tooltip",{attrs:{content:"格式:'1:text1,2:text2,3:text3' 或 '数据表名|值字段名|标题字段名(|排序字段)(|条件)' 或 :字典编码",placement:"top-start"}},[l("i",{staticClass:"el-icon-question"})])],1),e._v(" "),l("el-input",{attrs:{placeholder:"请输入字段数据"},model:{value:e.form.fieldData,callback:function(t){e.$set(e.form,"fieldData",t)},expression:"form.fieldData"}})],1),e._v(" "),l("el-form-item",{directives:[{name:"show",rawName:"v-show",value:e.tagShow.inputLength,expression:"tagShow.inputLength"}],attrs:{label:"字段长度",prop:"fieldLength"}},[l("el-input",{attrs:{placeholder:"请输入字段长度"},model:{value:e.form.fieldLength,callback:function(t){e.$set(e.form,"fieldLength",t)},expression:"form.fieldLength"}})],1),e._v(" "),l("el-form-item",{directives:[{name:"show",rawName:"v-show",value:e.tagShow.inputDefault,expression:"tagShow.inputDefault"}],attrs:{label:"字段默认值",prop:"fieldDefault"}},[l("el-input",{attrs:{placeholder:"请输入字段默认值 地图类型时'lng,lat'"},model:{value:e.form.fieldDefault,callback:function(t){e.$set(e.form,"fieldDefault",t)},expression:"form.fieldDefault"}})],1),e._v(" "),l("el-form-item",{attrs:{label:"字段说明",prop:"fieldDesc"}},[l("el-input",{attrs:{placeholder:"请输入字段说明"},model:{value:e.form.fieldDesc,callback:function(t){e.$set(e.form,"fieldDesc",t)},expression:"form.fieldDesc"}})],1),e._v(" "),l("el-form-item",{directives:[{name:"show",rawName:"v-show",value:e.tagShow.inputRules,expression:"tagShow.inputRules"}],attrs:{label:"字段规则",prop:"fieldRules"}},[l("el-select",{attrs:{multiple:""},model:{value:e.form.fieldRules,callback:function(t){e.$set(e.form,"fieldRules",t)},expression:"form.fieldRules"}},e._l(e.fieldsRules,(function(e){return l("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),1)],1),e._v(" "),l("el-form-item",{attrs:{label:"字段列表显示宽度",prop:"fieldWidth"}},[l("el-input",{attrs:{placeholder:"请输入字段列表显示宽度"},model:{value:e.form.fieldWidth,callback:function(t){e.$set(e.form,"fieldWidth",t)},expression:"form.fieldWidth"}})],1),e._v(" "),l("el-form-item",{attrs:{label:"字段列表对齐方式",prop:"fieldAlign"}},[l("el-input",{attrs:{placeholder:"请输入字段列表对齐方式"},model:{value:e.form.fieldAlign,callback:function(t){e.$set(e.form,"fieldAlign",t)},expression:"form.fieldAlign"}})],1)],1),e._v(" "),l("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[l("el-button",{attrs:{type:"primary"},on:{click:e.submitForm}},[e._v("确 定")]),e._v(" "),l("el-button",{on:{click:e.cancel}},[e._v("取 消")])],1)],1)],1)},a=[],o=(l("28a5"),l("6762"),l("2fdb"),l("b775"));function n(e){return Object(o["a"])({url:"/system/model/fields/add",method:"post",data:e})}function s(e){return Object(o["a"])({url:"/system/model/fields/list",method:"get",params:{modelId:e}})}function r(e,t,l){return Object(o["a"])({url:"/system/model/fields/setFieldsAttr",method:"post",data:{fieldsList:e,pkId:t,modelId:l}})}function d(e){return Object(o["a"])({url:"/system/model/fields/edit?id="+e,method:"get"})}function u(e){return Object(o["a"])({url:"/system/model/fields/edit",method:"post",data:e})}function c(e){return Object(o["a"])({url:"/system/model/fields/delete",method:"delete",data:{ids:e}})}var f=l("53fe"),m=l.n(f),p={name:"Post",data:function(){return{loading:!0,ids:[],fieldPkId:null,single:!0,multiple:!0,fieldsList:[],oldList:[],newList:[],title:"",open:!1,statusOptions:[],fieldsType:[{value:"text",label:"文本"},{value:"baidu_map",label:"百度地图坐标"},{value:"imagefile",label:"单图片"},{value:"images",label:"多图片"},{value:"file",label:"单文件"},{value:"files",label:"多文件"},{value:"selecttext",label:"选择文本"},{value:"currency",label:"货币"},{value:"large_number",label:"长整型"},{value:"number",label:"整数"},{value:"datetime",label:"日期时间"},{value:"date",label:"日期"},{value:"selectnumber",label:"选择数字"},{value:"richtext",label:"富文本"},{value:"bigtext",label:"文本域"},{value:"switch",label:"开关"},{value:"checkbox",label:"多选框"},{value:"DepartmentSelector",label:"部门选择器"}],fieldsRules:[{value:"lengthfixed",label:"lengthfixed"},{value:"required",label:"required"},{value:"unsigned",label:"unsigned"},{value:"unique",label:"unique"},{value:"readonly",label:"readonly"},{value:"hidden",label:"hidden"}],dataSelect:["selecttext","checkbox","selectnumber"],tagShow:{inputData:!1,inputLength:!1,inputDefault:!1,inputRules:!0},modelId:0,form:{},rules:{fieldName:[{required:!0,message:"字段名称不能为空",trigger:"blur"}],fieldTitle:[{required:!0,message:"字段标题不能为空",trigger:"blur"}],fieldType:[{required:!0,message:"字段类型不能为空",trigger:"change"}]}}},created:function(){var e=this.$route.query.modelId;e&&(this.modelId=e),this.getList()},methods:{getList:function(){var e=this;this.loading=!0,s(this.modelId).then((function(t){e.fieldsList=t.data.list?t.data.list:[],e.oldList=e.fieldsList.map((function(t){return"1"==t.model_pk&&(e.fieldPkId=t.field_id),t.field_id})),e.newList=e.oldList.slice(),e.loading=!1,e.$nextTick((function(){e.setSort()}))}))},typeChange:function(e){this.showOption(e)},showOption:function(e){this.dataSelect.includes(e)?(this.tagShow.inputData=!0,this.tagShow.inputLength=!1):"text"==e?(this.tagShow.inputData=!1,this.tagShow.inputLength=!0):(this.tagShow.inputData=!1,this.tagShow.inputLength=!1),this.tagShow.inputDefault="imagefile"!=e&&"images"!=e&&"file"!=e&&"files"!=e,this.tagShow.inputRules="switch"!=e},cancel:function(){this.open=!1,this.reset()},reset:function(){this.form={fieldId:void 0,modelId:this.modelId,fieldName:void 0,fieldTitle:void 0,fieldType:"",fieldData:void 0,fieldLength:void 0,fieldDefault:void 0,fieldDesc:void 0,fieldRules:[],fieldWidth:"",fieldAlign:""},this.resetForm("form")},handleQuery:function(){this.getList()},resetQuery:function(){this.resetForm("queryForm"),this.handleQuery()},handleSelectionChange:function(e){this.ids=e.map((function(e){return e.field_id})),this.single=1!=e.length,this.multiple=!e.length},handleAdd:function(){this.reset(),this.open=!0,this.title="添加字段"},handleUpdate:function(e){var t=this;this.reset();var l=e.field_id||this.ids;d(l).then((function(e){var l=e.data;l&&(t.form={fieldId:l.field_id,modelId:l.model_id,fieldName:l.field_name,fieldTitle:l.field_title,fieldType:l.field_type,fieldData:l.field_data,fieldLength:l.field_length,fieldDefault:l.field_default,fieldDesc:l.field_desc,fieldRules:""!=l.field_rules?l.field_rules.split(","):[],fieldWidth:l.field_width,fieldAlign:l.field_align},t.showOption(t.form.fieldType)),t.open=!0,t.title="修改字段"}))},submitForm:function(){var e=this;this.$refs["form"].validate((function(t){t&&(void 0!=e.form.fieldId?u(e.form).then((function(t){0===t.code?(e.msgSuccess("修改成功"),e.open=!1,e.getList()):e.msgError(t.msg)})):n(e.form).then((function(t){0===t.code?(e.msgSuccess("新增成功"),e.open=!1,e.getList()):e.msgError(t.msg)})))}))},submitFormList:function(){var e=this;r(this.fieldsList,this.fieldPkId,this.modelId).then((function(t){0===t.code?(e.msgSuccess("修改成功"),e.getList()):e.msgError(t.msg)}))},handleDelete:function(e){var t=this,l=e.field_id?[e.field_id]:this.ids;this.$confirm('是否确认删除字段编号为"'+l+'"的数据项?',"警告",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){return c(l)})).then((function(){t.getList(),t.msgSuccess("删除成功")})).catch((function(){}))},setSort:function(){var e=this,t=this.$refs.dragTable.$el.querySelectorAll(".el-table__body-wrapper > table > tbody")[0];this.sortable=m.a.create(t,{ghostClass:"sortable-ghost",setData:function(e){e.setData("Text","")},onEnd:function(t){var l=e.fieldsList.splice(t.oldIndex,1)[0];e.fieldsList.splice(t.newIndex,0,l);var i=e.newList.splice(t.oldIndex,1)[0];e.newList.splice(t.newIndex,0,i)}})},close:function(){this.$store.dispatch("tagsView/delView",this.$route),this.$router.push({path:"/model/list",query:{t:Date.now()}})}}},h=p,b=l("2877"),v=Object(b["a"])(h,i,a,!1,null,null,null);t["default"]=v.exports}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d0e28b6"],{"7ec5":function(e,t,l){"use strict";l.r(t);var i=function(){var e=this,t=e.$createElement,l=e._self._c||t;return l("div",{staticClass:"app-container"},[l("el-row",{staticClass:"mb8",attrs:{gutter:10}},[l("el-col",{attrs:{span:1.5}},[l("el-button",{attrs:{type:"primary",icon:"el-icon-plus",size:"mini"},on:{click:e.handleAdd}},[e._v("新增")])],1),e._v(" "),l("el-col",{attrs:{span:1.5}},[l("el-button",{attrs:{type:"success",icon:"el-icon-edit",size:"mini",disabled:e.single},on:{click:e.handleUpdate}},[e._v("修改")])],1),e._v(" "),l("el-col",{attrs:{span:1.5}},[l("el-button",{attrs:{type:"danger",icon:"el-icon-delete",size:"mini",disabled:e.multiple},on:{click:e.handleDelete}},[e._v("删除")])],1)],1),e._v(" "),l("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],ref:"dragTable",attrs:{data:e.fieldsList,"row-key":"field_id"},on:{"selection-change":e.handleSelectionChange}},[l("el-table-column",{attrs:{align:"center",width:"40"},scopedSlots:e._u([{key:"default",fn:function(e){return[l("svg-icon",{staticClass:"drag-handler",attrs:{"icon-class":"drag"}})]}}])}),e._v(" "),l("el-table-column",{attrs:{type:"selection",width:"45",align:"center"}}),e._v(" "),l("el-table-column",{attrs:{label:"字段编号",align:"center",width:"50",prop:"field_id"}}),e._v(" "),l("el-table-column",{attrs:{label:"字段名称",align:"center",prop:"field_name"}}),e._v(" "),l("el-table-column",{attrs:{label:"字段标题",align:"center",prop:"field_title"}}),e._v(" "),l("el-table-column",{attrs:{label:"字段类型",align:"center",prop:"field_type"}}),e._v(" "),l("el-table-column",{attrs:{label:"字段规则",align:"center",prop:"field_rules"}}),e._v(" "),l("el-table-column",{attrs:{label:"主键","min-width":"30"},scopedSlots:e._u([{key:"default",fn:function(t){return[l("el-radio",{attrs:{label:t.row.field_id},model:{value:e.fieldPkId,callback:function(t){e.fieldPkId=t},expression:"fieldPkId"}},[e._v("是")])]}}])}),e._v(" "),l("el-table-column",{attrs:{label:"排序字段","min-width":"30"},scopedSlots:e._u([{key:"default",fn:function(t){return[l("el-checkbox",{attrs:{"true-label":"1"},model:{value:t.row.model_sort,callback:function(l){e.$set(t.row,"model_sort",l)},expression:"scope.row.model_sort"}})]}}])}),e._v(" "),l("el-table-column",{attrs:{label:"列表显示","min-width":"30"},scopedSlots:e._u([{key:"default",fn:function(t){return[l("el-checkbox",{attrs:{"true-label":"1"},model:{value:t.row.model_list,callback:function(l){e.$set(t.row,"model_list",l)},expression:"scope.row.model_list"}})]}}])}),e._v(" "),l("el-table-column",{attrs:{label:"可编辑","min-width":"30"},scopedSlots:e._u([{key:"default",fn:function(t){return[l("el-checkbox",{attrs:{"true-label":"1"},model:{value:t.row.model_edit,callback:function(l){e.$set(t.row,"model_edit",l)},expression:"scope.row.model_edit"}})]}}])}),e._v(" "),l("el-table-column",{attrs:{label:"模型索引","min-width":"30"},scopedSlots:e._u([{key:"default",fn:function(t){return[l("el-checkbox",{attrs:{"true-label":"1"},model:{value:t.row.model_indexes,callback:function(l){e.$set(t.row,"model_indexes",l)},expression:"scope.row.model_indexes"}})]}}])}),e._v(" "),l("el-table-column",{attrs:{label:"列表查询","min-width":"30"},scopedSlots:e._u([{key:"default",fn:function(t){return[l("el-checkbox",{attrs:{"true-label":"1"},model:{value:t.row.search_list,callback:function(l){e.$set(t.row,"search_list",l)},expression:"scope.row.search_list"}})]}}])}),e._v(" "),l("el-table-column",{attrs:{label:"操作",align:"center","class-name":"small-padding fixed-width"},scopedSlots:e._u([{key:"default",fn:function(t){return[l("el-button",{attrs:{size:"mini",type:"text",icon:"el-icon-edit"},on:{click:function(l){return e.handleUpdate(t.row)}}},[e._v("修改")]),e._v(" "),l("el-button",{attrs:{size:"mini",type:"text",icon:"el-icon-delete"},on:{click:function(l){return e.handleDelete(t.row)}}},[e._v("删除")])]}}])})],1),e._v(" "),l("el-form",{attrs:{"label-width":"100px"}},[l("el-form-item",{staticStyle:{"text-align":"center","margin-left":"-100px","margin-top":"10px"}},[l("el-button",{attrs:{type:"primary"},on:{click:function(t){return e.submitFormList()}}},[e._v("提交")]),e._v(" "),l("el-button",{on:{click:function(t){return e.close()}}},[e._v("返回")])],1)],1),e._v(" "),l("el-dialog",{attrs:{title:e.title,visible:e.open,width:"600px","append-to-body":""},on:{"update:visible":function(t){e.open=t}}},[l("el-form",{ref:"form",attrs:{model:e.form,rules:e.rules,"label-width":"160px"}},[l("el-form-item",{attrs:{label:"字段名称",prop:"fieldName"}},[l("el-input",{attrs:{placeholder:"请输入字段名称"},model:{value:e.form.fieldName,callback:function(t){e.$set(e.form,"fieldName",t)},expression:"form.fieldName"}})],1),e._v(" "),l("el-form-item",{attrs:{label:"字段标题",prop:"fieldTitle"}},[l("el-input",{attrs:{placeholder:"请输入字段标题"},model:{value:e.form.fieldTitle,callback:function(t){e.$set(e.form,"fieldTitle",t)},expression:"form.fieldTitle"}})],1),e._v(" "),l("el-form-item",{attrs:{label:"字段类型",prop:"fieldType"}},[l("el-select",{on:{change:e.typeChange},model:{value:e.form.fieldType,callback:function(t){e.$set(e.form,"fieldType",t)},expression:"form.fieldType"}},e._l(e.fieldsType,(function(e){return l("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),1)],1),e._v(" "),l("el-form-item",{directives:[{name:"show",rawName:"v-show",value:e.tagShow.inputData,expression:"tagShow.inputData"}],attrs:{prop:"fieldData"}},[l("span",{attrs:{slot:"label"},slot:"label"},[e._v("\n 字段数据\n "),l("el-tooltip",{attrs:{content:"格式:'1:text1,2:text2,3:text3' 或 '数据表名|值字段名|标题字段名(|排序字段)(|条件)' 或 :字典编码",placement:"top-start"}},[l("i",{staticClass:"el-icon-question"})])],1),e._v(" "),l("el-input",{attrs:{placeholder:"请输入字段数据"},model:{value:e.form.fieldData,callback:function(t){e.$set(e.form,"fieldData",t)},expression:"form.fieldData"}})],1),e._v(" "),l("el-form-item",{directives:[{name:"show",rawName:"v-show",value:e.tagShow.inputLength,expression:"tagShow.inputLength"}],attrs:{label:"字段长度",prop:"fieldLength"}},[l("el-input",{attrs:{placeholder:"请输入字段长度"},model:{value:e.form.fieldLength,callback:function(t){e.$set(e.form,"fieldLength",t)},expression:"form.fieldLength"}})],1),e._v(" "),l("el-form-item",{directives:[{name:"show",rawName:"v-show",value:e.tagShow.inputDefault,expression:"tagShow.inputDefault"}],attrs:{label:"字段默认值",prop:"fieldDefault"}},[l("el-input",{attrs:{placeholder:"请输入字段默认值 地图类型时'lng,lat'"},model:{value:e.form.fieldDefault,callback:function(t){e.$set(e.form,"fieldDefault",t)},expression:"form.fieldDefault"}})],1),e._v(" "),l("el-form-item",{attrs:{label:"字段说明",prop:"fieldDesc"}},[l("el-input",{attrs:{placeholder:"请输入字段说明"},model:{value:e.form.fieldDesc,callback:function(t){e.$set(e.form,"fieldDesc",t)},expression:"form.fieldDesc"}})],1),e._v(" "),l("el-form-item",{directives:[{name:"show",rawName:"v-show",value:e.tagShow.inputRules,expression:"tagShow.inputRules"}],attrs:{label:"字段规则",prop:"fieldRules"}},[l("el-select",{attrs:{multiple:""},model:{value:e.form.fieldRules,callback:function(t){e.$set(e.form,"fieldRules",t)},expression:"form.fieldRules"}},e._l(e.fieldsRules,(function(e){return l("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),1)],1),e._v(" "),l("el-form-item",{attrs:{label:"字段列表显示宽度",prop:"fieldWidth"}},[l("el-input",{attrs:{placeholder:"请输入字段列表显示宽度"},model:{value:e.form.fieldWidth,callback:function(t){e.$set(e.form,"fieldWidth",t)},expression:"form.fieldWidth"}})],1),e._v(" "),l("el-form-item",{attrs:{label:"字段列表对齐方式",prop:"fieldAlign"}},[l("el-input",{attrs:{placeholder:"请输入字段列表对齐方式"},model:{value:e.form.fieldAlign,callback:function(t){e.$set(e.form,"fieldAlign",t)},expression:"form.fieldAlign"}})],1)],1),e._v(" "),l("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[l("el-button",{attrs:{type:"primary"},on:{click:e.submitForm}},[e._v("确 定")]),e._v(" "),l("el-button",{on:{click:e.cancel}},[e._v("取 消")])],1)],1)],1)},a=[],o=(l("fc02"),l("aa18"),l("982e"),l("b775"));function n(e){return Object(o["a"])({url:"/system/model/fields/add",method:"post",data:e})}function s(e){return Object(o["a"])({url:"/system/model/fields/list",method:"get",params:{modelId:e}})}function r(e,t,l){return Object(o["a"])({url:"/system/model/fields/setFieldsAttr",method:"post",data:{fieldsList:e,pkId:t,modelId:l}})}function d(e){return Object(o["a"])({url:"/system/model/fields/edit?id="+e,method:"get"})}function u(e){return Object(o["a"])({url:"/system/model/fields/edit",method:"post",data:e})}function c(e){return Object(o["a"])({url:"/system/model/fields/delete",method:"delete",data:{ids:e}})}var f=l("e7e2"),m=l.n(f),p={name:"Post",data:function(){return{loading:!0,ids:[],fieldPkId:null,single:!0,multiple:!0,fieldsList:[],oldList:[],newList:[],title:"",open:!1,statusOptions:[],fieldsType:[{value:"text",label:"文本"},{value:"baidu_map",label:"百度地图坐标"},{value:"imagefile",label:"单图片"},{value:"images",label:"多图片"},{value:"file",label:"单文件"},{value:"files",label:"多文件"},{value:"selecttext",label:"选择文本"},{value:"currency",label:"货币"},{value:"large_number",label:"长整型"},{value:"number",label:"整数"},{value:"datetime",label:"日期时间"},{value:"date",label:"日期"},{value:"selectnumber",label:"选择数字"},{value:"richtext",label:"富文本"},{value:"bigtext",label:"文本域"},{value:"switch",label:"开关"},{value:"checkbox",label:"多选框"},{value:"DepartmentSelector",label:"部门选择器"}],fieldsRules:[{value:"lengthfixed",label:"lengthfixed"},{value:"required",label:"required"},{value:"unsigned",label:"unsigned"},{value:"unique",label:"unique"},{value:"readonly",label:"readonly"},{value:"hidden",label:"hidden"}],dataSelect:["selecttext","checkbox","selectnumber"],tagShow:{inputData:!1,inputLength:!1,inputDefault:!1,inputRules:!0},modelId:0,form:{},rules:{fieldName:[{required:!0,message:"字段名称不能为空",trigger:"blur"}],fieldTitle:[{required:!0,message:"字段标题不能为空",trigger:"blur"}],fieldType:[{required:!0,message:"字段类型不能为空",trigger:"change"}]}}},created:function(){var e=this.$route.query.modelId;e&&(this.modelId=e),this.getList()},methods:{getList:function(){var e=this;this.loading=!0,s(this.modelId).then((function(t){e.fieldsList=t.data.list?t.data.list:[],e.oldList=e.fieldsList.map((function(t){return"1"==t.model_pk&&(e.fieldPkId=t.field_id),t.field_id})),e.newList=e.oldList.slice(),e.loading=!1,e.$nextTick((function(){e.setSort()}))}))},typeChange:function(e){this.showOption(e)},showOption:function(e){this.dataSelect.includes(e)?(this.tagShow.inputData=!0,this.tagShow.inputLength=!1):"text"==e?(this.tagShow.inputData=!1,this.tagShow.inputLength=!0):(this.tagShow.inputData=!1,this.tagShow.inputLength=!1),this.tagShow.inputDefault="imagefile"!=e&&"images"!=e&&"file"!=e&&"files"!=e,this.tagShow.inputRules="switch"!=e},cancel:function(){this.open=!1,this.reset()},reset:function(){this.form={fieldId:void 0,modelId:this.modelId,fieldName:void 0,fieldTitle:void 0,fieldType:"",fieldData:void 0,fieldLength:void 0,fieldDefault:void 0,fieldDesc:void 0,fieldRules:[],fieldWidth:"",fieldAlign:""},this.resetForm("form")},handleQuery:function(){this.getList()},resetQuery:function(){this.resetForm("queryForm"),this.handleQuery()},handleSelectionChange:function(e){this.ids=e.map((function(e){return e.field_id})),this.single=1!=e.length,this.multiple=!e.length},handleAdd:function(){this.reset(),this.open=!0,this.title="添加字段"},handleUpdate:function(e){var t=this;this.reset();var l=e.field_id||this.ids;d(l).then((function(e){var l=e.data;l&&(t.form={fieldId:l.field_id,modelId:l.model_id,fieldName:l.field_name,fieldTitle:l.field_title,fieldType:l.field_type,fieldData:l.field_data,fieldLength:l.field_length,fieldDefault:l.field_default,fieldDesc:l.field_desc,fieldRules:""!=l.field_rules?l.field_rules.split(","):[],fieldWidth:l.field_width,fieldAlign:l.field_align},t.showOption(t.form.fieldType)),t.open=!0,t.title="修改字段"}))},submitForm:function(){var e=this;this.$refs["form"].validate((function(t){t&&(void 0!=e.form.fieldId?u(e.form).then((function(t){0===t.code?(e.msgSuccess("修改成功"),e.open=!1,e.getList()):e.msgError(t.msg)})):n(e.form).then((function(t){0===t.code?(e.msgSuccess("新增成功"),e.open=!1,e.getList()):e.msgError(t.msg)})))}))},submitFormList:function(){var e=this;r(this.fieldsList,this.fieldPkId,this.modelId).then((function(t){0===t.code?(e.msgSuccess("修改成功"),e.getList()):e.msgError(t.msg)}))},handleDelete:function(e){var t=this,l=e.field_id?[e.field_id]:this.ids;this.$confirm('是否确认删除字段编号为"'+l+'"的数据项?',"警告",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){return c(l)})).then((function(){t.getList(),t.msgSuccess("删除成功")})).catch((function(){}))},setSort:function(){var e=this,t=this.$refs.dragTable.$el.querySelectorAll(".el-table__body-wrapper > table > tbody")[0];this.sortable=m.a.create(t,{ghostClass:"sortable-ghost",setData:function(e){e.setData("Text","")},onEnd:function(t){var l=e.fieldsList.splice(t.oldIndex,1)[0];e.fieldsList.splice(t.newIndex,0,l);var i=e.newList.splice(t.oldIndex,1)[0];e.newList.splice(t.newIndex,0,i)}})},close:function(){this.$store.dispatch("tagsView/delView",this.$route),this.$router.push({path:"/model/list",query:{t:Date.now()}})}}},h=p,b=l("cba8"),v=Object(b["a"])(h,i,a,!1,null,null,null);t["default"]=v.exports}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d0f012d"],{"9b8f":function(e,r,n){"use strict";n.r(r);n("a481");var t,u,a={created:function(){var e=this.$route,r=e.params,n=e.query,t=r.path;this.$router.replace({path:"/"+t,query:n})},render:function(e){return e()}},c=a,o=n("2877"),p=Object(o["a"])(c,t,u,!1,null,null,null);r["default"]=p.exports}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d0f012d"],{"9b8f":function(e,r,n){"use strict";n.r(r);n("8dee");var t,u,a={created:function(){var e=this.$route,r=e.params,n=e.query,t=r.path;this.$router.replace({path:"/"+t,query:n})},render:function(e){return e()}},c=a,o=n("cba8"),p=Object(o["a"])(c,t,u,!1,null,null,null);r["default"]=p.exports}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d0c84d3"],{"53fe":function(t,e,n){var o,i;
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d226555"],{e7e2:function(t,e,n){var o,i;
/**!
* Sortable
* @author RubaXa <trash@rubaxa.org>
......
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d22db58"],{f93b:function(n,e,o){"use strict";o.r(e);var t=function(){var n=this,e=n.$createElement,o=n._self._c||e;return o("div")},u=[],l={name:"returnurl",created:function(){},mounted:function(){window.opener=null,window.open("",self),window.close()}},c=l,r=o("2877"),i=Object(r["a"])(c,t,u,!1,null,null,null);e["default"]=i.exports}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d22db58"],{f93b:function(n,e,o){"use strict";o.r(e);var t=function(){var n=this,e=n.$createElement,o=n._self._c||e;return o("div")},u=[],c={name:"returnurl",created:function(){},mounted:function(){window.opener=null,window.open("",self),window.close()}},l=c,r=o("cba8"),i=Object(r["a"])(l,t,u,!1,null,null,null);e["default"]=i.exports}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-30c771e6"],{"6b1f":function(t,e,n){"use strict";n.d(e,"g",(function(){return c})),n.d(e,"i",(function(){return u})),n.d(e,"b",(function(){return r})),n.d(e,"d",(function(){return i})),n.d(e,"a",(function(){return o})),n.d(e,"l",(function(){return l})),n.d(e,"j",(function(){return s})),n.d(e,"c",(function(){return d})),n.d(e,"m",(function(){return h})),n.d(e,"e",(function(){return m})),n.d(e,"h",(function(){return b})),n.d(e,"f",(function(){return A})),n.d(e,"k",(function(){return f}));var a=n("b775");function c(t){return Object(a["a"])({url:"/system/index/getInfo",method:"get",params:t})}function u(t){return Object(a["a"])({url:"/local/getOrganization",method:"get",params:t})}function r(t){return Object(a["a"])({url:"/local/organization",method:"post",data:t})}function i(t){return Object(a["a"])({url:"/local/shopbrand",method:"get",params:t})}function o(t){return Object(a["a"])({url:"/local/brands",method:"post",data:t})}function l(t){return Object(a["a"])({url:"/local/upbrands",method:"post",data:t})}function s(t){return Object(a["a"])({url:"/local/getShopInfo",method:"get",params:t})}function d(t){return Object(a["a"])({url:"/local/addShopInfo",method:"post",data:t})}function h(t){return Object(a["a"])({url:"/system/goodsNew/uploadImage",method:"post",data:t})}function m(t){return Object(a["a"])({url:"/local/cate",method:"get",params:t})}function b(t){return Object(a["a"])({url:"/local/check/businessLicense",method:"get",params:t})}function A(t){return Object(a["a"])({url:"/local/check/idCard",method:"get",params:t})}function f(t){return Object(a["a"])({url:"/local/qualification/list",method:"get",params:t})}},"753d":function(t,e,n){"use strict";n("fe18")},e4dd:function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"to-review"},[a("div",{staticClass:"logo-bg"},[t._e()]),t._v(" "),a("el-card",{staticClass:"box-card"},[a("div",{staticClass:"clearfix steps",attrs:{slot:"header"},slot:"header"},[a("el-steps",{attrs:{active:3,"align-center":"","finish-status":"success"}},[a("el-step",{attrs:{title:"注册账号"}}),t._v(" "),a("el-step",{attrs:{title:"填写主体信息"}}),t._v(" "),a("el-step",{attrs:{title:"填写店铺信息"}}),t._v(" "),a("el-step",{attrs:{title:"提交入驻审核"}})],1)],1),t._v(" "),a("div",{staticClass:"main"},[a("div",{staticClass:"fuck"},[a("p",[a("img",{attrs:{src:n("e9f2"),alt:""}})]),t._v(" "),a("p",[t._v("资料已提交,工作人员审核中。。。")]),t._v(" "),a("p",{staticStyle:{"margin-top":"10px"}},[t._v("感谢您使用云仓!")]),t._v(" "),a("p",[t._v("您的资料已经提交审核,审核周期为1-3个工作日,请您耐心等待审核结果。")]),t._v(" "),a("p",[t._v("如果您有其它的问题,可以拔打我们的服务电话与我们联系!")])])])])],1)},c=[],u=n("6b1f"),r={name:"ReviewSuccess",data:function(){return{}},created:function(){var t=this;Object(u["g"])().then((function(e){1==e.code&&e.data.user&&(1==e.data.user.state&&t.$router.push({path:"/home/index"}),2==e.data.user.state&&t.$router.push({path:"/reviewing"}),3==e.data.user.state&&t.$router.push({path:"/reviewFail"}))}))},mounted:function(){history.pushState(null,null,document.URL),window.addEventListener("popstate",(function(){history.pushState(null,null,document.URL)}))}},i=r,o=(n("753d"),n("2877")),l=Object(o["a"])(i,a,c,!1,null,"bbf9fafa",null);e["default"]=l.exports},e9f2:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6/NlyAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyNpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDYuMC1jMDAyIDc5LjE2NDQ4OCwgMjAyMC8wNy8xMC0yMjowNjo1MyAgICAgICAgIj4gPHJkZjpSREYgeG1sb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VCRtf0n4V0O7BN41b5ANN/MJqRStojMvm1joc3Hhf8sVrRaXUu33C/Cwwi+mDOqGiM0U+DXRXm0MRckMk6ig9oPDcdVOVOaX/hAJyrqJoiN6Wj8lwqsZHMfbNkyqFfHV/zBokRFGOjVsBPYlITJLD8fy9nawE/C/AVaFwGyxnedExEFjSwJsdqHdi+IkpaPMZprQ+AKGC/0KJsvBhSrDxtg2ymp8S4Gq+FwOOjko4vJXnQ5miljJ1W9RmlfAObjj3uZl1uFjMEzEJq9/9MEoLWahZVU5XGFxJa/TLBR708q9ITz+HfFYObGqVBwGz4OhnM15epVH1YtazTz+EYF+UUvHm2l0X6/hvwP3Kt5NAQYA/pvkv1BL/nsAAAAASUVORK5CYII="},fe18:function(t,e,n){}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-395a9d81"],{"6b1f":function(t,e,a){"use strict";a.d(e,"g",(function(){return r})),a.d(e,"i",(function(){return n})),a.d(e,"b",(function(){return s})),a.d(e,"d",(function(){return o})),a.d(e,"a",(function(){return l})),a.d(e,"l",(function(){return d})),a.d(e,"j",(function(){return m})),a.d(e,"c",(function(){return c})),a.d(e,"m",(function(){return h})),a.d(e,"e",(function(){return u})),a.d(e,"h",(function(){return g})),a.d(e,"f",(function(){return p})),a.d(e,"k",(function(){return b}));var i=a("b775");function r(t){return Object(i["a"])({url:"/system/index/getInfo",method:"get",params:t})}function n(t){return Object(i["a"])({url:"/local/getOrganization",method:"get",params:t})}function s(t){return Object(i["a"])({url:"/local/organization",method:"post",data:t})}function o(t){return Object(i["a"])({url:"/local/shopbrand",method:"get",params:t})}function l(t){return Object(i["a"])({url:"/local/brands",method:"post",data:t})}function d(t){return Object(i["a"])({url:"/local/upbrands",method:"post",data:t})}function m(t){return Object(i["a"])({url:"/local/getShopInfo",method:"get",params:t})}function c(t){return Object(i["a"])({url:"/local/addShopInfo",method:"post",data:t})}function h(t){return Object(i["a"])({url:"/system/goodsNew/uploadImage",method:"post",data:t})}function u(t){return Object(i["a"])({url:"/local/cate",method:"get",params:t})}function g(t){return Object(i["a"])({url:"/local/check/businessLicense",method:"get",params:t})}function p(t){return Object(i["a"])({url:"/local/check/idCard",method:"get",params:t})}function b(t){return Object(i["a"])({url:"/local/qualification/list",method:"get",params:t})}},9291:function(t,e,a){},b176:function(t,e,a){"use strict";a.r(e);var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"fill-brand-inf"},[a("div",{staticClass:"logo-bg"},[t._e()]),t._v(" "),a("el-card",{staticClass:"box-card"},[a("div",{staticClass:"clearfix steps",attrs:{slot:"header"},slot:"header"},[a("el-steps",{attrs:{active:1,"align-center":"","finish-status":"success"}},[a("el-step",{attrs:{title:"填写主体信息"}}),t._v(" "),a("el-step",{attrs:{title:"填写品牌信息"}}),t._v(" "),a("el-step",{attrs:{title:"填写店铺信息"}}),t._v(" "),a("el-step",{attrs:{title:"提交入驻审核"}})],1)],1),t._v(" "),a("div",{staticClass:"main-con"},[a("el-form",{ref:"brandForm",attrs:{model:t.brandForm,rules:t.brandRules,"label-width":"180px"}},[a("el-form-item",{attrs:{label:"经营品牌类型:"}},[a("el-radio-group",{on:{change:t.chooseBrandType},model:{value:t.brandForm.brand_type,callback:function(e){t.$set(t.brandForm,"brand_type",e)},expression:"brandForm.brand_type"}},[a("el-radio",{attrs:{label:1}},[t._v("自有品牌")]),t._v(" "),a("el-radio",{attrs:{label:2}},[t._v("品牌厂商授权")]),t._v(" "),a("el-radio",{attrs:{label:3}},[t._v("无品牌")])],1)],1),t._v(" "),a("div",{directives:[{name:"show",rawName:"v-show",value:3!==t.brandForm.brand_type,expression:"brandForm.brand_type !== 3"}],staticClass:"spe-brand-text"},[t._v("\n 品牌一\n ")]),t._v(" "),a("el-form-item",{directives:[{name:"show",rawName:"v-show",value:3!==t.brandForm.brand_type,expression:"brandForm.brand_type !== 3"}],attrs:{label:"品牌中文名:",prop:"brand_cn"}},[a("el-input",{staticStyle:{width:"400px"},attrs:{placeholder:""},model:{value:t.brandForm.brand_cn,callback:function(e){t.$set(t.brandForm,"brand_cn",e)},expression:"brandForm.brand_cn"}})],1),t._v(" "),a("el-form-item",{directives:[{name:"show",rawName:"v-show",value:3!==t.brandForm.brand_type,expression:"brandForm.brand_type !== 3"}],attrs:{label:"品牌英文名:",prop:"brand_en"}},[a("el-input",{staticStyle:{width:"400px"},attrs:{placeholder:""},model:{value:t.brandForm.brand_en,callback:function(e){t.$set(t.brandForm,"brand_en",e)},expression:"brandForm.brand_en"}})],1),t._v(" "),3!==t.brandForm.brand_type?a("el-form-item",{ref:"logoImg",attrs:{label:"品牌LOGO:",prop:"brand_logo"}},[a("div",{staticStyle:{width:"100%",height:"100%",display:"flex","flex-direction":"row","justify-content":"normal"}},[a("div",{staticStyle:{"padding-right":"6px"}},[a("el-upload",{staticClass:"uploadData",attrs:{action:"#","list-type":"picture-card","http-request":t.uploadLogoImgs,limit:2,"on-exceed":t.showTip,"before-upload":t.beforeUpLogoImg,"on-preview":t.handlePictureCardPreview,"on-remove":t.handleRemove,"file-list":t.brandImgFileList}},[a("i",{staticClass:"el-icon-plus"})]),t._v(" "),a("el-dialog",{attrs:{visible:t.dialogVisible},on:{"update:visible":function(e){t.dialogVisible=e}}},[a("img",{attrs:{width:"100%",src:t.dialogImageUrl,alt:""}})])],1),t._v(" "),a("div",[a("span",{staticClass:"tips-text"},[a("i",{staticClass:"el-icon-warning h-warning"})])]),t._v(" "),a("div",{staticStyle:{width:"380px","line-height":"24px","padding-top":"6px"}},[a("span",{staticClass:"tips-text"},[t._v("必须与商标图文一致。文件大小在500KB以内,支持png,jpg格式,最多可上传2张")])])])]):t._e(),t._v(" "),a("el-form-item",{directives:[{name:"show",rawName:"v-show",value:3!==t.brandForm.brand_type,expression:"brandForm.brand_type !== 3"}],attrs:{label:"品牌商标注册号:",prop:"brand_number"}},[a("el-input",{staticStyle:{width:"400px"},attrs:{placeholder:""},model:{value:t.brandForm.brand_number,callback:function(e){t.$set(t.brandForm,"brand_number",e)},expression:"brandForm.brand_number"}})],1),t._v(" "),a("el-form-item",{directives:[{name:"show",rawName:"v-show",value:3!==t.brandForm.brand_type,expression:"brandForm.brand_type !== 3"}],attrs:{label:"品牌类型:",prop:"brand_range"}},[a("el-radio-group",{model:{value:t.brandForm.brand_range,callback:function(e){t.$set(t.brandForm,"brand_range",e)},expression:"brandForm.brand_range"}},[a("el-radio",{attrs:{label:1}},[t._v("国内品牌")]),t._v(" "),a("el-radio",{attrs:{label:2}},[t._v("国外品牌")])],1)],1),t._v(" "),2===t.brandForm.brand_type?a("el-form-item",{attrs:{label:"品牌方授权书:",prop:"brand_auth"}},[a("div",{staticStyle:{width:"100%",height:"100%",display:"flex","flex-direction":"row","justify-content":"normal"}},[a("div",{staticStyle:{"padding-right":"6px"}},[a("el-upload",{staticClass:"uploadData",attrs:{action:"#","list-type":"picture-card","http-request":t.uploadFactoryImgs,"before-upload":t.beforeUpImg,"on-preview":t.handlePictureCardPreview2,"on-remove":t.handleRemove2,"file-list":t.factoryImgFileList}},[a("i",{staticClass:"el-icon-plus"})]),t._v(" "),a("el-dialog",{attrs:{visible:t.dialogVisible2},on:{"update:visible":function(e){t.dialogVisible2=e}}},[a("img",{attrs:{width:"100%",src:t.dialogImageUrl2,alt:""}})])],1),t._v(" "),a("div",[a("span",{staticClass:"tips-text"},[a("i",{staticClass:"el-icon-warning h-warning"})])]),t._v(" "),a("div",{staticStyle:{width:"380px","line-height":"24px","padding-top":"6px"}},[a("span",{staticClass:"tips-text"},[t._v("品牌方给予企业的授权书。文件大小在2MB以内,支持png,jpg格式")])])])]):t._e(),t._v(" "),2===t.brandForm.brand_type?a("el-form-item",{attrs:{label:"授权有效期至:",prop:"brand_auth_time"}},[a("el-date-picker",{staticStyle:{width:"300px"},attrs:{type:"date",placeholder:"选择日期"},on:{change:t.validityConcrete},model:{value:t.validityConcreteTime,callback:function(e){t.validityConcreteTime=e},expression:"validityConcreteTime"}}),t._v(" "),a("el-checkbox",{staticStyle:{"padding-left":"15px"},on:{change:t.validityLongTerm},model:{value:t.validityLongTermVal,callback:function(e){t.validityLongTermVal=e},expression:"validityLongTermVal"}},[t._v("长期\n ")])],1):t._e(),t._v(" "),3!==t.brandForm.brand_type?a("el-form-item",{attrs:{label:"品牌经营授权:",prop:"brand_business_auth"}},[a("div",{staticStyle:{width:"100%",height:"100%",display:"flex","flex-direction":"row","justify-content":"normal"}},[a("div",{staticStyle:{"padding-right":"6px"}},[a("el-upload",{staticClass:"uploadData",attrs:{action:"#","http-request":t.uploadShopImgs,"list-type":"picture-card",limit:2,"on-exceed":t.showTip,"before-upload":t.beforeUpImg,"on-preview":t.handlePictureCardPreview3,"on-remove":t.handleRemove3,"file-list":t.shopImgFileList}},[a("i",{staticClass:"el-icon-plus"})]),t._v(" "),a("el-dialog",{attrs:{visible:t.dialogVisible3},on:{"update:visible":function(e){t.dialogVisible3=e}}},[a("img",{attrs:{width:"100%",src:t.dialogImageUrl3,alt:""}})])],1),t._v(" "),a("div",[a("span",{staticClass:"tips-text"},[a("i",{staticClass:"el-icon-warning h-warning"})])]),t._v(" "),a("div",{staticStyle:{width:"380px","line-height":"24px","padding-top":"6px"}},[a("span",{staticClass:"tips-text"},[t._v("授权在云仓平台经营此品牌。文件大小在2MB以内,支持png,jpg格式,最多可上传2张")])])])]):t._e(),t._v(" "),a("el-form-item",{directives:[{name:"show",rawName:"v-show",value:3!==t.brandForm.brand_type,expression:"brandForm.brand_type !== 3"}],attrs:{label:""}},[a("div",{staticStyle:{width:"100%",height:"100%",display:"flex","flex-direction":"row","justify-content":"normal"}},[a("a",{staticClass:"download-Template-btn",attrs:{href:t.downTemplatehttp}},[a("i",{staticClass:"el-icon-download"}),t._v("下载模板")]),t._v(" "),a("div",[a("span",{staticClass:"tips-text"},[a("i",{staticClass:"el-icon-warning h-warning"})])]),t._v(" "),a("div",{staticStyle:{width:"380px","line-height":"24px","padding-top":"6px"}},[a("span",{staticClass:"tips-text"},[t._v("请您点击下载授权书模板,打印并签字盖章,拍照上传。\n 如暂时无法上传该授权,可选择【无品牌】,稍后在店铺信息里面完善品牌信息")])])])]),t._v(" "),a("el-form-item",{directives:[{name:"show",rawName:"v-show",value:3!==t.brandForm.brand_type,expression:"brandForm.brand_type !== 3"}]},[a("el-button",{staticStyle:{"margin-right":"40px"},attrs:{type:"primary"},on:{click:t.back}},[t._v("上一步")]),t._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:function(e){return t.next("brandForm")}}},[t._v("下一步")])],1)],1),t._v(" "),a("div",{directives:[{name:"show",rawName:"v-show",value:!t.hasBrand,expression:"!hasBrand"}],staticClass:"no-brand"},[a("p",[t._v("您当前选择的是无品牌")]),t._v(" "),a("p",[t._v("这不会影响您入驻的审核")]),t._v(" "),a("p",[t._v("入驻成功后,您可以在店铺信息里,添加您的品牌")]),t._v(" "),a("div",{staticClass:"no-brand-btn"},[a("el-button",{staticStyle:{"margin-right":"40px"},attrs:{type:"primary"},on:{click:t.back}},[t._v("上一步")]),t._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:t.noBrandNext}},[t._v("下一步")])],1)])],1)])],1)},r=[],n=(a("fc02"),a("6b1f")),s={name:"FillBrandInf",data:function(){var t=this,e=function(e,a,i){2===t.brandForm.brand_type&&null===t.validityConcreteTime&&!1===t.validityLongTermVal?i(new Error("授权有效期具体时间和长期必须填写其中一个")):i()},a=function(e,a,i){t.brandImgFileList.length>0?i():0===t.brandImgFileList.length&&i(new Error("品牌logo图片至少上传一张"))},i=function(e,a,i){t.shopImgFileList.length>0?i():0===t.shopImgFileList.length&&i(new Error("品牌logo图片至少上传一张"))};return{shopTemplatehttp:"http://img3.jxhh.com/shop/brand.doc",factoryTemplatehttp:"http://img3.jxhh.com/shop/factory.doc",hasBrand:!0,dialogImageUrl:"",dialogVisible:!1,dialogImageUrl2:"",dialogVisible2:!1,dialogImageUrl3:"",dialogVisible3:!1,validityConcreteTime:null,validityLongTermVal:!1,downTemplatehttp:"",brandImgFileList:[],factoryImgFileList:[],shopImgFileList:[],brandForm:{id:0,brand_type:1,brand_cn:"",brand_en:"",brand_logo:"",brand_number:"",brand_range:"",brand_auth_time:"",brand_auth:"",brand_business_auth:""},brandRules:{brand_cn:[{required:!0,message:"品牌中文名称不能为空",trigger:"blur"}],brand_logo:[{required:!0,message:"品牌logo图片至少上传一张",validator:a}],brand_range:[{required:!0,message:"品牌类型需要选择其一",trigger:"blur"}],brand_auth:[{required:!0,message:"品牌授权至少上传一张图片"}],brand_auth_time:[{validator:e,required:!0,trigger:"change"}],brand_business_auth:[{required:!0,message:"品牌经营授权至少上传一张图片",validator:i}]}}},watch:{factoryImgFileList:{handler:function(t,e){var a=this;2===this.brandForm.brand_type&&(this.$refs.brandForm.validateField("brand_auth"),0!==t.length&&this.$nextTick((function(){a.$refs.brandForm.clearValidate("brand_auth")})))},deep:!0}},created:function(){this.getBrands()},mounted:function(){this.downTemplatehttp=this.factoryTemplatehttp},methods:{beforeUpImg:function(t){var e=t.size/1024/1024>2;return"image/png"!==t.type&&"image/jpg"!==t.type&&"image/jpeg"!=t.type?(this.$message({message:"上传图片格式只支持jpg/png格式",type:"warning"}),!1):e?(this.$message({message:"上传图片大小不能超过2M",type:"warning"}),!1):void 0},beforeUpLogoImg:function(t){var e=t.size/1024>500;return"image/png"!==t.type&&"image/jpg"!==t.type&&"image/jpeg"!=t.type?(this.$message({message:"上传图片格式只支持jpg/png格式",type:"warning"}),!1):e?(this.$message({message:"上传图片大小不能超过500 kb",type:"warning"}),!1):void 0},uploadLogoImgs:function(t){var e=this;this.getBase64(t.file).then((function(t){var a=t.split(",");e.Base64img=a[1];var i={img_data:e.Base64img};Object(n["m"])(i).then((function(t){1==t.code?(e.brandImgFileList.push({url:t.data.image_url}),e.$message({type:"success",message:"上传成功"}),e.$refs.brandForm.clearValidate("brand_logo")):e.$message({type:"error",message:t.message?t.message:"上传失败"})}))}))},uploadShopImgs:function(t){var e=this;this.getBase64(t.file).then((function(t){var a=t.split(",");e.Base64img=a[1];var i={img_data:e.Base64img};Object(n["m"])(i).then((function(t){1==t.code?(e.shopImgFileList.push({url:t.data.image_url}),e.$message({type:"success",message:"上传成功"}),e.$refs.brandForm.clearValidate("brand_business_auth")):e.$message({type:"error",message:t.message?t.message:"上传失败"})}))}))},uploadFactoryImgs:function(t){var e=this;this.getBase64(t.file).then((function(t){var a=t.split(",");e.Base64img=a[1];var i={img_data:e.Base64img};Object(n["m"])(i).then((function(t){1==t.code?(e.factoryImgFileList.push({url:t.data.image_url}),e.$message({type:"success",message:"上传成功"})):e.$message({type:"error",message:t.message?t.message:"上传失败"})}))}))},getBase64:function(t){return new Promise((function(e,a){var i=new FileReader,r="";i.readAsDataURL(t),i.onload=function(){r=i.result},i.onerror=function(t){a(t)},i.onloadend=function(){e(r)}}))},chooseBrandType:function(){this.downTemplatehttp="",1===this.brandForm.brand_type?(this.hasBrand=!0,this.downTemplatehttp=this.shopTemplatehttp):2===this.brandForm.brand_type?(this.hasBrand=!0,this.downTemplatehttp=this.factoryTemplatehttp,this.factoryImgFileList=[],this.brandForm.brand_auth="",this.brand_auth_time="",this.validityConcreteTime=null,this.validityLongTermVal=!1):3===this.brandForm.brand_type&&(this.hasBrand=!1)},clearImg:function(){this.brandImgFileList=[],this.factoryImgFileList=[],this.shopImgFileList=[],this.brandForm.brand_logo="",this.brandForm.brand_auth="",this.brandForm.brand_business_auth="",this.brand_auth_time="",this.validityConcreteTime=null,this.validityLongTermVal=!1},handlePictureCardPreview:function(t){this.dialogImageUrl=t.url,this.dialogVisible=!0},handleRemove:function(t,e){for(var a=0;a<this.brandImgFileList.length;a++)t.uid===this.brandImgFileList[a].uid&&this.brandImgFileList.splice(a,1)},handlePictureCardPreview2:function(t){this.dialogImageUrl2=t.url,this.dialogVisible2=!0},handleRemove2:function(t){for(var e=0;e<this.factoryImgFileList.length;e++)t.uid===this.factoryImgFileList[e].uid&&this.factoryImgFileList.splice(e,1)},handlePictureCardPreview3:function(t){this.dialogImageUrl3=t.url,this.dialogVisible3=!0},handleRemove3:function(t){for(var e=0;e<this.shopImgFileList.length;e++)t.uid===this.shopImgFileList[e].uid&&this.shopImgFileList.splice(e,1)},validityConcrete:function(){this.validityConcreteTime&&(this.validityLongTermVal=!1)},validityLongTerm:function(){this.validityLongTermVal&&(this.validityConcreteTime=null)},getBrands:function(){var t=this;Object(n["d"])().then((function(e){if(1==e.code){t.brandForm=e.data[0];var a={},i=[];if(t.brandForm.brand_logo.indexOf(",")>0){i=t.brandForm.brand_logo.split(",");for(var r=0;r<i.length;r++)a={},a.url=i[r],t.brandImgFileList.push(a)}else a.url=t.brandForm.brand_logo,t.brandImgFileList=[],t.brandImgFileList.push(a);var n={},s=[];if(t.brandForm.brand_auth.indexOf(",")>0){s=t.brandForm.brand_auth.split(",");for(var o=0;o<s.length;o++)n={},n.url=s[o],t.factoryImgFileList.push(n)}else n.url=t.brandForm.brand_auth,t.factoryImgFileList=[],t.factoryImgFileList.push(n);var l={},d=[];if(t.brandForm.brand_business_auth.indexOf(",")>0){d=t.brandForm.brand_business_auth.split(",");for(var m=0;m<d.length;m++)l={},l.url=d[m],t.shopImgFileList.push(l)}else l.url=t.brandForm.brand_business_auth,t.shopImgFileList=[],t.shopImgFileList.push(l);0===t.brandForm.brand_auth_time?t.validityLongTermVal=!0:t.validityConcreteTime=t.toStandTime(t.brandForm.brand_auth_time)}else t.$message({type:"error",message:e.message?e.message:""})}))},toStandTime:function(t){var e=new Date(1e3*t),a=e.getFullYear()+"-",i=(e.getMonth()+1<10?"0"+(e.getMonth()+1):e.getMonth()+1)+"-",r=(e.getDate()<10?"0"+e.getDate():e.getDate())+" ",n=(e.getHours()<10?"0"+e.getHours():e.getHours())+":",s=(e.getMinutes()<10?"0"+e.getMinutes():e.getMinutes())+":",o=e.getSeconds()<10?"0"+e.getSeconds():e.getSeconds();return a+i+r+n+s+o},showTip:function(t,e){this.$message({message:"最多上传2张图片",type:"warning"})},back:function(){this.$router.push("/fillMainInf")},next:function(t){var e=this;if(this.validityLongTermVal?this.brandForm.brand_auth_time=this.validityLongTermVal-0-1:!1===this.validityLongTermVal&&this.validityConcreteTime?this.brandForm.brand_auth_time=new Date(this.validityConcreteTime).getTime()/1e3:this.brandForm.brand_auth_time="",this.brandImgFileList.length>0){for(var a=0;a<this.brandImgFileList.length;a++)0===a?this.brandForm.brand_logo=this.brandImgFileList[a].url:this.brandForm.brand_logo+=","+this.brandImgFileList[a].url;this.brandForm.brand_register_cert=this.brandImgFileList[0].url}if(this.factoryImgFileList.length>0)for(var i=0;i<this.factoryImgFileList.length;i++)0===i?this.brandForm.brand_auth=this.factoryImgFileList[i].url:this.brandForm.brand_auth+=","+this.factoryImgFileList[i].url;if(this.shopImgFileList.length>0)for(var r=0;r<this.shopImgFileList.length;r++)0===r?this.brandForm.brand_business_auth=this.shopImgFileList[r].url:this.brandForm.brand_business_auth+=","+this.shopImgFileList[r].url;this.$refs[t].validate((function(t){if(t){var a={},i=[];i.push(e.brandForm),0===e.brandForm.id?(a.brands=i,Object(n["a"])(a).then((function(t){1==t.code?e.$router.push("/fillShopInf"):e.$message({type:"error",message:t.message?t.message:"保存失败"})}))):Object(n["l"])(i).then((function(t){1==t.code?e.$router.push("/fillShopInf"):e.$message({type:"error",message:t.message?t.message:"保存失败"})}))}}))},noBrandNext:function(){this.$router.push("/fillShopInf")}}},o=s,l=(a("d623"),a("cba8")),d=Object(l["a"])(o,i,r,!1,null,"44c1b794",null);e["default"]=d.exports},d623:function(t,e,a){"use strict";a("9291")}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-41dc9244"],{3746:function(e,i,t){"use strict";t.r(i);var a=function(){var e=this,i=e.$createElement,t=e._self._c||i;return t("div",{staticClass:"fill-store-inf"},[t("div",{staticClass:"logo-bg"},[e._e()]),e._v(" "),t("el-card",{staticClass:"box-card"},[t("div",{staticClass:"clearfix steps",attrs:{slot:"header"},slot:"header"},[t("el-steps",{attrs:{active:1,"align-center":"","finish-status":"success"}},[t("el-step",{attrs:{title:"注册账号"}}),e._v(" "),t("el-step",{attrs:{title:"填写主体信息"}}),e._v(" "),t("el-step",{attrs:{title:"填写店铺信息"}}),e._v(" "),t("el-step",{attrs:{title:"提交入驻审核"}})],1)],1),e._v(" "),t("div",{staticClass:"main-con"},[t("el-form",{ref:"mainForm",staticClass:"main-form-con",attrs:{model:e.mainForm,rules:e.mainRules,"label-width":"180px",size:"small"}},[t("el-form-item",[t("p",{staticClass:"main-form-title"},[e._v("企业资质信息")])]),e._v(" "),t("el-form-item",{attrs:{label:"营业执照:",prop:"license"}},[t("div",{staticStyle:{width:"100%",height:"100%",display:"flex","flex-direction":"row","justify-content":"normal"}},[t("div",{staticStyle:{"padding-right":"6px"}},[t("el-upload",{class:["uploadData",{"hiden-dom":e.licenseImgFileList.length>=1}],attrs:{action:"#","list-type":"picture-card","http-request":e.uploadLicenseImages,limit:1,"on-exceed":e.showTip,"before-upload":e.beforeUpImg,"on-preview":e.handlePictureCardPreview,"on-remove":e.handleRemove,"file-list":e.licenseImgFileList}},[t("i",{staticClass:"el-icon-plus"})]),e._v(" "),t("el-dialog",{attrs:{visible:e.dialogVisible},on:{"update:visible":function(i){e.dialogVisible=i}}},[t("img",{attrs:{width:"100%",src:e.dialogImageUrl,alt:""}})])],1),e._v(" "),t("div",[t("span",{staticClass:"tips-text"},[t("i",{staticClass:"el-icon-warning h-warning"})])]),e._v(" "),t("div",{staticStyle:{width:"380px","line-height":"24px","padding-top":"6px"}},[t("span",{staticClass:"tips-text"},[e._v("图片大小在2MB以内,支持png,jpg格式,最多可上传1张")]),t("br"),e._v(" "),t("span",{staticClass:"tips-text"},[e._v("请确保营业执照在有效期内")])])])]),e._v(" "),t("el-form-item",{attrs:{label:"企业名称:",prop:"organization_name","inline-message":"true"}},[t("el-input",{staticStyle:{width:"400px"},model:{value:e.mainForm.organization_name,callback:function(i){e.$set(e.mainForm,"organization_name",i)},expression:"mainForm.organization_name"}}),e._v(" "),t("span",{staticClass:"tips-text"},[t("i",{staticClass:"el-icon-warning h-warning"}),e._v("请按照营业执照上登记的完整名称填写")])],1),e._v(" "),t("el-form-item",{attrs:{label:"统一社会代码:",prop:"license_number","inline-message":"true"}},[t("el-input",{staticStyle:{width:"400px"},model:{value:e.mainForm.license_number,callback:function(i){e.$set(e.mainForm,"license_number",i)},expression:"mainForm.license_number"}}),e._v(" "),t("span",{staticClass:"tips-text"},[t("i",{staticClass:"el-icon-warning h-warning"}),e._v("请按照营业执照上登记的完整名称填写")])],1),e._v(" "),t("el-form-item",{attrs:{gutter:20,label:"营业期限:",prop:"license_expires_time"}},[t("el-date-picker",{staticStyle:{width:"400px"},attrs:{type:"daterange","range-separator":"至","start-placeholder":"开始日期","end-placeholder":"结束日期","value-format":"yyyy-MM-dd",clearable:!1},on:{change:e.periodLongTermChange},model:{value:e.periodConcreteTime,callback:function(i){e.periodConcreteTime=i},expression:"periodConcreteTime"}}),e._v(" "),t("el-checkbox",{staticStyle:{"padding-left":"15px"},attrs:{disabled:e.isPeriodDisabled},on:{change:e.periodConcreteChange},model:{value:e.periodLongTermVal,callback:function(i){e.periodLongTermVal=i},expression:"periodLongTermVal"}},[e._v("长期\n ")]),e._v(" "),t("span",{staticClass:"tips-text"},[t("i",{staticClass:"el-icon-warning h-warning"}),e._v("具体时间和长期,二者必填一个")])],1),e._v(" "),t("el-form-item",{attrs:{label:"企业地址:",prop:"organization_address","inline-message":"true"}},[t("el-input",{staticStyle:{width:"400px"},model:{value:e.mainForm.organization_address,callback:function(i){e.$set(e.mainForm,"organization_address",i)},expression:"mainForm.organization_address"}}),e._v(" "),t("span",{staticClass:"tips-text"},[t("i",{staticClass:"el-icon-warning h-warning"}),e._v("请按照营业执照上登记的完整地址填写")])],1),e._v(" "),t("el-form-item",[t("p",{staticClass:"main-form-tips"},[e._v("请核对营业执照信息,若信息不符合,可手动修改")])]),e._v(" "),t("el-divider"),e._v(" "),t("el-form-item",[t("p",{staticClass:"main-form-title"},[e._v("企业法人信息")])]),e._v(" "),t("el-form-item",{attrs:{label:"法人身份证:",prop:"idcard_front"}},[t("div",{staticStyle:{width:"100%",height:"100%",display:"flex","flex-direction":"row","justify-content":"normal"}},[t("div",{staticStyle:{padding:"0 20px"}},[t("el-upload",{class:["uploadData",{"hiden-dom":e.idcardImgFileList.length>=1}],attrs:{"list-type":"picture-card",action:"#",limit:1,"on-exceed":e.showTip,"before-upload":e.beforeUpImg,"http-request":e.uploadIdcardPositive,"on-preview":e.handlePictureCardPreview2,"on-remove":e.handleRemove2,"file-list":e.idcardImgFileList}},[t("i",{staticClass:"el-icon-plus"})]),e._v(" "),t("el-dialog",{attrs:{visible:e.dialogVisible2},on:{"update:visible":function(i){e.dialogVisible2=i}}},[t("img",{attrs:{width:"100%",src:e.dialogImageUrl2,alt:""}})])],1),e._v(" "),t("div",{staticStyle:{padding:"0 20px"}},[t("el-upload",{class:["uploadData",{"hiden-dom":e.idcardBackImgFileList.length>=1}],attrs:{"list-type":"picture-card",action:"#",limit:1,"on-exceed":e.showTip,"file-list":e.idcardBackImgFileList,"before-upload":e.beforeUpImg,"on-preview":e.handleBackPictureCardPreview2,"on-remove":e.handleBackRemove2,"http-request":e.uploadIdcardBack}},[t("i",{staticClass:"el-icon-plus"})]),e._v(" "),t("el-dialog",{attrs:{visible:e.dialogBackVisible2},on:{"update:visible":function(i){e.dialogBackVisible2=i}}},[t("img",{attrs:{width:"100%",src:e.dialogBackImageUrl2,alt:""}})])],1),e._v(" "),t("div",[t("span",{staticClass:"tips-text"},[t("i",{staticClass:"el-icon-warning h-warning"})])]),e._v(" "),t("div",{staticStyle:{width:"380px","line-height":"24px","padding-top":"6px"}},[t("span",{staticClass:"tips-text"},[e._v("请按顺序分别上传正面(照片面)和反面(国徽面)电子版图片,文件大小在 2MB以内,支持png,jpg格式,最多可上传2张")])])]),e._v(" "),t("div",{staticClass:"idcard-tips-con"},[t("p",[e._v("请上传身份证正面")]),e._v(" "),t("p",[e._v("请上传身份证国徽面")])])]),e._v(" "),t("el-form-item",{attrs:{label:"法定姓名:",prop:"real_name"}},[t("el-input",{staticStyle:{width:"400px"},model:{value:e.mainForm.real_name,callback:function(i){e.$set(e.mainForm,"real_name",i)},expression:"mainForm.real_name"}}),e._v(" "),t("span",{staticClass:"tips-text"},[t("i",{staticClass:"el-icon-warning h-warning"}),e._v("请按照营业执照上登记的法人填写")])],1),e._v(" "),t("el-form-item",{attrs:{label:"法定代表人证件号:",prop:"idcard_number"}},[t("el-input",{staticStyle:{width:"400px"},model:{value:e.mainForm.idcard_number,callback:function(i){e.$set(e.mainForm,"idcard_number",i)},expression:"mainForm.idcard_number"}})],1),e._v(" "),t("el-form-item",{attrs:{label:"有效期至:",prop:"idcard_expires_time"}},[t("el-date-picker",{staticStyle:{width:"400px"},attrs:{type:"daterange","range-separator":"至","value-format":"yyyy-MM-dd","start-placeholder":"开始日期","end-placeholder":"结束日期",clearable:!1},on:{change:e.validityConcreteTimeChange},model:{value:e.validityConcreteTime,callback:function(i){e.validityConcreteTime=i},expression:"validityConcreteTime"}}),e._v(" "),t("el-checkbox",{staticStyle:{"padding-left":"15px"},on:{change:e.validityLongTermValChange},model:{value:e.validityLongTermVal,callback:function(i){e.validityLongTermVal=i},expression:"validityLongTermVal"}},[e._v("长期\n ")])],1),e._v(" "),t("el-form-item",[t("p",{staticClass:"main-form-tips"},[e._v("请核对企业法人信息,若信息不符合,可手动修改")])]),e._v(" "),t("div",{staticClass:"confirm-btn"},[t("p",[t("el-button",{staticStyle:{padding:"8px 30px"},attrs:{type:"primary"},on:{click:function(i){return e.next("mainForm")}}},[e._v("下一步")])],1)])],1)],1)]),e._v(" "),t("el-dialog",{staticClass:"read-fail-dialog",attrs:{title:"提示",visible:e.isReadFailVisible,width:"600px",center:"","close-on-click-modal":!1,"show-close":!1},on:{"update:visible":function(i){e.isReadFailVisible=i}}},[t("p",[e._v("未能识别有效信息,请重新上传正确的图片或者手动输入相关信息")]),e._v(" "),t("p",[e._v("该弹窗"),t("span",{staticClass:"read-time-m"},[e._v(e._s(e.readTime))]),e._v("S后自动关闭,无需手动关闭")])])],1)},r=[],s=(t("ac6a"),t("a481"),t("28a5"),t("6b1f")),n=t("ed08"),l={name:"FillMainInf",data:function(){var e=this,i=function(i,t,a){e.licenseImgFileList.length>0?a():0===e.licenseImgFileList.length&&a(new Error("营业执照图片至少上传一张"))},t=function(i,t,a){e.idcardImgFileList.length>0?a():0===e.idcardImgFileList.length&&a(new Error("法人证件照图片至少上传一张"))},a=function(e,i,t){var a=/(^\d{15}$)|(^\d{18}$)|(^\d{17}(\d|X|x)$)/;a.test(i)?t():t(new Error("法人证件号格式有误"))},r=function(i,t,a){0!=e.periodConcreteTime.length&&e.periodConcreteTime||!1!==e.periodLongTermVal?a():a(new Error("营业期限具体时间和长期必须填写其中一个"))},s=function(i,t,a){0!=e.validityConcreteTime.length&&e.validityConcreteTime||!1!==e.validityLongTermVal?a():a(new Error("有效期具体时间和长期必须填写其中一个"))};return{licenseImgFileList:[],idcardImgFileList:[],idcardBackImgFileList:[],dialogImageUrl:"",dialogVisible:!1,dialogImageUrl2:"",dialogVisible2:!1,dialogBackImageUrl2:"",dialogBackVisible2:!1,periodConcreteTime:[],periodLongTermVal:!1,validityConcreteTime:[],validityLongTermVal:!1,isConcretePeriod:!1,isPeriodDisabled:!1,isValidity:!0,submitTime:[],mainForm:{license:"",organization_name:"",license_number:"",organization_address:"",idcard_front:"",idcard_back:"",real_name:"",idcard_number:"",idcard_start_time:"",idcard_expires_time:"",license_expires_time:"",license_start_time:""},hasLicense:!1,mainRules:{license:[{required:!0,message:"请上传营业执照电子版",validator:i}],organization_name:[{required:!0,message:"企业名称不能为空",trigger:"blur"}],license_number:[{required:!0,message:"统一社会代码不能为空",trigger:"blur"}],organization_address:[{required:!0,message:"企业地址不能为空",trigger:"blur"}],real_name:[{required:!0,message:"法人姓名不能为空",trigger:"blur"}],idcard_number:[{required:!0,message:"法人证件号不能为空",trigger:"blur"},{required:!0,message:"法人证件号码格式有误",validator:a,trigger:"blur"}],idcard_front:[{required:!0,message:"请上传法人证件电子版图片",validator:t}],license_expires_time:[{validator:r,required:!0,trigger:"change"}],idcard_expires_time:[{validator:s,required:!0,trigger:"change"}]},readTime:5,isReadFailVisible:!1,TIMER:null}},created:function(){var e=this;Object(s["g"])().then((function(i){if(1==i.code&&i.data.user){var t=!1;0==i.data.user.state?t=1==i.data.user.status:1!=i.data.user.state&&2!=i.data.user.state&&3!=i.data.user.state||(t=!0),t&&e.getMain()}}))},destroyed:function(){clearInterval(this.TIMER),this.TIMER=null},mounted:function(){},methods:{periodLongTermChange:function(){Array.isArray(this.periodConcreteTime)&&2==this.periodConcreteTime.length&&(this.periodLongTermVal=!1)},periodConcreteChange:function(){this.periodLongTermVal&&(this.periodConcreteTime=[])},validityConcreteTimeChange:function(){Array.isArray(this.validityConcreteTime)&&2==this.validityConcreteTime.length&&(this.validityLongTermVal=!1)},validityLongTermValChange:function(){this.validityLongTermVal&&(this.validityConcreteTime=[])},beforeUpImg:function(e){if("image/png"!==e.type&&"image/jpg"!==e.type&&"image/jpeg"!=e.type)return this.$message({message:"上传图片格式只支持png/png格式",type:"warning"}),!1},uploadLicenseImages:function(e){var i=this;this.getBase64(e.file).then((function(e){var t=e.split(",");i.Base64img=t[1];var a={img_data:i.Base64img};Object(s["m"])(a).then((function(e){1==e.code?(i.licenseImgFileList.push({url:e.data.image_url}),i.$message({type:"success",message:"上传成功"}),i.$refs.mainForm.clearValidate("license"),i.readLicenseImgInfo(i.licenseImgFileList)):i.$message({type:"error",message:e.message?e.message:"上传失败"})}))}))},handlePictureCardPreview:function(e){this.dialogImageUrl=e.url,this.dialogVisible=!0},handleRemove:function(e,i){for(var t=0;t<this.licenseImgFileList.length;t++)e.uid===this.licenseImgFileList[t].uid&&this.licenseImgFileList.splice(t,1)},readLicenseImgInfo:function(e){var i=this;if(Array.isArray(e)&&e[0].url){var t={img:e[0].url};Object(s["h"])(t).then((function(e){if(1==e.code)if(i.mainForm.organization_name=e.data.words_result["单位名称"].words?e.data.words_result["单位名称"].words:"",i.mainForm.license_number=e.data.words_result["社会信用代码"].words?e.data.words_result["社会信用代码"].words:"",i.mainForm.organization_address=e.data.words_result["地址"].words?e.data.words_result["地址"].words:"","长期"==e.data.words_result["有效期"].words||"年月日"==e.data.words_result["有效期"].words)i.periodConcreteTime=[],i.periodLongTermVal=!0;else{var t=e.data.words_result["成立日期"].words?e.data.words_result["成立日期"].words:"",a=e.data.words_result["有效期"].words,r=t.replace(/年|月|日/g,"-").substr(0,t.length-1),s=a.replace(/年|月|日/g,"-").substr(0,a.length-1);i.periodConcreteTime=[],i.periodConcreteTime.push(r),i.periodConcreteTime.push(s),i.periodLongTermVal=!1}else i.isReadFailVisible=!0,i.readTime=5,clearInterval(i.TIMER),i.TIMER=setInterval((function(){i.readTime&&0<i.readTime<=5?i.readTime--:(i.readTime=0,i.isReadFailVisible=!1)}),1e3)}))}},uploadIdcardPositive:function(e){var i=this;this.getBase64(e.file).then((function(e){var t=e.split(",");i.Base64img=t[1];var a={img_data:i.Base64img};Object(s["m"])(a).then((function(e){1==e.code?(i.idcardImgFileList.push({url:e.data.image_url}),i.$message({type:"success",message:"上传成功"}),i.$refs.mainForm.clearValidate("idcard_front"),i.readIdcardPositive(i.idcardImgFileList)):i.$message({type:"error",message:e.message?e.message:"上传失败"})}))}))},readIdcardPositive:function(e){var i=this;if(Array.isArray(e)&&e[0].url){var t={img:e[0].url};Object(s["f"])(t).then((function(e){if(1==e.code){if(e.data.words_result)try{i.mainForm.real_name=e.data.words_result["姓名"].words?e.data.words_result["姓名"].words:"",i.mainForm.idcard_number=e.data.words_result["公民身份号码"].words?e.data.words_result["公民身份号码"].words:""}catch(t){i.isReadFailVisible=!0,i.readTime=5,clearInterval(i.TIMER),i.TIMER=setInterval((function(){i.readTime&&0<i.readTime<=5?i.readTime--:(i.readTime=0,i.isReadFailVisible=!1)}),1e3)}}else i.isReadFailVisible=!0,i.readTime=5,clearInterval(i.TIMER),i.TIMER=setInterval((function(){i.readTime&&0<i.readTime<=5?i.readTime--:(i.readTime=0,i.isReadFailVisible=!1)}),1e3)}))}},handlePictureCardPreview2:function(e){this.dialogImageUrl2=e.url,this.dialogVisible2=!0},handleRemove2:function(e,i){for(var t=0;t<this.idcardImgFileList.length;t++)e.uid===this.idcardImgFileList[t].uid&&this.idcardImgFileList.splice(t,1)},uploadIdcardBack:function(e){var i=this;this.getBase64(e.file).then((function(e){var t=e.split(",");i.Base64img=t[1];var a={img_data:i.Base64img};Object(s["m"])(a).then((function(e){1==e.code?(i.idcardBackImgFileList.push({url:e.data.image_url}),i.$message({type:"success",message:"上传成功"}),i.$refs.mainForm.clearValidate("idcard_back"),i.readIdcardBack(i.idcardBackImgFileList)):i.$message({type:"error",message:e.message?e.message:"上传失败"})}))}))},readIdcardBack:function(e){var i=this;if(Array.isArray(e)&&e[0].url){var t={img:e[0].url};Object(s["f"])(t).then((function(e){if(1==e.code)if(e.data.words_result["签发日期"]&&e.data.words_result["失效日期"]){var t=e.data.words_result["签发日期"].words,a=e.data.words_result["失效日期"].words;if("长期"==a)i.validityConcreteTime=[],i.validityLongTermVal=!0;else{var r=/^(\d{4})(\d{2})(\d{2})$/,s=t.replace(r,"$1-$2-$3"),n=a.replace(r,"$1-$2-$3");i.validityConcreteTime=[],i.validityConcreteTime.push(s),i.validityConcreteTime.push(n),i.validityLongTermVal=!1}}else i.isReadFailVisible=!0,i.readTime=5,clearInterval(i.TIMER),i.TIMER=setInterval((function(){i.readTime&&0<i.readTime<=5?i.readTime--:(i.readTime=0,i.isReadFailVisible=!1)}),1e3);else i.isReadFailVisible=!0,i.readTime=5,clearInterval(i.TIMER),i.TIMER=setInterval((function(){i.readTime&&0<i.readTime<=5?i.readTime--:(i.readTime=0,i.isReadFailVisible=!1)}),1e3)}))}},handleBackPictureCardPreview2:function(e){this.dialogBackImageUrl2=e.url,this.dialogBackVisible2=!0},handleBackRemove2:function(e){for(var i=0;i<this.idcardBackImgFileList.length;i++)e.uid===this.idcardBackImgFileList[i].uid&&this.idcardBackImgFileList.splice(i,1)},getMain:function(){var e=this;Object(s["i"])().then((function(i){if(1==i.code){e.resetForm("mainForm"),e.mainForm=i.data;var t=[],a={};t=e.mainForm.license.split(","),t.length>0?t.forEach((function(i){a={},i&&(a.url=i,e.licenseImgFileList.push(a))})):e.licenseImgFileList=[];var r=[],s={};r=e.mainForm.idcard_front.split(","),r.length>0?r.forEach((function(i){s={},i&&(s.url=i,e.idcardImgFileList.push(s))})):e.idcardImgFileList=[];var n=[],l={};if(n=e.mainForm.idcard_back.split(","),n.length>0?n.forEach((function(i){l={},i&&(l.url=i,e.idcardBackImgFileList.push(l))})):e.idcardBackImgFileList=[],0==e.mainForm.license_expires_time)e.periodLongTermVal=!0,e.periodConcreteTime=[];else if(e.mainForm.license_expires_time>0){e.periodLongTermVal=!1,e.periodConcreteTime=[];var o=e.formatterTime(e.mainForm.license_start_time),d=e.formatterTime(e.mainForm.license_expires_time);e.periodConcreteTime.push(o),e.periodConcreteTime.push(d)}if(0==e.mainForm.idcard_expires_time)e.validityLongTermVal=!0,e.validityConcreteTime=[];else if(e.mainForm.idcard_expires_time>0){e.validityLongTermVal=!1,e.validityConcreteTime=[];var c=e.formatterTime(e.mainForm.idcard_start_time),m=e.formatterTime(e.mainForm.idcard_expires_time);e.validityConcreteTime.push(c),e.validityConcreteTime.push(m)}}else e.$message({type:"error",message:i.message?i.message:"获取主体信息失败"})}))},resetForm:function(e){this.periodConcreteTime=[],this.validityConcreteTime=[],this.$refs[e].resetFields()},getBase64:function(e){return new Promise((function(i,t){var a=new FileReader,r="";a.readAsDataURL(e),a.onload=function(){r=a.result},a.onerror=function(e){t(e)},a.onloadend=function(){i(r)}}))},formatterTime:function(e){return Object(n["c"])(1e3*e,"Y-m-d")},showTip2:function(){this.$message({message:"最多上传2张图片",type:"warning"})},showTip:function(){this.$message({message:"最多上传1张图片",type:"warning"})},back:function(){this.$router.push("/agreement")},next:function(e){var i=this;if(this.periodLongTermVal?(this.mainForm.license_expires_time=0,this.mainForm.license_start_time=0):Array.isArray(this.periodConcreteTime)&&2==this.periodConcreteTime.length&&(this.mainForm.license_start_time=new Date(this.periodConcreteTime[0]).getTime()/1e3,this.mainForm.license_expires_time=new Date(this.periodConcreteTime[1]).getTime()/1e3),this.validityLongTermVal?(this.mainForm.idcard_expires_time=0,this.mainForm.idcard_start_time=0):Array.isArray(this.validityConcreteTime)&&2==this.validityConcreteTime.length&&(this.mainForm.idcard_start_time=new Date(this.validityConcreteTime[0]).getTime()/1e3,this.mainForm.idcard_expires_time=new Date(this.validityConcreteTime[1]).getTime()/1e3),this.licenseImgFileList.length>0)for(var t=0;t<this.licenseImgFileList.length;t++)0===t?this.mainForm.license=this.licenseImgFileList[t].url:this.mainForm.license+=","+this.licenseImgFileList[t].url;if(this.idcardImgFileList.length>0)for(var a=0;a<this.idcardImgFileList.length;a++)0===a?this.mainForm.idcard_front=this.idcardImgFileList[a].url:this.mainForm.idcard_front+=","+this.idcardImgFileList[a].url;if(this.idcardBackImgFileList.length>0)for(var r=0;r<this.idcardBackImgFileList.length;r++)0===r?this.mainForm.idcard_back=this.idcardBackImgFileList[r].url:this.mainForm.idcard_back+=","+this.idcardBackImgFileList[r].url;this.$refs[e].validate((function(e){e&&Object(s["b"])(i.mainForm).then((function(e){1==e.code?i.$router.push("/fillShopInf"):i.$message({type:"error",message:e.message?e.message:"保存失败"})}))}))}}},o=l,d=(t("6291"),t("2877")),c=Object(d["a"])(o,a,r,!1,null,"5118f63e",null);i["default"]=c.exports},6291:function(e,i,t){"use strict";t("b537")},"6b1f":function(e,i,t){"use strict";t.d(i,"g",(function(){return r})),t.d(i,"i",(function(){return s})),t.d(i,"b",(function(){return n})),t.d(i,"d",(function(){return l})),t.d(i,"a",(function(){return o})),t.d(i,"l",(function(){return d})),t.d(i,"j",(function(){return c})),t.d(i,"c",(function(){return m})),t.d(i,"m",(function(){return u})),t.d(i,"e",(function(){return g})),t.d(i,"h",(function(){return p})),t.d(i,"f",(function(){return h})),t.d(i,"k",(function(){return f}));var a=t("b775");function r(e){return Object(a["a"])({url:"/system/index/getInfo",method:"get",params:e})}function s(e){return Object(a["a"])({url:"/local/getOrganization",method:"get",params:e})}function n(e){return Object(a["a"])({url:"/local/organization",method:"post",data:e})}function l(e){return Object(a["a"])({url:"/local/shopbrand",method:"get",params:e})}function o(e){return Object(a["a"])({url:"/local/brands",method:"post",data:e})}function d(e){return Object(a["a"])({url:"/local/upbrands",method:"post",data:e})}function c(e){return Object(a["a"])({url:"/local/getShopInfo",method:"get",params:e})}function m(e){return Object(a["a"])({url:"/local/addShopInfo",method:"post",data:e})}function u(e){return Object(a["a"])({url:"/system/goodsNew/uploadImage",method:"post",data:e})}function g(e){return Object(a["a"])({url:"/local/cate",method:"get",params:e})}function p(e){return Object(a["a"])({url:"/local/check/businessLicense",method:"get",params:e})}function h(e){return Object(a["a"])({url:"/local/check/idCard",method:"get",params:e})}function f(e){return Object(a["a"])({url:"/local/qualification/list",method:"get",params:e})}},b537:function(e,i,t){}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-3c5d3e7a"],{3746:function(e,i,t){"use strict";t.r(i);var a=function(){var e=this,i=e.$createElement,t=e._self._c||i;return t("div",{staticClass:"fill-store-inf"},[t("div",{staticClass:"logo-bg"},[e._e()]),e._v(" "),t("el-card",{staticClass:"box-card"},[t("div",{staticClass:"clearfix steps",attrs:{slot:"header"},slot:"header"},[t("el-steps",{attrs:{active:1,"align-center":"","finish-status":"success"}},[t("el-step",{attrs:{title:"注册账号"}}),e._v(" "),t("el-step",{attrs:{title:"填写主体信息"}}),e._v(" "),t("el-step",{attrs:{title:"填写店铺信息"}}),e._v(" "),t("el-step",{attrs:{title:"提交入驻审核"}})],1)],1),e._v(" "),t("div",{staticClass:"main-con"},[t("el-form",{ref:"mainForm",staticClass:"main-form-con",attrs:{model:e.mainForm,rules:e.mainRules,"label-width":"180px",size:"small"}},[t("el-form-item",[t("p",{staticClass:"main-form-title"},[e._v("企业资质信息")])]),e._v(" "),t("el-form-item",{attrs:{label:"营业执照:",prop:"license"}},[t("div",{staticStyle:{width:"100%",height:"100%",display:"flex","flex-direction":"row","justify-content":"normal"}},[t("div",{staticStyle:{"padding-right":"6px"}},[t("el-upload",{class:["uploadData",{"hiden-dom":e.licenseImgFileList.length>=1}],attrs:{action:"#","list-type":"picture-card","http-request":e.uploadLicenseImages,limit:1,"on-exceed":e.showTip,"before-upload":e.beforeUpImg,"on-preview":e.handlePictureCardPreview,"on-remove":e.handleRemove,"file-list":e.licenseImgFileList}},[t("i",{staticClass:"el-icon-plus"})]),e._v(" "),t("el-dialog",{attrs:{visible:e.dialogVisible},on:{"update:visible":function(i){e.dialogVisible=i}}},[t("img",{attrs:{width:"100%",src:e.dialogImageUrl,alt:""}})])],1),e._v(" "),t("div",[t("span",{staticClass:"tips-text"},[t("i",{staticClass:"el-icon-warning h-warning"})])]),e._v(" "),t("div",{staticStyle:{width:"380px","line-height":"24px","padding-top":"6px"}},[t("span",{staticClass:"tips-text"},[e._v("图片大小在2MB以内,支持png,jpg格式,最多可上传1张")]),t("br"),e._v(" "),t("span",{staticClass:"tips-text"},[e._v("请确保营业执照在有效期内")])])])]),e._v(" "),t("el-form-item",{attrs:{label:"企业名称:",prop:"organization_name","inline-message":"true"}},[t("el-input",{staticStyle:{width:"400px"},model:{value:e.mainForm.organization_name,callback:function(i){e.$set(e.mainForm,"organization_name",i)},expression:"mainForm.organization_name"}}),e._v(" "),t("span",{staticClass:"tips-text"},[t("i",{staticClass:"el-icon-warning h-warning"}),e._v("请按照营业执照上登记的完整名称填写")])],1),e._v(" "),t("el-form-item",{attrs:{label:"统一社会代码:",prop:"license_number","inline-message":"true"}},[t("el-input",{staticStyle:{width:"400px"},model:{value:e.mainForm.license_number,callback:function(i){e.$set(e.mainForm,"license_number",i)},expression:"mainForm.license_number"}}),e._v(" "),t("span",{staticClass:"tips-text"},[t("i",{staticClass:"el-icon-warning h-warning"}),e._v("请按照营业执照上登记的完整名称填写")])],1),e._v(" "),t("el-form-item",{attrs:{gutter:20,label:"营业期限:",prop:"license_expires_time"}},[t("el-date-picker",{staticStyle:{width:"400px"},attrs:{type:"daterange","range-separator":"至","start-placeholder":"开始日期","end-placeholder":"结束日期","value-format":"yyyy-MM-dd",clearable:!1},on:{change:e.periodLongTermChange},model:{value:e.periodConcreteTime,callback:function(i){e.periodConcreteTime=i},expression:"periodConcreteTime"}}),e._v(" "),t("el-checkbox",{staticStyle:{"padding-left":"15px"},attrs:{disabled:e.isPeriodDisabled},on:{change:e.periodConcreteChange},model:{value:e.periodLongTermVal,callback:function(i){e.periodLongTermVal=i},expression:"periodLongTermVal"}},[e._v("长期\n ")]),e._v(" "),t("span",{staticClass:"tips-text"},[t("i",{staticClass:"el-icon-warning h-warning"}),e._v("具体时间和长期,二者必填一个")])],1),e._v(" "),t("el-form-item",{attrs:{label:"企业地址:",prop:"organization_address","inline-message":"true"}},[t("el-input",{staticStyle:{width:"400px"},model:{value:e.mainForm.organization_address,callback:function(i){e.$set(e.mainForm,"organization_address",i)},expression:"mainForm.organization_address"}}),e._v(" "),t("span",{staticClass:"tips-text"},[t("i",{staticClass:"el-icon-warning h-warning"}),e._v("请按照营业执照上登记的完整地址填写")])],1),e._v(" "),t("el-form-item",[t("p",{staticClass:"main-form-tips"},[e._v("请核对营业执照信息,若信息不符合,可手动修改")])]),e._v(" "),t("el-divider"),e._v(" "),t("el-form-item",[t("p",{staticClass:"main-form-title"},[e._v("企业法人信息")])]),e._v(" "),t("el-form-item",{attrs:{label:"法人身份证:",prop:"idcard_front"}},[t("div",{staticStyle:{width:"100%",height:"100%",display:"flex","flex-direction":"row","justify-content":"normal"}},[t("div",{staticStyle:{padding:"0 20px"}},[t("el-upload",{class:["uploadData",{"hiden-dom":e.idcardImgFileList.length>=1}],attrs:{"list-type":"picture-card",action:"#",limit:1,"on-exceed":e.showTip,"before-upload":e.beforeUpImg,"http-request":e.uploadIdcardPositive,"on-preview":e.handlePictureCardPreview2,"on-remove":e.handleRemove2,"file-list":e.idcardImgFileList}},[t("i",{staticClass:"el-icon-plus"})]),e._v(" "),t("el-dialog",{attrs:{visible:e.dialogVisible2},on:{"update:visible":function(i){e.dialogVisible2=i}}},[t("img",{attrs:{width:"100%",src:e.dialogImageUrl2,alt:""}})])],1),e._v(" "),t("div",{staticStyle:{padding:"0 20px"}},[t("el-upload",{class:["uploadData",{"hiden-dom":e.idcardBackImgFileList.length>=1}],attrs:{"list-type":"picture-card",action:"#",limit:1,"on-exceed":e.showTip,"file-list":e.idcardBackImgFileList,"before-upload":e.beforeUpImg,"on-preview":e.handleBackPictureCardPreview2,"on-remove":e.handleBackRemove2,"http-request":e.uploadIdcardBack}},[t("i",{staticClass:"el-icon-plus"})]),e._v(" "),t("el-dialog",{attrs:{visible:e.dialogBackVisible2},on:{"update:visible":function(i){e.dialogBackVisible2=i}}},[t("img",{attrs:{width:"100%",src:e.dialogBackImageUrl2,alt:""}})])],1),e._v(" "),t("div",[t("span",{staticClass:"tips-text"},[t("i",{staticClass:"el-icon-warning h-warning"})])]),e._v(" "),t("div",{staticStyle:{width:"380px","line-height":"24px","padding-top":"6px"}},[t("span",{staticClass:"tips-text"},[e._v("请按顺序分别上传正面(照片面)和反面(国徽面)电子版图片,文件大小在 2MB以内,支持png,jpg格式,最多可上传2张")])])]),e._v(" "),t("div",{staticClass:"idcard-tips-con"},[t("p",[e._v("请上传身份证正面")]),e._v(" "),t("p",[e._v("请上传身份证国徽面")])])]),e._v(" "),t("el-form-item",{attrs:{label:"法定姓名:",prop:"real_name"}},[t("el-input",{staticStyle:{width:"400px"},model:{value:e.mainForm.real_name,callback:function(i){e.$set(e.mainForm,"real_name",i)},expression:"mainForm.real_name"}}),e._v(" "),t("span",{staticClass:"tips-text"},[t("i",{staticClass:"el-icon-warning h-warning"}),e._v("请按照营业执照上登记的法人填写")])],1),e._v(" "),t("el-form-item",{attrs:{label:"法定代表人证件号:",prop:"idcard_number"}},[t("el-input",{staticStyle:{width:"400px"},model:{value:e.mainForm.idcard_number,callback:function(i){e.$set(e.mainForm,"idcard_number",i)},expression:"mainForm.idcard_number"}})],1),e._v(" "),t("el-form-item",{attrs:{label:"有效期至:",prop:"idcard_expires_time"}},[t("el-date-picker",{staticStyle:{width:"400px"},attrs:{type:"daterange","range-separator":"至","value-format":"yyyy-MM-dd","start-placeholder":"开始日期","end-placeholder":"结束日期",clearable:!1},on:{change:e.validityConcreteTimeChange},model:{value:e.validityConcreteTime,callback:function(i){e.validityConcreteTime=i},expression:"validityConcreteTime"}}),e._v(" "),t("el-checkbox",{staticStyle:{"padding-left":"15px"},on:{change:e.validityLongTermValChange},model:{value:e.validityLongTermVal,callback:function(i){e.validityLongTermVal=i},expression:"validityLongTermVal"}},[e._v("长期\n ")])],1),e._v(" "),t("el-form-item",[t("p",{staticClass:"main-form-tips"},[e._v("请核对企业法人信息,若信息不符合,可手动修改")])]),e._v(" "),t("div",{staticClass:"confirm-btn"},[t("p",[t("el-button",{staticStyle:{padding:"8px 30px"},attrs:{type:"primary"},on:{click:function(i){return e.next("mainForm")}}},[e._v("下一步")])],1)])],1)],1)]),e._v(" "),t("el-dialog",{staticClass:"read-fail-dialog",attrs:{title:"提示",visible:e.isReadFailVisible,width:"600px",center:"","close-on-click-modal":!1,"show-close":!1},on:{"update:visible":function(i){e.isReadFailVisible=i}}},[t("p",[e._v("未能识别有效信息,请重新上传正确的图片或者手动输入相关信息")]),e._v(" "),t("p",[e._v("该弹窗"),t("span",{staticClass:"read-time-m"},[e._v(e._s(e.readTime))]),e._v("S后自动关闭,无需手动关闭")])])],1)},r=[],s=(t("1bc7"),t("8dee"),t("fc02"),t("6b1f")),n=t("ed08"),l={name:"FillMainInf",data:function(){var e=this,i=function(i,t,a){e.licenseImgFileList.length>0?a():0===e.licenseImgFileList.length&&a(new Error("营业执照图片至少上传一张"))},t=function(i,t,a){e.idcardImgFileList.length>0?a():0===e.idcardImgFileList.length&&a(new Error("法人证件照图片至少上传一张"))},a=function(e,i,t){var a=/(^\d{15}$)|(^\d{18}$)|(^\d{17}(\d|X|x)$)/;a.test(i)?t():t(new Error("法人证件号格式有误"))},r=function(i,t,a){0!=e.periodConcreteTime.length&&e.periodConcreteTime||!1!==e.periodLongTermVal?a():a(new Error("营业期限具体时间和长期必须填写其中一个"))},s=function(i,t,a){0!=e.validityConcreteTime.length&&e.validityConcreteTime||!1!==e.validityLongTermVal?a():a(new Error("有效期具体时间和长期必须填写其中一个"))};return{licenseImgFileList:[],idcardImgFileList:[],idcardBackImgFileList:[],dialogImageUrl:"",dialogVisible:!1,dialogImageUrl2:"",dialogVisible2:!1,dialogBackImageUrl2:"",dialogBackVisible2:!1,periodConcreteTime:[],periodLongTermVal:!1,validityConcreteTime:[],validityLongTermVal:!1,isConcretePeriod:!1,isPeriodDisabled:!1,isValidity:!0,submitTime:[],mainForm:{license:"",organization_name:"",license_number:"",organization_address:"",idcard_front:"",idcard_back:"",real_name:"",idcard_number:"",idcard_start_time:"",idcard_expires_time:"",license_expires_time:"",license_start_time:""},hasLicense:!1,mainRules:{license:[{required:!0,message:"请上传营业执照电子版",validator:i}],organization_name:[{required:!0,message:"企业名称不能为空",trigger:"blur"}],license_number:[{required:!0,message:"统一社会代码不能为空",trigger:"blur"}],organization_address:[{required:!0,message:"企业地址不能为空",trigger:"blur"}],real_name:[{required:!0,message:"法人姓名不能为空",trigger:"blur"}],idcard_number:[{required:!0,message:"法人证件号不能为空",trigger:"blur"},{required:!0,message:"法人证件号码格式有误",validator:a,trigger:"blur"}],idcard_front:[{required:!0,message:"请上传法人证件电子版图片",validator:t}],license_expires_time:[{validator:r,required:!0,trigger:"change"}],idcard_expires_time:[{validator:s,required:!0,trigger:"change"}]},readTime:5,isReadFailVisible:!1,TIMER:null}},created:function(){var e=this;Object(s["g"])().then((function(i){if(1==i.code&&i.data.user){var t=!1;0==i.data.user.state?t=1==i.data.user.status:1!=i.data.user.state&&2!=i.data.user.state&&3!=i.data.user.state||(t=!0),t&&e.getMain()}}))},destroyed:function(){clearInterval(this.TIMER),this.TIMER=null},mounted:function(){},methods:{periodLongTermChange:function(){Array.isArray(this.periodConcreteTime)&&2==this.periodConcreteTime.length&&(this.periodLongTermVal=!1)},periodConcreteChange:function(){this.periodLongTermVal&&(this.periodConcreteTime=[])},validityConcreteTimeChange:function(){Array.isArray(this.validityConcreteTime)&&2==this.validityConcreteTime.length&&(this.validityLongTermVal=!1)},validityLongTermValChange:function(){this.validityLongTermVal&&(this.validityConcreteTime=[])},beforeUpImg:function(e){if("image/png"!==e.type&&"image/jpg"!==e.type&&"image/jpeg"!=e.type)return this.$message({message:"上传图片格式只支持png/png格式",type:"warning"}),!1},uploadLicenseImages:function(e){var i=this;this.getBase64(e.file).then((function(e){var t=e.split(",");i.Base64img=t[1];var a={img_data:i.Base64img};Object(s["m"])(a).then((function(e){1==e.code?(i.licenseImgFileList.push({url:e.data.image_url}),i.$message({type:"success",message:"上传成功"}),i.$refs.mainForm.clearValidate("license"),i.readLicenseImgInfo(i.licenseImgFileList)):i.$message({type:"error",message:e.message?e.message:"上传失败"})}))}))},handlePictureCardPreview:function(e){this.dialogImageUrl=e.url,this.dialogVisible=!0},handleRemove:function(e,i){for(var t=0;t<this.licenseImgFileList.length;t++)e.uid===this.licenseImgFileList[t].uid&&this.licenseImgFileList.splice(t,1)},readLicenseImgInfo:function(e){var i=this;if(Array.isArray(e)&&e[0].url){var t={img:e[0].url};Object(s["h"])(t).then((function(e){if(1==e.code)if(i.mainForm.organization_name=e.data.words_result["单位名称"].words?e.data.words_result["单位名称"].words:"",i.mainForm.license_number=e.data.words_result["社会信用代码"].words?e.data.words_result["社会信用代码"].words:"",i.mainForm.organization_address=e.data.words_result["地址"].words?e.data.words_result["地址"].words:"","长期"==e.data.words_result["有效期"].words||"年月日"==e.data.words_result["有效期"].words)i.periodConcreteTime=[],i.periodLongTermVal=!0;else{var t=e.data.words_result["成立日期"].words?e.data.words_result["成立日期"].words:"",a=e.data.words_result["有效期"].words,r=t.replace(/年|月|日/g,"-").substr(0,t.length-1),s=a.replace(/年|月|日/g,"-").substr(0,a.length-1);i.periodConcreteTime=[],i.periodConcreteTime.push(r),i.periodConcreteTime.push(s),i.periodLongTermVal=!1}else i.isReadFailVisible=!0,i.readTime=5,clearInterval(i.TIMER),i.TIMER=setInterval((function(){i.readTime&&0<i.readTime<=5?i.readTime--:(i.readTime=0,i.isReadFailVisible=!1)}),1e3)}))}},uploadIdcardPositive:function(e){var i=this;this.getBase64(e.file).then((function(e){var t=e.split(",");i.Base64img=t[1];var a={img_data:i.Base64img};Object(s["m"])(a).then((function(e){1==e.code?(i.idcardImgFileList.push({url:e.data.image_url}),i.$message({type:"success",message:"上传成功"}),i.$refs.mainForm.clearValidate("idcard_front"),i.readIdcardPositive(i.idcardImgFileList)):i.$message({type:"error",message:e.message?e.message:"上传失败"})}))}))},readIdcardPositive:function(e){var i=this;if(Array.isArray(e)&&e[0].url){var t={img:e[0].url};Object(s["f"])(t).then((function(e){if(1==e.code){if(e.data.words_result)try{i.mainForm.real_name=e.data.words_result["姓名"].words?e.data.words_result["姓名"].words:"",i.mainForm.idcard_number=e.data.words_result["公民身份号码"].words?e.data.words_result["公民身份号码"].words:""}catch(t){i.isReadFailVisible=!0,i.readTime=5,clearInterval(i.TIMER),i.TIMER=setInterval((function(){i.readTime&&0<i.readTime<=5?i.readTime--:(i.readTime=0,i.isReadFailVisible=!1)}),1e3)}}else i.isReadFailVisible=!0,i.readTime=5,clearInterval(i.TIMER),i.TIMER=setInterval((function(){i.readTime&&0<i.readTime<=5?i.readTime--:(i.readTime=0,i.isReadFailVisible=!1)}),1e3)}))}},handlePictureCardPreview2:function(e){this.dialogImageUrl2=e.url,this.dialogVisible2=!0},handleRemove2:function(e,i){for(var t=0;t<this.idcardImgFileList.length;t++)e.uid===this.idcardImgFileList[t].uid&&this.idcardImgFileList.splice(t,1)},uploadIdcardBack:function(e){var i=this;this.getBase64(e.file).then((function(e){var t=e.split(",");i.Base64img=t[1];var a={img_data:i.Base64img};Object(s["m"])(a).then((function(e){1==e.code?(i.idcardBackImgFileList.push({url:e.data.image_url}),i.$message({type:"success",message:"上传成功"}),i.$refs.mainForm.clearValidate("idcard_back"),i.readIdcardBack(i.idcardBackImgFileList)):i.$message({type:"error",message:e.message?e.message:"上传失败"})}))}))},readIdcardBack:function(e){var i=this;if(Array.isArray(e)&&e[0].url){var t={img:e[0].url};Object(s["f"])(t).then((function(e){if(1==e.code)if(e.data.words_result["签发日期"]&&e.data.words_result["失效日期"]){var t=e.data.words_result["签发日期"].words,a=e.data.words_result["失效日期"].words;if("长期"==a)i.validityConcreteTime=[],i.validityLongTermVal=!0;else{var r=/^(\d{4})(\d{2})(\d{2})$/,s=t.replace(r,"$1-$2-$3"),n=a.replace(r,"$1-$2-$3");i.validityConcreteTime=[],i.validityConcreteTime.push(s),i.validityConcreteTime.push(n),i.validityLongTermVal=!1}}else i.isReadFailVisible=!0,i.readTime=5,clearInterval(i.TIMER),i.TIMER=setInterval((function(){i.readTime&&0<i.readTime<=5?i.readTime--:(i.readTime=0,i.isReadFailVisible=!1)}),1e3);else i.isReadFailVisible=!0,i.readTime=5,clearInterval(i.TIMER),i.TIMER=setInterval((function(){i.readTime&&0<i.readTime<=5?i.readTime--:(i.readTime=0,i.isReadFailVisible=!1)}),1e3)}))}},handleBackPictureCardPreview2:function(e){this.dialogBackImageUrl2=e.url,this.dialogBackVisible2=!0},handleBackRemove2:function(e){for(var i=0;i<this.idcardBackImgFileList.length;i++)e.uid===this.idcardBackImgFileList[i].uid&&this.idcardBackImgFileList.splice(i,1)},getMain:function(){var e=this;Object(s["i"])().then((function(i){if(1==i.code){e.resetForm("mainForm"),e.mainForm=i.data;var t=[],a={};t=e.mainForm.license.split(","),t.length>0?t.forEach((function(i){a={},i&&(a.url=i,e.licenseImgFileList.push(a))})):e.licenseImgFileList=[];var r=[],s={};r=e.mainForm.idcard_front.split(","),r.length>0?r.forEach((function(i){s={},i&&(s.url=i,e.idcardImgFileList.push(s))})):e.idcardImgFileList=[];var n=[],l={};if(n=e.mainForm.idcard_back.split(","),n.length>0?n.forEach((function(i){l={},i&&(l.url=i,e.idcardBackImgFileList.push(l))})):e.idcardBackImgFileList=[],0==e.mainForm.license_expires_time)e.periodLongTermVal=!0,e.periodConcreteTime=[];else if(e.mainForm.license_expires_time>0){e.periodLongTermVal=!1,e.periodConcreteTime=[];var o=e.formatterTime(e.mainForm.license_start_time),d=e.formatterTime(e.mainForm.license_expires_time);e.periodConcreteTime.push(o),e.periodConcreteTime.push(d)}if(0==e.mainForm.idcard_expires_time)e.validityLongTermVal=!0,e.validityConcreteTime=[];else if(e.mainForm.idcard_expires_time>0){e.validityLongTermVal=!1,e.validityConcreteTime=[];var c=e.formatterTime(e.mainForm.idcard_start_time),m=e.formatterTime(e.mainForm.idcard_expires_time);e.validityConcreteTime.push(c),e.validityConcreteTime.push(m)}}else e.$message({type:"error",message:i.message?i.message:"获取主体信息失败"})}))},resetForm:function(e){this.periodConcreteTime=[],this.validityConcreteTime=[],this.$refs[e].resetFields()},getBase64:function(e){return new Promise((function(i,t){var a=new FileReader,r="";a.readAsDataURL(e),a.onload=function(){r=a.result},a.onerror=function(e){t(e)},a.onloadend=function(){i(r)}}))},formatterTime:function(e){return Object(n["c"])(1e3*e,"Y-m-d")},showTip2:function(){this.$message({message:"最多上传2张图片",type:"warning"})},showTip:function(){this.$message({message:"最多上传1张图片",type:"warning"})},back:function(){this.$router.push("/agreement")},next:function(e){var i=this;if(this.periodLongTermVal?(this.mainForm.license_expires_time=0,this.mainForm.license_start_time=0):Array.isArray(this.periodConcreteTime)&&2==this.periodConcreteTime.length&&(this.mainForm.license_start_time=new Date(this.periodConcreteTime[0]).getTime()/1e3,this.mainForm.license_expires_time=new Date(this.periodConcreteTime[1]).getTime()/1e3),this.validityLongTermVal?(this.mainForm.idcard_expires_time=0,this.mainForm.idcard_start_time=0):Array.isArray(this.validityConcreteTime)&&2==this.validityConcreteTime.length&&(this.mainForm.idcard_start_time=new Date(this.validityConcreteTime[0]).getTime()/1e3,this.mainForm.idcard_expires_time=new Date(this.validityConcreteTime[1]).getTime()/1e3),this.licenseImgFileList.length>0)for(var t=0;t<this.licenseImgFileList.length;t++)0===t?this.mainForm.license=this.licenseImgFileList[t].url:this.mainForm.license+=","+this.licenseImgFileList[t].url;if(this.idcardImgFileList.length>0)for(var a=0;a<this.idcardImgFileList.length;a++)0===a?this.mainForm.idcard_front=this.idcardImgFileList[a].url:this.mainForm.idcard_front+=","+this.idcardImgFileList[a].url;if(this.idcardBackImgFileList.length>0)for(var r=0;r<this.idcardBackImgFileList.length;r++)0===r?this.mainForm.idcard_back=this.idcardBackImgFileList[r].url:this.mainForm.idcard_back+=","+this.idcardBackImgFileList[r].url;this.$refs[e].validate((function(e){e&&Object(s["b"])(i.mainForm).then((function(e){1==e.code?i.$router.push("/fillShopInf"):i.$message({type:"error",message:e.message?e.message:"保存失败"})}))}))}}},o=l,d=(t("6291"),t("cba8")),c=Object(d["a"])(o,a,r,!1,null,"5118f63e",null);i["default"]=c.exports},6291:function(e,i,t){"use strict";t("c314")},"6b1f":function(e,i,t){"use strict";t.d(i,"g",(function(){return r})),t.d(i,"i",(function(){return s})),t.d(i,"b",(function(){return n})),t.d(i,"d",(function(){return l})),t.d(i,"a",(function(){return o})),t.d(i,"l",(function(){return d})),t.d(i,"j",(function(){return c})),t.d(i,"c",(function(){return m})),t.d(i,"m",(function(){return u})),t.d(i,"e",(function(){return g})),t.d(i,"h",(function(){return p})),t.d(i,"f",(function(){return h})),t.d(i,"k",(function(){return f}));var a=t("b775");function r(e){return Object(a["a"])({url:"/system/index/getInfo",method:"get",params:e})}function s(e){return Object(a["a"])({url:"/local/getOrganization",method:"get",params:e})}function n(e){return Object(a["a"])({url:"/local/organization",method:"post",data:e})}function l(e){return Object(a["a"])({url:"/local/shopbrand",method:"get",params:e})}function o(e){return Object(a["a"])({url:"/local/brands",method:"post",data:e})}function d(e){return Object(a["a"])({url:"/local/upbrands",method:"post",data:e})}function c(e){return Object(a["a"])({url:"/local/getShopInfo",method:"get",params:e})}function m(e){return Object(a["a"])({url:"/local/addShopInfo",method:"post",data:e})}function u(e){return Object(a["a"])({url:"/system/goodsNew/uploadImage",method:"post",data:e})}function g(e){return Object(a["a"])({url:"/local/cate",method:"get",params:e})}function p(e){return Object(a["a"])({url:"/local/check/businessLicense",method:"get",params:e})}function h(e){return Object(a["a"])({url:"/local/check/idCard",method:"get",params:e})}function f(e){return Object(a["a"])({url:"/local/qualification/list",method:"get",params:e})}},c314:function(e,i,t){}}]);
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-5168c511"],{"47af":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6/NlyAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyNpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDYuMC1jMDAyIDc5LjE2NDQ4OCwgMjAyMC8wNy8xMC0yMjowNjo1MyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0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yr1xvWM9Kj+x54GGOVUKFSw11+5QWTrdRPCfxzgK+CFGeNfNOFivz7qJyzbomOjrTTEsc3aUqvRWkvBYW2cy7aVxgq3TfOCxZJ0kZFjKtlOpro7cG9VYrcgRoq4q/tDCx2ZeNsEgjs5q/Y0x2PxOiTZm6DJnkAzqOzpgSnsmCo0uXsGK6OCuGZJfSWAf9+kh+0smUryFGZL9U6c093+or6CSeU9CvjgHZdayzs5460DlrKbFQjkLMYWzMR1ms0hv6QXvV2qdpW5nuTVPRtlFNvPFzwN26euVyXlrW9MvADcr/iENPirSmyth80J55JifiJfWcwMrm914g2sS8/WqGz65cvhzmqRZnM13KuYkquoc8HJEc/WO2e9abdj7CPNUicU6OLP3MmB31YzyvqPRjPC1hBiuw+GSa+0EtqY3HquAHtfwkrx/U8mvZ5OWjeP8LMAADdln6uCsMhAAAAABJRU5ErkJggg=="},"4c4e":function(t,e,n){"use strict";n("51cb")},"51cb":function(t,e,n){},"6b1f":function(t,e,n){"use strict";n.d(e,"g",(function(){return c})),n.d(e,"i",(function(){return r})),n.d(e,"b",(function(){return u})),n.d(e,"d",(function(){return s})),n.d(e,"a",(function(){return i})),n.d(e,"l",(function(){return o})),n.d(e,"j",(function(){return l})),n.d(e,"c",(function(){return d})),n.d(e,"m",(function(){return m})),n.d(e,"e",(function(){return p})),n.d(e,"h",(function(){return h})),n.d(e,"f",(function(){return b})),n.d(e,"k",(function(){return A}));var a=n("b775");function c(t){return Object(a["a"])({url:"/system/index/getInfo",method:"get",params:t})}function r(t){return Object(a["a"])({url:"/local/getOrganization",method:"get",params:t})}function u(t){return Object(a["a"])({url:"/local/organization",method:"post",data:t})}function s(t){return Object(a["a"])({url:"/local/shopbrand",method:"get",params:t})}function i(t){return Object(a["a"])({url:"/local/brands",method:"post",data:t})}function o(t){return Object(a["a"])({url:"/local/upbrands",method:"post",data:t})}function l(t){return Object(a["a"])({url:"/local/getShopInfo",method:"get",params:t})}function d(t){return Object(a["a"])({url:"/local/addShopInfo",method:"post",data:t})}function m(t){return Object(a["a"])({url:"/system/goodsNew/uploadImage",method:"post",data:t})}function p(t){return Object(a["a"])({url:"/local/cate",method:"get",params:t})}function h(t){return Object(a["a"])({url:"/local/check/businessLicense",method:"get",params:t})}function b(t){return Object(a["a"])({url:"/local/check/idCard",method:"get",params:t})}function A(t){return Object(a["a"])({url:"/local/qualification/list",method:"get",params:t})}},"83f1":function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"to-review"},[a("div",{staticClass:"logo-bg"},[t._e()]),t._v(" "),a("el-card",{staticClass:"box-card"},[a("div",{staticClass:"clearfix steps",attrs:{slot:"header"},slot:"header"},[a("el-steps",{attrs:{active:3,"align-center":"","finish-status":"success","process-status":"error"}},[a("el-step",{attrs:{title:"注册账号"}}),t._v(" "),a("el-step",{attrs:{title:"填写主体信息"}}),t._v(" "),a("el-step",{attrs:{title:"填写店铺信息"}}),t._v(" "),a("el-step",{attrs:{title:"提交入驻审核"}})],1)],1),t._v(" "),a("div",{staticClass:"main"},[a("div",{staticClass:"main-con"},[a("p",[a("img",{attrs:{src:n("47af"),alt:""}})]),t._v(" "),a("p",[t._v("非常抱歉,您的资料审核不通过!")]),t._v(" "),a("p",[t._v("不通过原因:"+t._s(t.msg)+"!请您重新提交认证资料!")]),t._v(" "),a("p",[t._v("如果您有其它的问题,可以拔打我们的服务电话与我们联系")]),t._v(" "),a("p",{staticStyle:{"padding-top":"40px"}},[a("el-button",{attrs:{type:"primary"},on:{click:t.reSubmit}},[t._v("重新提交")])],1)])])])],1)},c=[],r=n("6b1f"),u={name:"ReviewFail",data:function(){return{msg:"具体原因,请联系售后"}},created:function(){var t=this;this.$route.params.msg&&(this.msg=this.$route.params.msg),Object(r["g"])().then((function(e){1==e.code&&e.data.user&&(1==e.data.user.state&&t.$router.push({path:"/home/index"}),2==e.data.user.state&&t.$router.push({path:"/reviewing"}),3==e.data.user.state&&(t.$router.push({path:"/reviewFail"}),Object(r["j"])().then((function(e){1==e.code&&""!=e.data.Apply.content&&(t.msg=e.data.Apply.content)}))))}))},mounted:function(){history.pushState(null,null,document.URL),window.addEventListener("popstate",(function(){history.pushState(null,null,document.URL)}))},methods:{reSubmit:function(){this.$router.push({path:"/process"})}}},s=u,i=(n("4c4e"),n("2877")),o=Object(i["a"])(s,a,c,!1,null,"7cad85af",null);e["default"]=o.exports}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-542b2550"],{"47af":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6/NlyAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyNpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDYuMC1jMDAyIDc5LjE2NDQ4OCwgMjAyMC8wNy8xMC0yMjowNjo1MyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIDIyLjAgKFdpbmRvd3MpIiB4bXBNTTpJbnN0YW5jZUl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sc3aUqvRWkvBYW2cy7aVxgq3TfOCxZJ0kZFjKtlOpro7cG9VYrcgRoq4q/tDCx2ZeNsEgjs5q/Y0x2PxOiTZm6DJnkAzqOzpgSnsmCo0uXsGK6OCuGZJfSWAf9+kh+0smUryFGZL9U6c093+or6CSeU9CvjgHZdayzs5460DlrKbFQjkLMYWzMR1ms0hv6QXvV2qdpW5nuTVPRtlFNvPFzwN26euVyXlrW9MvADcr/iENPirSmyth80J55JifiJfWcwMrm914g2sS8/WqGz65cvhzmqRZnM13KuYkquoc8HJEc/WO2e9abdj7CPNUicU6OLP3MmB31YzyvqPRjPC1hBiuw+GSa+0EtqY3HquAHtfwkrx/U8mvZ5OWjeP8LMAADdln6uCsMhAAAAABJRU5ErkJggg=="},"4c4e":function(t,e,n){"use strict";n("ae6f")},"6b1f":function(t,e,n){"use strict";n.d(e,"g",(function(){return r})),n.d(e,"i",(function(){return c})),n.d(e,"b",(function(){return u})),n.d(e,"d",(function(){return s})),n.d(e,"a",(function(){return i})),n.d(e,"l",(function(){return o})),n.d(e,"j",(function(){return l})),n.d(e,"c",(function(){return d})),n.d(e,"m",(function(){return m})),n.d(e,"e",(function(){return p})),n.d(e,"h",(function(){return h})),n.d(e,"f",(function(){return b})),n.d(e,"k",(function(){return A}));var a=n("b775");function r(t){return Object(a["a"])({url:"/system/index/getInfo",method:"get",params:t})}function c(t){return Object(a["a"])({url:"/local/getOrganization",method:"get",params:t})}function u(t){return Object(a["a"])({url:"/local/organization",method:"post",data:t})}function s(t){return Object(a["a"])({url:"/local/shopbrand",method:"get",params:t})}function i(t){return Object(a["a"])({url:"/local/brands",method:"post",data:t})}function o(t){return Object(a["a"])({url:"/local/upbrands",method:"post",data:t})}function l(t){return Object(a["a"])({url:"/local/getShopInfo",method:"get",params:t})}function d(t){return Object(a["a"])({url:"/local/addShopInfo",method:"post",data:t})}function m(t){return Object(a["a"])({url:"/system/goodsNew/uploadImage",method:"post",data:t})}function p(t){return Object(a["a"])({url:"/local/cate",method:"get",params:t})}function h(t){return Object(a["a"])({url:"/local/check/businessLicense",method:"get",params:t})}function b(t){return Object(a["a"])({url:"/local/check/idCard",method:"get",params:t})}function A(t){return Object(a["a"])({url:"/local/qualification/list",method:"get",params:t})}},"83f1":function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"to-review"},[a("div",{staticClass:"logo-bg"},[t._e()]),t._v(" "),a("el-card",{staticClass:"box-card"},[a("div",{staticClass:"clearfix steps",attrs:{slot:"header"},slot:"header"},[a("el-steps",{attrs:{active:3,"align-center":"","finish-status":"success","process-status":"error"}},[a("el-step",{attrs:{title:"注册账号"}}),t._v(" "),a("el-step",{attrs:{title:"填写主体信息"}}),t._v(" "),a("el-step",{attrs:{title:"填写店铺信息"}}),t._v(" "),a("el-step",{attrs:{title:"提交入驻审核"}})],1)],1),t._v(" "),a("div",{staticClass:"main"},[a("div",{staticClass:"main-con"},[a("p",[a("img",{attrs:{src:n("47af"),alt:""}})]),t._v(" "),a("p",[t._v("非常抱歉,您的资料审核不通过!")]),t._v(" "),a("p",[t._v("不通过原因:"+t._s(t.msg)+"!请您重新提交认证资料!")]),t._v(" "),a("p",[t._v("如果您有其它的问题,可以拔打我们的服务电话与我们联系")]),t._v(" "),a("p",{staticStyle:{"padding-top":"40px"}},[a("el-button",{attrs:{type:"primary"},on:{click:t.reSubmit}},[t._v("重新提交")])],1)])])])],1)},r=[],c=n("6b1f"),u={name:"ReviewFail",data:function(){return{msg:"具体原因,请联系售后"}},created:function(){var t=this;this.$route.params.msg&&(this.msg=this.$route.params.msg),Object(c["g"])().then((function(e){1==e.code&&e.data.user&&(1==e.data.user.state&&t.$router.push({path:"/home/index"}),2==e.data.user.state&&t.$router.push({path:"/reviewing"}),3==e.data.user.state&&(t.$router.push({path:"/reviewFail"}),Object(c["j"])().then((function(e){1==e.code&&""!=e.data.Apply.content&&(t.msg=e.data.Apply.content)}))))}))},mounted:function(){history.pushState(null,null,document.URL),window.addEventListener("popstate",(function(){history.pushState(null,null,document.URL)}))},methods:{reSubmit:function(){this.$router.push({path:"/process"})}}},s=u,i=(n("4c4e"),n("cba8")),o=Object(i["a"])(s,a,r,!1,null,"7cad85af",null);e["default"]=o.exports},ae6f:function(t,e,n){}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-57872cf8"],{c707:function(t,e,c){},cc6c:function(t,e,c){t.exports=c.p+"static/img/401.089007e7.gif"},ec55:function(t,e,c){"use strict";c.r(e);var n=function(){var t=this,e=t.$createElement,c=t._self._c||e;return c("div",{staticClass:"errPage-container"},[c("el-button",{staticClass:"pan-back-btn",attrs:{icon:"arrow-left"},on:{click:t.back}},[t._v("\n 返回\n ")]),t._v(" "),c("el-row",[c("el-col",{attrs:{span:12}},[c("h1",{staticClass:"text-jumbo text-ginormous"},[t._v("\n 401错误!\n ")]),t._v(" "),c("h2",[t._v("您没有访问权限!")]),t._v(" "),c("h6",[t._v("对不起,您没有访问权限,请不要进行非法操作!您可以返回主页面")]),t._v(" "),c("ul",{staticClass:"list-unstyled"},[c("li",{staticClass:"link-type"},[c("router-link",{attrs:{to:"/"}},[t._v("\n 回首页\n ")])],1)])]),t._v(" "),c("el-col",{attrs:{span:12}},[c("img",{attrs:{src:t.errGif,width:"313",height:"428",alt:"Girl has dropped her ice cream."}})])],1)],1)},a=[],s=c("cc6c"),r=c.n(s),i={name:"Page401",data:function(){return{errGif:r.a+"?"+ +new Date}},methods:{back:function(){this.$route.query.noGoBack?this.$router.push({path:"/"}):this.$router.go(-1)}}},o=i,l=(c("ecf6"),c("cba8")),u=Object(l["a"])(o,n,a,!1,null,"f2e02586",null);e["default"]=u.exports},ecf6:function(t,e,c){"use strict";c("c707")}}]);
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-5b4b2fda"],{"0cba":function(t,e,n){},"6b1f":function(t,e,n){"use strict";n.d(e,"g",(function(){return c})),n.d(e,"i",(function(){return u})),n.d(e,"b",(function(){return r})),n.d(e,"d",(function(){return i})),n.d(e,"a",(function(){return o})),n.d(e,"l",(function(){return l})),n.d(e,"j",(function(){return s})),n.d(e,"c",(function(){return d})),n.d(e,"m",(function(){return b})),n.d(e,"e",(function(){return h})),n.d(e,"h",(function(){return m})),n.d(e,"f",(function(){return A})),n.d(e,"k",(function(){return f}));var a=n("b775");function c(t){return Object(a["a"])({url:"/system/index/getInfo",method:"get",params:t})}function u(t){return Object(a["a"])({url:"/local/getOrganization",method:"get",params:t})}function r(t){return Object(a["a"])({url:"/local/organization",method:"post",data:t})}function i(t){return Object(a["a"])({url:"/local/shopbrand",method:"get",params:t})}function o(t){return Object(a["a"])({url:"/local/brands",method:"post",data:t})}function l(t){return Object(a["a"])({url:"/local/upbrands",method:"post",data:t})}function s(t){return Object(a["a"])({url:"/local/getShopInfo",method:"get",params:t})}function d(t){return Object(a["a"])({url:"/local/addShopInfo",method:"post",data:t})}function b(t){return Object(a["a"])({url:"/system/goodsNew/uploadImage",method:"post",data:t})}function h(t){return Object(a["a"])({url:"/local/cate",method:"get",params:t})}function m(t){return Object(a["a"])({url:"/local/check/businessLicense",method:"get",params:t})}function A(t){return Object(a["a"])({url:"/local/check/idCard",method:"get",params:t})}function f(t){return Object(a["a"])({url:"/local/qualification/list",method:"get",params:t})}},"753d":function(t,e,n){"use strict";n("0cba")},e4dd:function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"to-review"},[a("div",{staticClass:"logo-bg"},[t._e()]),t._v(" "),a("el-card",{staticClass:"box-card"},[a("div",{staticClass:"clearfix steps",attrs:{slot:"header"},slot:"header"},[a("el-steps",{attrs:{active:3,"align-center":"","finish-status":"success"}},[a("el-step",{attrs:{title:"注册账号"}}),t._v(" "),a("el-step",{attrs:{title:"填写主体信息"}}),t._v(" "),a("el-step",{attrs:{title:"填写店铺信息"}}),t._v(" "),a("el-step",{attrs:{title:"提交入驻审核"}})],1)],1),t._v(" "),a("div",{staticClass:"main"},[a("div",{staticClass:"fuck"},[a("p",[a("img",{attrs:{src:n("e9f2"),alt:""}})]),t._v(" "),a("p",[t._v("资料已提交,工作人员审核中。。。")]),t._v(" "),a("p",{staticStyle:{"margin-top":"10px"}},[t._v("感谢您使用云仓!")]),t._v(" "),a("p",[t._v("您的资料已经提交审核,审核周期为1-3个工作日,请您耐心等待审核结果。")]),t._v(" "),a("p",[t._v("如果您有其它的问题,可以拔打我们的服务电话与我们联系!")])])])])],1)},c=[],u=n("6b1f"),r={name:"ReviewSuccess",data:function(){return{}},created:function(){var t=this;Object(u["g"])().then((function(e){1==e.code&&e.data.user&&(1==e.data.user.state&&t.$router.push({path:"/home/index"}),2==e.data.user.state&&t.$router.push({path:"/reviewing"}),3==e.data.user.state&&t.$router.push({path:"/reviewFail"}))}))},mounted:function(){history.pushState(null,null,document.URL),window.addEventListener("popstate",(function(){history.pushState(null,null,document.URL)}))}},i=r,o=(n("753d"),n("cba8")),l=Object(o["a"])(i,a,c,!1,null,"bbf9fafa",null);e["default"]=l.exports},e9f2:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6/NlyAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyNpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDYuMC1jMDAyIDc5LjE2NDQ4OCwgMjAyMC8wNy8xMC0yMjowNjo1MyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnM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0U+DXRXm0MRckMk6ig9oPDcdVOVOaX/hAJyrqJoiN6Wj8lwqsZHMfbNkyqFfHV/zBokRFGOjVsBPYlITJLD8fy9nawE/C/AVaFwGyxnedExEFjSwJsdqHdi+IkpaPMZprQ+AKGC/0KJsvBhSrDxtg2ymp8S4Gq+FwOOjko4vJXnQ5miljJ1W9RmlfAObjj3uZl1uFjMEzEJq9/9MEoLWahZVU5XGFxJa/TLBR708q9ITz+HfFYObGqVBwGz4OhnM15epVH1YtazTz+EYF+UUvHm2l0X6/hvwP3Kt5NAQYA/pvkv1BL/nsAAAAASUVORK5CYII="}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-5be5b3e2"],{5189:function(t,e,n){},"92fc":function(t,e,n){t.exports=n.p+"static/img/4.3f411af6.png"},a570:function(t,e,n){"use strict";n.r(e);var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"entryDetails"},[n("div",{staticClass:"logo-bg"},[t.settitle&&t.settitle.topLogo?n("img",{attrs:{src:t.settitle.topLogo,alt:""}}):t._e()]),t._v(" "),t._m(0),t._v(" "),n("div",{staticClass:"confirm-btn"},[n("p",[n("el-button",{staticStyle:{padding:"8px 30px"},attrs:{type:"primary",round:""},on:{click:t.nextStep}},[t._v("\n 立即入驻  "),n("i",{staticClass:"el-icon-right"})])],1)])])},s=[function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"main-con"},[i("img",{attrs:{src:n("92fc"),alt:""}})])}],a=n("5302"),c={name:"Index",data:function(){return{channel_id:0,settitle:{bottomCopyright:"",businessHours:1,companyAddress:"",contactTel:"",custServiceQrcode:"",hotlineTel1:"",hotlineTel2:"",onlineTimeEnd:"18:00",onlineTimeStart:"09:00",recordNum:"",topLogo:""}}},created:function(){},mounted:function(){},methods:{getIndexInfo:function(){var t=this,e=window.location.host,n={domain:e};Object(a["e"])(n).then((function(e){1==e.code&&(t.channel_id=e.data.channel_id,t.getWebSite())}))},getWebSite:function(){var t=this,e={channel_ids:this.channel_id};Object(a["f"])(e).then((function(e){1==e.code&&e.data.universal_lst&&"null"!=e.data.universal_lst&&(t.settitle=e.data.universal_lst)}))},nextStep:function(){this.$router.push("/fillMainInf")}}},o=c,l=(n("e3dc"),n("2877")),r=Object(l["a"])(o,i,s,!1,null,"4f064fe3",null);e["default"]=r.exports},e3dc:function(t,e,n){"use strict";n("5189")}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-5f18f729"],{"85ee":function(v,_,t){v.exports=t.p+"static/img/logo_white_sm.9191b2e1.png"},a026:function(v,_,t){"use strict";t("d8f2")},a291:function(v,_,t){"use strict";t.r(_);var n=function(){var v=this,_=v.$createElement,t=v._self._c||_;return t("div",{staticClass:"entry"},[v._m(0),v._v(" "),t("el-card",{staticClass:"box-card"},[t("div",{staticClass:"clearfix steps",attrs:{slot:"header"},slot:"header"},[t("el-steps",{attrs:{active:0,"align-center":"","finish-status":"success"}},[t("el-step",{attrs:{title:"填写主体信息"}}),v._v(" "),t("el-step",{attrs:{title:"填写品牌信息"}}),v._v(" "),t("el-step",{attrs:{title:"填写店铺信息"}}),v._v(" "),t("el-step",{attrs:{title:"提交入驻审核"}})],1)],1),v._v(" "),t("div",{staticClass:"entry-main"},[t("div",{staticClass:"main-text"},[t("h2",[v._v("胜天半子供应链商家入驻协议书")]),v._v(" "),t("p",[v._v("\n 甲方:北京胜天半子科技有限公司(以下简称“甲方或者平台”)"),t("br")]),v._v(" "),t("p",[v._v("乙方:(以下简称“乙方”)")]),v._v(" "),t("p",[v._v("\n 甲乙双方本着互惠互利的双赢策略,根据甲方商城入驻条件,乙方申请入驻甲方商城,并完全接受甲方的规范,本着自愿、平等、公正原则,甲乙双方在协商一致的基础上达成如下协议:\n ")]),v._v(" "),t("p",[v._v("\n 乙方可在平台上进行商铺发布及管理、推广商品、达成交易意向。\n ")]),v._v(" "),t("h4",[v._v("一、入驻商家基本条件")]),v._v(" "),t("p",[v._v("\n 1、有良好的合作意愿,能提供优质的商品,保证合作的顺利进行,并保证提供良好的售后服务;\n ")]),v._v(" "),t("p",[v._v("\n 2、 乙方申请成为平台入驻商家,应该满足以下条件:\n (1) 乙方已依照中华人民共和国法律注册并领取合法有效的营业执照及其他经营许可;\n (2) 乙方申请经营的商品或服务合法,资质齐全;\n (3)乙方同意本协议及平台相关规则并同意缴纳平台履约保证金1万-5万具体见附件\n "),t("a",{staticClass:"download-Template-btn",attrs:{target:"_blank",href:v.downTemplatehttp}},[v._v("《平台类目费率收取标准》")]),v._v("\n 。 (4) 乙方须保证所提交予乙方的所有材料真实、准确、合法、有效。如相关材料有变更或更新时应及时通知甲方,若导致乙方不符合本协议所规定入驻条件的,甲方有权单方全部或部分限制乙方经营,直至终止本协议。\n ")]),v._v(" "),t("p",[v._v("\n 3、乙方应在签订本协议时向甲方提供(经甲方认可的)包括但不限于以下证明材料复印件:\n (1)营业执照(包括个体户营业执照)、税务登记证;\n (2)拥有注册商标或者拥有正规的品牌授权书。\n (3)商品质检报告、报关单、检验检疫证书、产品来源地证明等。\n ")]),v._v(" "),t("p",[v._v("\n 4、乙方支持并同意所入驻商品满足甲方一件代发的条件。\n ")]),v._v(" "),t("p",[v._v("\n 5、平台相关费用及货款结算周期:\n (1)平台服务费:按照乙方确定的平台供货价根据商品不同类目收取1%-10%平台服务费,具体类目收费标准见附件《平台类目费率收取标准》。\n (2) 货款结算手续费:按照实际结算货款收取0.1%。\n (3) 货款结算周期:自乙方发货后15天。\n (4)如出现因快递物流等因素而造成的商品问题,则以快递物流赔偿协议界定责任人。\n ")]),v._v(" "),t("h4",[v._v("二、平台入驻开通流程")]),v._v(" "),t("p",[v._v("1、乙方注册甲方平台账号;")]),v._v(" "),t("p",[v._v("2、乙方阅读并在线签署平台入驻协议;")]),v._v(" "),t("p",[v._v("3、乙方填写上传公司相关资质和产品资质并经甲方审核确认")]),v._v(" "),t("p",[v._v("4、甲方审核通过后,乙方即可上传商品信息及确定价格体系;")]),v._v(" "),t("p",[v._v("5、甲方审核通过即上线运营;")]),v._v(" "),t("h4",[v._v("三、乙方的声明和保证")]),v._v(" "),t("p",[v._v("1、乙方须在接到订单之后的48小时内及时发货。乙方应自行解决因商品质量及运输等问题引起的客户投诉及索赔事件,并承担由此产生的经济损失和涉及的其他一切法律后果。")]),v._v(" "),t("p",[v._v("2、为方便乙方线上产品的销售,乙方需自行向甲方提供品牌线上销售产品的相关图片、文字描述、必要的商品技术说明、产品培训等信息资料,该资料乙方应当保证真实、准确、有效,且根据甲方需求准备其他的相应电子或者纸质资料。")]),v._v(" "),t("p",[v._v("3、乙方所供商品须为具备市场价格优势的来源于正规渠道的原装正品,同时具备相应资质、质检、原产地等合法证明材料。若在销售中出现商品质量、伪劣、次货等问题损害消费者权益,乙方承诺假一赔十,因产品质量问题产生的一切法律责任由乙方自行承担。")]),v._v(" "),t("p",[v._v("4、乙方在接到甲方或甲方客户提出的售后服务申请后,乙方应在4小时内予以回应,并在24小时内解决。")]),v._v(" "),t("p",[v._v("5、所有商品如无质量问题,可7天无理由退换货,商品如存在质量问题,可以协商退换货或者退款处理,并由乙方承担相关物流费用。")]),v._v(" "),t("p",[v._v("6、保证向甲方提供真实、合法、准确、有效的注册资料,并保证其诸如电子邮件地址、联系电话、联系地址、邮政编码等内容的有效性及安全性,保证甲方及其他用户可以通过上述联系方式与自己进行联系。同时,乙方也有义务在相关资料实际变更时及时更新有关注册资料。")]),v._v(" "),t("p",[v._v("7、所有商品保证合法渠道原厂正品,保障商品质量、承诺售后服务,必须提供销售发票。")]),v._v(" "),t("p",[v._v("8、乙方确保给甲方供货价为全球最低价,零售价不得高于京东或天猫在线销售价。")]),v._v(" "),t("h4",[v._v("四、双方权利义务")]),v._v(" "),t("h5",[v._v("1、甲方权利义务: ")]),v._v(" "),t("p",[v._v("(1)甲方根据本协议向乙方提供电子商务平台及相应技术支持服务,尽力维护平台的正常稳定运行,并努力提升和改进技术,对平台功能及服务进行更新、升级,不断提升平台性能和合作效率。")]),v._v(" "),t("p",[v._v("(2)在本协议有效期限内,甲方有权根据国家相关法律法规、政策及平台运营情况,对公示于平台的规则、流程、收费标准、乙方入驻条件等进行更新、调整。")]),v._v(" "),t("p",[v._v("(3)甲方方按照合同约定及时结算货款并主动续约合同有效期。")]),v._v(" "),t("p",[v._v("(4)如乙方在48小时内未发货,甲方有权利从乙方保证金或账户余额中扣除该订单金额10%的违约金。")]),v._v(" "),t("h5",[v._v("2、乙方权利义务: ")]),v._v(" "),t("p",[v._v("(1)乙方妥善保管商铺管理员账号,如因乙方保管、设置或使用不当造成的经济损失,由乙方自行承担责任。")]),v._v(" "),t("p",[v._v("(2)乙方在使用过程中如发现任何非法盗用乙方账号出现安全漏洞等情况,应立即通知甲方。")]),v._v(" "),t("p",[v._v("(3)乙方负责所售商品的快递物流、清关、发货、售后等服务,如在售后服务中跟客户出现沟通问题,乙方可以咨询甲方,甲方根据实际情况给予技术上的帮助与协调。")]),v._v(" "),t("p",[v._v("(4)乙方保证其所经营销售的产品均为合法渠道的正品正货,并提供销售发票。")]),v._v(" "),t("p",[v._v("(5)乙方保证在平台发布的商品信息真实、准确,符合平台规则及国家相关法律法规的规定,与实际出售的商品一致,不含任何夸大或虚假内容,并对商品信息承担独立的完全的法律责任。")]),v._v(" "),t("p",[v._v("(6)乙方保证对在平台经营的商品或服务拥有合法销售权,商品质量合格,符合国家相关质量标准,不侵犯任何第三方的合法权利,并对其商品质量及商品合法性独立承担全部法律责任。 ")]),v._v(" "),t("p",[v._v("(7)在协议有效期内,乙方不得向与甲方构成商业竞争关系的企业、商业机构或者组织提供有关甲方相关信息或者资料,否则对甲方造成损失的,由乙方负责赔偿。")]),v._v(" "),t("h4",[v._v("五、协议期限")]),v._v(" "),t("p",[v._v("本协议有效期为一年,自在线签订之日起生效。有效期满后,双方可视合作情况在线续签。 ")]),v._v(" "),t("h4",[v._v("六,平台结算及发票")]),v._v(" "),t("p",[v._v("1、关于结算")]),v._v(" "),t("p",[v._v("甲方自发货日起15天后将该订单金额结算到乙方平台余额账户中,乙方可向平台申请货款结算提现。")]),v._v(" "),t("p",[v._v("2、关于发票")]),v._v(" "),t("p",[v._v("乙方在申请提现前需给甲方开具增值税发票,甲方方可给予打款,打款周期为收到发票后3-5个工作日。")]),v._v(" "),t("h4",[v._v("七、银行账户信息")]),v._v(" "),t("p",[v._v("甲乙双方结算以乙方提交的对公账户为准,该对公账户需与乙方所提交的公司资质信息一致。")]),v._v(" "),t("h4",[v._v("八、协议变更、终止及违约责任 ")]),v._v(" "),t("p",[v._v("1、甲乙双方应本着诚实信用的原则履行本协议。任何一方在履约过程中采用欺诈、胁迫或者暴力的手段,另一方均可以解除本协议并要求对方赔偿由此造成的损失。")]),v._v(" "),t("p",[v._v("2、在协议执行期间,如果双方或一方认为需要终止,应提前一个月通知对方,双方在财务结算完毕、各自责任明确履行之后,方可终止协议。某方擅自终止本协议,给对方造成损失的,应赔偿对方损失。")]),v._v(" "),t("p",[v._v("3、经双方协商达成一致,可以对本协议有关条款进行变更,但应当以书面形式确认。")]),v._v(" "),t("p",[v._v("4、一方变更通讯地址或其它联系方式,应自变更之日起十日内,将变更后的地址、联系方式通知另一方,否则变更方应对此造成的一切后果承担责任; ")]),v._v(" "),t("p",[v._v("5、如因客观情况发生重大变化,致使本协议无继续法履行的,经甲乙双方协商同意,可以变更或者终止协议的履行。")]),v._v(" "),t("h4",[v._v("九、保密条款")]),v._v(" "),t("p",[v._v("1、甲、乙双方所提供给对方的一切资料、技术和对项目的策划设计要严格保密,并只能在合作双方公司的业务范围内使用;")]),v._v(" "),t("p",[v._v("2、甲、乙双方均应对在合作过程中所知悉的对方的商业和技术秘密承担保密义务。保密条款不受本协议期限的限制。 ")]),v._v(" "),t("h4",[v._v("十 、其他约定")]),v._v(" "),t("p",[v._v("1、若发生争议,双方本着友好协商原则进行解决。如协商未果,任何一方均可依照法律规定向甲方所在地的人民法院提起诉讼。")]),v._v(" "),t("p",[v._v("2、本合同未尽事宜双方协议而定,可另行签订补充协议,与本协议同具法律效力。   ")]),v._v(" "),t("p",[v._v("3、以上条款请协议各方务必仔细阅读后在线签署,协议各方均不得以不了解协议条款或其他任何理由拒绝履行本协议。")]),v._v(" "),t("p",[v._v("4、本合同为在线线上签署,具备同等法律效力。")])])]),v._v(" "),t("div",{staticClass:"confirm-btn"},[t("p",[t("el-checkbox",{model:{value:v.isComfirm,callback:function(_){v.isComfirm=_},expression:"isComfirm"}},[v._v("我已仔细阅读并同意签署入驻协议")])],1),v._v(" "),t("p",[v._v("\n 入驻协议约定了双方的权利和义务,及其它的法律责任,请您认真阅读!\n ")]),v._v(" "),t("p",[t("el-button",{staticStyle:{padding:"8px 30px"},attrs:{type:"primary",disabled:!v.isComfirm},on:{click:v.nextStep}},[v._v("下一步")])],1)])])],1)},e=[function(){var v=this,_=v.$createElement,n=v._self._c||_;return n("div",{staticClass:"logo-bg"},[n("img",{attrs:{src:t("85ee"),alt:""}})])}],p={name:"IndexOne",data:function(){return{isComfirm:!1,downTemplatehttp:"http://img3.jxhh.com/shop/cate_price.pdf"}},mounted:function(){},methods:{nextStep:function(){this.isComfirm&&this.$router.push("/fillMainInf")}}},s=p,i=(t("a026"),t("2877")),a=Object(i["a"])(s,n,e,!1,null,"9edd0c7a",null);_["default"]=a.exports},d8f2:function(v,_,t){}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-612d55f9"],{6650:function(o,t,e){},dd7b:function(o,t,e){"use strict";e.r(t);e("7ded"),e("8c92"),e("509f");var n,i,c={name:"Login",data:function(){return{codeUrl:"",cookiePassword:"",gwToken:"",loginForm:{username:"demo",password:"123456",rememberMe:!1,code:"",uuid:""},loginRules:{},loading:!1,redirect:void 0}},watch:{$route:{handler:function(o){this.redirect=o.query&&o.query.redirect},immediate:!0}},created:function(){this.getssourl()},methods:{getssourl:function(){var o=this,t=window.location.host,e={domain:t};this.$store.dispatch("getssourl",e).then((function(t){1==t.code&&(o.ssourl=t.data.sso_url,o.tiaozuan())})).catch((function(){}))},tiaozuan:function(){if(console.log(this.gwToken),""==this.gwToken||null==this.gwToken){var o=window.location.host,t=document.location.protocol,e=this;setTimeout((function(){window.location.href=t+"//"+e.ssourl+"/login.html?redirect="+t+"//"+o+"/platformlogin"}),1e3)}}}},s=c,r=(e("eecc"),e("cba8")),u=Object(r["a"])(s,n,i,!1,null,null,null);t["default"]=u.exports},eecc:function(o,t,e){"use strict";e("6650")}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-6c237b40"],{"26fc":function(t,s,i){t.exports=i.p+"static/img/404_cloud.0f4bc32b.png"},2754:function(t,s,i){"use strict";i.r(s);var a=function(){var t=this,s=t.$createElement,i=t._self._c||s;return i("div",{staticClass:"wscn-http404-container"},[i("div",{staticClass:"wscn-http404"},[t._m(0),t._v(" "),i("div",{staticClass:"bullshit"},[i("div",{staticClass:"bullshit__oops"},[t._v("\n 404错误!\n ")]),t._v(" "),i("div",{staticClass:"bullshit__headline"},[t._v("\n "+t._s(t.message)+"\n ")]),t._v(" "),i("div",{staticClass:"bullshit__info"},[t._v("\n 对不起,您正在寻找的页面不存在。尝试检查URL的错误,然后按浏览器上的刷新按钮或尝试在我们的应用程序中找到其他内容。\n ")]),t._v(" "),i("router-link",{staticClass:"bullshit__return-home",attrs:{to:"/"}},[t._v("\n 返回首页\n ")])],1)])])},c=[function(){var t=this,s=t.$createElement,a=t._self._c||s;return a("div",{staticClass:"pic-404"},[a("img",{staticClass:"pic-404__parent",attrs:{src:i("a36b"),alt:"404"}}),t._v(" "),a("img",{staticClass:"pic-404__child left",attrs:{src:i("26fc"),alt:"404"}}),t._v(" "),a("img",{staticClass:"pic-404__child mid",attrs:{src:i("26fc"),alt:"404"}}),t._v(" "),a("img",{staticClass:"pic-404__child right",attrs:{src:i("26fc"),alt:"404"}})])}],n={name:"Page404",computed:{message:function(){return"找不到网页!"}}},l=n,e=(i("61b6"),i("2877")),_=Object(e["a"])(l,a,c,!1,null,"279ea4b2",null);s["default"]=_.exports},"61b6":function(t,s,i){"use strict";i("bf69")},a36b:function(t,s,i){t.exports=i.p+"static/img/404.a57b6f31.png"},bf69:function(t,s,i){}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-779f4447"],{"1e8b":function(e,t,s){"use strict";s.r(t);var r=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("el-form",{ref:"form",attrs:{model:e.user,rules:e.rules,"label-width":"80px"}},[s("el-form-item",{attrs:{label:"用户昵称",prop:"user_nickname"}},[s("el-input",{model:{value:e.user.user_nickname,callback:function(t){e.$set(e.user,"user_nickname",t)},expression:"user.user_nickname"}})],1),e._v(" "),s("el-form-item",{attrs:{label:"手机号码",prop:"mobile"}},[s("el-input",{attrs:{maxlength:"11"},model:{value:e.user.mobile,callback:function(t){e.$set(e.user,"mobile",t)},expression:"user.mobile"}})],1),e._v(" "),s("el-form-item",{attrs:{label:"邮箱",prop:"user_email"}},[s("el-input",{attrs:{maxlength:"50"},model:{value:e.user.user_email,callback:function(t){e.$set(e.user,"user_email",t)},expression:"user.user_email"}})],1),e._v(" "),s("el-form-item",{attrs:{label:"性别"}},[s("el-radio-group",{model:{value:e.user.sex,callback:function(t){e.$set(e.user,"sex",t)},expression:"user.sex"}},[s("el-radio",{attrs:{label:0}},[e._v("保密")]),e._v(" "),s("el-radio",{attrs:{label:1}},[e._v("男")]),e._v(" "),s("el-radio",{attrs:{label:2}},[e._v("女")])],1)],1),e._v(" "),s("el-form-item",[s("el-button",{attrs:{type:"primary",size:"mini"},on:{click:e.submit}},[e._v("保存")]),e._v(" "),s("el-button",{attrs:{type:"danger",size:"mini"},on:{click:e.close}},[e._v("关闭")])],1)],1)},a=[],i=s("c0c7"),o={props:{user:{type:Object}},data:function(){return{rules:{user_nickname:[{required:!0,message:"用户昵称不能为空",trigger:"blur"}],user_email:[{required:!0,message:"邮箱地址不能为空",trigger:"blur"},{type:"email",message:"'请输入正确的邮箱地址",trigger:["blur","change"]}],mobile:[{required:!0,message:"手机号码不能为空",trigger:"blur"},{pattern:/^1[3|4|5|6|7|8|9][0-9]\d{8}$/,message:"请输入正确的手机号码",trigger:"blur"}]}}},methods:{submit:function(){var e=this;this.$refs["form"].validate((function(t){t&&Object(i["m"])(e.user).then((function(t){0===t.code?e.msgSuccess("修改成功"):e.msgError(t.msg)}))}))},close:function(){this.$store.dispatch("tagsView/delView",this.$route),this.$router.push({path:"/index"})}}},l=o,n=s("2877"),u=Object(n["a"])(l,r,a,!1,null,null,null);t["default"]=u.exports},"4c1b":function(e,t,s){"use strict";s.r(t);var r=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"app-container"},[s("el-row",{attrs:{gutter:20}},[s("el-col",{attrs:{span:6,xs:24}},[s("el-card",{staticClass:"box-card"},[s("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[s("span",[e._v("个人信息")])]),e._v(" "),s("div",[s("div",{staticClass:"text-center"},[s("userAvatar",{attrs:{user:e.user}})],1),e._v(" "),s("ul",{staticClass:"list-group list-group-striped"},[s("li",{staticClass:"list-group-item"},[s("svg-icon",{attrs:{"icon-class":"user"}}),e._v("用户名称\n "),s("div",{staticClass:"pull-right"},[e._v(e._s(e.user.user_name))])],1),e._v(" "),s("li",{staticClass:"list-group-item"},[s("svg-icon",{attrs:{"icon-class":"phone"}}),e._v("手机号码\n "),s("div",{staticClass:"pull-right"},[e._v(e._s(e.user.mobile))])],1),e._v(" "),s("li",{staticClass:"list-group-item"},[s("svg-icon",{attrs:{"icon-class":"email"}}),e._v("用户邮箱\n "),s("div",{staticClass:"pull-right"},[e._v(e._s(e.user.user_email))])],1),e._v(" "),s("li",{staticClass:"list-group-item"},[s("svg-icon",{attrs:{"icon-class":"tree"}}),e._v("所属部门\n "),e.user.dept_info?s("div",{staticClass:"pull-right"},[e._v(e._s(e.user.dept_info.deptName)+" / "+e._s(e.postGroup))]):e._e()],1),e._v(" "),s("li",{staticClass:"list-group-item"},[s("svg-icon",{attrs:{"icon-class":"peoples"}}),e._v("所属角色\n "),s("div",{staticClass:"pull-right"},[e._v(e._s(e.roleGroup))])],1),e._v(" "),s("li",{staticClass:"list-group-item"},[s("svg-icon",{attrs:{"icon-class":"date"}}),e._v("创建日期\n "),s("div",{staticClass:"pull-right"},[e._v(e._s(e.parseTime(e.user.create_time)))])],1)])])])],1),e._v(" "),s("el-col",{attrs:{span:18,xs:24}},[s("el-card",[s("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[s("span",[e._v("基本资料")])]),e._v(" "),s("el-tabs",{model:{value:e.activeTab,callback:function(t){e.activeTab=t},expression:"activeTab"}},[s("el-tab-pane",{attrs:{label:"基本资料",name:"userinfo"}},[s("userInfo",{attrs:{user:e.user}})],1),e._v(" "),s("el-tab-pane",{attrs:{label:"修改密码",name:"resetPwd"}},[s("resetPwd",{attrs:{user:e.user}})],1)],1)],1)],1)],1)],1)},a=[],i=(s("7f7f"),s("9429")),o=s("1e8b"),l=s("ee46"),n=s("c0c7"),u={name:"Profile",components:{userAvatar:i["default"],userInfo:o["default"],resetPwd:l["default"]},data:function(){return{user:{},activeTab:"userinfo"}},created:function(){this.getUser()},computed:{postGroup:function(){return Array.isArray(this.user.posts)?this.user.posts.reduce((function(e,t,s,r){return e+t.post_name+" "}),""):""},roleGroup:function(){return Array.isArray(this.user.roles)?this.user.roles.reduce((function(e,t,s,r){return e+t.name+" "}),""):""}},methods:{getUser:function(){var e=this;Object(n["h"])().then((function(t){e.user=t.data}))}}},c=u,p=s("2877"),d=Object(p["a"])(c,r,a,!1,null,null,null);t["default"]=d.exports},9429:function(e,t,s){"use strict";s.r(t);var r=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",[s("img",{staticClass:"img-circle img-lg",attrs:{src:e.options.img,title:"点击上传头像"},on:{click:function(t){return e.editCropper()}}}),e._v(" "),s("el-dialog",{attrs:{title:e.title,visible:e.open,width:"800px","append-to-body":""},on:{"update:visible":function(t){e.open=t}}},[s("el-row",[s("el-col",{style:{height:"350px"},attrs:{xs:24,md:12}},[s("vue-cropper",{ref:"cropper",attrs:{img:e.options.img,info:!0,autoCrop:e.options.autoCrop,autoCropWidth:e.options.autoCropWidth,autoCropHeight:e.options.autoCropHeight,fixedBox:e.options.fixedBox},on:{realTime:e.realTime}})],1),e._v(" "),s("el-col",{style:{height:"350px"},attrs:{xs:24,md:12}},[s("div",{staticClass:"avatar-upload-preview"},[s("img",{style:e.previews.img,attrs:{src:e.previews.url}})])])],1),e._v(" "),s("br"),e._v(" "),s("el-row",[s("el-col",{attrs:{lg:2,md:2}},[s("el-upload",{attrs:{action:"#","http-request":e.requestUpload,"show-file-list":!1,"before-upload":e.beforeUpload}},[s("el-button",{attrs:{size:"small"}},[e._v("\n 上传\n "),s("i",{staticClass:"el-icon-upload el-icon--right"})])],1)],1),e._v(" "),s("el-col",{attrs:{lg:{span:1,offset:2},md:2}},[s("el-button",{attrs:{icon:"el-icon-plus",size:"small"},on:{click:function(t){return e.changeScale(1)}}})],1),e._v(" "),s("el-col",{attrs:{lg:{span:1,offset:1},md:2}},[s("el-button",{attrs:{icon:"el-icon-minus",size:"small"},on:{click:function(t){return e.changeScale(-1)}}})],1),e._v(" "),s("el-col",{attrs:{lg:{span:1,offset:1},md:2}},[s("el-button",{attrs:{icon:"el-icon-refresh-left",size:"small"},on:{click:function(t){return e.rotateLeft()}}})],1),e._v(" "),s("el-col",{attrs:{lg:{span:1,offset:1},md:2}},[s("el-button",{attrs:{icon:"el-icon-refresh-right",size:"small"},on:{click:function(t){return e.rotateRight()}}})],1),e._v(" "),s("el-col",{attrs:{lg:{span:2,offset:6},md:2}},[s("el-button",{attrs:{type:"primary",size:"small"},on:{click:function(t){return e.uploadImg()}}},[e._v("提 交")])],1)],1)],1)],1)},a=[],i=s("ade3"),o=s("4360"),l=s("7e79"),n=s("c0c7"),u={components:{VueCropper:l["VueCropper"]},props:{user:{type:Object}},data:function(){var e;return{open:!1,title:"修改头像",options:(e={img:o["a"].getters.avatar},Object(i["a"])(e,"img",""),Object(i["a"])(e,"autoCrop",!0),Object(i["a"])(e,"autoCropWidth",200),Object(i["a"])(e,"autoCropHeight",200),Object(i["a"])(e,"fixedBox",!0),e),previews:{}}},methods:{editCropper:function(){this.open=!0},requestUpload:function(){},rotateLeft:function(){this.$refs.cropper.rotateLeft()},rotateRight:function(){this.$refs.cropper.rotateRight()},changeScale:function(e){e=e||1,this.$refs.cropper.changeScale(e)},beforeUpload:function(e){var t=this;if(-1==e.type.indexOf("image/"))this.msgError("文件格式错误,请上传图片类型,如:JPG,PNG后缀的文件。");else{var s=new FileReader;s.readAsDataURL(e),s.onload=function(){t.options.img=s.result}}},uploadImg:function(){var e=this;this.$refs.cropper.getCropBlob((function(t){var s=t.type,r={"image/jpeg":"jpeg","image/png":"png"},a="temp.jpg";r[s]&&(a="temp."+r[s]);var i=new FormData;i.append("avatarfile",t,a),Object(n["o"])(i).then((function(t){0===t.code?(e.open=!1,e.options.img="/api/v1/"+t.data.fileInfo.fileUrl,e.msgSuccess("修改成功")):e.msgError(t.msg),e.$refs.cropper.clearCrop()}))}))},realTime:function(e){this.previews=e},setAvatarBase64:function(e,t){var s=this,r=new Image;r.src=e+"?v="+Math.random(),r.crossOrigin="*",r.onload=function(){var e=s.transBase64FromImage(r);t&&t(e)}},transBase64FromImage:function(e){var t=document.createElement("canvas");t.width=e.width,t.height=e.height;var s=t.getContext("2d");return s.drawImage(e,0,0,e.width,e.height),t.toDataURL("image/png")}},watch:{user:function(e){var t=this;e.avatar&&this.setAvatarBase64("/api/v1/"+e.avatar,(function(e){t.options.img=e}))}}},c=u,p=s("2877"),d=Object(p["a"])(c,r,a,!1,null,null,null);t["default"]=d.exports},ee46:function(e,t,s){"use strict";s.r(t);var r=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("el-form",{ref:"form",attrs:{model:e.user,rules:e.rules,"label-width":"80px"}},[s("el-form-item",{attrs:{label:"旧密码",prop:"oldPassword"}},[s("el-input",{attrs:{placeholder:"请输入旧密码",type:"password"},model:{value:e.user.oldPassword,callback:function(t){e.$set(e.user,"oldPassword",t)},expression:"user.oldPassword"}})],1),e._v(" "),s("el-form-item",{attrs:{label:"新密码",prop:"newPassword"}},[s("el-input",{attrs:{placeholder:"请输入新密码",type:"password"},model:{value:e.user.newPassword,callback:function(t){e.$set(e.user,"newPassword",t)},expression:"user.newPassword"}})],1),e._v(" "),s("el-form-item",{attrs:{label:"确认密码",prop:"confirmPassword"}},[s("el-input",{attrs:{placeholder:"请确认密码",type:"password"},model:{value:e.user.confirmPassword,callback:function(t){e.$set(e.user,"confirmPassword",t)},expression:"user.confirmPassword"}})],1),e._v(" "),s("el-form-item",[s("el-button",{attrs:{type:"primary",size:"mini"},on:{click:e.submit}},[e._v("保存")]),e._v(" "),s("el-button",{attrs:{type:"danger",size:"mini"},on:{click:e.close}},[e._v("关闭")])],1)],1)},a=[],i=s("c0c7"),o={data:function(){var e=this,t=function(t,s,r){e.user.newPassword!==s?r(new Error("两次输入的密码不一致")):r()};return{test:"1test",user:{oldPassword:void 0,newPassword:void 0,confirmPassword:void 0},rules:{oldPassword:[{required:!0,message:"旧密码不能为空",trigger:"blur"}],newPassword:[{required:!0,message:"新密码不能为空",trigger:"blur"},{min:6,max:20,message:"长度在 6 到 20 个字符",trigger:"blur"}],confirmPassword:[{required:!0,message:"确认密码不能为空",trigger:"blur"},{required:!0,validator:t,trigger:"blur"}]}}},methods:{submit:function(){var e=this;this.$refs["form"].validate((function(t){t&&Object(i["n"])(e.user.oldPassword,e.user.newPassword).then((function(t){0===t.code?e.msgSuccess("修改成功"):e.msgError(t.msg)}))}))},close:function(){this.$store.dispatch("tagsView/delView",this.$route),this.$router.push({path:"/index"})}}},l=o,n=s("2877"),u=Object(n["a"])(l,r,a,!1,null,null,null);t["default"]=u.exports}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-779f4447"],{"1e8b":function(e,t,s){"use strict";s.r(t);var r=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("el-form",{ref:"form",attrs:{model:e.user,rules:e.rules,"label-width":"80px"}},[s("el-form-item",{attrs:{label:"用户昵称",prop:"user_nickname"}},[s("el-input",{model:{value:e.user.user_nickname,callback:function(t){e.$set(e.user,"user_nickname",t)},expression:"user.user_nickname"}})],1),e._v(" "),s("el-form-item",{attrs:{label:"手机号码",prop:"mobile"}},[s("el-input",{attrs:{maxlength:"11"},model:{value:e.user.mobile,callback:function(t){e.$set(e.user,"mobile",t)},expression:"user.mobile"}})],1),e._v(" "),s("el-form-item",{attrs:{label:"邮箱",prop:"user_email"}},[s("el-input",{attrs:{maxlength:"50"},model:{value:e.user.user_email,callback:function(t){e.$set(e.user,"user_email",t)},expression:"user.user_email"}})],1),e._v(" "),s("el-form-item",{attrs:{label:"性别"}},[s("el-radio-group",{model:{value:e.user.sex,callback:function(t){e.$set(e.user,"sex",t)},expression:"user.sex"}},[s("el-radio",{attrs:{label:0}},[e._v("保密")]),e._v(" "),s("el-radio",{attrs:{label:1}},[e._v("男")]),e._v(" "),s("el-radio",{attrs:{label:2}},[e._v("女")])],1)],1),e._v(" "),s("el-form-item",[s("el-button",{attrs:{type:"primary",size:"mini"},on:{click:e.submit}},[e._v("保存")]),e._v(" "),s("el-button",{attrs:{type:"danger",size:"mini"},on:{click:e.close}},[e._v("关闭")])],1)],1)},a=[],i=s("c0c7"),o={props:{user:{type:Object}},data:function(){return{rules:{user_nickname:[{required:!0,message:"用户昵称不能为空",trigger:"blur"}],user_email:[{required:!0,message:"邮箱地址不能为空",trigger:"blur"},{type:"email",message:"'请输入正确的邮箱地址",trigger:["blur","change"]}],mobile:[{required:!0,message:"手机号码不能为空",trigger:"blur"},{pattern:/^1[3|4|5|6|7|8|9][0-9]\d{8}$/,message:"请输入正确的手机号码",trigger:"blur"}]}}},methods:{submit:function(){var e=this;this.$refs["form"].validate((function(t){t&&Object(i["m"])(e.user).then((function(t){0===t.code?e.msgSuccess("修改成功"):e.msgError(t.msg)}))}))},close:function(){this.$store.dispatch("tagsView/delView",this.$route),this.$router.push({path:"/index"})}}},l=o,n=s("cba8"),u=Object(n["a"])(l,r,a,!1,null,null,null);t["default"]=u.exports},"4c1b":function(e,t,s){"use strict";s.r(t);var r=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"app-container"},[s("el-row",{attrs:{gutter:20}},[s("el-col",{attrs:{span:6,xs:24}},[s("el-card",{staticClass:"box-card"},[s("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[s("span",[e._v("个人信息")])]),e._v(" "),s("div",[s("div",{staticClass:"text-center"},[s("userAvatar",{attrs:{user:e.user}})],1),e._v(" "),s("ul",{staticClass:"list-group list-group-striped"},[s("li",{staticClass:"list-group-item"},[s("svg-icon",{attrs:{"icon-class":"user"}}),e._v("用户名称\n "),s("div",{staticClass:"pull-right"},[e._v(e._s(e.user.user_name))])],1),e._v(" "),s("li",{staticClass:"list-group-item"},[s("svg-icon",{attrs:{"icon-class":"phone"}}),e._v("手机号码\n "),s("div",{staticClass:"pull-right"},[e._v(e._s(e.user.mobile))])],1),e._v(" "),s("li",{staticClass:"list-group-item"},[s("svg-icon",{attrs:{"icon-class":"email"}}),e._v("用户邮箱\n "),s("div",{staticClass:"pull-right"},[e._v(e._s(e.user.user_email))])],1),e._v(" "),s("li",{staticClass:"list-group-item"},[s("svg-icon",{attrs:{"icon-class":"tree"}}),e._v("所属部门\n "),e.user.dept_info?s("div",{staticClass:"pull-right"},[e._v(e._s(e.user.dept_info.deptName)+" / "+e._s(e.postGroup))]):e._e()],1),e._v(" "),s("li",{staticClass:"list-group-item"},[s("svg-icon",{attrs:{"icon-class":"peoples"}}),e._v("所属角色\n "),s("div",{staticClass:"pull-right"},[e._v(e._s(e.roleGroup))])],1),e._v(" "),s("li",{staticClass:"list-group-item"},[s("svg-icon",{attrs:{"icon-class":"date"}}),e._v("创建日期\n "),s("div",{staticClass:"pull-right"},[e._v(e._s(e.parseTime(e.user.create_time)))])],1)])])])],1),e._v(" "),s("el-col",{attrs:{span:18,xs:24}},[s("el-card",[s("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[s("span",[e._v("基本资料")])]),e._v(" "),s("el-tabs",{model:{value:e.activeTab,callback:function(t){e.activeTab=t},expression:"activeTab"}},[s("el-tab-pane",{attrs:{label:"基本资料",name:"userinfo"}},[s("userInfo",{attrs:{user:e.user}})],1),e._v(" "),s("el-tab-pane",{attrs:{label:"修改密码",name:"resetPwd"}},[s("resetPwd",{attrs:{user:e.user}})],1)],1)],1)],1)],1)],1)},a=[],i=(s("a450"),s("9429")),o=s("1e8b"),l=s("ee46"),n=s("c0c7"),u={name:"Profile",components:{userAvatar:i["default"],userInfo:o["default"],resetPwd:l["default"]},data:function(){return{user:{},activeTab:"userinfo"}},created:function(){this.getUser()},computed:{postGroup:function(){return Array.isArray(this.user.posts)?this.user.posts.reduce((function(e,t,s,r){return e+t.post_name+" "}),""):""},roleGroup:function(){return Array.isArray(this.user.roles)?this.user.roles.reduce((function(e,t,s,r){return e+t.name+" "}),""):""}},methods:{getUser:function(){var e=this;Object(n["h"])().then((function(t){e.user=t.data}))}}},c=u,p=s("cba8"),d=Object(p["a"])(c,r,a,!1,null,null,null);t["default"]=d.exports},9429:function(e,t,s){"use strict";s.r(t);var r=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",[s("img",{staticClass:"img-circle img-lg",attrs:{src:e.options.img,title:"点击上传头像"},on:{click:function(t){return e.editCropper()}}}),e._v(" "),s("el-dialog",{attrs:{title:e.title,visible:e.open,width:"800px","append-to-body":""},on:{"update:visible":function(t){e.open=t}}},[s("el-row",[s("el-col",{style:{height:"350px"},attrs:{xs:24,md:12}},[s("vue-cropper",{ref:"cropper",attrs:{img:e.options.img,info:!0,autoCrop:e.options.autoCrop,autoCropWidth:e.options.autoCropWidth,autoCropHeight:e.options.autoCropHeight,fixedBox:e.options.fixedBox},on:{realTime:e.realTime}})],1),e._v(" "),s("el-col",{style:{height:"350px"},attrs:{xs:24,md:12}},[s("div",{staticClass:"avatar-upload-preview"},[s("img",{style:e.previews.img,attrs:{src:e.previews.url}})])])],1),e._v(" "),s("br"),e._v(" "),s("el-row",[s("el-col",{attrs:{lg:2,md:2}},[s("el-upload",{attrs:{action:"#","http-request":e.requestUpload,"show-file-list":!1,"before-upload":e.beforeUpload}},[s("el-button",{attrs:{size:"small"}},[e._v("\n 上传\n "),s("i",{staticClass:"el-icon-upload el-icon--right"})])],1)],1),e._v(" "),s("el-col",{attrs:{lg:{span:1,offset:2},md:2}},[s("el-button",{attrs:{icon:"el-icon-plus",size:"small"},on:{click:function(t){return e.changeScale(1)}}})],1),e._v(" "),s("el-col",{attrs:{lg:{span:1,offset:1},md:2}},[s("el-button",{attrs:{icon:"el-icon-minus",size:"small"},on:{click:function(t){return e.changeScale(-1)}}})],1),e._v(" "),s("el-col",{attrs:{lg:{span:1,offset:1},md:2}},[s("el-button",{attrs:{icon:"el-icon-refresh-left",size:"small"},on:{click:function(t){return e.rotateLeft()}}})],1),e._v(" "),s("el-col",{attrs:{lg:{span:1,offset:1},md:2}},[s("el-button",{attrs:{icon:"el-icon-refresh-right",size:"small"},on:{click:function(t){return e.rotateRight()}}})],1),e._v(" "),s("el-col",{attrs:{lg:{span:2,offset:6},md:2}},[s("el-button",{attrs:{type:"primary",size:"small"},on:{click:function(t){return e.uploadImg()}}},[e._v("提 交")])],1)],1)],1)],1)},a=[],i=s("8ee4"),o=s("4360"),l=s("4c99"),n=s("c0c7"),u={components:{VueCropper:l["VueCropper"]},props:{user:{type:Object}},data:function(){var e;return{open:!1,title:"修改头像",options:(e={img:o["a"].getters.avatar},Object(i["a"])(e,"img",""),Object(i["a"])(e,"autoCrop",!0),Object(i["a"])(e,"autoCropWidth",200),Object(i["a"])(e,"autoCropHeight",200),Object(i["a"])(e,"fixedBox",!0),e),previews:{}}},methods:{editCropper:function(){this.open=!0},requestUpload:function(){},rotateLeft:function(){this.$refs.cropper.rotateLeft()},rotateRight:function(){this.$refs.cropper.rotateRight()},changeScale:function(e){e=e||1,this.$refs.cropper.changeScale(e)},beforeUpload:function(e){var t=this;if(-1==e.type.indexOf("image/"))this.msgError("文件格式错误,请上传图片类型,如:JPG,PNG后缀的文件。");else{var s=new FileReader;s.readAsDataURL(e),s.onload=function(){t.options.img=s.result}}},uploadImg:function(){var e=this;this.$refs.cropper.getCropBlob((function(t){var s=t.type,r={"image/jpeg":"jpeg","image/png":"png"},a="temp.jpg";r[s]&&(a="temp."+r[s]);var i=new FormData;i.append("avatarfile",t,a),Object(n["o"])(i).then((function(t){0===t.code?(e.open=!1,e.options.img="/api/v1/"+t.data.fileInfo.fileUrl,e.msgSuccess("修改成功")):e.msgError(t.msg),e.$refs.cropper.clearCrop()}))}))},realTime:function(e){this.previews=e},setAvatarBase64:function(e,t){var s=this,r=new Image;r.src=e+"?v="+Math.random(),r.crossOrigin="*",r.onload=function(){var e=s.transBase64FromImage(r);t&&t(e)}},transBase64FromImage:function(e){var t=document.createElement("canvas");t.width=e.width,t.height=e.height;var s=t.getContext("2d");return s.drawImage(e,0,0,e.width,e.height),t.toDataURL("image/png")}},watch:{user:function(e){var t=this;e.avatar&&this.setAvatarBase64("/api/v1/"+e.avatar,(function(e){t.options.img=e}))}}},c=u,p=s("cba8"),d=Object(p["a"])(c,r,a,!1,null,null,null);t["default"]=d.exports},ee46:function(e,t,s){"use strict";s.r(t);var r=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("el-form",{ref:"form",attrs:{model:e.user,rules:e.rules,"label-width":"80px"}},[s("el-form-item",{attrs:{label:"旧密码",prop:"oldPassword"}},[s("el-input",{attrs:{placeholder:"请输入旧密码",type:"password"},model:{value:e.user.oldPassword,callback:function(t){e.$set(e.user,"oldPassword",t)},expression:"user.oldPassword"}})],1),e._v(" "),s("el-form-item",{attrs:{label:"新密码",prop:"newPassword"}},[s("el-input",{attrs:{placeholder:"请输入新密码",type:"password"},model:{value:e.user.newPassword,callback:function(t){e.$set(e.user,"newPassword",t)},expression:"user.newPassword"}})],1),e._v(" "),s("el-form-item",{attrs:{label:"确认密码",prop:"confirmPassword"}},[s("el-input",{attrs:{placeholder:"请确认密码",type:"password"},model:{value:e.user.confirmPassword,callback:function(t){e.$set(e.user,"confirmPassword",t)},expression:"user.confirmPassword"}})],1),e._v(" "),s("el-form-item",[s("el-button",{attrs:{type:"primary",size:"mini"},on:{click:e.submit}},[e._v("保存")]),e._v(" "),s("el-button",{attrs:{type:"danger",size:"mini"},on:{click:e.close}},[e._v("关闭")])],1)],1)},a=[],i=s("c0c7"),o={data:function(){var e=this,t=function(t,s,r){e.user.newPassword!==s?r(new Error("两次输入的密码不一致")):r()};return{test:"1test",user:{oldPassword:void 0,newPassword:void 0,confirmPassword:void 0},rules:{oldPassword:[{required:!0,message:"旧密码不能为空",trigger:"blur"}],newPassword:[{required:!0,message:"新密码不能为空",trigger:"blur"},{min:6,max:20,message:"长度在 6 到 20 个字符",trigger:"blur"}],confirmPassword:[{required:!0,message:"确认密码不能为空",trigger:"blur"},{required:!0,validator:t,trigger:"blur"}]}}},methods:{submit:function(){var e=this;this.$refs["form"].validate((function(t){t&&Object(i["n"])(e.user.oldPassword,e.user.newPassword).then((function(t){0===t.code?e.msgSuccess("修改成功"):e.msgError(t.msg)}))}))},close:function(){this.$store.dispatch("tagsView/delView",this.$route),this.$router.push({path:"/index"})}}},l=o,n=s("cba8"),u=Object(n["a"])(l,r,a,!1,null,null,null);t["default"]=u.exports}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-7c2f4fe6"],{"6b1f":function(t,o,e){"use strict";e.d(o,"g",(function(){return r})),e.d(o,"i",(function(){return a})),e.d(o,"b",(function(){return c})),e.d(o,"d",(function(){return u})),e.d(o,"a",(function(){return i})),e.d(o,"l",(function(){return s})),e.d(o,"j",(function(){return l})),e.d(o,"c",(function(){return d})),e.d(o,"m",(function(){return f})),e.d(o,"e",(function(){return h})),e.d(o,"h",(function(){return p})),e.d(o,"f",(function(){return m})),e.d(o,"k",(function(){return g}));var n=e("b775");function r(t){return Object(n["a"])({url:"/system/index/getInfo",method:"get",params:t})}function a(t){return Object(n["a"])({url:"/local/getOrganization",method:"get",params:t})}function c(t){return Object(n["a"])({url:"/local/organization",method:"post",data:t})}function u(t){return Object(n["a"])({url:"/local/shopbrand",method:"get",params:t})}function i(t){return Object(n["a"])({url:"/local/brands",method:"post",data:t})}function s(t){return Object(n["a"])({url:"/local/upbrands",method:"post",data:t})}function l(t){return Object(n["a"])({url:"/local/getShopInfo",method:"get",params:t})}function d(t){return Object(n["a"])({url:"/local/addShopInfo",method:"post",data:t})}function f(t){return Object(n["a"])({url:"/system/goodsNew/uploadImage",method:"post",data:t})}function h(t){return Object(n["a"])({url:"/local/cate",method:"get",params:t})}function p(t){return Object(n["a"])({url:"/local/check/businessLicense",method:"get",params:t})}function m(t){return Object(n["a"])({url:"/local/check/idCard",method:"get",params:t})}function g(t){return Object(n["a"])({url:"/local/qualification/list",method:"get",params:t})}},"74bc":function(t,o,e){"use strict";e.r(o);var n=function(){var t=this,o=t.$createElement,e=t._self._c||o;return e("div")},r=[],a=e("5c96"),c=e("6b1f"),u=(e("b775"),{name:"Platformlogin",data:function(){return{ssourl:""}},created:function(){this.getssourl()},methods:{getssourl:function(){var t=this,o=window.location.host,e={domain:o};this.$store.dispatch("getssourl",e).then((function(o){1==o.code&&(t.ssourl=o.data.sso_url,t.gotosso())})).catch((function(){}))},gotosso:function(){var t=this,o=this.$route.query.ticket;this.$store.dispatch("Login",{ticket:o}).then((function(o){if(""!=o.token)Object(c["j"])().then((function(o){if(1===o.code)switch(o.data.state){case 0:switch(o.data.status){case 0:t.$router.push({path:"/process"});break;case 1:t.$router.push({path:"/fillShopInf"});break}break;case 1:t.$router.push({path:"/home/index"});break;case 2:t.$router.push({path:"/reviewing"});break;case 3:var e=o.data.Apply.content;t.$router.push({name:"reviewFail",params:{msg:e}});break}else o&&o.msg?a["Notification"].error({title:"提示:",message:o.msg}):a["Notification"].error({title:"提示:",message:"刷新浏览器后,再次登录,若仍不行,请联系我们!"})}));else{t.$store.dispatch("Statistic"),t.$store.dispatch("FedLogOut");var e=window.location.host,n=document.location.protocol,r=t;setTimeout((function(){window.location.href=n+"//"+r.ssourl+"/api/v2/logout?redirect="+n+"//"+e+"/login"}),1e3)}t.loading=!1})).catch((function(){t.$store.dispatch("FedLogOut");var o=window.location.host,e=document.location.protocol,n=t;setTimeout((function(){window.location.href=e+"//"+n.ssourl+"/api/v2/logout?redirect="+e+"//"+o+"/login"}),1e3),t.loading=!1}))}}}),i=u,s=e("2877"),l=Object(s["a"])(i,n,r,!1,null,null,null);o["default"]=l.exports}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-7c2f4fe6"],{"6b1f":function(t,o,e){"use strict";e.d(o,"g",(function(){return r})),e.d(o,"i",(function(){return a})),e.d(o,"b",(function(){return c})),e.d(o,"d",(function(){return u})),e.d(o,"a",(function(){return i})),e.d(o,"l",(function(){return s})),e.d(o,"j",(function(){return l})),e.d(o,"c",(function(){return d})),e.d(o,"m",(function(){return f})),e.d(o,"e",(function(){return h})),e.d(o,"h",(function(){return p})),e.d(o,"f",(function(){return m})),e.d(o,"k",(function(){return g}));var n=e("b775");function r(t){return Object(n["a"])({url:"/system/index/getInfo",method:"get",params:t})}function a(t){return Object(n["a"])({url:"/local/getOrganization",method:"get",params:t})}function c(t){return Object(n["a"])({url:"/local/organization",method:"post",data:t})}function u(t){return Object(n["a"])({url:"/local/shopbrand",method:"get",params:t})}function i(t){return Object(n["a"])({url:"/local/brands",method:"post",data:t})}function s(t){return Object(n["a"])({url:"/local/upbrands",method:"post",data:t})}function l(t){return Object(n["a"])({url:"/local/getShopInfo",method:"get",params:t})}function d(t){return Object(n["a"])({url:"/local/addShopInfo",method:"post",data:t})}function f(t){return Object(n["a"])({url:"/system/goodsNew/uploadImage",method:"post",data:t})}function h(t){return Object(n["a"])({url:"/local/cate",method:"get",params:t})}function p(t){return Object(n["a"])({url:"/local/check/businessLicense",method:"get",params:t})}function m(t){return Object(n["a"])({url:"/local/check/idCard",method:"get",params:t})}function g(t){return Object(n["a"])({url:"/local/qualification/list",method:"get",params:t})}},"74bc":function(t,o,e){"use strict";e.r(o);var n=function(){var t=this,o=t.$createElement,e=t._self._c||o;return e("div")},r=[],a=e("2ca7"),c=e("6b1f"),u=(e("b775"),{name:"Platformlogin",data:function(){return{ssourl:""}},created:function(){this.getssourl()},methods:{getssourl:function(){var t=this,o=window.location.host,e={domain:o};this.$store.dispatch("getssourl",e).then((function(o){1==o.code&&(t.ssourl=o.data.sso_url,t.gotosso())})).catch((function(){}))},gotosso:function(){var t=this,o=this.$route.query.ticket;this.$store.dispatch("Login",{ticket:o}).then((function(o){if(""!=o.token)Object(c["j"])().then((function(o){if(1===o.code)switch(o.data.state){case 0:switch(o.data.status){case 0:t.$router.push({path:"/process"});break;case 1:t.$router.push({path:"/fillShopInf"});break}break;case 1:t.$router.push({path:"/home/index"});break;case 2:t.$router.push({path:"/reviewing"});break;case 3:var e=o.data.Apply.content;t.$router.push({name:"reviewFail",params:{msg:e}});break}else o&&o.msg?a["Notification"].error({title:"提示:",message:o.msg}):a["Notification"].error({title:"提示:",message:"刷新浏览器后,再次登录,若仍不行,请联系我们!"})}));else{t.$store.dispatch("Statistic"),t.$store.dispatch("FedLogOut");var e=window.location.host,n=document.location.protocol,r=t;setTimeout((function(){window.location.href=n+"//"+r.ssourl+"/api/v2/logout?redirect="+n+"//"+e+"/login"}),1e3)}t.loading=!1})).catch((function(){t.$store.dispatch("FedLogOut");var o=window.location.host,e=document.location.protocol,n=t;setTimeout((function(){window.location.href=e+"//"+n.ssourl+"/api/v2/logout?redirect="+e+"//"+o+"/login"}),1e3),t.loading=!1}))}}}),i=u,s=e("cba8"),l=Object(s["a"])(i,n,r,!1,null,null,null);o["default"]=l.exports}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-1b9ca1b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vcrwd6XyTtHY74lVLvhsxfvzfwNZ9GdBtpvVOuznEg8l+NWus52IFgbiOXYcid2WpqnTKIH29j/X3fkBPHWqMFIuFUSiVNEMsKeysWHK1Zdm3PynBA/oa4FcHp3x3neGYP6HbUuvcTGYnlyERO22pqaiIlJSWRglTKjlmlmg4l7aWzAud962bnq+Uleh1pqcRR27T4OQ1FhcOgW0A2cnnT+5/KUDQnSU+/SWpqasJVVVVR13VDPT2QSCS982pD5Ru+5lwytkqXFKk3LeRRhEc020n1pWZ8IzsWNy2lt5l4bMenNhY/S+H7Pm5PmDAhWFFRUdDVRTBm2YqTiEyrts5Z+0WdUl/nzYkU6EWITkClOOPv2oWaixH5E5a7A1eaCOxplfl+pBxy/T9FewZ8yS/WfgAAAABJRU5ErkJggg=="},aad8:function(t,s,i){"use strict";i.r(s);var a=function(){var t=this,s=t.$createElement,a=t._self._c||s;return a("div",{staticClass:"content"},[a("div",{ref:"searchBar",staticClass:"yc-content pc-content"},[a("header",{class:{"head-scroll":t.isScroll},attrs:{calss:"pc-content"}},[a("div",{staticClass:"header-con"},[a("ul",{staticClass:"nav"},[t.settitle&&t.settitle.topLogo?a("li",[a("img",{staticStyle:{width:"114px",height:"35px"},attrs:{src:t.settitle.topLogo,alt:""}})]):t._e(),t._v(" "),t._m(0),t._v(" "),t.navigationObj.open?a("li",[a("a",{attrs:{href:"//"+t.navigationObj.open,target:"_blank"}},[t._v("开放平台")])]):t._e(),t._v(" "),t.navigationObj.shop?a("li",[a("a",{attrs:{href:"//"+t.navigationObj.shop}},[t._v("云仓")])]):t._e(),t._v(" "),a("li",[a("a",{attrs:{href:"//"+t.navigationObj.aboutUs+"/user",target:"_blank"}},[t._v("关于我们")])])]),t._v(" "),a("div",{staticClass:"register-login-btn"},[a("div",{staticClass:"register-btn",on:{click:t.toRegister}},[t._v("注 册")]),t._v(" "),a("div",{staticClass:"login-btn",on:{click:t.toLogin}},[t._v("登 录")])])])]),t._v(" "),a("section",{staticClass:"banner pc-content"},[t.bannerList&&t.bannerList.length>0?a("swiper",{attrs:{options:t.swiperOption}},t._l(t.bannerList,(function(s,i){return a("swiper-slide",{key:i},[a("a",{attrs:{href:t.aLinkRes(s.redirect_url),target:t.returnBlank(s.redirect_url)}},[a("img",{staticStyle:{width:"100%",height:"562px"},attrs:{src:s.image_url,alt:""}})])])})),1):t._e()],1),t._v(" "),a("section",{staticClass:"pc-content",staticStyle:{"margin-bottom":"100px"}},[a("div",{staticClass:"advantage",class:{mgB100:t.isAdHover}},[a("p",{staticClass:"advantage-title"},[t._v("核心优势")]),t._v(" "),a("div",{staticClass:"advantage-con",class:{mgT20:t.isAdHover}},t._l(t.cloud_advantage_lst,(function(s,i){return a("div",{key:i,staticClass:"pre-advantage",style:{zIndex:t.cloud_advantage_lst.length-i},on:{mouseover:function(s){return t.adHover(i+1)},mouseleave:function(s){return t.adLeave(i+1)}}},[a("dl",{staticClass:"dl-con",class:{noDlCon:t.indexAddom===i+1}},[a("dt",{class:"dl-con-ad"+(i+1)}),t._v(" "),a("dd",[t._v(t._s(s.title))])]),t._v(" "),a("div",{staticClass:"pre-advantage-details",class:{"up-ad-details":t.indexAddom===i+1}},[a("p",{staticClass:"ad-details-title"},[t._v(t._s(s.title))]),t._v(" "),a("p",{staticClass:"ad-details"},[t._v(t._s(s.content_summary))])])])})),0)])]),t._v(" "),t._m(1),t._v(" "),a("section",{staticClass:"brand pc-content"},[a("p",{staticClass:"brands-title"},[t._v("这些品牌都已入驻")]),t._v(" "),a("p",{staticClass:"brands-tip"},[t._v("我们已与各行业领域的优秀品牌达成合作")]),t._v(" "),a("div",[a("p",{staticClass:"brand-type"},[a("span",{staticClass:"clothes",class:{"light-word":0===t.isLight},on:{click:function(s){return t.brandTypeChange(0)}}},[t._v(t._s(t.detail_img1.type))]),t._v(" "),a("span",{staticClass:"electrical",class:{"light-word":1===t.isLight},on:{click:function(s){return t.brandTypeChange(1)}}},[t._v(t._s(t.detail_img2.type))]),t._v(" "),a("span",{staticClass:"food",class:{"light-word":2===t.isLight},on:{click:function(s){return t.brandTypeChange(2)}}},[t._v(t._s(t.detail_img3.type))]),t._v(" "),a("span",{staticClass:"maternal",class:{"light-word":3===t.isLight},on:{click:function(s){return t.brandTypeChange(3)}}},[t._v(t._s(t.detail_img4.type))])]),t._v(" "),a("div",{staticClass:"brand-carousel"},[a("el-carousel",{ref:"cardShow",staticClass:"card-show",attrs:{autoplay:!1,arrow:"never","indicator-position":"none",type:"card",height:"400px"},on:{change:function(s){return t.brandCarChange()}}},[a("el-carousel-item",{staticClass:"pre-el-carousel-item el-carousel-item-spe",attrs:{name:"1"}},t._l(t.detail_img1.logo_urls,(function(t,s){return a("div",{key:s,staticClass:"pre-img-con"},[a("img",{staticClass:"pre-img",attrs:{src:t.url,alt:""}})])})),0),t._v(" "),a("el-carousel-item",{staticClass:"pre-el-carousel-item el-carousel-item-spe",attrs:{name:"2"}},t._l(t.detail_img2.logo_urls,(function(t,s){return a("div",{key:s,staticClass:"pre-img-con"},[a("img",{staticClass:"pre-img",attrs:{src:t.url,alt:""}})])})),0),t._v(" "),a("el-carousel-item",{staticClass:"pre-el-carousel-item el-carousel-item-spe",attrs:{name:"3"}},t._l(t.detail_img3.logo_urls,(function(t,s){return a("div",{key:s,staticClass:"pre-img-con"},[a("img",{staticClass:"pre-img",attrs:{src:t.url,alt:""}})])})),0),t._v(" "),a("el-carousel-item",{staticClass:"pre-el-carousel-item el-carousel-item-spe",attrs:{name:"4"}},t._l(t.detail_img4.logo_urls,(function(t,s){return a("div",{key:s,staticClass:"pre-img-con"},[a("img",{staticClass:"pre-img",attrs:{src:t.url,alt:""}})])})),0)],1)],1)])]),t._v(" "),a("footer",{staticClass:"pc-content"},[a("div",{staticClass:"contact"},[t._m(2),t._v(" "),a("p",[t._v(t._s(t.settitle.contactTel))])]),t._v(" "),a("div",{staticClass:"about-con"},[a("div",{staticClass:"about-list"},[a("ul",t._l(t.footerList,(function(s,i){return a("li",{key:i,on:{click:function(i){return t.goToUser(s.id)}}},[t._v(t._s(s.title)+"\n ")])})),0),t._v(" "),a("p",{staticClass:"about-gs"},[t._v("\n "+t._s(t.settitle.bottomCopyright)+"  "),a("img",{staticClass:"icon-image",staticStyle:{"margin-right":"4px"},attrs:{src:i("037c")}}),t._v(t._s(t.settitle.recordNum)+"\n ")])]),t._v(" "),a("div",{staticClass:"about-us"},[a("p",{staticClass:"us-title"},[t._v("联系我们")]),t._v(" "),a("p",[t._v("联系电话:"+t._s(t.settitle.contactTel))]),t._v(" "),a("p",[t._v("公司地址:"+t._s(t.settitle.companyAddress))])])])])]),t._v(" "),a("div",{staticClass:"mobile-content"},[a("div",{staticClass:"mb-menu-icon-con",on:{click:function(s){t.drawer=!0}}},[a("img",{attrs:{src:i("bb7c"),alt:""}})]),t._v(" "),a("el-drawer",{attrs:{visible:t.drawer},on:{"update:visible":function(s){t.drawer=s}}},[a("ul",{staticClass:"mb-menu-list-con"},[a("li",[a("a",{attrs:{href:"/"}},[t._v("首页")])]),t._v(" "),t.navigationObj.open?a("li",[a("a",{attrs:{href:"//"+t.navigationObj.open,target:"_blank"}},[t._v("开放平台")])]):t._e(),t._v(" "),t.navigationObj.shop?a("li",[a("a",{attrs:{href:"//"+t.navigationObj.shop}},[t._v("云仓")])]):t._e(),t._v(" "),a("li",[a("a",{attrs:{href:"//"+t.navigationObj.aboutUs+"/user",target:"_blank"}},[t._v("关于我们")])]),t._v(" "),a("li",{on:{click:t.toLogin}},[t._v("\n 登 录\n ")]),t._v(" "),a("li",{on:{click:t.toRegister}},[t._v("\n 注 册\n ")])])]),t._v(" "),t.bannerList&&t.bannerList.length>0?a("swiper",{staticClass:"mb-banner-con mobile-content",attrs:{options:t.swiperOption}},t._l(t.bannerList,(function(s,i){return a("swiper-slide",{key:i},[a("a",{attrs:{href:t.aLinkRes(s.redirect_url),target:t.returnBlank(s.redirect_url)}},[a("img",{attrs:{src:s.image_url,alt:""}})])])})),1):t._e(),t._v(" "),a("div",{staticClass:"mb-advantage-con mobile-content"},[a("p",{staticClass:"mb-ad-title"},[t._v("核心优势")]),t._v(" "),t.cloud_advantage_lst&&t.cloud_advantage_lst.length>0?a("swiper",{staticClass:"mb-advantage-con-swiper",attrs:{options:t.swiperADOption}},[t._l(t.cloud_advantage_lst,(function(s,i){return a("swiper-slide",{key:i},[a("div",{staticClass:"mb-ad-advantage-details"},[a("div",{class:["mb-ad-pic"+(i+1),"ad-details-pic-con"]}),t._v(" "),a("p",{staticClass:"mb-ad-details-title"},[t._v(t._s(s.title))]),t._v(" "),a("p",{staticClass:"mb-ad-details"},[t._v(t._s(s.content_summary))])])])})),t._v(" "),a("div",{staticClass:"swiper-pagination",attrs:{slot:"pagination"},slot:"pagination"})],2):t._e()],1),t._v(" "),t._m(3),t._v(" "),a("div",{staticClass:"mb-brand-con mobile-content"},[a("p",{staticClass:"mb-brand-title"},[t._v("这些品牌都已入驻")]),t._v(" "),a("div",{staticClass:"mb-brand-con-bg"},[a("p",{staticClass:"mb-brand-type"},[a("span",{staticClass:"mb-clothes",class:{"light-word":0===t.isLight},on:{click:function(s){return t.brandTypeChangeMB(0)}}},[t._v(t._s(t.detail_img1.type))]),t._v(" "),a("span",{staticClass:"mb-electrical",class:{"light-word":1===t.isLight},on:{click:function(s){return t.brandTypeChangeMB(1)}}},[t._v(t._s(t.detail_img2.type))]),t._v(" "),a("span",{staticClass:"mb-food",class:{"light-word":2===t.isLight},on:{click:function(s){return t.brandTypeChangeMB(2)}}},[t._v(t._s(t.detail_img3.type))]),t._v(" "),a("span",{staticClass:"mb-maternal",class:{"light-word":3===t.isLight},on:{click:function(s){return t.brandTypeChangeMB(3)}}},[t._v(t._s(t.detail_img4.type))])]),t._v(" "),a("swiper",{ref:"brandSwiperDom",staticClass:"mb-brand-con-swiper",attrs:{options:t.swiperBrandOptions}},[a("swiper-slide",[a("div",{staticClass:"mb-img-con"},t._l(t.detail_img1.logo_urls,(function(t,s){return a("img",{key:s,attrs:{src:t.url,alt:""}})})),0)]),t._v(" "),a("swiper-slide",[a("div",{staticClass:"mb-img-con"},t._l(t.detail_img2.logo_urls,(function(t,s){return a("img",{key:s,attrs:{src:t.url,alt:""}})})),0)]),t._v(" "),a("swiper-slide",[a("div",{staticClass:"mb-img-con"},t._l(t.detail_img3.logo_urls,(function(t,s){return a("img",{key:s,attrs:{src:t.url,alt:""}})})),0)]),t._v(" "),a("swiper-slide",[a("div",{staticClass:"mb-img-con"},t._l(t.detail_img4.logo_urls,(function(t,s){return a("img",{key:s,attrs:{src:t.url,alt:""}})})),0)])],1)],1)]),t._v(" "),a("div",{staticClass:"mb-footer mobile-content"},[a("div",{staticClass:"mb-about-list"},[a("ul",t._l(t.footerMbList,(function(s,i){return a("li",{key:i,on:{click:function(i){return t.goToUser(s.id)}}},[t._v(t._s(s.title)+"\n ")])})),0),t._v(" "),a("div",{staticClass:"mb-about-us"},[a("p",[t._v("联系电话:"+t._s(t.settitle.contactTel))]),t._v(" "),a("p",[t._v("公司地址:"+t._s(t.settitle.companyAddress))])]),t._v(" "),a("p",{staticClass:"mb-about-gs"},[t._v("\n "+t._s(t.settitle.bottomCopyright)+"  "),a("img",{staticClass:"icon-image",staticStyle:{"margin-right":"4px"},attrs:{src:i("037c")}}),t._v(t._s(t.settitle.recordNum)+"\n ")])])])],1)])},e=[function(){var t=this,s=t.$createElement,i=t._self._c||s;return i("li",[i("a",{attrs:{href:"/"}},[t._v("首页")])])},function(){var t=this,s=t.$createElement,i=t._self._c||s;return i("section",{staticClass:"pc-content",staticStyle:{"padding-bottom":"90px","background-color":"#f9f9fa"}},[i("p",{staticClass:"process-title"},[t._v("入驻流程和材料")]),t._v(" "),i("div",{staticClass:"process-con"},[i("div",{staticClass:"process-steps"},[i("div",{staticClass:"pro-step"},[i("dl",[i("dt",{staticClass:"step-one"}),t._v(" "),i("dd",[t._v("第一步:注册账号")])]),t._v(" "),i("span",[t._v("无需等待")]),t._v(" "),i("p",[t._v("进入云仓官网,注册账号")]),t._v(" "),i("p",[t._v("注册完成后,填写相关信息")])]),t._v(" "),i("div",{staticClass:"pro-step"},[i("dl",[i("dt",{staticClass:"step-two"}),t._v(" "),i("dd",[t._v("第二步:填写信息")])]),t._v(" "),i("span",[t._v("约20分钟")]),t._v(" "),i("p",[t._v("确认在线协议填写公司主体信息")]),t._v(" "),i("p",[t._v("填写店铺信息提交相关资质")])]),t._v(" "),i("div",{staticClass:"pro-step"},[i("dl",[i("dt",{staticClass:"step-three"}),t._v(" "),i("dd",[t._v("第三步:等待审核")])]),t._v(" "),i("span",[t._v("约1-3个工作日")]),t._v(" "),i("p",[t._v("云仓工作人员会在1-3个工作日内")]),t._v(" "),i("p",[t._v("反馈审核结果,商家可通过登录查询审核进度")])]),t._v(" "),i("div",{staticClass:"pro-step"},[i("dl",[i("dt",{staticClass:"step-four"}),t._v(" "),i("dd",[t._v("第四步:发布商品")])]),t._v(" "),i("span",[t._v("无需等待")]),t._v(" "),i("p",[t._v("审核通过,商家登录后台")]),t._v(" "),i("p",[t._v("商家发布商品并上架")])])]),t._v(" "),i("div",{staticClass:"process-mater"},[i("div",{staticClass:"pro-ma"},[i("p",{staticClass:"set-in-ma m-bg"},[t._v("入驻必备材料")]),t._v(" "),i("div",{staticClass:"optional"},[i("ul",[i("li",[t._v("营业执照电子版")]),t._v(" "),i("li",[t._v("法人证件电子版")])])])]),t._v(" "),i("div",{staticClass:"pro-ma"},[i("p",{staticClass:"set-in-ma n-m-bg"},[t._v("入驻选填材料")]),t._v(" "),i("div",{staticClass:"optional"},[i("ul",[i("li",[t._v("品牌LOGO")]),t._v(" "),i("li",[t._v("其它行业资质")])]),t._v(" "),i("ul",[i("li",[t._v("品牌授权(代理品需提供)")]),t._v(" "),i("li",[t._v("店铺LOGO")])])])])])])])},function(){var t=this,s=t.$createElement,i=t._self._c||s;return i("p",[t._v("如果你想要更多的"),i("span",[t._v("了解")]),t._v(",请联系我们")])},function(){var t=this,s=t.$createElement,a=t._self._c||s;return a("div",{staticClass:"mb-process-con mobile-content"},[a("p",{staticClass:"mb-process-con-title"},[t._v("入驻流程和材料")]),t._v(" "),a("div",{staticClass:"mb-process"},[a("div",{staticClass:"mb-pre-process-con"},[a("div",{staticClass:"step-pic"},[a("img",{attrs:{src:i("1795"),alt:""}})]),t._v(" "),a("p",{staticClass:"step-title"},[t._v("第一步:注册账号")]),t._v(" "),a("p",{staticClass:"step-cont-text"},[t._v("进入云仓官网,注册账号,注册完成后,填写相关信息")])]),t._v(" "),a("div",{staticClass:"mb-pre-process-con"},[a("div",{staticClass:"step-pic"},[a("img",{attrs:{src:i("cca6"),alt:""}})]),t._v(" "),a("p",{staticClass:"step-title"},[t._v("第二步:填写信息")]),t._v(" "),a("p",{staticClass:"step-cont-text"},[t._v("确认在线协议填写公司主体信息填写店铺信息提交相关资质")])])]),t._v(" "),a("div",{staticClass:"mb-process"},[a("div",{staticClass:"mb-pre-process-con"},[a("div",{staticClass:"step-pic"},[a("img",{attrs:{src:i("cc07"),alt:""}})]),t._v(" "),a("p",{staticClass:"step-title"},[t._v("第三步:等待审核")]),t._v(" "),a("p",{staticClass:"step-cont-text"},[t._v("云仓工作人员会在1-3个工作日内反馈审核结果,商家可通过登录查询审核进度")])]),t._v(" "),a("div",{staticClass:"mb-pre-process-con"},[a("div",{staticClass:"step-pic"},[a("img",{attrs:{src:i("88ff"),alt:""}})]),t._v(" "),a("p",{staticClass:"step-title"},[t._v("第四步:发布商品")]),t._v(" "),a("p",{staticClass:"step-cont-text"},[t._v("审核通过,商家登录后台,商家发布商品并上架")])])]),t._v(" "),a("div",{staticClass:"doc-bg-con"},[a("p",{staticClass:"doc-title doc-title-mst"},[t._v("入驻必备材料")]),t._v(" "),a("ul",{staticClass:"doc-ul-list"},[a("li",[t._v("营业执照电子版")]),t._v(" "),a("li",[t._v("法人证件电子版")])])]),t._v(" "),a("div",{staticClass:"doc-bg-con"},[a("p",{staticClass:"doc-title doc-title-no-mst"},[t._v("入驻选填材料")]),t._v(" "),a("div",{staticClass:"doc-ul-list-spe"},[a("ul",{staticClass:"doc-ul-list"},[a("li",[t._v("品牌LOGO")]),t._v(" "),a("li",[t._v("其他行业资质")])]),t._v(" "),a("ul",{staticClass:"doc-ul-list"},[a("li",[t._v("品牌授权(代理品需提供)")]),t._v(" "),a("li",[t._v("店铺LOGO")])])])])])}],n=(i("ac6a"),i("6762"),i("2fdb"),i("4360")),l=i("5302");(function(){var t=document.documentElement.clientWidth;if(t<961){var s=document.querySelector("html");s.style.fontSize=t/750*50*2+"px"}})();var o={name:"newyuncang",metaInfo:function(){return{title:this.keyTitle,meta:[{name:"keywords",content:this.keyWords},{name:"description",content:this.keyDescriptions}]}},watch:{},data:function(){var t=this;return{ssourl:"",keyTitle:"",keyWords:"",keyDescriptions:"",bannerList:[],cloud_advantage_lst:[],settitle:{bottomCopyright:"",businessHours:1,companyAddress:"",contactTel:"",custServiceQrcode:"",hotlineTel1:"",hotlineTel2:"",onlineTimeEnd:"18:00",onlineTimeStart:"09:00",recordNum:"",topLogo:""},channel_id:0,isScroll:!1,isAdHover:!1,isHasBorder:!1,indexAddom:!1,isLight:0,navigationObj:{home:"",open:"",shop:"",aboutUs:""},gwToken:"",swiperOption:{loop:!0,autoplay:{delay:4e3,disableOnInteraction:!1},initialSlide:0,direction:"horizontal",slidesPerView:1,observer:!0,observeParents:!0},swiperADOption:{loop:!0,pagination:{el:".swiper-pagination",clickable:!0,type:"bullets"},autoplay:{delay:4e3,disableOnInteraction:!1},initialSlide:0,direction:"horizontal",slidesPerView:1,observer:!0,observeParents:!0},swiperBrandOptions:{loop:!1,autoplay:!1,initialSlide:0,direction:"horizontal",slidesPerView:1,observer:!0,observeParents:!0,on:{slideChange:function(){t.isLight=this.activeIndex}}},detail_img1:{index:1,type:"",logo_urls:[{url:""},{url:""},{url:""},{url:""},{url:""},{url:""},{url:""},{url:""},{url:""},{url:""},{url:""},{url:""}]},detail_img2:{index:2,type:"",logo_urls:[{url:""},{url:""},{url:""},{url:""},{url:""},{url:""},{url:""},{url:""},{url:""},{url:""},{url:""},{url:""}]},detail_img3:{index:3,type:"",logo_urls:[{url:""},{url:""},{url:""},{url:""},{url:""},{url:""},{url:""},{url:""},{url:""},{url:""},{url:""},{url:""}]},detail_img4:{index:4,type:"",logo_urls:[{url:""},{url:""},{url:""},{url:""},{url:""},{url:""},{url:""},{url:""},{url:""},{url:""},{url:""},{url:""}]},footerList:[{id:1,title:"企业简介"},{id:2,title:"发展历程"},{id:3,title:"荣誉资质"},{id:4,title:"团队介绍"},{id:5,title:"新闻动态"}],drawer:!1,footerMbList:[{id:1,title:"企业简介"},{id:2,title:"发展历程"},{id:3,title:"荣誉资质"},{id:4,title:"团队介绍"},{id:5,title:"新闻动态"},{id:6,title:""}],brandIndex:0}},created:function(){this.IsPc();this.getssourl()},mounted:function(){this.getIndexInfo(),window.addEventListener("scroll",this.handleScroll,!0)},destroyed:function(){window.removeEventListener("scroll",this.handleScroll)},methods:{getssourl:function(){var t=this,s=window.location.host,i={domain:s};this.$store.dispatch("getssourl",i).then((function(s){1==s.code&&(t.ssourl=s.data.sso_url)})).catch((function(){}))},IsPc:function(){var t=navigator.userAgent,s=["Android","iPhone","SymbianOS","Windows Phone","iPad","iPod"];return s.some((function(s){return t.includes(s)}))},getIndexInfo:function(){var t=this;if("localhost"==window.location.hostname)var s="www.stbz.net";else s=window.location.host;var i={domain:s};Object(l["e"])(i).then((function(s){1==s.code&&(t.channel_id=s.data.channel_id,t.keyTitle=s.data.title,t.keyWords=s.data.keywords,t.keyDescriptions=s.data.describe,t.getWebSite(),t.getDomain(),t.getAllcloud())}))},getWebSite:function(){var t=this,s={channel_ids:this.channel_id};Object(l["f"])(s).then((function(s){1==s.code&&s.data.universal_lst&&"null"!=s.data.universal_lst&&(t.settitle=s.data.universal_lst)}))},getDomain:function(){var t=this,s={channel_ids:this.channel_id};Object(l["c"])(s).then((function(s){1==s.code&&s.data&&(t.navigationObj.home="",t.navigationObj.open=s.data.Open.domain,t.navigationObj.shop=s.data.Cloud.domain,t.navigationObj.aboutUs=s.data.Official.domain)}))},getAllcloud:function(){var t=this,s={new_channel_id:this.channel_id};Object(l["b"])(s).then((function(s){if(1==s.code&&s.data){if(s.data.cloud_advantage_lst&&s.data.cloud_advantage_lst.length>0&&(t.cloud_advantage_lst=s.data.cloud_advantage_lst),s.data.cloud_banner_lst&&s.data.cloud_banner_lst.banners_json&&s.data.cloud_banner_lst.banners_json.length>0){var i=[];s.data.cloud_banner_lst.banners_json.forEach((function(t){t.image_url&&i.push(t)})),t.bannerList=i}s.data.cloud_supplier_lst&&s.data.cloud_supplier_lst.detail_json&&(t.detail_img1=s.data.cloud_supplier_lst.detail_json[0],t.detail_img2=s.data.cloud_supplier_lst.detail_json[1],t.detail_img3=s.data.cloud_supplier_lst.detail_json[2],t.detail_img4=s.data.cloud_supplier_lst.detail_json[3])}}))},aLinkRes:function(t){var s="";return s=t||"javascript:void(0);",s},returnBlank:function(t){var s="";return s=t?"_blank":"",s},handleScroll:function(){var t=window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop;this.isScroll=t>100},brandTypeChange:function(t){this.$refs.cardShow.setActiveItem(t),this.isLight=t},brandTypeChangeMB:function(t){this.isLight=t,this.$refs.brandSwiperDom.$swiper.slideTo(t,1e3,!1)},brandCarChange:function(){this.isLight=this.$refs.cardShow.activeIndex},adHover:function(t){this.isAdHover=!0,this.indexAddom=t},adLeave:function(t){this.isAdHover=!1,this.indexAddom=-1},goToUser:function(t){var s="";this.navigationObj.aboutUs&&(s=this.navigationObj.aboutUs+"/user?id="+t,window.location.href="//"+s)},toRegister:function(){var t=this;n["a"].dispatch("LogOut").then((function(){var s=window.location.host,i=document.location.protocol;window.location.href=i+"//"+t.ssourl+"/login.html?redirect="+i+"//"+s+"/platformlogin"}))},toLogin:function(){var t=window.location.host,s=document.location.protocol;window.location.href=s+"//"+this.ssourl+"/login.html?redirect="+s+"//"+t+"/platformlogin"}}},r=o,c=(i("b04d"),i("2877")),d=Object(c["a"])(r,a,e,!1,null,"6b49f6a6",null);s["default"]=d.exports},b04d:function(t,s,i){"use strict";i("c1d3")},bb7c:function(t,s){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAbCAYAAAAdx42aAAAAAXNSR0IArs4c6QAAAQ9JREFUSEvt1r0uBWEQxvHfe3w1okCjdQE64Q4kCq1Eo3IJLkApEXqlxAXoJAqNQtQqF3AqNOQkxDEyG0QO9buKnWST7Z7/8+zM7JSIWMURFvGiTk3hAXslIvpYqKP7S6WfAPeYawlgkAAH2MZ4RYiCIc7yRURsfKYQlSDG8ITzBqDN6gC6BL4TiIiJHIhKDdkrpbymVu6BJexiuiYABjhJgBssV3I+KnOXALVi/9NjAhxjp6UELhJgFmuYx1slkGz4R1z9nIL8GdX6HKWU0pjtFlGXwNdB0kM+tSp130spwxzDvAfXMVNxCtLsczOGEXGKrVrWR3Qu/8UqvsZKSwncZgKbOMRkRYjsgbyM9z8A+wRc80AC+qcAAAAASUVORK5CYII="},c1d3:function(t,s,i){},cc07:function(t,s){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAAAwCAYAAAChS3wfAAAAAXNSR0IArs4c6QAACPFJREFUaEPNWn9sG/UV/7yznbhJk7YpShySqgrVWMbSjsCqNk3JYhqXUlEE22AaqCDaJi1oQoC0TqBpQtqk7Y8NGKxoJUWFgtiGhDS2sk3quvwwbCLapomtjFKmwkripFGT2KnrJLbvTd/7Yd9dzr7zj7D4jyTKvffuvc/3837dmbAMP6vu4TVVVQiyhB4CvgKgkRlnCfhxpJ/eKKfLVE5jRdu6iysCq7CNgB4RNBhfJoLH1p6MRyPH6Jmi72VR/L8B0NDHGyVGiKGcchcI1S6DSsTTaI69SFMu5fOKfWYArL2Pm3x+JdgeLehA0QEQ9kaO0qtF6xsUlwyAq/ZxjYfQLXkUSodA+EI5HBY2mHFivJ/uL4e98gHQzd76DdgiEXpIUk55CwG+cjhptcGMsfF+aiqH7ZIAuLqPW9OMkKA1CN0E1JbDKTc2OIkvjh+n993I5pMpCID6A9xAEnZQNujmUh0oWp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G9+8RJMwXm7YAYj9kb9cIQM1SWuJrgoip8GqUJrr7PEUDuLELVszR7dng6BSABhsA3jk20RckAeT4kJusAOSeOhdA4XtIvy0ewKwdUu7thaqK/A4tYxL6FsnoYGEauSagptzg2UmlmQnkE84ZgOJNoP1eKf+4MXsC846vQUPSzs0ERGj4VLLUNdYSv/PspUmYOMGyAXDgBLc9IeWG5RNv3+i9zQqiQs5yNBIkOhLOAhDQ5n6J5a4CYbA8JlB8GNzzopSLZ+Xv1TsFoUKgSoSMkBpdJ7jaY5EIGSE4MQEnidBfX5axhTNIegCzDy2cgAgFUqlwZl0km7330+g6bs+drX05Ne5Ir73xTlPhO5+Tb7bOJdlONlV3Qx5p10eoYigcGpxw+GZXPz1eG8WQmuWuSs3VUtWk5eO0GGrbIy/p7eB9/3noO5YPRCQ8xHgsOqEm6PI8RYv7XUt5ihpQSjmsNtqwT67qXMSj/hp+XVWBK715qRqhssHw8CCaNp4xL9UKu8q7F7+rPA0RBB+hBdY5bogURdrZYAW0AVJ+Rj13X9d8/oM3z/uXzyuWOVtSn6WEH5ObRM8hy4aBaTVY0gHsT1b7Tzf+N9pVHbXVL9y97B/Tp7mvs7+MYaTkeWTgD1Y3n9FmR5uUf5IPOM+oDR88vrKzdUH1PT6v6xJb2wmOQuLeQt2ffOucbQ3IPZMXUB+8K7NQv7sO7luyvG1R3abaanebxy3Upx/1+qQhkJ+BOIzUXjNreFjBm2oArM5b9vfnPICfADwqYE880+9hAAAAAElFTkSuQmCC"}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-8457bade"],{"037c":function(t,s){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA0AAAAPCAYAAAA/I0V3AAAC/0lEQVQ4TzWLW0hUeQCHf/85c2bGc+Y+41yyMi+zaZTd1Mkgsi26WCJRLtFLFFRQUbG7sHSlkh6Eegsi7aJrtCAOPXSBMossKWNKXGOz26hTGjOTx7k7c+ac84+N+p6+h+8j+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/KUDQnSU+/SWpqasJVVVVR13VDPT2QSCS982pD5Ru+5lwytkqXFKk3LeRRhEc020n1pWZ8IzsWNy2lt5l4bMenNhY/S+H7Pm5PmDAhWFFRUdDVRTBm2YqTiEyrts5Z+0WdUl/nzYkU6EWITkClOOPv2oWaixH5E5a7A1eaCOxplfl+pBxy/T9FewZ8yS/WfgAAAABJRU5ErkJggg=="},a017:function(t,s,i){},aad8:function(t,s,i){"use strict";i.r(s);var a=function(){var t=this,s=t.$createElement,a=t._self._c||s;return a("div",{staticClass:"content"},[a("div",{ref:"searchBar",staticClass:"yc-content pc-content"},[a("header",{class:{"head-scroll":t.isScroll},attrs:{calss:"pc-content"}},[a("div",{staticClass:"header-con"},[a("ul",{staticClass:"nav"},[t.settitle&&t.settitle.topLogo?a("li",[a("img",{staticStyle:{width:"114px",height:"35px"},attrs:{src:t.settitle.topLogo,alt:""}})]):t._e(),t._v(" "),t._m(0),t._v(" "),t.navigationObj.open?a("li",[a("a",{attrs:{href:"//"+t.navigationObj.open,target:"_blank"}},[t._v("开放平台")])]):t._e(),t._v(" "),t.navigationObj.shop?a("li",[a("a",{attrs:{href:"//"+t.navigationObj.shop}},[t._v("云仓")])]):t._e(),t._v(" "),a("li",[a("a",{attrs:{href:"//"+t.navigationObj.aboutUs+"/user",target:"_blank"}},[t._v("关于我们")])])]),t._v(" "),a("div",{staticClass:"register-login-btn"},[a("div",{staticClass:"register-btn",on:{click:t.toRegister}},[t._v("注 册")]),t._v(" "),a("div",{staticClass:"login-btn",on:{click:t.toLogin}},[t._v("登 录")])])])]),t._v(" "),a("section",{staticClass:"banner pc-content"},[t.bannerList&&t.bannerList.length>0?a("swiper",{attrs:{options:t.swiperOption}},t._l(t.bannerList,(function(s,i){return a("swiper-slide",{key:i},[a("a",{attrs:{href:t.aLinkRes(s.redirect_url),target:t.returnBlank(s.redirect_url)}},[a("img",{staticStyle:{width:"100%",height:"562px"},attrs:{src:s.image_url,alt:""}})])])})),1):t._e()],1),t._v(" "),a("section",{staticClass:"pc-content",staticStyle:{"margin-bottom":"100px"}},[a("div",{staticClass:"advantage",class:{mgB100:t.isAdHover}},[a("p",{staticClass:"advantage-title"},[t._v("核心优势")]),t._v(" "),a("div",{staticClass:"advantage-con",class:{mgT20:t.isAdHover}},t._l(t.cloud_advantage_lst,(function(s,i){return a("div",{key:i,staticClass:"pre-advantage",style:{zIndex:t.cloud_advantage_lst.length-i},on:{mouseover:function(s){return t.adHover(i+1)},mouseleave:function(s){return t.adLeave(i+1)}}},[a("dl",{staticClass:"dl-con",class:{noDlCon:t.indexAddom===i+1}},[a("dt",{class:"dl-con-ad"+(i+1)}),t._v(" "),a("dd",[t._v(t._s(s.title))])]),t._v(" "),a("div",{staticClass:"pre-advantage-details",class:{"up-ad-details":t.indexAddom===i+1}},[a("p",{staticClass:"ad-details-title"},[t._v(t._s(s.title))]),t._v(" "),a("p",{staticClass:"ad-details"},[t._v(t._s(s.content_summary))])])])})),0)])]),t._v(" "),t._m(1),t._v(" "),a("section",{staticClass:"brand pc-content"},[a("p",{staticClass:"brands-title"},[t._v("这些品牌都已入驻")]),t._v(" "),a("p",{staticClass:"brands-tip"},[t._v("我们已与各行业领域的优秀品牌达成合作")]),t._v(" "),a("div",[a("p",{staticClass:"brand-type"},[a("span",{staticClass:"clothes",class:{"light-word":0===t.isLight},on:{click:function(s){return t.brandTypeChange(0)}}},[t._v(t._s(t.detail_img1.type))]),t._v(" "),a("span",{staticClass:"electrical",class:{"light-word":1===t.isLight},on:{click:function(s){return t.brandTypeChange(1)}}},[t._v(t._s(t.detail_img2.type))]),t._v(" "),a("span",{staticClass:"food",class:{"light-word":2===t.isLight},on:{click:function(s){return t.brandTypeChange(2)}}},[t._v(t._s(t.detail_img3.type))]),t._v(" "),a("span",{staticClass:"maternal",class:{"light-word":3===t.isLight},on:{click:function(s){return t.brandTypeChange(3)}}},[t._v(t._s(t.detail_img4.type))])]),t._v(" "),a("div",{staticClass:"brand-carousel"},[a("el-carousel",{ref:"cardShow",staticClass:"card-show",attrs:{autoplay:!1,arrow:"never","indicator-position":"none",type:"card",height:"400px"},on:{change:function(s){return t.brandCarChange()}}},[a("el-carousel-item",{staticClass:"pre-el-carousel-item el-carousel-item-spe",attrs:{name:"1"}},t._l(t.detail_img1.logo_urls,(function(t,s){return a("div",{key:s,staticClass:"pre-img-con"},[a("img",{staticClass:"pre-img",attrs:{src:t.url,alt:""}})])})),0),t._v(" "),a("el-carousel-item",{staticClass:"pre-el-carousel-item el-carousel-item-spe",attrs:{name:"2"}},t._l(t.detail_img2.logo_urls,(function(t,s){return a("div",{key:s,staticClass:"pre-img-con"},[a("img",{staticClass:"pre-img",attrs:{src:t.url,alt:""}})])})),0),t._v(" "),a("el-carousel-item",{staticClass:"pre-el-carousel-item el-carousel-item-spe",attrs:{name:"3"}},t._l(t.detail_img3.logo_urls,(function(t,s){return a("div",{key:s,staticClass:"pre-img-con"},[a("img",{staticClass:"pre-img",attrs:{src:t.url,alt:""}})])})),0),t._v(" "),a("el-carousel-item",{staticClass:"pre-el-carousel-item el-carousel-item-spe",attrs:{name:"4"}},t._l(t.detail_img4.logo_urls,(function(t,s){return a("div",{key:s,staticClass:"pre-img-con"},[a("img",{staticClass:"pre-img",attrs:{src:t.url,alt:""}})])})),0)],1)],1)])]),t._v(" "),a("footer",{staticClass:"pc-content"},[a("div",{staticClass:"contact"},[t._m(2),t._v(" "),a("p",[t._v(t._s(t.settitle.contactTel))])]),t._v(" "),a("div",{staticClass:"about-con"},[a("div",{staticClass:"about-list"},[a("ul",t._l(t.footerList,(function(s,i){return a("li",{key:i,on:{click:function(i){return t.goToUser(s.id)}}},[t._v(t._s(s.title)+"\n ")])})),0),t._v(" "),a("p",{staticClass:"about-gs"},[t._v("\n "+t._s(t.settitle.bottomCopyright)+"  "),a("img",{staticClass:"icon-image",staticStyle:{"margin-right":"4px"},attrs:{src:i("037c")}}),t._v(t._s(t.settitle.recordNum)+"\n ")])]),t._v(" "),a("div",{staticClass:"about-us"},[a("p",{staticClass:"us-title"},[t._v("联系我们")]),t._v(" "),a("p",[t._v("联系电话:"+t._s(t.settitle.contactTel))]),t._v(" "),a("p",[t._v("公司地址:"+t._s(t.settitle.companyAddress))])])])])]),t._v(" "),a("div",{staticClass:"mobile-content"},[a("div",{staticClass:"mb-menu-icon-con",on:{click:function(s){t.drawer=!0}}},[a("img",{attrs:{src:i("bb7c"),alt:""}})]),t._v(" "),a("el-drawer",{attrs:{visible:t.drawer},on:{"update:visible":function(s){t.drawer=s}}},[a("ul",{staticClass:"mb-menu-list-con"},[a("li",[a("a",{attrs:{href:"/"}},[t._v("首页")])]),t._v(" "),t.navigationObj.open?a("li",[a("a",{attrs:{href:"//"+t.navigationObj.open,target:"_blank"}},[t._v("开放平台")])]):t._e(),t._v(" "),t.navigationObj.shop?a("li",[a("a",{attrs:{href:"//"+t.navigationObj.shop}},[t._v("云仓")])]):t._e(),t._v(" "),a("li",[a("a",{attrs:{href:"//"+t.navigationObj.aboutUs+"/user",target:"_blank"}},[t._v("关于我们")])]),t._v(" "),a("li",{on:{click:t.toLogin}},[t._v("\n 登 录\n ")]),t._v(" "),a("li",{on:{click:t.toRegister}},[t._v("\n 注 册\n ")])])]),t._v(" "),t.bannerList&&t.bannerList.length>0?a("swiper",{staticClass:"mb-banner-con mobile-content",attrs:{options:t.swiperOption}},t._l(t.bannerList,(function(s,i){return a("swiper-slide",{key:i},[a("a",{attrs:{href:t.aLinkRes(s.redirect_url),target:t.returnBlank(s.redirect_url)}},[a("img",{attrs:{src:s.image_url,alt:""}})])])})),1):t._e(),t._v(" "),a("div",{staticClass:"mb-advantage-con mobile-content"},[a("p",{staticClass:"mb-ad-title"},[t._v("核心优势")]),t._v(" "),t.cloud_advantage_lst&&t.cloud_advantage_lst.length>0?a("swiper",{staticClass:"mb-advantage-con-swiper",attrs:{options:t.swiperADOption}},[t._l(t.cloud_advantage_lst,(function(s,i){return a("swiper-slide",{key:i},[a("div",{staticClass:"mb-ad-advantage-details"},[a("div",{class:["mb-ad-pic"+(i+1),"ad-details-pic-con"]}),t._v(" "),a("p",{staticClass:"mb-ad-details-title"},[t._v(t._s(s.title))]),t._v(" "),a("p",{staticClass:"mb-ad-details"},[t._v(t._s(s.content_summary))])])])})),t._v(" "),a("div",{staticClass:"swiper-pagination",attrs:{slot:"pagination"},slot:"pagination"})],2):t._e()],1),t._v(" "),t._m(3),t._v(" "),a("div",{staticClass:"mb-brand-con mobile-content"},[a("p",{staticClass:"mb-brand-title"},[t._v("这些品牌都已入驻")]),t._v(" "),a("div",{staticClass:"mb-brand-con-bg"},[a("p",{staticClass:"mb-brand-type"},[a("span",{staticClass:"mb-clothes",class:{"light-word":0===t.isLight},on:{click:function(s){return t.brandTypeChangeMB(0)}}},[t._v(t._s(t.detail_img1.type))]),t._v(" "),a("span",{staticClass:"mb-electrical",class:{"light-word":1===t.isLight},on:{click:function(s){return t.brandTypeChangeMB(1)}}},[t._v(t._s(t.detail_img2.type))]),t._v(" "),a("span",{staticClass:"mb-food",class:{"light-word":2===t.isLight},on:{click:function(s){return t.brandTypeChangeMB(2)}}},[t._v(t._s(t.detail_img3.type))]),t._v(" "),a("span",{staticClass:"mb-maternal",class:{"light-word":3===t.isLight},on:{click:function(s){return t.brandTypeChangeMB(3)}}},[t._v(t._s(t.detail_img4.type))])]),t._v(" "),a("swiper",{ref:"brandSwiperDom",staticClass:"mb-brand-con-swiper",attrs:{options:t.swiperBrandOptions}},[a("swiper-slide",[a("div",{staticClass:"mb-img-con"},t._l(t.detail_img1.logo_urls,(function(t,s){return a("img",{key:s,attrs:{src:t.url,alt:""}})})),0)]),t._v(" "),a("swiper-slide",[a("div",{staticClass:"mb-img-con"},t._l(t.detail_img2.logo_urls,(function(t,s){return a("img",{key:s,attrs:{src:t.url,alt:""}})})),0)]),t._v(" "),a("swiper-slide",[a("div",{staticClass:"mb-img-con"},t._l(t.detail_img3.logo_urls,(function(t,s){return a("img",{key:s,attrs:{src:t.url,alt:""}})})),0)]),t._v(" "),a("swiper-slide",[a("div",{staticClass:"mb-img-con"},t._l(t.detail_img4.logo_urls,(function(t,s){return a("img",{key:s,attrs:{src:t.url,alt:""}})})),0)])],1)],1)]),t._v(" "),a("div",{staticClass:"mb-footer mobile-content"},[a("div",{staticClass:"mb-about-list"},[a("ul",t._l(t.footerMbList,(function(s,i){return a("li",{key:i,on:{click:function(i){return t.goToUser(s.id)}}},[t._v(t._s(s.title)+"\n ")])})),0),t._v(" "),a("div",{staticClass:"mb-about-us"},[a("p",[t._v("联系电话:"+t._s(t.settitle.contactTel))]),t._v(" "),a("p",[t._v("公司地址:"+t._s(t.settitle.companyAddress))])]),t._v(" "),a("p",{staticClass:"mb-about-gs"},[t._v("\n "+t._s(t.settitle.bottomCopyright)+"  "),a("img",{staticClass:"icon-image",staticStyle:{"margin-right":"4px"},attrs:{src:i("037c")}}),t._v(t._s(t.settitle.recordNum)+"\n ")])])])],1)])},e=[function(){var t=this,s=t.$createElement,i=t._self._c||s;return i("li",[i("a",{attrs:{href:"/"}},[t._v("首页")])])},function(){var t=this,s=t.$createElement,i=t._self._c||s;return i("section",{staticClass:"pc-content",staticStyle:{"padding-bottom":"90px","background-color":"#f9f9fa"}},[i("p",{staticClass:"process-title"},[t._v("入驻流程和材料")]),t._v(" "),i("div",{staticClass:"process-con"},[i("div",{staticClass:"process-steps"},[i("div",{staticClass:"pro-step"},[i("dl",[i("dt",{staticClass:"step-one"}),t._v(" "),i("dd",[t._v("第一步:注册账号")])]),t._v(" "),i("span",[t._v("无需等待")]),t._v(" "),i("p",[t._v("进入云仓官网,注册账号")]),t._v(" "),i("p",[t._v("注册完成后,填写相关信息")])]),t._v(" "),i("div",{staticClass:"pro-step"},[i("dl",[i("dt",{staticClass:"step-two"}),t._v(" "),i("dd",[t._v("第二步:填写信息")])]),t._v(" "),i("span",[t._v("约20分钟")]),t._v(" "),i("p",[t._v("确认在线协议填写公司主体信息")]),t._v(" "),i("p",[t._v("填写店铺信息提交相关资质")])]),t._v(" "),i("div",{staticClass:"pro-step"},[i("dl",[i("dt",{staticClass:"step-three"}),t._v(" "),i("dd",[t._v("第三步:等待审核")])]),t._v(" "),i("span",[t._v("约1-3个工作日")]),t._v(" "),i("p",[t._v("云仓工作人员会在1-3个工作日内")]),t._v(" "),i("p",[t._v("反馈审核结果,商家可通过登录查询审核进度")])]),t._v(" "),i("div",{staticClass:"pro-step"},[i("dl",[i("dt",{staticClass:"step-four"}),t._v(" "),i("dd",[t._v("第四步:发布商品")])]),t._v(" "),i("span",[t._v("无需等待")]),t._v(" "),i("p",[t._v("审核通过,商家登录后台")]),t._v(" "),i("p",[t._v("商家发布商品并上架")])])]),t._v(" "),i("div",{staticClass:"process-mater"},[i("div",{staticClass:"pro-ma"},[i("p",{staticClass:"set-in-ma m-bg"},[t._v("入驻必备材料")]),t._v(" "),i("div",{staticClass:"optional"},[i("ul",[i("li",[t._v("营业执照电子版")]),t._v(" "),i("li",[t._v("法人证件电子版")])])])]),t._v(" "),i("div",{staticClass:"pro-ma"},[i("p",{staticClass:"set-in-ma n-m-bg"},[t._v("入驻选填材料")]),t._v(" "),i("div",{staticClass:"optional"},[i("ul",[i("li",[t._v("品牌LOGO")]),t._v(" "),i("li",[t._v("其它行业资质")])]),t._v(" "),i("ul",[i("li",[t._v("品牌授权(代理品需提供)")]),t._v(" "),i("li",[t._v("店铺LOGO")])])])])])])])},function(){var t=this,s=t.$createElement,i=t._self._c||s;return i("p",[t._v("如果你想要更多的"),i("span",[t._v("了解")]),t._v(",请联系我们")])},function(){var t=this,s=t.$createElement,a=t._self._c||s;return a("div",{staticClass:"mb-process-con mobile-content"},[a("p",{staticClass:"mb-process-con-title"},[t._v("入驻流程和材料")]),t._v(" "),a("div",{staticClass:"mb-process"},[a("div",{staticClass:"mb-pre-process-con"},[a("div",{staticClass:"step-pic"},[a("img",{attrs:{src:i("1795"),alt:""}})]),t._v(" "),a("p",{staticClass:"step-title"},[t._v("第一步:注册账号")]),t._v(" "),a("p",{staticClass:"step-cont-text"},[t._v("进入云仓官网,注册账号,注册完成后,填写相关信息")])]),t._v(" "),a("div",{staticClass:"mb-pre-process-con"},[a("div",{staticClass:"step-pic"},[a("img",{attrs:{src:i("cca6"),alt:""}})]),t._v(" "),a("p",{staticClass:"step-title"},[t._v("第二步:填写信息")]),t._v(" "),a("p",{staticClass:"step-cont-text"},[t._v("确认在线协议填写公司主体信息填写店铺信息提交相关资质")])])]),t._v(" "),a("div",{staticClass:"mb-process"},[a("div",{staticClass:"mb-pre-process-con"},[a("div",{staticClass:"step-pic"},[a("img",{attrs:{src:i("cc07"),alt:""}})]),t._v(" "),a("p",{staticClass:"step-title"},[t._v("第三步:等待审核")]),t._v(" "),a("p",{staticClass:"step-cont-text"},[t._v("云仓工作人员会在1-3个工作日内反馈审核结果,商家可通过登录查询审核进度")])]),t._v(" "),a("div",{staticClass:"mb-pre-process-con"},[a("div",{staticClass:"step-pic"},[a("img",{attrs:{src:i("88ff"),alt:""}})]),t._v(" "),a("p",{staticClass:"step-title"},[t._v("第四步:发布商品")]),t._v(" "),a("p",{staticClass:"step-cont-text"},[t._v("审核通过,商家登录后台,商家发布商品并上架")])])]),t._v(" "),a("div",{staticClass:"doc-bg-con"},[a("p",{staticClass:"doc-title doc-title-mst"},[t._v("入驻必备材料")]),t._v(" "),a("ul",{staticClass:"doc-ul-list"},[a("li",[t._v("营业执照电子版")]),t._v(" "),a("li",[t._v("法人证件电子版")])])]),t._v(" "),a("div",{staticClass:"doc-bg-con"},[a("p",{staticClass:"doc-title doc-title-no-mst"},[t._v("入驻选填材料")]),t._v(" "),a("div",{staticClass:"doc-ul-list-spe"},[a("ul",{staticClass:"doc-ul-list"},[a("li",[t._v("品牌LOGO")]),t._v(" "),a("li",[t._v("其他行业资质")])]),t._v(" "),a("ul",{staticClass:"doc-ul-list"},[a("li",[t._v("品牌授权(代理品需提供)")]),t._v(" "),a("li",[t._v("店铺LOGO")])])])])])}],n=(i("1bc7"),i("aa18"),i("982e"),i("4360")),l=i("5302");(function(){var t=document.documentElement.clientWidth;if(t<961){var s=document.querySelector("html");s.style.fontSize=t/750*50*2+"px"}})();var o={name:"newyuncang",metaInfo:function(){return{title:this.keyTitle,meta:[{name:"keywords",content:this.keyWords},{name:"description",content:this.keyDescriptions}]}},watch:{},data:function(){var t=this;return{ssourl:"",keyTitle:"",keyWords:"",keyDescriptions:"",bannerList:[],cloud_advantage_lst:[],settitle:{bottomCopyright:"",businessHours:1,companyAddress:"",contactTel:"",custServiceQrcode:"",hotlineTel1:"",hotlineTel2:"",onlineTimeEnd:"18:00",onlineTimeStart:"09:00",recordNum:"",topLogo:""},channel_id:0,isScroll:!1,isAdHover:!1,isHasBorder:!1,indexAddom:!1,isLight:0,navigationObj:{home:"",open:"",shop:"",aboutUs:""},gwToken:"",swiperOption:{loop:!0,autoplay:{delay:4e3,disableOnInteraction:!1},initialSlide:0,direction:"horizontal",slidesPerView:1,observer:!0,observeParents:!0},swiperADOption:{loop:!0,pagination:{el:".swiper-pagination",clickable:!0,type:"bullets"},autoplay:{delay:4e3,disableOnInteraction:!1},initialSlide:0,direction:"horizontal",slidesPerView:1,observer:!0,observeParents:!0},swiperBrandOptions:{loop:!1,autoplay:!1,initialSlide:0,direction:"horizontal",slidesPerView:1,observer:!0,observeParents:!0,on:{slideChange:function(){t.isLight=this.activeIndex}}},detail_img1:{index:1,type:"",logo_urls:[{url:""},{url:""},{url:""},{url:""},{url:""},{url:""},{url:""},{url:""},{url:""},{url:""},{url:""},{url:""}]},detail_img2:{index:2,type:"",logo_urls:[{url:""},{url:""},{url:""},{url:""},{url:""},{url:""},{url:""},{url:""},{url:""},{url:""},{url:""},{url:""}]},detail_img3:{index:3,type:"",logo_urls:[{url:""},{url:""},{url:""},{url:""},{url:""},{url:""},{url:""},{url:""},{url:""},{url:""},{url:""},{url:""}]},detail_img4:{index:4,type:"",logo_urls:[{url:""},{url:""},{url:""},{url:""},{url:""},{url:""},{url:""},{url:""},{url:""},{url:""},{url:""},{url:""}]},footerList:[{id:1,title:"企业简介"},{id:2,title:"发展历程"},{id:3,title:"荣誉资质"},{id:4,title:"团队介绍"},{id:5,title:"新闻动态"}],drawer:!1,footerMbList:[{id:1,title:"企业简介"},{id:2,title:"发展历程"},{id:3,title:"荣誉资质"},{id:4,title:"团队介绍"},{id:5,title:"新闻动态"},{id:6,title:""}],brandIndex:0}},created:function(){this.IsPc();this.getssourl()},mounted:function(){this.getIndexInfo(),window.addEventListener("scroll",this.handleScroll,!0)},destroyed:function(){window.removeEventListener("scroll",this.handleScroll)},methods:{getssourl:function(){var t=this,s=window.location.host,i={domain:s};this.$store.dispatch("getssourl",i).then((function(s){1==s.code&&(t.ssourl=s.data.sso_url)})).catch((function(){}))},IsPc:function(){var t=navigator.userAgent,s=["Android","iPhone","SymbianOS","Windows Phone","iPad","iPod"];return s.some((function(s){return t.includes(s)}))},getIndexInfo:function(){var t=this;if("localhost"==window.location.hostname)var s="www.stbz.net";else s=window.location.host;var i={domain:s};Object(l["e"])(i).then((function(s){1==s.code&&(t.channel_id=s.data.channel_id,t.keyTitle=s.data.title,t.keyWords=s.data.keywords,t.keyDescriptions=s.data.describe,t.getWebSite(),t.getDomain(),t.getAllcloud())}))},getWebSite:function(){var t=this,s={channel_ids:this.channel_id};Object(l["f"])(s).then((function(s){1==s.code&&s.data.universal_lst&&"null"!=s.data.universal_lst&&(t.settitle=s.data.universal_lst)}))},getDomain:function(){var t=this,s={channel_ids:this.channel_id};Object(l["c"])(s).then((function(s){1==s.code&&s.data&&(t.navigationObj.home="",t.navigationObj.open=s.data.Open.domain,t.navigationObj.shop=s.data.Cloud.domain,t.navigationObj.aboutUs=s.data.Official.domain)}))},getAllcloud:function(){var t=this,s={new_channel_id:this.channel_id};Object(l["b"])(s).then((function(s){if(1==s.code&&s.data){if(s.data.cloud_advantage_lst&&s.data.cloud_advantage_lst.length>0&&(t.cloud_advantage_lst=s.data.cloud_advantage_lst),s.data.cloud_banner_lst&&s.data.cloud_banner_lst.banners_json&&s.data.cloud_banner_lst.banners_json.length>0){var i=[];s.data.cloud_banner_lst.banners_json.forEach((function(t){t.image_url&&i.push(t)})),t.bannerList=i}s.data.cloud_supplier_lst&&s.data.cloud_supplier_lst.detail_json&&(t.detail_img1=s.data.cloud_supplier_lst.detail_json[0],t.detail_img2=s.data.cloud_supplier_lst.detail_json[1],t.detail_img3=s.data.cloud_supplier_lst.detail_json[2],t.detail_img4=s.data.cloud_supplier_lst.detail_json[3])}}))},aLinkRes:function(t){var s="";return s=t||"javascript:void(0);",s},returnBlank:function(t){var s="";return s=t?"_blank":"",s},handleScroll:function(){var t=window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop;this.isScroll=t>100},brandTypeChange:function(t){this.$refs.cardShow.setActiveItem(t),this.isLight=t},brandTypeChangeMB:function(t){this.isLight=t,this.$refs.brandSwiperDom.$swiper.slideTo(t,1e3,!1)},brandCarChange:function(){this.isLight=this.$refs.cardShow.activeIndex},adHover:function(t){this.isAdHover=!0,this.indexAddom=t},adLeave:function(t){this.isAdHover=!1,this.indexAddom=-1},goToUser:function(t){var s="";this.navigationObj.aboutUs&&(s=this.navigationObj.aboutUs+"/user?id="+t,window.location.href="//"+s)},toRegister:function(){var t=this;n["a"].dispatch("LogOut").then((function(){var s=window.location.host,i=document.location.protocol;window.location.href=i+"//"+t.ssourl+"/login.html?redirect="+i+"//"+s+"/platformlogin"}))},toLogin:function(){var t=window.location.host,s=document.location.protocol;window.location.href=s+"//"+this.ssourl+"/login.html?redirect="+s+"//"+t+"/platformlogin"}}},r=o,c=(i("b04d"),i("cba8")),d=Object(c["a"])(r,a,e,!1,null,"6b49f6a6",null);s["default"]=d.exports},b04d:function(t,s,i){"use strict";i("a017")},bb7c:function(t,s){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAbCAYAAAAdx42aAAAAAXNSR0IArs4c6QAAAQ9JREFUSEvt1r0uBWEQxvHfe3w1okCjdQE64Q4kCq1Eo3IJLkApEXqlxAXoJAqNQtQqF3AqNOQkxDEyG0QO9buKnWST7Z7/8+z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s5yNBIkOhLOAhDQ5n6J5a4CYbA8JlB8GNzzopSLZ+Xv1TsFoUKgSoSMkBpdJ7jaY5EIGSE4MQEnidBfX5axhTNIegCzDy2cgAgFUqlwZl0km7330+g6bs+drX05Ne5Ir73xTlPhO5+Tb7bOJdlONlV3Qx5p10eoYigcGpxw+GZXPz1eG8WQmuWuSs3VUtWk5eO0GGrbIy/p7eB9/3noO5YPRCQ8xHgsOqEm6PI8RYv7XUt5ihpQSjmsNtqwT67qXMSj/hp+XVWBK715qRqhssHw8CCaNp4xL9UKu8q7F7+rPA0RBB+hBdY5bogURdrZYAW0AVJ+Rj13X9d8/oM3z/uXzyuWOVtSn6WEH5ObRM8hy4aBaTVY0gHsT1b7Tzf+N9pVHbXVL9y97B/Tp7mvs7+MYaTkeWTgD1Y3n9FmR5uUf5IPOM+oDR88vrKzdUH1PT6v6xJb2wmOQuLeQt2ffOucbQ3IPZMXUB+8K7NQv7sO7luyvG1R3abaanebxy3Upx/1+qQhkJ+BOIzUXjNreFjBm2oArM5b9vfnPICfADwqYE880+9hAAAAAElFTkSuQmCC"}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-b0d57d44"],{"8dd8":function(o,e,t){},dd7b:function(o,e,t){"use strict";t.r(e);t("7ded"),t("a78e"),t("720d");var n,i,c={name:"Login",data:function(){return{codeUrl:"",cookiePassword:"",gwToken:"",loginForm:{username:"demo",password:"123456",rememberMe:!1,code:"",uuid:""},loginRules:{},loading:!1,redirect:void 0}},watch:{$route:{handler:function(o){this.redirect=o.query&&o.query.redirect},immediate:!0}},created:function(){this.getssourl()},methods:{getssourl:function(){var o=this,e=window.location.host,t={domain:e};this.$store.dispatch("getssourl",t).then((function(e){1==e.code&&(o.ssourl=e.data.sso_url,o.tiaozuan())})).catch((function(){}))},tiaozuan:function(){if(console.log(this.gwToken),""==this.gwToken||null==this.gwToken){var o=window.location.host,e=document.location.protocol,t=this;setTimeout((function(){window.location.href=e+"//"+t.ssourl+"/login.html?redirect="+e+"//"+o+"/platformlogin"}),1e3)}}}},s=c,d=(t("eecc"),t("2877")),r=Object(d["a"])(s,n,i,!1,null,null,null);e["default"]=r.exports},eecc:function(o,e,t){"use strict";t("8dd8")}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-fbeba9ea"],{"14d7":function(e,t,s){},5596:function(e,t,s){"use strict";s("14d7")},"6b1f":function(e,t,s){"use strict";s.d(t,"g",(function(){return o})),s.d(t,"i",(function(){return r})),s.d(t,"b",(function(){return a})),s.d(t,"d",(function(){return n})),s.d(t,"a",(function(){return l})),s.d(t,"l",(function(){return c})),s.d(t,"j",(function(){return g})),s.d(t,"c",(function(){return u})),s.d(t,"m",(function(){return m})),s.d(t,"e",(function(){return p})),s.d(t,"h",(function(){return d})),s.d(t,"f",(function(){return h})),s.d(t,"k",(function(){return f}));var i=s("b775");function o(e){return Object(i["a"])({url:"/system/index/getInfo",method:"get",params:e})}function r(e){return Object(i["a"])({url:"/local/getOrganization",method:"get",params:e})}function a(e){return Object(i["a"])({url:"/local/organization",method:"post",data:e})}function n(e){return Object(i["a"])({url:"/local/shopbrand",method:"get",params:e})}function l(e){return Object(i["a"])({url:"/local/brands",method:"post",data:e})}function c(e){return Object(i["a"])({url:"/local/upbrands",method:"post",data:e})}function g(e){return Object(i["a"])({url:"/local/getShopInfo",method:"get",params:e})}function u(e){return Object(i["a"])({url:"/local/addShopInfo",method:"post",data:e})}function m(e){return Object(i["a"])({url:"/system/goodsNew/uploadImage",method:"post",data:e})}function p(e){return Object(i["a"])({url:"/local/cate",method:"get",params:e})}function d(e){return Object(i["a"])({url:"/local/check/businessLicense",method:"get",params:e})}function h(e){return Object(i["a"])({url:"/local/check/idCard",method:"get",params:e})}function f(e){return Object(i["a"])({url:"/local/qualification/list",method:"get",params:e})}},ba53:function(e,t,s){"use strict";s.r(t);var i=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"fill-store-inf"},[s("div",{staticClass:"logo-bg"},[e._e()]),e._v(" "),s("el-card",{staticClass:"box-card"},[s("div",{staticClass:"clearfix steps",attrs:{slot:"header"},slot:"header"},[s("el-steps",{attrs:{active:2,"align-center":"","finish-status":"success"}},[s("el-step",{attrs:{title:"注册账号"}}),e._v(" "),s("el-step",{attrs:{title:"填写主体信息"}}),e._v(" "),s("el-step",{attrs:{title:"填写店铺信息"}}),e._v(" "),s("el-step",{attrs:{title:"提交入驻审核"}})],1)],1),e._v(" "),s("div",{staticClass:"main-con"},[s("el-form",{ref:"storeForm",attrs:{model:e.storeForm,rules:e.shopRules,"label-width":"180px",size:"small"}},[s("el-form-item",{attrs:{label:"电商平台经验:",prop:"is_business_experience"}},[s("el-radio-group",{model:{value:e.storeForm.is_business_experience,callback:function(t){e.$set(e.storeForm,"is_business_experience",t)},expression:"storeForm.is_business_experience"}},[s("el-radio",{attrs:{label:1}},[e._v("有")]),e._v(" "),s("el-radio",{attrs:{label:0}},[e._v("无")])],1)],1),e._v(" "),s("el-form-item",{attrs:{label:"店铺名称:",prop:"store_name","inline-message":"true"}},[s("el-input",{staticStyle:{width:"400px"},attrs:{placeholder:"请输入店铺名称"},model:{value:e.storeForm.store_name,callback:function(t){e.$set(e.storeForm,"store_name",t)},expression:"storeForm.store_name"}})],1),e._v(" "),s("el-form-item",{attrs:{label:"经营类目:",prop:"scope"}},[s("el-select",{staticStyle:{width:"400px"},attrs:{multiple:"",placeholder:"请选择..."},on:{"remove-tag":e.removeTag,"visible-change":function(t){return e.scopeVisibleChange(t)}},model:{value:e.storeForm.scope,callback:function(t){e.$set(e.storeForm,"scope",t)},expression:"storeForm.scope"}},e._l(e.scopeOptions,(function(e){return s("el-option",{key:e.id,attrs:{label:e.title,value:e.id}})})),1)],1),e._v(" "),s("el-form-item",{attrs:{label:"店铺LOGO:",prop:"shop_logo"}},[s("div",{staticStyle:{width:"100%",height:"100%",display:"flex","flex-direction":"row","justify-content":"normal"}},[s("div",{staticStyle:{"padding-right":"6px"}},[s("el-upload",{class:["uploadData",{"hiden-dom":e.logoImgFileList.length>=1}],attrs:{action:"#","list-type":"picture-card",limit:1,"on-exceed":e.showTip1,"before-upload":e.beforeUpLogoImg,"http-request":e.uploadLogoImgs,"on-preview":e.handlePictureCardPreview,"on-remove":e.handleRemove,"file-list":e.logoImgFileList}},[s("i",{staticClass:"el-icon-plus"})]),e._v(" "),s("el-dialog",{attrs:{visible:e.dialogVisible},on:{"update:visible":function(t){e.dialogVisible=t}}},[s("img",{attrs:{width:"100%",src:e.dialogImageUrl,alt:""}})])],1),e._v(" "),s("div",[s("span",{staticClass:"tips-text"},[s("i",{staticClass:"el-icon-warning h-warning"})])]),e._v(" "),s("div",{staticStyle:{width:"380px","line-height":"24px","padding-top":"6px"}},[s("span",{staticClass:"tips-text"},[e._v("请上传店铺LOGO,文件大小在500KB以内,支持png,jpg格式,最多可上传1张")])])])]),e._v(" "),s("el-form-item",{attrs:{label:"运营负责人:",prop:"emergency_name","inline-message":"true"}},[s("el-input",{staticStyle:{width:"400px"},attrs:{placeholder:"请输入运营负责人姓名"},model:{value:e.storeForm.emergency_name,callback:function(t){e.$set(e.storeForm,"emergency_name",t)},expression:"storeForm.emergency_name"}})],1),e._v(" "),s("el-form-item",{attrs:{label:"联系电话:",prop:"emergency_tel"}},[s("el-input",{staticStyle:{width:"400px"},attrs:{placeholder:"请输入联系电话"},model:{value:e.storeForm.emergency_tel,callback:function(t){e.$set(e.storeForm,"emergency_tel",t)},expression:"storeForm.emergency_tel"}})],1),e._v(" "),s("el-form-item",[s("p",{staticStyle:{width:"580px","line-height":"24px","font-size":"14px",margin:"0"}},[e._v("需要提交特殊产品资质的类目请将资质上传在此处,包括全国工业生产许可证、3C、医疗品械\n 生产许可证、化妆品生产企业许可证等,根据具体类目资质要求提交")])]),e._v(" "),s("el-form-item",{attrs:{label:"其他资质:"}},[s("div",{staticClass:"auth-con"},e._l(e.qualificationList,(function(t,i){return s("div",{key:t.id,staticClass:"single-upload-con"},[s("div",{directives:[{name:"show",rawName:"v-show",value:!t.url,expression:"!item.url"}],staticClass:"single-auth-img el-icon-plus",on:{click:function(t){return e.upPreAuthImg(i)}}}),e._v(" "),s("div",{directives:[{name:"show",rawName:"v-show",value:t.url,expression:"item.url"}],staticClass:"single-auth-img-con"},[s("img",{staticClass:"auth-spec-img",attrs:{src:t.url,alt:""}}),e._v(" "),s("span",{staticClass:"span-img-del-loading"},[s("span",{staticClass:"span-img-del el-icon-zoom-in zoom-span-block",on:{click:function(s){return e.viewSingleSpecImg(i,t)}}}),e._v(" "),s("span",{staticClass:"span-img-del el-icon-delete del-span-block",on:{click:function(s){return e.delSingleSpecImg(i,t)}}})])]),e._v(" "),s("div",{staticClass:"single-title"},[e._v(e._s(e.authTitleFormatter(t.content)))]),e._v(" "),s("input",{ref:"hxz"+i,refInFor:!0,staticStyle:{display:"none"},attrs:{type:"file",accept:"image/*"},on:{change:function(s){return e.changeIMG(i,t)}}})])})),0)]),e._v(" "),s("el-form-item",{staticClass:"confirm-btn"},[s("div",[s("el-button",{staticStyle:{"margin-right":"40px"},attrs:{type:"primary"},on:{click:e.back}},[e._v("上一步")]),e._v(" "),s("el-button",{attrs:{type:"primary"},on:{click:function(t){return e.next("storeForm")}}},[e._v("提交审核")])],1)])],1)],1)]),e._v(" "),s("el-dialog",{staticClass:"img-dialog-con",attrs:{visible:e.imgDialog,"destroy-on-close":!0,width:"60%",center:"","close-on-click-modal":!1},on:{"update:visible":function(t){e.imgDialog=t}}},[s("img",{staticClass:"img-spe",attrs:{src:e.qualificationUrl,alt:""}})])],1)},o=[],r=(s("ac6a"),s("28a5"),s("6b1f")),a={name:"FillShopInf",data:function(){var e=this,t=function(t,s,i){e.logoImgFileList.length>0?i():0===e.logoImgFileList.length&&i(new Error("店铺logo图片至少上传一张"))},s=function(e,t,s){var i=/^1[3456789]\d{9}$/;i.test(t)?s():s(new Error("手机号码格式有误"))};return{dialogImageUrl:"",dialogVisible:!1,dialogImageUrl2:"",dialogVisible2:!1,logoImgFileList:[],businessImgFileList:[],scopeOptions:[],storeForm:{is_business_experience:0,store_name:"",scope:[],shop_logo:"",business_auth:"",emergency_name:""},shopRules:{store_name:[{required:!0,message:"店铺名称不能为空",trigger:"blur"},{max:36,message:"店铺名称最多输入36个字符",trigger:"blur"}],scope:[{required:!0,message:"经营类目至少选择一种",trigger:"change"}],shop_logo:[{required:!0,message:"店铺Logo至少上传一张图片",validator:t}],emergency_name:[{required:!0,message:"运营负责人不能为空",trigger:"blur"}],emergency_tel:[{required:!0,message:"联系人手机号码不能为空",trigger:"blur"},{required:!0,validator:s,trigger:"blur"}]},qualificationList:[],qualificationUrl:"",imgDialog:!1}},created:function(){var e=this;Object(r["e"])().then((function(t){1==t.code?e.scopeOptions=t.data:e.$message({type:"error",message:t.message?t.message:""})})),Object(r["g"])().then((function(t){1==t.code&&t.data.user?t.data.user.state>0&&e.getShop():e.$message({type:"error",message:t.message?t.message:"获取数据失败"})}))},mounted:function(){},methods:{showTip1:function(e,t){this.$message({message:"最多上传1张图片",type:"warning"})},showTip20:function(e,t){this.$message({message:"最多上传20张图片",type:"warning"})},beforeUpLogoImg:function(e){var t=e.size/1024>500;return"image/png"!==e.type&&"image/jpg"!==e.type&&"image/jpeg"!=e.type?(this.$message({message:"上传图片格式只支持png/png格式",type:"warning"}),!1):t?(this.$message({message:"上传图片大小不能超过500kb",type:"warning"}),!1):void 0},beforeUpBusImg:function(e){var t=e.size/1024/1024>2;return"image/png"!==e.type&&"image/jpg"!==e.type&&"image/jpeg"!=e.type?(this.$message({message:"上传图片格式只支持png/png格式",type:"warning"}),!1):t?(this.$message({message:"上传图片大小不能超过2M",type:"warning"}),!1):void 0},getShop:function(){var e=this;Object(r["j"])().then((function(t){if(1==t.code){if(e.storeForm.scope=[],""===t.data.scope)e.storeForm.scope=[];else{for(var s=t.data.scope.split(","),i=[],o=0;o<s.length;o++)i.push(parseInt(s[o]));e.storeForm=t.data,e.storeForm.scope=i}var r=[],a={};r=e.storeForm.shop_logo.split(","),r.length>0?r.forEach((function(t){a={},t&&(a.url=t,e.logoImgFileList.push(a))})):e.logoImgFileList=[],e.qualificationList=e.storeForm.qualification}else e.$message({type:"error",message:t.message?t.message:""})}))},uploadLogoImgs:function(e){var t=this;this.getBase64(e.file).then((function(e){var s=e.split(",");t.Base64img=s[1];var i={img_data:t.Base64img};Object(r["m"])(i).then((function(e){1==e.code?(t.logoImgFileList.push({url:e.data.image_url}),t.$message({type:"success",message:"上传成功"}),t.$refs.storeForm.clearValidate("shop_logo")):t.$message({type:"error",message:e.message?e.message:"上传失败"})}))}))},uploadBusinessImgs:function(e){console.log(368,e)},handlePictureCardPreview:function(e){this.dialogImageUrl=e.url,this.dialogVisible=!0},handleRemove:function(e,t){for(var s=0;s<this.logoImgFileList.length;s++)e.uid===this.logoImgFileList[s].uid&&this.logoImgFileList.splice(s,1)},handlePictureCardPreview2:function(e){this.dialogImageUrl2=e.url,this.dialogVisible2=!0},handleRemove2:function(e,t){for(var s=0;s<this.businessImgFileList.length;s++)e.uid===this.businessImgFileList[s].uid&&this.businessImgFileList.splice(s,1)},getBase64:function(e){return new Promise((function(t,s){var i=new FileReader,o="";i.readAsDataURL(e),i.onload=function(){o=i.result},i.onerror=function(e){s(e)},i.onloadend=function(){t(o)}}))},back:function(){this.$router.push("/fillMainInf")},next:function(e){var t=this,s=!1;if(this.qualificationList.length>0){for(var i=0;i<this.qualificationList.length;i++)if(!this.qualificationList[i].url){s=!0;break}if(s)return void this.$message({type:"warning",message:"请上传对应资质所需的图片"})}for(var o="",a=0;a<this.storeForm.scope.length;a++)o+=this.storeForm.scope[a]+",";if(this.storeForm.scope=o.substring(0,o.length-1),this.logoImgFileList.length>0)for(var n=0;n<this.logoImgFileList.length;n++)0===n?this.storeForm.shop_logo=this.logoImgFileList[n].url:this.storeForm.shop_logo+=","+this.logoImgFileList[n].url;this.storeForm.qualification_auth=JSON.stringify(this.qualificationList),this.$refs[e].validate((function(e){if(e)Object(r["c"])(t.storeForm).then((function(e){if(1==e.code)t.$router.push("/reviewing");else if(t.$message({type:"error",message:e.message?e.message:"保存失败"}),""===t.storeForm.scope)t.storeForm.scope=[];else{for(var s=t.storeForm.scope.split(","),i=[],o=0;o<s.length;o++)i.push(parseInt(s[o]));t.storeForm.scope=i}}));else if(""===t.storeForm.scope)t.storeForm.scope=[];else{for(var s=t.storeForm.scope.split(","),i=[],o=0;o<s.length;o++)i.push(parseInt(s[o]));t.storeForm.scope=i}}))},removeTag:function(e){var t=this;if(e&&(0==this.storeForm.scope.length&&(this.qualificationList=[]),this.storeForm.scope.length>0)){var s={cate_ids:this.storeForm.scope};Object(r["k"])(s).then((function(e){1==e.code&&(t.qualificationList=e.data?e.data:[])}))}},scopeVisibleChange:function(e){var t=this;if(!e&&Array.isArray(this.storeForm.scope)&&this.storeForm.scope.length>0){var s={cate_ids:this.storeForm.scope};Object(r["k"])(s).then((function(e){1==e.code&&(t.qualificationList=e.data?e.data:[])}))}},upPreAuthImg:function(e){var t="hxz"+e;this.$refs[t][0].value="",this.$refs[t][0].click()},changeIMG:function(e,t){var s=this,i=t,o="hxz"+e,a=this.$refs[o][0].files[0];a.size>3145728?this.$message({type:"error",message:"规格图片不能大于 3 M"}):this.getBase64(a).then((function(e){var t=e.split(",");s.Base64img=t[1];var o={img_data:s.Base64img};Object(r["m"])(o).then((function(e){e&&1==e.code?(i.url=e.data.image_url,s.$message({message:"上传成功",type:"success"})):s.$message({message:"上传失败,请重新上传",type:"error"})}))}))},delSingleSpecImg:function(e,t){t.url&&(t.url="",this.$message({type:"success",message:"删除成功"}))},viewSingleSpecImg:function(e,t){this.imgDialog=!1,t.url&&(this.imgDialog=!0,this.qualificationUrl=t.url)},authTitleFormatter:function(e){var t="";return e&&(t=e.trim()),t}}},n=a,l=(s("5596"),s("2877")),c=Object(l["a"])(n,i,o,!1,null,"03e54cd7",null);t["default"]=c.exports}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-bd8611ca"],{"2a90":function(e,t,s){},5596:function(e,t,s){"use strict";s("2a90")},"6b1f":function(e,t,s){"use strict";s.d(t,"g",(function(){return o})),s.d(t,"i",(function(){return r})),s.d(t,"b",(function(){return a})),s.d(t,"d",(function(){return n})),s.d(t,"a",(function(){return l})),s.d(t,"l",(function(){return c})),s.d(t,"j",(function(){return g})),s.d(t,"c",(function(){return u})),s.d(t,"m",(function(){return m})),s.d(t,"e",(function(){return p})),s.d(t,"h",(function(){return d})),s.d(t,"f",(function(){return h})),s.d(t,"k",(function(){return f}));var i=s("b775");function o(e){return Object(i["a"])({url:"/system/index/getInfo",method:"get",params:e})}function r(e){return Object(i["a"])({url:"/local/getOrganization",method:"get",params:e})}function a(e){return Object(i["a"])({url:"/local/organization",method:"post",data:e})}function n(e){return Object(i["a"])({url:"/local/shopbrand",method:"get",params:e})}function l(e){return Object(i["a"])({url:"/local/brands",method:"post",data:e})}function c(e){return Object(i["a"])({url:"/local/upbrands",method:"post",data:e})}function g(e){return Object(i["a"])({url:"/local/getShopInfo",method:"get",params:e})}function u(e){return Object(i["a"])({url:"/local/addShopInfo",method:"post",data:e})}function m(e){return Object(i["a"])({url:"/system/goodsNew/uploadImage",method:"post",data:e})}function p(e){return Object(i["a"])({url:"/local/cate",method:"get",params:e})}function d(e){return Object(i["a"])({url:"/local/check/businessLicense",method:"get",params:e})}function h(e){return Object(i["a"])({url:"/local/check/idCard",method:"get",params:e})}function f(e){return Object(i["a"])({url:"/local/qualification/list",method:"get",params:e})}},ba53:function(e,t,s){"use strict";s.r(t);var i=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"fill-store-inf"},[s("div",{staticClass:"logo-bg"},[e._e()]),e._v(" "),s("el-card",{staticClass:"box-card"},[s("div",{staticClass:"clearfix steps",attrs:{slot:"header"},slot:"header"},[s("el-steps",{attrs:{active:2,"align-center":"","finish-status":"success"}},[s("el-step",{attrs:{title:"注册账号"}}),e._v(" "),s("el-step",{attrs:{title:"填写主体信息"}}),e._v(" "),s("el-step",{attrs:{title:"填写店铺信息"}}),e._v(" "),s("el-step",{attrs:{title:"提交入驻审核"}})],1)],1),e._v(" "),s("div",{staticClass:"main-con"},[s("el-form",{ref:"storeForm",attrs:{model:e.storeForm,rules:e.shopRules,"label-width":"180px",size:"small"}},[s("el-form-item",{attrs:{label:"电商平台经验:",prop:"is_business_experience"}},[s("el-radio-group",{model:{value:e.storeForm.is_business_experience,callback:function(t){e.$set(e.storeForm,"is_business_experience",t)},expression:"storeForm.is_business_experience"}},[s("el-radio",{attrs:{label:1}},[e._v("有")]),e._v(" "),s("el-radio",{attrs:{label:0}},[e._v("无")])],1)],1),e._v(" "),s("el-form-item",{attrs:{label:"店铺名称:",prop:"store_name","inline-message":"true"}},[s("el-input",{staticStyle:{width:"400px"},attrs:{placeholder:"请输入店铺名称"},model:{value:e.storeForm.store_name,callback:function(t){e.$set(e.storeForm,"store_name",t)},expression:"storeForm.store_name"}})],1),e._v(" "),s("el-form-item",{attrs:{label:"经营类目:",prop:"scope"}},[s("el-select",{staticStyle:{width:"400px"},attrs:{multiple:"",placeholder:"请选择..."},on:{"remove-tag":e.removeTag,"visible-change":function(t){return e.scopeVisibleChange(t)}},model:{value:e.storeForm.scope,callback:function(t){e.$set(e.storeForm,"scope",t)},expression:"storeForm.scope"}},e._l(e.scopeOptions,(function(e){return s("el-option",{key:e.id,attrs:{label:e.title,value:e.id}})})),1)],1),e._v(" "),s("el-form-item",{attrs:{label:"店铺LOGO:",prop:"shop_logo"}},[s("div",{staticStyle:{width:"100%",height:"100%",display:"flex","flex-direction":"row","justify-content":"normal"}},[s("div",{staticStyle:{"padding-right":"6px"}},[s("el-upload",{class:["uploadData",{"hiden-dom":e.logoImgFileList.length>=1}],attrs:{action:"#","list-type":"picture-card",limit:1,"on-exceed":e.showTip1,"before-upload":e.beforeUpLogoImg,"http-request":e.uploadLogoImgs,"on-preview":e.handlePictureCardPreview,"on-remove":e.handleRemove,"file-list":e.logoImgFileList}},[s("i",{staticClass:"el-icon-plus"})]),e._v(" "),s("el-dialog",{attrs:{visible:e.dialogVisible},on:{"update:visible":function(t){e.dialogVisible=t}}},[s("img",{attrs:{width:"100%",src:e.dialogImageUrl,alt:""}})])],1),e._v(" "),s("div",[s("span",{staticClass:"tips-text"},[s("i",{staticClass:"el-icon-warning h-warning"})])]),e._v(" "),s("div",{staticStyle:{width:"380px","line-height":"24px","padding-top":"6px"}},[s("span",{staticClass:"tips-text"},[e._v("请上传店铺LOGO,文件大小在500KB以内,支持png,jpg格式,最多可上传1张")])])])]),e._v(" "),s("el-form-item",{attrs:{label:"运营负责人:",prop:"emergency_name","inline-message":"true"}},[s("el-input",{staticStyle:{width:"400px"},attrs:{placeholder:"请输入运营负责人姓名"},model:{value:e.storeForm.emergency_name,callback:function(t){e.$set(e.storeForm,"emergency_name",t)},expression:"storeForm.emergency_name"}})],1),e._v(" "),s("el-form-item",{attrs:{label:"联系电话:",prop:"emergency_tel"}},[s("el-input",{staticStyle:{width:"400px"},attrs:{placeholder:"请输入联系电话"},model:{value:e.storeForm.emergency_tel,callback:function(t){e.$set(e.storeForm,"emergency_tel",t)},expression:"storeForm.emergency_tel"}})],1),e._v(" "),s("el-form-item",[s("p",{staticStyle:{width:"580px","line-height":"24px","font-size":"14px",margin:"0"}},[e._v("需要提交特殊产品资质的类目请将资质上传在此处,包括全国工业生产许可证、3C、医疗品械\n 生产许可证、化妆品生产企业许可证等,根据具体类目资质要求提交")])]),e._v(" "),s("el-form-item",{attrs:{label:"其他资质:"}},[s("div",{staticClass:"auth-con"},e._l(e.qualificationList,(function(t,i){return s("div",{key:t.id,staticClass:"single-upload-con"},[s("div",{directives:[{name:"show",rawName:"v-show",value:!t.url,expression:"!item.url"}],staticClass:"single-auth-img el-icon-plus",on:{click:function(t){return e.upPreAuthImg(i)}}}),e._v(" "),s("div",{directives:[{name:"show",rawName:"v-show",value:t.url,expression:"item.url"}],staticClass:"single-auth-img-con"},[s("img",{staticClass:"auth-spec-img",attrs:{src:t.url,alt:""}}),e._v(" "),s("span",{staticClass:"span-img-del-loading"},[s("span",{staticClass:"span-img-del el-icon-zoom-in zoom-span-block",on:{click:function(s){return e.viewSingleSpecImg(i,t)}}}),e._v(" "),s("span",{staticClass:"span-img-del el-icon-delete del-span-block",on:{click:function(s){return e.delSingleSpecImg(i,t)}}})])]),e._v(" "),s("div",{staticClass:"single-title"},[e._v(e._s(e.authTitleFormatter(t.content)))]),e._v(" "),s("input",{ref:"hxz"+i,refInFor:!0,staticStyle:{display:"none"},attrs:{type:"file",accept:"image/*"},on:{change:function(s){return e.changeIMG(i,t)}}})])})),0)]),e._v(" "),s("el-form-item",{staticClass:"confirm-btn"},[s("div",[s("el-button",{staticStyle:{"margin-right":"40px"},attrs:{type:"primary"},on:{click:e.back}},[e._v("上一步")]),e._v(" "),s("el-button",{attrs:{type:"primary"},on:{click:function(t){return e.next("storeForm")}}},[e._v("提交审核")])],1)])],1)],1)]),e._v(" "),s("el-dialog",{staticClass:"img-dialog-con",attrs:{visible:e.imgDialog,"destroy-on-close":!0,width:"60%",center:"","close-on-click-modal":!1},on:{"update:visible":function(t){e.imgDialog=t}}},[s("img",{staticClass:"img-spe",attrs:{src:e.qualificationUrl,alt:""}})])],1)},o=[],r=(s("1bc7"),s("fc02"),s("6b1f")),a={name:"FillShopInf",data:function(){var e=this,t=function(t,s,i){e.logoImgFileList.length>0?i():0===e.logoImgFileList.length&&i(new Error("店铺logo图片至少上传一张"))},s=function(e,t,s){var i=/^1[3456789]\d{9}$/;i.test(t)?s():s(new Error("手机号码格式有误"))};return{dialogImageUrl:"",dialogVisible:!1,dialogImageUrl2:"",dialogVisible2:!1,logoImgFileList:[],businessImgFileList:[],scopeOptions:[],storeForm:{is_business_experience:0,store_name:"",scope:[],shop_logo:"",business_auth:"",emergency_name:""},shopRules:{store_name:[{required:!0,message:"店铺名称不能为空",trigger:"blur"},{max:36,message:"店铺名称最多输入36个字符",trigger:"blur"}],scope:[{required:!0,message:"经营类目至少选择一种",trigger:"change"}],shop_logo:[{required:!0,message:"店铺Logo至少上传一张图片",validator:t}],emergency_name:[{required:!0,message:"运营负责人不能为空",trigger:"blur"}],emergency_tel:[{required:!0,message:"联系人手机号码不能为空",trigger:"blur"},{required:!0,validator:s,trigger:"blur"}]},qualificationList:[],qualificationUrl:"",imgDialog:!1}},created:function(){var e=this;Object(r["e"])().then((function(t){1==t.code?e.scopeOptions=t.data:e.$message({type:"error",message:t.message?t.message:""})})),Object(r["g"])().then((function(t){1==t.code&&t.data.user?t.data.user.state>0&&e.getShop():e.$message({type:"error",message:t.message?t.message:"获取数据失败"})}))},mounted:function(){},methods:{showTip1:function(e,t){this.$message({message:"最多上传1张图片",type:"warning"})},showTip20:function(e,t){this.$message({message:"最多上传20张图片",type:"warning"})},beforeUpLogoImg:function(e){var t=e.size/1024>500;return"image/png"!==e.type&&"image/jpg"!==e.type&&"image/jpeg"!=e.type?(this.$message({message:"上传图片格式只支持png/png格式",type:"warning"}),!1):t?(this.$message({message:"上传图片大小不能超过500kb",type:"warning"}),!1):void 0},beforeUpBusImg:function(e){var t=e.size/1024/1024>2;return"image/png"!==e.type&&"image/jpg"!==e.type&&"image/jpeg"!=e.type?(this.$message({message:"上传图片格式只支持png/png格式",type:"warning"}),!1):t?(this.$message({message:"上传图片大小不能超过2M",type:"warning"}),!1):void 0},getShop:function(){var e=this;Object(r["j"])().then((function(t){if(1==t.code){if(e.storeForm.scope=[],""===t.data.scope)e.storeForm.scope=[];else{for(var s=t.data.scope.split(","),i=[],o=0;o<s.length;o++)i.push(parseInt(s[o]));e.storeForm=t.data,e.storeForm.scope=i}var r=[],a={};r=e.storeForm.shop_logo.split(","),r.length>0?r.forEach((function(t){a={},t&&(a.url=t,e.logoImgFileList.push(a))})):e.logoImgFileList=[],e.qualificationList=e.storeForm.qualification}else e.$message({type:"error",message:t.message?t.message:""})}))},uploadLogoImgs:function(e){var t=this;this.getBase64(e.file).then((function(e){var s=e.split(",");t.Base64img=s[1];var i={img_data:t.Base64img};Object(r["m"])(i).then((function(e){1==e.code?(t.logoImgFileList.push({url:e.data.image_url}),t.$message({type:"success",message:"上传成功"}),t.$refs.storeForm.clearValidate("shop_logo")):t.$message({type:"error",message:e.message?e.message:"上传失败"})}))}))},uploadBusinessImgs:function(e){console.log(368,e)},handlePictureCardPreview:function(e){this.dialogImageUrl=e.url,this.dialogVisible=!0},handleRemove:function(e,t){for(var s=0;s<this.logoImgFileList.length;s++)e.uid===this.logoImgFileList[s].uid&&this.logoImgFileList.splice(s,1)},handlePictureCardPreview2:function(e){this.dialogImageUrl2=e.url,this.dialogVisible2=!0},handleRemove2:function(e,t){for(var s=0;s<this.businessImgFileList.length;s++)e.uid===this.businessImgFileList[s].uid&&this.businessImgFileList.splice(s,1)},getBase64:function(e){return new Promise((function(t,s){var i=new FileReader,o="";i.readAsDataURL(e),i.onload=function(){o=i.result},i.onerror=function(e){s(e)},i.onloadend=function(){t(o)}}))},back:function(){this.$router.push("/fillMainInf")},next:function(e){var t=this,s=!1;if(this.qualificationList.length>0){for(var i=0;i<this.qualificationList.length;i++)if(!this.qualificationList[i].url){s=!0;break}if(s)return void this.$message({type:"warning",message:"请上传对应资质所需的图片"})}for(var o="",a=0;a<this.storeForm.scope.length;a++)o+=this.storeForm.scope[a]+",";if(this.storeForm.scope=o.substring(0,o.length-1),this.logoImgFileList.length>0)for(var n=0;n<this.logoImgFileList.length;n++)0===n?this.storeForm.shop_logo=this.logoImgFileList[n].url:this.storeForm.shop_logo+=","+this.logoImgFileList[n].url;this.storeForm.qualification_auth=JSON.stringify(this.qualificationList),this.$refs[e].validate((function(e){if(e)Object(r["c"])(t.storeForm).then((function(e){if(1==e.code)t.$router.push("/reviewing");else if(t.$message({type:"error",message:e.message?e.message:"保存失败"}),""===t.storeForm.scope)t.storeForm.scope=[];else{for(var s=t.storeForm.scope.split(","),i=[],o=0;o<s.length;o++)i.push(parseInt(s[o]));t.storeForm.scope=i}}));else if(""===t.storeForm.scope)t.storeForm.scope=[];else{for(var s=t.storeForm.scope.split(","),i=[],o=0;o<s.length;o++)i.push(parseInt(s[o]));t.storeForm.scope=i}}))},removeTag:function(e){var t=this;if(e&&(0==this.storeForm.scope.length&&(this.qualificationList=[]),this.storeForm.scope.length>0)){var s={cate_ids:this.storeForm.scope};Object(r["k"])(s).then((function(e){1==e.code&&(t.qualificationList=e.data?e.data:[])}))}},scopeVisibleChange:function(e){var t=this;if(!e&&Array.isArray(this.storeForm.scope)&&this.storeForm.scope.length>0){var s={cate_ids:this.storeForm.scope};Object(r["k"])(s).then((function(e){1==e.code&&(t.qualificationList=e.data?e.data:[])}))}},upPreAuthImg:function(e){var t="hxz"+e;this.$refs[t][0].value="",this.$refs[t][0].click()},changeIMG:function(e,t){var s=this,i=t,o="hxz"+e,a=this.$refs[o][0].files[0];a.size>3145728?this.$message({type:"error",message:"规格图片不能大于 3 M"}):this.getBase64(a).then((function(e){var t=e.split(",");s.Base64img=t[1];var o={img_data:s.Base64img};Object(r["m"])(o).then((function(e){e&&1==e.code?(i.url=e.data.image_url,s.$message({message:"上传成功",type:"success"})):s.$message({message:"上传失败,请重新上传",type:"error"})}))}))},delSingleSpecImg:function(e,t){t.url&&(t.url="",this.$message({type:"success",message:"删除成功"}))},viewSingleSpecImg:function(e,t){this.imgDialog=!1,t.url&&(this.imgDialog=!0,this.qualificationUrl=t.url)},authTitleFormatter:function(e){var t="";return e&&(t=e.trim()),t}}},n=a,l=(s("5596"),s("cba8")),c=Object(l["a"])(n,i,o,!1,null,"03e54cd7",null);t["default"]=c.exports}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-d0560568"],{"92fc":function(t,e,n){t.exports=n.p+"static/img/4.3f411af6.png"},a570:function(t,e,n){"use strict";n.r(e);var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"entryDetails"},[n("div",{staticClass:"logo-bg"},[t.settitle&&t.settitle.topLogo?n("img",{attrs:{src:t.settitle.topLogo,alt:""}}):t._e()]),t._v(" "),t._m(0),t._v(" "),n("div",{staticClass:"confirm-btn"},[n("p",[n("el-button",{staticStyle:{padding:"8px 30px"},attrs:{type:"primary",round:""},on:{click:t.nextStep}},[t._v("\n 立即入驻  "),n("i",{staticClass:"el-icon-right"})])],1)])])},c=[function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"main-con"},[i("img",{attrs:{src:n("92fc"),alt:""}})])}],s=n("5302"),a={name:"Index",data:function(){return{channel_id:0,settitle:{bottomCopyright:"",businessHours:1,companyAddress:"",contactTel:"",custServiceQrcode:"",hotlineTel1:"",hotlineTel2:"",onlineTimeEnd:"18:00",onlineTimeStart:"09:00",recordNum:"",topLogo:""}}},created:function(){},mounted:function(){},methods:{getIndexInfo:function(){var t=this,e=window.location.host,n={domain:e};Object(s["e"])(n).then((function(e){1==e.code&&(t.channel_id=e.data.channel_id,t.getWebSite())}))},getWebSite:function(){var t=this,e={channel_ids:this.channel_id};Object(s["f"])(e).then((function(e){1==e.code&&e.data.universal_lst&&"null"!=e.data.universal_lst&&(t.settitle=e.data.universal_lst)}))},nextStep:function(){this.$router.push("/fillMainInf")}}},o=a,l=(n("e3dc"),n("cba8")),r=Object(l["a"])(o,i,c,!1,null,"4f064fe3",null);e["default"]=r.exports},e3dc:function(t,e,n){"use strict";n("f30c")},f30c:function(t,e,n){}}]);
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-fa6b139a"],{"0e05":function(t,s,i){},"26fc":function(t,s,i){t.exports=i.p+"static/img/404_cloud.0f4bc32b.png"},2754:function(t,s,i){"use strict";i.r(s);var a=function(){var t=this,s=t.$createElement,i=t._self._c||s;return i("div",{staticClass:"wscn-http404-container"},[i("div",{staticClass:"wscn-http404"},[t._m(0),t._v(" "),i("div",{staticClass:"bullshit"},[i("div",{staticClass:"bullshit__oops"},[t._v("\n 404错误!\n ")]),t._v(" "),i("div",{staticClass:"bullshit__headline"},[t._v("\n "+t._s(t.message)+"\n ")]),t._v(" "),i("div",{staticClass:"bullshit__info"},[t._v("\n 对不起,您正在寻找的页面不存在。尝试检查URL的错误,然后按浏览器上的刷新按钮或尝试在我们的应用程序中找到其他内容。\n ")]),t._v(" "),i("router-link",{staticClass:"bullshit__return-home",attrs:{to:"/"}},[t._v("\n 返回首页\n ")])],1)])])},c=[function(){var t=this,s=t.$createElement,a=t._self._c||s;return a("div",{staticClass:"pic-404"},[a("img",{staticClass:"pic-404__parent",attrs:{src:i("a36b"),alt:"404"}}),t._v(" "),a("img",{staticClass:"pic-404__child left",attrs:{src:i("26fc"),alt:"404"}}),t._v(" "),a("img",{staticClass:"pic-404__child mid",attrs:{src:i("26fc"),alt:"404"}}),t._v(" "),a("img",{staticClass:"pic-404__child right",attrs:{src:i("26fc"),alt:"404"}})])}],n={name:"Page404",computed:{message:function(){return"找不到网页!"}}},l=n,e=(i("61b6"),i("cba8")),_=Object(e["a"])(l,a,c,!1,null,"279ea4b2",null);s["default"]=_.exports},"61b6":function(t,s,i){"use strict";i("0e05")},a36b:function(t,s,i){t.exports=i.p+"static/img/404.a57b6f31.png"}}]);
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论