PMP项目数据对接;邮箱测试
This commit is contained in:
parent
4abca1fa1c
commit
175660e4c8
|
@ -0,0 +1,39 @@
|
|||
|
||||
|
||||
--项目补充PMP系统项目信息
|
||||
IF NOT EXISTS (SELECT 1 FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_NAME = 'Base_Project' AND COLUMN_NAME = 'PlanStartDate')
|
||||
BEGIN
|
||||
ALTER TABLE Base_Project ADD ProjectNameEn nvarchar(500);
|
||||
ALTER TABLE Base_Project ADD StClientName nvarchar(200);
|
||||
ALTER TABLE Base_Project ADD ClientContactor nvarchar(200);
|
||||
ALTER TABLE Base_Project ADD MobileTel nvarchar(200);
|
||||
ALTER TABLE Base_Project ADD PlanStartDate datetime;
|
||||
ALTER TABLE Base_Project ADD PlanEndDate datetime;
|
||||
|
||||
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'业主名称' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Base_Project', @level2type=N'COLUMN',@level2name=N'StClientName'
|
||||
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'业主联系人' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Base_Project', @level2type=N'COLUMN',@level2name=N'ClientContactor'
|
||||
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'业主联系人电话' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Base_Project', @level2type=N'COLUMN',@level2name=N'MobileTel'
|
||||
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'项目计划开始日期' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Base_Project', @level2type=N'COLUMN',@level2name=N'PlanStartDate'
|
||||
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'项目计划结束日期' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Base_Project', @level2type=N'COLUMN',@level2name=N'PlanEndDate'
|
||||
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'项目英文名称' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Base_Project', @level2type=N'COLUMN',@level2name=N'ProjectNameEn'
|
||||
END
|
||||
GO
|
||||
|
||||
|
||||
IF NOT EXISTS (SELECT 1 FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_NAME = 'PMP_Project' AND COLUMN_NAME = 'stClientName')
|
||||
BEGIN
|
||||
ALTER TABLE PMP_Project ADD stClientName nvarchar(200);
|
||||
ALTER TABLE PMP_Project ADD clientContactor nvarchar(200);
|
||||
ALTER TABLE PMP_Project ADD mobileTel nvarchar(200);
|
||||
ALTER TABLE PMP_Project ADD planStartDate datetime;
|
||||
ALTER TABLE PMP_Project ADD planEndDate datetime;
|
||||
ALTER TABLE PMP_Project ADD stLocationName nvarchar(20);
|
||||
|
||||
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'业主名称' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'PMP_Project', @level2type=N'COLUMN',@level2name=N'stClientName'
|
||||
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'业主联系人' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'PMP_Project', @level2type=N'COLUMN',@level2name=N'clientContactor'
|
||||
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'业主联系人电话' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'PMP_Project', @level2type=N'COLUMN',@level2name=N'mobileTel'
|
||||
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'项目计划开始日期' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'PMP_Project', @level2type=N'COLUMN',@level2name=N'planStartDate'
|
||||
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'项目计划结束日期' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'PMP_Project', @level2type=N'COLUMN',@level2name=N'planEndDate'
|
||||
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'建设地点名称(境内、境外)' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'PMP_Project', @level2type=N'COLUMN',@level2name=N'stLocationName'
|
||||
END
|
||||
GO
|
File diff suppressed because one or more lines are too long
|
@ -102,7 +102,8 @@ namespace BLL
|
|||
MailMessage mail = new MailMessage();
|
||||
//邮件主题
|
||||
mail.Subject = $"关键事项超期预警提醒——{projectName}";
|
||||
mail.To.Add(user.Email);
|
||||
//mail.To.Add(user.Email);
|
||||
mail.To.Add("1784803958@qq.com");
|
||||
mail.IsBodyHtml = true;//确保邮件正文被当作HTML解析
|
||||
|
||||
StringBuilder tbodyStr = new StringBuilder();
|
||||
|
|
|
@ -111,8 +111,11 @@
|
|||
ProjectCode = project.ProjectCode,
|
||||
JTProjectCode = project.JTProjectCode,
|
||||
ProjectName = project.ProjectName,
|
||||
ProjectNameEn = project.ProjectNameEn,
|
||||
StartDate = project.StartDate,
|
||||
EndDate = project.EndDate,
|
||||
PlanStartDate = project.PlanStartDate,
|
||||
PlanEndDate = project.PlanEndDate,
|
||||
ProjectAddress = project.ProjectAddress,
|
||||
ContractNo = project.ContractNo,
|
||||
WorkRange = project.WorkRange,
|
||||
|
@ -133,6 +136,9 @@
|
|||
ProjectMoney = project.ProjectMoney,
|
||||
ConstructionMoney = project.ConstructionMoney,
|
||||
Telephone = project.Telephone,
|
||||
StClientName = project.StClientName,
|
||||
ClientContactor = project.ClientContactor,
|
||||
MobileTel = project.MobileTel,
|
||||
Country = project.Country,
|
||||
Province = project.Province,
|
||||
City = project.City,
|
||||
|
@ -162,8 +168,11 @@
|
|||
newProject.ProjectCode = project.ProjectCode;
|
||||
newProject.JTProjectCode = project.JTProjectCode;
|
||||
newProject.ProjectName = project.ProjectName;
|
||||
newProject.ProjectNameEn = project.ProjectNameEn;
|
||||
newProject.StartDate = project.StartDate;
|
||||
newProject.EndDate = project.EndDate;
|
||||
newProject.PlanStartDate = project.PlanStartDate;
|
||||
newProject.PlanEndDate = project.PlanEndDate;
|
||||
newProject.ProjectAddress = project.ProjectAddress;
|
||||
newProject.ShortName = project.ShortName;
|
||||
newProject.ContractNo = project.ContractNo;
|
||||
|
@ -184,6 +193,9 @@
|
|||
newProject.ProjectMoney = project.ProjectMoney;
|
||||
newProject.ConstructionMoney = project.ConstructionMoney;
|
||||
newProject.Telephone = project.Telephone;
|
||||
newProject.StClientName = project.StClientName;
|
||||
newProject.ClientContactor = project.ClientContactor;
|
||||
newProject.MobileTel = project.MobileTel;
|
||||
newProject.Country = project.Country;
|
||||
newProject.Province = project.Province;
|
||||
newProject.City = project.City;
|
||||
|
|
|
@ -14,237 +14,272 @@
|
|||
<Rows>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<%-- <f:TextBox ID="txtProjectName" runat="server" Label="项目名称" Required="true" MaxLength="100"
|
||||
ShowRedStar="true" AutoPostBack="true" OnTextChanged="TextBox_TextChanged" FocusOnPageLoad="true" ></f:TextBox>--%>
|
||||
<%-- <f:DropDownList ID="drpProject" runat="server" Label="项目名称" EnableEdit="true" Required="true" ShowRedStar="true">
|
||||
</f:DropDownList>--%>
|
||||
|
||||
<f:DropDownBox runat="server" ID="drpProjectBox" AutoPostBack="true" OnTextChanged="TextBox_TextChanged" Label="项目名称" EmptyText="请从下拉表格中选择PMP系统项目" DataControlID="Grid2"
|
||||
EnableMultiSelect="false" MatchFieldWidth="false" Required="true" ShowRedStar="true">
|
||||
<PopPanel>
|
||||
<f:Panel ID="Panel1" runat="server" BodyPadding="10px" Width="820px" Height="420px" Hidden="true"
|
||||
ShowBorder="true" ShowHeader="false" Layout="VBox" BoxConfigAlign="Stretch">
|
||||
<Items>
|
||||
<f:Form ID="Form2" ShowBorder="False" ShowHeader="False" runat="server">
|
||||
<Rows>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:TwinTriggerBox Width="200px" runat="server" EmptyText="按项目编号、名称查找" ShowLabel="false" ID="ttbPmpProCodeSearch"
|
||||
ShowTrigger1="false" OnTrigger1Click="ttbPmpProCodeSearch_Trigger1Click" OnTrigger2Click="ttbPmpProCodeSearch_Trigger2Click" Trigger1Icon="Clear" Trigger2Icon="Search">
|
||||
</f:TwinTriggerBox>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
</Rows>
|
||||
</f:Form>
|
||||
<f:Grid ID="Grid2" BoxFlex="1" DataKeyNames="Name"
|
||||
DataIDField="Name" DataTextField="Name" EnableMultiSelect="false"
|
||||
PageSize="50" ShowBorder="true" ShowHeader="false"
|
||||
AllowPaging="true" IsDatabasePaging="true" OnPageIndexChange="Grid2_PageIndexChange" runat="server" EnableCheckBoxSelect="true"
|
||||
AllowSorting="false" SortField="StNum" SortDirection="DESC"
|
||||
OnSort="Grid2_Sort">
|
||||
<Columns>
|
||||
<f:TemplateField ColumnID="tfPageIndex" Width="50px" HeaderText="序号" HeaderTextAlign="Center" TextAlign="Center"
|
||||
EnableLock="true" Locked="true">
|
||||
<ItemTemplate>
|
||||
<asp:Label ID="lblPageIndex" runat="server" Text='<%# Grid2.PageIndex * Grid2.PageSize + Container.DataItemIndex + 1 %>'></asp:Label>
|
||||
</ItemTemplate>
|
||||
</f:TemplateField>
|
||||
<f:BoundField Width="80px" DataField="StNum" HeaderText="项目编号" />
|
||||
<f:BoundField ExpandUnusedSpace="true" MinWidth="200px" DataField="Name" HeaderText="项目名称" />
|
||||
<f:BoundField ExpandUnusedSpace="true" MinWidth="200px" DataField="Address" HeaderText="地址" />
|
||||
</Columns>
|
||||
</f:Grid>
|
||||
</Items>
|
||||
</f:Panel>
|
||||
</PopPanel>
|
||||
</f:DropDownBox>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:TextBox ID="txtProjectCode" runat="server" Label="项目号" Required="true" MaxLength="50"
|
||||
ShowRedStar="true" AutoPostBack="true" OnTextChanged="TextBox_TextChanged">
|
||||
</f:TextBox>
|
||||
</Items>
|
||||
<Items>
|
||||
<f:TextBox ID="txtShortName" runat="server" Label="简称" LabelWidth="150px" MaxLength="20" Required="true" ShowRedStar="true"></f:TextBox>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:DropDownBox runat="server" ID="drpMasterBox1" Label="主数据项目" EmptyText="请从下拉表格中选择集团项目" DataControlID="Grid1"
|
||||
EnableMultiSelect="false" MatchFieldWidth="false">
|
||||
<PopPanel>
|
||||
<f:Panel ID="Panel7" runat="server" BodyPadding="10px" Width="820px" Height="420px" Hidden="true"
|
||||
ShowBorder="true" ShowHeader="false" Layout="VBox" BoxConfigAlign="Stretch">
|
||||
<Items>
|
||||
<f:Form ID="Form5" ShowBorder="False" ShowHeader="False" runat="server">
|
||||
<Rows>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:TwinTriggerBox Width="200px" runat="server" EmptyText="按项目编号查找" ShowLabel="false" ID="ttbCodeSearch"
|
||||
ShowTrigger1="false" OnTrigger1Click="ttbCodeSearch_Trigger1Click" OnTrigger2Click="ttbCodeSearch_Trigger2Click"
|
||||
Trigger1Icon="Clear" Trigger2Icon="Search">
|
||||
</f:TwinTriggerBox>
|
||||
<f:TwinTriggerBox Width="400px" runat="server" EmptyText="按项目名称查找" ShowLabel="false" ID="ttbNameSearch"
|
||||
ShowTrigger1="false" OnTrigger1Click="ttbNameSearch_Trigger1Click" OnTrigger2Click="ttbNameSearch_Trigger2Click"
|
||||
Trigger1Icon="Clear" Trigger2Icon="Search">
|
||||
</f:TwinTriggerBox>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
</Rows>
|
||||
</f:Form>
|
||||
<f:Grid ID="Grid1" BoxFlex="1" DataKeyNames="SysId"
|
||||
DataIDField="SysId" DataTextField="PrjName" EnableMultiSelect="false"
|
||||
PageSize="1000" ShowBorder="true" ShowHeader="false"
|
||||
AllowPaging="false" IsDatabasePaging="false" runat="server" EnableCheckBoxSelect="true"
|
||||
AllowSorting="false" SortField="PrjName" SortDirection="ASC"
|
||||
OnSort="Grid1_Sort">
|
||||
<Columns>
|
||||
<f:RowNumberField TextAlign="Center" />
|
||||
<f:BoundField Width="200px" DataField="PrjCode" HeaderText="项目编号" />
|
||||
<f:BoundField ExpandUnusedSpace="true" MinWidth="400px" DataField="PrjName" HeaderText="项目名称" />
|
||||
</Columns>
|
||||
</f:Grid>
|
||||
</Items>
|
||||
</f:Panel>
|
||||
</PopPanel>
|
||||
</f:DropDownBox>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow ColumnWidths="50% 25% 25%">
|
||||
<Items>
|
||||
<f:DropDownList ID="drpProjectType" Label="项目类型" runat="server">
|
||||
</f:DropDownList>
|
||||
<f:DropDownList ID="drpProjectState" runat="server" Label="项目状态" LabelAlign="Right" LabelWidth="150px">
|
||||
<f:ListItem Text="在建" Value="1" Selected="true" />
|
||||
<f:ListItem Text="停工" Value="2" />
|
||||
<f:ListItem Text="竣工" Value="3" />
|
||||
</f:DropDownList>
|
||||
<f:DropDownList runat="server" ID="drpProjectState2" Label="细分状态"></f:DropDownList>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:DatePicker runat="server" Label="开工日期" ID="txtStartDate"
|
||||
Required="true" ShowRedStar="true" AutoPostBack="true" OnTextChanged="txtStartDate_Blur">
|
||||
</f:DatePicker>
|
||||
<f:DatePicker runat="server" Label="竣工日期" ID="txtEndDate" LabelWidth="150px"
|
||||
AutoPostBack="true" OnTextChanged="txtStartDate_Blur">
|
||||
</f:DatePicker>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:TextBox ID="txtContractNo" runat="server" Label="合同号"></f:TextBox>
|
||||
<f:NumberBox runat="server" ID="txtDuration" Label="项目建设工期(月)" DecimalPrecision="1"
|
||||
NoNegative="true" LabelWidth="150px">
|
||||
</f:NumberBox>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:DropDownList ID="drpProjectManager" runat="server" Label="项目经理"
|
||||
EnableEdit="true" Required="true" ShowRedStar="true">
|
||||
</f:DropDownList>
|
||||
<f:DropDownList ID="drpConstructionManager" runat="server" Label="施工经理" LabelWidth="150px" EnableEdit="true">
|
||||
</f:DropDownList>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:DropDownList ID="drpQAManager" runat="server" Label="质量经理"
|
||||
EnableEdit="true" Required="true" ShowRedStar="true">
|
||||
</f:DropDownList>
|
||||
<f:DropDownList ID="drpHSSEManager" runat="server" Label="安全经理" LabelWidth="150px" EnableEdit="true">
|
||||
</f:DropDownList>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:DropDownList ID="drpDriveManager" runat="server" Label="开车经理" EnableEdit="true">
|
||||
</f:DropDownList>
|
||||
<f:DropDownList ID="drpUnit" Label="所属单位" runat="server" EnableEdit="true">
|
||||
</f:DropDownList>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:TextBox ID="txtProjectAddress" runat="server" Label="项目地址" LabelWidth="150px" MaxLength="500"></f:TextBox>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:TextBox ID="txtJTProjectCode" runat="server" Label="集团项目号" MaxLength="50" LabelWidth="150px"></f:TextBox>
|
||||
<f:CheckBox runat="server" ID="ckbIsForeign" Label="海外项目" LabelWidth="150px"></f:CheckBox>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:TextArea ID="txtWorkRange" runat="server" Label="工作范围" MaxLength="500" Height="50px"></f:TextArea>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:TextArea ID="txtRemark" runat="server" Label="项目概况" MaxLength="500" Height="50px"></f:TextArea>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:NumberBox runat="server" ID="txtProjectMoney" Label="合同额(万元)" NoNegative="true"></f:NumberBox>
|
||||
<f:NumberBox runat="server" ID="txtConstructionMoney" Label="施工合同额(万元)" LabelWidth="150px"
|
||||
NoNegative="true">
|
||||
</f:NumberBox>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:TextBox ID="txtTelephone" runat="server" Label="项目部电话" MaxLength="50">
|
||||
</f:TextBox>
|
||||
</Items>
|
||||
<Items>
|
||||
<f:DropDownList ID="drpCountry" runat="server" Label="国家" EnableEdit="true"
|
||||
AutoPostBack="true" OnSelectedIndexChanged="drpCountry_SelectedIndexChanged"
|
||||
ShowRedStar="true" Required="true">
|
||||
</f:DropDownList>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:DropDownList ID="drpProvince" runat="server" Label="省份" EnableEdit="true">
|
||||
</f:DropDownList>
|
||||
</Items>
|
||||
<Items>
|
||||
<f:TextBox ID="txtCity" runat="server" Label="城市" MaxLength="50" LabelWidth="150px">
|
||||
</f:TextBox>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow ColumnWidths="40% 10% 50%">
|
||||
<Items>
|
||||
<f:TextBox ID="txtMapCoordinates" runat="server" Label="坐标" MaxLength="50"></f:TextBox>
|
||||
<f:ContentPanel ID="bottomPanel" RegionPosition="Bottom" ShowBorder="false" ShowHeader="false" EnableCollapse="false" runat="server">
|
||||
<a href="http://api.map.baidu.com/lbsapi/getpoint/index.html" target="_blank">拾取坐标</a>
|
||||
<f:ContentPanel ID="ContentPanel1" Title="项目基本信息" ShowBorder="true"
|
||||
BodyPadding="10px" EnableCollapse="true" ShowHeader="true" AutoScroll="true"
|
||||
runat="server">
|
||||
<f:Form ID="Form_edit" ShowBorder="false" ShowHeader="false" AutoScroll="true"
|
||||
BodyPadding="10px" runat="server" RedStarPosition="BeforeText" LabelAlign="Right">
|
||||
<Rows>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:DropDownBox runat="server" ID="drpProjectBox" AutoPostBack="true" OnTextChanged="TextBox_TextChanged" Label="项目名称" EmptyText="请从下拉表格中选择PMP系统项目" DataControlID="Grid2"
|
||||
EnableMultiSelect="false" MatchFieldWidth="false" Required="true" ShowRedStar="true">
|
||||
<PopPanel>
|
||||
<f:Panel ID="Panel1" runat="server" BodyPadding="10px" Width="820px" Height="420px" Hidden="true"
|
||||
ShowBorder="true" ShowHeader="false" Layout="VBox" BoxConfigAlign="Stretch">
|
||||
<Items>
|
||||
<f:Form ID="Form2" ShowBorder="False" ShowHeader="False" runat="server">
|
||||
<Rows>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:TwinTriggerBox Width="200px" runat="server" EmptyText="按项目编号、名称查找" ShowLabel="false" ID="ttbPmpProCodeSearch"
|
||||
ShowTrigger1="false" OnTrigger1Click="ttbPmpProCodeSearch_Trigger1Click" OnTrigger2Click="ttbPmpProCodeSearch_Trigger2Click" Trigger1Icon="Clear" Trigger2Icon="Search">
|
||||
</f:TwinTriggerBox>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
</Rows>
|
||||
</f:Form>
|
||||
<f:Grid ID="Grid2" BoxFlex="1" DataKeyNames="Name"
|
||||
DataIDField="Name" DataTextField="Name" EnableMultiSelect="false"
|
||||
PageSize="50" ShowBorder="true" ShowHeader="false"
|
||||
AllowPaging="true" IsDatabasePaging="true" OnPageIndexChange="Grid2_PageIndexChange" runat="server" EnableCheckBoxSelect="true"
|
||||
AllowSorting="false" SortField="StNum" SortDirection="DESC"
|
||||
OnSort="Grid2_Sort">
|
||||
<Columns>
|
||||
<f:TemplateField ColumnID="tfPageIndex" Width="50px" HeaderText="序号" HeaderTextAlign="Center" TextAlign="Center"
|
||||
EnableLock="true" Locked="true">
|
||||
<ItemTemplate>
|
||||
<asp:Label ID="lblPageIndex" runat="server" Text='<%# Grid2.PageIndex * Grid2.PageSize + Container.DataItemIndex + 1 %>'></asp:Label>
|
||||
</ItemTemplate>
|
||||
</f:TemplateField>
|
||||
<f:BoundField Width="80px" DataField="StNum" HeaderText="项目编号" />
|
||||
<f:BoundField ExpandUnusedSpace="true" MinWidth="200px" DataField="Name" HeaderText="项目名称" />
|
||||
<f:BoundField ExpandUnusedSpace="true" MinWidth="200px" DataField="Address" HeaderText="地址" />
|
||||
</Columns>
|
||||
</f:Grid>
|
||||
</Items>
|
||||
</f:Panel>
|
||||
</PopPanel>
|
||||
</f:DropDownBox>
|
||||
</Items>
|
||||
<Items>
|
||||
<f:TextBox ID="txtProjectCode" runat="server" Label="项目号" Required="true" MaxLength="50" LabelWidth="150px"
|
||||
ShowRedStar="true" AutoPostBack="true" OnTextChanged="TextBox_TextChanged">
|
||||
</f:TextBox>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:DropDownBox runat="server" ID="drpMasterBox1" Label="主数据项目" EmptyText="请从下拉表格中选择集团项目" DataControlID="Grid1"
|
||||
EnableMultiSelect="false" MatchFieldWidth="false">
|
||||
<PopPanel>
|
||||
<f:Panel ID="Panel7" runat="server" BodyPadding="10px" Width="820px" Height="420px" Hidden="true"
|
||||
ShowBorder="true" ShowHeader="false" Layout="VBox" BoxConfigAlign="Stretch">
|
||||
<Items>
|
||||
<f:Form ID="Form5" ShowBorder="False" ShowHeader="False" runat="server">
|
||||
<Rows>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:TwinTriggerBox Width="200px" runat="server" EmptyText="按项目编号查找" ShowLabel="false" ID="ttbCodeSearch"
|
||||
ShowTrigger1="false" OnTrigger1Click="ttbCodeSearch_Trigger1Click" OnTrigger2Click="ttbCodeSearch_Trigger2Click"
|
||||
Trigger1Icon="Clear" Trigger2Icon="Search">
|
||||
</f:TwinTriggerBox>
|
||||
<f:TwinTriggerBox Width="400px" runat="server" EmptyText="按项目名称查找" ShowLabel="false" ID="ttbNameSearch"
|
||||
ShowTrigger1="false" OnTrigger1Click="ttbNameSearch_Trigger1Click" OnTrigger2Click="ttbNameSearch_Trigger2Click"
|
||||
Trigger1Icon="Clear" Trigger2Icon="Search">
|
||||
</f:TwinTriggerBox>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
</Rows>
|
||||
</f:Form>
|
||||
<f:Grid ID="Grid1" BoxFlex="1" DataKeyNames="SysId"
|
||||
DataIDField="SysId" DataTextField="PrjName" EnableMultiSelect="false"
|
||||
PageSize="1000" ShowBorder="true" ShowHeader="false"
|
||||
AllowPaging="false" IsDatabasePaging="false" runat="server" EnableCheckBoxSelect="true"
|
||||
AllowSorting="false" SortField="PrjName" SortDirection="ASC"
|
||||
OnSort="Grid1_Sort">
|
||||
<Columns>
|
||||
<f:RowNumberField TextAlign="Center" />
|
||||
<f:BoundField Width="200px" DataField="PrjCode" HeaderText="项目编号" />
|
||||
<f:BoundField ExpandUnusedSpace="true" MinWidth="400px" DataField="PrjName" HeaderText="项目名称" />
|
||||
</Columns>
|
||||
</f:Grid>
|
||||
</Items>
|
||||
</f:Panel>
|
||||
</PopPanel>
|
||||
</f:DropDownBox>
|
||||
</Items>
|
||||
<Items>
|
||||
<f:TextBox ID="txtJTProjectCode" runat="server" Label="集团项目号" MaxLength="50" LabelWidth="150px"></f:TextBox>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow ColumnWidths="30% 40% 30%">
|
||||
<Items>
|
||||
<f:TextBox ID="txtShortName" runat="server" Label="简称" MaxLength="20" Required="true" ShowRedStar="true"></f:TextBox>
|
||||
<f:TextBox ID="txtProjectNameEn" runat="server" Label="英文名称" MaxLength="50">
|
||||
</f:TextBox>
|
||||
<f:TextBox ID="txtEnglishRemark" runat="server" Label="英文简称" MaxLength="3" Width="300px"></f:TextBox>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow ColumnWidths="30% 40% 30%">
|
||||
<Items>
|
||||
<f:DropDownList ID="drpProjectType" Label="项目类型" runat="server">
|
||||
</f:DropDownList>
|
||||
<f:DropDownList ID="drpProjectState" runat="server" Label="项目状态" LabelAlign="Right" >
|
||||
<f:ListItem Text="在建" Value="1" Selected="true" />
|
||||
<f:ListItem Text="停工" Value="2" />
|
||||
<f:ListItem Text="竣工" Value="3" />
|
||||
</f:DropDownList>
|
||||
<f:DropDownList runat="server" ID="drpProjectState2" Label="细分状态"></f:DropDownList>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:DatePicker runat="server" Label="开工日期" ID="txtStartDate"
|
||||
Required="true" ShowRedStar="true" AutoPostBack="true" OnTextChanged="txtStartDate_Blur">
|
||||
</f:DatePicker>
|
||||
<f:DatePicker runat="server" Label="计划开始日期" LabelWidth="150px" ID="txtPlanStartDate">
|
||||
</f:DatePicker>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:DatePicker runat="server" Label="竣工日期" ID="txtEndDate" AutoPostBack="true" OnTextChanged="txtStartDate_Blur">
|
||||
</f:DatePicker>
|
||||
<f:DatePicker runat="server" Label="计划结束日期" LabelWidth="150px" ID="txtPlanEndDate">
|
||||
</f:DatePicker>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:TextBox ID="txtContractNo" runat="server" Label="合同号"></f:TextBox>
|
||||
<f:NumberBox runat="server" ID="txtDuration" Label="项目建设工期(月)" DecimalPrecision="1"
|
||||
NoNegative="true" LabelWidth="150px">
|
||||
</f:NumberBox>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:TextBox ID="txtStClientName" runat="server" Label="业主名称"></f:TextBox>
|
||||
<f:TextBox ID="txtClientContactor" runat="server" Label="业主联系人" LabelWidth="150px"></f:TextBox>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:TextBox ID="txtTelephone" runat="server" Label="项目部电话" MaxLength="50">
|
||||
</f:TextBox>
|
||||
<f:TextBox ID="txtMobileTel" runat="server" Label="业主联系人电话" MaxLength="50" LabelWidth="150px">
|
||||
</f:TextBox>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:TextArea ID="txtWorkRange" runat="server" Label="工作范围" MaxLength="500" Height="100px"></f:TextArea>
|
||||
<f:TextArea ID="txtRemark" runat="server" Label="项目概况" MaxLength="500" Height="100px" LabelWidth="150px"></f:TextArea>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:NumberBox runat="server" ID="txtProjectMoney" Label="合同额(万元)" NoNegative="true"></f:NumberBox>
|
||||
<f:NumberBox runat="server" ID="txtConstructionMoney" Label="施工合同额(万元)" LabelWidth="150px"
|
||||
NoNegative="true">
|
||||
</f:NumberBox>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:TextBox ID="txtProjectAddress" runat="server" Label="项目地址" MaxLength="500"></f:TextBox>
|
||||
<f:DropDownList ID="drpUnit" Label="所属单位" runat="server" EnableEdit="true" LabelWidth="150px">
|
||||
</f:DropDownList>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:DropDownList ID="drpCountry" runat="server" Label="国家" EnableEdit="true"
|
||||
AutoPostBack="true" OnSelectedIndexChanged="drpCountry_SelectedIndexChanged"
|
||||
ShowRedStar="true" Required="true">
|
||||
</f:DropDownList>
|
||||
</Items>
|
||||
<Items>
|
||||
<f:CheckBox runat="server" ID="ckbIsForeign" Label="海外项目" LabelWidth="150px"></f:CheckBox>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:DropDownList ID="drpProvince" runat="server" Label="省份" EnableEdit="true">
|
||||
</f:DropDownList>
|
||||
</Items>
|
||||
<Items>
|
||||
<f:TextBox ID="txtCity" runat="server" Label="城市" MaxLength="50" LabelWidth="150px">
|
||||
</f:TextBox>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow ColumnWidths="40% 10% 50%">
|
||||
<Items>
|
||||
<f:TextBox ID="txtMapCoordinates" runat="server" Label="坐标" MaxLength="50"></f:TextBox>
|
||||
<f:ContentPanel ID="bottomPanel" RegionPosition="Bottom" ShowBorder="false" ShowHeader="false" EnableCollapse="false" runat="server">
|
||||
<a href="http://api.map.baidu.com/lbsapi/getpoint/index.html" target="_blank">拾取坐标</a>
|
||||
</f:ContentPanel>
|
||||
<f:NumberBox runat="server" ID="txtProgress" Label="项目进度(%)" NoNegative="true" LabelWidth="150px"></f:NumberBox>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:TextBox ID="txtHJProjectCode" runat="server" Label="焊接软件项目编号" LabelWidth="150px" MaxLength="50"></f:TextBox>
|
||||
<f:TextBox ID="txtKZProjectCode" runat="server" Label="控制软件项目编号" LabelWidth="150px" MaxLength="50"></f:TextBox>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:TextBox ID="txtProjType" runat="server" Label="控制软件项目类型" LabelWidth="150px" MaxLength="50"></f:TextBox>
|
||||
<f:TextBox ID="txtProjPhase" runat="server" Label="控制软件项目阶段" LabelWidth="150px" MaxLength="50"></f:TextBox>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
</Rows>
|
||||
</f:Form>
|
||||
</f:ContentPanel>
|
||||
<f:TextBox ID="txtEnglishRemark" runat="server" Label="英文简称" MaxLength="3" LabelWidth="150px" Width="300px"></f:TextBox>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:TextBox ID="txtHJProjectCode" runat="server" Label="焊接软件项目编号" LabelWidth="150px" MaxLength="50"></f:TextBox>
|
||||
<f:TextBox ID="txtKZProjectCode" runat="server" Label="控制软件项目编号" LabelWidth="150px" MaxLength="50"></f:TextBox>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:TextBox ID="txtProjType" runat="server" Label="控制软件项目类型" LabelWidth="150px" MaxLength="50"></f:TextBox>
|
||||
<f:TextBox ID="txtProjPhase" runat="server" Label="控制软件项目阶段" LabelWidth="150px" MaxLength="50"></f:TextBox>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:NumberBox runat="server" ID="txtProgress" Label="项目进度(%)" NoNegative="true"></f:NumberBox>
|
||||
<f:Label runat="server"></f:Label>
|
||||
<f:ContentPanel ID="ContentPanel2" Title="项目OBS" ShowBorder="true"
|
||||
BodyPadding="10px" EnableCollapse="true" ShowHeader="true" AutoScroll="true"
|
||||
runat="server">
|
||||
<f:Form ID="Form3" ShowBorder="false" ShowHeader="false" AutoScroll="true"
|
||||
BodyPadding="10px" runat="server" RedStarPosition="BeforeText" LabelAlign="Right">
|
||||
<Rows>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:DropDownList ID="drpProjectManager" runat="server" Label="项目经理"
|
||||
EnableEdit="true" Required="true" ShowRedStar="true">
|
||||
</f:DropDownList>
|
||||
<f:DropDownList ID="drpConstructionManager" runat="server" Label="施工经理" LabelWidth="150px" EnableEdit="true">
|
||||
</f:DropDownList>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:DropDownList ID="drpQAManager" runat="server" Label="质量经理"
|
||||
EnableEdit="true" Required="true" ShowRedStar="true">
|
||||
</f:DropDownList>
|
||||
<f:DropDownList ID="drpHSSEManager" runat="server" Label="安全经理" LabelWidth="150px" EnableEdit="true">
|
||||
</f:DropDownList>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:DropDownList ID="drpDriveManager" runat="server" Label="开车经理" EnableEdit="true">
|
||||
</f:DropDownList>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
</Rows>
|
||||
</f:Form>
|
||||
</f:ContentPanel>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
</Rows>
|
||||
|
|
|
@ -76,6 +76,7 @@ namespace FineUIPro.Web.ProjectData
|
|||
this.drpProjectBox.Value = project.ProjectName;
|
||||
}
|
||||
//this.txtProjectName.Text = project.ProjectName;
|
||||
this.txtProjectNameEn.Text = project.ProjectNameEn;
|
||||
this.txtProjectCode.Text = project.ProjectCode;
|
||||
this.txtJTProjectCode.Text = project.JTProjectCode;
|
||||
this.txtProjectAddress.Text = project.ProjectAddress;
|
||||
|
@ -94,6 +95,14 @@ namespace FineUIPro.Web.ProjectData
|
|||
{
|
||||
this.txtEndDate.Text = string.Format("{0:yyyy-MM-dd}", project.EndDate);
|
||||
}
|
||||
if (project.PlanStartDate.HasValue)
|
||||
{
|
||||
this.txtPlanStartDate.Text = string.Format("{0:yyyy-MM-dd}", project.PlanStartDate);
|
||||
}
|
||||
if (project.PlanEndDate.HasValue)
|
||||
{
|
||||
this.txtPlanEndDate.Text = string.Format("{0:yyyy-MM-dd}", project.PlanEndDate);
|
||||
}
|
||||
|
||||
this.txtShortName.Text = project.ShortName;
|
||||
if (!string.IsNullOrEmpty(project.ProjectType))
|
||||
|
@ -166,6 +175,9 @@ namespace FineUIPro.Web.ProjectData
|
|||
this.txtProjectMoney.Text = project.ProjectMoney.ToString();
|
||||
this.txtConstructionMoney.Text = project.ConstructionMoney.ToString();
|
||||
this.txtTelephone.Text = project.Telephone;
|
||||
this.txtStClientName.Text = project.StClientName;
|
||||
this.txtClientContactor.Text = project.ClientContactor;
|
||||
this.txtMobileTel.Text = project.MobileTel;
|
||||
if (!string.IsNullOrEmpty(project.Country))
|
||||
{
|
||||
this.drpCountry.SelectedValue = project.Country;
|
||||
|
@ -208,6 +220,7 @@ namespace FineUIPro.Web.ProjectData
|
|||
{
|
||||
ProjectCode = this.txtProjectCode.Text.Trim(),
|
||||
JTProjectCode = this.txtJTProjectCode.Text.Trim(),
|
||||
ProjectNameEn = this.txtProjectNameEn.Text.Trim(),
|
||||
//ProjectName = Regex.Replace(this.txtProjectName.Text, @"\s", ""),
|
||||
ProjectAddress = this.txtProjectAddress.Text.Trim(),
|
||||
WorkRange = this.txtWorkRange.Text.Trim(),
|
||||
|
@ -219,6 +232,9 @@ namespace FineUIPro.Web.ProjectData
|
|||
ConstructionMoney = Funs.GetNewDecimal(this.txtConstructionMoney.Text),
|
||||
Remark = this.txtRemark.Text.Trim(),
|
||||
Telephone = this.txtTelephone.Text.Trim(),
|
||||
StClientName = this.txtStClientName.Text.Trim(),
|
||||
ClientContactor = this.txtClientContactor.Text.Trim(),
|
||||
MobileTel = this.txtMobileTel.Text.Trim(),
|
||||
HJProjectCode = this.txtHJProjectCode.Text.Trim(),
|
||||
KZProjectCode = this.txtKZProjectCode.Text.Trim(),
|
||||
City = this.txtCity.Text.Trim(),
|
||||
|
@ -262,6 +278,16 @@ namespace FineUIPro.Web.ProjectData
|
|||
project.EndDate = Funs.GetNewDateTime(this.txtEndDate.Text.Trim());
|
||||
}
|
||||
|
||||
if (!string.IsNullOrEmpty(txtPlanStartDate.Text.Trim()))
|
||||
{
|
||||
project.PlanStartDate = Funs.GetNewDateTime(this.txtPlanStartDate.Text.Trim());
|
||||
}
|
||||
|
||||
if (!string.IsNullOrEmpty(txtPlanEndDate.Text.Trim()))
|
||||
{
|
||||
project.PlanEndDate = Funs.GetNewDateTime(this.txtPlanEndDate.Text.Trim());
|
||||
}
|
||||
|
||||
project.ShortName = this.txtShortName.Text.Trim();
|
||||
if (this.drpProjectType.SelectedValue != BLL.Const._Null)
|
||||
{
|
||||
|
@ -429,9 +455,18 @@ namespace FineUIPro.Web.ProjectData
|
|||
this.txtShortName.Text = pmpProject.ProjShortName;
|
||||
this.txtProjectAddress.Text = pmpProject.Address;
|
||||
this.txtCity.Text = pmpProject.CityName;
|
||||
this.txtStartDate.Text = pmpProject.RealStartDate != null ? ((DateTime)pmpProject.RealStartDate).ToString("yyyy-MM-dd") : "";
|
||||
this.txtEndDate.Text = pmpProject.RealEndDate != null ? ((DateTime)pmpProject.RealEndDate).ToString("yyyy-MM-dd") : "";
|
||||
//this.txtEnglishRemark.Text = pmpProject.ProjectNameEn;
|
||||
this.txtStartDate.Text = pmpProject.RealStartDate.HasValue ? string.Format("{0:yyyy-MM-dd}", pmpProject.RealStartDate) : "";
|
||||
this.txtEndDate.Text = pmpProject.RealEndDate.HasValue ? string.Format("{0:yyyy-MM-dd}", pmpProject.RealEndDate) : "";
|
||||
this.txtPlanStartDate.Text = pmpProject.PlanStartDate.HasValue ? string.Format("{0:yyyy-MM-dd}", pmpProject.PlanStartDate) : "";
|
||||
this.txtPlanEndDate.Text = pmpProject.PlanEndDate.HasValue ? string.Format("{0:yyyy-MM-dd}", pmpProject.PlanEndDate) : "";
|
||||
this.txtProjectNameEn.Text = pmpProject.ProjectNameEn;
|
||||
this.txtStClientName.Text = pmpProject.StClientName;
|
||||
this.txtClientContactor.Text = pmpProject.ClientContactor;
|
||||
this.txtMobileTel.Text = pmpProject.MobileTel;
|
||||
if (pmpProject.StLocationName == "境外")
|
||||
{
|
||||
this.ckbIsForeign.Checked = true;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
@ -1780,11 +1815,11 @@ namespace FineUIPro.Web.ProjectData
|
|||
|
||||
private void BindGrid2()
|
||||
{
|
||||
var lastPmpProject = (from x in Funs.DB.PMP_Project orderby x.CreateTime descending select x).FirstOrDefault();
|
||||
if (lastPmpProject == null || DateTime.Now > lastPmpProject.CreateTime.AddHours(30))
|
||||
{
|
||||
PMPDataService.GetPMPProjectMasterData();
|
||||
}
|
||||
//var lastPmpProject = (from x in Funs.DB.PMP_Project orderby x.CreateTime descending select x).FirstOrDefault();
|
||||
//if (lastPmpProject == null || DateTime.Now > lastPmpProject.CreateTime.AddHours(30))
|
||||
//{
|
||||
// PMPDataService.GetPMPProjectMasterData();
|
||||
//}
|
||||
//var pmptoken = PMPDataService.GetToken();
|
||||
var list = (from x in Funs.DB.PMP_Project orderby x.StNum descending select x).ToList();
|
||||
string codeName = ttbPmpProCodeSearch.Text.Trim();
|
||||
|
|
|
@ -41,6 +41,24 @@ namespace FineUIPro.Web.ProjectData
|
|||
/// </remarks>
|
||||
protected global::FineUIPro.Form SimpleForm1;
|
||||
|
||||
/// <summary>
|
||||
/// ContentPanel1 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.ContentPanel ContentPanel1;
|
||||
|
||||
/// <summary>
|
||||
/// Form_edit 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Form Form_edit;
|
||||
|
||||
/// <summary>
|
||||
/// drpProjectBox 控件。
|
||||
/// </summary>
|
||||
|
@ -104,15 +122,6 @@ namespace FineUIPro.Web.ProjectData
|
|||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtProjectCode;
|
||||
|
||||
/// <summary>
|
||||
/// txtShortName 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtShortName;
|
||||
|
||||
/// <summary>
|
||||
/// drpMasterBox1 控件。
|
||||
/// </summary>
|
||||
|
@ -167,6 +176,42 @@ namespace FineUIPro.Web.ProjectData
|
|||
/// </remarks>
|
||||
protected global::FineUIPro.Grid Grid1;
|
||||
|
||||
/// <summary>
|
||||
/// txtJTProjectCode 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtJTProjectCode;
|
||||
|
||||
/// <summary>
|
||||
/// txtShortName 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtShortName;
|
||||
|
||||
/// <summary>
|
||||
/// txtProjectNameEn 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtProjectNameEn;
|
||||
|
||||
/// <summary>
|
||||
/// txtEnglishRemark 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtEnglishRemark;
|
||||
|
||||
/// <summary>
|
||||
/// drpProjectType 控件。
|
||||
/// </summary>
|
||||
|
@ -203,6 +248,15 @@ namespace FineUIPro.Web.ProjectData
|
|||
/// </remarks>
|
||||
protected global::FineUIPro.DatePicker txtStartDate;
|
||||
|
||||
/// <summary>
|
||||
/// txtPlanStartDate 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.DatePicker txtPlanStartDate;
|
||||
|
||||
/// <summary>
|
||||
/// txtEndDate 控件。
|
||||
/// </summary>
|
||||
|
@ -212,6 +266,15 @@ namespace FineUIPro.Web.ProjectData
|
|||
/// </remarks>
|
||||
protected global::FineUIPro.DatePicker txtEndDate;
|
||||
|
||||
/// <summary>
|
||||
/// txtPlanEndDate 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.DatePicker txtPlanEndDate;
|
||||
|
||||
/// <summary>
|
||||
/// txtContractNo 控件。
|
||||
/// </summary>
|
||||
|
@ -230,6 +293,213 @@ namespace FineUIPro.Web.ProjectData
|
|||
/// </remarks>
|
||||
protected global::FineUIPro.NumberBox txtDuration;
|
||||
|
||||
/// <summary>
|
||||
/// txtStClientName 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtStClientName;
|
||||
|
||||
/// <summary>
|
||||
/// txtClientContactor 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtClientContactor;
|
||||
|
||||
/// <summary>
|
||||
/// txtTelephone 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtTelephone;
|
||||
|
||||
/// <summary>
|
||||
/// txtMobileTel 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtMobileTel;
|
||||
|
||||
/// <summary>
|
||||
/// txtWorkRange 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextArea txtWorkRange;
|
||||
|
||||
/// <summary>
|
||||
/// txtRemark 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextArea txtRemark;
|
||||
|
||||
/// <summary>
|
||||
/// txtProjectMoney 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.NumberBox txtProjectMoney;
|
||||
|
||||
/// <summary>
|
||||
/// txtConstructionMoney 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.NumberBox txtConstructionMoney;
|
||||
|
||||
/// <summary>
|
||||
/// txtProjectAddress 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtProjectAddress;
|
||||
|
||||
/// <summary>
|
||||
/// drpUnit 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.DropDownList drpUnit;
|
||||
|
||||
/// <summary>
|
||||
/// drpCountry 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.DropDownList drpCountry;
|
||||
|
||||
/// <summary>
|
||||
/// ckbIsForeign 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.CheckBox ckbIsForeign;
|
||||
|
||||
/// <summary>
|
||||
/// drpProvince 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.DropDownList drpProvince;
|
||||
|
||||
/// <summary>
|
||||
/// txtCity 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtCity;
|
||||
|
||||
/// <summary>
|
||||
/// txtMapCoordinates 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtMapCoordinates;
|
||||
|
||||
/// <summary>
|
||||
/// bottomPanel 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.ContentPanel bottomPanel;
|
||||
|
||||
/// <summary>
|
||||
/// txtProgress 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.NumberBox txtProgress;
|
||||
|
||||
/// <summary>
|
||||
/// txtHJProjectCode 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtHJProjectCode;
|
||||
|
||||
/// <summary>
|
||||
/// txtKZProjectCode 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtKZProjectCode;
|
||||
|
||||
/// <summary>
|
||||
/// txtProjType 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtProjType;
|
||||
|
||||
/// <summary>
|
||||
/// txtProjPhase 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtProjPhase;
|
||||
|
||||
/// <summary>
|
||||
/// ContentPanel2 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.ContentPanel ContentPanel2;
|
||||
|
||||
/// <summary>
|
||||
/// Form3 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Form Form3;
|
||||
|
||||
/// <summary>
|
||||
/// drpProjectManager 控件。
|
||||
/// </summary>
|
||||
|
@ -275,186 +545,6 @@ namespace FineUIPro.Web.ProjectData
|
|||
/// </remarks>
|
||||
protected global::FineUIPro.DropDownList drpDriveManager;
|
||||
|
||||
/// <summary>
|
||||
/// drpUnit 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.DropDownList drpUnit;
|
||||
|
||||
/// <summary>
|
||||
/// txtProjectAddress 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtProjectAddress;
|
||||
|
||||
/// <summary>
|
||||
/// txtJTProjectCode 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtJTProjectCode;
|
||||
|
||||
/// <summary>
|
||||
/// ckbIsForeign 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.CheckBox ckbIsForeign;
|
||||
|
||||
/// <summary>
|
||||
/// txtWorkRange 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextArea txtWorkRange;
|
||||
|
||||
/// <summary>
|
||||
/// txtRemark 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextArea txtRemark;
|
||||
|
||||
/// <summary>
|
||||
/// txtProjectMoney 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.NumberBox txtProjectMoney;
|
||||
|
||||
/// <summary>
|
||||
/// txtConstructionMoney 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.NumberBox txtConstructionMoney;
|
||||
|
||||
/// <summary>
|
||||
/// txtTelephone 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtTelephone;
|
||||
|
||||
/// <summary>
|
||||
/// drpCountry 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.DropDownList drpCountry;
|
||||
|
||||
/// <summary>
|
||||
/// drpProvince 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.DropDownList drpProvince;
|
||||
|
||||
/// <summary>
|
||||
/// txtCity 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtCity;
|
||||
|
||||
/// <summary>
|
||||
/// txtMapCoordinates 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtMapCoordinates;
|
||||
|
||||
/// <summary>
|
||||
/// bottomPanel 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.ContentPanel bottomPanel;
|
||||
|
||||
/// <summary>
|
||||
/// txtEnglishRemark 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtEnglishRemark;
|
||||
|
||||
/// <summary>
|
||||
/// txtHJProjectCode 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtHJProjectCode;
|
||||
|
||||
/// <summary>
|
||||
/// txtKZProjectCode 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtKZProjectCode;
|
||||
|
||||
/// <summary>
|
||||
/// txtProjType 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtProjType;
|
||||
|
||||
/// <summary>
|
||||
/// txtProjPhase 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtProjPhase;
|
||||
|
||||
/// <summary>
|
||||
/// txtProgress 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.NumberBox txtProgress;
|
||||
|
||||
/// <summary>
|
||||
/// Toolbar1 控件。
|
||||
/// </summary>
|
||||
|
|
|
@ -26719,6 +26719,18 @@ namespace Model
|
|||
|
||||
private System.Nullable<bool> _IsDelete;
|
||||
|
||||
private string _ProjectNameEn;
|
||||
|
||||
private string _StClientName;
|
||||
|
||||
private string _ClientContactor;
|
||||
|
||||
private string _MobileTel;
|
||||
|
||||
private System.Nullable<System.DateTime> _PlanStartDate;
|
||||
|
||||
private System.Nullable<System.DateTime> _PlanEndDate;
|
||||
|
||||
private EntitySet<Accident_AccidentHandle> _Accident_AccidentHandle;
|
||||
|
||||
private EntitySet<Accident_AccidentPersonRecord> _Accident_AccidentPersonRecord;
|
||||
|
@ -27425,6 +27437,18 @@ namespace Model
|
|||
partial void OnMasterSysIdChanged();
|
||||
partial void OnIsDeleteChanging(System.Nullable<bool> value);
|
||||
partial void OnIsDeleteChanged();
|
||||
partial void OnProjectNameEnChanging(string value);
|
||||
partial void OnProjectNameEnChanged();
|
||||
partial void OnStClientNameChanging(string value);
|
||||
partial void OnStClientNameChanged();
|
||||
partial void OnClientContactorChanging(string value);
|
||||
partial void OnClientContactorChanged();
|
||||
partial void OnMobileTelChanging(string value);
|
||||
partial void OnMobileTelChanged();
|
||||
partial void OnPlanStartDateChanging(System.Nullable<System.DateTime> value);
|
||||
partial void OnPlanStartDateChanged();
|
||||
partial void OnPlanEndDateChanging(System.Nullable<System.DateTime> value);
|
||||
partial void OnPlanEndDateChanged();
|
||||
#endregion
|
||||
|
||||
public Base_Project()
|
||||
|
@ -28589,6 +28613,126 @@ namespace Model
|
|||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectNameEn", DbType="NVarChar(500)")]
|
||||
public string ProjectNameEn
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._ProjectNameEn;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._ProjectNameEn != value))
|
||||
{
|
||||
this.OnProjectNameEnChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._ProjectNameEn = value;
|
||||
this.SendPropertyChanged("ProjectNameEn");
|
||||
this.OnProjectNameEnChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_StClientName", DbType="NVarChar(200)")]
|
||||
public string StClientName
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._StClientName;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._StClientName != value))
|
||||
{
|
||||
this.OnStClientNameChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._StClientName = value;
|
||||
this.SendPropertyChanged("StClientName");
|
||||
this.OnStClientNameChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ClientContactor", DbType="NVarChar(200)")]
|
||||
public string ClientContactor
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._ClientContactor;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._ClientContactor != value))
|
||||
{
|
||||
this.OnClientContactorChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._ClientContactor = value;
|
||||
this.SendPropertyChanged("ClientContactor");
|
||||
this.OnClientContactorChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MobileTel", DbType="NVarChar(200)")]
|
||||
public string MobileTel
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._MobileTel;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._MobileTel != value))
|
||||
{
|
||||
this.OnMobileTelChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._MobileTel = value;
|
||||
this.SendPropertyChanged("MobileTel");
|
||||
this.OnMobileTelChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PlanStartDate", DbType="DateTime")]
|
||||
public System.Nullable<System.DateTime> PlanStartDate
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._PlanStartDate;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._PlanStartDate != value))
|
||||
{
|
||||
this.OnPlanStartDateChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._PlanStartDate = value;
|
||||
this.SendPropertyChanged("PlanStartDate");
|
||||
this.OnPlanStartDateChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PlanEndDate", DbType="DateTime")]
|
||||
public System.Nullable<System.DateTime> PlanEndDate
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._PlanEndDate;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._PlanEndDate != value))
|
||||
{
|
||||
this.OnPlanEndDateChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._PlanEndDate = value;
|
||||
this.SendPropertyChanged("PlanEndDate");
|
||||
this.OnPlanEndDateChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Accident_AccidentHandle_Base_Project", Storage="_Accident_AccidentHandle", ThisKey="ProjectId", OtherKey="ProjectId", DeleteRule="NO ACTION")]
|
||||
public EntitySet<Accident_AccidentHandle> Accident_AccidentHandle
|
||||
{
|
||||
|
@ -284393,6 +284537,18 @@ namespace Model
|
|||
|
||||
private System.DateTime _CreateTime;
|
||||
|
||||
private string _StClientName;
|
||||
|
||||
private string _ClientContactor;
|
||||
|
||||
private string _MobileTel;
|
||||
|
||||
private System.Nullable<System.DateTime> _PlanStartDate;
|
||||
|
||||
private System.Nullable<System.DateTime> _PlanEndDate;
|
||||
|
||||
private string _StLocationName;
|
||||
|
||||
#region 可扩展性方法定义
|
||||
partial void OnLoaded();
|
||||
partial void OnValidate(System.Data.Linq.ChangeAction action);
|
||||
|
@ -284453,6 +284609,18 @@ namespace Model
|
|||
partial void OnRealEndDateChanged();
|
||||
partial void OnCreateTimeChanging(System.DateTime value);
|
||||
partial void OnCreateTimeChanged();
|
||||
partial void OnStClientNameChanging(string value);
|
||||
partial void OnStClientNameChanged();
|
||||
partial void OnClientContactorChanging(string value);
|
||||
partial void OnClientContactorChanged();
|
||||
partial void OnMobileTelChanging(string value);
|
||||
partial void OnMobileTelChanged();
|
||||
partial void OnPlanStartDateChanging(System.Nullable<System.DateTime> value);
|
||||
partial void OnPlanStartDateChanged();
|
||||
partial void OnPlanEndDateChanging(System.Nullable<System.DateTime> value);
|
||||
partial void OnPlanEndDateChanged();
|
||||
partial void OnStLocationNameChanging(string value);
|
||||
partial void OnStLocationNameChanged();
|
||||
#endregion
|
||||
|
||||
public PMP_Project()
|
||||
|
@ -285020,6 +285188,126 @@ namespace Model
|
|||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Name="stClientName", Storage="_StClientName", DbType="NVarChar(200)")]
|
||||
public string StClientName
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._StClientName;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._StClientName != value))
|
||||
{
|
||||
this.OnStClientNameChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._StClientName = value;
|
||||
this.SendPropertyChanged("StClientName");
|
||||
this.OnStClientNameChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Name="clientContactor", Storage="_ClientContactor", DbType="NVarChar(200)")]
|
||||
public string ClientContactor
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._ClientContactor;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._ClientContactor != value))
|
||||
{
|
||||
this.OnClientContactorChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._ClientContactor = value;
|
||||
this.SendPropertyChanged("ClientContactor");
|
||||
this.OnClientContactorChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Name="mobileTel", Storage="_MobileTel", DbType="NVarChar(200)")]
|
||||
public string MobileTel
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._MobileTel;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._MobileTel != value))
|
||||
{
|
||||
this.OnMobileTelChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._MobileTel = value;
|
||||
this.SendPropertyChanged("MobileTel");
|
||||
this.OnMobileTelChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Name="planStartDate", Storage="_PlanStartDate", DbType="DateTime")]
|
||||
public System.Nullable<System.DateTime> PlanStartDate
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._PlanStartDate;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._PlanStartDate != value))
|
||||
{
|
||||
this.OnPlanStartDateChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._PlanStartDate = value;
|
||||
this.SendPropertyChanged("PlanStartDate");
|
||||
this.OnPlanStartDateChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Name="planEndDate", Storage="_PlanEndDate", DbType="DateTime")]
|
||||
public System.Nullable<System.DateTime> PlanEndDate
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._PlanEndDate;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._PlanEndDate != value))
|
||||
{
|
||||
this.OnPlanEndDateChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._PlanEndDate = value;
|
||||
this.SendPropertyChanged("PlanEndDate");
|
||||
this.OnPlanEndDateChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Name="stLocationName", Storage="_StLocationName", DbType="NVarChar(20)")]
|
||||
public string StLocationName
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._StLocationName;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._StLocationName != value))
|
||||
{
|
||||
this.OnStLocationNameChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._StLocationName = value;
|
||||
this.SendPropertyChanged("StLocationName");
|
||||
this.OnStLocationNameChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public event PropertyChangingEventHandler PropertyChanging;
|
||||
|
||||
public event PropertyChangedEventHandler PropertyChanged;
|
||||
|
|
|
@ -115,6 +115,21 @@ namespace Model
|
|||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 项目OBS输出信息
|
||||
/// </summary>
|
||||
public partial class PMPOBSOutInput
|
||||
{
|
||||
/// <summary>
|
||||
/// 岗位专业名称
|
||||
/// </summary>
|
||||
public string workName { get; set; }
|
||||
/// <summary>
|
||||
/// 对应岗位专业任职人员名称
|
||||
/// </summary>
|
||||
public string userName { get; set; }
|
||||
}
|
||||
|
||||
|
||||
public partial class PMPOBSResponseData
|
||||
{
|
||||
|
|
|
@ -103,11 +103,16 @@ namespace Model
|
|||
[JsonProperty("stNum")]
|
||||
public string stNum { get; set; }
|
||||
/// <summary>
|
||||
/// 名称
|
||||
/// 项目名称
|
||||
/// </summary>
|
||||
[JsonProperty("name")]
|
||||
public string name { get; set; }
|
||||
/// <summary>
|
||||
/// 项目英文名称
|
||||
/// </summary>
|
||||
[JsonProperty("projectNameEn")]
|
||||
public string projectNameEn { get; set; }
|
||||
/// <summary>
|
||||
/// 项目简称
|
||||
/// </summary>
|
||||
[JsonProperty("projShortName")]
|
||||
|
@ -123,22 +128,47 @@ namespace Model
|
|||
[JsonProperty("realEndDate")]
|
||||
public DateTime? realEndDate { get; set; }
|
||||
/// <summary>
|
||||
/// 计划开始日期
|
||||
/// </summary>
|
||||
[JsonProperty("planStartDate")]
|
||||
public DateTime? planStartDate { get; set; }
|
||||
/// <summary>
|
||||
/// 计划结束日期
|
||||
/// </summary>
|
||||
[JsonProperty("planEndDate")]
|
||||
public DateTime? planEndDate { get; set; }
|
||||
/// <summary>
|
||||
/// 业主名称
|
||||
/// </summary>
|
||||
[JsonProperty("stClientName")]
|
||||
public string stClientName { get; set; }
|
||||
/// <summary>
|
||||
/// 业主联系人
|
||||
/// </summary>
|
||||
[JsonProperty("clientContactor")]
|
||||
public string clientContactor { get; set; }
|
||||
/// <summary>
|
||||
/// 业主联系人电话
|
||||
/// </summary>
|
||||
[JsonProperty("mobileTel")]
|
||||
public string mobileTel { get; set; }
|
||||
/// <summary>
|
||||
/// 操作类型
|
||||
/// </summary>
|
||||
[JsonProperty("disType")]
|
||||
public string disType { get; set; }
|
||||
///// <summary>
|
||||
///// 项目类型名称(一级)【控制软件项目类型】
|
||||
///// </summary>
|
||||
//[JsonProperty("projName")]
|
||||
//public string projName { get; set; }
|
||||
///// <summary>
|
||||
///// 项目类型名称(二级)
|
||||
///// </summary>
|
||||
//[JsonProperty("projTypeName")]
|
||||
//public string projTypeName { get; set; }
|
||||
/// <summary>
|
||||
/// 项目阶段编码
|
||||
/// </summary>
|
||||
[JsonProperty("projStepZxnoCode")]
|
||||
public string projStepZxnoCode { get; set; }
|
||||
/// <summary>
|
||||
/// 项目阶段名称
|
||||
/// </summary>
|
||||
[JsonProperty("projStepZxnoName")]
|
||||
public string projStepZxnoName { get; set; }
|
||||
/// <summary>
|
||||
/// 项目类型一级
|
||||
/// 项目类型一级【控制软件项目类型】
|
||||
/// </summary>
|
||||
[JsonProperty("stProjectTypeVals")]
|
||||
public string stProjectTypeVals { get; set; }
|
||||
|
@ -147,11 +177,31 @@ namespace Model
|
|||
/// </summary>
|
||||
[JsonProperty("stProjectStepVals")]
|
||||
public string stProjectStepVals { get; set; }
|
||||
///// <summary>
|
||||
///// 项目阶段名称【控制软件项目阶段】
|
||||
///// </summary>
|
||||
//[JsonProperty("projStepName")]
|
||||
//public string projStepName { get; set; }
|
||||
/// <summary>
|
||||
/// 项目阶段编码
|
||||
/// </summary>
|
||||
[JsonProperty("projStepZxnoCode")]
|
||||
public string projStepZxnoCode { get; set; }
|
||||
/// <summary>
|
||||
/// 项目阶段名称【控制软件项目阶段】
|
||||
/// </summary>
|
||||
[JsonProperty("projStepZxnoName")]
|
||||
public string projStepZxnoName { get; set; }
|
||||
/// <summary>
|
||||
/// 项目阶段
|
||||
/// </summary>
|
||||
[JsonProperty("projStepZxnoVals")]
|
||||
public string projStepZxnoVals { get; set; }
|
||||
///// <summary>
|
||||
///// 项目性质名称
|
||||
///// </summary>
|
||||
//[JsonProperty("projPropName")]
|
||||
//public string projPropName { get; set; }
|
||||
/// <summary>
|
||||
/// 项目性质
|
||||
/// </summary>
|
||||
|
@ -163,20 +213,10 @@ namespace Model
|
|||
[JsonProperty("remarkC")]
|
||||
public string remarkC { get; set; }
|
||||
/// <summary>
|
||||
/// 详细地址
|
||||
/// 建设地点名称(境内、境外)
|
||||
/// </summary>
|
||||
[JsonProperty("address")]
|
||||
public string address { get; set; }
|
||||
/// <summary>
|
||||
/// 市编码
|
||||
/// </summary>
|
||||
[JsonProperty("cityCode")]
|
||||
public string cityCode { get; set; }
|
||||
/// <summary>
|
||||
/// 市名称
|
||||
/// </summary>
|
||||
[JsonProperty("cityName")]
|
||||
public string cityName { get; set; }
|
||||
[JsonProperty("stLocationName")]
|
||||
public string stLocationName { get; set; }
|
||||
/// <summary>
|
||||
/// 国家编码
|
||||
/// </summary>
|
||||
|
@ -188,6 +228,26 @@ namespace Model
|
|||
[JsonProperty("countryName")]
|
||||
public string countryName { get; set; }
|
||||
/// <summary>
|
||||
/// 省编码
|
||||
/// </summary>
|
||||
[JsonProperty("provinceCode")]
|
||||
public string provinceCode { get; set; }
|
||||
/// <summary>
|
||||
/// 省名称
|
||||
/// </summary>
|
||||
[JsonProperty("provinceName")]
|
||||
public string provinceName { get; set; }
|
||||
/// <summary>
|
||||
/// 市编码
|
||||
/// </summary>
|
||||
[JsonProperty("cityCode")]
|
||||
public string cityCode { get; set; }
|
||||
/// <summary>
|
||||
/// 市名称
|
||||
/// </summary>
|
||||
[JsonProperty("cityName")]
|
||||
public string cityName { get; set; }
|
||||
/// <summary>
|
||||
/// 区县编码
|
||||
/// </summary>
|
||||
[JsonProperty("countyCode")]
|
||||
|
@ -198,20 +258,10 @@ namespace Model
|
|||
[JsonProperty("countyName")]
|
||||
public string countyName { get; set; }
|
||||
/// <summary>
|
||||
/// 项目英文名称
|
||||
/// 详细地址
|
||||
/// </summary>
|
||||
[JsonProperty("projectNameEn")]
|
||||
public string projectNameEn { get; set; }
|
||||
/// <summary>
|
||||
/// 省编码
|
||||
/// </summary>
|
||||
[JsonProperty("provinceCode")]
|
||||
public string provinceCode { get; set; }
|
||||
/// <summary>
|
||||
/// 省名称
|
||||
/// </summary>
|
||||
[JsonProperty("provinceName")]
|
||||
public string provinceName { get; set; }
|
||||
[JsonProperty("address")]
|
||||
public string address { get; set; }
|
||||
/// <summary>
|
||||
/// 经度
|
||||
/// </summary>
|
||||
|
|
|
@ -0,0 +1,33 @@
|
|||
using BLL;
|
||||
using System;
|
||||
using System.Web.Http;
|
||||
|
||||
namespace WebAPI.Controllers
|
||||
{
|
||||
/// <summary>
|
||||
/// 五环PMP系统
|
||||
/// </summary>
|
||||
public class PMPController : ApiController
|
||||
{
|
||||
/// <summary>
|
||||
/// 每天夜间同步获取PMP系统项目数据
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
[HttpPost]
|
||||
public Model.ResponeData SynPMPProjectData()
|
||||
{
|
||||
var responeData = new Model.ResponeData();
|
||||
try
|
||||
{
|
||||
PMPDataService.GetPMPProjectMasterData();
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
responeData.code = 0;
|
||||
responeData.message = ex.ToString();
|
||||
}
|
||||
return responeData;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
|
@ -86,7 +86,7 @@ namespace WebAPI.Filter
|
|||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public static List<string> lists = new List<string> { "GJSX*OverdueWarningSendEmail", "User*postLoginOn", "get*token", "HazardRegister*getHazardRegisterTotalCount", "HazardRegister*getHazardRegisterByProjectIdStates", "upload*attendance" };
|
||||
public static List<string> lists = new List<string> { "PMP*SynPMPProjectData", "GJSX*OverdueWarningSendEmail", "User*postLoginOn", "get*token", "HazardRegister*getHazardRegisterTotalCount", "HazardRegister*getHazardRegisterByProjectIdStates", "upload*attendance" };
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
|
|
|
@ -217,6 +217,7 @@
|
|||
<Compile Include="Controllers\FileUploadController.cs" />
|
||||
<Compile Include="Controllers\HomeController.cs" />
|
||||
<Compile Include="Controllers\PersonController.cs" />
|
||||
<Compile Include="Controllers\PMP\PMPController.cs" />
|
||||
<Compile Include="Controllers\ProjectController.cs" />
|
||||
<Compile Include="Controllers\PZHGL\GJSXController.cs" />
|
||||
<Compile Include="Controllers\TestRun\DriverRunController.cs" />
|
||||
|
|
Loading…
Reference in New Issue