20230324新增集团查看数据跳转页面、现场人员卡号补漏按钮功能

This commit is contained in:
2023-03-24 18:03:17 +08:00
parent 8b0c9fdef0
commit a9feacd3d2
123 changed files with 26137 additions and 50 deletions
+6 -1
View File
@@ -33,7 +33,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.CNCodes,
string strSql = @"SELECT wp.WorkPostId,wp.WorkPostName, wp.WorkPostCode, wp.Remark,wp.PostType,wp.IsHsse,wp.IsCQMS,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 + "' " +
@@ -166,6 +166,10 @@ namespace FineUIPro.Web.BaseInfo
{
this.ckbIsHsse.Checked = true;
}
if (workPost.IsCQMS == true)
{
this.ckbIsCQMS.Checked = true;
}
if (!string.IsNullOrEmpty(workPost.CNCodes))
{
txtCNCodes.Values = workPost.CNCodes.Split(',');
@@ -205,6 +209,7 @@ namespace FineUIPro.Web.BaseInfo
WorkPostName = this.txtWorkPostName.Text.Trim(),
PostType = this.drpPostType.SelectedValue,
IsHsse = Convert.ToBoolean(this.ckbIsHsse.Checked),
IsCQMS = Convert.ToBoolean(this.ckbIsCQMS.Checked),
CNCodes = string.Join(",", txtCNCodes.Values),
Remark = txtRemark.Text.Trim()
};