20250329
This commit is contained in:
@@ -170,7 +170,7 @@ namespace FineUIPro.Web
|
||||
{
|
||||
string strSql = @"select ProjectId,ProjectCode,(ProjectCode+' '+ProjectName) as ProjectName,ProjectState,
|
||||
(case when AttachFile.AttachUrl is not null
|
||||
then '../../'+RIGHT(AttachFile.AttachUrl, CHARINDEX(',', REVERSE(AttachFile.AttachUrl)) - 1)
|
||||
then '../../' + SUBSTRING(AttachFile.AttachUrl, 1 , CHARINDEX(',',AttachFile.AttachUrl)-1)
|
||||
else '../../res/images/16.png' end )
|
||||
as AttachUrl
|
||||
from Base_Project
|
||||
@@ -189,7 +189,7 @@ namespace FineUIPro.Web
|
||||
SqlParameter[] parameter = listStr.ToArray();
|
||||
DataTable tb = SQLHelper.GetDataTableRunText(strSql, parameter);
|
||||
for (int i = 0; i < tb.Rows.Count; i++)
|
||||
{
|
||||
{
|
||||
returnDbHtml += "<div class=\"z-item\"><p class=\"z-val\"><span><img style=\"height: .350rem; width: .350rem; \" src='" + tb.Rows[i][4].ToString() + "'/></span><span>" + tb.Rows[i][2].ToString() + "</span></p><p class=\"z-data\"><div id=\"mybtn\" style=\"cursor:pointer\" onclick=\"javascrtpt:window.location.href='indexProject.aspx?projectId=" + tb.Rows[i][0].ToString() + "'\">进入项目</div></p></div>";
|
||||
}
|
||||
}
|
||||
@@ -209,7 +209,7 @@ namespace FineUIPro.Web
|
||||
{
|
||||
string strSql = @"select ProjectId,ProjectCode,(ProjectCode+' '+ProjectName) as ProjectName,ProjectState,
|
||||
(case when AttachFile.AttachUrl is not null
|
||||
then '../../'+RIGHT(AttachFile.AttachUrl, CHARINDEX(',', REVERSE(AttachFile.AttachUrl)) - 1)
|
||||
then '../../'+ SUBSTRING(AttachFile.AttachUrl, 1 , CHARINDEX(',',AttachFile.AttachUrl)-1)
|
||||
else '../../res/images/16.png' end )
|
||||
as AttachUrl
|
||||
from Base_Project
|
||||
@@ -236,7 +236,7 @@ namespace FineUIPro.Web
|
||||
{
|
||||
string strSql = @"select distinct p.ProjectId,p.ProjectCode,(p.ProjectCode+' '+p.ProjectName) as ProjectName,p.ProjectState
|
||||
(case when AttachFile.AttachUrl is not null
|
||||
then '../../'+RIGHT(AttachFile.AttachUrl, CHARINDEX(',', REVERSE(AttachFile.AttachUrl)) - 1)
|
||||
then '../../'+SUBSTRING(AttachFile.AttachUrl, 1 , CHARINDEX(',',AttachFile.AttachUrl)-1)
|
||||
else '../../res/images/16.png' end )as AttachUrl
|
||||
from Base_Project p
|
||||
left join Project_ProjectUser as pu on pu.ProjectId = p.ProjectId
|
||||
@@ -268,7 +268,7 @@ namespace FineUIPro.Web
|
||||
{
|
||||
string strSql = @"select ProjectId,ProjectCode,(ProjectCode+' '+ProjectName) as ProjectName,ProjectState,
|
||||
(case when AttachFile.AttachUrl is not null
|
||||
then '../../'+RIGHT(AttachFile.AttachUrl, CHARINDEX(',', REVERSE(AttachFile.AttachUrl)) - 1)
|
||||
then '../../'+SUBSTRING(AttachFile.AttachUrl, 1 , CHARINDEX(',',AttachFile.AttachUrl)-1)
|
||||
else '../../res/images/16.png' end )
|
||||
as AttachUrl
|
||||
from Base_Project
|
||||
@@ -295,7 +295,7 @@ namespace FineUIPro.Web
|
||||
{
|
||||
string strSql = @"select distinct p.ProjectId,p.ProjectCode,(p.ProjectCode+' '+p.ProjectName) as ProjectName,p.ProjectState,
|
||||
(case when AttachFile.AttachUrl is not null
|
||||
then '../../'+RIGHT(AttachFile.AttachUrl, CHARINDEX(',', REVERSE(AttachFile.AttachUrl)) - 1)
|
||||
then '../../'+SUBSTRING(AttachFile.AttachUrl, 1 , CHARINDEX(',',AttachFile.AttachUrl)-1)
|
||||
else '../../res/images/16.png' end ) as AttachUrl
|
||||
from Base_Project p
|
||||
left join Project_ProjectUser as pu on pu.ProjectId = p.ProjectId
|
||||
|
||||
Reference in New Issue
Block a user