提交 2d7e9f8a authored 作者: huaxinzhu's avatar huaxinzhu

打包文件

上级 46233c59
......@@ -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.018ae2b6.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]);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-0a90d205":"0189bbe0","chunk-1377097a":"76e1b174","chunk-2810acda":"eb60835a","chunk-2d0c7ece":"6e0c231b","chunk-2d0c84d3":"cdf8b2d0","chunk-0b4a9e9a":"82347d9f","chunk-2d0e28b6":"b5c279ef","chunk-54b56470":"f476669a","chunk-2d0d6345":"e4d18775","chunk-2d0e2366":"13651a23","chunk-78ce524a":"42f08d3e","chunk-b0d57d44":"7843fcc1","chunk-2d0d67a2":"2a791f8c","chunk-779f4447":"34632000","chunk-2d0f012d":"c5cdd7ec","chunk-2d22db58":"4991ac92","chunk-30c771e6":"dbb74e24","chunk-5168c511":"90581123","chunk-07e45201":"d5aafa30","chunk-5be5b3e2":"1bcac1ef","chunk-5f18f729":"565ed286","chunk-6c237b40":"54fd57df","chunk-7c2f4fe6":"33f71712","chunk-7d3f11e3":"f0ac21d0","chunk-d84713fc":"2b0fb219","chunk-f18f73fa":"50d829cb"}[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-1377097a":1,"chunk-2810acda":1,"chunk-78ce524a":1,"chunk-b0d57d44":1,"chunk-30c771e6":1,"chunk-5168c511":1,"chunk-07e45201":1,"chunk-5be5b3e2":1,"chunk-5f18f729":1,"chunk-6c237b40":1,"chunk-7d3f11e3":1,"chunk-d84713fc":1,"chunk-f18f73fa":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-1377097a":"a9b67e01","chunk-2810acda":"6485bf58","chunk-2d0c7ece":"31d6cfe0","chunk-2d0c84d3":"31d6cfe0","chunk-0b4a9e9a":"31d6cfe0","chunk-2d0e28b6":"31d6cfe0","chunk-54b56470":"31d6cfe0","chunk-2d0d6345":"31d6cfe0","chunk-2d0e2366":"31d6cfe0","chunk-78ce524a":"2709c1a5","chunk-b0d57d44":"3c72d4e5","chunk-2d0d67a2":"31d6cfe0","chunk-779f4447":"31d6cfe0","chunk-2d0f012d":"31d6cfe0","chunk-2d22db58":"31d6cfe0","chunk-30c771e6":"6ab5ebe0","chunk-5168c511":"d3829422","chunk-07e45201":"2123e5ba","chunk-5be5b3e2":"1d48f9b5","chunk-5f18f729":"c9a455ad","chunk-6c237b40":"fe6be668","chunk-7c2f4fe6":"31d6cfe0","chunk-7d3f11e3":"b55e67ec","chunk-d84713fc":"208ad6b5","chunk-f18f73fa":"0615606c"}[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.f53bce67.js></script></body><script>window.onload = function() {
}</style><link href=/static/css/chunk-libs.144811ca.css rel=stylesheet><link href=/static/css/app.018ae2b6.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]);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-0a90d205":"0189bbe0","chunk-2810acda":"eb60835a","chunk-2d0c7ece":"6e0c231b","chunk-2d0c84d3":"cdf8b2d0","chunk-0b4a9e9a":"82347d9f","chunk-2d0e28b6":"b5c279ef","chunk-54b56470":"f476669a","chunk-2d0d6345":"e4d18775","chunk-2d0e2366":"13651a23","chunk-5ad3c675":"163bb17f","chunk-b0d57d44":"7843fcc1","chunk-2d0d67a2":"2a791f8c","chunk-779f4447":"34632000","chunk-2d0f012d":"c5cdd7ec","chunk-2d22db58":"4991ac92","chunk-30c771e6":"dbb74e24","chunk-5168c511":"90581123","chunk-07e45201":"d5aafa30","chunk-5be5b3e2":"1bcac1ef","chunk-5f18f729":"565ed286","chunk-6c237b40":"54fd57df","chunk-7c2f4fe6":"33f71712","chunk-7d3f11e3":"f0ac21d0","chunk-d84713fc":"2b0fb219","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-2810acda":1,"chunk-5ad3c675":1,"chunk-b0d57d44":1,"chunk-30c771e6":1,"chunk-5168c511":1,"chunk-07e45201":1,"chunk-5be5b3e2":1,"chunk-5f18f729":1,"chunk-6c237b40":1,"chunk-7d3f11e3":1,"chunk-d84713fc":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-2810acda":"6485bf58","chunk-2d0c7ece":"31d6cfe0","chunk-2d0c84d3":"31d6cfe0","chunk-0b4a9e9a":"31d6cfe0","chunk-2d0e28b6":"31d6cfe0","chunk-54b56470":"31d6cfe0","chunk-2d0d6345":"31d6cfe0","chunk-2d0e2366":"31d6cfe0","chunk-5ad3c675":"57b08884","chunk-b0d57d44":"3c72d4e5","chunk-2d0d67a2":"31d6cfe0","chunk-779f4447":"31d6cfe0","chunk-2d0f012d":"31d6cfe0","chunk-2d22db58":"31d6cfe0","chunk-30c771e6":"6ab5ebe0","chunk-5168c511":"d3829422","chunk-07e45201":"2123e5ba","chunk-5be5b3e2":"1d48f9b5","chunk-5f18f729":"c9a455ad","chunk-6c237b40":"fe6be668","chunk-7c2f4fe6":"31d6cfe0","chunk-7d3f11e3":"b55e67ec","chunk-d84713fc":"208ad6b5","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 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 b=document.getElementsByTagName("head")[0];b.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.4becf31f.js></script></body><script>window.onload = function() {
var op = 'open'
var ssa = window.location.host
var xhttp = new XMLHttpRequest();
......
.fill-store-inf[data-v-48df6ac6]{width:100%;height:100%;overflow-x:hidden;overflow-y:scroll}.fill-store-inf .box-card[data-v-48df6ac6]{width:80%;margin:30px auto 30px;height:calc(100% - 140px)}.fill-store-inf .box-card[data-v-48df6ac6] .el-card__body{height:calc(100% - 180px);overflow-x:hidden;overflow-y:scroll}.logo-bg[data-v-48df6ac6]{height:60px;background:#1890ff}.logo-bg img[data-v-48df6ac6]{height:44px;margin:8px 0 8px 20px}.steps[data-v-48df6ac6]{height:70px;width:60%;margin:20px auto}.steps[data-v-48df6ac6] .el-step__title{font-size:16px;line-height:18px;padding-top:20px}.el-step[data-v-48df6ac6] .el-step__head.is-process{color:#1890ff;border-color:#1890ff}.el-step[data-v-48df6ac6] .el-step__head.is-process .el-step__icon.is-text{background-color:#1890ff}.el-step[data-v-48df6ac6] .el-step__head.is-process .el-step__icon.is-text .el-step__icon-inner{color:#fff}.el-step[data-v-48df6ac6] .el-step__title.is-process{color:#000;font-weight:400}.el-step[data-v-48df6ac6] .el-step__head.is-success{color:#1890ff;border-color:#1890ff}.el-step[data-v-48df6ac6] .el-step__head.is-success .el-step__line{background-color:#1890ff}.el-step[data-v-48df6ac6] .el-step__title.is-success{color:#000}.main-con[data-v-48df6ac6]{width:70%;height:100%;margin:20px auto 0}.main-con .tips-text[data-v-48df6ac6]{font-size:14px;color:#c9c9c9;word-break:break-all}.main-con .h-warning[data-v-48df6ac6]:before{color:#e3c300}.main-con .uploadData[data-v-48df6ac6]{display:inline-block}.main-con .uploadData[data-v-48df6ac6] .el-upload--picture-card{width:100px;height:100px}.main-con .uploadData[data-v-48df6ac6] .el-upload,.main-con .uploadData[data-v-48df6ac6] .el-upload-list--picture-card .el-upload-list__item,.main-con .uploadData[data-v-48df6ac6] .el-upload-list--picture-card .el-upload-list__item-thumbnail{width:100px;height:100px;line-height:100px}.main-con .uploadData[data-v-48df6ac6] .avatar{width:100px;height:100px}.main-con .hiden-dom[data-v-48df6ac6] .el-upload--picture-card{display:none!important}.main-con .auth-con[data-v-48df6ac6]{width:100%;height:100%;display:flex;flex-direction:row;justify-content:normal;flex-wrap:wrap}.main-con .single-upload-con[data-v-48df6ac6]{width:160px;height:140px;text-align:center;overflow:hidden}.main-con .single-auth-img[data-v-48df6ac6]{width:98px;height:98px;border-radius:6px;border:1px dashed #eee;margin:5px auto;cursor:pointer}.main-con .single-auth-img-con[data-v-48df6ac6]{margin:0;padding:0;display:inline-block;width:98px;height:98px;position:relative;cursor:pointer;border-radius:6px;border:1px solid #c0ccda}.main-con .auth-spec-img[data-v-48df6ac6]{width:100%;height:100%;border-radius:6px;cursor:pointer;position:relative;border:none}.main-con .span-img-del-loading[data-v-48df6ac6]{display:none;position:absolute;width:98px;height:98px;top:0;left:0;border-radius:5px;z-index:66;background-color:rgba(0,0,0,.5);opacity:.75;transition:opacity .3s}.main-con .span-img-del-loading>.del-span-block[data-v-48df6ac6],.main-con .span-img-del-loading>.zoom-span-block[data-v-48df6ac6]{color:#fff;font-size:20px;font-weight:500;margin:41px 4px 0;z-index:70}.main-con .single-auth-img-con:hover>.span-img-del-loading[data-v-48df6ac6]{display:block}.main-con .single-title[data-v-48df6ac6]{font-size:12px;color:#666;text-align:center}.main-con .confirm-btn[data-v-48df6ac6]{width:50%;margin:40px auto 20px}.img-dialog-con[data-v-48df6ac6] .el-dialog__body,.main-con .confirm-btn>div[data-v-48df6ac6]{text-align:center}.img-spe[data-v-48df6ac6]{margin:0 auto}
\ No newline at end of file
.fill-store-inf[data-v-03e54cd7]{width:100%;height:100%;overflow-x:hidden;overflow-y:scroll}.fill-store-inf .box-card[data-v-03e54cd7]{width:80%;margin:30px auto 30px;height:calc(100% - 140px)}.fill-store-inf .box-card[data-v-03e54cd7] .el-card__body{height:calc(100% - 180px);overflow-x:hidden;overflow-y:scroll}.logo-bg[data-v-03e54cd7]{height:60px;background:#1890ff}.logo-bg img[data-v-03e54cd7]{height:44px;margin:8px 0 8px 20px}.steps[data-v-03e54cd7]{height:70px;width:60%;margin:20px auto}.steps[data-v-03e54cd7] .el-step__title{font-size:16px;line-height:18px;padding-top:20px}.el-step[data-v-03e54cd7] .el-step__head.is-process{color:#1890ff;border-color:#1890ff}.el-step[data-v-03e54cd7] .el-step__head.is-process .el-step__icon.is-text{background-color:#1890ff}.el-step[data-v-03e54cd7] .el-step__head.is-process .el-step__icon.is-text .el-step__icon-inner{color:#fff}.el-step[data-v-03e54cd7] .el-step__title.is-process{color:#000;font-weight:400}.el-step[data-v-03e54cd7] .el-step__head.is-success{color:#1890ff;border-color:#1890ff}.el-step[data-v-03e54cd7] .el-step__head.is-success .el-step__line{background-color:#1890ff}.el-step[data-v-03e54cd7] .el-step__title.is-success{color:#000}.main-con[data-v-03e54cd7]{width:70%;height:100%;margin:20px auto 0}.main-con .tips-text[data-v-03e54cd7]{font-size:14px;color:#c9c9c9;word-break:break-all}.main-con .h-warning[data-v-03e54cd7]:before{color:#e3c300}.main-con .uploadData[data-v-03e54cd7]{display:inline-block}.main-con .uploadData[data-v-03e54cd7] .el-upload--picture-card{width:100px;height:100px}.main-con .uploadData[data-v-03e54cd7] .el-upload,.main-con .uploadData[data-v-03e54cd7] .el-upload-list--picture-card .el-upload-list__item,.main-con .uploadData[data-v-03e54cd7] .el-upload-list--picture-card .el-upload-list__item-thumbnail{width:100px;height:100px;line-height:100px}.main-con .uploadData[data-v-03e54cd7] .avatar{width:100px;height:100px}.main-con .hiden-dom[data-v-03e54cd7] .el-upload--picture-card{display:none!important}.main-con .auth-con[data-v-03e54cd7]{width:100%;height:100%;display:flex;flex-direction:row;justify-content:normal;flex-wrap:wrap}.main-con .single-upload-con[data-v-03e54cd7]{width:160px;height:140px;text-align:center;overflow:hidden}.main-con .single-auth-img[data-v-03e54cd7]{width:98px;height:98px;border-radius:6px;border:1px dashed #eee;margin:5px auto;cursor:pointer;color:#8c939d;line-height:98px;font-size:28px}.main-con .single-auth-img-con[data-v-03e54cd7]{margin:0;padding:0;display:inline-block;width:98px;height:98px;position:relative;cursor:pointer;border-radius:6px;border:1px solid #c0ccda}.main-con .auth-spec-img[data-v-03e54cd7]{width:100%;height:100%;border-radius:6px;cursor:pointer;position:relative;border:none}.main-con .span-img-del-loading[data-v-03e54cd7]{display:none;position:absolute;width:98px;height:98px;top:0;left:0;border-radius:5px;z-index:66;background-color:rgba(0,0,0,.5);opacity:.75;transition:opacity .3s}.main-con .span-img-del-loading>.del-span-block[data-v-03e54cd7],.main-con .span-img-del-loading>.zoom-span-block[data-v-03e54cd7]{color:#fff;font-size:20px;font-weight:500;margin:41px 4px 0;z-index:70}.main-con .single-auth-img-con:hover>.span-img-del-loading[data-v-03e54cd7]{display:block}.main-con .single-title[data-v-03e54cd7]{font-size:12px;color:#666;text-align:center}.main-con .confirm-btn[data-v-03e54cd7]{width:50%;margin:40px auto 20px}.img-dialog-con[data-v-03e54cd7] .el-dialog__body,.main-con .confirm-btn>div[data-v-03e54cd7]{text-align:center}.img-spe[data-v-03e54cd7]{margin:0 auto}
\ 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-1377097a"],{"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})}},7231:function(e,t,s){},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",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("c82e"),s("2877")),c=Object(l["a"])(n,i,o,!1,null,"48df6ac6",null);t["default"]=c.exports},c82e:function(e,t,s){"use strict";s("7231")}}]);
\ 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
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论