2026.04.10
This commit is contained in:
@@ -38,7 +38,7 @@ namespace FineUIPro.Web.BaseInfo
|
||||
/// </summary>
|
||||
private void BindGrid()
|
||||
{
|
||||
string strSql = @"SELECT wp.WorkPostId,wp.WorkPostName, wp.WorkPostCode, wp.Remark,wp.PostType,wp.IsHsse,wp.IsCQMS,wp.CNCodes,
|
||||
string strSql = @"SELECT wp.WorkPostId,wp.WorkPostName, wp.WorkPostCode, wp.Remark,wp.PostType,wp.IsHsse,wp.IsCQMS,,wp.IsCQMSCheck,wp.CNCodes,
|
||||
case wp.IsHsse when 1 then '是' else '否' end as IsHsseStr,const.ConstText as PostTypeName
|
||||
FROM dbo.Base_WorkPost AS wp
|
||||
LEFT JOIN Sys_Const AS const ON const.ConstValue = wp.PostType and const.GroupId = '" + ConstValue.Group_PostType + "' ";
|
||||
@@ -83,11 +83,24 @@ namespace FineUIPro.Web.BaseInfo
|
||||
return paged;
|
||||
}
|
||||
|
||||
protected void btnQuery_Click(object sender, EventArgs e)
|
||||
{
|
||||
BindGrid();
|
||||
}
|
||||
protected void Grid1_PageIndexChange(object sender, GridPageEventArgs e)
|
||||
{
|
||||
Grid1.PageIndex = e.NewPageIndex;
|
||||
BindGrid();
|
||||
}
|
||||
/// <summary>
|
||||
/// 关闭弹出窗口
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void Window1_Close(object sender, WindowCloseEventArgs e)
|
||||
{
|
||||
BindGrid();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 分页下拉选择
|
||||
@@ -170,6 +183,10 @@ namespace FineUIPro.Web.BaseInfo
|
||||
{
|
||||
this.ckbIsCQMS.Checked = true;
|
||||
}
|
||||
if (workPost.IsCQMSCheck == true)
|
||||
{
|
||||
this.ckbIsCQMSCheck.Checked = true;
|
||||
}
|
||||
if (!string.IsNullOrEmpty(workPost.CNCodes))
|
||||
{
|
||||
txtCNCodes.Values = workPost.CNCodes.Split(',');
|
||||
@@ -210,6 +227,7 @@ namespace FineUIPro.Web.BaseInfo
|
||||
PostType = this.drpPostType.SelectedValue,
|
||||
IsHsse = Convert.ToBoolean(this.ckbIsHsse.Checked),
|
||||
IsCQMS = Convert.ToBoolean(this.ckbIsCQMS.Checked),
|
||||
IsCQMSCheck = Convert.ToBoolean(this.ckbIsCQMSCheck.Checked),
|
||||
CNCodes = string.Join(",", txtCNCodes.Values),
|
||||
Remark = txtRemark.Text.Trim()
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user