|
@@ -704,6 +704,8 @@ TalentAllowanceInfoDlg.initFileTable = function () {
|
|
imgStr = "<button type='button' onclick=\"Feng.showExcel('" + data[key].url + "','" + data[key].id + "','" + data[key].orignName + "')\" class=\"btn btn-xs btn-danger\"><i class=\"fa fa-file-excel-o\" aria-hidden=\"true\"></i></button>";
|
|
imgStr = "<button type='button' onclick=\"Feng.showExcel('" + data[key].url + "','" + data[key].id + "','" + data[key].orignName + "')\" class=\"btn btn-xs btn-danger\"><i class=\"fa fa-file-excel-o\" aria-hidden=\"true\"></i></button>";
|
|
} else if (suffix == "zip" || suffix == "rar" || suffix == '7z' || suffix == "ZIP" || suffix == "RAR" || suffix == '7Z') {
|
|
} else if (suffix == "zip" || suffix == "rar" || suffix == '7z' || suffix == "ZIP" || suffix == "RAR" || suffix == '7Z') {
|
|
imgStr = '<a href=\"' + data[key].url + '\">' + data[key].orignName + '</a>';
|
|
imgStr = '<a href=\"' + data[key].url + '\">' + data[key].orignName + '</a>';
|
|
|
|
+ } else if (suffix == "doc" || suffix == "DOC" || suffix == 'docx' || suffix == "DOCX") {
|
|
|
|
+ imgStr = '<a href=\"' + data[key].url + '\">' + data[key].orignName + '</a>';
|
|
} else {
|
|
} else {
|
|
imgStr = '<img class=\"imgUrl\" src=\"' + data[key].url + '\" style=\"width:25px;height:25px;\">';
|
|
imgStr = '<img class=\"imgUrl\" src=\"' + data[key].url + '\" style=\"width:25px;height:25px;\">';
|
|
}
|
|
}
|