2026.04.10
This commit is contained in:
@@ -102,6 +102,8 @@
|
||||
</f:CheckBox>
|
||||
<f:CheckBox ID="ckbIsCQMS" runat="server" Label="质量管理" LabelAlign="Right" LabelWidth="80px">
|
||||
</f:CheckBox>
|
||||
<f:CheckBox ID="ckbIsCQMSCheck" runat="server" Label="质量报验" LabelAlign="Right" LabelWidth="80px">
|
||||
</f:CheckBox>
|
||||
<f:DropDownBox runat="server" Label="对口专业" ID="txtCNCodes" EmptyText="--请选择--" EnableMultiSelect="true" MatchFieldWidth="true" LabelWidth="80px">
|
||||
<PopPanel>
|
||||
<f:Grid ID="gvCNCodes" DataIDField="CNProfessionalId" ForceFit="true"
|
||||
@@ -123,7 +125,9 @@
|
||||
</f:Label>
|
||||
<f:Label ID="Label2" runat="server" Text="1、若选中安管人员即为安全专职人员;">
|
||||
</f:Label>
|
||||
<f:Label ID="Label3" runat="server" Text="2、特种作业人员和一般作业岗位为单位作业人员。">
|
||||
<f:Label ID="Label5" runat="server" Text="2、若选中质量管理即为质量管理人员;">
|
||||
</f:Label>
|
||||
<f:Label ID="Label3" runat="server" Text="3、特种作业人员和一般作业岗位为单位作业人员。">
|
||||
</f:Label>
|
||||
</Items>
|
||||
<Toolbars>
|
||||
|
||||
@@ -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()
|
||||
};
|
||||
|
||||
@@ -194,6 +194,15 @@ namespace FineUIPro.Web.BaseInfo
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.CheckBox ckbIsCQMS;
|
||||
|
||||
/// <summary>
|
||||
/// ckbIsCQMSCheck 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.CheckBox ckbIsCQMSCheck;
|
||||
|
||||
/// <summary>
|
||||
/// txtCNCodes 控件。
|
||||
/// </summary>
|
||||
@@ -239,6 +248,15 @@ namespace FineUIPro.Web.BaseInfo
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Label Label2;
|
||||
|
||||
/// <summary>
|
||||
/// Label5 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Label Label5;
|
||||
|
||||
/// <summary>
|
||||
/// Label3 控件。
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user