20230825部门人员加岗位查询、上报集团报表工时从月报取当月工时
This commit is contained in:
@@ -39,7 +39,7 @@ namespace FineUIPro.Web.Person
|
||||
private void BindGrid()
|
||||
{
|
||||
var getData = Person_PersonsService.getListData(Const.UnitId_SEDIN, this.drpDepart.SelectedValue, this.drpProject.SelectedValue,
|
||||
this.txtPersonName.Text.Trim(), this.txtIdCard.Text.Trim(), this.drpIsPost.SelectedValue, this.drpPersonType.SelectedValue, null, Grid1);
|
||||
this.txtPersonName.Text.Trim(), this.txtIdCard.Text.Trim(), this.drpIsPost.SelectedValue, this.drpPersonType.SelectedValue, null,null, Grid1);
|
||||
Grid1.RecordCount = Person_PersonsService.count;
|
||||
Grid1.DataSource = getData;
|
||||
Grid1.DataBind();
|
||||
|
||||
@@ -38,6 +38,9 @@
|
||||
</f:DropDownList>
|
||||
<f:DropDownList runat="server" ID="drpPersonType" EnableEdit="true"
|
||||
LabelAlign="Right" EmptyText="请选择员工类别" AutoPostBack="true" OnSelectedIndexChanged="btSearch_Click">
|
||||
</f:DropDownList>
|
||||
<f:DropDownList runat="server" ID="drpWorkPost" EnableEdit="true" EnableMultiSelect="true" EnableCheckBoxSelect="true"
|
||||
LabelAlign="Right" EmptyText="请选择岗位" AutoPostBack="true" OnSelectedIndexChanged="btSearch_Click">
|
||||
</f:DropDownList>
|
||||
<f:ToolbarFill runat="server">
|
||||
</f:ToolbarFill>
|
||||
|
||||
@@ -28,6 +28,9 @@ namespace FineUIPro.Web.Person
|
||||
this.drpIsPost.SelectedValue = Const._True;
|
||||
DropListService.InitConstDropDownList(this.drpPersonType, DropListService.Group_PersonType, false);
|
||||
Funs.FineUIPleaseSelect(drpPersonType, "按员工类别查询");
|
||||
|
||||
WorkPostService.InitWorkPostDropDownList(this.drpWorkPost, false);
|
||||
Funs.FineUIPleaseSelect(drpWorkPost, "按岗位查询");
|
||||
// 绑定表格
|
||||
this.BindGrid();
|
||||
|
||||
@@ -100,8 +103,9 @@ namespace FineUIPro.Web.Person
|
||||
/// </summary>
|
||||
private void BindGrid()
|
||||
{
|
||||
string[] workPostIds= this.drpWorkPost.SelectedValueArray.Where(x => x != Const._Null).ToArray();
|
||||
var getData = Person_PersonsService.getListData(Const.UnitId_SEDIN, Const.Depart_constructionId, this.drpProject.SelectedValue,
|
||||
this.txtPersonName.Text.Trim(), this.txtIdCard.Text.Trim(), this.drpIsPost.SelectedValue, this.drpPersonType.SelectedValue, null, Grid1);
|
||||
this.txtPersonName.Text.Trim(), this.txtIdCard.Text.Trim(), this.drpIsPost.SelectedValue, this.drpPersonType.SelectedValue, null, workPostIds, Grid1);
|
||||
Grid1.RecordCount = Person_PersonsService.count;
|
||||
Grid1.DataSource = getData;
|
||||
Grid1.DataBind();
|
||||
|
||||
@@ -104,6 +104,15 @@ namespace FineUIPro.Web.Person
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.DropDownList drpPersonType;
|
||||
|
||||
/// <summary>
|
||||
/// drpWorkPost 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.DropDownList drpWorkPost;
|
||||
|
||||
/// <summary>
|
||||
/// btSearch 控件。
|
||||
/// </summary>
|
||||
|
||||
@@ -43,7 +43,7 @@ namespace FineUIPro.Web.Person
|
||||
private void BindGrid()
|
||||
{
|
||||
var getData = Person_PersonsService.getListData(this.drpUnit.SelectedValue, this.drpDepart.SelectedValue, this.drpProject.SelectedValue,
|
||||
this.txtPersonName.Text.Trim(), this.txtIdCard.Text.Trim(), this.drpIsPost.SelectedValue, this.drpPersonType.SelectedValue, this.txtAccount.Text.Trim(), Grid1);
|
||||
this.txtPersonName.Text.Trim(), this.txtIdCard.Text.Trim(), this.drpIsPost.SelectedValue, this.drpPersonType.SelectedValue, this.txtAccount.Text.Trim(),null, Grid1);
|
||||
Grid1.RecordCount = Person_PersonsService.count;
|
||||
Grid1.DataSource = getData;
|
||||
Grid1.DataBind();
|
||||
|
||||
Reference in New Issue
Block a user