ソースを参照

产权交易

RongCheng
庞东旭 1年前
コミット
88aeadfc5c
1個のファイルの変更5行の追加5行の削除
  1. +5
    -5
      static/js/project/user/index.js

+ 5
- 5
static/js/project/user/index.js ファイルの表示

@@ -470,13 +470,13 @@ define(['jquery', "template", "Tools", "user", "paging","cupload","kindeditor",
if(type == 'user'||type == 'company'){ if(type == 'user'||type == 'company'){
if(module.data.memberType == '1'){ if(module.data.memberType == '1'){
$('#cupload-3').find('input').each(function() { $('#cupload-3').find('input').each(function() {
if($(this).val()!=''&&$(this).val().indexOf('http') == -1){
if($(this).val()!=''&&$(this).val().indexOf('/api') == -1){
module.data.upType1 = true; module.data.upType1 = true;
tools.doPostImg(base64Upload, {file:$(this).val()}, module.upLoadOverInfo1); tools.doPostImg(base64Upload, {file:$(this).val()}, module.upLoadOverInfo1);
} }
}) })
$('#cupload-4').find('input').each(function() { $('#cupload-4').find('input').each(function() {
if($(this).val()!=''&&$(this).val().indexOf('http') == -1){
if($(this).val()!=''&&$(this).val().indexOf('/api') == -1){
module.data.upType2 = true; module.data.upType2 = true;
tools.doPostImg(base64Upload, {file:$(this).val()}, module.upLoadOverInfo2); tools.doPostImg(base64Upload, {file:$(this).val()}, module.upLoadOverInfo2);
} }
@@ -488,19 +488,19 @@ define(['jquery', "template", "Tools", "user", "paging","cupload","kindeditor",


}else{ }else{
$('#cupload-5').find('input').each(function() { $('#cupload-5').find('input').each(function() {
if($(this).val()!=''&&$(this).val().indexOf('http') == -1){
if($(this).val()!=''&&$(this).val().indexOf('/api') == -1){
module.data.upType5 = true; module.data.upType5 = true;
tools.doPostImg(base64Upload, {file:$(this).val()}, module.upLoadOverInfo5); tools.doPostImg(base64Upload, {file:$(this).val()}, module.upLoadOverInfo5);
} }
}) })
$('#cupload-6').find('input').each(function() { $('#cupload-6').find('input').each(function() {
if($(this).val()!=''&&$(this).val().indexOf('http') == -1){
if($(this).val()!=''&&$(this).val().indexOf('/api') == -1){
module.data.upType6 = true; module.data.upType6 = true;
tools.doPostImg(base64Upload, {file:$(this).val()}, module.upLoadOverInfo6); tools.doPostImg(base64Upload, {file:$(this).val()}, module.upLoadOverInfo6);
} }
}) })
$('#cupload-7').find('input').each(function() { $('#cupload-7').find('input').each(function() {
if($(this).val()!=''&&$(this).val().indexOf('http') == -1){
if($(this).val()!=''&&$(this).val().indexOf('/api') == -1){
module.data.upType7 = true; module.data.upType7 = true;
tools.doPostImg(base64Upload, {file:$(this).val()}, module.upLoadOverInfo7); tools.doPostImg(base64Upload, {file:$(this).val()}, module.upLoadOverInfo7);
} }


読み込み中…
キャンセル
保存