|
@@ -103,18 +103,18 @@
|
|
|
value = disposeUrl(value, "SYDW"), "utf-8";
|
|
|
var file;
|
|
|
if (userRoleId===103 && type!=1){
|
|
|
- file = "<button type='button' id='uploadBtn' onclick='uploadFileCheckTable(this)'>选择</button><input id='attachment' declarationid='"+row.declarationId+"' multiple accept='.pdf,.png,.jpg' type='file' style='display: none;' onchange='uploadFile(this,2)'> " +
|
|
|
- "<a id='fileName' href='###'>未上传文件</a> <a id='remove_a' style='display: none' onclick='removeFileUrl(this)'><i style='color: #CD4528 ;' class='fa fa-remove'></i></a>"
|
|
|
+ file = "<button type='button' id='uploadBtn' class='select-bg-blue' onclick='uploadFileCheckTable(this)'>选择</button><input id='attachment' declarationid='"+row.declarationId+"' multiple accept='.pdf,.png,.jpg' type='file' style='display: none;' onchange='uploadFile(this,2)'>" +
|
|
|
+ "<a id='fileName' class='color-999' style='display: block;margin-top: 4px' href='###'>未上传文件</a><a id='remove_a' style='display: none' onclick='removeFileUrl(this)'><i style='color: #CD4528 ;' class='fa fa-remove'></i></a>"
|
|
|
if($.common.isNotEmpty(value)){
|
|
|
- file = "<button type='button' id='uploadBtn' onclick='uploadFileCheckTable(this)'>选择</button><input multiple accept='.pdf,.png,.jpg' id='attachment' declarationid='"+row.declarationId+"' type='file' style='display: none;' onchange='uploadFile(this,2)' fileUrl='" +value + "'> " +
|
|
|
- "<a id='fileName' href='###' onclick='openPDF(\"" + encodeURI(value, "utf-8") + "\")' >" + getFileName(value) +"</>"
|
|
|
+ file = "<button type='button' id='uploadBtn' class='select-bg-blue' onclick='uploadFileCheckTable(this)'>选择</button><input multiple accept='.pdf,.png,.jpg' id='attachment' declarationid='"+row.declarationId+"' type='file' style='display: none;' onchange='uploadFile(this,2)' fileUrl='" +value + "'>" +
|
|
|
+ "<a id='fileName' href='###' style='display: block;margin-top: 4px' onclick='openPDF(\"" + encodeURI(value, "utf-8") + "\")' >" + getFileName(value) +"</>"
|
|
|
}
|
|
|
}else {
|
|
|
- file = "<input id='attachment' declarationid='"+row.declarationId+"' multiple accept='.pdf,.png,.jpg' type='file' style='display: none;' onchange='uploadFile(this,2)'> " +
|
|
|
- "<a id='fileName' href='###'>未上传文件</a> <a id='remove_a' style='display: none' onclick='removeFileUrl(this)'><i style='color: #CD4528 ;' class='fa fa-remove'></i></a>"
|
|
|
+ file = "<input id='attachment' declarationid='"+row.declarationId+"' class='select-bg-blue' multiple accept='.pdf,.png,.jpg' type='file' style='display: none;' onchange='uploadFile(this,2)'>" +
|
|
|
+ "<a id='fileName' class='color-999' style='display: block;margin-top: 4px' href='###'>未上传文件</a><a id='remove_a' style='display: none' onclick='removeFileUrl(this)'><i style='color: #CD4528 ;' class='fa fa-remove'></i></a>"
|
|
|
if($.common.isNotEmpty(value)){
|
|
|
- file = "<input multiple accept='.pdf,.png,.jpg' id='attachment' declarationid='"+row.declarationId+"' type='file' style='display: none;' onchange='uploadFile(this,2)' fileUrl='" +value + "'> " +
|
|
|
- "<a id='fileName' href='###' onclick='openPDF(\"" + encodeURI(value, "utf-8") + "\")' >" + getFileName(value) +"</>"
|
|
|
+ file = "<input multiple accept='.pdf,.png,.jpg' id='attachment' declarationid='"+row.declarationId+"' type='file' style='display: none;' onchange='uploadFile(this,2)' fileUrl='" +value + "'>" +
|
|
|
+ "<a id='fileName' href='###' style='display: block;margin-top: 4px' onclick='openPDF(\"" + encodeURI(value, "utf-8") + "\")' >" + getFileName(value) +"</>"
|
|
|
}
|
|
|
}
|
|
|
return file;
|