Commit 94d53a4d by 无尘

fix: 修复 firefox 上传 bug

parent dc32ff36
<!DOCTYPE html><html><head><meta charset=utf-8><link rel="shortcut icon" href=./favicon.ico><title>GIC-会员标签</title><link href=./static/css/app.bf81124a946f750faf66473c84861f8a.css rel=stylesheet></head><body style="background-color: #f0f2f5;min-width: 1400px;"><div id=app></div><script type=text/javascript src=./static/js/manifest.c753975a810a093447dd.js></script><script type=text/javascript src=./static/js/vendor.c0034a7b125cfc06ce44.js></script><script type=text/javascript src=./static/js/app.cd5ea6dd7cc5611d133f.js></script></body></html>
\ No newline at end of file
<!DOCTYPE html><html><head><meta charset=utf-8><link rel="shortcut icon" href=./favicon.ico><title>GIC-会员标签</title><link href=./static/css/app.85dd993c1159b2edc5ec05c09c57bb0d.css rel=stylesheet></head><body style="background-color: #f0f2f5;min-width: 1400px;"><div id=app></div><script type=text/javascript src=./static/js/manifest.ca98cca0aaae833ca2f9.js></script><script type=text/javascript src=./static/js/vendor.c0034a7b125cfc06ce44.js></script><script type=text/javascript src=./static/js/app.cd5ea6dd7cc5611d133f.js></script></body></html>
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
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.
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.
!function(e){var n=window.webpackJsonp;window.webpackJsonp=function(r,o,c){for(var f,d,b,i=0,u=[];i<r.length;i++)d=r[i],t[d]&&u.push(t[d][0]),t[d]=0;for(f in o)Object.prototype.hasOwnProperty.call(o,f)&&(e[f]=o[f]);for(n&&n(r,o,c);u.length;)u.shift()();if(c)for(i=0;i<c.length;i++)b=a(a.s=c[i]);return b};var r={},t={28:0};function a(n){if(r[n])return r[n].exports;var t=r[n]={i:n,l:!1,exports:{}};return e[n].call(t.exports,t,t.exports,a),t.l=!0,t.exports}a.e=function(e){var n=t[e];if(0===n)return new Promise(function(e){e()});if(n)return n[2];var r=new Promise(function(r,a){n=t[e]=[r,a]});n[2]=r;var o=document.getElementsByTagName("head")[0],c=document.createElement("script");c.type="text/javascript",c.charset="utf-8",c.async=!0,c.timeout=12e4,a.nc&&c.setAttribute("nonce",a.nc),c.src=a.p+"static/js/"+e+"."+{0:"fbd919da67d78c70e944",1:"d1b66d4bf3d45b2621dd",2:"344d5c61c44868322e7e",3:"88a303fc10feb8b51091",4:"f6a8f25f4e8cc458879d",5:"aaf2666a9411d5c98398",6:"7876ecf2594c8e353954",7:"999b1113ef4d68de6f86",8:"2b5ae41399622eb9793d",9:"bd6886217341a2ac6364",10:"bda2f0473989f24cfd79",11:"2ab073fed444f24b5b49",12:"876f50725c342b2d03e1",13:"5a5420738b36cc0d6498",14:"e3674474da8a18925ba8",15:"4f45fd738eeeaaf760fd",16:"2ae1ea35393ef9595e61",17:"c8a47b8d501bd5430967",18:"7a971724ceedf92fdfcc",19:"b8aae3f01d63924d6f28",20:"3d26bb4503e7e9f2e788",21:"fce3d8ad3d06890dda32",22:"2c241e3328773abdab05",23:"8d9024391ef085f99b5a",24:"d8ebf9b105c3079a42bd",27:"02b5e0be03d9340bd130"}[e]+".js";var f=setTimeout(d,12e4);function d(){c.onerror=c.onload=null,clearTimeout(f);var n=t[e];0!==n&&(n&&n[1](new Error("Loading chunk "+e+" failed.")),t[e]=void 0)}return c.onerror=c.onload=d,o.appendChild(c),r},a.m=e,a.c=r,a.d=function(e,n,r){a.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},a.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(n,"a",n),n},a.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},a.p="./",a.oe=function(e){throw console.error(e),e}}([]);
//# sourceMappingURL=manifest.c753975a810a093447dd.js.map
\ No newline at end of file
!function(e){var n=window.webpackJsonp;window.webpackJsonp=function(r,o,c){for(var d,f,b,i=0,u=[];i<r.length;i++)f=r[i],t[f]&&u.push(t[f][0]),t[f]=0;for(d in o)Object.prototype.hasOwnProperty.call(o,d)&&(e[d]=o[d]);for(n&&n(r,o,c);u.length;)u.shift()();if(c)for(i=0;i<c.length;i++)b=a(a.s=c[i]);return b};var r={},t={28:0};function a(n){if(r[n])return r[n].exports;var t=r[n]={i:n,l:!1,exports:{}};return e[n].call(t.exports,t,t.exports,a),t.l=!0,t.exports}a.e=function(e){var n=t[e];if(0===n)return new Promise(function(e){e()});if(n)return n[2];var r=new Promise(function(r,a){n=t[e]=[r,a]});n[2]=r;var o=document.getElementsByTagName("head")[0],c=document.createElement("script");c.type="text/javascript",c.charset="utf-8",c.async=!0,c.timeout=12e4,a.nc&&c.setAttribute("nonce",a.nc),c.src=a.p+"static/js/"+e+"."+{0:"fbd919da67d78c70e944",1:"d1b66d4bf3d45b2621dd",2:"344d5c61c44868322e7e",3:"88a303fc10feb8b51091",4:"f6a8f25f4e8cc458879d",5:"458296a289cd4a59d02e",6:"7876ecf2594c8e353954",7:"999b1113ef4d68de6f86",8:"2b5ae41399622eb9793d",9:"bd6886217341a2ac6364",10:"bda2f0473989f24cfd79",11:"2ab073fed444f24b5b49",12:"876f50725c342b2d03e1",13:"5a5420738b36cc0d6498",14:"e3674474da8a18925ba8",15:"4f45fd738eeeaaf760fd",16:"2ae1ea35393ef9595e61",17:"c8a47b8d501bd5430967",18:"7a971724ceedf92fdfcc",19:"b8aae3f01d63924d6f28",20:"3d26bb4503e7e9f2e788",21:"fce3d8ad3d06890dda32",22:"2c241e3328773abdab05",23:"8d9024391ef085f99b5a",24:"d8ebf9b105c3079a42bd",27:"02b5e0be03d9340bd130"}[e]+".js";var d=setTimeout(f,12e4);function f(){c.onerror=c.onload=null,clearTimeout(d);var n=t[e];0!==n&&(n&&n[1](new Error("Loading chunk "+e+" failed.")),t[e]=void 0)}return c.onerror=c.onload=f,o.appendChild(c),r},a.m=e,a.c=r,a.d=function(e,n,r){a.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},a.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(n,"a",n),n},a.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},a.p="./",a.oe=function(e){throw console.error(e),e}}([]);
//# sourceMappingURL=manifest.ca98cca0aaae833ca2f9.js.map
\ No newline at end of file
......@@ -5,8 +5,15 @@
<el-button
style="margin-left:16px;"
size="mini" type="text"
@click.stop="handleUpload"
:disabled="(tagItemStatus==2 ||tagItemStatus==4 ||tagItemStatus ==5 ||tagItemStatus==6) ? true: false">
<span class="p-r-8" @click="handleUpload">点击导入会员</span><span class="p-l-8 border-l-dcdfe6 color-e55858" v-if="tagItemStatus == 8" @click.stop="handleDownload">上传完成,下载失败会员清单</span>
<span class=" inline-block">点击导入会员</span><!-- p-r-8 -->
</el-button>
<el-button
size="mini" type="text"
@click.stop="handleDownload"
v-if="tagItemStatus == 8">
<span class="p-l-8 border-l-dcdfe6 color-e55858" >上传完成,下载失败会员清单</span>
</el-button>
<div class="excel-upload__tip">只能上传一个excle文件(2003版本以上),且数据不超过5000条</div>
</div>
......@@ -88,6 +95,7 @@ export default {
},
handleUpload() {
var that = this
console.log(11111)
console.log(that.excelBodyData);
// if (!!that.excelHeader&&!!that.excelHeader.length) {
if (that.excelBodyData.length > 0) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment