|
|
@@ -252,13 +252,13 @@ define(['jquery', "template", "Tools", "user", "echarts", 'register', 'swiper'," |
|
|
|
document.getElementById('loading').style.display = 'flex'; |
|
|
|
if(module.data.type == '1'){ |
|
|
|
$('#cupload-3').find('input').each(function() { |
|
|
|
if($(this).val()!=''&&$(this).val().indexOf('http') == -1){ |
|
|
|
if($(this).val()!=''&&$(this).val().indexOf('http:') == -1){ |
|
|
|
module.data.upType1 = true; |
|
|
|
tools.doPostImg(base64Upload2, {file:$(this).val()}, module.upLoadOverInfo1); |
|
|
|
} |
|
|
|
}) |
|
|
|
$('#cupload-4').find('input').each(function() { |
|
|
|
if($(this).val()!=''&&$(this).val().indexOf('http') == -1){ |
|
|
|
if($(this).val()!=''&&$(this).val().indexOf('http:') == -1){ |
|
|
|
module.data.upType2 = true; |
|
|
|
tools.doPostImg(base64Upload2, {file:$(this).val()}, module.upLoadOverInfo2); |
|
|
|
} |
|
|
@@ -267,19 +267,19 @@ define(['jquery', "template", "Tools", "user", "echarts", 'register', 'swiper'," |
|
|
|
|
|
|
|
}else{ |
|
|
|
$('#cupload-5').find('input').each(function() { |
|
|
|
if($(this).val()!=''&&$(this).val().indexOf('http') == -1){ |
|
|
|
if($(this).val()!=''&&$(this).val().indexOf('http:') == -1){ |
|
|
|
module.data.upType5 = true; |
|
|
|
tools.doPostImg(base64Upload2, {file:$(this).val()}, module.upLoadOverInfo5); |
|
|
|
} |
|
|
|
}) |
|
|
|
$('#cupload-6').find('input').each(function() { |
|
|
|
if($(this).val()!=''&&$(this).val().indexOf('http') == -1){ |
|
|
|
if($(this).val()!=''&&$(this).val().indexOf('http:') == -1){ |
|
|
|
module.data.upType6 = true; |
|
|
|
tools.doPostImg(base64Upload2, {file:$(this).val()}, module.upLoadOverInfo6); |
|
|
|
} |
|
|
|
}) |
|
|
|
$('#cupload-7').find('input').each(function() { |
|
|
|
if($(this).val()!=''&&$(this).val().indexOf('http') == -1){ |
|
|
|
if($(this).val()!=''&&$(this).val().indexOf('http:') == -1){ |
|
|
|
module.data.upType67 = true; |
|
|
|
tools.doPostImg(base64Upload2, {file:$(this).val()}, module.upLoadOverInfo7); |
|
|
|
} |
|
|
|