合并最新

This commit is contained in:
2022-12-20 09:32:32 +08:00
parent 844e9f1488
commit 1abdaa9476
654 changed files with 73563 additions and 9746 deletions
@@ -27,8 +27,8 @@
</f:DatePicker>
<f:ToolbarFill ID="ToolbarFill1" runat="server">
</f:ToolbarFill>
<f:CheckBox runat="server" Label="历史" ID="ckRecord" Width="100px" LabelWidth="50px"
AutoPostBack="true" OnCheckedChanged="ckRecord_CheckedChanged"></f:CheckBox>
<f:CheckBox runat="server" Label="历史" ID="ckRecord" Width="100px" LabelWidth="50px"
AutoPostBack="true" OnCheckedChanged="ckRecord_CheckedChanged" Hidden="true"></f:CheckBox>
<f:ToolbarFill ID="ToolbarFill2" runat="server">
</f:ToolbarFill>
<f:DatePicker runat="server" Label="日报日期" ID="txtCompileDate" LabelWidth="100px"
@@ -292,7 +292,7 @@ namespace FineUIPro.Web.HSSE.SitePerson
string allStaffData = string.Empty;
var allSum = from x in Funs.DB.SitePerson_Person
where x.ProjectId == this.CurrUser.LoginProjectId && x.UnitId == unitId && x.IsUsed == true
where x.ProjectId == this.CurrUser.LoginProjectId && x.UnitId == unitId && x.IsUsed == 1
&& (x.InTime < compileDate.AddMonths(1) || !x.InTime.HasValue)
select x;
@@ -1090,7 +1090,7 @@ namespace FineUIPro.Web.HSSE.SitePerson
newPerson.OutResult = persons[i].OutResult;
newPerson.IsForeign = persons[i].IsForeign;
newPerson.IsOutside = persons[i].IsOutside;
newPerson.IsUsed = persons[i].IsUsedName == "是" ? true : false;
newPerson.IsUsed = persons[i].IsUsedName == "是" ? 1 : 0;
newPerson.IsCardUsed = persons[i].IsCardUsedName == "是" ? true : false;
BLL.PersonService.AddPerson(newPerson);
@@ -1133,7 +1133,7 @@ namespace FineUIPro.Web.HSSE.SitePerson
getPerson.OutTime = persons[i].OutTime;
getPerson.OutResult = persons[i].OutResult;
getPerson.Telephone = persons[i].Telephone;
getPerson.IsUsed = persons[i].IsUsedName == "是" ? true : false;
getPerson.IsUsed = persons[i].IsUsedName == "是" ? 1 : 0;
getPerson.IsCardUsed = persons[i].IsCardUsedName == "是" ? true : false;
Funs.DB.SubmitChanges();
}
@@ -172,7 +172,7 @@ namespace FineUIPro.Web.HSSE.SitePerson
{
var units = from x in Funs.DB.Base_Unit select x;
var sitePersons = from x in Funs.DB.SitePerson_Person
where x.ProjectId == this.ProjectId && x.IsUsed && !x.OutTime.HasValue
where x.ProjectId == this.ProjectId && x.IsUsed==1 && !x.OutTime.HasValue
select x;
for (int i = 0; i < ir; i++)
{
@@ -354,7 +354,7 @@ namespace FineUIPro.Web.HSSE.SitePerson
{
var units = from x in Funs.DB.Base_Unit select x;
var sitePersons = from x in Funs.DB.SitePerson_Person
where x.ProjectId == this.ProjectId && x.IsUsed && !x.OutTime.HasValue
where x.ProjectId == this.ProjectId && x.IsUsed==1 && !x.OutTime.HasValue
select x;
for (int i = 0; i < ir; i++)
{
@@ -71,10 +71,11 @@
<Toolbars>
<f:Toolbar ID="Toolbar1" Position="Top" ToolbarAlign="Right" runat="server">
<Items>
<f:DropDownList ID="drpIsUsedName" runat="server" Label="是否在岗" EnableEdit="true"
Width="200px" LabelWidth="100px" LabelAlign="right" ForceSelection="false">
<f:ListItem Value="" Text="" />
<f:ListItem Value="" Text="否" />
<f:DropDownList ID="drpIsUsedName" runat="server" Label="状态" EnableEdit="true"
Width="200px" LabelWidth="70px" LabelAlign="right" ForceSelection="false">
<f:ListItem Value="待审核" Text="待审核" />
<f:ListItem Value="在岗" Text="在岗" Selected="true"/>
<f:ListItem Value="离岗" Text="离岗" />
</f:DropDownList>
<f:CheckBox runat="server" ID="ckIdCardInfoNotOK" Label="身份信息不齐全" LabelAlign="right" LabelWidth="120px">
</f:CheckBox>
@@ -87,7 +87,7 @@ namespace FineUIPro.Web.HSSE.SitePerson
};
if (personLists.Count() > 0)
{
var personIn = personLists.Where(x => x.ProjectId == this.CurrUser.LoginProjectId && x.IsUsed == true
var personIn = personLists.Where(x => x.ProjectId == this.CurrUser.LoginProjectId && x.IsUsed == 1
&& x.InTime <= DateTime.Now && (!x.OutTime.HasValue || x.OutTime > DateTime.Now)).ToList();
rootNode.ToolTip = "当前项目人员总数:" + personLists.Count() + ";在场人员数:" + personIn.Count() + ";离场人员数:" + (personLists.Count() - personIn.Count());
}
@@ -143,7 +143,7 @@ namespace FineUIPro.Web.HSSE.SitePerson
if (personUnitLists.Count() > 0)
{
var personIn = personUnitLists.Where(x => x.InTime <= System.DateTime.Now && x.IsUsed == true
var personIn = personUnitLists.Where(x => x.InTime <= System.DateTime.Now && x.IsUsed == 1
&& (!x.OutTime.HasValue || x.OutTime >= System.DateTime.Now));
newNode.ToolTip = q.UnitName + "人员总数:" + personUnitLists.Count() + ";在场人员数:" + personIn.Count() + ";离场人员数:" + (personUnitLists.Count() - personIn.Count());
}
@@ -195,7 +195,12 @@ namespace FineUIPro.Web.HSSE.SitePerson
{
strSql += " AND UnitId IS NULL";
}
if (drpIsUsedName.SelectedValue == "")
if (drpIsUsedName.SelectedValue == "待审核")
{
strSql += " AND IsUsed = @IsUsed";
listStr.Add(new SqlParameter("@IsUsed", "2"));
}
else if (drpIsUsedName.SelectedValue == "在岗")
{
strSql += " AND IsUsed = @IsUsed";
listStr.Add(new SqlParameter("@IsUsed", "1"));
@@ -45,7 +45,10 @@
<f:Button ID="btnSave" Icon="SystemSave" runat="server" ValidateForms="Form2"
OnClick="btnSave_Click" Hidden="true">
</f:Button>
<f:Button runat="server" ID="btnQR" OnClick="btnQR_Click" Icon="Shading"
<f:Button ID="btnAudit" Icon="ApplicationEdit" runat="server" ValidateForms="Form2"
OnClick="btnAudit_Click" >
</f:Button>
<f:Button runat="server" ID="btnQR" OnClick="btnQR_Click" Icon="ApplicationEdit"
ToolTip="二维码查看">
</f:Button>
<f:Button ID="btnClose" EnablePostBack="false" ToolTip="关闭" runat="server" Icon="SystemClose">
@@ -139,8 +142,8 @@
<f:TextBox ID="txtTelephone" runat="server" Label="电话" LabelAlign="Right" MaxLength="50">
</f:TextBox>
<f:RadioButtonList ID="rblIsUsed" runat="server" Label="人员在场" LabelAlign="Right" Required="True" ShowRedStar="True">
<f:RadioItem Value="True" Text="是" />
<f:RadioItem Value="False" Text="否" />
<f:RadioItem Value="1" Text="是" />
<f:RadioItem Value="0" Text="否" />
</f:RadioButtonList>
</Items>
@@ -154,6 +157,7 @@
<f:FileUpload ID="filePhoto" CssClass="uploadbutton" runat="server" ButtonText="上传照片"
ButtonOnly="true" AutoPostBack="true" OnFileSelected="filePhoto_FileSelected" Hidden="true">
</f:FileUpload>
<f:Label runat="server" Text="如有门禁或实名制对接,请务必上传小于300K且清晰大头照!"></f:Label>
</Items>
</f:Panel>
</Items>
@@ -150,7 +150,7 @@ namespace FineUIPro.Web.HSSE.SitePerson
this.drpMaritalStatus.SelectedValue = person.MaritalStatus;
}
this.txtIdcardAddress.Text = person.IdcardAddress;
this.rblIsUsed.SelectedValue = person.IsUsed ? "True" : "False";
this.rblIsUsed.SelectedValue = person.IsUsed==1? "1" : "0";
this.rblIsCardUsed.SelectedValue = person.IsCardUsed ? "True" : "False";
this.txtCardNo.Text = person.CardNo;
this.txtPersonName.Text = person.PersonName;
@@ -246,7 +246,7 @@ namespace FineUIPro.Web.HSSE.SitePerson
this.txtCardNo.Text = string.Empty;
}
this.txtInTime.Text = string.Format("{0:yyyy-MM-dd}", System.DateTime.Now);
this.rblIsUsed.SelectedValue = "True";
this.rblIsUsed.SelectedValue = "1";
this.rblIsCardUsed.SelectedValue = "True";
}
}
@@ -276,7 +276,58 @@ namespace FineUIPro.Web.HSSE.SitePerson
SynchroSetService.InitCountryDropDownList(this.drpCountryCode, true);
Funs.FineUIPleaseSelect(this.drpProvinceCode);
}
#region
/// <summary>
/// 保存审核
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void btnAudit_Click(object sender, EventArgs e)
{
if (string.IsNullOrEmpty(this.txtPersonName.Text))
{
ShowNotify("人员姓名不能为空!", MessageBoxIcon.Warning);
return;
}
if (this.drpIdcardType.SelectedValue == BLL.Const._Null)
{
ShowNotify("请选择证件类型!", MessageBoxIcon.Warning);
return;
}
if (string.IsNullOrEmpty(this.txtIdentityCard.Text))
{
ShowNotify("证件号码不能为空!", MessageBoxIcon.Warning);
return;
}
//if (string.IsNullOrEmpty(this.txtIdcardStartDate.Text))
//{
// ShowNotify("证件开始日期不能为空!", MessageBoxIcon.Warning);
// return;
//}
//if (this.txtIdcardEndDate.Enabled == true && string.IsNullOrEmpty(this.txtIdcardEndDate.Text.Trim()))
//{
// ShowNotify("证件有效日期不能为空!", MessageBoxIcon.Warning);
// return;
//}
//if (this.drpTeamGroup.SelectedValue == BLL.Const._Null)
//{
// ShowNotify("请选择所属班组!", MessageBoxIcon.Warning);
// return;
//}
if (this.drpPost.SelectedValue == BLL.Const._Null)
{
ShowNotify("请选择所属岗位!", MessageBoxIcon.Warning);
return;
}
if (string.IsNullOrEmpty(this.txtInTime.Text))
{
ShowNotify("入场时间不能为空!", MessageBoxIcon.Warning);
return;
}
SaveData(1);
PageContext.RegisterStartupScript(ActiveWindow.GetHidePostBackReference());
}
#endregion
#region
/// <summary>
/// 保存按钮
@@ -310,11 +361,11 @@ namespace FineUIPro.Web.HSSE.SitePerson
// ShowNotify("证件有效日期不能为空!", MessageBoxIcon.Warning);
// return;
//}
if (this.drpTeamGroup.SelectedValue == BLL.Const._Null)
{
ShowNotify("请选择所属班组!", MessageBoxIcon.Warning);
return;
}
//if (this.drpTeamGroup.SelectedValue == BLL.Const._Null)
//{
// ShowNotify("请选择所属班组!", MessageBoxIcon.Warning);
// return;
//}
if (this.drpPost.SelectedValue == BLL.Const._Null)
{
ShowNotify("请选择所属岗位!", MessageBoxIcon.Warning);
@@ -325,11 +376,11 @@ namespace FineUIPro.Web.HSSE.SitePerson
ShowNotify("入场时间不能为空!", MessageBoxIcon.Warning);
return;
}
SaveData();
SaveData(0);
PageContext.RegisterStartupScript(ActiveWindow.GetHidePostBackReference());
}
protected void SaveData()
protected void SaveData(int whichBtn)
{
string pefx = string.Empty;
Model.Base_Project project = ProjectService.GetProjectByProjectId(this.ProjectId);
@@ -389,7 +440,23 @@ namespace FineUIPro.Web.HSSE.SitePerson
}
if (!string.IsNullOrEmpty(this.rblIsUsed.SelectedValue))
{
person.IsUsed = Convert.ToBoolean(this.rblIsUsed.SelectedValue);
if (this.rblIsUsed.SelectedValue == "1")
{
if (whichBtn == 0)
{
person.IsUsed = 2;
}
else
{
person.IsUsed = 1;
}
}
else
{
person.IsUsed = 0;
}
}
if (!string.IsNullOrEmpty(this.rblIsCardUsed.SelectedValue))
{
@@ -694,7 +761,7 @@ namespace FineUIPro.Web.HSSE.SitePerson
}
if (string.IsNullOrEmpty(this.PersonId))
{
this.SaveData();
this.SaveData(0);
}
string strCode = "person$" + this.txtIdentityCard.Text.Trim();
PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("~/Controls/SeeQRImage.aspx?PersonId={0}&strCode={1}", this.PersonId, strCode), "二维码查看", 400, 400));
@@ -710,7 +777,7 @@ namespace FineUIPro.Web.HSSE.SitePerson
{
if (string.IsNullOrEmpty(this.PersonId))
{
SaveData();
SaveData(0);
}
PageContext.RegisterStartupScript(WindowAtt.GetShowReference(String.Format("~/AttachFile/webuploader.aspx?toKeyId={0}&path=FileUpload/IdCardAttachUrl&menuId={1}&strParam=1", this.PersonId, BLL.Const.PersonListMenuId)));
@@ -724,7 +791,7 @@ namespace FineUIPro.Web.HSSE.SitePerson
{
if (string.IsNullOrEmpty(this.PersonId))
{
SaveData();
SaveData(0);
}
PageContext.RegisterStartupScript(WindowAtt.GetShowReference(String.Format("~/AttachFile/webuploader.aspx?toKeyId={0}&path=FileUpload/PersonBaseInfo&menuId={1}&strParam=2", this.PersonId, BLL.Const.PersonListMenuId)));
}
@@ -737,7 +804,7 @@ namespace FineUIPro.Web.HSSE.SitePerson
{
if (string.IsNullOrEmpty(this.PersonId))
{
SaveData();
SaveData(0);
}
PageContext.RegisterStartupScript(WindowAtt.GetShowReference(String.Format("~/AttachFile/webuploader.aspx?toKeyId={0}&path=FileUpload/PersonBaseInfo&menuId={1}&strParam=3", this.PersonId, BLL.Const.PersonListMenuId)));
}
@@ -750,7 +817,7 @@ namespace FineUIPro.Web.HSSE.SitePerson
{
if (string.IsNullOrEmpty(this.PersonId))
{
SaveData();
SaveData(0);
}
PageContext.RegisterStartupScript(WindowAtt.GetShowReference(String.Format("~/AttachFile/webuploader.aspx?toKeyId={0}&path=FileUpload/PersonBaseInfo&menuId={1}&strParam=4", this.PersonId, BLL.Const.PersonListMenuId)));
}
@@ -763,7 +830,7 @@ namespace FineUIPro.Web.HSSE.SitePerson
{
if (string.IsNullOrEmpty(this.PersonId))
{
SaveData();
SaveData(0);
}
PageContext.RegisterStartupScript(WindowAtt.GetShowReference(String.Format("~/AttachFile/webuploader.aspx?toKeyId={0}&path=FileUpload/IdCardAttachUrl&menuId={1}&strParam=5", this.PersonId, BLL.Const.PersonListMenuId)));
@@ -7,11 +7,13 @@
// </自动生成>
//------------------------------------------------------------------------------
namespace FineUIPro.Web.HSSE.SitePerson {
public partial class PersonListEdit {
namespace FineUIPro.Web.HSSE.SitePerson
{
public partial class PersonListEdit
{
/// <summary>
/// form1 控件。
/// </summary>
@@ -20,7 +22,7 @@ namespace FineUIPro.Web.HSSE.SitePerson {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlForm form1;
/// <summary>
/// PageManager1 控件。
/// </summary>
@@ -29,7 +31,7 @@ namespace FineUIPro.Web.HSSE.SitePerson {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.PageManager PageManager1;
/// <summary>
/// Panel3 控件。
/// </summary>
@@ -38,7 +40,7 @@ namespace FineUIPro.Web.HSSE.SitePerson {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Panel Panel3;
/// <summary>
/// Toolbar2 控件。
/// </summary>
@@ -47,7 +49,7 @@ namespace FineUIPro.Web.HSSE.SitePerson {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Toolbar Toolbar2;
/// <summary>
/// btnAttachUrl1 控件。
/// </summary>
@@ -56,7 +58,7 @@ namespace FineUIPro.Web.HSSE.SitePerson {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Button btnAttachUrl1;
/// <summary>
/// btnAttachUrl5 控件。
/// </summary>
@@ -65,7 +67,7 @@ namespace FineUIPro.Web.HSSE.SitePerson {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Button btnAttachUrl5;
/// <summary>
/// btnAttachUrl2 控件。
/// </summary>
@@ -74,7 +76,7 @@ namespace FineUIPro.Web.HSSE.SitePerson {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Button btnAttachUrl2;
/// <summary>
/// btnAttachUrl3 控件。
/// </summary>
@@ -83,7 +85,7 @@ namespace FineUIPro.Web.HSSE.SitePerson {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Button btnAttachUrl3;
/// <summary>
/// btnAttachUrl4 控件。
/// </summary>
@@ -92,7 +94,7 @@ namespace FineUIPro.Web.HSSE.SitePerson {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Button btnAttachUrl4;
/// <summary>
/// btnSave 控件。
/// </summary>
@@ -101,7 +103,16 @@ namespace FineUIPro.Web.HSSE.SitePerson {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Button btnSave;
/// <summary>
/// btnAudit 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Button btnAudit;
/// <summary>
/// btnQR 控件。
/// </summary>
@@ -110,7 +121,7 @@ namespace FineUIPro.Web.HSSE.SitePerson {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Button btnQR;
/// <summary>
/// btnClose 控件。
/// </summary>
@@ -119,7 +130,7 @@ namespace FineUIPro.Web.HSSE.SitePerson {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Button btnClose;
/// <summary>
/// TabStrip1 控件。
/// </summary>
@@ -128,7 +139,7 @@ namespace FineUIPro.Web.HSSE.SitePerson {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TabStrip TabStrip1;
/// <summary>
/// Tab1 控件。
/// </summary>
@@ -137,7 +148,7 @@ namespace FineUIPro.Web.HSSE.SitePerson {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Tab Tab1;
/// <summary>
/// Panel2 控件。
/// </summary>
@@ -146,7 +157,7 @@ namespace FineUIPro.Web.HSSE.SitePerson {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Panel Panel2;
/// <summary>
/// Panel1 控件。
/// </summary>
@@ -155,7 +166,7 @@ namespace FineUIPro.Web.HSSE.SitePerson {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Panel Panel1;
/// <summary>
/// txtPersonName 控件。
/// </summary>
@@ -164,7 +175,7 @@ namespace FineUIPro.Web.HSSE.SitePerson {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtPersonName;
/// <summary>
/// drpIdcardType 控件。
/// </summary>
@@ -173,7 +184,7 @@ namespace FineUIPro.Web.HSSE.SitePerson {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.DropDownList drpIdcardType;
/// <summary>
/// txtIdentityCard 控件。
/// </summary>
@@ -182,7 +193,7 @@ namespace FineUIPro.Web.HSSE.SitePerson {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtIdentityCard;
/// <summary>
/// txtIdcardStartDate 控件。
/// </summary>
@@ -191,7 +202,7 @@ namespace FineUIPro.Web.HSSE.SitePerson {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.DatePicker txtIdcardStartDate;
/// <summary>
/// txtIdcardEndDate 控件。
/// </summary>
@@ -200,7 +211,7 @@ namespace FineUIPro.Web.HSSE.SitePerson {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.DatePicker txtIdcardEndDate;
/// <summary>
/// txtUnitName 控件。
/// </summary>
@@ -209,7 +220,7 @@ namespace FineUIPro.Web.HSSE.SitePerson {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtUnitName;
/// <summary>
/// txtWorkArea 控件。
/// </summary>
@@ -218,7 +229,7 @@ namespace FineUIPro.Web.HSSE.SitePerson {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.DropDownBox txtWorkArea;
/// <summary>
/// gvWorkArea 控件。
/// </summary>
@@ -227,7 +238,7 @@ namespace FineUIPro.Web.HSSE.SitePerson {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Grid gvWorkArea;
/// <summary>
/// drpMainCNProfessional 控件。
/// </summary>
@@ -236,7 +247,7 @@ namespace FineUIPro.Web.HSSE.SitePerson {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.DropDownList drpMainCNProfessional;
/// <summary>
/// drpAuditor 控件。
/// </summary>
@@ -245,7 +256,7 @@ namespace FineUIPro.Web.HSSE.SitePerson {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.DropDownList drpAuditor;
/// <summary>
/// ckIsForeign 控件。
/// </summary>
@@ -254,7 +265,7 @@ namespace FineUIPro.Web.HSSE.SitePerson {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.CheckBox ckIsForeign;
/// <summary>
/// txtBirthday 控件。
/// </summary>
@@ -263,7 +274,7 @@ namespace FineUIPro.Web.HSSE.SitePerson {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.DatePicker txtBirthday;
/// <summary>
/// txtInTime 控件。
/// </summary>
@@ -272,7 +283,7 @@ namespace FineUIPro.Web.HSSE.SitePerson {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.DatePicker txtInTime;
/// <summary>
/// Panel4 控件。
/// </summary>
@@ -281,7 +292,7 @@ namespace FineUIPro.Web.HSSE.SitePerson {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Panel Panel4;
/// <summary>
/// txtCardNo 控件。
/// </summary>
@@ -290,7 +301,7 @@ namespace FineUIPro.Web.HSSE.SitePerson {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtCardNo;
/// <summary>
/// btnReadIdentityCard 控件。
/// </summary>
@@ -299,7 +310,7 @@ namespace FineUIPro.Web.HSSE.SitePerson {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Button btnReadIdentityCard;
/// <summary>
/// rblSex 控件。
/// </summary>
@@ -308,7 +319,7 @@ namespace FineUIPro.Web.HSSE.SitePerson {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.RadioButtonList rblSex;
/// <summary>
/// rblIdcardForever 控件。
/// </summary>
@@ -317,7 +328,7 @@ namespace FineUIPro.Web.HSSE.SitePerson {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.RadioButtonList rblIdcardForever;
/// <summary>
/// txtIdcardAddress 控件。
/// </summary>
@@ -326,7 +337,7 @@ namespace FineUIPro.Web.HSSE.SitePerson {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtIdcardAddress;
/// <summary>
/// drpPost 控件。
/// </summary>
@@ -335,7 +346,7 @@ namespace FineUIPro.Web.HSSE.SitePerson {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.DropDownList drpPost;
/// <summary>
/// drpTeamGroup 控件。
/// </summary>
@@ -344,7 +355,7 @@ namespace FineUIPro.Web.HSSE.SitePerson {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.DropDownList drpTeamGroup;
/// <summary>
/// drpViceCNProfessional 控件。
/// </summary>
@@ -353,7 +364,7 @@ namespace FineUIPro.Web.HSSE.SitePerson {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.DropDownList drpViceCNProfessional;
/// <summary>
/// txtAuditorDate 控件。
/// </summary>
@@ -362,7 +373,7 @@ namespace FineUIPro.Web.HSSE.SitePerson {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.DatePicker txtAuditorDate;
/// <summary>
/// ckIsOutside 控件。
/// </summary>
@@ -371,7 +382,7 @@ namespace FineUIPro.Web.HSSE.SitePerson {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.CheckBox ckIsOutside;
/// <summary>
/// txtTelephone 控件。
/// </summary>
@@ -380,7 +391,7 @@ namespace FineUIPro.Web.HSSE.SitePerson {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtTelephone;
/// <summary>
/// rblIsUsed 控件。
/// </summary>
@@ -389,7 +400,7 @@ namespace FineUIPro.Web.HSSE.SitePerson {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.RadioButtonList rblIsUsed;
/// <summary>
/// Panel5 控件。
/// </summary>
@@ -398,7 +409,7 @@ namespace FineUIPro.Web.HSSE.SitePerson {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Panel Panel5;
/// <summary>
/// imgPhoto 控件。
/// </summary>
@@ -407,7 +418,7 @@ namespace FineUIPro.Web.HSSE.SitePerson {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Image imgPhoto;
/// <summary>
/// filePhoto 控件。
/// </summary>
@@ -416,7 +427,7 @@ namespace FineUIPro.Web.HSSE.SitePerson {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.FileUpload filePhoto;
/// <summary>
/// Tab2 控件。
/// </summary>
@@ -425,7 +436,7 @@ namespace FineUIPro.Web.HSSE.SitePerson {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Tab Tab2;
/// <summary>
/// Form7 控件。
/// </summary>
@@ -434,7 +445,7 @@ namespace FineUIPro.Web.HSSE.SitePerson {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Form Form7;
/// <summary>
/// drpPosition 控件。
/// </summary>
@@ -443,7 +454,7 @@ namespace FineUIPro.Web.HSSE.SitePerson {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.DropDownList drpPosition;
/// <summary>
/// drpTitle 控件。
/// </summary>
@@ -452,7 +463,7 @@ namespace FineUIPro.Web.HSSE.SitePerson {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.DropDownList drpTitle;
/// <summary>
/// drpEduLevel 控件。
/// </summary>
@@ -461,7 +472,7 @@ namespace FineUIPro.Web.HSSE.SitePerson {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.DropDownList drpEduLevel;
/// <summary>
/// drpMaritalStatus 控件。
/// </summary>
@@ -470,7 +481,7 @@ namespace FineUIPro.Web.HSSE.SitePerson {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.DropDownList drpMaritalStatus;
/// <summary>
/// drpPoliticsStatus 控件。
/// </summary>
@@ -479,7 +490,7 @@ namespace FineUIPro.Web.HSSE.SitePerson {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.DropDownList drpPoliticsStatus;
/// <summary>
/// drpNation 控件。
/// </summary>
@@ -488,7 +499,7 @@ namespace FineUIPro.Web.HSSE.SitePerson {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.DropDownList drpNation;
/// <summary>
/// drpCountryCode 控件。
/// </summary>
@@ -497,7 +508,7 @@ namespace FineUIPro.Web.HSSE.SitePerson {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.DropDownList drpCountryCode;
/// <summary>
/// drpProvinceCode 控件。
/// </summary>
@@ -506,7 +517,7 @@ namespace FineUIPro.Web.HSSE.SitePerson {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.DropDownList drpProvinceCode;
/// <summary>
/// drpCertificate 控件。
/// </summary>
@@ -515,7 +526,7 @@ namespace FineUIPro.Web.HSSE.SitePerson {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.DropDownList drpCertificate;
/// <summary>
/// txtCertificateCode 控件。
/// </summary>
@@ -524,7 +535,7 @@ namespace FineUIPro.Web.HSSE.SitePerson {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtCertificateCode;
/// <summary>
/// txtCertificateLimitTime 控件。
/// </summary>
@@ -533,7 +544,7 @@ namespace FineUIPro.Web.HSSE.SitePerson {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.DatePicker txtCertificateLimitTime;
/// <summary>
/// rblIsCardUsed 控件。
/// </summary>
@@ -542,7 +553,7 @@ namespace FineUIPro.Web.HSSE.SitePerson {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.RadioButtonList rblIsCardUsed;
/// <summary>
/// txtAddress 控件。
/// </summary>
@@ -551,7 +562,7 @@ namespace FineUIPro.Web.HSSE.SitePerson {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtAddress;
/// <summary>
/// txtOutTime 控件。
/// </summary>
@@ -560,7 +571,7 @@ namespace FineUIPro.Web.HSSE.SitePerson {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.DatePicker txtOutTime;
/// <summary>
/// txtOutResult 控件。
/// </summary>
@@ -569,7 +580,7 @@ namespace FineUIPro.Web.HSSE.SitePerson {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtOutResult;
/// <summary>
/// Window1 控件。
/// </summary>
@@ -578,7 +589,7 @@ namespace FineUIPro.Web.HSSE.SitePerson {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Window Window1;
/// <summary>
/// WindowAtt 控件。
/// </summary>
@@ -89,7 +89,7 @@ namespace FineUIPro.Web.HSSE.SitePerson
if (person != null)
{
person.OutTime = Funs.GetNewDateTime(this.txtChangeTime.Text);
person.IsUsed = false;
person.IsUsed = 0;
BLL.PersonService.UpdatePerson(person);
}
}