2023-03-29 001 合同招标文件台账修改

This commit is contained in:
2023-03-29 16:51:16 +08:00
parent 8b0c9fdef0
commit eb3a6ac1fa
20 changed files with 334 additions and 77 deletions
Binary file not shown.
+9 -1
View File
@@ -4,4 +4,12 @@
alter table PHTGL_BidDocumentsStandingBook ADD ProjectId nvarchar(100) alter table PHTGL_BidDocumentsStandingBook ADD ProjectId nvarchar(100)
alter table PHTGL_BidDocumentsStandingBook ADD State int alter table PHTGL_BidDocumentsStandingBook ADD State int
alter table AttachFile alter column ToKeyId nvarchar(100) alter table AttachFile alter column ToKeyId nvarchar(100)
alter table AttachFile alter column AttachPath nvarchar(100) alter table AttachFile alter column AttachPath nvarchar(100)
INSERT [Sys_ButtonToMenu] ([ButtonToMenuId],[MenuId],[ButtonName],[SortIndex])
VALUES ( N'024F85B5-E19C-4AE9-9605-4779B61F7CF4',N'11f4f882-28a9-4610-a657-6a58336097d2',N'ÐÞ¸Ä',2)
INSERT [Sys_ButtonToMenu] ([ButtonToMenuId],[MenuId],[ButtonName],[SortIndex])
VALUES ( N'BF0DC6A6-ED3B-4CCA-8BBD-A107B98807BA',N'11f4f882-28a9-4610-a657-6a58336097d2',N'ɾ³ý',3)
INSERT [Sys_ButtonToMenu] ([ButtonToMenuId],[MenuId],[ButtonName],[SortIndex])
VALUES ( N'26C1682B-67AC-4E7D-BEEF-0458668F4AC2',N'11f4f882-28a9-4610-a657-6a58336097d2',N'±£´æ',4)
INSERT [Sys_ButtonToMenu] ([ButtonToMenuId],[MenuId],[ButtonName],[SortIndex])
VALUES ( N'D2024122-FDB2-49A8-9128-35DB4B25A29B',N'11f4f882-28a9-4610-a657-6a58336097d2',N'Ôö¼Ó',1)
@@ -0,0 +1,36 @@
alter table PHTGL_BidDocumentsStandingBook ADD BidNoticeCode nvarchar(100)
alter table PHTGL_BidDocumentsStandingBook ADD BidUnitFileCode nvarchar(100)
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'中标通知书编号' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'PHTGL_BidDocumentsStandingBook', @level2type=N'COLUMN',@level2name=N'BidNoticeCode'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'投标文件编号' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'PHTGL_BidDocumentsStandingBook', @level2type=N'COLUMN',@level2name=N'BidUnitFileCode'
GO
delete from [Sys_Menu] where [MenuId]='11f4f882-28a9-4610-a657-6a58336097d2'
delete from [Sys_ButtonToMenu] where [MenuId]='11f4f882-28a9-4610-a657-6a58336097d2'
GO
INSERT [Sys_Menu] ([MenuId],[MenuName],[Url],[SortIndex],[SuperMenu],[MenuType],[IsOffice],[IsEnd],[IsUsed])
VALUES ( N'11f4f882-28a9-4610-a657-6a58336097d2',N'招标工作台账',N'PHTGL/Filing/BidDocumentsStandingBook.aspx?Type=1',30,N'79A6D6B1-E29F-4921-8867-142CEED7997B',N'Menu_PHTGL',0,1,1)
GO
INSERT [Sys_ButtonToMenu] ([ButtonToMenuId],[MenuId],[ButtonName],[SortIndex])
VALUES ( N'024F85B5-E19C-4AE9-9605-4779B61F7CF4',N'11f4f882-28a9-4610-a657-6a58336097d2',N'修改',2)
INSERT [Sys_ButtonToMenu] ([ButtonToMenuId],[MenuId],[ButtonName],[SortIndex])
VALUES ( N'BF0DC6A6-ED3B-4CCA-8BBD-A107B98807BA',N'11f4f882-28a9-4610-a657-6a58336097d2',N'删除',3)
INSERT [Sys_ButtonToMenu] ([ButtonToMenuId],[MenuId],[ButtonName],[SortIndex])
VALUES ( N'26C1682B-67AC-4E7D-BEEF-0458668F4AC2',N'11f4f882-28a9-4610-a657-6a58336097d2',N'保存',4)
INSERT [Sys_ButtonToMenu] ([ButtonToMenuId],[MenuId],[ButtonName],[SortIndex])
VALUES ( N'D2024122-FDB2-49A8-9128-35DB4B25A29B',N'11f4f882-28a9-4610-a657-6a58336097d2',N'增加',1)
GO
INSERT [Sys_Menu] ([MenuId],[MenuName],[Url],[SortIndex],[SuperMenu],[MenuType],[IsOffice],[IsEnd],[IsUsed])
VALUES ( N'C18B4A2E-7BE7-43E6-A969-8A6292D19987',N'招标工作台账',N'PHTGL/Filing/BidDocumentsStandingBook.aspx',40,N'0',N'Menu_HTGL',1,0,1)
GO
INSERT [Sys_ButtonToMenu] ([ButtonToMenuId],[MenuId],[ButtonName],[SortIndex])
VALUES ( N'7903BFCB-6744-467C-B114-558A978BF40B',N'C18B4A2E-7BE7-43E6-A969-8A6292D19987',N'修改',2)
INSERT [Sys_ButtonToMenu] ([ButtonToMenuId],[MenuId],[ButtonName],[SortIndex])
VALUES ( N'377C7B8E-CC15-4002-B391-4DF580AD4248',N'C18B4A2E-7BE7-43E6-A969-8A6292D19987',N'删除',3)
INSERT [Sys_ButtonToMenu] ([ButtonToMenuId],[MenuId],[ButtonName],[SortIndex])
VALUES ( N'3567F71F-8A85-4147-9EE8-8BD931ECDBD7',N'C18B4A2E-7BE7-43E6-A969-8A6292D19987',N'保存',4)
INSERT [Sys_ButtonToMenu] ([ButtonToMenuId],[MenuId],[ButtonName],[SortIndex])
VALUES ( N'1C04B9DD-0737-4E48-88D5-20A39F3AD42E',N'C18B4A2E-7BE7-43E6-A969-8A6292D19987',N'增加',1)
GO
@@ -67,4 +67,16 @@ GO
VALUES ( N'AC470E65-700A-42CF-BA12-0036EBBD5E9F',N'9C4E7381-4080-4082-8C4D-B041149D48C7',N'保存',4) VALUES ( N'AC470E65-700A-42CF-BA12-0036EBBD5E9F',N'9C4E7381-4080-4082-8C4D-B041149D48C7',N'保存',4)
GO GO
INSERT [Sys_Menu] ([MenuId],[MenuName],[Url],[SortIndex],[SuperMenu],[MenuType],[IsOffice],[IsEnd],[IsUsed])
VALUES ( N'C18B4A2E-7BE7-43E6-A969-8A6292D19987',N'招标工作台账',N'PHTGL/Filing/BidDocumentsStandingBook.aspx',40,N'0',N'Menu_HTGL',1,0,1)
GO
INSERT [Sys_ButtonToMenu] ([ButtonToMenuId],[MenuId],[ButtonName],[SortIndex])
VALUES ( N'7903BFCB-6744-467C-B114-558A978BF40B',N'C18B4A2E-7BE7-43E6-A969-8A6292D19987',N'修改',2)
INSERT [Sys_ButtonToMenu] ([ButtonToMenuId],[MenuId],[ButtonName],[SortIndex])
VALUES ( N'377C7B8E-CC15-4002-B391-4DF580AD4248',N'C18B4A2E-7BE7-43E6-A969-8A6292D19987',N'删除',3)
INSERT [Sys_ButtonToMenu] ([ButtonToMenuId],[MenuId],[ButtonName],[SortIndex])
VALUES ( N'3567F71F-8A85-4147-9EE8-8BD931ECDBD7',N'C18B4A2E-7BE7-43E6-A969-8A6292D19987',N'保存',4)
INSERT [Sys_ButtonToMenu] ([ButtonToMenuId],[MenuId],[ButtonName],[SortIndex])
VALUES ( N'1C04B9DD-0737-4E48-88D5-20A39F3AD42E',N'C18B4A2E-7BE7-43E6-A969-8A6292D19987',N'增加',1)
GO
@@ -136,7 +136,7 @@ INSERT [Sys_Menu] ([MenuId],[MenuName],[SortIndex],[SuperMenu],[MenuType],[IsOff
GO GO
INSERT [Sys_Menu] ([MenuId],[MenuName],[Url],[SortIndex],[SuperMenu],[MenuType],[IsOffice],[IsEnd],[IsUsed]) INSERT [Sys_Menu] ([MenuId],[MenuName],[Url],[SortIndex],[SuperMenu],[MenuType],[IsOffice],[IsEnd],[IsUsed])
VALUES ( N'11f4f882-28a9-4610-a657-6a58336097d2',N'招标工作台账',N'PHTGL/Filing/BidDocumentsStandingBook.aspx',30,N'79A6D6B1-E29F-4921-8867-142CEED7997B',N'Menu_PHTGL',0,1,1) VALUES ( N'11f4f882-28a9-4610-a657-6a58336097d2',N'招标工作台账',N'PHTGL/Filing/BidDocumentsStandingBook.aspx?Type=1',30,N'79A6D6B1-E29F-4921-8867-142CEED7997B',N'Menu_PHTGL',0,1,1)
GO GO
INSERT [Sys_ButtonToMenu] ([ButtonToMenuId],[MenuId],[ButtonName],[SortIndex]) INSERT [Sys_ButtonToMenu] ([ButtonToMenuId],[MenuId],[ButtonName],[SortIndex])
VALUES ( N'024F85B5-E19C-4AE9-9605-4779B61F7CF4',N'11f4f882-28a9-4610-a657-6a58336097d2',N'修改',2) VALUES ( N'024F85B5-E19C-4AE9-9605-4779B61F7CF4',N'11f4f882-28a9-4610-a657-6a58336097d2',N'修改',2)
+2 -1
View File
@@ -2923,7 +2923,8 @@
/// <summary> /// <summary>
/// 招标工作台账 /// 招标工作台账
/// </summary> /// </summary>
public const string BidDocumentsStandingBookMenuId = "11f4f882-28a9-4610-a657-6a58336097d2"; public const string ProjectBidDocumentsStandingBookMenuId = "11f4f882-28a9-4610-a657-6a58336097d2";
@@ -42,6 +42,8 @@ namespace BLL
(string.IsNullOrEmpty(table.BidWinner) || x.BidWinner.Contains(table.BidWinner)) && (string.IsNullOrEmpty(table.BidWinner) || x.BidWinner.Contains(table.BidWinner)) &&
(string.IsNullOrEmpty(table.SetSubReviewCode) || x.SetSubReviewCode.Contains(table.SetSubReviewCode)) && (string.IsNullOrEmpty(table.SetSubReviewCode) || x.SetSubReviewCode.Contains(table.SetSubReviewCode)) &&
(string.IsNullOrEmpty(table.ProjectId) || x.ProjectId.Contains(table.ProjectId))&& (string.IsNullOrEmpty(table.ProjectId) || x.ProjectId.Contains(table.ProjectId))&&
(string.IsNullOrEmpty(table.BidNoticeCode) || x.BidNoticeCode.Contains(table.BidNoticeCode))&&
(string.IsNullOrEmpty(table.BidUnitFileCode) || x.BidUnitFileCode.Contains(table.BidUnitFileCode))&&
(table.State == null||x.State==table.State) (table.State == null||x.State==table.State)
select x select x
; ;
@@ -84,7 +86,9 @@ namespace BLL
x.BidWinner, x.BidWinner,
x.SetSubReviewCode, x.SetSubReviewCode,
x.ProjectId, x.ProjectId,
x.State x.State,
x.BidNoticeCode,
x.BidUnitFileCode
}; };
} }
@@ -119,6 +123,8 @@ namespace BLL
SetSubReviewCode = newtable.SetSubReviewCode, SetSubReviewCode = newtable.SetSubReviewCode,
ProjectId= newtable.ProjectId, ProjectId= newtable.ProjectId,
State=newtable.State, State=newtable.State,
BidNoticeCode=newtable.BidNoticeCode,
BidUnitFileCode=newtable.BidUnitFileCode,
}; };
db.PHTGL_BidDocumentsStandingBook.InsertOnSubmit(table); db.PHTGL_BidDocumentsStandingBook.InsertOnSubmit(table);
db.SubmitChanges(); db.SubmitChanges();
@@ -156,6 +162,8 @@ namespace BLL
table.SetSubReviewCode = newtable.SetSubReviewCode; table.SetSubReviewCode = newtable.SetSubReviewCode;
table.ProjectId=newtable.ProjectId; table.ProjectId=newtable.ProjectId;
table.State=newtable.State; table.State=newtable.State;
table.BidNoticeCode= newtable.BidNoticeCode;
table.BidUnitFileCode=newtable.BidUnitFileCode;
db.SubmitChanges(); db.SubmitChanges();
} }
@@ -142,6 +142,12 @@
<f:RenderField ColumnID="SetSubReviewCode" DataField="SetSubReviewCode" Width="150px" FieldType="String" HeaderText="确定中标人审批表编号" TextAlign="Center" <f:RenderField ColumnID="SetSubReviewCode" DataField="SetSubReviewCode" Width="150px" FieldType="String" HeaderText="确定中标人审批表编号" TextAlign="Center"
HeaderTextAlign="Center"> HeaderTextAlign="Center">
</f:RenderField> </f:RenderField>
<f:RenderField ColumnID="BidNoticeCode" DataField="BidNoticeCode" Width="150px" FieldType="String" HeaderText="中标通知书编号" TextAlign="Center"
HeaderTextAlign="Center">
</f:RenderField>
<f:RenderField ColumnID="BidUnitFileCode" DataField="BidUnitFileCode" Width="150px" FieldType="String" HeaderText="投标文件编号" TextAlign="Center"
HeaderTextAlign="Center">
</f:RenderField>
<%-- <f:RenderField ColumnID="BidWinningNotice" DataField="BidWinningNotice" Width="150px" FieldType="String" HeaderText="中标通知书" TextAlign="Center" <%-- <f:RenderField ColumnID="BidWinningNotice" DataField="BidWinningNotice" Width="150px" FieldType="String" HeaderText="中标通知书" TextAlign="Center"
HeaderTextAlign="Center"> HeaderTextAlign="Center">
</f:RenderField> </f:RenderField>
@@ -26,6 +26,20 @@ namespace FineUIPro.Web.PHTGL.Filing
} }
} }
#endregion #endregion
/// <summary>
/// 级别,1 为项目级
/// </summary>
public string Type
{
get
{
return (string)ViewState["Type"];
}
set
{
ViewState["Type"] = value;
}
}
#region #region
/// <summary> /// <summary>
/// 加载页面 /// 加载页面
@@ -37,22 +51,24 @@ namespace FineUIPro.Web.PHTGL.Filing
if (!IsPostBack) if (!IsPostBack)
{ {
ddlPageSize.SelectedValue = Grid1.PageSize.ToString(); ddlPageSize.SelectedValue = Grid1.PageSize.ToString();
btnNew.OnClientClick = Window1.GetShowReference("BidDocumentsStandingBookEdit.aspx", "基本信息") + "return false;";
BLL.DepartService.InitDepartDropDownList(this.drpDepartId, false); BLL.DepartService.InitDepartDropDownList(this.drpDepartId, false);
Type = Request.Params["Type"];
GetButtonPower(); GetButtonPower();
this.ProjectId = this.CurrUser.LoginProjectId; if (Type=="1")
if (!string.IsNullOrEmpty(Request.Params["projectId"]) && Request.Params["projectId"] != this.CurrUser.LoginProjectId)
{ {
this.ProjectId = Request.Params["projectId"]; btnNew.OnClientClick = Window1.GetShowReference("BidDocumentsStandingBookEdit.aspx?Type=1", "基本信息") + "return false;";
this.ProjectId = this.CurrUser.LoginProjectId;
if (!string.IsNullOrEmpty(Request.Params["projectId"]) && Request.Params["projectId"] != this.CurrUser.LoginProjectId)
{
this.ProjectId = Request.Params["projectId"];
}
} }
else
{
btnNew.OnClientClick = Window1.GetShowReference("BidDocumentsStandingBookEdit.aspx", "基本信息") + "return false;";
//this.drpStates.DataValueField = "Value"; }
//drpStates.DataTextField = "Text";
//drpStates.DataSource = BLL.DropListService.GetState();
//drpStates.DataBind();
//Funs.FineUIPleaseSelect(drpStates);
BindGrid(); BindGrid();
} }
@@ -64,11 +80,15 @@ namespace FineUIPro.Web.PHTGL.Filing
private void BindGrid() private void BindGrid()
{ {
Model.PHTGL_BidDocumentsStandingBook _BidDocumentsStandingBook = new Model.PHTGL_BidDocumentsStandingBook(); Model.PHTGL_BidDocumentsStandingBook _BidDocumentsStandingBook = new Model.PHTGL_BidDocumentsStandingBook();
if (!(this.CurrUser.PersonId == Const.sysglyId || this.CurrUser.PersonId == Const.hfnbdId)) if (Type=="1")
{ {
_BidDocumentsStandingBook.ProjectId = this.CurrUser.LoginProjectId; if (!(this.CurrUser.PersonId == Const.sysglyId || this.CurrUser.PersonId == Const.hfnbdId))
{
_BidDocumentsStandingBook.ProjectId = this.CurrUser.LoginProjectId;
}
} }
if (!string.IsNullOrEmpty(drpDepartId.SelectedValue) ) if (!string.IsNullOrEmpty(drpDepartId.SelectedValue) )
{ {
@@ -195,7 +215,16 @@ namespace FineUIPro.Web.PHTGL.Filing
var model=BLL.BidDocStandingBookService.GetPHTGL_BidDocumentsStandingBookById(id); var model=BLL.BidDocStandingBookService.GetPHTGL_BidDocumentsStandingBookById(id);
if (model != null) if (model != null)
{ {
PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("BidDocumentsStandingBookEdit.aspx?BidDocumentsStandingBookId={0}", id, "编辑 - "))); if (Type=="1")
{
PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("BidDocumentsStandingBookEdit.aspx?BidDocumentsStandingBookId={0}?Type=1", id, "编辑 - ")));
}
else
{
PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("BidDocumentsStandingBookEdit.aspx?BidDocumentsStandingBookId={0}", id, "编辑 - ")));
}
} }
} }
protected void btnEdit_Click(object sender, EventArgs e) protected void btnEdit_Click(object sender, EventArgs e)
@@ -282,7 +311,7 @@ namespace FineUIPro.Web.PHTGL.Filing
{ {
return; return;
} }
var buttonList = CommonService.GetAllButtonList(CurrUser.LoginProjectId, CurrUser.PersonId, Const.BidDocumentsStandingBookMenuId); var buttonList = CommonService.GetAllButtonList(CurrUser.LoginProjectId, CurrUser.PersonId, Const.ProjectBidDocumentsStandingBookMenuId);
if (buttonList.Count() > 0) if (buttonList.Count() > 0)
{ {
if (buttonList.Contains(Const.BtnAdd)) if (buttonList.Contains(Const.BtnAdd))
@@ -367,7 +396,16 @@ namespace FineUIPro.Web.PHTGL.Filing
protected void btnImport_Click(object sender, EventArgs e) protected void btnImport_Click(object sender, EventArgs e)
{ {
PageContext.RegisterStartupScript(Window2.GetShowReference(String.Format("BidDocumentsStandingBookIn.aspx?", "导入 - "))); if (Type=="1")
{
PageContext.RegisterStartupScript(Window2.GetShowReference(String.Format("BidDocumentsStandingBookIn.aspx?Type=1", "导入 - ")));
}
else
{
PageContext.RegisterStartupScript(Window2.GetShowReference(String.Format("BidDocumentsStandingBookIn.aspx", "导入 - ")));
}
} }
public string ConvertState(object State) public string ConvertState(object State)
@@ -421,13 +459,13 @@ namespace FineUIPro.Web.PHTGL.Filing
} }
// BLL.LogService.AddSys_Log(this.CurrUser, p.ContractName, p.ContractId, BLL.Const.ContractMenuId, BLL.Const.BtnDelete); // BLL.LogService.AddSys_Log(this.CurrUser, p.ContractName, p.ContractId, BLL.Const.ContractMenuId, BLL.Const.BtnDelete);
BLL.BidDocStandingBookService.DeletePHTGL_BidDocumentsStandingBookById(rowID); BLL.BidDocStandingBookService.DeletePHTGL_BidDocumentsStandingBookById(rowID);
AttachFileService.DeleteAttachFile(Funs.RootPath, rowID + "-BidUnit", Const.BidDocumentsStandingBookMenuId); AttachFileService.DeleteAttachFile(Funs.RootPath, rowID + "-BidUnit", Const.ProjectBidDocumentsStandingBookMenuId);
AttachFileService.DeleteAttachFile(Funs.RootPath, rowID + "-BidNotice", Const.BidDocumentsStandingBookMenuId); AttachFileService.DeleteAttachFile(Funs.RootPath, rowID + "-BidNotice", Const.ProjectBidDocumentsStandingBookMenuId);
AttachFileService.DeleteAttachFile(Funs.RootPath, rowID + "-ActionPlan", Const.BidDocumentsStandingBookMenuId); AttachFileService.DeleteAttachFile(Funs.RootPath, rowID + "-ActionPlan", Const.ProjectBidDocumentsStandingBookMenuId);
AttachFileService.DeleteAttachFile(Funs.RootPath, rowID + "-BidDocuments", Const.BidDocumentsStandingBookMenuId); AttachFileService.DeleteAttachFile(Funs.RootPath, rowID + "-BidDocuments", Const.ProjectBidDocumentsStandingBookMenuId);
AttachFileService.DeleteAttachFile(Funs.RootPath, rowID + "-ApprovePersonForm", Const.BidDocumentsStandingBookMenuId); AttachFileService.DeleteAttachFile(Funs.RootPath, rowID + "-ApprovePersonForm", Const.ProjectBidDocumentsStandingBookMenuId);
AttachFileService.DeleteAttachFile(Funs.RootPath, rowID + "-SetSubReview", Const.BidDocumentsStandingBookMenuId); AttachFileService.DeleteAttachFile(Funs.RootPath, rowID + "-SetSubReview", Const.ProjectBidDocumentsStandingBookMenuId);
AttachFileService.DeleteAttachFile(Funs.RootPath, rowID +"-ShortListApproval", Const.BidDocumentsStandingBookMenuId); AttachFileService.DeleteAttachFile(Funs.RootPath, rowID +"-ShortListApproval", Const.ProjectBidDocumentsStandingBookMenuId);
} }
} }
} }
@@ -56,8 +56,9 @@
</f:FormRow> </f:FormRow>
<f:FormRow> <f:FormRow>
<Items> <Items>
<f:TextBox ID="txtProposedInviter" runat="server" Label="拟邀请单位" Required="true" > <f:TextArea ID="txtProposedInviter" runat="server" Label="拟邀请单位" Required="true"
</f:TextBox> AutoGrowHeight="true" AutoGrowHeightMin="100" AutoGrowHeightMax="600">
</f:TextArea>
<f:TextBox ID="txtBidWinner" runat="server" Label="中标单位" Required="true" > <f:TextBox ID="txtBidWinner" runat="server" Label="中标单位" Required="true" >
</f:TextBox> </f:TextBox>
</Items> </Items>
@@ -84,7 +85,7 @@
<Items> <Items>
<f:TextBox ID="txtSetSubReviewCode" runat="server" Label="确定中标人审批表编号" Required="true" > <f:TextBox ID="txtSetSubReviewCode" runat="server" Label="确定中标人审批表编号" Required="true" >
</f:TextBox> </f:TextBox>
<f:Button ID="btnAttachUrl_SetSubReviewCode" Text="确定中标人审批文件" ToolTip="附件" Icon="TableCell" runat="server" <f:Button ID="btnAttachUrl_SetSubReviewCode" Text="确定中标人审批文件及评标报告" ToolTip="附件" Icon="TableCell" runat="server"
OnClick="btnAttachUrl_SetSubReviewCode_Click" ValidateForms="SimpleForm1"> OnClick="btnAttachUrl_SetSubReviewCode_Click" ValidateForms="SimpleForm1">
</f:Button> </f:Button>
</Items> </Items>
@@ -100,24 +101,28 @@
</f:FormRow> </f:FormRow>
<f:FormRow> <f:FormRow>
<Items> <Items>
<f:TextBox ID="txtBidNoticeCode" runat="server" Label="中标通知书编号" Required="true" >
</f:TextBox>
<f:Button ID="btnAttachUrl_BidNotice" Text="中标通知书" ToolTip="附件" Icon="TableCell" runat="server"
OnClick="btnAttachUrl_BidNotice_Click" ValidateForms="SimpleForm1">
</f:Button>
</Items> </Items>
</f:FormRow> </f:FormRow>
<f:FormRow> <f:FormRow>
<Items> <Items>
<f:TextBox ID="txtBidUnitFileCode" runat="server" Label="投标文件编号" Required="true" >
</f:TextBox>
<f:Button ID="btnAttachUrl_BidUnit" Text="中标单位投标及澄清文件" ToolTip="附件" Icon="TableCell" runat="server"
OnClick="btnAttachUrl_BidUnit_Click" ValidateForms="SimpleForm1">
</f:Button>
</Items> </Items>
</f:FormRow> </f:FormRow>
</Rows> </Rows>
<Toolbars> <Toolbars>
<f:Toolbar ID="Toolbar1" Position="Bottom" ToolbarAlign="Right" runat="server"> <f:Toolbar ID="Toolbar1" Position="Bottom" ToolbarAlign="Right" runat="server">
<Items> <Items>
<f:Button ID="btnAttachUrl_BidNotice" Text="中标通知书" ToolTip="附件" Icon="TableCell" runat="server"
OnClick="btnAttachUrl_BidNotice_Click" ValidateForms="SimpleForm1">
</f:Button>
<f:Button ID="btnAttachUrl_BidUnit" Text="中标单位投标文件" ToolTip="附件" Icon="TableCell" runat="server"
OnClick="btnAttachUrl_BidUnit_Click" ValidateForms="SimpleForm1">
</f:Button>
<f:ToolbarFill runat="server"></f:ToolbarFill> <f:ToolbarFill runat="server"></f:ToolbarFill>
<f:Button ID="btnSave" Icon="SystemSave" runat="server" Text="保存" <f:Button ID="btnSave" Icon="SystemSave" runat="server" Text="保存"
OnClick="btnSave_Click"> OnClick="btnSave_Click">
@@ -27,6 +27,17 @@ namespace FineUIPro.Web.PHTGL.Filing
ViewState["BidDocumentsStandingBookId"] = value; ViewState["BidDocumentsStandingBookId"] = value;
} }
} }
public string Type
{
get
{
return (string)ViewState["Type"];
}
set
{
ViewState["Type"] = value;
}
}
#endregion #endregion
protected void Page_Load(object sender, EventArgs e) protected void Page_Load(object sender, EventArgs e)
@@ -37,6 +48,8 @@ namespace FineUIPro.Web.PHTGL.Filing
//BLL.PHTGL_SetSubReviewService.InitGetSetSubCompleteDropDownList(DropSetSubReviewCode, this.CurrUser.PersonId, this.CurrUser.LoginProjectId, false); //BLL.PHTGL_SetSubReviewService.InitGetSetSubCompleteDropDownList(DropSetSubReviewCode, this.CurrUser.PersonId, this.CurrUser.LoginProjectId, false);
////权限按钮方法 ////权限按钮方法
this.BidDocumentsStandingBookId = Request.Params["BidDocumentsStandingBookId"]; this.BidDocumentsStandingBookId = Request.Params["BidDocumentsStandingBookId"];
Type = Request.Params["Type"];
this.GetButtonPower(); this.GetButtonPower();
if (!string.IsNullOrEmpty(this.BidDocumentsStandingBookId)) if (!string.IsNullOrEmpty(this.BidDocumentsStandingBookId))
@@ -59,6 +72,8 @@ namespace FineUIPro.Web.PHTGL.Filing
this.txtApprovePersonFormCode.Text = model.ApprovePersonFormCode; this.txtApprovePersonFormCode.Text = model.ApprovePersonFormCode;
this.txtBidWinner.Text = model.BidWinner; this.txtBidWinner.Text = model.BidWinner;
this.txtSetSubReviewCode.Text = model.SetSubReviewCode; this.txtSetSubReviewCode.Text = model.SetSubReviewCode;
this.txtBidNoticeCode.Text=model.BidNoticeCode;
this.txtBidUnitFileCode.Text = model.BidUnitFileCode;
} }
} }
} }
@@ -87,9 +102,15 @@ namespace FineUIPro.Web.PHTGL.Filing
table.Bidding_StartTime = this.txtBidding_StartTime.Text; table.Bidding_StartTime = this.txtBidding_StartTime.Text;
table.ApprovePersonFormCode = this.txtApprovePersonFormCode.Text; table.ApprovePersonFormCode = this.txtApprovePersonFormCode.Text;
table.BidWinner = this.txtBidWinner.Text; table.BidWinner = this.txtBidWinner.Text;
table.SetSubReviewCode = this.txtSetSubReviewCode.Text; table.SetSubReviewCode = this.txtSetSubReviewCode.Text;
table.ProjectId = this.CurrUser.LoginProjectId;
table.State = 0; table.State = 0;
table.BidNoticeCode=this.txtBidNoticeCode.Text;
table.BidUnitFileCode=this.txtBidUnitFileCode.Text;
if (Type == "1")
{
table.ProjectId = this.CurrUser.LoginProjectId;
}
if (string.IsNullOrEmpty(this.BidDocumentsStandingBookId)) if (string.IsNullOrEmpty(this.BidDocumentsStandingBookId))
{ {
table.BidDocumentsStandingBookId = SQLHelper.GetNewID(typeof(Model.PHTGL_BidDocumentsStandingBook)); table.BidDocumentsStandingBookId = SQLHelper.GetNewID(typeof(Model.PHTGL_BidDocumentsStandingBook));
@@ -116,37 +137,37 @@ namespace FineUIPro.Web.PHTGL.Filing
protected void btnSubmit_Click(object sender, EventArgs e) protected void btnSubmit_Click(object sender, EventArgs e)
{ {
if (!BLL.AttachFileService.Getfile(BidDocumentsStandingBookId + "-BidUnit", BLL.Const.BidDocumentsStandingBookMenuId)) if (!BLL.AttachFileService.Getfile(BidDocumentsStandingBookId + "-BidUnit", BLL.Const.ProjectBidDocumentsStandingBookMenuId))
{ {
ShowNotify("未上传中标单位投标文件,无法提交!", MessageBoxIcon.Warning); ShowNotify("未上传中标单位投标文件,无法提交!", MessageBoxIcon.Warning);
return; return;
} }
if (!BLL.AttachFileService.Getfile(BidDocumentsStandingBookId + "-BidNotice", BLL.Const.BidDocumentsStandingBookMenuId)) if (!BLL.AttachFileService.Getfile(BidDocumentsStandingBookId + "-BidNotice", BLL.Const.ProjectBidDocumentsStandingBookMenuId))
{ {
ShowNotify("未上传中标通知书,无法提交!", MessageBoxIcon.Warning); ShowNotify("未上传中标通知书,无法提交!", MessageBoxIcon.Warning);
return; return;
} }
if (!BLL.AttachFileService.Getfile(BidDocumentsStandingBookId + "-ActionPlan", BLL.Const.BidDocumentsStandingBookMenuId)) if (!BLL.AttachFileService.Getfile(BidDocumentsStandingBookId + "-ActionPlan", BLL.Const.ProjectBidDocumentsStandingBookMenuId))
{ {
ShowNotify("未上传实施计划文件,无法提交!", MessageBoxIcon.Warning); ShowNotify("未上传实施计划文件,无法提交!", MessageBoxIcon.Warning);
return; return;
} }
if (!BLL.AttachFileService.Getfile(BidDocumentsStandingBookId + "-BidDocuments", BLL.Const.BidDocumentsStandingBookMenuId)) if (!BLL.AttachFileService.Getfile(BidDocumentsStandingBookId + "-BidDocuments", BLL.Const.ProjectBidDocumentsStandingBookMenuId))
{ {
ShowNotify("未上传招标文件,无法提交!", MessageBoxIcon.Warning); ShowNotify("未上传招标文件,无法提交!", MessageBoxIcon.Warning);
return; return;
} }
if (!BLL.AttachFileService.Getfile(BidDocumentsStandingBookId + "-ApprovePersonForm", BLL.Const.BidDocumentsStandingBookMenuId)) if (!BLL.AttachFileService.Getfile(BidDocumentsStandingBookId + "-ApprovePersonForm", BLL.Const.ProjectBidDocumentsStandingBookMenuId))
{ {
ShowNotify("未上传评委名单审批表文件,无法提交!", MessageBoxIcon.Warning); ShowNotify("未上传评委名单审批表文件,无法提交!", MessageBoxIcon.Warning);
return; return;
} }
if (!BLL.AttachFileService.Getfile(BidDocumentsStandingBookId + "-SetSubReview", BLL.Const.BidDocumentsStandingBookMenuId)) if (!BLL.AttachFileService.Getfile(BidDocumentsStandingBookId + "-SetSubReview", BLL.Const.ProjectBidDocumentsStandingBookMenuId))
{ {
ShowNotify("未上传确定中标人审批表文件,无法提交!", MessageBoxIcon.Warning); ShowNotify("未上传确定中标人审批表文件,无法提交!", MessageBoxIcon.Warning);
return; return;
} }
if (!BLL.AttachFileService.Getfile(BidDocumentsStandingBookId + "-ShortListApproval", BLL.Const.BidDocumentsStandingBookMenuId)) if (!BLL.AttachFileService.Getfile(BidDocumentsStandingBookId + "-ShortListApproval", BLL.Const.ProjectBidDocumentsStandingBookMenuId))
{ {
ShowNotify("未上传短名单审批表文件,无法提交!", MessageBoxIcon.Warning); ShowNotify("未上传短名单审批表文件,无法提交!", MessageBoxIcon.Warning);
return; return;
@@ -167,8 +188,14 @@ namespace FineUIPro.Web.PHTGL.Filing
table.ApprovePersonFormCode = this.txtApprovePersonFormCode.Text; table.ApprovePersonFormCode = this.txtApprovePersonFormCode.Text;
table.BidWinner = this.txtBidWinner.Text; table.BidWinner = this.txtBidWinner.Text;
table.SetSubReviewCode = this.txtSetSubReviewCode.Text; table.SetSubReviewCode = this.txtSetSubReviewCode.Text;
table.ProjectId = this.CurrUser.LoginProjectId;
table.State = 1; table.State = 1;
table.BidNoticeCode = this.txtBidNoticeCode.Text;
table.BidUnitFileCode = this.txtBidUnitFileCode.Text;
if (Type == "1")
{
table.ProjectId = this.CurrUser.LoginProjectId;
}
if (string.IsNullOrEmpty(this.BidDocumentsStandingBookId)) if (string.IsNullOrEmpty(this.BidDocumentsStandingBookId))
{ {
table.BidDocumentsStandingBookId = SQLHelper.GetNewID(typeof(Model.PHTGL_BidDocumentsStandingBook)); table.BidDocumentsStandingBookId = SQLHelper.GetNewID(typeof(Model.PHTGL_BidDocumentsStandingBook));
@@ -228,7 +255,7 @@ namespace FineUIPro.Web.PHTGL.Filing
BidDocumentsStandingBookId = Guid.NewGuid().ToString(); BidDocumentsStandingBookId = Guid.NewGuid().ToString();
} }
PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("~/AttachFile/webuploader.aspx?type=0&toKeyId={0}&path=FileUpload/BidDocumentsStandingBook&menuId={1}", PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("~/AttachFile/webuploader.aspx?type=0&toKeyId={0}&path=FileUpload/BidDocumentsStandingBook&menuId={1}",
this.BidDocumentsStandingBookId+ "-BidUnit", BLL.Const.BidDocumentsStandingBookMenuId))); this.BidDocumentsStandingBookId+ "-BidUnit", BLL.Const.ProjectBidDocumentsStandingBookMenuId)));
} }
/// <summary> /// <summary>
/// 中标通知书 /// 中标通知书
@@ -242,7 +269,7 @@ namespace FineUIPro.Web.PHTGL.Filing
BidDocumentsStandingBookId = Guid.NewGuid().ToString(); BidDocumentsStandingBookId = Guid.NewGuid().ToString();
} }
PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("~/AttachFile/webuploader.aspx?type=0&toKeyId={0}&path=FileUpload/BidDocumentsStandingBook&menuId={1}", PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("~/AttachFile/webuploader.aspx?type=0&toKeyId={0}&path=FileUpload/BidDocumentsStandingBook&menuId={1}",
this.BidDocumentsStandingBookId+ "-BidNotice", BLL.Const.BidDocumentsStandingBookMenuId))); this.BidDocumentsStandingBookId+ "-BidNotice", BLL.Const.ProjectBidDocumentsStandingBookMenuId)));
} }
/// <summary> /// <summary>
/// 实施计划文件 /// 实施计划文件
@@ -256,7 +283,7 @@ namespace FineUIPro.Web.PHTGL.Filing
BidDocumentsStandingBookId = Guid.NewGuid().ToString(); BidDocumentsStandingBookId = Guid.NewGuid().ToString();
} }
PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("~/AttachFile/webuploader.aspx?type=0&toKeyId={0}&path=FileUpload/BidDocumentsStandingBook&menuId={1}", PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("~/AttachFile/webuploader.aspx?type=0&toKeyId={0}&path=FileUpload/BidDocumentsStandingBook&menuId={1}",
this.BidDocumentsStandingBookId + "-ActionPlan", BLL.Const.BidDocumentsStandingBookMenuId))); this.BidDocumentsStandingBookId + "-ActionPlan", BLL.Const.ProjectBidDocumentsStandingBookMenuId)));
} }
/// <summary> /// <summary>
@@ -272,7 +299,7 @@ namespace FineUIPro.Web.PHTGL.Filing
BidDocumentsStandingBookId = Guid.NewGuid().ToString(); BidDocumentsStandingBookId = Guid.NewGuid().ToString();
} }
PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("~/AttachFile/webuploader.aspx?type=0&toKeyId={0}&path=FileUpload/BidDocumentsStandingBook&menuId={1}", PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("~/AttachFile/webuploader.aspx?type=0&toKeyId={0}&path=FileUpload/BidDocumentsStandingBook&menuId={1}",
this.BidDocumentsStandingBookId + "-BidDocuments", BLL.Const.BidDocumentsStandingBookMenuId))); this.BidDocumentsStandingBookId + "-BidDocuments", BLL.Const.ProjectBidDocumentsStandingBookMenuId)));
} }
/// <summary> /// <summary>
/// 评委名单审批表文件 /// 评委名单审批表文件
@@ -287,7 +314,7 @@ namespace FineUIPro.Web.PHTGL.Filing
BidDocumentsStandingBookId = Guid.NewGuid().ToString(); BidDocumentsStandingBookId = Guid.NewGuid().ToString();
} }
PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("~/AttachFile/webuploader.aspx?type=0&toKeyId={0}&path=FileUpload/BidDocumentsStandingBook&menuId={1}", PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("~/AttachFile/webuploader.aspx?type=0&toKeyId={0}&path=FileUpload/BidDocumentsStandingBook&menuId={1}",
this.BidDocumentsStandingBookId + "-ApprovePersonForm", BLL.Const.BidDocumentsStandingBookMenuId))); this.BidDocumentsStandingBookId + "-ApprovePersonForm", BLL.Const.ProjectBidDocumentsStandingBookMenuId)));
} }
/// <summary> /// <summary>
/// 确定中标人审批表文件 /// 确定中标人审批表文件
@@ -302,7 +329,7 @@ namespace FineUIPro.Web.PHTGL.Filing
BidDocumentsStandingBookId = Guid.NewGuid().ToString(); BidDocumentsStandingBookId = Guid.NewGuid().ToString();
} }
PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("~/AttachFile/webuploader.aspx?type=0&toKeyId={0}&path=FileUpload/BidDocumentsStandingBook&menuId={1}", PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("~/AttachFile/webuploader.aspx?type=0&toKeyId={0}&path=FileUpload/BidDocumentsStandingBook&menuId={1}",
this.BidDocumentsStandingBookId + "-SetSubReview", BLL.Const.BidDocumentsStandingBookMenuId))); this.BidDocumentsStandingBookId + "-SetSubReview", BLL.Const.ProjectBidDocumentsStandingBookMenuId)));
} }
/// <summary> /// <summary>
/// 短名单审批表文件 /// 短名单审批表文件
@@ -316,7 +343,7 @@ namespace FineUIPro.Web.PHTGL.Filing
BidDocumentsStandingBookId = Guid.NewGuid().ToString(); BidDocumentsStandingBookId = Guid.NewGuid().ToString();
} }
PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("~/AttachFile/webuploader.aspx?type=0&toKeyId={0}&path=FileUpload/BidDocumentsStandingBook&menuId={1}", PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("~/AttachFile/webuploader.aspx?type=0&toKeyId={0}&path=FileUpload/BidDocumentsStandingBook&menuId={1}",
this.BidDocumentsStandingBookId + "-ShortListApproval", BLL.Const.BidDocumentsStandingBookMenuId))); this.BidDocumentsStandingBookId + "-ShortListApproval", BLL.Const.ProjectBidDocumentsStandingBookMenuId)));
} }
#endregion #endregion
@@ -138,7 +138,7 @@ namespace FineUIPro.Web.PHTGL.Filing
/// 自动生成的字段。 /// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::FineUIPro.TextBox txtProposedInviter; protected global::FineUIPro.TextArea txtProposedInviter;
/// <summary> /// <summary>
/// txtBidWinner 控件。 /// txtBidWinner 控件。
@@ -222,13 +222,13 @@ namespace FineUIPro.Web.PHTGL.Filing
protected global::FineUIPro.Button btnAttachUrl_ShortListApprovalCode; protected global::FineUIPro.Button btnAttachUrl_ShortListApprovalCode;
/// <summary> /// <summary>
/// Toolbar1 控件。 /// txtBidNoticeCode 控件。
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// 自动生成的字段。 /// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::FineUIPro.Toolbar Toolbar1; protected global::FineUIPro.TextBox txtBidNoticeCode;
/// <summary> /// <summary>
/// btnAttachUrl_BidNotice 控件。 /// btnAttachUrl_BidNotice 控件。
@@ -239,6 +239,15 @@ namespace FineUIPro.Web.PHTGL.Filing
/// </remarks> /// </remarks>
protected global::FineUIPro.Button btnAttachUrl_BidNotice; protected global::FineUIPro.Button btnAttachUrl_BidNotice;
/// <summary>
/// txtBidUnitFileCode 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtBidUnitFileCode;
/// <summary> /// <summary>
/// btnAttachUrl_BidUnit 控件。 /// btnAttachUrl_BidUnit 控件。
/// </summary> /// </summary>
@@ -248,6 +257,15 @@ namespace FineUIPro.Web.PHTGL.Filing
/// </remarks> /// </remarks>
protected global::FineUIPro.Button btnAttachUrl_BidUnit; protected global::FineUIPro.Button btnAttachUrl_BidUnit;
/// <summary>
/// Toolbar1 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Toolbar Toolbar1;
/// <summary> /// <summary>
/// btnSave 控件。 /// btnSave 控件。
/// </summary> /// </summary>
@@ -20,10 +20,10 @@
<f:Button ID="btnDownLoad" runat="server" Icon="ApplicationGo" ToolTip="下载模板" Text="下载模板" OnClick="btnDownLoad_Click" EnablePostBack="true" EnableAjax="false"> <f:Button ID="btnDownLoad" runat="server" Icon="ApplicationGo" ToolTip="下载模板" Text="下载模板" OnClick="btnDownLoad_Click" EnablePostBack="true" EnableAjax="false">
</f:Button> </f:Button>
<f:ToolbarFill runat="server"></f:ToolbarFill> <f:ToolbarFill runat="server"></f:ToolbarFill>
<f:Button ID="btnAudit" Icon="ApplicationEdit" runat="server" ToolTip="审核" Text="审核" ValidateForms="SimpleForm1" <f:Button ID="btnAudit" Icon="ApplicationEdit" runat="server" ToolTip="导入" Text="导入" ValidateForms="SimpleForm1"
OnClick="btnAudit_Click"> OnClick="btnAudit_Click">
</f:Button> </f:Button>
<f:Button ID="btnImport" Icon="ApplicationGet" runat="server" ToolTip="导入" Text="导入" ValidateForms="SimpleForm1" <f:Button ID="btnImport" Icon="ApplicationGet" runat="server" ToolTip="导入" Text="导入" ValidateForms="SimpleForm1" Hidden="true"
OnClick="btnImport_Click"> OnClick="btnImport_Click">
</f:Button> </f:Button>
<f:Button ID="btnSave" Icon="SystemSave" runat="server" ToolTip="提交" Text="提交" ValidateForms="SimpleForm1" <f:Button ID="btnSave" Icon="SystemSave" runat="server" ToolTip="提交" Text="提交" ValidateForms="SimpleForm1"
@@ -97,6 +97,13 @@
<f:RenderField ColumnID="SetSubReviewCode" DataField="SetSubReviewCode" Width="150px" FieldType="String" HeaderText="确定中标人审批表编号" TextAlign="Center" <f:RenderField ColumnID="SetSubReviewCode" DataField="SetSubReviewCode" Width="150px" FieldType="String" HeaderText="确定中标人审批表编号" TextAlign="Center"
HeaderTextAlign="Center"> HeaderTextAlign="Center">
</f:RenderField> </f:RenderField>
<f:RenderField ColumnID="BidNoticeCode" DataField="BidNoticeCode" Width="150px" FieldType="String" HeaderText="中标通知书编号" TextAlign="Center"
HeaderTextAlign="Center">
</f:RenderField>
<f:RenderField ColumnID="BidUnitFileCode" DataField="BidUnitFileCode" Width="150px" FieldType="String" HeaderText="投标文件编号" TextAlign="Center"
HeaderTextAlign="Center">
</f:RenderField>
</Columns> </Columns>
<PageItems> <PageItems>
<f:ToolbarSeparator ID="ToolbarSeparator1" runat="server"> <f:ToolbarSeparator ID="ToolbarSeparator1" runat="server">
@@ -29,7 +29,17 @@ namespace FineUIPro.Web.PHTGL.Filing
/// 错误集合 /// 错误集合
/// </summary> /// </summary>
public static string errorInfos = string.Empty; public static string errorInfos = string.Empty;
public string Type
{
get
{
return (string)ViewState["Type"];
}
set
{
ViewState["Type"] = value;
}
}
#endregion #endregion
#region #region
@@ -48,6 +58,7 @@ namespace FineUIPro.Web.PHTGL.Filing
BidDocStandingBookList.Clear(); BidDocStandingBookList.Clear();
} }
errorInfos = string.Empty; errorInfos = string.Empty;
Type = Request.Params["Type"];
} }
} }
@@ -63,6 +74,8 @@ namespace FineUIPro.Web.PHTGL.Filing
{ {
try try
{ {
Grid1.DataSource = null;
Grid1.DataBind();
if (this.fuAttachUrl.HasFile == false) if (this.fuAttachUrl.HasFile == false)
{ {
ShowNotify("请您选择Excel文件!", MessageBoxIcon.Warning); ShowNotify("请您选择Excel文件!", MessageBoxIcon.Warning);
@@ -93,6 +106,30 @@ namespace FineUIPro.Web.PHTGL.Filing
string filePath = initFullPath + this.hdFileName.Text; string filePath = initFullPath + this.hdFileName.Text;
this.fuAttachUrl.PostedFile.SaveAs(filePath); this.fuAttachUrl.PostedFile.SaveAs(filePath);
ImportXlsToData(rootPath + initPath + this.hdFileName.Text); ImportXlsToData(rootPath + initPath + this.hdFileName.Text);
if (string.IsNullOrEmpty(errorInfos))
{
if (!string.IsNullOrEmpty(this.hdFileName.Text))
{
if (BidDocStandingBookList.Count > 0)
{
this.Grid1.Hidden = false;
this.Grid1.DataIDField = "BidDocumentsStandingBookId";
this.Grid1.DataSource = BidDocStandingBookList;
this.Grid1.DataBind();
Grid1.RecordCount = BidDocStandingBookList.Count;
}
}
else
{
ShowNotify("请先审核要导入的文件!", MessageBoxIcon.Warning);
}
}
else
{
ShowNotify("请先将错误数据修正,再重新导入提交!", MessageBoxIcon.Warning);
}
} }
catch (Exception ex) catch (Exception ex)
{ {
@@ -163,7 +200,10 @@ namespace FineUIPro.Web.PHTGL.Filing
Model.PHTGL_BidDocumentsStandingBook _BidDocumentsStandingBook = new PHTGL_BidDocumentsStandingBook(); Model.PHTGL_BidDocumentsStandingBook _BidDocumentsStandingBook = new PHTGL_BidDocumentsStandingBook();
_BidDocumentsStandingBook.BidDocumentsStandingBookId = SQLHelper.GetNewID(); _BidDocumentsStandingBook.BidDocumentsStandingBookId = SQLHelper.GetNewID();
_BidDocumentsStandingBook.State = 0; _BidDocumentsStandingBook.State = 0;
_BidDocumentsStandingBook.ProjectId = this.CurrUser.LoginProjectId; if (Type=="1")
{
_BidDocumentsStandingBook.ProjectId = this.CurrUser.LoginProjectId;
}
_BidDocumentsStandingBook.EPCCode = pds[i].A; _BidDocumentsStandingBook.EPCCode = pds[i].A;
_BidDocumentsStandingBook.ProjectShortName = pds[i].B; _BidDocumentsStandingBook.ProjectShortName = pds[i].B;
_BidDocumentsStandingBook.ProjectCode = pds[i].C; _BidDocumentsStandingBook.ProjectCode = pds[i].C;
@@ -179,6 +219,8 @@ namespace FineUIPro.Web.PHTGL.Filing
_BidDocumentsStandingBook.ApprovePersonFormCode = pds[i].M; _BidDocumentsStandingBook.ApprovePersonFormCode = pds[i].M;
_BidDocumentsStandingBook.BidWinner = pds[i].N; _BidDocumentsStandingBook.BidWinner = pds[i].N;
_BidDocumentsStandingBook.SetSubReviewCode = pds[i].O; _BidDocumentsStandingBook.SetSubReviewCode = pds[i].O;
_BidDocumentsStandingBook.BidNoticeCode= pds[i].P;
_BidDocumentsStandingBook.BidUnitFileCode= pds[i].Q;
BidDocStandingBookList.Add(_BidDocumentsStandingBook); BidDocStandingBookList.Add(_BidDocumentsStandingBook);
//if (col24 != null) //if (col24 != null)
-1
View File
@@ -36,7 +36,6 @@
</TreeNode> </TreeNode>
<TreeNode id="B8500D87-407E-458C-9915-FD54F0E81F36" Text="质量验收" NavigateUrl=""><TreeNode id="CC43E208-335D-4AE3-A1CE-B2D8510AE854" Text="实体验收" NavigateUrl="CQMS/Check/SpotCheck.aspx"></TreeNode> <TreeNode id="B8500D87-407E-458C-9915-FD54F0E81F36" Text="质量验收" NavigateUrl=""><TreeNode id="CC43E208-335D-4AE3-A1CE-B2D8510AE854" Text="实体验收" NavigateUrl="CQMS/Check/SpotCheck.aspx"></TreeNode>
<TreeNode id="0B17549C-2749-4255-BFF4-574902E878FA" Text="资料验收" NavigateUrl="CQMS/Check/MaterialAcceptance.aspx"></TreeNode> <TreeNode id="0B17549C-2749-4255-BFF4-574902E878FA" Text="资料验收" NavigateUrl="CQMS/Check/MaterialAcceptance.aspx"></TreeNode>
<TreeNode id="8317C0F7-3A69-48AB-87E5-03E96C543B1C" Text="资料验收" NavigateUrl="CQMS/Check/SpotDataCheck.aspx"></TreeNode>
<TreeNode id="1433BE70-13C0-4AC7-BC3D-34C9471CE2A8" Text="质量验收统计" NavigateUrl="CQMS/Check/SpotCheckStatistics.aspx"></TreeNode> <TreeNode id="1433BE70-13C0-4AC7-BC3D-34C9471CE2A8" Text="质量验收统计" NavigateUrl="CQMS/Check/SpotCheckStatistics.aspx"></TreeNode>
</TreeNode> </TreeNode>
<TreeNode id="A54EC449-5F77-4068-83B9-AA305B721A0B" Text="质量检查" NavigateUrl=""><TreeNode id="B3E99BD9-FDC7-4F15-8C3C-A7821AC9E306" Text="质量巡检" NavigateUrl="CQMS/Check/CheckList.aspx"></TreeNode> <TreeNode id="A54EC449-5F77-4068-83B9-AA305B721A0B" Text="质量检查" NavigateUrl=""><TreeNode id="B3E99BD9-FDC7-4F15-8C3C-A7821AC9E306" Text="质量巡检" NavigateUrl="CQMS/Check/CheckList.aspx"></TreeNode>
+1
View File
@@ -60,5 +60,6 @@
<TreeNode id="5F0969E3-2A0A-473E-92BE-4DD390602556" Text="焊接缺陷分析" NavigateUrl="HJGL/WeldingReport/DefectStatistics.aspx"></TreeNode> <TreeNode id="5F0969E3-2A0A-473E-92BE-4DD390602556" Text="焊接缺陷分析" NavigateUrl="HJGL/WeldingReport/DefectStatistics.aspx"></TreeNode>
<TreeNode id="EAD61207-E396-45B0-A1D2-7A5F0498AACC" Text="管道预制率分析" NavigateUrl="HJGL/WeldingReport/PipePrefabricationRateStatistics.aspx"></TreeNode> <TreeNode id="EAD61207-E396-45B0-A1D2-7A5F0498AACC" Text="管道预制率分析" NavigateUrl="HJGL/WeldingReport/PipePrefabricationRateStatistics.aspx"></TreeNode>
<TreeNode id="854C79DF-A1C0-4E3C-BCB4-7D5CD044F72B" Text="焊工功效分析" NavigateUrl="HJGL/WeldingReport/WelderEfficacy.aspx"></TreeNode> <TreeNode id="854C79DF-A1C0-4E3C-BCB4-7D5CD044F72B" Text="焊工功效分析" NavigateUrl="HJGL/WeldingReport/WelderEfficacy.aspx"></TreeNode>
<TreeNode id="6035E549-66FF-4B6D-989B-BE99C9EF5EB7" Text="焊接数据" NavigateUrl="ZHGL/DataSync/ProjectDataSync/Project_HJGLData_HJGL.aspx"></TreeNode>
</TreeNode> </TreeNode>
</Tree> </Tree>
+1
View File
@@ -7,4 +7,5 @@
<TreeNode id="98573D16-3310-4292-96A5-A59B9A5E6B6B" Text="通用条款" NavigateUrl="PHTGL/ContractCompile/GeneralTermsConditions.aspx"></TreeNode> <TreeNode id="98573D16-3310-4292-96A5-A59B9A5E6B6B" Text="通用条款" NavigateUrl="PHTGL/ContractCompile/GeneralTermsConditions.aspx"></TreeNode>
<TreeNode id="98367C43-9C85-467E-9144-288D80101E41" Text="专用条款" NavigateUrl="PHTGL/ContractCompile/SpecialTermsConditions.aspx"></TreeNode> <TreeNode id="98367C43-9C85-467E-9144-288D80101E41" Text="专用条款" NavigateUrl="PHTGL/ContractCompile/SpecialTermsConditions.aspx"></TreeNode>
</TreeNode> </TreeNode>
<TreeNode id="C18B4A2E-7BE7-43E6-A969-8A6292D19987" Text="招标工作台账" NavigateUrl="PHTGL/Filing/BidDocumentsStandingBook.aspx"></TreeNode>
</Tree> </Tree>
+1 -1
View File
@@ -20,7 +20,7 @@
<TreeNode id="88CB0F1B-2516-4B4A-A61E-CD0FA94DEEBF" Text="合同管理" NavigateUrl=""><TreeNode id="7E03F115-B80E-41BA-926D-CFE1BA5FD1C1" Text="施工分包合同" NavigateUrl="PHTGL/Filing/ContractFile.aspx"></TreeNode> <TreeNode id="88CB0F1B-2516-4B4A-A61E-CD0FA94DEEBF" Text="合同管理" NavigateUrl=""><TreeNode id="7E03F115-B80E-41BA-926D-CFE1BA5FD1C1" Text="施工分包合同" NavigateUrl="PHTGL/Filing/ContractFile.aspx"></TreeNode>
<TreeNode id="9D9A32F9-9FEF-455A-BD90-D8CBC2DE612F" Text="施工分包合同跟踪" NavigateUrl=""></TreeNode> <TreeNode id="9D9A32F9-9FEF-455A-BD90-D8CBC2DE612F" Text="施工分包合同跟踪" NavigateUrl=""></TreeNode>
</TreeNode> </TreeNode>
<TreeNode id="11f4f882-28a9-4610-a657-6a58336097d2" Text="招标工作台账" NavigateUrl="PHTGL/Filing/BidDocumentsStandingBook.aspx"></TreeNode> <TreeNode id="11f4f882-28a9-4610-a657-6a58336097d2" Text="招标工作台账" NavigateUrl="PHTGL/Filing/BidDocumentsStandingBook.aspx?Type=1"></TreeNode>
<TreeNode id="dedaf6f6-af14-4e4e-9fc6-164aa808cab9" Text="合同台账" NavigateUrl="PHTGL/Filing/ContractFile.aspx"></TreeNode> <TreeNode id="dedaf6f6-af14-4e4e-9fc6-164aa808cab9" Text="合同台账" NavigateUrl="PHTGL/Filing/ContractFile.aspx"></TreeNode>
<TreeNode id="9a772430-8a74-4d70-876d-136db8ce01a4" Text="文件归档" NavigateUrl="PHTGL/Filing/Files.aspx"></TreeNode> <TreeNode id="9a772430-8a74-4d70-876d-136db8ce01a4" Text="文件归档" NavigateUrl="PHTGL/Filing/Files.aspx"></TreeNode>
</TreeNode> </TreeNode>
+59 -11
View File
@@ -11880,7 +11880,7 @@ namespace Model
} }
} }
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ToKeyId", DbType="NVarChar(50)")] [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ToKeyId", DbType="NVarChar(100)")]
public string ToKeyId public string ToKeyId
{ {
get get
@@ -11960,7 +11960,7 @@ namespace Model
} }
} }
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AttachPath", DbType="NVarChar(50)")] [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AttachPath", DbType="NVarChar(100)")]
public string AttachPath public string AttachPath
{ {
get get
@@ -74357,7 +74357,7 @@ namespace Model
OnCreated(); OnCreated();
} }
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MaterialCode", DbType="NVarChar(15) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MaterialCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
public string MaterialCode public string MaterialCode
{ {
get get
@@ -74461,7 +74461,7 @@ namespace Model
} }
} }
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MaterialDef", DbType="NVarChar(3000)")] [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MaterialDef", DbType="NVarChar(MAX)", UpdateCheck=UpdateCheck.Never)]
public string MaterialDef public string MaterialDef
{ {
get get
@@ -79051,7 +79051,7 @@ namespace Model
} }
} }
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MaterialCode", DbType="NVarChar(15)")] [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MaterialCode", DbType="NVarChar(50)")]
public string MaterialCode public string MaterialCode
{ {
get get
@@ -122768,7 +122768,7 @@ namespace Model
} }
} }
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MaterialName", DbType="NVarChar(50)")] [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MaterialName", DbType="NVarChar(100)")]
public string MaterialName public string MaterialName
{ {
get get
@@ -122788,7 +122788,7 @@ namespace Model
} }
} }
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SpecificationAndModel", DbType="NVarChar(50)")] [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SpecificationAndModel", DbType="NVarChar(200)")]
public string SpecificationAndModel public string SpecificationAndModel
{ {
get get
@@ -122808,7 +122808,7 @@ namespace Model
} }
} }
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MaterialCode", DbType="NVarChar(50)")] [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MaterialCode", DbType="NVarChar(100)")]
public string MaterialCode public string MaterialCode
{ {
get get
@@ -122828,7 +122828,7 @@ namespace Model
} }
} }
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Material", DbType="NVarChar(50)")] [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Material", DbType="NVarChar(100)")]
public string Material public string Material
{ {
get get
@@ -151295,6 +151295,10 @@ namespace Model
private System.Nullable<int> _State; private System.Nullable<int> _State;
private string _BidNoticeCode;
private string _BidUnitFileCode;
#region #region
partial void OnLoaded(); partial void OnLoaded();
partial void OnValidate(System.Data.Linq.ChangeAction action); partial void OnValidate(System.Data.Linq.ChangeAction action);
@@ -151335,6 +151339,10 @@ namespace Model
partial void OnProjectIdChanged(); partial void OnProjectIdChanged();
partial void OnStateChanging(System.Nullable<int> value); partial void OnStateChanging(System.Nullable<int> value);
partial void OnStateChanged(); partial void OnStateChanged();
partial void OnBidNoticeCodeChanging(string value);
partial void OnBidNoticeCodeChanged();
partial void OnBidUnitFileCodeChanging(string value);
partial void OnBidUnitFileCodeChanged();
#endregion #endregion
public PHTGL_BidDocumentsStandingBook() public PHTGL_BidDocumentsStandingBook()
@@ -151702,6 +151710,46 @@ namespace Model
} }
} }
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_BidNoticeCode", DbType="NVarChar(100)")]
public string BidNoticeCode
{
get
{
return this._BidNoticeCode;
}
set
{
if ((this._BidNoticeCode != value))
{
this.OnBidNoticeCodeChanging(value);
this.SendPropertyChanging();
this._BidNoticeCode = value;
this.SendPropertyChanged("BidNoticeCode");
this.OnBidNoticeCodeChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_BidUnitFileCode", DbType="NVarChar(100)")]
public string BidUnitFileCode
{
get
{
return this._BidUnitFileCode;
}
set
{
if ((this._BidUnitFileCode != value))
{
this.OnBidUnitFileCodeChanging(value);
this.SendPropertyChanging();
this._BidUnitFileCode = value;
this.SendPropertyChanged("BidUnitFileCode");
this.OnBidUnitFileCodeChanged();
}
}
}
public event PropertyChangingEventHandler PropertyChanging; public event PropertyChangingEventHandler PropertyChanging;
public event PropertyChangedEventHandler PropertyChanged; public event PropertyChangedEventHandler PropertyChanged;
@@ -220731,7 +220779,7 @@ namespace Model
{ {
} }
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ToKeyId", DbType="NVarChar(50)")] [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ToKeyId", DbType="NVarChar(100)")]
public string ToKeyId public string ToKeyId
{ {
get get
@@ -245576,7 +245624,7 @@ namespace Model
} }
} }
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ToKeyId", DbType="NVarChar(50)")] [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ToKeyId", DbType="NVarChar(100)")]
public string ToKeyId public string ToKeyId
{ {
get get