diff --git a/SGGL/FineUIPro.Web/FileUpload/CheckControl/2025-03/638787749465870865_638766813562593579_踏步少检修不便(通项).jpg b/SGGL/FineUIPro.Web/FileUpload/CheckControl/2025-03/638787749465870865_638766813562593579_踏步少检修不便(通项).jpg
deleted file mode 100644
index 8293971f..00000000
Binary files a/SGGL/FineUIPro.Web/FileUpload/CheckControl/2025-03/638787749465870865_638766813562593579_踏步少检修不便(通项).jpg and /dev/null differ
diff --git a/SGGL/FineUIPro.Web/WorkBench.aspx b/SGGL/FineUIPro.Web/WorkBench.aspx
index 84c3327a..64da6032 100644
--- a/SGGL/FineUIPro.Web/WorkBench.aspx
+++ b/SGGL/FineUIPro.Web/WorkBench.aspx
@@ -200,7 +200,7 @@
var userId = '<%=UserId%>';
// 进入页面加载全部
window.onload = function () {
- getToDo(1)
+ getToDo(1),
getProject(1)
}
//我的项目
diff --git a/SGGL/FineUIPro.Web/WorkBench.aspx.cs b/SGGL/FineUIPro.Web/WorkBench.aspx.cs
index 3cda6f69..9c880371 100644
--- a/SGGL/FineUIPro.Web/WorkBench.aspx.cs
+++ b/SGGL/FineUIPro.Web/WorkBench.aspx.cs
@@ -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 += "
" + tb.Rows[i][2].ToString() + "
进入项目
";
}
}
@@ -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
diff --git a/SGGL/FineUIPro.Web/index.aspx.cs b/SGGL/FineUIPro.Web/index.aspx.cs
index 6a774e49..73b3755e 100644
--- a/SGGL/FineUIPro.Web/index.aspx.cs
+++ b/SGGL/FineUIPro.Web/index.aspx.cs
@@ -463,7 +463,7 @@ namespace FineUIPro.Web
//}
//else
//{
- //this.MenuSwitchMethod(string.Empty);
+ // this.MenuSwitchMethod(string.Empty);
//}
PageContext.Redirect("~/index.aspx", "_top");
}
diff --git a/SGGL/FineUIPro.Web/indexProject.aspx.cs b/SGGL/FineUIPro.Web/indexProject.aspx.cs
index e1fe47da..7bab8780 100644
--- a/SGGL/FineUIPro.Web/indexProject.aspx.cs
+++ b/SGGL/FineUIPro.Web/indexProject.aspx.cs
@@ -777,7 +777,7 @@ namespace FineUIPro.Web
//}
//else
//{
- //this.MenuSwitchMethod(string.Empty);
+ // this.MenuSwitchMethod(string.Empty);
//}
PageContext.Redirect("~/indexProject.aspx", "_top");
}