This commit is contained in:
geh
2026-01-09 15:36:54 +08:00
parent 6679a6506d
commit 24fffc5678
7 changed files with 471 additions and 190 deletions
+6 -1
View File
@@ -158,7 +158,12 @@ namespace FineUIPro.Web
//把getDataList和sgList的数据合并
foreach (var item in getDataList)
{
returnDbHtml += "<div class=\"z-item\" style=\"cursor:pointer\" onclick=\"returnWindows('" + item.PCUrl + "')\"><p class=\"z-val\"><span>" + item.ProjectCode + " " + "</span><span>" + item.MenuName + " " + item.Content + "</span></p><p class=\"z-data\">" + item.DataTime.ToString().Replace('/', '-').Split(' ')[0] + "</p></div>";
// returnDbHtml += "<div class=\"z-item\" style=\"cursor:pointer\" onclick=\"returnWindows('" + item.PCUrl + "')\"><p class=\"z-val\"><span>" + item.ProjectCode + " " + "</span><span>" + item.MenuName + " " + item.Content + "</span></p><p class=\"z-data\">" + item.DataTime.ToString().Replace('/', '-').Split(' ')[0] + "</p></div>";
string fullContent = item.ProjectCode + " " + item.MenuName + " " + item.Content;
returnDbHtml += $"<div class=\"z-item todo-item\" style=\"cursor:pointer\" onclick=\"returnWindows('{item.PCUrl}')\" title=\"{fullContent}\">" +
$"<p class=\"z-val\" style=\"overflow:hidden;text-overflow:ellipsis;white-space:nowrap;\"><span>{item.ProjectCode} </span>" +
$"<span>{item.MenuName} {item.Content}</span></p>" +
$"<p class=\"z-data\">{item.DataTime.ToString().Replace('/', '-').Split(' ')[0]}</p></div>";
}
return returnDbHtml;
}