Commit 5039803c by 无尘

fix: 修改上传方法

parent 76e56aa0
<!DOCTYPE html><html><head><meta charset=utf-8><link rel="shortcut icon" href=./favicon.ico><title>GIC-会员标签</title><link href=./static/css/app.ea80b9ee1e3af377dad44286556d8844.css rel=stylesheet></head><body style="background-color: #f0f2f5;min-width: 1400px;"><div id=app></div><script type=text/javascript src=./static/js/manifest.7cddee4a6d1f023352c7.js></script><script type=text/javascript src=./static/js/vendor.4ac54fd03099c45beefc.js></script><script type=text/javascript src=./static/js/app.8d6498455fac38019f2a.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.cca2b15ef875d805ead0d7eac7e0a6c2.css rel=stylesheet></head><body style="background-color: #f0f2f5;min-width: 1400px;"><div id=app></div><script type=text/javascript src=./static/js/manifest.4edcc50b6e147aa58d78.js></script><script type=text/javascript src=./static/js/vendor.4ac54fd03099c45beefc.js></script><script type=text/javascript src=./static/js/app.f4e83ed7afb9aa3975b5.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.
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,a){for(var f,b,d,i=0,u=[];i<r.length;i++)b=r[i],c[b]&&u.push(c[b][0]),c[b]=0;for(f in o)Object.prototype.hasOwnProperty.call(o,f)&&(e[f]=o[f]);for(n&&n(r,o,a);u.length;)u.shift()();if(a)for(i=0;i<a.length;i++)d=t(t.s=a[i]);return d};var r={},c={26:0};function t(n){if(r[n])return r[n].exports;var c=r[n]={i:n,l:!1,exports:{}};return e[n].call(c.exports,c,c.exports,t),c.l=!0,c.exports}t.e=function(e){var n=c[e];if(0===n)return new Promise(function(e){e()});if(n)return n[2];var r=new Promise(function(r,t){n=c[e]=[r,t]});n[2]=r;var o=document.getElementsByTagName("head")[0],a=document.createElement("script");a.type="text/javascript",a.charset="utf-8",a.async=!0,a.timeout=12e4,t.nc&&a.setAttribute("nonce",t.nc),a.src=t.p+"static/js/"+e+"."+{0:"614be5bb3c6547f794fb",1:"d1b66d4bf3d45b2621dd",2:"344d5c61c44868322e7e",3:"88a303fc10feb8b51091",4:"f6a8f25f4e8cc458879d",5:"135a90a5ad22491cb78e",6:"1e1487186f7e5332855e",7:"1399fe85b7c2d9bfe292",8:"a5abcef25b21e8b47fbe",9:"be9610a42eda7bb18bc4",10:"c71c26ffe9e929740644",11:"e85b90356083e5b3e250",12:"6bce72ffa3001288e97c",13:"5200748d114383e3286c",14:"e3674474da8a18925ba8",15:"ea13cc5370a4d770d711",16:"f4036a24000959bd38c8",17:"83e469d672229c638715",18:"129d150ebd1fce6ee6e0",19:"4f681127cc3b6c7e3765",20:"1be4e028c4beac6e198c",21:"e0df757bb0bc77451792",22:"e91d8f3111c8c501ab9d",25:"9ceafa4ee79176c87d81"}[e]+".js";var f=setTimeout(b,12e4);function b(){a.onerror=a.onload=null,clearTimeout(f);var n=c[e];0!==n&&(n&&n[1](new Error("Loading chunk "+e+" failed.")),c[e]=void 0)}return a.onerror=a.onload=b,o.appendChild(a),r},t.m=e,t.c=r,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},t.p="./",t.oe=function(e){throw console.error(e),e}}([]);
//# sourceMappingURL=manifest.7cddee4a6d1f023352c7.js.map
\ No newline at end of file
!function(e){var n=window.webpackJsonp;window.webpackJsonp=function(r,o,a){for(var f,d,b,i=0,u=[];i<r.length;i++)d=r[i],c[d]&&u.push(c[d][0]),c[d]=0;for(f in o)Object.prototype.hasOwnProperty.call(o,f)&&(e[f]=o[f]);for(n&&n(r,o,a);u.length;)u.shift()();if(a)for(i=0;i<a.length;i++)b=t(t.s=a[i]);return b};var r={},c={26:0};function t(n){if(r[n])return r[n].exports;var c=r[n]={i:n,l:!1,exports:{}};return e[n].call(c.exports,c,c.exports,t),c.l=!0,c.exports}t.e=function(e){var n=c[e];if(0===n)return new Promise(function(e){e()});if(n)return n[2];var r=new Promise(function(r,t){n=c[e]=[r,t]});n[2]=r;var o=document.getElementsByTagName("head")[0],a=document.createElement("script");a.type="text/javascript",a.charset="utf-8",a.async=!0,a.timeout=12e4,t.nc&&a.setAttribute("nonce",t.nc),a.src=t.p+"static/js/"+e+"."+{0:"83085074e03874029d44",1:"d1b66d4bf3d45b2621dd",2:"344d5c61c44868322e7e",3:"88a303fc10feb8b51091",4:"f6a8f25f4e8cc458879d",5:"31d9e22f4e71ccf98dbe",6:"2b5e394c21e7d9d79b92",7:"08019632972271275609",8:"a5abcef25b21e8b47fbe",9:"be9610a42eda7bb18bc4",10:"c71c26ffe9e929740644",11:"e85b90356083e5b3e250",12:"6bce72ffa3001288e97c",13:"5200748d114383e3286c",14:"e3674474da8a18925ba8",15:"ea13cc5370a4d770d711",16:"f4036a24000959bd38c8",17:"83e469d672229c638715",18:"129d150ebd1fce6ee6e0",19:"4f681127cc3b6c7e3765",20:"1be4e028c4beac6e198c",21:"e0df757bb0bc77451792",22:"e91d8f3111c8c501ab9d",25:"9ceafa4ee79176c87d81"}[e]+".js";var f=setTimeout(d,12e4);function d(){a.onerror=a.onload=null,clearTimeout(f);var n=c[e];0!==n&&(n&&n[1](new Error("Loading chunk "+e+" failed.")),c[e]=void 0)}return a.onerror=a.onload=d,o.appendChild(a),r},t.m=e,t.c=r,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},t.p="./",t.oe=function(e){throw console.error(e),e}}([]);
//# sourceMappingURL=manifest.4edcc50b6e147aa58d78.js.map
\ No newline at end of file
......@@ -20,9 +20,10 @@ Vue.axios.interceptors.request.use(config=> {
})
Vue.axios.interceptors.response.use(data=> {
// console.log("response data:",data)
if (data.status && data.status == 200 && data.data.status == 'error') {
Message.error({message: data.data.msg});
console.log("response data:",data)
if (data.status && data.status == 200 && data.data.errorCode == '401') {
Message.error({message: data.data.message});
window.location.href= local + "/gic-web/#/"
return;
}
return data;
......
......@@ -14,7 +14,7 @@ export default {
console.log(response)
if (response.errorCode != 1) {
if (response.errorCode == 401) {
// window.location.href = local + "/gic-web/#/";
window.location.href = local + "/gic-web/#/";
return false;
}
Message.error({
......
......@@ -946,7 +946,7 @@
if (code === 'tag003' && that.templateData.length ===1) {
tagValue.val[0].data.compute = that.templateData[0].postCompute;
tagValue.val[0].data.value = that.templateData[0].numRange.join(',')
that.postTemplateData.selectedVal = that.templateData[0].numRange;
that.postTemplateData.selectedVal = [that.templateData[0].numRange[0]+'<='+ that.tagData.tagName +'<='+ that.templateData[0].numRange[1]];
}
/* 输入添加值 */
......@@ -1011,7 +1011,7 @@
tagValue.val[0].data.compute = that.templateData[0].postCompute;
}
tagValue.val[0].data.value = that.templateData[0].dateRangeValue.join(',')
that.postTemplateData.selectedVal = that.templateData[0].dateRangeValue
that.postTemplateData.selectedVal = [that.templateData[0].dateRangeValue[0]+'至'+that.templateData[0].dateRangeValue[1]]
}
if ((code === 'tag014' || code === 'tag017') && that.templateData.length === 1 && that.templateData[0].radio == 2){
// 天
......@@ -1141,7 +1141,7 @@
tagValue.val[0].data.compute = that.templateData[0].postCompute;
}
tagValue.val[0].data.value = that.templateData[0].monthDayRange.join(',')
that.postTemplateData.selectedVal = that.templateData[0].monthDayRange
that.postTemplateData.selectedVal = [that.templateData[0].monthDayRange[0]+'至'+that.templateData[0].monthDayRange[1]]
}
if (code === 'tag015' && that.templateData.length === 1 && that.templateData[0].radio == 2){
// 天
......@@ -1253,7 +1253,7 @@
}
tagValue.val[0].data.compute = ele.postCompute;
tagValue.val[0].data.value = ele.numRange.join(',')
that.postTemplateData.selectedVal.push(ele.numRange);
that.postTemplateData.selectedVal.push([ele.numRange[0]+'<='+ that.tagData.tagName +'<='+ ele.numRange[1]]);
}
// 固定/最近
if (ele.templateCode === 'tag004') {
......
......@@ -67,7 +67,7 @@ Vue.axios.interceptors.response.use(
// path: 'login',
// query: {redirect: router.currentRoute.fullPath}
// });
// window.location.href = window.location.origin + '/gic-web/#/';
window.location.href = window.location.origin + '/gic-web/#/';
case 500:
Message.error('服务器500')
}
......
......@@ -654,7 +654,7 @@
data: JSON.stringify(that.currentExcelData)
}
getRequest('/memberTag/uploadHandTagItemImport',para)
postRequest('/memberTag/uploadHandTagItemImport',para)
.then((res) => {
// console.log(res,res.data,res.data.errorCode)
var resData = res.data
......
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