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

Merge branch '级联选择器bug' into test

...@@ -13,4 +13,3 @@ VUE_APP_BASE_SYS_API = 'http://sysapi.jxhh.com' ...@@ -13,4 +13,3 @@ VUE_APP_BASE_SYS_API = 'http://sysapi.jxhh.com'
# 路由懒加载 # 路由懒加载
VUE_CLI_BABEL_TRANSPILE_MODULES = true VUE_CLI_BABEL_TRANSPILE_MODULES = true
...@@ -181,8 +181,8 @@ ...@@ -181,8 +181,8 @@
font-size: 13px; font-size: 13px;
color: #FFF; color: #FFF;
opacity: 0.5; opacity: 0.5;
}</style><link href=/static/css/chunk-libs.144811ca.css rel=stylesheet><link href=/static/css/app.53038558.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,f=n[0],d=n[1],o=n[2],h=0,i=[];h<f.length;h++)u=f[h],r[u]&&i.push(r[u][0]),r[u]=0;for(t in d)Object.prototype.hasOwnProperty.call(d,t)&&(e[t]=d[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 f=c[u];0!==r[f]&&(t=!1)}t&&(a.splice(n--,1),e=d(d.s=c[0]))}return e}var t={},u={runtime:0},r={runtime:0},a=[];function f(e){return d.p+"static/js/"+({}[e]||e)+"."+{"chunk-0e9f6bd6":"963a5033","chunk-23d8180c":"5355ea98","chunk-11e11e1c":"050d3d7b","chunk-14356e48":"b7dab0e7","chunk-1d571893":"9397b39e","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-645d6746":"9505ea3e","chunk-2d0e28b6":"851865e9","chunk-2d22db58":"c5e21280","chunk-57872cf8":"e5876f3f","chunk-6899b162":"8733d732","chunk-6cbfafa6":"367c2f6e","chunk-7c2f4fe6":"a6e494d8","chunk-7cd8bac8":"cb100774","chunk-8457bade":"fae1e02b","chunk-fa6b139a":"af89dea0","chunk-fa9f02d6":"c80d1612"}[e]+".js"}function d(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,d),c.l=!0,c.exports}d.e=function(e){var n=[],c={"chunk-23d8180c":1,"chunk-11e11e1c":1,"chunk-14356e48":1,"chunk-1d571893":1,"chunk-242f810e":1,"chunk-612d55f9":1,"chunk-645d6746":1,"chunk-57872cf8":1,"chunk-6899b162":1,"chunk-6cbfafa6":1,"chunk-7cd8bac8":1,"chunk-8457bade":1,"chunk-fa6b139a":1,"chunk-fa9f02d6":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-0e9f6bd6":"31d6cfe0","chunk-23d8180c":"171fd667","chunk-11e11e1c":"0934badc","chunk-14356e48":"7d5c00e2","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-645d6746":"0b1453a7","chunk-2d0e28b6":"31d6cfe0","chunk-2d22db58":"31d6cfe0","chunk-57872cf8":"9183fc08","chunk-6899b162":"3fd47436","chunk-6cbfafa6":"43a2482e","chunk-7c2f4fe6":"31d6cfe0","chunk-7cd8bac8":"f9a06397","chunk-8457bade":"e539ec29","chunk-fa6b139a":"fe6be668","chunk-fa9f02d6":"354a7711"}[e]+".css",r=d.p+t,a=document.getElementsByTagName("link"),f=0;f<a.length;f++){var o=a[f],h=o.getAttribute("data-href")||o.getAttribute("href");if("stylesheet"===o.rel&&(h===t||h===r))return n()}var i=document.getElementsByTagName("style");for(f=0;f<i.length;f++){o=i[f],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,d.nc&&h.setAttribute("nonce",d.nc),h.src=f(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)},d.m=e,d.c=t,d.d=function(e,n,c){d.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:c})},d.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},d.t=function(e,n){if(1&n&&(e=d(e)),8&n)return e;if(4&n&&"object"===typeof e&&e&&e.__esModule)return e;var c=Object.create(null);if(d.r(c),Object.defineProperty(c,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var t in e)d.d(c,t,function(n){return e[n]}.bind(null,t));return c},d.n=function(e){var n=e&&e.__esModule?function(){return e["default"]}:function(){return e};return d.d(n,"a",n),n},d.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},d.p="/",d.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()})([]); }</style><link href=/static/css/chunk-libs.144811ca.css rel=stylesheet><link href=/static/css/app.53038558.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,f=n[0],d=n[1],o=n[2],h=0,i=[];h<f.length;h++)u=f[h],r[u]&&i.push(r[u][0]),r[u]=0;for(t in d)Object.prototype.hasOwnProperty.call(d,t)&&(e[t]=d[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 f=c[u];0!==r[f]&&(t=!1)}t&&(a.splice(n--,1),e=d(d.s=c[0]))}return e}var t={},u={runtime:0},r={runtime:0},a=[];function f(e){return d.p+"static/js/"+({}[e]||e)+"."+{"chunk-0e9f6bd6":"963a5033","chunk-23d8180c":"5355ea98","chunk-11e11e1c":"050d3d7b","chunk-14356e48":"b7dab0e7","chunk-1d571893":"9397b39e","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-70e8a1ba":"34e79f25","chunk-2d0e28b6":"851865e9","chunk-2d22db58":"c5e21280","chunk-57872cf8":"e5876f3f","chunk-6899b162":"8733d732","chunk-6cbfafa6":"367c2f6e","chunk-7c2f4fe6":"a6e494d8","chunk-7cd8bac8":"cb100774","chunk-8457bade":"fae1e02b","chunk-fa6b139a":"af89dea0","chunk-fa9f02d6":"c80d1612"}[e]+".js"}function d(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,d),c.l=!0,c.exports}d.e=function(e){var n=[],c={"chunk-23d8180c":1,"chunk-11e11e1c":1,"chunk-14356e48":1,"chunk-1d571893":1,"chunk-242f810e":1,"chunk-612d55f9":1,"chunk-70e8a1ba":1,"chunk-57872cf8":1,"chunk-6899b162":1,"chunk-6cbfafa6":1,"chunk-7cd8bac8":1,"chunk-8457bade":1,"chunk-fa6b139a":1,"chunk-fa9f02d6":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-0e9f6bd6":"31d6cfe0","chunk-23d8180c":"171fd667","chunk-11e11e1c":"0934badc","chunk-14356e48":"7d5c00e2","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-70e8a1ba":"6cbab178","chunk-2d0e28b6":"31d6cfe0","chunk-2d22db58":"31d6cfe0","chunk-57872cf8":"9183fc08","chunk-6899b162":"3fd47436","chunk-6cbfafa6":"43a2482e","chunk-7c2f4fe6":"31d6cfe0","chunk-7cd8bac8":"f9a06397","chunk-8457bade":"e539ec29","chunk-fa6b139a":"fe6be668","chunk-fa9f02d6":"354a7711"}[e]+".css",r=d.p+t,a=document.getElementsByTagName("link"),f=0;f<a.length;f++){var o=a[f],h=o.getAttribute("data-href")||o.getAttribute("href");if("stylesheet"===o.rel&&(h===t||h===r))return n()}var i=document.getElementsByTagName("style");for(f=0;f<i.length;f++){o=i[f],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,d.nc&&h.setAttribute("nonce",d.nc),h.src=f(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)},d.m=e,d.c=t,d.d=function(e,n,c){d.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:c})},d.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},d.t=function(e,n){if(1&n&&(e=d(e)),8&n)return e;if(4&n&&"object"===typeof e&&e&&e.__esModule)return e;var c=Object.create(null);if(d.r(c),Object.defineProperty(c,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var t in e)d.d(c,t,function(n){return e[n]}.bind(null,t));return c},d.n=function(e){var n=e&&e.__esModule?function(){return e["default"]}:function(){return e};return d.d(n,"a",n),n},d.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},d.p="/",d.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()})([]);
//# sourceMappingURL=runtime.c0c116d2.js.map</script><script src=/static/js/app.57b98fe6.js></script></body><script>window.onload = function() { //# sourceMappingURL=runtime.2b8934b5.js.map</script><script src=/static/js/app.43174909.js></script></body><script>window.onload = function() {
var op = 'open' var op = 'open'
var ssa = window.location.host var ssa = window.location.host
var xhttp = new XMLHttpRequest(); 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.
{"version":3,"sources":["webpack:///webpack/bootstrap"],"names":["webpackJsonpCallback","data","moduleId","chunkId","chunkIds","moreModules","executeModules","i","resolves","length","installedChunks","push","Object","prototype","hasOwnProperty","call","modules","parentJsonpFunction","shift","deferredModules","apply","checkDeferredModules","result","deferredModule","fulfilled","j","depId","splice","__webpack_require__","s","installedModules","installedCssChunks","jsonpScriptSrc","p","exports","module","l","e","promises","cssChunks","Promise","resolve","reject","href","fullhref","existingLinkTags","document","getElementsByTagName","tag","dataHref","getAttribute","rel","existingStyleTags","linkTag","createElement","type","onload","onerror","event","request","target","src","err","Error","parentNode","removeChild","head","appendChild","then","installedChunkData","promise","onScriptComplete","script","charset","timeout","nc","setAttribute","clearTimeout","chunk","errorType","realSrc","error","undefined","setTimeout","all","m","c","d","name","getter","o","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","oe","console","jsonpArray","window","oldJsonpFunction","slice"],"mappings":"aACE,SAASA,EAAqBC,GAQ7B,IAPA,IAMIC,EAAUC,EANVC,EAAWH,EAAK,GAChBI,EAAcJ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AMG,WAAY,OAAOH,EAChF,IAAII,EAAKzF,OAAO0F,OAAO,MAGvB,GAFA1E,EAAoBkE,EAAEO,GACtBzF,OAAO+E,eAAeU,EAAI,UAAW,CAAET,YAAY,EAAMK,MAAOA,IACtD,EAAPE,GAA4B,iBAATF,EAAmB,IAAI,IAAIM,KAAON,EAAOrE,EAAoB2D,EAAEc,EAAIE,EAAK,SAASA,GAAO,OAAON,EAAMM,IAAQC,KAAK,KAAMD,IAC9I,OAAOF,GAIRzE,EAAoB6E,EAAI,SAAStE,GAChC,IAAIsD,EAAStD,GAAUA,EAAOiE,WAC7B,WAAwB,OAAOjE,EAAO,YACtC,WAA8B,OAAOA,GAEtC,OADAP,EAAoB2D,EAAEE,EAAQ,IAAKA,GAC5BA,GAIR7D,EAAoB8D,EAAI,SAASgB,EAAQC,GAAY,OAAO/F,OAAOC,UAAUC,eAAeC,KAAK2F,EAAQC,IAGzG/E,EAAoBK,EAAI,IAGxBL,EAAoBgF,GAAK,SAAS9C,GAA2B,MAApB+C,QAAQ5B,MAAMnB,GAAYA,GAEnE,IAAIgD,EAAaC,OAAO,gBAAkBA,OAAO,iBAAmB,GAChEC,EAAmBF,EAAWnG,KAAK6F,KAAKM,GAC5CA,EAAWnG,KAAOX,EAClB8G,EAAaA,EAAWG,QACxB,IAAI,IAAI1G,EAAI,EAAGA,EAAIuG,EAAWrG,OAAQF,IAAKP,EAAqB8G,EAAWvG,IAC3E,IAAIU,EAAsB+F,EAI1B3F,K","file":"static/js/runtime.c0c116d2.js","sourcesContent":[" \t// install a JSONP callback for chunk loading\n \tfunction webpackJsonpCallback(data) {\n \t\tvar chunkIds = data[0];\n \t\tvar moreModules = data[1];\n \t\tvar executeModules = data[2];\n\n \t\t// add \"moreModules\" to the modules object,\n \t\t// then flag all \"chunkIds\" as loaded and fire callback\n \t\tvar moduleId, chunkId, i = 0, resolves = [];\n \t\tfor(;i < chunkIds.length; i++) {\n \t\t\tchunkId = chunkIds[i];\n \t\t\tif(installedChunks[chunkId]) {\n \t\t\t\tresolves.push(installedChunks[chunkId][0]);\n \t\t\t}\n \t\t\tinstalledChunks[chunkId] = 0;\n \t\t}\n \t\tfor(moduleId in moreModules) {\n \t\t\tif(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {\n \t\t\t\tmodules[moduleId] = moreModules[moduleId];\n \t\t\t}\n \t\t}\n \t\tif(parentJsonpFunction) parentJsonpFunction(data);\n\n \t\twhile(resolves.length) {\n \t\t\tresolves.shift()();\n \t\t}\n\n \t\t// add entry modules from loaded chunk to deferred list\n \t\tdeferredModules.push.apply(deferredModules, executeModules || []);\n\n \t\t// run deferred modules when all chunks ready\n \t\treturn checkDeferredModules();\n \t};\n \tfunction checkDeferredModules() {\n \t\tvar result;\n \t\tfor(var i = 0; i < deferredModules.length; i++) {\n \t\t\tvar deferredModule = deferredModules[i];\n \t\t\tvar fulfilled = true;\n \t\t\tfor(var j = 1; j < deferredModule.length; j++) {\n \t\t\t\tvar depId = deferredModule[j];\n \t\t\t\tif(installedChunks[depId] !== 0) fulfilled = false;\n \t\t\t}\n \t\t\tif(fulfilled) {\n \t\t\t\tdeferredModules.splice(i--, 1);\n \t\t\t\tresult = __webpack_require__(__webpack_require__.s = deferredModule[0]);\n \t\t\t}\n \t\t}\n \t\treturn result;\n \t}\n\n \t// The module cache\n \tvar installedModules = {};\n\n \t// object to store loaded CSS chunks\n \tvar installedCssChunks = {\n \t\t\"runtime\": 0\n \t}\n\n \t// object to store loaded and loading chunks\n \t// undefined = chunk not loaded, null = chunk preloaded/prefetched\n \t// Promise = chunk loading, 0 = chunk loaded\n \tvar installedChunks = {\n \t\t\"runtime\": 0\n \t};\n\n \tvar deferredModules = [];\n\n \t// script path function\n \tfunction jsonpScriptSrc(chunkId) {\n \t\treturn __webpack_require__.p + \"static/js/\" + ({}[chunkId]||chunkId) + \".\" + {\"chunk-0e9f6bd6\":\"963a5033\",\"chunk-23d8180c\":\"5355ea98\",\"chunk-11e11e1c\":\"050d3d7b\",\"chunk-14356e48\":\"b7dab0e7\",\"chunk-1d571893\":\"9397b39e\",\"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-645d6746\":\"9505ea3e\",\"chunk-2d0e28b6\":\"851865e9\",\"chunk-2d22db58\":\"c5e21280\",\"chunk-57872cf8\":\"e5876f3f\",\"chunk-6899b162\":\"8733d732\",\"chunk-6cbfafa6\":\"367c2f6e\",\"chunk-7c2f4fe6\":\"a6e494d8\",\"chunk-7cd8bac8\":\"cb100774\",\"chunk-8457bade\":\"fae1e02b\",\"chunk-fa6b139a\":\"af89dea0\",\"chunk-fa9f02d6\":\"c80d1612\"}[chunkId] + \".js\"\n \t}\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n \t// This file contains only the entry chunk.\n \t// The chunk loading function for additional chunks\n \t__webpack_require__.e = function requireEnsure(chunkId) {\n \t\tvar promises = [];\n\n\n \t\t// mini-css-extract-plugin CSS loading\n \t\tvar cssChunks = {\"chunk-23d8180c\":1,\"chunk-11e11e1c\":1,\"chunk-14356e48\":1,\"chunk-1d571893\":1,\"chunk-242f810e\":1,\"chunk-612d55f9\":1,\"chunk-645d6746\":1,\"chunk-57872cf8\":1,\"chunk-6899b162\":1,\"chunk-6cbfafa6\":1,\"chunk-7cd8bac8\":1,\"chunk-8457bade\":1,\"chunk-fa6b139a\":1,\"chunk-fa9f02d6\":1};\n \t\tif(installedCssChunks[chunkId]) promises.push(installedCssChunks[chunkId]);\n \t\telse if(installedCssChunks[chunkId] !== 0 && cssChunks[chunkId]) {\n \t\t\tpromises.push(installedCssChunks[chunkId] = new Promise(function(resolve, reject) {\n \t\t\t\tvar href = \"static/css/\" + ({}[chunkId]||chunkId) + \".\" + {\"chunk-0e9f6bd6\":\"31d6cfe0\",\"chunk-23d8180c\":\"171fd667\",\"chunk-11e11e1c\":\"0934badc\",\"chunk-14356e48\":\"7d5c00e2\",\"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-645d6746\":\"0b1453a7\",\"chunk-2d0e28b6\":\"31d6cfe0\",\"chunk-2d22db58\":\"31d6cfe0\",\"chunk-57872cf8\":\"9183fc08\",\"chunk-6899b162\":\"3fd47436\",\"chunk-6cbfafa6\":\"43a2482e\",\"chunk-7c2f4fe6\":\"31d6cfe0\",\"chunk-7cd8bac8\":\"f9a06397\",\"chunk-8457bade\":\"e539ec29\",\"chunk-fa6b139a\":\"fe6be668\",\"chunk-fa9f02d6\":\"354a7711\"}[chunkId] + \".css\";\n \t\t\t\tvar fullhref = __webpack_require__.p + href;\n \t\t\t\tvar existingLinkTags = document.getElementsByTagName(\"link\");\n \t\t\t\tfor(var i = 0; i < existingLinkTags.length; i++) {\n \t\t\t\t\tvar tag = existingLinkTags[i];\n \t\t\t\t\tvar dataHref = tag.getAttribute(\"data-href\") || tag.getAttribute(\"href\");\n \t\t\t\t\tif(tag.rel === \"stylesheet\" && (dataHref === href || dataHref === fullhref)) return resolve();\n \t\t\t\t}\n \t\t\t\tvar existingStyleTags = document.getElementsByTagName(\"style\");\n \t\t\t\tfor(var i = 0; i < existingStyleTags.length; i++) {\n \t\t\t\t\tvar tag = existingStyleTags[i];\n \t\t\t\t\tvar dataHref = tag.getAttribute(\"data-href\");\n \t\t\t\t\tif(dataHref === href || dataHref === fullhref) return resolve();\n \t\t\t\t}\n \t\t\t\tvar linkTag = document.createElement(\"link\");\n \t\t\t\tlinkTag.rel = \"stylesheet\";\n \t\t\t\tlinkTag.type = \"text/css\";\n \t\t\t\tlinkTag.onload = resolve;\n \t\t\t\tlinkTag.onerror = function(event) {\n \t\t\t\t\tvar request = event && event.target && event.target.src || fullhref;\n \t\t\t\t\tvar err = new Error(\"Loading CSS chunk \" + chunkId + \" failed.\\n(\" + request + \")\");\n \t\t\t\t\terr.request = request;\n \t\t\t\t\tdelete installedCssChunks[chunkId]\n \t\t\t\t\tlinkTag.parentNode.removeChild(linkTag)\n \t\t\t\t\treject(err);\n \t\t\t\t};\n \t\t\t\tlinkTag.href = fullhref;\n\n \t\t\t\tvar head = document.getElementsByTagName(\"head\")[0];\n \t\t\t\thead.appendChild(linkTag);\n \t\t\t}).then(function() {\n \t\t\t\tinstalledCssChunks[chunkId] = 0;\n \t\t\t}));\n \t\t}\n\n \t\t// JSONP chunk loading for javascript\n\n \t\tvar installedChunkData = installedChunks[chunkId];\n \t\tif(installedChunkData !== 0) { // 0 means \"already installed\".\n\n \t\t\t// a Promise means \"currently loading\".\n \t\t\tif(installedChunkData) {\n \t\t\t\tpromises.push(installedChunkData[2]);\n \t\t\t} else {\n \t\t\t\t// setup Promise in chunk cache\n \t\t\t\tvar promise = new Promise(function(resolve, reject) {\n \t\t\t\t\tinstalledChunkData = installedChunks[chunkId] = [resolve, reject];\n \t\t\t\t});\n \t\t\t\tpromises.push(installedChunkData[2] = promise);\n\n \t\t\t\t// start chunk loading\n \t\t\t\tvar script = document.createElement('script');\n \t\t\t\tvar onScriptComplete;\n\n \t\t\t\tscript.charset = 'utf-8';\n \t\t\t\tscript.timeout = 120;\n \t\t\t\tif (__webpack_require__.nc) {\n \t\t\t\t\tscript.setAttribute(\"nonce\", __webpack_require__.nc);\n \t\t\t\t}\n \t\t\t\tscript.src = jsonpScriptSrc(chunkId);\n\n \t\t\t\tonScriptComplete = function (event) {\n \t\t\t\t\t// avoid mem leaks in IE.\n \t\t\t\t\tscript.onerror = script.onload = null;\n \t\t\t\t\tclearTimeout(timeout);\n \t\t\t\t\tvar chunk = installedChunks[chunkId];\n \t\t\t\t\tif(chunk !== 0) {\n \t\t\t\t\t\tif(chunk) {\n \t\t\t\t\t\t\tvar errorType = event && (event.type === 'load' ? 'missing' : event.type);\n \t\t\t\t\t\t\tvar realSrc = event && event.target && event.target.src;\n \t\t\t\t\t\t\tvar error = new Error('Loading chunk ' + chunkId + ' failed.\\n(' + errorType + ': ' + realSrc + ')');\n \t\t\t\t\t\t\terror.type = errorType;\n \t\t\t\t\t\t\terror.request = realSrc;\n \t\t\t\t\t\t\tchunk[1](error);\n \t\t\t\t\t\t}\n \t\t\t\t\t\tinstalledChunks[chunkId] = undefined;\n \t\t\t\t\t}\n \t\t\t\t};\n \t\t\t\tvar timeout = setTimeout(function(){\n \t\t\t\t\tonScriptComplete({ type: 'timeout', target: script });\n \t\t\t\t}, 120000);\n \t\t\t\tscript.onerror = script.onload = onScriptComplete;\n \t\t\t\tdocument.head.appendChild(script);\n \t\t\t}\n \t\t}\n \t\treturn Promise.all(promises);\n \t};\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"/\";\n\n \t// on error function for async loading\n \t__webpack_require__.oe = function(err) { console.error(err); throw err; };\n\n \tvar jsonpArray = window[\"webpackJsonp\"] = window[\"webpackJsonp\"] || [];\n \tvar oldJsonpFunction = jsonpArray.push.bind(jsonpArray);\n \tjsonpArray.push = webpackJsonpCallback;\n \tjsonpArray = jsonpArray.slice();\n \tfor(var i = 0; i < jsonpArray.length; i++) webpackJsonpCallback(jsonpArray[i]);\n \tvar parentJsonpFunction = oldJsonpFunction;\n\n\n \t// run deferred modules from other chunks\n \tcheckDeferredModules();\n"],"sourceRoot":""} {"version":3,"sources":["webpack:///webpack/bootstrap"],"names":["webpackJsonpCallback","data","moduleId","chunkId","chunkIds","moreModules","executeModules","i","resolves","length","installedChunks","push","Object","prototype","hasOwnProperty","call","modules","parentJsonpFunction","shift","deferredModules","apply","checkDeferredModules","result","deferredModule","fulfilled","j","depId","splice","__webpack_require__","s","installedModules","installedCssChunks","jsonpScriptSrc","p","exports","module","l","e","promises","cssChunks","Promise","resolve","reject","href","fullhref","existingLinkTags","document","getElementsByTagName","tag","dataHref","getAttribute","rel","existingStyleTags","linkTag","createElement","type","onload","onerror","event","request","target","src","err","Error","parentNode","removeChild","head","appendChild","then","installedChunkData","promise","onScriptComplete","script","charset","timeout","nc","setAttribute","clearTimeout","chunk","errorType","realSrc","error","undefined","setTimeout","all","m","c","d","name","getter","o","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","oe","console","jsonpArray","window","oldJsonpFunction","slice"],"mappings":"aACE,SAASA,EAAqBC,GAQ7B,IAPA,IAMIC,EAAUC,EANVC,EAAWH,EAAK,GAChBI,EAAcJ,EAAK,GACnBK,EAAiBL,EAAK,GAIHM,EAAI,EAAGC,EAAW,GACpCD,EAAIH,EAASK,OAAQF,IACzBJ,EAAUC,EAASG,GAChBG,EAAgBP,IAClBK,EAASG,KAAKD,EAAgBP,GAAS,IAExCO,EAAgBP,GAAW,EAE5B,IAAID,KAAYG,EACZO,OAAOC,UAAUC,eAAeC,KAAKV,EAAaH,KACpDc,EAAQd,GAAYG,EAAYH,IAG/Be,GAAqBA,EAAoBhB,GAE5C,MAAMO,EAASC,OACdD,EAASU,OAATV,GAOD,OAHAW,EAAgBR,KAAKS,MAAMD,EAAiBb,GAAkB,IAGvDe,IAER,SAASA,IAER,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,OAAOA,GAEtC,OADAP,EAAoB2D,EAAEE,EAAQ,IAAKA,GAC5BA,GAIR7D,EAAoB8D,EAAI,SAASgB,EAAQC,GAAY,OAAO/F,OAAOC,UAAUC,eAAeC,KAAK2F,EAAQC,IAGzG/E,EAAoBK,EAAI,IAGxBL,EAAoBgF,GAAK,SAAS9C,GAA2B,MAApB+C,QAAQ5B,MAAMnB,GAAYA,GAEnE,IAAIgD,EAAaC,OAAO,gBAAkBA,OAAO,iBAAmB,GAChEC,EAAmBF,EAAWnG,KAAK6F,KAAKM,GAC5CA,EAAWnG,KAAOX,EAClB8G,EAAaA,EAAWG,QACxB,IAAI,IAAI1G,EAAI,EAAGA,EAAIuG,EAAWrG,OAAQF,IAAKP,EAAqB8G,EAAWvG,IAC3E,IAAIU,EAAsB+F,EAI1B3F,K","file":"static/js/runtime.2b8934b5.js","sourcesContent":[" \t// install a JSONP callback for chunk loading\n \tfunction webpackJsonpCallback(data) {\n \t\tvar chunkIds = data[0];\n \t\tvar moreModules = data[1];\n \t\tvar executeModules = data[2];\n\n \t\t// add \"moreModules\" to the modules object,\n \t\t// then flag all \"chunkIds\" as loaded and fire callback\n \t\tvar moduleId, chunkId, i = 0, resolves = [];\n \t\tfor(;i < chunkIds.length; i++) {\n \t\t\tchunkId = chunkIds[i];\n \t\t\tif(installedChunks[chunkId]) {\n \t\t\t\tresolves.push(installedChunks[chunkId][0]);\n \t\t\t}\n \t\t\tinstalledChunks[chunkId] = 0;\n \t\t}\n \t\tfor(moduleId in moreModules) {\n \t\t\tif(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {\n \t\t\t\tmodules[moduleId] = moreModules[moduleId];\n \t\t\t}\n \t\t}\n \t\tif(parentJsonpFunction) parentJsonpFunction(data);\n\n \t\twhile(resolves.length) {\n \t\t\tresolves.shift()();\n \t\t}\n\n \t\t// add entry modules from loaded chunk to deferred list\n \t\tdeferredModules.push.apply(deferredModules, executeModules || []);\n\n \t\t// run deferred modules when all chunks ready\n \t\treturn checkDeferredModules();\n \t};\n \tfunction checkDeferredModules() {\n \t\tvar result;\n \t\tfor(var i = 0; i < deferredModules.length; i++) {\n \t\t\tvar deferredModule = deferredModules[i];\n \t\t\tvar fulfilled = true;\n \t\t\tfor(var j = 1; j < deferredModule.length; j++) {\n \t\t\t\tvar depId = deferredModule[j];\n \t\t\t\tif(installedChunks[depId] !== 0) fulfilled = false;\n \t\t\t}\n \t\t\tif(fulfilled) {\n \t\t\t\tdeferredModules.splice(i--, 1);\n \t\t\t\tresult = __webpack_require__(__webpack_require__.s = deferredModule[0]);\n \t\t\t}\n \t\t}\n \t\treturn result;\n \t}\n\n \t// The module cache\n \tvar installedModules = {};\n\n \t// object to store loaded CSS chunks\n \tvar installedCssChunks = {\n \t\t\"runtime\": 0\n \t}\n\n \t// object to store loaded and loading chunks\n \t// undefined = chunk not loaded, null = chunk preloaded/prefetched\n \t// Promise = chunk loading, 0 = chunk loaded\n \tvar installedChunks = {\n \t\t\"runtime\": 0\n \t};\n\n \tvar deferredModules = [];\n\n \t// script path function\n \tfunction jsonpScriptSrc(chunkId) {\n \t\treturn __webpack_require__.p + \"static/js/\" + ({}[chunkId]||chunkId) + \".\" + {\"chunk-0e9f6bd6\":\"963a5033\",\"chunk-23d8180c\":\"5355ea98\",\"chunk-11e11e1c\":\"050d3d7b\",\"chunk-14356e48\":\"b7dab0e7\",\"chunk-1d571893\":\"9397b39e\",\"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-70e8a1ba\":\"34e79f25\",\"chunk-2d0e28b6\":\"851865e9\",\"chunk-2d22db58\":\"c5e21280\",\"chunk-57872cf8\":\"e5876f3f\",\"chunk-6899b162\":\"8733d732\",\"chunk-6cbfafa6\":\"367c2f6e\",\"chunk-7c2f4fe6\":\"a6e494d8\",\"chunk-7cd8bac8\":\"cb100774\",\"chunk-8457bade\":\"fae1e02b\",\"chunk-fa6b139a\":\"af89dea0\",\"chunk-fa9f02d6\":\"c80d1612\"}[chunkId] + \".js\"\n \t}\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n \t// This file contains only the entry chunk.\n \t// The chunk loading function for additional chunks\n \t__webpack_require__.e = function requireEnsure(chunkId) {\n \t\tvar promises = [];\n\n\n \t\t// mini-css-extract-plugin CSS loading\n \t\tvar cssChunks = {\"chunk-23d8180c\":1,\"chunk-11e11e1c\":1,\"chunk-14356e48\":1,\"chunk-1d571893\":1,\"chunk-242f810e\":1,\"chunk-612d55f9\":1,\"chunk-70e8a1ba\":1,\"chunk-57872cf8\":1,\"chunk-6899b162\":1,\"chunk-6cbfafa6\":1,\"chunk-7cd8bac8\":1,\"chunk-8457bade\":1,\"chunk-fa6b139a\":1,\"chunk-fa9f02d6\":1};\n \t\tif(installedCssChunks[chunkId]) promises.push(installedCssChunks[chunkId]);\n \t\telse if(installedCssChunks[chunkId] !== 0 && cssChunks[chunkId]) {\n \t\t\tpromises.push(installedCssChunks[chunkId] = new Promise(function(resolve, reject) {\n \t\t\t\tvar href = \"static/css/\" + ({}[chunkId]||chunkId) + \".\" + {\"chunk-0e9f6bd6\":\"31d6cfe0\",\"chunk-23d8180c\":\"171fd667\",\"chunk-11e11e1c\":\"0934badc\",\"chunk-14356e48\":\"7d5c00e2\",\"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-70e8a1ba\":\"6cbab178\",\"chunk-2d0e28b6\":\"31d6cfe0\",\"chunk-2d22db58\":\"31d6cfe0\",\"chunk-57872cf8\":\"9183fc08\",\"chunk-6899b162\":\"3fd47436\",\"chunk-6cbfafa6\":\"43a2482e\",\"chunk-7c2f4fe6\":\"31d6cfe0\",\"chunk-7cd8bac8\":\"f9a06397\",\"chunk-8457bade\":\"e539ec29\",\"chunk-fa6b139a\":\"fe6be668\",\"chunk-fa9f02d6\":\"354a7711\"}[chunkId] + \".css\";\n \t\t\t\tvar fullhref = __webpack_require__.p + href;\n \t\t\t\tvar existingLinkTags = document.getElementsByTagName(\"link\");\n \t\t\t\tfor(var i = 0; i < existingLinkTags.length; i++) {\n \t\t\t\t\tvar tag = existingLinkTags[i];\n \t\t\t\t\tvar dataHref = tag.getAttribute(\"data-href\") || tag.getAttribute(\"href\");\n \t\t\t\t\tif(tag.rel === \"stylesheet\" && (dataHref === href || dataHref === fullhref)) return resolve();\n \t\t\t\t}\n \t\t\t\tvar existingStyleTags = document.getElementsByTagName(\"style\");\n \t\t\t\tfor(var i = 0; i < existingStyleTags.length; i++) {\n \t\t\t\t\tvar tag = existingStyleTags[i];\n \t\t\t\t\tvar dataHref = tag.getAttribute(\"data-href\");\n \t\t\t\t\tif(dataHref === href || dataHref === fullhref) return resolve();\n \t\t\t\t}\n \t\t\t\tvar linkTag = document.createElement(\"link\");\n \t\t\t\tlinkTag.rel = \"stylesheet\";\n \t\t\t\tlinkTag.type = \"text/css\";\n \t\t\t\tlinkTag.onload = resolve;\n \t\t\t\tlinkTag.onerror = function(event) {\n \t\t\t\t\tvar request = event && event.target && event.target.src || fullhref;\n \t\t\t\t\tvar err = new Error(\"Loading CSS chunk \" + chunkId + \" failed.\\n(\" + request + \")\");\n \t\t\t\t\terr.request = request;\n \t\t\t\t\tdelete installedCssChunks[chunkId]\n \t\t\t\t\tlinkTag.parentNode.removeChild(linkTag)\n \t\t\t\t\treject(err);\n \t\t\t\t};\n \t\t\t\tlinkTag.href = fullhref;\n\n \t\t\t\tvar head = document.getElementsByTagName(\"head\")[0];\n \t\t\t\thead.appendChild(linkTag);\n \t\t\t}).then(function() {\n \t\t\t\tinstalledCssChunks[chunkId] = 0;\n \t\t\t}));\n \t\t}\n\n \t\t// JSONP chunk loading for javascript\n\n \t\tvar installedChunkData = installedChunks[chunkId];\n \t\tif(installedChunkData !== 0) { // 0 means \"already installed\".\n\n \t\t\t// a Promise means \"currently loading\".\n \t\t\tif(installedChunkData) {\n \t\t\t\tpromises.push(installedChunkData[2]);\n \t\t\t} else {\n \t\t\t\t// setup Promise in chunk cache\n \t\t\t\tvar promise = new Promise(function(resolve, reject) {\n \t\t\t\t\tinstalledChunkData = installedChunks[chunkId] = [resolve, reject];\n \t\t\t\t});\n \t\t\t\tpromises.push(installedChunkData[2] = promise);\n\n \t\t\t\t// start chunk loading\n \t\t\t\tvar script = document.createElement('script');\n \t\t\t\tvar onScriptComplete;\n\n \t\t\t\tscript.charset = 'utf-8';\n \t\t\t\tscript.timeout = 120;\n \t\t\t\tif (__webpack_require__.nc) {\n \t\t\t\t\tscript.setAttribute(\"nonce\", __webpack_require__.nc);\n \t\t\t\t}\n \t\t\t\tscript.src = jsonpScriptSrc(chunkId);\n\n \t\t\t\tonScriptComplete = function (event) {\n \t\t\t\t\t// avoid mem leaks in IE.\n \t\t\t\t\tscript.onerror = script.onload = null;\n \t\t\t\t\tclearTimeout(timeout);\n \t\t\t\t\tvar chunk = installedChunks[chunkId];\n \t\t\t\t\tif(chunk !== 0) {\n \t\t\t\t\t\tif(chunk) {\n \t\t\t\t\t\t\tvar errorType = event && (event.type === 'load' ? 'missing' : event.type);\n \t\t\t\t\t\t\tvar realSrc = event && event.target && event.target.src;\n \t\t\t\t\t\t\tvar error = new Error('Loading chunk ' + chunkId + ' failed.\\n(' + errorType + ': ' + realSrc + ')');\n \t\t\t\t\t\t\terror.type = errorType;\n \t\t\t\t\t\t\terror.request = realSrc;\n \t\t\t\t\t\t\tchunk[1](error);\n \t\t\t\t\t\t}\n \t\t\t\t\t\tinstalledChunks[chunkId] = undefined;\n \t\t\t\t\t}\n \t\t\t\t};\n \t\t\t\tvar timeout = setTimeout(function(){\n \t\t\t\t\tonScriptComplete({ type: 'timeout', target: script });\n \t\t\t\t}, 120000);\n \t\t\t\tscript.onerror = script.onload = onScriptComplete;\n \t\t\t\tdocument.head.appendChild(script);\n \t\t\t}\n \t\t}\n \t\treturn Promise.all(promises);\n \t};\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"/\";\n\n \t// on error function for async loading\n \t__webpack_require__.oe = function(err) { console.error(err); throw err; };\n\n \tvar jsonpArray = window[\"webpackJsonp\"] = window[\"webpackJsonp\"] || [];\n \tvar oldJsonpFunction = jsonpArray.push.bind(jsonpArray);\n \tjsonpArray.push = webpackJsonpCallback;\n \tjsonpArray = jsonpArray.slice();\n \tfor(var i = 0; i < jsonpArray.length; i++) webpackJsonpCallback(jsonpArray[i]);\n \tvar parentJsonpFunction = oldJsonpFunction;\n\n\n \t// run deferred modules from other chunks\n \tcheckDeferredModules();\n"],"sourceRoot":""}
\ No newline at end of file \ No newline at end of file
<template> <template>
<div class="goods-info"> <div class="goods-info">
<el-form :model="goodsInfoForm" :rules="goodsInfoRules" ref="goodsInfoForm" label-width="150px" class="demo-goodsInfoForm" size="small"> <el-form :model="goodsInfoForm" :rules="goodsInfoRules" ref="goodsInfoForm" label-width="150px"
class="demo-goodsInfoForm" size="small">
<el-form-item label="商品分类:" prop="categoryStr"> <el-form-item label="商品分类:" prop="categoryStr">
<el-input style="width:420px;" v-model.trim="goodsInfoForm.categoryStr" :disabled="true"></el-input> <el-input style="width:420px;" v-model.trim="goodsInfoForm.categoryStr" :disabled="true"></el-input>
<el-link class="edit-type-span el-icon-edit" type="primary" :underline="false" @click="editType">修改所在类目</el-link> <el-link class="edit-type-span el-icon-edit" type="primary" :underline="false" @click="editType">修改所在类目
</el-link>
<span class="tip-span">该商品所在类目须支持七天无理由退货</span> <span class="tip-span">该商品所在类目须支持七天无理由退货</span>
</el-form-item> </el-form-item>
...@@ -41,12 +43,7 @@ ...@@ -41,12 +43,7 @@
</el-form-item> --> </el-form-item> -->
<el-form-item label="所属品牌:" prop="brand_id"> <el-form-item label="所属品牌:" prop="brand_id">
<el-select v-model.trim="goodsInfoForm.brand_id" placeholder="请选择商品品牌" style="width: 420px;"> <el-select v-model.trim="goodsInfoForm.brand_id" placeholder="请选择商品品牌" style="width: 420px;">
<el-option <el-option v-for="item in brandOptions" :key="item.id" :label="item.brand_cn" :value="item.id"></el-option>
v-for="item in brandOptions"
:key="item.id"
:label="item.brand_cn"
:value="item.id"
></el-option>
</el-select> </el-select>
<el-link class="edit-type-span el-icon-plus" type="primary" :underline="false" @click="toBrand">新增品牌</el-link> <el-link class="edit-type-span el-icon-plus" type="primary" :underline="false" @click="toBrand">新增品牌</el-link>
</el-form-item> </el-form-item>
...@@ -63,36 +60,30 @@ ...@@ -63,36 +60,30 @@
商品图片最多上传7张,默认第一张为主图 商品图片最多上传7张,默认第一张为主图
<span style="margin-left: 20px;">单张图片需限制在2M以内,可上传png、jpg格式,尺寸要求为800 * 800</span> <span style="margin-left: 20px;">单张图片需限制在2M以内,可上传png、jpg格式,尺寸要求为800 * 800</span>
</span> </span>
<draggable :list="goodsImgFileList" group="article" class="dragArea" @end="handchange($event)"> <draggable :list="goodsImgFileList" group="article" class="dragArea" @end="handchange($event)">
<div v-for="(element,index) in goodsImgFileList" :key="index" class="list-complete-item" style="float:left;margin:0 10px;"> <div v-for="(element,index) in goodsImgFileList" :key="index" class="list-complete-item"
<div style="width:98px;height:98px;position: relative;" class="" @mouseover="showDelBtn(index)" @mouseleave="hiddenDelBtn"> style="float:left;margin:0 10px;">
<div style="width:98px;height:98px;position: relative;" class="" @mouseover="showDelBtn(index)"
@mouseleave="hiddenDelBtn">
<img v-if="element" :src="element.url" width="98" height="98" /> <img v-if="element" :src="element.url" width="98" height="98" />
<span class="iconcur" v-show="index==currentDelBtn" style="width:100%;height:100%;line-height: 98px;text-align: center; position:absolute;top:0;left:0;background-color: rgba(0,0,0,0.5); <span class="iconcur" v-show="index==currentDelBtn" style="width:100%;height:100%;line-height: 98px;text-align: center; position:absolute;top:0;left:0;background-color: rgba(0,0,0,0.5);
transition: opacity .3s;"> transition: opacity .3s;">
<i class="el-icon-zoom-in iconcur" style="font-size:20px;color:#fff;" @click="lookimg(element)"></i> <i class="el-icon-zoom-in iconcur" style="font-size:20px;color:#fff;" @click="lookimg(element)"></i>
<i class="el-icon-delete iconcur" style="font-size:20px;color:#fff;" @click="deleImg(element,index)"></i> <i class="el-icon-delete iconcur" style="font-size:20px;color:#fff;"
@click="deleImg(element,index)"></i>
</span> </span>
</div> </div>
<p v-if="index==0" style="margin:0;padding:0;text-align:center;background:#ccc;color:#fff;">主图</p> <p v-if="index==0" style="margin:0;padding:0;text-align:center;background:#ccc;color:#fff;">主图</p>
</div> </div>
</draggable> </draggable>
<el-dialog :visible.sync="dialogVisible"> <el-dialog :visible.sync="dialogVisible">
<img width="100%" :src="dialogImageUrl" alt=""> <img width="100%" :src="dialogImageUrl" alt="">
</el-dialog> </el-dialog>
<!-- {{goodsImgFileList}} --> <!-- {{goodsImgFileList}} -->
<el-upload <el-upload class="upload-img" list-type="picture-card" action="#" :limit="7" :on-exceed="limitImg5"
class="upload-img" :before-upload="beforeUpGoodsImg" :http-request="uploadGoodsImg" :show-file-list="false"
list-type="picture-card" :on-preview="handlePictureCardPreview" :on-remove="handleRemove" :file-list="goodsImgFileList"><i
action="#" class="el-icon-plus" />
:limit="7"
:on-exceed="limitImg5"
:before-upload="beforeUpGoodsImg"
:http-request="uploadGoodsImg"
:show-file-list="false"
:on-preview="handlePictureCardPreview"
:on-remove="handleRemove"
:file-list="goodsImgFileList"
><i class="el-icon-plus" />
</el-upload> </el-upload>
<el-dialog :visible.sync="goodsImgVisible"> <el-dialog :visible.sync="goodsImgVisible">
<img width="100%" :src="goodsImgUrlDialog" alt=""> <img width="100%" :src="goodsImgUrlDialog" alt="">
...@@ -100,54 +91,33 @@ ...@@ -100,54 +91,33 @@
</el-form-item> </el-form-item>
<el-form-item label='商品视频:' > <el-form-item label='商品视频:'>
<span class="tip-span" style="display: block;line-height: 34px;"> <span class="tip-span" style="display: block;line-height: 34px;">
最多上传一个视频(mp4格式),视频时长不超过30秒, 最多上传一个视频(mp4格式),视频时长不超过30秒,
<span style="margin-left: 20px;">视频大小不超过10M,默认视频在图片前面</span> <span style="margin-left: 20px;">视频大小不超过10M,默认视频在图片前面</span>
</span> </span>
<video <video v-if="vediosrc" style="width:300px;height:150px;float:left;margin:0 10px 0 0;" v-bind:src="vediosrc"
v-if="vediosrc" class="avatar video-avatar" controls="controls">
style="width:300px;height:150px;float:left;margin:0 10px 0 0;" 您的浏览器不支持视频播放
v-bind:src="vediosrc" </video>
class="avatar video-avatar" <i @click="delvideo" v-if="vediosrc" class="el-icon-circle-close iconcur"
controls="controls"> style="color:red;font-size: 18px;"></i>
您的浏览器不支持视频播放 <el-upload v-if="!vediosrc" class="upload-img" ref="videoref" action="#" :limit="1" list-type="picture-card"
</video> :before-upload="beforeUpGoodsvedio" :http-request="uploadGoodsvedio" :show-file-list="false"
<i @click="delvideo" v-if="vediosrc" class="el-icon-circle-close iconcur" style="color:red;font-size: 18px;" ></i> :on-preview="handlePictureCardPreview" :on-remove="handleRemove" :on-error="vedioerror"
<el-upload :file-list="goodsvedioFileList"><i class="el-icon-plus" />
v-if="!vediosrc" <!-- v-if="videoform.showvideopath !='' && !videoflag" -->
class="upload-img"
ref="videoref"
action="#"
:limit="1"
list-type="picture-card"
:before-upload="beforeUpGoodsvedio"
:http-request="uploadGoodsvedio"
:show-file-list="false"
:on-preview="handlePictureCardPreview"
:on-remove="handleRemove"
:on-error="vedioerror"
:file-list="goodsvedioFileList"
><i class="el-icon-plus" />
<!-- v-if="videoform.showvideopath !='' && !videoflag" -->
</el-upload> </el-upload>
</el-form-item> </el-form-item>
</el-form> </el-form>
<!-- 修改 商品分类目录 --> <!-- 修改 商品分类目录 -->
<!-- <el-cascader-panel v-model="SSQList" :props='props' @change="SSQChange" ref="ssqCascader"></el-cascader-panel>--> <!-- <el-cascader-panel v-model="SSQList" :props='props' @change="SSQChange" ref="ssqCascader"></el-cascader-panel>-->
<el-dialog <el-dialog v-loading="loadingSSQ" class="add-workorder-dialog opendow" title="修改商品分类" :visible.sync="editGoodsTypeDialog" :close-on-click-modal="false"
v-loading="loadingSSQ" :before-close="cancelType" center>
class="add-workorder-dialog" <el-cascader-panel style="width:80%;" v-show="editGoodsTypeDialog" v-model.trim="SSQGoodsList" :props='goodsprops'
title="修改商品分类" :options="fuckoptions" @change="handGoodsChang" @active-item-change="SSQGoodsChange" ref="ssqGoodsCascader"></el-cascader-panel>
:visible.sync="editGoodsTypeDialog"
:before-close="cancelType"
destroy-on-close
width="60%"
center
>
<el-cascader-panel v-show="editGoodsTypeDialog" v-model.trim="SSQGoodsList" :props='goodsprops' :options="fuckoptions" @active-item-change="SSQGoodsChange" ref="ssqGoodsCascader"></el-cascader-panel>
<span slot="footer" class="dialog-footer"> <span slot="footer" class="dialog-footer">
<el-button @click="cancelType" size="mini">取 消</el-button> <el-button @click="cancelType" size="mini">取 消</el-button>
<el-button type="primary" @click="saveType" size="mini">确 定</el-button> <el-button type="primary" @click="saveType" size="mini">确 定</el-button>
...@@ -157,7 +127,7 @@ ...@@ -157,7 +127,7 @@
</template> </template>
<script> <script>
import { NewGetCategory, GetFreight, UploadImg, getByCategoryData,uploadVideo } from '@/api/module/goods' import { NewGetCategory,NewGetCategoryData, GetFreight, UploadImg, getByCategoryData, uploadVideo } from '@/api/module/goods'
import { getBrandsInf } from '@/api/module/brand/brand' import { getBrandsInf } from '@/api/module/brand/brand'
import { getAreaList } from '@/api/module/retreat/address' import { getAreaList } from '@/api/module/retreat/address'
import draggable from 'vuedraggable' import draggable from 'vuedraggable'
...@@ -173,15 +143,16 @@ ...@@ -173,15 +143,16 @@
draggable draggable
}, },
computed: {//这一部分直接拿过来用的 computed: {//这一部分直接拿过来用的
dragOptions() { dragOptions() {
return { return {
animation: 200, valdata:[],
group: "description", animation: 200,
disabled: false, group: "description",
ghostClass: "ghost" disabled: false,
}; ghostClass: "ghost"
} };
}, }
},
data() { data() {
let categoryIdCheck = (rule, value, callback) => { let categoryIdCheck = (rule, value, callback) => {
if (this.goodsImgFileList.length < 1) { if (this.goodsImgFileList.length < 1) {
...@@ -191,29 +162,29 @@ ...@@ -191,29 +162,29 @@
} }
}; };
let goodsDecCheck = (rule, value, callback) => { let goodsDecCheck = (rule, value, callback) => {
if(!value) { if (!value) {
callback(new Error("商品关键词,不能为空")); callback(new Error("商品关键词,不能为空"));
} else { } else {
if( value.indexOf(',') > -1 ) { if (value.indexOf(',') > -1) {
callback(new Error("商品关键词,不能有中文状态下的逗号,请再次检查")); callback(new Error("商品关键词,不能有中文状态下的逗号,请再次检查"));
} }
// 如果包含了,英文逗号,说明有多个,就校验个数 // 如果包含了,英文逗号,说明有多个,就校验个数
if( value.indexOf(',') > -1 ) { if (value.indexOf(',') > -1) {
let arrLength = value.split(',').length; let arrLength = value.split(',').length;
console.log(value.split(',')); console.log(value.split(','));
if(arrLength > 5) { if (arrLength > 5) {
callback(new Error("商品关键词,不能超过5个")); callback(new Error("商品关键词,不能超过5个"));
}else { } else {
callback(); callback();
} }
}else { } else {
callback(); callback();
} }
} }
} }
return { return {
dialogVisible:false, dialogVisible: false,
dialogImageUrl:'', dialogImageUrl: '',
videoflag: false, videoflag: false,
//是否显示进度条 //是否显示进度条
videouploadpercent: "", videouploadpercent: "",
...@@ -221,10 +192,10 @@ ...@@ -221,10 +192,10 @@
isshowuploadvideo: false, isshowuploadvideo: false,
//显示上传按钮 //显示上传按钮
videoform: { videoform: {
showvideopath: '' showvideopath: ''
}, },
goodsvedioFileList:[], goodsvedioFileList: [],
vediosrc:'', vediosrc: '',
loadingapp: false, loadingapp: false,
drag: false, drag: false,
currentDelBtn: -1, currentDelBtn: -1,
...@@ -245,20 +216,20 @@ ...@@ -245,20 +216,20 @@
web_url: '', // 外部链接 web_url: '', // 外部链接
out_goods_id: '', // 商品编码 out_goods_id: '', // 商品编码
imgs: [], // 商品图片 imgs: [], // 商品图片
video:'' video: ''
}, },
goodsInfoRules: { goodsInfoRules: {
categoryStr: [{required: true, message: '商品分类不能为空', trigger: 'blur'}], categoryStr: [{ required: true, message: '商品分类不能为空', trigger: 'blur' }],
goods_name: [ goods_name: [
{required: true, message: '请输入商品名称', trigger: 'blur'}, { required: true, message: '请输入商品名称', trigger: 'blur' },
{min: 3, max: 50, message: '商品标题限制在3字符以上,50个字符以下', trigger: 'blur'} { min: 3, max: 50, message: '商品标题限制在3字符以上,50个字符以下', trigger: 'blur' }
], ],
// goods_des: [{required: true, validator: goodsDecCheck, trigger: 'blur'}], // goods_des: [{required: true, validator: goodsDecCheck, trigger: 'blur'}],
// producing_area:[{required: true, message: '请选择商品产地', trigger: 'change'}], // producing_area:[{required: true, message: '请选择商品产地', trigger: 'change'}],
deliver_area: [{required: true, message: '请选择商品发货地', trigger: 'change'}], deliver_area: [{ required: true, message: '请选择商品发货地', trigger: 'change' }],
unit: [{required: true, message: '商品单位不能为空', trigger: 'blur'}], unit: [{ required: true, message: '商品单位不能为空', trigger: 'blur' }],
goods_brand: [{required: true, message: '请选择商品品牌', trigger: 'change'}], goods_brand: [{ required: true, message: '请选择商品品牌', trigger: 'change' }],
imgs: [{required: true, message: '请上传商品图片', validator: categoryIdCheck}] imgs: [{ required: true, message: '请上传商品图片', validator: categoryIdCheck }]
}, },
goodsImgFileList: [], // 商品图片地址 集合list goodsImgFileList: [], // 商品图片地址 集合list
goodsImgVisible: false, // 图片能否预览 goodsImgVisible: false, // 图片能否预览
...@@ -272,7 +243,7 @@ ...@@ -272,7 +243,7 @@
// lazy: true, // lazy: true,
// lazyLoad: this.lazyLoad, // lazyLoad: this.lazyLoad,
value: "id", value: "id",
label: 'label', label: 'title',
// leaf: 'leaf', // leaf: 'leaf',
children: 'children', children: 'children',
// checkStrictly: true // checkStrictly: true
...@@ -293,45 +264,46 @@ ...@@ -293,45 +264,46 @@
// 获取 商品品牌 // 获取 商品品牌
this.getBrands(); this.getBrands();
// 获取类目 // 获取类目
this.getSSQArea(); // this.getSSQArea();
}, },
mounted() { mounted() {
if(this.goodsinfodata.goods_id) { if (this.goodsinfodata.goods_id) {
this.goodsInfoForm = this.goodsinfodata; this.goodsInfoForm = this.goodsinfodata;
this.vediosrc = this.goodsinfodata.video this.vediosrc = this.goodsinfodata.video
if( this.goodsInfoForm.imgs.length > 0 ) { if (this.goodsInfoForm.imgs.length > 0) {
this.goodsInfoForm.imgs.forEach( (item )=> { this.goodsInfoForm.imgs.forEach((item) => {
let objImg = { 'url': '' } let objImg = { 'url': '' }
objImg.url = item; objImg.url = item;
this.goodsImgFileList.push(objImg); this.goodsImgFileList.push(objImg);
}) })
} }
}else { } else {
this.goodsInfoForm.categoryStr = this.goodsinfodata.categoryStr; this.goodsInfoForm.categoryStr = this.goodsinfodata.categoryStr;
this.goodsInfoForm.categoryList = this.goodsinfodata.categoryList; this.goodsInfoForm.categoryList = this.goodsinfodata.categoryList;
} }
// 初始化 服务费率 // 初始化 服务费率
this.getByCategoryFee(this.goodsInfoForm.categoryList) this.getByCategoryFee(this.goodsInfoForm.categoryList)
this.SSQGoodsList = this.goodsInfoForm.categoryList
this. getalllist(this.SSQGoodsList)
}, },
methods: { methods: {
handchange(){//图片拖动结束 handchange() {//图片拖动结束
console.log(this.goodsImgFileList) console.log(this.goodsImgFileList)
this.goodsInfoForm.imgs = [] this.goodsInfoForm.imgs = []
this.goodsImgFileList.forEach(item=> { this.goodsImgFileList.forEach(item => {
this.goodsInfoForm.imgs.push(item.url) this.goodsInfoForm.imgs.push(item.url)
}) })
}, },
delvideo(){ delvideo() {
this.vediosrc = '' this.vediosrc = ''
this.goodsvedioFileList = [] this.goodsvedioFileList = []
}, },
// 上传 视频 之前 // 上传 视频 之前
beforeUpGoodsvedio(file) { beforeUpGoodsvedio(file) {
debugger // debugger
let isImgSize = (file.size / 1024 / 1024 ) > 10; let isImgSize = (file.size / 1024 / 1024) > 10;
if(file.type !== "video/mp4") { if (file.type !== "video/mp4") {
this.$message({ this.$message({
message: '上传视频格式只支持 mp4 格式', message: '上传视频格式只支持 mp4 格式',
type: "warning" type: "warning"
...@@ -339,7 +311,7 @@ ...@@ -339,7 +311,7 @@
return false; return false;
} }
if(isImgSize) { if (isImgSize) {
this.$message({ this.$message({
message: '上传视频大小不能超过10MB', message: '上传视频大小不能超过10MB',
type: "warning" type: "warning"
...@@ -350,105 +322,190 @@ ...@@ -350,105 +322,190 @@
// 上传 商品视频 // 上传 商品视频
uploadGoodsvedio(param) { uploadGoodsvedio(param) {
const formData = new FormData() const formData = new FormData()
formData.append('file', param.file) formData.append('file', param.file)
uploadVideo(formData).then( res=> { uploadVideo(formData).then(res => {
if(res.data&&res.code==1) { if (res.data && res.code == 1) {
let urlObj = {'url': ''}; let urlObj = { 'url': '' };
urlObj.url = res.data.url; urlObj.url = res.data.url;
this.goodsvedioFileList.push(urlObj); this.goodsvedioFileList.push(urlObj);
this.vediosrc = res.data.url this.vediosrc = res.data.url
this.goodsInfoForm.video = res.data.url this.goodsInfoForm.video = res.data.url
this.$message({type:'success',message:'视频上传成功'}); this.$message({ type: 'success', message: '视频上传成功' });
}else{ } else {
this.goodsvedioFileList=[] this.goodsvedioFileList = []
this.vediosrc = '' this.vediosrc = ''
this.$notify.error({ this.$notify.error({
title: '错误', title: '错误',
message:res.message message: res.message
}); });
} }
}).catch((err)=>{ }).catch((err) => {
console.log(err) console.log(err)
}); });
}, },
vedioerror(err, file, fileList){ vedioerror(err, file, fileList) {
console.log(err, file, fileList) console.log(err, file, fileList)
}, },
onEnd(){ onEnd() {
debugger // debugger
console.log( this.goodsImgFileList) console.log(this.goodsImgFileList)
this.drag = false this.drag = false
}, },
//显示删除图片的图标 //显示删除图片的图标
showDelBtn(index) { showDelBtn(index) {
this.currentDelBtn = index this.currentDelBtn = index
}, },
//隐藏删除图片的图标 //隐藏删除图片的图标
hiddenDelBtn() { hiddenDelBtn() {
this.currentDelBtn = -1 this.currentDelBtn = -1
}, },
// 删除图片 // 删除图片
deleImg(data, index) { deleImg(data, index) {
this.goodsImgFileList.splice(index, 1) this.goodsImgFileList.splice(index, 1)
this.goodsInfoForm.imgs.splice(index, 1); this.goodsInfoForm.imgs.splice(index, 1);
}, },
lookimg(data){ lookimg(data) {
this.dialogVisible = true this.dialogVisible = true
this.dialogImageUrl = data.url this.dialogImageUrl = data.url
}, },
// 数据初始化 // 数据初始化
initInfo() { initInfo() {
this.$refs.goodsInfoForm.resetFields(); this.$refs.goodsInfoForm.resetFields();
this.goodsImgFileList = []; this.goodsImgFileList = [];
}, },
// 获取 商品品牌 // 获取 商品品牌
getBrands() { getBrands() {
// 增加入参 // 增加入参
let data = { let data = {
status: 1 status: 1
} }
getBrandsInf(data).then( res => { getBrandsInf(data).then(res => {
if(res.code == 1 ) { if (res.code == 1) {
this.brandOptions = res.data.data ? res.data.data : []; this.brandOptions = res.data.data ? res.data.data : [];
}else { } else {
this.brandOptions = []; this.brandOptions = [];
} }
}); });
}, },
/* 修改 商品分类 类目 */ /* 修改 商品分类 类目 */
editType() { editType() {
this.SSQGoodsList = []; // this.SSQGoodsList = [];
this.fuckoptions = this.setTreeData(this.fuckoptions)
this.editGoodsTypeDialog = true; this.editGoodsTypeDialog = true;
this.SSQGoodsList = this.goodsInfoForm.categoryList
}, },
getalllist(itemarr){
getSSQArea(node, resolve) { // debugger
let limboNode = {id: 0}; let limboNode
NewGetCategory(limboNode).then(res => { itemarr.forEach((item,index)=>{
if(index==0){
limboNode = { parent_id:0 }
}
if(index>0){
limboNode = { parent_id:itemarr[index-1] }
}
NewGetCategoryData(limboNode).then(res => {
let date = res.data.forEach(item=>{
if(item.level!==2){
item['children'] = []
}
})
this.fuckoptions.push.apply(this.fuckoptions,res.data)
});
})
},
getSSQArea() {
let limboNode = { id: 0 };
NewGetCategoryData(limboNode).then(res => {
this.fuckoptions = res.data; this.fuckoptions = res.data;
}); });
}, },
setTreeData(arr) {
// 删除所有 children,以防止多次调用
arr.forEach(function(item) {
// delete item.children;
});
let map = {}; // 构建map
arr.forEach(i => {
map[i.id] = i; // 构建以third_id为键 当前数据为值
});
let treeData = [];
arr.forEach(child => {
const mapItem = map[child.parent_id]; // 判断当前数据的parent_id是否存在map中
if (mapItem) { // 存在则表示当前数据不是最顶层数据
// 注意: 这里的map中的数据是引用了arr的它的指向还是arr,当mapItem改变时arr也会改变,踩坑点
(mapItem.children || (mapItem.children = [])).push(child); // 这里判断mapItem中是否存在children, 存在则插入当前数据, 不存在则赋值children为[]然后再插入当前数据
} else { // 不存在则是组顶层数据
treeData.push(child);
}
});
return treeData;
},
// 类目修改 // 类目修改
handGoodsChang(val){
console.log(val,'newval')
this.SSQGoodsList = val
},
SSQGoodsChange(value) { SSQGoodsChange(value) {
this.SSQGoodsList = value; this.valdata=[]
console.log(value,'ccc')
let limboNode = {
parent_id:value[value.length - 1]
}
NewGetCategoryData(limboNode).then(res => {
// debugger
res.data.forEach(val=>{
if(val.level!==2){
val['children'] = []
}
this.valdata.push(val)
})
console.log(this.valdata)
if(value.length==1){
this.fuckoptions.forEach((item,index)=>{
if(item.id == value[value.length - 1]){
// debugger
this.fuckoptions[index].children = this.valdata
// debugger
}
})
}
if(value.length==2){
this.fuckoptions.forEach((item,index)=>{
if(item.id == value[0]){
this.fuckoptions[index].children.forEach((iten,indexs)=>{
if(iten.id ===value[1]){
this.fuckoptions[index].children[indexs].children =this.valdata
}
})
}
})
}
});
console.log(this.SSQGoodsList,'aaaaa')
}, },
// 确认 修改 商品分类 // 确认 修改 商品分类
saveType() { saveType() {
if(this.SSQGoodsList && this.SSQGoodsList.length === 3) { if (this.SSQGoodsList && this.SSQGoodsList.length === 3) {
let ssqLabelList = this.$refs['ssqGoodsCascader'].getCheckedNodes()[0].pathLabels; let ssqLabelList = this.$refs['ssqGoodsCascader'].getCheckedNodes()[0].pathLabels;
this.goodsInfoForm.categoryList = this.SSQGoodsList; this.goodsInfoForm.categoryList = this.SSQGoodsList;
this.goodsInfoForm.categoryStr = ssqLabelList[0] + '/' + ssqLabelList[1] + '/' + ssqLabelList[2]; this.goodsInfoForm.categoryStr = ssqLabelList[0] + '/' + ssqLabelList[1] + '/' + ssqLabelList[2];
this.editGoodsTypeDialog = false; this.editGoodsTypeDialog = false;
this.$message({type:'success',message:'修改成功'}); this.$message({ type: 'success', message: '修改成功' });
// 修改类目后更新 服务费率 // 修改类目后更新 服务费率
this.getByCategoryFee(this.goodsInfoForm.categoryList) this.getByCategoryFee(this.goodsInfoForm.categoryList)
}else { } else {
this.$message({type: 'warning',message: '请选择完整三级类目'}); this.$message({ type: 'warning', message: '请选择完整三级类目' });
} }
}, },
// 取消 修改 商品分类 // 取消 修改 商品分类
...@@ -463,10 +520,10 @@ showDelBtn(index) { ...@@ -463,10 +520,10 @@ showDelBtn(index) {
this.$message({ message: '最多上传7张图片', type: 'warning' }) this.$message({ message: '最多上传7张图片', type: 'warning' })
}, },
// 上传 商品图片 之前 // 上传 商品图片 之前
beforeUpGoodsImg (file) { beforeUpGoodsImg(file) {
let isImgSize = (file.size / 1024 / 1024 ) > 2; let isImgSize = (file.size / 1024 / 1024) > 2;
if(file.type !== "image/png" && file.type !== "image/jpg" && file.type != "image/jpeg") { if (file.type !== "image/png" && file.type !== "image/jpg" && file.type != "image/jpeg") {
this.$message({ this.$message({
message: '上传图片格式只支持 jpg / png 格式', message: '上传图片格式只支持 jpg / png 格式',
type: "warning" type: "warning"
...@@ -474,7 +531,7 @@ showDelBtn(index) { ...@@ -474,7 +531,7 @@ showDelBtn(index) {
return false; return false;
} }
if(isImgSize) { if (isImgSize) {
this.$message({ this.$message({
message: '上传图片大小不能超过2MB', message: '上传图片大小不能超过2MB',
type: "warning" type: "warning"
...@@ -483,10 +540,10 @@ showDelBtn(index) { ...@@ -483,10 +540,10 @@ showDelBtn(index) {
} }
// // 图片宽高尺寸限制 800*800 // // 图片宽高尺寸限制 800*800
return new Promise(function(resolve, reject){ return new Promise(function (resolve, reject) {
let _URL = window.URL || window.webkitURL; let _URL = window.URL || window.webkitURL;
let img = new Image(); let img = new Image();
img.onload = function(){ img.onload = function () {
// 图片是否是正方形 宽高比为 1 // 图片是否是正方形 宽高比为 1
file.width = img.width; file.width = img.width;
file.height = img.height; file.height = img.height;
...@@ -494,11 +551,11 @@ showDelBtn(index) { ...@@ -494,11 +551,11 @@ showDelBtn(index) {
valid ? resolve() : reject(); valid ? resolve() : reject();
} }
img.src = _URL.createObjectURL(file); img.src = _URL.createObjectURL(file);
}).then(()=>{ }).then(() => {
return file; return file;
}, ()=>{ }, () => {
this.$message({ this.$message({
message:'商品图片尺寸必须为800 * 800像素,请重新选择!', message: '商品图片尺寸必须为800 * 800像素,请重新选择!',
type: 'warning' type: 'warning'
}); });
return Promise.reject(); return Promise.reject();
...@@ -508,22 +565,22 @@ showDelBtn(index) { ...@@ -508,22 +565,22 @@ showDelBtn(index) {
// 上传 商品图片 // 上传 商品图片
uploadGoodsImg(param) { uploadGoodsImg(param) {
//console.log(327,param); //console.log(327,param);
this.getBase64(param.file).then( res => { this.getBase64(param.file).then(res => {
let result = res.split(","); let result = res.split(",");
this.Base64img = result[1]; this.Base64img = result[1];
let data = {"img_data":this.Base64img}; let data = { "img_data": this.Base64img };
UploadImg(data).then( res=> { UploadImg(data).then(res => {
let urlObj = {'url': ''}; let urlObj = { 'url': '' };
if(res.data) { if (res.data) {
urlObj.url = res.data.image_url; urlObj.url = res.data.image_url;
this.goodsImgFileList.push(urlObj); this.goodsImgFileList.push(urlObj);
this.goodsInfoForm.imgs = []; // 1009 hxz 初始化img this.goodsInfoForm.imgs = []; // 1009 hxz 初始化img
this.goodsImgFileList.forEach(item=> { this.goodsImgFileList.forEach(item => {
this.goodsInfoForm.imgs.push(item.url) this.goodsInfoForm.imgs.push(item.url)
}) })
this.$message({type:'success',message:'图片上传成功'}); this.$message({ type: 'success', message: '图片上传成功' });
// 只清除一次,不浪费哦 // 只清除一次,不浪费哦
if(this.goodsImgFileList.length === 1) { if (this.goodsImgFileList.length === 1) {
this.$refs.goodsInfoForm.clearValidate('imgs'); this.$refs.goodsInfoForm.clearValidate('imgs');
} }
} }
...@@ -531,7 +588,7 @@ showDelBtn(index) { ...@@ -531,7 +588,7 @@ showDelBtn(index) {
}); });
}, },
// 商品信息 子组件 form表单校验, 在父组件中被调用 // 商品信息 子组件 form表单校验, 在父组件中被调用
validateGoodsInfoForm () { validateGoodsInfoForm() {
let flag = null let flag = null
this.$refs['goodsInfoForm'].validate(valid => { this.$refs['goodsInfoForm'].validate(valid => {
if (valid) { if (valid) {
...@@ -555,16 +612,16 @@ showDelBtn(index) { ...@@ -555,16 +612,16 @@ showDelBtn(index) {
this.goodsInfoForm.imgs.splice(i, 1); this.goodsInfoForm.imgs.splice(i, 1);
} }
} }
if(this.goodsImgFileList.length === 0) { if (this.goodsImgFileList.length === 0) {
this.$refs.goodsInfoForm.validateField('imgs') this.$refs.goodsInfoForm.validateField('imgs')
}else { } else {
this.$refs.goodsInfoForm.clearValidate('imgs'); this.$refs.goodsInfoForm.clearValidate('imgs');
} }
}, },
// 维护品牌 // 维护品牌
toBrand() { toBrand() {
this.$router.push({path: '/system/shop/brand'}); this.$router.push({ path: '/system/shop/brand' });
}, },
/** 根据类目 获取服务费率 /** 根据类目 获取服务费率
...@@ -580,10 +637,10 @@ showDelBtn(index) { ...@@ -580,10 +637,10 @@ showDelBtn(index) {
data.category_id = cateList[0]; data.category_id = cateList[0];
} }
// console.log(8888,data); // console.log(8888,data);
getByCategoryData(data).then(res=> { getByCategoryData(data).then(res => {
if ( res.code == 1 ) { if (res.code == 1) {
this.cateFee = res.data.service_fee_ratio?res.data.service_fee_ratio:'' this.cateFee = res.data.service_fee_ratio ? res.data.service_fee_ratio : ''
this.$store.commit('SET_CATEFEE',this.cateFee); this.$store.commit('SET_CATEFEE', this.cateFee);
} }
}); });
}, },
...@@ -612,38 +669,61 @@ showDelBtn(index) { ...@@ -612,38 +669,61 @@ showDelBtn(index) {
ul { ul {
padding: 0; padding: 0;
} }
.goods-info { .goods-info {
padding: 20px; padding: 20px;
/*margin-top: 18px;*/ /*margin-top: 18px;*/
} }
.type-text-span { .type-text-span {
display: inline-block; display: inline-block;
width: 420px; width: 420px;
/*margin: 0 20px 0;*/ /*margin: 0 20px 0;*/
} }
.edit-type-span {
display: inline-block; .edit-type-span {
cursor: pointer; display: inline-block;
margin: 0 20px; cursor: pointer;
} margin: 0 20px;
/* 一般提示性文字 */ }
.tip-span {
color: #909399; /* 一般提示性文字 */
font-size: 12px; .tip-span {
} color: #909399;
font-size: 12px;
}
/deep/.el-form-item { /deep/.el-form-item {
margin-bottom: 20px; margin-bottom: 20px;
} }
.list-complete-item{
display: inline-block; .list-complete-item {
} display: inline-block;
.imgSty{ }
margin:0 10px;
} .imgSty {
.iconcur{ margin: 0 10px;
cursor: pointer; }
}
.iconcur {
cursor: pointer;
}
/*/deep/.el-cascader-menu {*/ /*/deep/.el-cascader-menu {*/
/* height:600px;*/ /* height:600px;*/
/*}*/ /*}*/
</style> /deep/ .el-cascader-menu{
max-width: 250px !important;
min-width: 250px !important;
}
/deep/ .el-cascader-menu__wrap{
width:auto !important;
max-width: 250px !important;
min-width: 250px !important;
}
.opendow /deep/ .el-dialog{
width:800px;
}
</style>
\ No newline at end of file
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论