关键事项、邮件管理、任务管理
This commit is contained in:
@@ -26,15 +26,17 @@ namespace FineUIPro.Web.PZHGL.GJSX
|
||||
CNProfessionalService.InitCNProfessional(this.DropCNProfessional_ID, true);
|
||||
//编号
|
||||
string projectCode = BLL.ProjectService.GetProjectCodeByProjectId(this.CurrUser.LoginProjectId);
|
||||
|
||||
//问题类别
|
||||
|
||||
//紧急程度
|
||||
QuestionTypeService.InitQuestionTypeDropDownList(this.DropQuestionTypeID, true);
|
||||
//事项类别
|
||||
GJSXTypeService.InitGJSXTypeDropDownList(this.DropGJSXTypeID, false);
|
||||
//验收人
|
||||
UserService.InitUserDropDownList(DropUser_ReceiveID, CurrUser.LoginProjectId, true, string.Empty);
|
||||
//接收人
|
||||
UserService.InitUserDropDownList(DropUser_Acceptance, CurrUser.LoginProjectId, true, string.Empty);
|
||||
//提出人
|
||||
UserService.InitUserDropDownList( DropUserId, CurrUser.LoginProjectId, true, string.Empty);
|
||||
UserService.InitUserDropDownList(DropUserId, CurrUser.LoginProjectId, true, string.Empty);
|
||||
Funs.DropDownPageSize(this.ddlPageSize);
|
||||
////权限按钮方法
|
||||
this.GetButtonPower();
|
||||
@@ -55,7 +57,6 @@ namespace FineUIPro.Web.PZHGL.GJSX
|
||||
/// </summary>
|
||||
private void BindGrid()
|
||||
{
|
||||
|
||||
string strSql = "";
|
||||
List<SqlParameter> listStr = new List<SqlParameter>();
|
||||
|
||||
@@ -67,7 +68,7 @@ namespace FineUIPro.Web.PZHGL.GJSX
|
||||
{
|
||||
listStr.Add(new SqlParameter("@ProjectId", this.CurrUser.LoginProjectId));
|
||||
}
|
||||
if ( this.state.SelectedValue!="null")//状态
|
||||
if (this.state.SelectedValue != "null")//状态
|
||||
{
|
||||
strSql += " AND state LIKE " + "'%" + this.state.SelectedText.Trim() + "%'";
|
||||
}
|
||||
@@ -84,21 +85,25 @@ namespace FineUIPro.Web.PZHGL.GJSX
|
||||
{
|
||||
strSql += " AND unitname LIKE " + "'%" + this.DropUnitId.SelectedText.Trim() + "%'";
|
||||
}
|
||||
if ( this.DropCNProfessional_ID.SelectedValue!= Const._Null)//专业
|
||||
if (this.DropCNProfessional_ID.SelectedValue != Const._Null)//专业
|
||||
{
|
||||
strSql += " AND CNProfessionalId LIKE " + "'%" + this.DropCNProfessional_ID.SelectedText.Trim() + "%'";
|
||||
}
|
||||
if (this.DropQuestionTypeID.SelectedValue != Const._Null)//问题类型
|
||||
if (this.DropQuestionTypeID.SelectedValue != Const._Null)//紧急程度
|
||||
{
|
||||
strSql += " AND QuestionTypeName LIKE " + "'%" + this.DropQuestionTypeID.SelectedText.Trim() + "%'";
|
||||
}
|
||||
if (this.DropGJSXTypeID.SelectedValue != Const._Null)//事项类别
|
||||
{
|
||||
strSql += " AND GJSXTypeName LIKE " + "'%" + this.DropGJSXTypeID.SelectedText.Trim() + "%'";
|
||||
}
|
||||
if (this.DropUser_Acceptance.SelectedValue != Const._Null)//验收人
|
||||
{
|
||||
strSql += " AND user_Acceptance LIKE " + "'%" + this.DropUser_Acceptance.SelectedText.Trim() + "%'";
|
||||
}
|
||||
if ( !string .IsNullOrEmpty( this.txtStartTime.Text))//要求完成时间 start
|
||||
if (!string.IsNullOrEmpty(this.txtStartTime.Text))//要求完成时间 start
|
||||
{
|
||||
strSql += " AND CompleteDate > convert(datetime,"+"'" + this.txtStartTime.Text.Trim() + "')";
|
||||
strSql += " AND CompleteDate > convert(datetime," + "'" + this.txtStartTime.Text.Trim() + "')";
|
||||
}
|
||||
if (!string.IsNullOrEmpty(this.txtEndTime.Text))//要求完成时间 end
|
||||
{
|
||||
@@ -115,7 +120,7 @@ namespace FineUIPro.Web.PZHGL.GJSX
|
||||
Grid1.DataBind();
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
#region 查询
|
||||
/// <summary>
|
||||
@@ -143,7 +148,7 @@ namespace FineUIPro.Web.PZHGL.GJSX
|
||||
if (buttonList.Contains(BLL.Const.BtnAdd))
|
||||
{
|
||||
this.btnNew.Hidden = false;
|
||||
// this.btnImport.Hidden = false;
|
||||
// this.btnImport.Hidden = false;
|
||||
}
|
||||
if (buttonList.Contains(BLL.Const.BtnModify))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user