20220315 代码初始化上传
This commit is contained in:
@@ -0,0 +1,64 @@
|
||||
using BLL;
|
||||
using BLL.CQMS.ProcessControl;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
namespace FineUIPro.Web.CQMS.ProcessControl
|
||||
{
|
||||
public partial class InspectionManagementApproveList : PageBase
|
||||
{
|
||||
#region 加载
|
||||
/// <summary>
|
||||
/// 加载页面
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
if (!IsPostBack)
|
||||
{
|
||||
|
||||
|
||||
string hdInspectionNoticeId = Request.Params["inspectionId"];
|
||||
var list = InspectionManagementApproveService.getListData(hdInspectionNoticeId);
|
||||
gvApprove.DataSource = list;
|
||||
gvApprove.DataBind();
|
||||
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
|
||||
public string man(Object man)
|
||||
{
|
||||
string appman = string.Empty;
|
||||
if (UserService.GetUserByUserId(man.ToString()) != null)
|
||||
{
|
||||
appman = UserService.GetUserByUserId(man.ToString()).UserName;
|
||||
}
|
||||
return appman;
|
||||
}
|
||||
public static string ConvertState(object state)
|
||||
{
|
||||
if (state != null)
|
||||
{
|
||||
if (state.ToString() == BLL.Const.InspectionManagement_ReCompile)
|
||||
{
|
||||
return "重报";
|
||||
}
|
||||
else if (state.ToString() == BLL.Const.InspectionManagement_Compile)
|
||||
{
|
||||
return "编制";
|
||||
}
|
||||
else if (state.ToString() == BLL.Const.InspectionManagement_Audit)
|
||||
{
|
||||
return "待审批";
|
||||
}
|
||||
else if (state.ToString() == BLL.Const.InspectionManagement_Complete)
|
||||
{
|
||||
return "审批完成";
|
||||
}
|
||||
}
|
||||
return "";
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user