11
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user