督查人员代码合并

This commit is contained in:
夏菊 2025-01-14 09:40:45 +08:00
parent 766b96b2ec
commit 330402c752
11 changed files with 320 additions and 455 deletions

View File

@ -238,6 +238,7 @@ namespace BLL
ViceCNProfessionalId = user.ViceCNProfessionalId, ViceCNProfessionalId = user.ViceCNProfessionalId,
WorkNo = user.WorkNo, WorkNo = user.WorkNo,
HomePageType = user.HomePageType, HomePageType = user.HomePageType,
IsInspectionBrigade = user.IsInspectionBrigade
}; };
db.Sys_User.InsertOnSubmit(newUser); db.Sys_User.InsertOnSubmit(newUser);
db.SubmitChanges(); db.SubmitChanges();
@ -319,6 +320,7 @@ namespace BLL
newUser.ViceCNProfessionalId = user.ViceCNProfessionalId; newUser.ViceCNProfessionalId = user.ViceCNProfessionalId;
newUser.WorkNo = user.WorkNo; newUser.WorkNo = user.WorkNo;
newUser.HomePageType = user.HomePageType; newUser.HomePageType = user.HomePageType;
newUser.IsInspectionBrigade = user.IsInspectionBrigade;
Funs.DB.SubmitChanges(); Funs.DB.SubmitChanges();
} }
} }

View File

@ -3604,6 +3604,38 @@
return responeData.code; return responeData.code;
} }
#endregion #endregion
#region
public static int PushInspectionBrigadeUser()
{
string baseurl = "/api/InspectionBrigade/SaveInspectionBrigadeUser";
var CollCropCode = BLL.CommonService.GetIsThisUnit()?.CollCropCode;
var userList = from x in Funs.DB.Sys_User
where x.IsInspectionBrigade == true
select new Model.InspectionBrigadeUserItem()
{
UserId = x.UserId,
UserName = x.UserName,
Sex = x.Sex,
Account = x.Account,
Password = x.Password,
IdentityCard = x.IdentityCard,
Telephone = x.Telephone,
CollCropCode = CollCropCode
};
var resultJsonReport = JsonConvert.SerializeObject(userList.ToList());
resultJsonReport = "{\"InspectionBrigadeUserItems\":" + resultJsonReport.Replace("}{", ",") + "}";
var responeData = BLL.ServerService.PushCNCEC(resultJsonReport, baseurl);
return responeData.code;
}
#endregion
} }

View File

@ -26,27 +26,30 @@
OnRowDoubleClick="Grid1_RowDoubleClick" Width="980px" EnableTextSelection="True"> OnRowDoubleClick="Grid1_RowDoubleClick" Width="980px" EnableTextSelection="True">
<Toolbars> <Toolbars>
<f:Toolbar ID="Toolbar2" Position="Top" runat="server"> <f:Toolbar ID="Toolbar2" Position="Top" runat="server">
<Items> <Items>
<f:TextBox runat="server" Label="姓名" ID="txtUserName" EmptyText="输入查询条件" AutoPostBack="true" <f:TextBox runat="server" Label="姓名" ID="txtUserName" EmptyText="输入查询条件" AutoPostBack="true"
OnTextChanged="TextBox_TextChanged" Width="210px" LabelWidth="50px"> OnTextChanged="TextBox_TextChanged" Width="210px" LabelWidth="50px">
</f:TextBox> </f:TextBox>
<f:DropDownList ID="drpUnit" runat="server" Label="单位" EnableEdit="true" AutoPostBack="true" <f:DropDownList ID="drpUnit" runat="server" Label="单位" EnableEdit="true" AutoPostBack="true"
OnSelectedIndexChanged="TextBox_TextChanged" LabelWidth="50px"> OnSelectedIndexChanged="TextBox_TextChanged" LabelWidth="50px">
</f:DropDownList> </f:DropDownList>
<f:DropDownList ID="drpDepart" runat="server" Label="部门" AutoPostBack="true" OnSelectedIndexChanged="TextBox_TextChanged" <f:DropDownList ID="drpDepart" runat="server" Label="部门" AutoPostBack="true" OnSelectedIndexChanged="TextBox_TextChanged"
EnableEdit="true" Width="190px" LabelWidth="50px"> EnableEdit="true" Width="190px" LabelWidth="50px">
</f:DropDownList> </f:DropDownList>
<f:DropDownList ID="drpRole" runat="server" Label="角色" EnableEdit="true" AutoPostBack="true" <f:DropDownList ID="drpRole" runat="server" Label="角色" EnableEdit="true" AutoPostBack="true"
OnSelectedIndexChanged="TextBox_TextChanged" LabelWidth="50px"> OnSelectedIndexChanged="TextBox_TextChanged" LabelWidth="50px">
</f:DropDownList> </f:DropDownList>
<f:ToolbarFill runat="server"> <f:ToolbarFill runat="server">
</f:ToolbarFill> </f:ToolbarFill>
<f:Button ID="btnNew" ToolTip="新增" Icon="Add" EnablePostBack="false" runat="server" <f:Button ID="btnNew" ToolTip="新增" Icon="Add" EnablePostBack="false" runat="server"
Hidden="true"> Hidden="true">
</f:Button> </f:Button>
<f:Button ID="btnImport" ToolTip="导入" Icon="ApplicationAdd" Hidden="true" runat="server" <f:Button ID="btnImport" ToolTip="导入" Icon="ApplicationAdd" Hidden="true" runat="server"
OnClick="btnImport_Click"> OnClick="btnImport_Click">
</f:Button> </f:Button>
<f:Button ID="btnUpdata" Text="推送督查人员" Icon="PageSave" runat="server" ConfirmText="确定推送?"
ToolTip="推送" ValidateForms="SimpleForm1" OnClick="btnPush_Click" MarginRight="10px">
</f:Button>
</Items> </Items>
</f:Toolbar> </f:Toolbar>
</Toolbars> </Toolbars>
@ -57,15 +60,15 @@
FieldType="String" HeaderText="姓名" HeaderTextAlign="Center" TextAlign="Left"> FieldType="String" HeaderText="姓名" HeaderTextAlign="Center" TextAlign="Left">
</f:RenderField> </f:RenderField>
<f:RenderField Width="240px" ColumnID="UnitName" DataField="UnitName" SortField="UnitName" <f:RenderField Width="240px" ColumnID="UnitName" DataField="UnitName" SortField="UnitName"
FieldType="String" HeaderText="单位" HeaderTextAlign="Center" TextAlign="Left" > FieldType="String" HeaderText="单位" HeaderTextAlign="Center" TextAlign="Left">
</f:RenderField> </f:RenderField>
<f:RenderField Width="100px" ColumnID="DepartName" DataField="DepartName" SortField="DepartName" <f:RenderField Width="100px" ColumnID="DepartName" DataField="DepartName" SortField="DepartName"
FieldType="String" HeaderText="部门" HeaderTextAlign="Center" TextAlign="Left" > FieldType="String" HeaderText="部门" HeaderTextAlign="Center" TextAlign="Left">
</f:RenderField> </f:RenderField>
<f:RenderField Width="110px" ColumnID="Account" DataField="Account" SortField="Account" <f:RenderField Width="110px" ColumnID="Account" DataField="Account" SortField="Account"
FieldType="String" HeaderText="账号" HeaderTextAlign="Center" TextAlign="Left"> FieldType="String" HeaderText="账号" HeaderTextAlign="Center" TextAlign="Left">
</f:RenderField> </f:RenderField>
<%-- <f:RenderField Width="120px" ColumnID="IdentityCard" DataField="IdentityCard" SortField="IdentityCard" <%-- <f:RenderField Width="120px" ColumnID="IdentityCard" DataField="IdentityCard" SortField="IdentityCard"
FieldType="String" HeaderText="身份证号码" HeaderTextAlign="Center" TextAlign="Right" Hidden="true"> FieldType="String" HeaderText="身份证号码" HeaderTextAlign="Center" TextAlign="Right" Hidden="true">
</f:RenderField>--%> </f:RenderField>--%>
<f:RenderField Width="150px" ColumnID="RoleName" DataField="RoleName" SortField="RoleName" <f:RenderField Width="150px" ColumnID="RoleName" DataField="RoleName" SortField="RoleName"
@ -77,7 +80,7 @@
<f:CheckBoxField Width="60px" SortField="IsPost" RenderAsStaticField="true" DataField="IsPost" <f:CheckBoxField Width="60px" SortField="IsPost" RenderAsStaticField="true" DataField="IsPost"
HeaderText="在岗" HeaderTextAlign="Center" TextAlign="Center"> HeaderText="在岗" HeaderTextAlign="Center" TextAlign="Center">
</f:CheckBoxField> </f:CheckBoxField>
<%-- <f:CheckBoxField Width="50px" SortField="IsOffice" RenderAsStaticField="true" DataField="IsOffice" <%-- <f:CheckBoxField Width="50px" SortField="IsOffice" RenderAsStaticField="true" DataField="IsOffice"
HeaderText="本部" HeaderTextAlign="Center" TextAlign="Center"> HeaderText="本部" HeaderTextAlign="Center" TextAlign="Center">
</f:CheckBoxField>--%> </f:CheckBoxField>--%>
<f:TemplateField Width="200px" ColumnID="UserId" HeaderText="参与项目" TextAlign="Left"> <f:TemplateField Width="200px" ColumnID="UserId" HeaderText="参与项目" TextAlign="Left">
@ -95,7 +98,7 @@
<f:ToolbarText ID="ToolbarText1" runat="server" Text="每页记录数:"> <f:ToolbarText ID="ToolbarText1" runat="server" Text="每页记录数:">
</f:ToolbarText> </f:ToolbarText>
<f:DropDownList runat="server" ID="ddlPageSize" Width="80px" AutoPostBack="true" <f:DropDownList runat="server" ID="ddlPageSize" Width="80px" AutoPostBack="true"
OnSelectedIndexChanged="ddlPageSize_SelectedIndexChanged"> OnSelectedIndexChanged="ddlPageSize_SelectedIndexChanged">
</f:DropDownList> </f:DropDownList>
</PageItems> </PageItems>
</f:Grid> </f:Grid>
@ -108,7 +111,7 @@
<f:Window ID="Window2" Title="导入人员信息" Hidden="true" EnableIFrame="true" EnableMaximize="true" <f:Window ID="Window2" Title="导入人员信息" Hidden="true" EnableIFrame="true" EnableMaximize="true"
Target="Parent" EnableResize="false" runat="server" OnClose="Window2_Close" IsModal="false" Target="Parent" EnableResize="false" runat="server" OnClose="Window2_Close" IsModal="false"
CloseAction="HidePostBack" Width="1000px" Height="560px"> CloseAction="HidePostBack" Width="1000px" Height="560px">
</f:Window> </f:Window>
<f:Menu ID="Menu1" runat="server"> <f:Menu ID="Menu1" runat="server">
<f:MenuButton ID="btnMenuEdit" OnClick="btnMenuEdit_Click" EnablePostBack="true" <f:MenuButton ID="btnMenuEdit" OnClick="btnMenuEdit_Click" EnablePostBack="true"
Hidden="true" runat="server" Text="编辑" Icon="Pencil"> Hidden="true" runat="server" Text="编辑" Icon="Pencil">

View File

@ -327,5 +327,25 @@
{ {
BindGrid(); BindGrid();
} }
/// <summary>
/// 推送督查人员
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void btnPush_Click(object sender, EventArgs e)
{
string code = CNCECHSSEWebService.PushInspectionBrigadeUser().ToString();
if (code == "1")
{
ShowNotify("同步成功!", MessageBoxIcon.Success);
PageContext.RegisterStartupScript(ActiveWindow.GetHidePostBackReference());
return;
}
else
{
Alert.ShowInParent("同步异常,请退出后重试!", MessageBoxIcon.Error);
}
}
} }
} }

View File

@ -7,11 +7,13 @@
// </自动生成> // </自动生成>
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
namespace FineUIPro.Web.SysManage { namespace FineUIPro.Web.SysManage
{
public partial class UserList {
public partial class UserList
{
/// <summary> /// <summary>
/// form1 控件。 /// form1 控件。
/// </summary> /// </summary>
@ -20,7 +22,7 @@ namespace FineUIPro.Web.SysManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlForm form1; protected global::System.Web.UI.HtmlControls.HtmlForm form1;
/// <summary> /// <summary>
/// PageManager1 控件。 /// PageManager1 控件。
/// </summary> /// </summary>
@ -29,7 +31,7 @@ namespace FineUIPro.Web.SysManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::FineUIPro.PageManager PageManager1; protected global::FineUIPro.PageManager PageManager1;
/// <summary> /// <summary>
/// Panel1 控件。 /// Panel1 控件。
/// </summary> /// </summary>
@ -38,7 +40,7 @@ namespace FineUIPro.Web.SysManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::FineUIPro.Panel Panel1; protected global::FineUIPro.Panel Panel1;
/// <summary> /// <summary>
/// Grid1 控件。 /// Grid1 控件。
/// </summary> /// </summary>
@ -47,7 +49,7 @@ namespace FineUIPro.Web.SysManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::FineUIPro.Grid Grid1; protected global::FineUIPro.Grid Grid1;
/// <summary> /// <summary>
/// Toolbar2 控件。 /// Toolbar2 控件。
/// </summary> /// </summary>
@ -56,7 +58,7 @@ namespace FineUIPro.Web.SysManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::FineUIPro.Toolbar Toolbar2; protected global::FineUIPro.Toolbar Toolbar2;
/// <summary> /// <summary>
/// txtUserName 控件。 /// txtUserName 控件。
/// </summary> /// </summary>
@ -65,7 +67,7 @@ namespace FineUIPro.Web.SysManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::FineUIPro.TextBox txtUserName; protected global::FineUIPro.TextBox txtUserName;
/// <summary> /// <summary>
/// drpUnit 控件。 /// drpUnit 控件。
/// </summary> /// </summary>
@ -74,7 +76,7 @@ namespace FineUIPro.Web.SysManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::FineUIPro.DropDownList drpUnit; protected global::FineUIPro.DropDownList drpUnit;
/// <summary> /// <summary>
/// drpDepart 控件。 /// drpDepart 控件。
/// </summary> /// </summary>
@ -83,7 +85,7 @@ namespace FineUIPro.Web.SysManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::FineUIPro.DropDownList drpDepart; protected global::FineUIPro.DropDownList drpDepart;
/// <summary> /// <summary>
/// drpRole 控件。 /// drpRole 控件。
/// </summary> /// </summary>
@ -92,7 +94,7 @@ namespace FineUIPro.Web.SysManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::FineUIPro.DropDownList drpRole; protected global::FineUIPro.DropDownList drpRole;
/// <summary> /// <summary>
/// btnNew 控件。 /// btnNew 控件。
/// </summary> /// </summary>
@ -101,7 +103,7 @@ namespace FineUIPro.Web.SysManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::FineUIPro.Button btnNew; protected global::FineUIPro.Button btnNew;
/// <summary> /// <summary>
/// btnImport 控件。 /// btnImport 控件。
/// </summary> /// </summary>
@ -110,7 +112,16 @@ namespace FineUIPro.Web.SysManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::FineUIPro.Button btnImport; protected global::FineUIPro.Button btnImport;
/// <summary>
/// btnUpdata 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Button btnUpdata;
/// <summary> /// <summary>
/// lbtnPro 控件。 /// lbtnPro 控件。
/// </summary> /// </summary>
@ -119,7 +130,7 @@ namespace FineUIPro.Web.SysManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.LinkButton lbtnPro; protected global::System.Web.UI.WebControls.LinkButton lbtnPro;
/// <summary> /// <summary>
/// ToolbarSeparator1 控件。 /// ToolbarSeparator1 控件。
/// </summary> /// </summary>
@ -128,7 +139,7 @@ namespace FineUIPro.Web.SysManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::FineUIPro.ToolbarSeparator ToolbarSeparator1; protected global::FineUIPro.ToolbarSeparator ToolbarSeparator1;
/// <summary> /// <summary>
/// ToolbarText1 控件。 /// ToolbarText1 控件。
/// </summary> /// </summary>
@ -137,7 +148,7 @@ namespace FineUIPro.Web.SysManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::FineUIPro.ToolbarText ToolbarText1; protected global::FineUIPro.ToolbarText ToolbarText1;
/// <summary> /// <summary>
/// ddlPageSize 控件。 /// ddlPageSize 控件。
/// </summary> /// </summary>
@ -146,7 +157,7 @@ namespace FineUIPro.Web.SysManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::FineUIPro.DropDownList ddlPageSize; protected global::FineUIPro.DropDownList ddlPageSize;
/// <summary> /// <summary>
/// Window1 控件。 /// Window1 控件。
/// </summary> /// </summary>
@ -155,7 +166,7 @@ namespace FineUIPro.Web.SysManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::FineUIPro.Window Window1; protected global::FineUIPro.Window Window1;
/// <summary> /// <summary>
/// Window2 控件。 /// Window2 控件。
/// </summary> /// </summary>
@ -164,7 +175,7 @@ namespace FineUIPro.Web.SysManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::FineUIPro.Window Window2; protected global::FineUIPro.Window Window2;
/// <summary> /// <summary>
/// Menu1 控件。 /// Menu1 控件。
/// </summary> /// </summary>
@ -173,7 +184,7 @@ namespace FineUIPro.Web.SysManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::FineUIPro.Menu Menu1; protected global::FineUIPro.Menu Menu1;
/// <summary> /// <summary>
/// btnMenuEdit 控件。 /// btnMenuEdit 控件。
/// </summary> /// </summary>
@ -182,7 +193,7 @@ namespace FineUIPro.Web.SysManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::FineUIPro.MenuButton btnMenuEdit; protected global::FineUIPro.MenuButton btnMenuEdit;
/// <summary> /// <summary>
/// btnMenuDelete 控件。 /// btnMenuDelete 控件。
/// </summary> /// </summary>

View File

@ -14,19 +14,19 @@
<Rows> <Rows>
<f:FormRow> <f:FormRow>
<Items> <Items>
<f:TextBox ID="txtUserCode" runat="server" Label="编号" MaxLength="20" LabelWidth="90px"> <f:TextBox ID="txtUserCode" runat="server" Label="编号" MaxLength="20" LabelWidth="90px">
</f:TextBox> </f:TextBox>
<f:TextBox ID="txtUserName" runat="server" Label="姓名" Required="true" ShowRedStar="true" MaxLength="20" <f:TextBox ID="txtUserName" runat="server" Label="姓名" Required="true" ShowRedStar="true" MaxLength="20"
FocusOnPageLoad="true" LabelWidth="90px"> FocusOnPageLoad="true" LabelWidth="90px">
</f:TextBox> </f:TextBox>
<f:TextBox ID="txtAccount" runat="server" Label="登录账号" Required="true" ShowRedStar="true" MaxLength="50" <f:TextBox ID="txtAccount" runat="server" Label="登录账号" Required="true" ShowRedStar="true" MaxLength="50"
LabelWidth="90px"> LabelWidth="90px">
</f:TextBox> </f:TextBox>
</Items> </Items>
</f:FormRow> </f:FormRow>
<f:FormRow> <f:FormRow>
<Items> <Items>
<f:DropDownList ID="drpUnit" runat="server" Label="单位" EnableEdit="true" ForceSelection="false" <f:DropDownList ID="drpUnit" runat="server" Label="单位" EnableEdit="true" ForceSelection="false"
Required="true" ShowRedStar="true" LabelWidth="90px"> Required="true" ShowRedStar="true" LabelWidth="90px">
</f:DropDownList> </f:DropDownList>
<f:TextBox ID="txtIdentityCard" runat="server" Label="身份证号" MaxLength="50" ShowRedStar="true" Required="true" <f:TextBox ID="txtIdentityCard" runat="server" Label="身份证号" MaxLength="50" ShowRedStar="true" Required="true"
@ -37,50 +37,55 @@
</Items> </Items>
</f:FormRow> </f:FormRow>
<f:FormRow runat="server" ID="trServer"> <f:FormRow runat="server" ID="trServer">
<Items> <Items>
<f:DropDownList ID="drpDepart" runat="server" Label="部门" ShowRedStar="true" Required="true" <f:DropDownList ID="drpDepart" runat="server" Label="部门" ShowRedStar="true" Required="true"
EnableEdit="true" ForceSelection="false" LabelWidth="90px"> EnableEdit="true" ForceSelection="false" LabelWidth="90px">
</f:DropDownList> </f:DropDownList>
<f:DropDownList ID="drpIsOffice" runat="server" Label="本部人员" <f:DropDownList ID="drpIsOffice" runat="server" Label="本部人员"
EnableEdit="true" ForceSelection="false" LabelWidth="90px"> EnableEdit="true" ForceSelection="false" LabelWidth="90px">
</f:DropDownList> </f:DropDownList>
<f:DropDownList ID="drpRole" runat="server" Label="本部角色" EnableEdit="true" ForceSelection="false" LabelWidth="90px"> <f:DropDownList ID="drpRole" runat="server" Label="本部角色" EnableEdit="true" ForceSelection="false" LabelWidth="90px">
</f:DropDownList> </f:DropDownList>
</Items> </Items>
</f:FormRow> </f:FormRow>
<f:FormRow> <f:FormRow>
<Items> <Items>
<f:DropDownList ID="drpIsPost" runat="server" Label="在岗" EnableEdit="true" ForceSelection="false" <f:DropDownList ID="drpIsPost" runat="server" Label="在岗" EnableEdit="true" ForceSelection="false"
Required="true" ShowRedStar="true" LabelWidth="90px"> Required="true" ShowRedStar="true" LabelWidth="90px">
</f:DropDownList> </f:DropDownList>
<f:Image ID="Image2" ImageUrl="~/res/images/Signature0.png" runat="server" Height="35px" Width="90px" <f:Image ID="Image2" ImageUrl="~/res/images/Signature0.png" runat="server" Height="35px" Width="90px"
BoxFlex="1" Label="签名" LabelWidth="90px"> BoxFlex="1" Label="签名" LabelWidth="90px">
</f:Image> </f:Image>
<f:FileUpload runat="server" ID="fileSignature" EmptyText="请选择" <f:FileUpload runat="server" ID="fileSignature" EmptyText="请选择"
OnFileSelected="btnSignature_Click" AutoPostBack="true" Width="150px" LabelWidth="90px"> OnFileSelected="btnSignature_Click" AutoPostBack="true" Width="150px" LabelWidth="90px">
</f:FileUpload> </f:FileUpload>
</Items> </Items>
</f:FormRow> </f:FormRow>
<f:FormRow runat="server"> <f:FormRow runat="server">
<Items> <Items>
<f:DropDownList ID="drpMainCNProfessional" runat="server" Label="主专业" EnableEdit="true" LabelWidth="90px"> <f:DropDownList ID="drpMainCNProfessional" runat="server" Label="主专业" EnableEdit="true" LabelWidth="90px">
</f:DropDownList>
<f:DropDownList ID="drpViceCNProfessional" runat="server" Label="副专业" EnableEdit="true"
EnableMultiSelect="true" MaxLength="500" EnableCheckBoxSelect="true">
</f:DropDownList> </f:DropDownList>
<f:DropDownList ID="drpViceCNProfessional" runat="server" Label="副专业" EnableEdit="true"
EnableMultiSelect="true" MaxLength="500" EnableCheckBoxSelect="true">
</f:DropDownList>
<f:RadioButtonList runat="server" ID="rblHomePageType" Label="首页加载"> <f:RadioButtonList runat="server" ID="rblHomePageType" Label="首页加载">
<f:RadioItem Text="施工管理" Value="1" Selected="true" /> <f:RadioItem Text="施工管理" Value="1" Selected="true" />
<f:RadioItem Text="QHSE" Value="2" /> <f:RadioItem Text="QHSE" Value="2" />
</f:RadioButtonList> </f:RadioButtonList>
</Items> </Items>
</f:FormRow> </f:FormRow>
<f:FormRow runat="server">
<items>
<f:CheckBox runat="server" Label="是否督查人员" LabelAlign="Right" ID="cbIsInspectionBrigade" />
</items>
</f:FormRow>
</Rows> </Rows>
<Toolbars> <Toolbars>
<f:Toolbar ID="Toolbar1" Position="Bottom" ToolbarAlign="Right" runat="server"> <f:Toolbar ID="Toolbar1" Position="Bottom" ToolbarAlign="Right" runat="server">
<Items> <Items>
<f:Button ID="btnArrowRefresh" Text="重置密码" Icon="ArrowRefresh" ConfirmText="确定恢复当前用户原始密码?" OnClick="btnArrowRefresh_Click" <f:Button ID="btnArrowRefresh" Text="重置密码" Icon="ArrowRefresh" ConfirmText="确定恢复当前用户原始密码?" OnClick="btnArrowRefresh_Click"
runat="server" Hidden="true"> runat="server" Hidden="true">
</f:Button> </f:Button>
<f:ToolbarFill runat="server"></f:ToolbarFill> <f:ToolbarFill runat="server"></f:ToolbarFill>
<f:Button ID="btnSave" Icon="SystemSave" runat="server" ValidateForms="SimpleForm1" Hidden="true" <f:Button ID="btnSave" Icon="SystemSave" runat="server" ValidateForms="SimpleForm1" Hidden="true"
OnClick="btnSave_Click"> OnClick="btnSave_Click">
@ -90,7 +95,7 @@
</Items> </Items>
</f:Toolbar> </f:Toolbar>
</Toolbars> </Toolbars>
</f:Form> </f:Form>
<f:Window ID="Window1" Title="弹出窗体" Hidden="true" EnableIFrame="true" EnableMaximize="true" <f:Window ID="Window1" Title="弹出窗体" Hidden="true" EnableIFrame="true" EnableMaximize="true"
Target="Parent" EnableResize="false" runat="server" IsModal="true" Width="700px" Target="Parent" EnableResize="false" runat="server" IsModal="true" Width="700px"
Height="500px"> Height="500px">

View File

@ -137,6 +137,8 @@ namespace FineUIPro.Web.SysManage
{ {
this.rblHomePageType.SelectedValue = user.HomePageType; this.rblHomePageType.SelectedValue = user.HomePageType;
} }
cbIsInspectionBrigade.Checked = user.IsInspectionBrigade ?? false;
} }
} }
@ -237,6 +239,7 @@ namespace FineUIPro.Web.SysManage
} }
} }
} }
newUser.IsInspectionBrigade = cbIsInspectionBrigade.Checked;
newUser.HomePageType = this.rblHomePageType.SelectedValue; newUser.HomePageType = this.rblHomePageType.SelectedValue;
if (string.IsNullOrEmpty(this.UserId)) if (string.IsNullOrEmpty(this.UserId))
{ {

View File

@ -7,11 +7,13 @@
// </自动生成> // </自动生成>
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
namespace FineUIPro.Web.SysManage { namespace FineUIPro.Web.SysManage
{
public partial class UserListEdit {
public partial class UserListEdit
{
/// <summary> /// <summary>
/// form1 控件。 /// form1 控件。
/// </summary> /// </summary>
@ -20,7 +22,7 @@ namespace FineUIPro.Web.SysManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlForm form1; protected global::System.Web.UI.HtmlControls.HtmlForm form1;
/// <summary> /// <summary>
/// PageManager1 控件。 /// PageManager1 控件。
/// </summary> /// </summary>
@ -29,7 +31,7 @@ namespace FineUIPro.Web.SysManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::FineUIPro.PageManager PageManager1; protected global::FineUIPro.PageManager PageManager1;
/// <summary> /// <summary>
/// SimpleForm1 控件。 /// SimpleForm1 控件。
/// </summary> /// </summary>
@ -38,7 +40,7 @@ namespace FineUIPro.Web.SysManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::FineUIPro.Form SimpleForm1; protected global::FineUIPro.Form SimpleForm1;
/// <summary> /// <summary>
/// txtUserCode 控件。 /// txtUserCode 控件。
/// </summary> /// </summary>
@ -47,7 +49,7 @@ namespace FineUIPro.Web.SysManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::FineUIPro.TextBox txtUserCode; protected global::FineUIPro.TextBox txtUserCode;
/// <summary> /// <summary>
/// txtUserName 控件。 /// txtUserName 控件。
/// </summary> /// </summary>
@ -56,7 +58,7 @@ namespace FineUIPro.Web.SysManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::FineUIPro.TextBox txtUserName; protected global::FineUIPro.TextBox txtUserName;
/// <summary> /// <summary>
/// txtAccount 控件。 /// txtAccount 控件。
/// </summary> /// </summary>
@ -65,7 +67,7 @@ namespace FineUIPro.Web.SysManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::FineUIPro.TextBox txtAccount; protected global::FineUIPro.TextBox txtAccount;
/// <summary> /// <summary>
/// drpUnit 控件。 /// drpUnit 控件。
/// </summary> /// </summary>
@ -74,7 +76,7 @@ namespace FineUIPro.Web.SysManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::FineUIPro.DropDownList drpUnit; protected global::FineUIPro.DropDownList drpUnit;
/// <summary> /// <summary>
/// txtIdentityCard 控件。 /// txtIdentityCard 控件。
/// </summary> /// </summary>
@ -83,7 +85,7 @@ namespace FineUIPro.Web.SysManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::FineUIPro.TextBox txtIdentityCard; protected global::FineUIPro.TextBox txtIdentityCard;
/// <summary> /// <summary>
/// txtTelephone 控件。 /// txtTelephone 控件。
/// </summary> /// </summary>
@ -92,7 +94,7 @@ namespace FineUIPro.Web.SysManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::FineUIPro.TextBox txtTelephone; protected global::FineUIPro.TextBox txtTelephone;
/// <summary> /// <summary>
/// trServer 控件。 /// trServer 控件。
/// </summary> /// </summary>
@ -101,7 +103,7 @@ namespace FineUIPro.Web.SysManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::FineUIPro.FormRow trServer; protected global::FineUIPro.FormRow trServer;
/// <summary> /// <summary>
/// drpDepart 控件。 /// drpDepart 控件。
/// </summary> /// </summary>
@ -110,7 +112,7 @@ namespace FineUIPro.Web.SysManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::FineUIPro.DropDownList drpDepart; protected global::FineUIPro.DropDownList drpDepart;
/// <summary> /// <summary>
/// drpIsOffice 控件。 /// drpIsOffice 控件。
/// </summary> /// </summary>
@ -119,7 +121,7 @@ namespace FineUIPro.Web.SysManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::FineUIPro.DropDownList drpIsOffice; protected global::FineUIPro.DropDownList drpIsOffice;
/// <summary> /// <summary>
/// drpRole 控件。 /// drpRole 控件。
/// </summary> /// </summary>
@ -128,7 +130,7 @@ namespace FineUIPro.Web.SysManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::FineUIPro.DropDownList drpRole; protected global::FineUIPro.DropDownList drpRole;
/// <summary> /// <summary>
/// drpIsPost 控件。 /// drpIsPost 控件。
/// </summary> /// </summary>
@ -137,7 +139,7 @@ namespace FineUIPro.Web.SysManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::FineUIPro.DropDownList drpIsPost; protected global::FineUIPro.DropDownList drpIsPost;
/// <summary> /// <summary>
/// Image2 控件。 /// Image2 控件。
/// </summary> /// </summary>
@ -146,7 +148,7 @@ namespace FineUIPro.Web.SysManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::FineUIPro.Image Image2; protected global::FineUIPro.Image Image2;
/// <summary> /// <summary>
/// fileSignature 控件。 /// fileSignature 控件。
/// </summary> /// </summary>
@ -155,7 +157,7 @@ namespace FineUIPro.Web.SysManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::FineUIPro.FileUpload fileSignature; protected global::FineUIPro.FileUpload fileSignature;
/// <summary> /// <summary>
/// drpMainCNProfessional 控件。 /// drpMainCNProfessional 控件。
/// </summary> /// </summary>
@ -164,7 +166,7 @@ namespace FineUIPro.Web.SysManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::FineUIPro.DropDownList drpMainCNProfessional; protected global::FineUIPro.DropDownList drpMainCNProfessional;
/// <summary> /// <summary>
/// drpViceCNProfessional 控件。 /// drpViceCNProfessional 控件。
/// </summary> /// </summary>
@ -173,7 +175,7 @@ namespace FineUIPro.Web.SysManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::FineUIPro.DropDownList drpViceCNProfessional; protected global::FineUIPro.DropDownList drpViceCNProfessional;
/// <summary> /// <summary>
/// rblHomePageType 控件。 /// rblHomePageType 控件。
/// </summary> /// </summary>
@ -182,7 +184,16 @@ namespace FineUIPro.Web.SysManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::FineUIPro.RadioButtonList rblHomePageType; protected global::FineUIPro.RadioButtonList rblHomePageType;
/// <summary>
/// cbIsInspectionBrigade 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.CheckBox cbIsInspectionBrigade;
/// <summary> /// <summary>
/// Toolbar1 控件。 /// Toolbar1 控件。
/// </summary> /// </summary>
@ -191,7 +202,7 @@ namespace FineUIPro.Web.SysManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::FineUIPro.Toolbar Toolbar1; protected global::FineUIPro.Toolbar Toolbar1;
/// <summary> /// <summary>
/// btnArrowRefresh 控件。 /// btnArrowRefresh 控件。
/// </summary> /// </summary>
@ -200,7 +211,7 @@ namespace FineUIPro.Web.SysManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::FineUIPro.Button btnArrowRefresh; protected global::FineUIPro.Button btnArrowRefresh;
/// <summary> /// <summary>
/// btnSave 控件。 /// btnSave 控件。
/// </summary> /// </summary>
@ -209,7 +220,7 @@ namespace FineUIPro.Web.SysManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::FineUIPro.Button btnSave; protected global::FineUIPro.Button btnSave;
/// <summary> /// <summary>
/// btnClose 控件。 /// btnClose 控件。
/// </summary> /// </summary>
@ -218,7 +229,7 @@ namespace FineUIPro.Web.SysManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::FineUIPro.Button btnClose; protected global::FineUIPro.Button btnClose;
/// <summary> /// <summary>
/// Window1 控件。 /// Window1 控件。
/// </summary> /// </summary>

View File

@ -0,0 +1,91 @@
using System;
namespace Model
{
public class InspectionBrigadeUserItem
{
/// <summary>
/// 用户ID
/// </summary>
public string UserId
{
get;
set;
}
/// <summary>
/// 账号
/// </summary>
public string Account
{
get;
set;
}
/// <summary>
/// 密码
/// </summary>
public string Password
{
get;
set;
}
/// <summary>
/// 用户名称
/// </summary>
public string UserName
{
get;
set;
}
/// <summary>
/// 性别
/// </summary>
public string Sex
{
get;
set;
}
/// <summary>
/// 单位ID
/// </summary>
public string UnitId
{
get;
set;
}
/// <summary>
/// 单位名称
/// </summary>
public string UnitName
{
get;
set;
}
/// <summary>
/// 单位社会统一信用代码
/// </summary>
public string CollCropCode
{
get;
set;
}
/// <summary>
/// 身份证
/// </summary>
public string IdentityCard
{
get;
set;
}
/// <summary>
/// 电话
/// </summary>
public string Telephone
{
get;
set;
}
}
}

View File

@ -1367,9 +1367,6 @@ namespace Model
partial void InsertJDGL_UndergroundPipeCompletion(JDGL_UndergroundPipeCompletion instance); partial void InsertJDGL_UndergroundPipeCompletion(JDGL_UndergroundPipeCompletion instance);
partial void UpdateJDGL_UndergroundPipeCompletion(JDGL_UndergroundPipeCompletion instance); partial void UpdateJDGL_UndergroundPipeCompletion(JDGL_UndergroundPipeCompletion instance);
partial void DeleteJDGL_UndergroundPipeCompletion(JDGL_UndergroundPipeCompletion instance); partial void DeleteJDGL_UndergroundPipeCompletion(JDGL_UndergroundPipeCompletion instance);
partial void InsertJDGL_WBS(JDGL_WBS instance);
partial void UpdateJDGL_WBS(JDGL_WBS instance);
partial void DeleteJDGL_WBS(JDGL_WBS instance);
partial void InsertJDGL_WeekPlan(JDGL_WeekPlan instance); partial void InsertJDGL_WeekPlan(JDGL_WeekPlan instance);
partial void UpdateJDGL_WeekPlan(JDGL_WeekPlan instance); partial void UpdateJDGL_WeekPlan(JDGL_WeekPlan instance);
partial void DeleteJDGL_WeekPlan(JDGL_WeekPlan instance); partial void DeleteJDGL_WeekPlan(JDGL_WeekPlan instance);
@ -6349,14 +6346,6 @@ namespace Model
} }
} }
public System.Data.Linq.Table<JDGL_WBS> JDGL_WBS
{
get
{
return this.GetTable<JDGL_WBS>();
}
}
public System.Data.Linq.Table<JDGL_WeekPlan> JDGL_WeekPlan public System.Data.Linq.Table<JDGL_WeekPlan> JDGL_WeekPlan
{ {
get get
@ -96634,7 +96623,7 @@ namespace Model
} }
} }
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CertificateNumber", DbType="NVarChar(500)")] [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CertificateNumber", DbType="NVarChar(50)")]
public string CertificateNumber public string CertificateNumber
{ {
get get
@ -219230,333 +219219,6 @@ namespace Model
} }
} }
[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.JDGL_WBS")]
public partial class JDGL_WBS : INotifyPropertyChanging, INotifyPropertyChanged
{
private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
private string _Id;
private string _ProjectId;
private string _ParentId;
private string _ItemName;
private string _ItemNum;
private System.Nullable<System.DateTime> _PlanStart;
private System.Nullable<System.DateTime> _PlanEnd;
private System.Nullable<System.DateTime> _RealityEnd;
private string _PathCode;
private EntityRef<JDGL_WBS> _JDGL_WBS_JDGL_WBS;
private EntityRef<JDGL_WBS> _JDGL_WBS_JDGL_WBS1;
#region
partial void OnLoaded();
partial void OnValidate(System.Data.Linq.ChangeAction action);
partial void OnCreated();
partial void OnIdChanging(string value);
partial void OnIdChanged();
partial void OnProjectIdChanging(string value);
partial void OnProjectIdChanged();
partial void OnParentIdChanging(string value);
partial void OnParentIdChanged();
partial void OnItemNameChanging(string value);
partial void OnItemNameChanged();
partial void OnItemNumChanging(string value);
partial void OnItemNumChanged();
partial void OnPlanStartChanging(System.Nullable<System.DateTime> value);
partial void OnPlanStartChanged();
partial void OnPlanEndChanging(System.Nullable<System.DateTime> value);
partial void OnPlanEndChanged();
partial void OnRealityEndChanging(System.Nullable<System.DateTime> value);
partial void OnRealityEndChanged();
partial void OnPathCodeChanging(string value);
partial void OnPathCodeChanged();
#endregion
public JDGL_WBS()
{
this._JDGL_WBS_JDGL_WBS = default(EntityRef<JDGL_WBS>);
this._JDGL_WBS_JDGL_WBS1 = default(EntityRef<JDGL_WBS>);
OnCreated();
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Id", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
public string Id
{
get
{
return this._Id;
}
set
{
if ((this._Id != value))
{
if (this._JDGL_WBS_JDGL_WBS.HasLoadedOrAssignedValue)
{
throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();
}
this.OnIdChanging(value);
this.SendPropertyChanging();
this._Id = value;
this.SendPropertyChanged("Id");
this.OnIdChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="NVarChar(50)")]
public string ProjectId
{
get
{
return this._ProjectId;
}
set
{
if ((this._ProjectId != value))
{
this.OnProjectIdChanging(value);
this.SendPropertyChanging();
this._ProjectId = value;
this.SendPropertyChanged("ProjectId");
this.OnProjectIdChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ParentId", DbType="NVarChar(50)")]
public string ParentId
{
get
{
return this._ParentId;
}
set
{
if ((this._ParentId != value))
{
this.OnParentIdChanging(value);
this.SendPropertyChanging();
this._ParentId = value;
this.SendPropertyChanged("ParentId");
this.OnParentIdChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ItemName", DbType="NVarChar(50)")]
public string ItemName
{
get
{
return this._ItemName;
}
set
{
if ((this._ItemName != value))
{
this.OnItemNameChanging(value);
this.SendPropertyChanging();
this._ItemName = value;
this.SendPropertyChanged("ItemName");
this.OnItemNameChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ItemNum", DbType="NVarChar(50)")]
public string ItemNum
{
get
{
return this._ItemNum;
}
set
{
if ((this._ItemNum != value))
{
this.OnItemNumChanging(value);
this.SendPropertyChanging();
this._ItemNum = value;
this.SendPropertyChanged("ItemNum");
this.OnItemNumChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PlanStart", DbType="DateTime")]
public System.Nullable<System.DateTime> PlanStart
{
get
{
return this._PlanStart;
}
set
{
if ((this._PlanStart != value))
{
this.OnPlanStartChanging(value);
this.SendPropertyChanging();
this._PlanStart = value;
this.SendPropertyChanged("PlanStart");
this.OnPlanStartChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PlanEnd", DbType="DateTime")]
public System.Nullable<System.DateTime> PlanEnd
{
get
{
return this._PlanEnd;
}
set
{
if ((this._PlanEnd != value))
{
this.OnPlanEndChanging(value);
this.SendPropertyChanging();
this._PlanEnd = value;
this.SendPropertyChanged("PlanEnd");
this.OnPlanEndChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RealityEnd", DbType="DateTime")]
public System.Nullable<System.DateTime> RealityEnd
{
get
{
return this._RealityEnd;
}
set
{
if ((this._RealityEnd != value))
{
this.OnRealityEndChanging(value);
this.SendPropertyChanging();
this._RealityEnd = value;
this.SendPropertyChanged("RealityEnd");
this.OnRealityEndChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PathCode", DbType="NVarChar(50)")]
public string PathCode
{
get
{
return this._PathCode;
}
set
{
if ((this._PathCode != value))
{
this.OnPathCodeChanging(value);
this.SendPropertyChanging();
this._PathCode = value;
this.SendPropertyChanged("PathCode");
this.OnPathCodeChanged();
}
}
}
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_JDGL_WBS_JDGL_WBS", Storage="_JDGL_WBS_JDGL_WBS", ThisKey="Id", OtherKey="Id", IsForeignKey=true)]
public JDGL_WBS JDGL_WBS_JDGL_WBS
{
get
{
return this._JDGL_WBS_JDGL_WBS.Entity;
}
set
{
JDGL_WBS previousValue = this._JDGL_WBS_JDGL_WBS.Entity;
if (((previousValue != value)
|| (this._JDGL_WBS_JDGL_WBS.HasLoadedOrAssignedValue == false)))
{
this.SendPropertyChanging();
if ((previousValue != null))
{
this._JDGL_WBS_JDGL_WBS.Entity = null;
previousValue.JDGL_WBS_JDGL_WBS1 = null;
}
this._JDGL_WBS_JDGL_WBS.Entity = value;
if ((value != null))
{
value.JDGL_WBS_JDGL_WBS1 = this;
this._Id = value.Id;
}
else
{
this._Id = default(string);
}
this.SendPropertyChanged("JDGL_WBS_JDGL_WBS");
}
}
}
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_JDGL_WBS_JDGL_WBS", Storage="_JDGL_WBS_JDGL_WBS1", ThisKey="Id", OtherKey="Id", IsUnique=true, IsForeignKey=false, DeleteRule="NO ACTION")]
public JDGL_WBS JDGL_WBS_JDGL_WBS1
{
get
{
return this._JDGL_WBS_JDGL_WBS1.Entity;
}
set
{
JDGL_WBS previousValue = this._JDGL_WBS_JDGL_WBS1.Entity;
if (((previousValue != value)
|| (this._JDGL_WBS_JDGL_WBS1.HasLoadedOrAssignedValue == false)))
{
this.SendPropertyChanging();
if ((previousValue != null))
{
this._JDGL_WBS_JDGL_WBS1.Entity = null;
previousValue.JDGL_WBS_JDGL_WBS = null;
}
this._JDGL_WBS_JDGL_WBS1.Entity = value;
if ((value != null))
{
value.JDGL_WBS_JDGL_WBS = this;
}
this.SendPropertyChanged("JDGL_WBS_JDGL_WBS1");
}
}
}
public event PropertyChangingEventHandler PropertyChanging;
public event PropertyChangedEventHandler PropertyChanged;
protected virtual void SendPropertyChanging()
{
if ((this.PropertyChanging != null))
{
this.PropertyChanging(this, emptyChangingEventArgs);
}
}
protected virtual void SendPropertyChanged(String propertyName)
{
if ((this.PropertyChanged != null))
{
this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
}
}
}
[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.JDGL_WeekPlan")] [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.JDGL_WeekPlan")]
public partial class JDGL_WeekPlan : INotifyPropertyChanging, INotifyPropertyChanged public partial class JDGL_WeekPlan : INotifyPropertyChanging, INotifyPropertyChanged
{ {
@ -260763,10 +260425,10 @@ namespace Model
private string _MeetingHostManOther; private string _MeetingHostManOther;
private string _ProjectId;
private string _UnitId; private string _UnitId;
private string _ProjectId;
#region #region
partial void OnLoaded(); partial void OnLoaded();
partial void OnValidate(System.Data.Linq.ChangeAction action); partial void OnValidate(System.Data.Linq.ChangeAction action);
@ -260801,10 +260463,10 @@ namespace Model
partial void OnAttentPersonIdsChanged(); partial void OnAttentPersonIdsChanged();
partial void OnMeetingHostManOtherChanging(string value); partial void OnMeetingHostManOtherChanging(string value);
partial void OnMeetingHostManOtherChanged(); partial void OnMeetingHostManOtherChanged();
partial void OnProjectIdChanging(string value);
partial void OnProjectIdChanged();
partial void OnUnitIdChanging(string value); partial void OnUnitIdChanging(string value);
partial void OnUnitIdChanged(); partial void OnUnitIdChanged();
partial void OnProjectIdChanging(string value);
partial void OnProjectIdChanged();
#endregion #endregion
public Meeting_CompanySafetyMeeting() public Meeting_CompanySafetyMeeting()
@ -261112,26 +260774,6 @@ namespace Model
} }
} }
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="NVarChar(50)")]
public string ProjectId
{
get
{
return this._ProjectId;
}
set
{
if ((this._ProjectId != value))
{
this.OnProjectIdChanging(value);
this.SendPropertyChanging();
this._ProjectId = value;
this.SendPropertyChanged("ProjectId");
this.OnProjectIdChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UnitId", DbType="NVarChar(50)")] [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UnitId", DbType="NVarChar(50)")]
public string UnitId public string UnitId
{ {
@ -261152,6 +260794,26 @@ namespace Model
} }
} }
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="NVarChar(50)")]
public string ProjectId
{
get
{
return this._ProjectId;
}
set
{
if ((this._ProjectId != value))
{
this.OnProjectIdChanging(value);
this.SendPropertyChanging();
this._ProjectId = value;
this.SendPropertyChanged("ProjectId");
this.OnProjectIdChanged();
}
}
}
public event PropertyChangingEventHandler PropertyChanging; public event PropertyChangingEventHandler PropertyChanging;
public event PropertyChangedEventHandler PropertyChanged; public event PropertyChangedEventHandler PropertyChanged;
@ -280766,7 +280428,7 @@ namespace Model
} }
} }
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectName", DbType="VarChar(50)")] [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectName", DbType="VarChar(100)")]
public string ProjectName public string ProjectName
{ {
get get
@ -359785,6 +359447,8 @@ namespace Model
private string _CompanyProjectId; private string _CompanyProjectId;
private System.Nullable<bool> _IsInspectionBrigade;
private EntitySet<Comprehensive_NCRManagement> _Comprehensive_NCRManagement; private EntitySet<Comprehensive_NCRManagement> _Comprehensive_NCRManagement;
private EntitySet<Comprehensive_PressurePipe> _Comprehensive_PressurePipe; private EntitySet<Comprehensive_PressurePipe> _Comprehensive_PressurePipe;
@ -360599,6 +360263,8 @@ namespace Model
partial void OnHomePageTypeChanged(); partial void OnHomePageTypeChanged();
partial void OnCompanyProjectIdChanging(string value); partial void OnCompanyProjectIdChanging(string value);
partial void OnCompanyProjectIdChanged(); partial void OnCompanyProjectIdChanged();
partial void OnIsInspectionBrigadeChanging(System.Nullable<bool> value);
partial void OnIsInspectionBrigadeChanged();
#endregion #endregion
public Sys_User() public Sys_User()
@ -362015,6 +361681,26 @@ namespace Model
} }
} }
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsInspectionBrigade", DbType="Bit")]
public System.Nullable<bool> IsInspectionBrigade
{
get
{
return this._IsInspectionBrigade;
}
set
{
if ((this._IsInspectionBrigade != value))
{
this.OnIsInspectionBrigadeChanging(value);
this.SendPropertyChanging();
this._IsInspectionBrigade = value;
this.SendPropertyChanged("IsInspectionBrigade");
this.OnIsInspectionBrigadeChanged();
}
}
}
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="Comprehensive_NCRManagement_Sys_User", Storage="_Comprehensive_NCRManagement", ThisKey="UserId", OtherKey="CompileMan", DeleteRule="NO ACTION")] [global::System.Data.Linq.Mapping.AssociationAttribute(Name="Comprehensive_NCRManagement_Sys_User", Storage="_Comprehensive_NCRManagement", ThisKey="UserId", OtherKey="CompileMan", DeleteRule="NO ACTION")]
public EntitySet<Comprehensive_NCRManagement> Comprehensive_NCRManagement public EntitySet<Comprehensive_NCRManagement> Comprehensive_NCRManagement
{ {

View File

@ -131,6 +131,7 @@
<Compile Include="APIItem\HSSE\PictureItem.cs" /> <Compile Include="APIItem\HSSE\PictureItem.cs" />
<Compile Include="APIItem\HSSE\RecityNoticesItem.cs" /> <Compile Include="APIItem\HSSE\RecityNoticesItem.cs" />
<Compile Include="APIItem\HSSE\SeDinMonthReport4OtherItem.cs" /> <Compile Include="APIItem\HSSE\SeDinMonthReport4OtherItem.cs" />
<Compile Include="APIItem\InspectionBrigadeUserItem.cs" />
<Compile Include="APIItem\OperationReportDto.cs" /> <Compile Include="APIItem\OperationReportDto.cs" />
<Compile Include="APIItem\ProjectGpsPointItem.cs" /> <Compile Include="APIItem\ProjectGpsPointItem.cs" />
<Compile Include="APIItem\ProjectItem.cs" /> <Compile Include="APIItem\ProjectItem.cs" />