This commit is contained in:
毕文静 2025-03-29 01:44:03 +08:00
parent ef7a6c7e40
commit 6d70d94a03
5 changed files with 9 additions and 9 deletions

View File

@ -200,7 +200,7 @@
var userId = '<%=UserId%>';
// 进入页面加载全部
window.onload = function () {
getToDo(1)
getToDo(1),
getProject(1)
}
//我的项目

View File

@ -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
@ -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

View File

@ -463,7 +463,7 @@ namespace FineUIPro.Web
//}
//else
//{
//this.MenuSwitchMethod(string.Empty);
// this.MenuSwitchMethod(string.Empty);
//}
PageContext.Redirect("~/index.aspx", "_top");
}

View File

@ -777,7 +777,7 @@ namespace FineUIPro.Web
//}
//else
//{
//this.MenuSwitchMethod(string.Empty);
// this.MenuSwitchMethod(string.Empty);
//}
PageContext.Redirect("~/indexProject.aspx", "_top");
}