|
@@ -3643,7 +3643,9 @@ function set_file_table(target, poj_tenders, fileList, type){
|
|
|
let fileId = type === fileType.unitPriceFile ? fileList[i].id : fileList[i].ID;
|
|
let fileId = type === fileType.unitPriceFile ? fileList[i].id : fileList[i].ID;
|
|
|
let usedObj = getUsedObj(poj_tenders, fileId, type);
|
|
let usedObj = getUsedObj(poj_tenders, fileId, type);
|
|
|
let usedHtml = usedObj.usedCount > 0 ? '<td class="text-center"><a href="javascript:void(0);">' + usedObj.usedCount + '</a></td>' : '<td class="text-center">' + usedObj.usedCount + '</td>';
|
|
let usedHtml = usedObj.usedCount > 0 ? '<td class="text-center"><a href="javascript:void(0);">' + usedObj.usedCount + '</a></td>' : '<td class="text-center">' + usedObj.usedCount + '</td>';
|
|
|
- let hoverHtml = '<p style="display: none; height: 14px;"><a class="btn btn-sm" href="javascript:void(0);" data-toggle="modal" data-target="#del-wj">删除</a><a class="btn btn-sm" href="javascript:void(0);">重命名</a></p></div>';
|
|
|
|
|
|
|
+ let unitPriceEditHtml = type === fileType.unitPriceFile? `<a class="btn btn-sm" href="/unitPrice/index/${fileId}" target="_">编辑</a>`:"";
|
|
|
|
|
+ let hoverHtml = `<p style="display: none; height: 14px;"><a class="btn btn-sm" href="javascript:void(0);" data-toggle="modal" data-target="#del-wj">删除</a><a class="btn btn-sm" href="javascript:void(0);">重命名</a>${unitPriceEditHtml}</p></div>`;
|
|
|
|
|
+
|
|
|
let renHtml = '<div class="input-group" style="display: none;">'
|
|
let renHtml = '<div class="input-group" style="display: none;">'
|
|
|
+ '<input class="form-control form-control-sm" value="">'
|
|
+ '<input class="form-control form-control-sm" value="">'
|
|
|
|
|
|