Compare commits

..

No commits in common. "be6da143393b68a86e4db385d7365331e2820672" and "00a325ba3a81b4023e24ed1bc00cb068464329dc" have entirely different histories.

12 changed files with 165 additions and 5731 deletions

View File

@ -27,7 +27,7 @@ REM --------------
@echo. @echo.
@call "%VS150%" @call "%VS150%"
SqlMetal /views /server:DESKTOP-1QITK9E\MSSQLSERVER2 /user:sa /password:123 /database:SGGLDB_WH /code:%Model_ROOT%\Model.cs /namespace:Model SqlMetal /views /server:. /user:sa /password:1111 /database:SGGLDB_WH /code:%Model_ROOT%\Model.cs /namespace:Model
@ECHO 完成 @ECHO 完成
pause pause

View File

@ -1,10 +0,0 @@
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;

View File

@ -119,8 +119,6 @@ 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();
} }
@ -148,8 +146,6 @@ 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();
} }
} }

View File

@ -3900,11 +3900,6 @@ 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";

View File

@ -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"

View File

@ -48,13 +48,7 @@
</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>

View File

@ -64,10 +64,8 @@ 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
{ {
@ -110,7 +108,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)
@ -122,16 +120,6 @@ 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))

View File

@ -132,13 +132,13 @@ namespace FineUIPro.Web.CQMS.Comprehensive
protected global::FineUIPro.TextBox txtExpertReviewMan; protected global::FineUIPro.TextBox txtExpertReviewMan;
/// <summary> /// <summary>
/// rblIsReview 控件。 /// txtImplementationDeviation 控件。
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// 自动生成的字段。 /// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::FineUIPro.RadioButtonList rblIsReview; protected global::FineUIPro.TextArea txtImplementationDeviation;
/// <summary> /// <summary>
/// Panel2 控件。 /// Panel2 控件。

File diff suppressed because it is too large Load Diff

View File

@ -96363,8 +96363,6 @@ 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;
@ -96409,8 +96407,6 @@ 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()
@ -96754,26 +96750,6 @@ 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
{ {
@ -99658,10 +99634,10 @@ namespace Model
private string _ProjectId; private string _ProjectId;
private string _CNProfessionalId;
private string _DraCode; private string _DraCode;
private string _CNProfessionalId;
private System.Nullable<System.DateTime> _ReviewDate; private System.Nullable<System.DateTime> _ReviewDate;
private string _UnitWorkId; private string _UnitWorkId;
@ -99684,10 +99660,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 OnCNProfessionalIdChanging(string value);
partial void OnCNProfessionalIdChanged();
partial void OnDraCodeChanging(string value); partial void OnDraCodeChanging(string value);
partial void OnDraCodeChanged(); partial void OnDraCodeChanged();
partial void OnCNProfessionalIdChanging(string value);
partial void OnCNProfessionalIdChanged();
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);
@ -99729,7 +99705,7 @@ namespace Model
} }
} }
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="NVarChar(50)")] [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
public string ProjectId public string ProjectId
{ {
get get
@ -99749,6 +99725,26 @@ 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
{ {
@ -99769,26 +99765,6 @@ 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
{ {