超过一定规模的危大施工方案增加字段,去除总结
This commit is contained in:
parent
9544361049
commit
cd3a4ac71a
|
@ -27,7 +27,7 @@ REM --------------
|
||||||
@echo.
|
@echo.
|
||||||
@call "%VS150%"
|
@call "%VS150%"
|
||||||
|
|
||||||
SqlMetal /views /server:. /user:sa /password:1111 /database:SGGLDB_WH /code:%Model_ROOT%\Model.cs /namespace:Model
|
SqlMetal /views /server:DESKTOP-1QITK9E\MSSQLSERVER2 /user:sa /password:123 /database:SGGLDB_WH /code:%Model_ROOT%\Model.cs /namespace:Model
|
||||||
|
|
||||||
@ECHO 完成
|
@ECHO 完成
|
||||||
pause
|
pause
|
||||||
|
|
|
@ -0,0 +1,10 @@
|
||||||
|
update sys_menu set menuname='项目质量周报' where menuname='施工质量周报'
|
||||||
|
update sys_menu set menuname='项目质量月报' where menuname='施工质量月报'
|
||||||
|
update sys_menu set menuname='项目质量月报(新)' where menuname='施工质量月报(新)'
|
||||||
|
|
||||||
|
update Comprehensive_MajorPlanApproval set ExpertReviewMan='' where ExpertReviewMan is null;
|
||||||
|
|
||||||
|
--超危大工程方案管理增加是否通过专家评审
|
||||||
|
alter table Comprehensive_MajorPlanApproval
|
||||||
|
add IsReview bit NULL;
|
||||||
|
|
|
@ -119,6 +119,8 @@ namespace BLL
|
||||||
newMajorPlanApproval.CompileDate = majorPlanApproval.CompileDate;
|
newMajorPlanApproval.CompileDate = majorPlanApproval.CompileDate;
|
||||||
newMajorPlanApproval.UnitWorkId = majorPlanApproval.UnitWorkId;
|
newMajorPlanApproval.UnitWorkId = majorPlanApproval.UnitWorkId;
|
||||||
newMajorPlanApproval.ExpertReviewMan = majorPlanApproval.ExpertReviewMan;
|
newMajorPlanApproval.ExpertReviewMan = majorPlanApproval.ExpertReviewMan;
|
||||||
|
|
||||||
|
newMajorPlanApproval.IsReview = majorPlanApproval.IsReview;
|
||||||
db.Comprehensive_MajorPlanApproval.InsertOnSubmit(newMajorPlanApproval);
|
db.Comprehensive_MajorPlanApproval.InsertOnSubmit(newMajorPlanApproval);
|
||||||
db.SubmitChanges();
|
db.SubmitChanges();
|
||||||
}
|
}
|
||||||
|
@ -146,6 +148,8 @@ namespace BLL
|
||||||
newMajorPlanApproval.AttachUrl = majorPlanApproval.AttachUrl;
|
newMajorPlanApproval.AttachUrl = majorPlanApproval.AttachUrl;
|
||||||
newMajorPlanApproval.UnitWorkId = majorPlanApproval.UnitWorkId;
|
newMajorPlanApproval.UnitWorkId = majorPlanApproval.UnitWorkId;
|
||||||
newMajorPlanApproval.ExpertReviewMan = majorPlanApproval.ExpertReviewMan;
|
newMajorPlanApproval.ExpertReviewMan = majorPlanApproval.ExpertReviewMan;
|
||||||
|
|
||||||
|
newMajorPlanApproval.IsReview = majorPlanApproval.IsReview;
|
||||||
db.SubmitChanges();
|
db.SubmitChanges();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -3895,6 +3895,11 @@ namespace BLL
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public static string WorkPost_HSSEDirector = "8A7C2CDF-AFB5-4826-9951-343253342DAC";
|
public static string WorkPost_HSSEDirector = "8A7C2CDF-AFB5-4826-9951-343253342DAC";
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 综合ID
|
||||||
|
/// </summary>
|
||||||
|
public const string ComprehensiveId = "3686d62d-26b8-4ff9-8160-f3688d58bfc0";
|
||||||
|
|
||||||
#region WBS_BreakdownProject表中SourceBreakdownId
|
#region WBS_BreakdownProject表中SourceBreakdownId
|
||||||
public const string SourceBreakdownId = "2cbaabf0-c58a-4a12-b36e-4f8e588fa18e";
|
public const string SourceBreakdownId = "2cbaabf0-c58a-4a12-b36e-4f8e588fa18e";
|
||||||
|
|
||||||
|
|
|
@ -71,9 +71,9 @@
|
||||||
<f:RenderField ColumnID="ApprovalMan" DataField="ApprovalMan" FieldType="String" HeaderText="批准人" TextAlign="Center"
|
<f:RenderField ColumnID="ApprovalMan" DataField="ApprovalMan" FieldType="String" HeaderText="批准人" TextAlign="Center"
|
||||||
HeaderTextAlign="Center" Width="120px">
|
HeaderTextAlign="Center" Width="120px">
|
||||||
</f:RenderField>
|
</f:RenderField>
|
||||||
<f:RenderField ColumnID="ImplementationDeviation" DataField="ImplementationDeviation" FieldType="String" HeaderText="施工总结" TextAlign="Center"
|
<%-- <f:RenderField ColumnID="ImplementationDeviation" DataField="ImplementationDeviation" FieldType="String" HeaderText="施工总结" TextAlign="Center"
|
||||||
HeaderTextAlign="Center" Width="220px">
|
HeaderTextAlign="Center" Width="220px">
|
||||||
</f:RenderField>
|
</f:RenderField>--%>
|
||||||
<f:TemplateField ColumnID="AttachFile" Width="150px" HeaderText="附件" HeaderTextAlign="Center" TextAlign="Left" >
|
<f:TemplateField ColumnID="AttachFile" Width="150px" HeaderText="附件" HeaderTextAlign="Center" TextAlign="Left" >
|
||||||
<ItemTemplate>
|
<ItemTemplate>
|
||||||
<asp:LinkButton ID="lbtnFileUrl" runat="server" CssClass="ItemLink"
|
<asp:LinkButton ID="lbtnFileUrl" runat="server" CssClass="ItemLink"
|
||||||
|
|
|
@ -48,7 +48,13 @@
|
||||||
</f:FormRow>
|
</f:FormRow>
|
||||||
<f:FormRow>
|
<f:FormRow>
|
||||||
<Items>
|
<Items>
|
||||||
<f:TextArea ID="txtImplementationDeviation" runat="server" Label="施工总结" MaxLength="500" LabelWidth="130px" LabelAlign="right"></f:TextArea>
|
<%--<f:TextArea ID="txtImplementationDeviation" runat="server" Label="施工总结" MaxLength="500" LabelWidth="130px" LabelAlign="right"></f:TextArea>--%>
|
||||||
|
<f:RadioButtonList runat="server" ID="rblIsReview" Label="是否通过专家评审" ShowRedStar="true" LabelAlign="Right" LabelWidth="130px">
|
||||||
|
<f:RadioItem Text="是" Value="true" Selected="true" />
|
||||||
|
<f:RadioItem Text="否" Value="false" />
|
||||||
|
</f:RadioButtonList>
|
||||||
|
|
||||||
|
<f:Label Hidden="true" runat="server"></f:Label>
|
||||||
</Items>
|
</Items>
|
||||||
</f:FormRow>
|
</f:FormRow>
|
||||||
<f:FormRow>
|
<f:FormRow>
|
||||||
|
|
|
@ -64,8 +64,10 @@ namespace FineUIPro.Web.CQMS.Comprehensive
|
||||||
}
|
}
|
||||||
this.txtAuditMan.Text = majorPlanApproval.AuditMan;
|
this.txtAuditMan.Text = majorPlanApproval.AuditMan;
|
||||||
this.txtApprovalMan.Text = majorPlanApproval.ApprovalMan;
|
this.txtApprovalMan.Text = majorPlanApproval.ApprovalMan;
|
||||||
this.txtImplementationDeviation.Text = majorPlanApproval.ImplementationDeviation;
|
//this.txtImplementationDeviation.Text = majorPlanApproval.ImplementationDeviation;
|
||||||
this.txtExpertReviewMan.Text = majorPlanApproval.ExpertReviewMan;
|
this.txtExpertReviewMan.Text = majorPlanApproval.ExpertReviewMan;
|
||||||
|
|
||||||
|
this.rblIsReview.SelectedValue = majorPlanApproval.IsReview.HasValue && majorPlanApproval.IsReview == true ? "true" : "false";
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
@ -108,7 +110,7 @@ namespace FineUIPro.Web.CQMS.Comprehensive
|
||||||
}
|
}
|
||||||
majorPlanApproval.AuditMan = this.txtAuditMan.Text.Trim();
|
majorPlanApproval.AuditMan = this.txtAuditMan.Text.Trim();
|
||||||
majorPlanApproval.ApprovalMan = this.txtApprovalMan.Text.Trim();
|
majorPlanApproval.ApprovalMan = this.txtApprovalMan.Text.Trim();
|
||||||
majorPlanApproval.ImplementationDeviation = this.txtImplementationDeviation.Text.Trim();
|
//majorPlanApproval.ImplementationDeviation = this.txtImplementationDeviation.Text.Trim();
|
||||||
string ids = string.Empty;
|
string ids = string.Empty;
|
||||||
var lists = this.drpUnitWorkIds.SelectedValueArray;
|
var lists = this.drpUnitWorkIds.SelectedValueArray;
|
||||||
foreach (var item in lists)
|
foreach (var item in lists)
|
||||||
|
@ -120,6 +122,16 @@ namespace FineUIPro.Web.CQMS.Comprehensive
|
||||||
ids = ids.Substring(0, ids.LastIndexOf(","));
|
ids = ids.Substring(0, ids.LastIndexOf(","));
|
||||||
}
|
}
|
||||||
majorPlanApproval.UnitWorkId = ids;
|
majorPlanApproval.UnitWorkId = ids;
|
||||||
|
|
||||||
|
if (this.rblIsReview.SelectedValue == "true")
|
||||||
|
{
|
||||||
|
majorPlanApproval.IsReview = true;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
majorPlanApproval.IsReview = false;
|
||||||
|
}
|
||||||
|
|
||||||
if (string.IsNullOrEmpty(this.MajorPlanApprovalId))
|
if (string.IsNullOrEmpty(this.MajorPlanApprovalId))
|
||||||
{
|
{
|
||||||
if (!string.IsNullOrEmpty(this.hdAttachUrl.Text))
|
if (!string.IsNullOrEmpty(this.hdAttachUrl.Text))
|
||||||
|
|
|
@ -132,13 +132,13 @@ namespace FineUIPro.Web.CQMS.Comprehensive
|
||||||
protected global::FineUIPro.TextBox txtExpertReviewMan;
|
protected global::FineUIPro.TextBox txtExpertReviewMan;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// txtImplementationDeviation 控件。
|
/// rblIsReview 控件。
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <remarks>
|
/// <remarks>
|
||||||
/// 自动生成的字段。
|
/// 自动生成的字段。
|
||||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
protected global::FineUIPro.TextArea txtImplementationDeviation;
|
protected global::FineUIPro.RadioButtonList rblIsReview;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Panel2 控件。
|
/// Panel2 控件。
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
@ -95255,6 +95255,8 @@ namespace Model
|
||||||
|
|
||||||
private string _ExpertReviewMan;
|
private string _ExpertReviewMan;
|
||||||
|
|
||||||
|
private System.Nullable<bool> _IsReview;
|
||||||
|
|
||||||
private EntityRef<Base_CNProfessional> _Base_CNProfessional;
|
private EntityRef<Base_CNProfessional> _Base_CNProfessional;
|
||||||
|
|
||||||
private EntityRef<Base_Project> _Base_Project;
|
private EntityRef<Base_Project> _Base_Project;
|
||||||
|
@ -95299,6 +95301,8 @@ namespace Model
|
||||||
partial void OnUnitWorkIdChanged();
|
partial void OnUnitWorkIdChanged();
|
||||||
partial void OnExpertReviewManChanging(string value);
|
partial void OnExpertReviewManChanging(string value);
|
||||||
partial void OnExpertReviewManChanged();
|
partial void OnExpertReviewManChanged();
|
||||||
|
partial void OnIsReviewChanging(System.Nullable<bool> value);
|
||||||
|
partial void OnIsReviewChanged();
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
public Comprehensive_MajorPlanApproval()
|
public Comprehensive_MajorPlanApproval()
|
||||||
|
@ -95642,6 +95646,26 @@ namespace Model
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsReview", DbType="Bit")]
|
||||||
|
public System.Nullable<bool> IsReview
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
return this._IsReview;
|
||||||
|
}
|
||||||
|
set
|
||||||
|
{
|
||||||
|
if ((this._IsReview != value))
|
||||||
|
{
|
||||||
|
this.OnIsReviewChanging(value);
|
||||||
|
this.SendPropertyChanging();
|
||||||
|
this._IsReview = value;
|
||||||
|
this.SendPropertyChanged("IsReview");
|
||||||
|
this.OnIsReviewChanged();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Comprehensive_MajorPlanApproval_Base_CNProfessional", Storage="_Base_CNProfessional", ThisKey="CNProfessionalId", OtherKey="CNProfessionalId", IsForeignKey=true)]
|
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Comprehensive_MajorPlanApproval_Base_CNProfessional", Storage="_Base_CNProfessional", ThisKey="CNProfessionalId", OtherKey="CNProfessionalId", IsForeignKey=true)]
|
||||||
public Base_CNProfessional Base_CNProfessional
|
public Base_CNProfessional Base_CNProfessional
|
||||||
{
|
{
|
||||||
|
@ -98526,10 +98550,10 @@ namespace Model
|
||||||
|
|
||||||
private string _ProjectId;
|
private string _ProjectId;
|
||||||
|
|
||||||
private string _DraCode;
|
|
||||||
|
|
||||||
private string _CNProfessionalId;
|
private string _CNProfessionalId;
|
||||||
|
|
||||||
|
private string _DraCode;
|
||||||
|
|
||||||
private System.Nullable<System.DateTime> _ReviewDate;
|
private System.Nullable<System.DateTime> _ReviewDate;
|
||||||
|
|
||||||
private string _UnitWorkId;
|
private string _UnitWorkId;
|
||||||
|
@ -98552,10 +98576,10 @@ namespace Model
|
||||||
partial void OnIdChanged();
|
partial void OnIdChanged();
|
||||||
partial void OnProjectIdChanging(string value);
|
partial void OnProjectIdChanging(string value);
|
||||||
partial void OnProjectIdChanged();
|
partial void OnProjectIdChanged();
|
||||||
partial void OnDraCodeChanging(string value);
|
|
||||||
partial void OnDraCodeChanged();
|
|
||||||
partial void OnCNProfessionalIdChanging(string value);
|
partial void OnCNProfessionalIdChanging(string value);
|
||||||
partial void OnCNProfessionalIdChanged();
|
partial void OnCNProfessionalIdChanged();
|
||||||
|
partial void OnDraCodeChanging(string value);
|
||||||
|
partial void OnDraCodeChanged();
|
||||||
partial void OnReviewDateChanging(System.Nullable<System.DateTime> value);
|
partial void OnReviewDateChanging(System.Nullable<System.DateTime> value);
|
||||||
partial void OnReviewDateChanged();
|
partial void OnReviewDateChanged();
|
||||||
partial void OnUnitWorkIdChanging(string value);
|
partial void OnUnitWorkIdChanging(string value);
|
||||||
|
@ -98597,7 +98621,7 @@ namespace Model
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="NVarChar(50)")]
|
||||||
public string ProjectId
|
public string ProjectId
|
||||||
{
|
{
|
||||||
get
|
get
|
||||||
|
@ -98617,26 +98641,6 @@ namespace Model
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DraCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
|
|
||||||
public string DraCode
|
|
||||||
{
|
|
||||||
get
|
|
||||||
{
|
|
||||||
return this._DraCode;
|
|
||||||
}
|
|
||||||
set
|
|
||||||
{
|
|
||||||
if ((this._DraCode != value))
|
|
||||||
{
|
|
||||||
this.OnDraCodeChanging(value);
|
|
||||||
this.SendPropertyChanging();
|
|
||||||
this._DraCode = value;
|
|
||||||
this.SendPropertyChanged("DraCode");
|
|
||||||
this.OnDraCodeChanged();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CNProfessionalId", DbType="NVarChar(50)")]
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CNProfessionalId", DbType="NVarChar(50)")]
|
||||||
public string CNProfessionalId
|
public string CNProfessionalId
|
||||||
{
|
{
|
||||||
|
@ -98657,6 +98661,26 @@ namespace Model
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DraCode", DbType="NVarChar(50)")]
|
||||||
|
public string DraCode
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
return this._DraCode;
|
||||||
|
}
|
||||||
|
set
|
||||||
|
{
|
||||||
|
if ((this._DraCode != value))
|
||||||
|
{
|
||||||
|
this.OnDraCodeChanging(value);
|
||||||
|
this.SendPropertyChanging();
|
||||||
|
this._DraCode = value;
|
||||||
|
this.SendPropertyChanged("DraCode");
|
||||||
|
this.OnDraCodeChanged();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ReviewDate", DbType="DateTime")]
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ReviewDate", DbType="DateTime")]
|
||||||
public System.Nullable<System.DateTime> ReviewDate
|
public System.Nullable<System.DateTime> ReviewDate
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue