浏览代码

产权交易

RongCheng
庞东旭 2 年前
父节点
当前提交
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);
} }


正在加载...
取消
保存