2023-2-14 001
This commit is contained in:
parent
c25427af5e
commit
265e9a9f37
Binary file not shown.
|
|
@ -545,6 +545,7 @@
|
|||
<Compile Include="PHTGL\BiddingManagement\ActionPlanReviewService.cs" />
|
||||
<Compile Include="PHTGL\BiddingManagement\BidApproveUserReviewService.cs" />
|
||||
<Compile Include="PHTGL\BiddingManagement\BidApproveUserReview_Sch1Service.cs" />
|
||||
<Compile Include="PHTGL\BiddingManagement\BidDocStandingBookService.cs" />
|
||||
<Compile Include="PHTGL\BiddingManagement\BidDocumentsReviewService.cs" />
|
||||
<Compile Include="PHTGL\BiddingManagement\SetSubReviewService.cs" />
|
||||
<Compile Include="PHTGL\BiddingManagement\SetSubReview_Sch1Service.cs" />
|
||||
|
|
|
|||
|
|
@ -2901,6 +2901,12 @@
|
|||
/// 确定分包商审批
|
||||
/// </summary>
|
||||
public const string SetSubReview = "11503AD6-742D-406D-96F1-17BA3B9E7580";
|
||||
/// <summary>
|
||||
/// 招标工作台账
|
||||
/// </summary>
|
||||
public const string BidDocumentsStandingBookMenuId = "11f4f882-28a9-4610-a657-6a58336097d2";
|
||||
|
||||
|
||||
|
||||
#endregion
|
||||
|
||||
|
|
|
|||
|
|
@ -377,6 +377,54 @@ namespace BLL
|
|||
return strList;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// json字符串将属性值中的英文双引号变成中文双引号
|
||||
/// </summary>
|
||||
/// <param name="strJson">json字符串</param>
|
||||
/// <returns></returns>
|
||||
public static string JsonReplaceSign(string strJson)
|
||||
{
|
||||
//获取每个字符
|
||||
char[] temp = strJson.ToCharArray();
|
||||
//获取字符数组长度
|
||||
int n = temp.Length;
|
||||
//循环整个字符数组
|
||||
for (int i = 0; i < n; i++)
|
||||
{
|
||||
//查找json属性值(:+" )
|
||||
if (temp[i] == ':' && temp[i + 1] == '"')
|
||||
{
|
||||
//循环属性值内的字符(:+2 推算到value值)
|
||||
for (int j = i + 2; j < n; j++)
|
||||
{
|
||||
//判断是否是英文双引号
|
||||
if (temp[j] == '"')
|
||||
{
|
||||
//排除json属性的双引号
|
||||
if (temp[j + 1] != ',' && temp[j + 1] != '}')
|
||||
{
|
||||
//替换成中文双引号
|
||||
temp[j] = '”';
|
||||
}
|
||||
else if (temp[j + 1] == ',' || temp[j + 1] == '}')
|
||||
{
|
||||
break;
|
||||
}
|
||||
}
|
||||
//else if (temp[j] == '-')
|
||||
//{
|
||||
// temp[j] = ' ';
|
||||
//}
|
||||
//else if (true)
|
||||
//{
|
||||
// // 要过虑其他字符,继续添加判断就可以
|
||||
//}
|
||||
}
|
||||
}
|
||||
}
|
||||
return new String(temp);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
|
|
|
|||
|
|
@ -0,0 +1,176 @@
|
|||
using FineUIPro;
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
|
||||
namespace BLL
|
||||
{
|
||||
|
||||
public static class BidDocStandingBookService
|
||||
{
|
||||
public static Model.SGGLDB db = Funs.DB;
|
||||
|
||||
|
||||
#region 获取列表
|
||||
/// <summary>
|
||||
/// 记录数
|
||||
/// </summary>
|
||||
public static int count
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
public static List<Model.PHTGL_BidDocumentsStandingBook> GetPHTGL_BidDocumentsStandingBookByModle(Model.PHTGL_BidDocumentsStandingBook table)
|
||||
{
|
||||
var q = from x in db.PHTGL_BidDocumentsStandingBook
|
||||
where
|
||||
(string.IsNullOrEmpty(table.BidDocumentsStandingBookId) || x.BidDocumentsStandingBookId.Contains(table.BidDocumentsStandingBookId)) &&
|
||||
(string.IsNullOrEmpty(table.EPCCode) || x.EPCCode.Contains(table.EPCCode)) &&
|
||||
(string.IsNullOrEmpty(table.ProjectShortName) || x.ProjectShortName.Contains(table.ProjectShortName)) &&
|
||||
(string.IsNullOrEmpty(table.ProjectCode) || x.ProjectCode.Contains(table.ProjectCode)) &&
|
||||
(string.IsNullOrEmpty(table.BidType) || x.BidType.Contains(table.BidType)) &&
|
||||
(string.IsNullOrEmpty(table.ActionPlanCode) || x.ActionPlanCode.Contains(table.ActionPlanCode)) &&
|
||||
(string.IsNullOrEmpty(table.BidDocumentsCode) || x.BidDocumentsCode.Contains(table.BidDocumentsCode)) &&
|
||||
(string.IsNullOrEmpty(table.BidProject) || x.BidProject.Contains(table.BidProject)) &&
|
||||
(string.IsNullOrEmpty(table.ShortListApprovalCode) || x.ShortListApprovalCode.Contains(table.ShortListApprovalCode)) &&
|
||||
(string.IsNullOrEmpty(table.ProposedInviter) || x.ProposedInviter.Contains(table.ProposedInviter)) &&
|
||||
(string.IsNullOrEmpty(table.ApprovePersonFormCode) || x.ApprovePersonFormCode.Contains(table.ApprovePersonFormCode)) &&
|
||||
(string.IsNullOrEmpty(table.BidWinner) || x.BidWinner.Contains(table.BidWinner)) &&
|
||||
(string.IsNullOrEmpty(table.SetSubReviewCode) || x.SetSubReviewCode.Contains(table.SetSubReviewCode))
|
||||
select x
|
||||
;
|
||||
|
||||
return q.ToList();
|
||||
}
|
||||
|
||||
/// 获取分页列表
|
||||
/// </summary>
|
||||
/// <param name="PageIndex">页码</param>
|
||||
/// <param name="PageSize">每页数量</param>
|
||||
/// <returns></returns>
|
||||
public static IEnumerable getListData(Model.PHTGL_BidDocumentsStandingBook table, Grid Grid1)
|
||||
{
|
||||
var q = GetPHTGL_BidDocumentsStandingBookByModle(table);
|
||||
count = q.Count();
|
||||
if (count == 0)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
q= q.Take(Grid1.PageSize * Grid1.PageIndex).Skip(Grid1.PageSize * (Grid1.PageIndex)).ToList();
|
||||
// q = SortConditionHelper.SortingAndPaging(q, Grid1.SortField, Grid1.SortDirection, Grid1.PageIndex, Grid1.PageSize);
|
||||
return from x in q
|
||||
select new
|
||||
{
|
||||
x.BidDocumentsStandingBookId,
|
||||
x.EPCCode,
|
||||
x.ProjectShortName,
|
||||
x.ProjectCode,
|
||||
x.IsOnLine,
|
||||
x.BidType,
|
||||
x.ActionPlanCode,
|
||||
x.BidDocumentsCode,
|
||||
x.BidProject,
|
||||
x.ShortListApprovalCode,
|
||||
x.ProposedInviter,
|
||||
x.Bidding_SendTime,
|
||||
x.Bidding_StartTime,
|
||||
x.ApprovePersonFormCode,
|
||||
x.BidWinner,
|
||||
x.SetSubReviewCode,
|
||||
|
||||
};
|
||||
}
|
||||
#endregion
|
||||
|
||||
public static Model.PHTGL_BidDocumentsStandingBook GetPHTGL_BidDocumentsStandingBookById(string BidDocumentsStandingBookId)
|
||||
{
|
||||
return db.PHTGL_BidDocumentsStandingBook.FirstOrDefault(x => x.BidDocumentsStandingBookId == BidDocumentsStandingBookId);
|
||||
}
|
||||
|
||||
|
||||
public static void AddPHTGL_BidDocumentsStandingBook(Model.PHTGL_BidDocumentsStandingBook newtable)
|
||||
{
|
||||
|
||||
Model.PHTGL_BidDocumentsStandingBook table = new Model.PHTGL_BidDocumentsStandingBook
|
||||
{
|
||||
BidDocumentsStandingBookId = newtable.BidDocumentsStandingBookId,
|
||||
EPCCode = newtable.EPCCode,
|
||||
ProjectShortName = newtable.ProjectShortName,
|
||||
ProjectCode = newtable.ProjectCode,
|
||||
IsOnLine = newtable.IsOnLine,
|
||||
BidType = newtable.BidType,
|
||||
ActionPlanCode = newtable.ActionPlanCode,
|
||||
BidDocumentsCode = newtable.BidDocumentsCode,
|
||||
BidProject = newtable.BidProject,
|
||||
ShortListApprovalCode = newtable.ShortListApprovalCode,
|
||||
ProposedInviter = newtable.ProposedInviter,
|
||||
Bidding_SendTime = newtable.Bidding_SendTime,
|
||||
Bidding_StartTime = newtable.Bidding_StartTime,
|
||||
ApprovePersonFormCode = newtable.ApprovePersonFormCode,
|
||||
BidWinner = newtable.BidWinner,
|
||||
SetSubReviewCode = newtable.SetSubReviewCode,
|
||||
};
|
||||
db.PHTGL_BidDocumentsStandingBook.InsertOnSubmit(table);
|
||||
db.SubmitChanges();
|
||||
}
|
||||
|
||||
public static void AddBulkPHTGL_BidDocumentsStandingBook(List<Model.PHTGL_BidDocumentsStandingBook> newtables)
|
||||
{
|
||||
|
||||
db.PHTGL_BidDocumentsStandingBook.InsertAllOnSubmit(newtables);
|
||||
db.SubmitChanges();
|
||||
}
|
||||
|
||||
|
||||
public static void UpdatePHTGL_BidDocumentsStandingBook(Model.PHTGL_BidDocumentsStandingBook newtable)
|
||||
{
|
||||
|
||||
Model.PHTGL_BidDocumentsStandingBook table = db.PHTGL_BidDocumentsStandingBook.FirstOrDefault(x => x.BidDocumentsStandingBookId == newtable.BidDocumentsStandingBookId);
|
||||
if (table != null)
|
||||
{
|
||||
table.BidDocumentsStandingBookId = newtable.BidDocumentsStandingBookId;
|
||||
table.EPCCode = newtable.EPCCode;
|
||||
table.ProjectShortName = newtable.ProjectShortName;
|
||||
table.ProjectCode = newtable.ProjectCode;
|
||||
table.IsOnLine = newtable.IsOnLine;
|
||||
table.BidType = newtable.BidType;
|
||||
table.ActionPlanCode = newtable.ActionPlanCode;
|
||||
table.BidDocumentsCode = newtable.BidDocumentsCode;
|
||||
table.BidProject = newtable.BidProject;
|
||||
table.ShortListApprovalCode = newtable.ShortListApprovalCode;
|
||||
table.ProposedInviter = newtable.ProposedInviter;
|
||||
table.Bidding_SendTime = newtable.Bidding_SendTime;
|
||||
table.Bidding_StartTime = newtable.Bidding_StartTime;
|
||||
table.ApprovePersonFormCode = newtable.ApprovePersonFormCode;
|
||||
table.BidWinner = newtable.BidWinner;
|
||||
table.SetSubReviewCode = newtable.SetSubReviewCode;
|
||||
db.SubmitChanges();
|
||||
}
|
||||
|
||||
}
|
||||
public static void DeletePHTGL_BidDocumentsStandingBookById(string BidDocumentsStandingBookId)
|
||||
{
|
||||
|
||||
Model.PHTGL_BidDocumentsStandingBook table = db.PHTGL_BidDocumentsStandingBook.FirstOrDefault(x => x.BidDocumentsStandingBookId == BidDocumentsStandingBookId);
|
||||
if (table != null)
|
||||
{
|
||||
db.PHTGL_BidDocumentsStandingBook.DeleteOnSubmit(table);
|
||||
db.SubmitChanges();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
public static void DeleteALLPHTGL_BidDocumentsStandingBook()
|
||||
{
|
||||
if (db.PHTGL_BidDocumentsStandingBook != null)
|
||||
{
|
||||
db.PHTGL_BidDocumentsStandingBook.DeleteAllOnSubmit(db.PHTGL_BidDocumentsStandingBook);
|
||||
db.SubmitChanges();
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
@ -1,4 +1,5 @@
|
|||
using Newtonsoft.Json;
|
||||
using BLL;
|
||||
using Newtonsoft.Json;
|
||||
using System;
|
||||
|
||||
namespace FineUIPro.Web.Controls
|
||||
|
|
@ -42,7 +43,7 @@ namespace FineUIPro.Web.Controls
|
|||
public void BindData()
|
||||
{
|
||||
string jsonParameter = JsonConvert.SerializeObject(data);
|
||||
|
||||
jsonParameter = Funs.JsonReplaceSign(jsonParameter);
|
||||
PageContext.RegisterStartupScript(String.Format("BindData('{0}','{1}','{2}');", jsonParameter, this.Url_item, this.Url));
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1132,6 +1132,7 @@
|
|||
<Content Include="PHTGL\Filing\ApproveUserFile.aspx" />
|
||||
<Content Include="PHTGL\Filing\BidDocumentsFile.aspx" />
|
||||
<Content Include="PHTGL\Filing\BidDocumentsStandingBook.aspx" />
|
||||
<Content Include="PHTGL\Filing\BidDocumentsStandingBookEdit.aspx" />
|
||||
<Content Include="PHTGL\Filing\ContractFile.aspx" />
|
||||
<Content Include="PHTGL\Filing\ContractStandingBook.aspx" />
|
||||
<Content Include="PHTGL\Filing\Files.aspx" />
|
||||
|
|
@ -11582,6 +11583,13 @@
|
|||
<Compile Include="PHTGL\Filing\BidDocumentsStandingBook.aspx.designer.cs">
|
||||
<DependentUpon>BidDocumentsStandingBook.aspx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="PHTGL\Filing\BidDocumentsStandingBookEdit.aspx.cs">
|
||||
<DependentUpon>BidDocumentsStandingBookEdit.aspx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="PHTGL\Filing\BidDocumentsStandingBookEdit.aspx.designer.cs">
|
||||
<DependentUpon>BidDocumentsStandingBookEdit.aspx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="PHTGL\Filing\ContractFile.aspx.cs">
|
||||
<DependentUpon>ContractFile.aspx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
|
|
|
|||
|
|
@ -32,9 +32,9 @@
|
|||
</f:Toolbar>
|
||||
</Toolbars>
|
||||
<Items>
|
||||
<f:Tree ID="tvControlItem" ShowHeader="false" Height="560px" Title="装置区域"
|
||||
OnNodeCommand="tvControlItem_NodeCommand" OnNodeExpand="tvControlItem_TreeNodeExpanded" runat="server" ShowBorder="false" EnableCollapse="true"
|
||||
EnableSingleClickExpand="true" AutoLeafIdentification="true" EnableSingleExpand="true"
|
||||
<f:Tree ID="tvControlItem" ShowHeader="false" Height="560px" Title="单位工程"
|
||||
OnNodeCommand="tvControlItem_NodeCommand" runat="server" ShowBorder="false" EnableCollapse="true"
|
||||
EnableSingleClickExpand="true" AutoLeafIdentification="true" OnNodeExpand="tvControlItem_TreeNodeExpanded"
|
||||
EnableTextSelection="true">
|
||||
</f:Tree>
|
||||
</Items>
|
||||
|
|
@ -63,7 +63,7 @@
|
|||
<f:Grid ID="Grid1" ShowBorder="true" ShowHeader="false" Title="焊口台账总览"
|
||||
EnableCollapse="true" runat="server" BoxFlex="1" EnableColumnLines="true" DataKeyNames="WeldJointId"
|
||||
ClicksToEdit="2" DataIDField="WeldJointId" AllowSorting="true" EnableCheckBoxSelect="true"
|
||||
SortField="UnitWorkCode,PipelineCode,WeldJointCode" OnSort="Grid1_Sort" OnRowClick="Grid1_RowClick" EnableRowClickEvent="true"
|
||||
SortField="WeldJointCode" OnSort="Grid1_Sort" OnRowClick="Grid1_RowClick" EnableRowClickEvent="true"
|
||||
AllowPaging="true" IsDatabasePaging="true" PageSize="15" OnPageIndexChange="Grid1_PageIndexChange"
|
||||
EnableTextSelection="True">
|
||||
<Toolbars>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
using BLL;
|
||||
using FineUIPro.Web.HJGL.WeldingManage;
|
||||
using Model;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
|
@ -12,6 +13,7 @@ namespace FineUIPro.Web.HJGL.InfoQuery
|
|||
{
|
||||
public partial class JointQuery : PageBase
|
||||
{
|
||||
public int pageSize = 20;
|
||||
public decimal JointComplete
|
||||
{
|
||||
get
|
||||
|
|
@ -145,26 +147,28 @@ namespace FineUIPro.Web.HJGL.InfoQuery
|
|||
{
|
||||
foreach (var q in unitWork1)
|
||||
{
|
||||
if (q != null)
|
||||
int a = (from x in Funs.DB.HJGL_Pipeline where x.ProjectId == this.CurrUser.LoginProjectId && x.UnitWorkId == q.UnitWorkId select x).Count();
|
||||
var u = BLL.UnitService.GetUnitByUnitId(q.UnitId);
|
||||
TreeNode tn1 = new TreeNode();
|
||||
tn1.NodeID = q.UnitWorkId;
|
||||
tn1.Text = q.UnitWorkName + "【" + a.ToString() + "】" + "管线";
|
||||
tn1.ToolTip = "施工单位:" + u.UnitName;
|
||||
tn1.CommandName = 1 + "|" + Funs.GetEndPageNumber(a, pageSize);
|
||||
tn1.EnableClickEvent = true;
|
||||
tn1.EnableExpandEvent = true;
|
||||
rootNode1.Nodes.Add(tn1);
|
||||
if (a > 0)
|
||||
{
|
||||
int a = (from x in Funs.DB.HJGL_Pipeline where x.ProjectId == this.CurrUser.LoginProjectId && x.UnitWorkId == q.UnitWorkId select x).Count();
|
||||
var u = BLL.UnitService.GetUnitByUnitId(q.UnitId);
|
||||
TreeNode tn1 = new TreeNode();
|
||||
tn1.NodeID = q.UnitWorkId;
|
||||
tn1.Text = q.UnitWorkName + "【" + a.ToString() + "】" + "管线";
|
||||
tn1.ToolTip = "施工单位:" + u.UnitName;
|
||||
tn1.CommandName = "单位工程";
|
||||
tn1.EnableExpandEvent = true;
|
||||
rootNode1.Nodes.Add(tn1);
|
||||
if (a > 0)
|
||||
{
|
||||
// BindNodes(tn1);
|
||||
TreeNode newNode = new TreeNode();
|
||||
newNode.Text = "加载管线...";
|
||||
newNode.NodeID = "加载管线...";
|
||||
tn1.Nodes.Add(newNode);
|
||||
}
|
||||
// BindNodes(tn1);
|
||||
TreeNode newNode = new TreeNode();
|
||||
newNode.Text = "加载管线...";
|
||||
newNode.NodeID = "加载管线...";
|
||||
tn1.Nodes.Add(newNode);
|
||||
}
|
||||
//if (a > 0)
|
||||
//{
|
||||
// BindNodes(tn1);
|
||||
//}
|
||||
}
|
||||
}
|
||||
if (unitWork2.Count() > 0)
|
||||
|
|
@ -185,9 +189,9 @@ namespace FineUIPro.Web.HJGL.InfoQuery
|
|||
tn2.Expanded = true;
|
||||
}
|
||||
tn2.ToolTip = "施工单位:" + u.UnitName;
|
||||
tn2.CommandName = "单位工程";
|
||||
tn2.EnableExpandEvent = true;
|
||||
tn2.CommandName = 1 + "|" + Funs.GetEndPageNumber(a, pageSize);
|
||||
tn2.EnableClickEvent = true;
|
||||
tn2.EnableExpandEvent = true;
|
||||
rootNode2.Nodes.Add(tn2);
|
||||
if (a > 0)
|
||||
{
|
||||
|
|
@ -199,35 +203,6 @@ namespace FineUIPro.Web.HJGL.InfoQuery
|
|||
}
|
||||
}
|
||||
}
|
||||
//if (unitWork1.Count() > 0)
|
||||
//{
|
||||
// foreach (var q in unitWork1)
|
||||
// {
|
||||
// // int a = (from x in Funs.DB.HJGL_Pipeline where x.ProjectId == this.CurrUser.LoginProjectId && x.UnitWorkId == q.UnitWorkId select x).Count();
|
||||
// int a = (from x in Funs.DB.View_HJGL_JointInfoQuery where x.ProjectId == this.CurrUser.LoginProjectId && x.UnitWorkId == q.UnitWorkId select x).Count();
|
||||
// var u = BLL.UnitService.GetUnitByUnitId(q.UnitId);
|
||||
// TreeNode tn1 = new TreeNode();
|
||||
// tn1.NodeID = q.UnitWorkId;
|
||||
// tn1.Text = q.UnitWorkName + "【" + a.ToString() + "】" + "焊口";
|
||||
// tn1.ToolTip = "施工单位:" + u.UnitName;
|
||||
// tn1.EnableClickEvent = true;
|
||||
// rootNode1.Nodes.Add(tn1);
|
||||
// }
|
||||
//}
|
||||
//if (unitWork2.Count() > 0)
|
||||
//{
|
||||
// foreach (var q in unitWork2)
|
||||
// {
|
||||
// int a = (from x in Funs.DB.View_HJGL_JointInfoQuery where x.ProjectId == this.CurrUser.LoginProjectId && x.UnitWorkId == q.UnitWorkId select x).Count();
|
||||
// var u = BLL.UnitService.GetUnitByUnitId(q.UnitId);
|
||||
// TreeNode tn2 = new TreeNode();
|
||||
// tn2.NodeID = q.UnitWorkId;
|
||||
// tn2.Text = q.UnitWorkName + "【" + a.ToString() + "】" + "焊口";
|
||||
// tn2.ToolTip = "施工单位:" + u.UnitName;
|
||||
// tn2.EnableClickEvent = true;
|
||||
// rootNode2.Nodes.Add(tn2);
|
||||
// }
|
||||
//}
|
||||
}
|
||||
#endregion
|
||||
|
||||
|
|
@ -239,57 +214,78 @@ namespace FineUIPro.Web.HJGL.InfoQuery
|
|||
/// <param name="e"></param>
|
||||
protected void tvControlItem_NodeCommand(object sender, TreeCommandEventArgs e)
|
||||
{
|
||||
this.BindGrid();
|
||||
Model.Parameter3D parameter3D = new Model.Parameter3D();
|
||||
Model.ColorModel colorModel = new Model.ColorModel();
|
||||
colorModel = BLL.Project_SysSetService.GetColorModel(this.CurrUser.LoginProjectId);
|
||||
parameter3D.ColorModel = colorModel;
|
||||
parameter3D.TagNum = "";
|
||||
parameter3D.ButtonType = "2.1";
|
||||
parameter3D.ModelName = HJGL_DataImportService.Getlatest3DModelNameByUnitWorkId(tvControlItem.SelectedNodeID);
|
||||
|
||||
|
||||
if (this.tvControlItem.SelectedNode.CommandName == "单位工程")
|
||||
if (e.CommandName == "加载")
|
||||
{
|
||||
parameter3D.ModelName = HJGL_DataImportService.Getlatest3DModelNameByUnitWorkId(tvControlItem.SelectedNodeID);
|
||||
parameter3D.Crater_data = "0";
|
||||
parameter3D.Completed_weldedjunction = Completed_weldedjunction;
|
||||
parameter3D.Incomplete_weldjunction = Incomplete_weldjunction;
|
||||
|
||||
string CommandName = e.Node.ParentNode.CommandName;
|
||||
e.Node.ParentNode.CommandName = (int.Parse(CommandName.Split('|')[0]) + 1) + "|" + int.Parse(CommandName.Split('|')[1]);
|
||||
TreeNode treeNode = e.Node.ParentNode;
|
||||
treeNode.Nodes.Remove(e.Node);
|
||||
BindNodes(e.Node.ParentNode);
|
||||
}
|
||||
else if (this.tvControlItem.SelectedNode.CommandName == "管线")
|
||||
else
|
||||
{
|
||||
var model = PipelineService.GetPipelineByPipelineId(tvControlItem.SelectedNodeID);
|
||||
if (model != null&&!string.IsNullOrEmpty(model.UnitWorkId))
|
||||
this.BindGrid();
|
||||
Model.Parameter3D parameter3D = new Model.Parameter3D();
|
||||
Model.ColorModel colorModel = new Model.ColorModel();
|
||||
colorModel = BLL.Project_SysSetService.GetColorModel(this.CurrUser.LoginProjectId);
|
||||
parameter3D.ColorModel = colorModel;
|
||||
parameter3D.TagNum = "";
|
||||
parameter3D.ButtonType = "2.1";
|
||||
parameter3D.ModelName = HJGL_DataImportService.Getlatest3DModelNameByUnitWorkId(tvControlItem.SelectedNodeID);
|
||||
|
||||
if (this.tvControlItem.SelectedNode.CommandName.Split('|').Count() == 2)
|
||||
{
|
||||
parameter3D.Crater_data = "1";
|
||||
parameter3D.TagNum = "/" + model.PipelineCode;
|
||||
parameter3D.ModelName = HJGL_DataImportService.Getlatest3DModelNameByUnitWorkId(model.UnitWorkId);
|
||||
parameter3D.ModelName = HJGL_DataImportService.Getlatest3DModelNameByUnitWorkId(tvControlItem.SelectedNodeID);
|
||||
parameter3D.Crater_data = "0";
|
||||
parameter3D.Completed_weldedjunction = Completed_weldedjunction;
|
||||
parameter3D.Incomplete_weldjunction = Incomplete_weldjunction;
|
||||
|
||||
}
|
||||
else if (this.tvControlItem.SelectedNode.CommandName == "管线")
|
||||
{
|
||||
var model = PipelineService.GetPipelineByPipelineId(tvControlItem.SelectedNodeID);
|
||||
if (model != null && !string.IsNullOrEmpty(model.UnitWorkId))
|
||||
{
|
||||
parameter3D.Crater_data = "1";
|
||||
parameter3D.TagNum = "/" + model.PipelineCode;
|
||||
parameter3D.ModelName = HJGL_DataImportService.Getlatest3DModelNameByUnitWorkId(model.UnitWorkId);
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
parameter3D.Transparency = colorModel.PipelineComplete;
|
||||
parameter3D.Finished_color = colorModel.JointCompleteColor;
|
||||
parameter3D.Incomplete_color = colorModel.JointNOCompleteColor;
|
||||
|
||||
ctlAuditFlow.Url_item = BLL.Project_SysSetService.GetAvevaNetUrl_Item(this.CurrUser.LoginProjectId) + parameter3D.ModelName;
|
||||
ctlAuditFlow.data = parameter3D;
|
||||
ctlAuditFlow.BindData();
|
||||
}
|
||||
parameter3D.Transparency = colorModel.PipelineComplete;
|
||||
parameter3D.Finished_color = colorModel.JointCompleteColor;
|
||||
parameter3D.Incomplete_color = colorModel.JointNOCompleteColor;
|
||||
|
||||
ctlAuditFlow.Url_item = BLL.Project_SysSetService.GetAvevaNetUrl_Item(this.CurrUser.LoginProjectId) + parameter3D.ModelName;
|
||||
ctlAuditFlow.data = parameter3D;
|
||||
ctlAuditFlow.BindData();
|
||||
|
||||
|
||||
}
|
||||
protected void tvControlItem_TreeNodeExpanded(object sender, TreeNodeEventArgs e)
|
||||
{
|
||||
e.Node.Nodes.Clear();
|
||||
if (e.Node.CommandName == "单位工程")
|
||||
{
|
||||
var pipeline = (from x in Funs.DB.HJGL_Pipeline
|
||||
where x.ProjectId == this.CurrUser.LoginProjectId && x.UnitWorkId == e.Node.NodeID
|
||||
&& x.PipelineCode.Contains(this.tvPipeCode.Text.Trim())
|
||||
orderby x.PipelineCode
|
||||
select x).ToList();
|
||||
var hJGL_WeldJoints = (from x in Funs.DB.HJGL_WeldJoint where x.ProjectId == this.CurrUser.LoginProjectId select x).ToList();
|
||||
|
||||
if (e.Node.Nodes[0].NodeID == "加载管线...")
|
||||
{
|
||||
e.Node.Nodes.Clear();
|
||||
BindNodes(e.Node);
|
||||
}
|
||||
}
|
||||
private void BindNodes(TreeNode node)
|
||||
{
|
||||
var pipeline = (from x in Funs.DB.HJGL_Pipeline
|
||||
where x.ProjectId == this.CurrUser.LoginProjectId && x.UnitWorkId == node.NodeID
|
||||
&& x.PipelineCode.Contains(this.tvPipeCode.Text.Trim())
|
||||
orderby x.PipelineCode
|
||||
select x).ToList();
|
||||
var hJGL_WeldJoints = (from x in Funs.DB.HJGL_WeldJoint where x.ProjectId == this.CurrUser.LoginProjectId select x).ToList();
|
||||
int pageindex = int.Parse(node.CommandName.Split('|')[0]);
|
||||
int pageCount = int.Parse(node.CommandName.Split('|')[1]);
|
||||
if (pageindex <= pageCount)
|
||||
{
|
||||
pipeline = pipeline.Skip(pageSize * (pageindex - 1)).Take(pageSize).ToList();
|
||||
foreach (var item in pipeline)
|
||||
{
|
||||
var jotCount = (from x in hJGL_WeldJoints where x.PipelineId == item.PipelineId /*&& x.IsTwoJoint == null*/ select x).Count();
|
||||
|
|
@ -298,7 +294,17 @@ namespace FineUIPro.Web.HJGL.InfoQuery
|
|||
newNode.NodeID = item.PipelineId;
|
||||
newNode.CommandName = "管线";
|
||||
newNode.EnableClickEvent = true;
|
||||
e.Node.Nodes.Add(newNode);
|
||||
node.Nodes.Add(newNode);
|
||||
}
|
||||
if (pageindex < pageCount)
|
||||
{
|
||||
TreeNode newNode = new TreeNode();
|
||||
newNode.Text = "加载";
|
||||
newNode.NodeID = SQLHelper.GetNewID();
|
||||
newNode.CommandName = "加载";
|
||||
newNode.Icon = Icon.ArrowDown;
|
||||
newNode.EnableClickEvent = true;
|
||||
node.Nodes.Add(newNode);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -335,7 +341,7 @@ namespace FineUIPro.Web.HJGL.InfoQuery
|
|||
//this.Grid1.RecordCount = tb.Rows.Count;
|
||||
Model.View_HJGL_WeldJoint model =new Model.View_HJGL_WeldJoint();
|
||||
model.ProjectId = this.CurrUser.LoginProjectId;
|
||||
if (this.tvControlItem.SelectedNode.CommandName == "单位工程")
|
||||
if (this.tvControlItem.SelectedNode.CommandName.Split('|').Count() == 2 )
|
||||
{
|
||||
model.UnitWorkId = this.tvControlItem.SelectedNodeID;
|
||||
|
||||
|
|
@ -346,18 +352,23 @@ namespace FineUIPro.Web.HJGL.InfoQuery
|
|||
}
|
||||
model.WeldJointCode = this.txtWeldJointCode.Text;
|
||||
var list= BLL.WeldJointService.GetViewWeldJointsBymodel(model);
|
||||
get3DParmeter_weldjoint(list);//获取三维所需焊口参数
|
||||
var q = list.Where(x => !string.IsNullOrEmpty(x.WeldingDate));
|
||||
var q2 = list.Where(x =>x.JointAttribute == "预制口");
|
||||
var sumcount= list.Count;
|
||||
this.Grid1.RecordCount = list.Count;
|
||||
if (!string.IsNullOrEmpty(ctlAuditFlow.Url))
|
||||
{
|
||||
get3DParmeter_weldjoint(list);//获取三维所需焊口参数
|
||||
var q = list.Where(x => !string.IsNullOrEmpty(x.WeldingDate));
|
||||
var q2 = list.Where(x => x.JointAttribute == "预制口");
|
||||
var sumcount = list.Count;
|
||||
this.Grid1.RecordCount = list.Count;
|
||||
|
||||
this.JointComplete = q.Count();
|
||||
this.JointNoComplete = sumcount - JointComplete;
|
||||
this.JointPre = q2.Count();
|
||||
this.JointNoPre = sumcount - JointPre;
|
||||
//var table = this.GetPagedDataTable(Grid1, list);
|
||||
Grid1.DataSource = list;
|
||||
this.JointComplete = q.Count();
|
||||
this.JointNoComplete = sumcount - JointComplete;
|
||||
this.JointPre = q2.Count();
|
||||
this.JointNoPre = sumcount - JointPre;
|
||||
}
|
||||
|
||||
var table = this.GetPagedDataTable(Grid1, list);
|
||||
Grid1.DataSource = table;
|
||||
Grid1.RecordCount = list.Count;
|
||||
Grid1.DataBind();
|
||||
}
|
||||
|
||||
|
|
@ -465,6 +476,21 @@ namespace FineUIPro.Web.HJGL.InfoQuery
|
|||
/// <param name="e"></param>
|
||||
protected void btnOut_Click(object sender, EventArgs e)
|
||||
{
|
||||
Model.View_HJGL_WeldJoint model = new Model.View_HJGL_WeldJoint();
|
||||
model.ProjectId = this.CurrUser.LoginProjectId;
|
||||
if (this.tvControlItem.SelectedNode.CommandName.Split('|').Count() == 2)
|
||||
{
|
||||
model.UnitWorkId = this.tvControlItem.SelectedNodeID;
|
||||
|
||||
}
|
||||
else if (this.tvControlItem.SelectedNode.CommandName == "管线")
|
||||
{
|
||||
model.PipelineId = this.tvControlItem.SelectedNodeID;
|
||||
}
|
||||
model.WeldJointCode = this.txtWeldJointCode.Text;
|
||||
var list = BLL.WeldJointService.GetViewWeldJointsBymodel(model);
|
||||
|
||||
|
||||
Response.ClearContent();
|
||||
string filename = Funs.GetNewFileName();
|
||||
Response.AddHeader("content-disposition", "attachment; filename=" + System.Web.HttpUtility.UrlEncode("焊口台账总览" + filename, System.Text.Encoding.UTF8) + ".xls");
|
||||
|
|
@ -534,7 +560,7 @@ namespace FineUIPro.Web.HJGL.InfoQuery
|
|||
parameter3D.TagNum = string.Join(",", weldjointcodes);
|
||||
parameter3D.ButtonType = "2.1";
|
||||
parameter3D.Crater_data = "1";
|
||||
if (this.tvControlItem.SelectedNode.CommandName == "单位工程")
|
||||
if (this.tvControlItem.SelectedNode.CommandName.Split('|').Count() == 2)
|
||||
{
|
||||
parameter3D.ModelName = HJGL_DataImportService.Getlatest3DModelNameByUnitWorkId(tvControlItem.SelectedNodeID);
|
||||
|
||||
|
|
|
|||
|
|
@ -67,6 +67,7 @@
|
|||
EmptyText="输入查询条件" AutoPostBack="true" OnTextChanged="txtMaterialCode_TextChanged"
|
||||
Width="240px" LabelWidth="80px" LabelAlign="Right">
|
||||
</f:TextBox>
|
||||
<f:Label ID="lbSinglePreRate" runat="server" Text="图纸预制率" Hidden="true"></f:Label>
|
||||
<f:ToolbarFill ID="ToolbarFill1" runat="server">
|
||||
</f:ToolbarFill>
|
||||
<%--<f:Button ID="btnSelectColumn" Text="选择显示列" Icon="ShapesManySelect"
|
||||
|
|
|
|||
|
|
@ -7,6 +7,7 @@ using System.Data.SqlClient;
|
|||
using System.Diagnostics;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Text.RegularExpressions;
|
||||
using System.Threading.Tasks;
|
||||
using System.Web;
|
||||
|
||||
|
|
@ -230,6 +231,10 @@ namespace FineUIPro.Web.HJGL.WeldingManage
|
|||
this.BindGrid2(this.tvControlItem.SelectedNodeID);
|
||||
this.BindGrid3(this.tvControlItem.SelectedNodeID);
|
||||
}
|
||||
else
|
||||
{
|
||||
this.hdUnitWorkId.Text = this.tvControlItem.SelectedNodeID;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
@ -374,7 +379,46 @@ namespace FineUIPro.Web.HJGL.WeldingManage
|
|||
//}
|
||||
#endregion
|
||||
#endregion
|
||||
#region 预制率计算
|
||||
private string GetRateByUnitWork(string unitworkid)
|
||||
{
|
||||
var db = Funs.DB;
|
||||
var q=from x in db.View_HJGL_WeldJoint where x.UnitWorkId == unitworkid select x ;
|
||||
if (q!=null&&q.Count()>0)
|
||||
{
|
||||
var proSum = (from x in q
|
||||
where x.JointAttribute == "预制口"
|
||||
group x by x.UnitWorkId into g
|
||||
select new
|
||||
{
|
||||
SizeSum = g.Sum(x => x.Size)
|
||||
}).FirstOrDefault().SizeSum;
|
||||
|
||||
var AllSum = (from x in q
|
||||
group x by x.UnitWorkId into g
|
||||
select new
|
||||
{
|
||||
SizeSum = g.Sum(x => x.Size)
|
||||
}).FirstOrDefault().SizeSum;
|
||||
var a = (decimal)100 * proSum / AllSum;
|
||||
var rate = Math.Round((decimal)a, 1);
|
||||
return rate.ToString()+"%";
|
||||
}
|
||||
return "";
|
||||
}
|
||||
void GetRateByPipelineid(string pipelineid)
|
||||
{
|
||||
var db = Funs.DB;
|
||||
var q = (from x in db.View_HJGL_WeldJoint
|
||||
group x by x.PipelineId into g
|
||||
where g.Key == pipelineid
|
||||
select new
|
||||
{
|
||||
SizeSum = g.Sum(x => x.Size)
|
||||
}).FirstOrDefault().SizeSum;
|
||||
|
||||
}
|
||||
#endregion
|
||||
#region 焊口信息 维护事件
|
||||
/// <summary>
|
||||
/// Grid双击事件
|
||||
|
|
|
|||
|
|
@ -7,11 +7,13 @@
|
|||
// </自动生成>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace FineUIPro.Web.HJGL.WeldingManage {
|
||||
|
||||
|
||||
public partial class WeldJointList {
|
||||
|
||||
namespace FineUIPro.Web.HJGL.WeldingManage
|
||||
{
|
||||
|
||||
|
||||
public partial class WeldJointList
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// form1 控件。
|
||||
/// </summary>
|
||||
|
|
@ -20,7 +22,7 @@ namespace FineUIPro.Web.HJGL.WeldingManage {
|
|||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.HtmlControls.HtmlForm form1;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// PageManager1 控件。
|
||||
/// </summary>
|
||||
|
|
@ -29,7 +31,7 @@ namespace FineUIPro.Web.HJGL.WeldingManage {
|
|||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.PageManager PageManager1;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Panel1 控件。
|
||||
/// </summary>
|
||||
|
|
@ -38,7 +40,7 @@ namespace FineUIPro.Web.HJGL.WeldingManage {
|
|||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Panel Panel1;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// panelLeftRegion 控件。
|
||||
/// </summary>
|
||||
|
|
@ -47,7 +49,7 @@ namespace FineUIPro.Web.HJGL.WeldingManage {
|
|||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Panel panelLeftRegion;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Toolbar1 控件。
|
||||
/// </summary>
|
||||
|
|
@ -56,7 +58,7 @@ namespace FineUIPro.Web.HJGL.WeldingManage {
|
|||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Toolbar Toolbar1;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// tvPipeCode 控件。
|
||||
/// </summary>
|
||||
|
|
@ -65,7 +67,7 @@ namespace FineUIPro.Web.HJGL.WeldingManage {
|
|||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox tvPipeCode;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// hdUnitWorkId 控件。
|
||||
/// </summary>
|
||||
|
|
@ -74,7 +76,7 @@ namespace FineUIPro.Web.HJGL.WeldingManage {
|
|||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.HiddenField hdUnitWorkId;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// btnTreeFind 控件。
|
||||
/// </summary>
|
||||
|
|
@ -83,7 +85,7 @@ namespace FineUIPro.Web.HJGL.WeldingManage {
|
|||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Button btnTreeFind;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// tvControlItem 控件。
|
||||
/// </summary>
|
||||
|
|
@ -92,7 +94,7 @@ namespace FineUIPro.Web.HJGL.WeldingManage {
|
|||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Tree tvControlItem;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Panel2 控件。
|
||||
/// </summary>
|
||||
|
|
@ -101,7 +103,7 @@ namespace FineUIPro.Web.HJGL.WeldingManage {
|
|||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Panel Panel2;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// panelCenterRegion 控件。
|
||||
/// </summary>
|
||||
|
|
@ -110,7 +112,7 @@ namespace FineUIPro.Web.HJGL.WeldingManage {
|
|||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Panel panelCenterRegion;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Toolbar3 控件。
|
||||
/// </summary>
|
||||
|
|
@ -119,7 +121,7 @@ namespace FineUIPro.Web.HJGL.WeldingManage {
|
|||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Toolbar Toolbar3;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// txtWeldJointCode 控件。
|
||||
/// </summary>
|
||||
|
|
@ -128,7 +130,7 @@ namespace FineUIPro.Web.HJGL.WeldingManage {
|
|||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtWeldJointCode;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// txtMaterialCode 控件。
|
||||
/// </summary>
|
||||
|
|
@ -137,7 +139,16 @@ namespace FineUIPro.Web.HJGL.WeldingManage {
|
|||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtMaterialCode;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// lbSinglePreRate 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Label lbSinglePreRate;
|
||||
|
||||
/// <summary>
|
||||
/// ToolbarFill1 控件。
|
||||
/// </summary>
|
||||
|
|
@ -146,7 +157,7 @@ namespace FineUIPro.Web.HJGL.WeldingManage {
|
|||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.ToolbarFill ToolbarFill1;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// btnNew 控件。
|
||||
/// </summary>
|
||||
|
|
@ -155,7 +166,7 @@ namespace FineUIPro.Web.HJGL.WeldingManage {
|
|||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Button btnNew;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// btnPrint 控件。
|
||||
/// </summary>
|
||||
|
|
@ -164,7 +175,7 @@ namespace FineUIPro.Web.HJGL.WeldingManage {
|
|||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Button btnPrint;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// btnImport 控件。
|
||||
/// </summary>
|
||||
|
|
@ -173,7 +184,7 @@ namespace FineUIPro.Web.HJGL.WeldingManage {
|
|||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Button btnImport;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// btnUpdateImport 控件。
|
||||
/// </summary>
|
||||
|
|
@ -182,7 +193,7 @@ namespace FineUIPro.Web.HJGL.WeldingManage {
|
|||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Button btnUpdateImport;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// btnPDMSImport 控件。
|
||||
/// </summary>
|
||||
|
|
@ -191,7 +202,7 @@ namespace FineUIPro.Web.HJGL.WeldingManage {
|
|||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Button btnPDMSImport;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// btnMatImport 控件。
|
||||
/// </summary>
|
||||
|
|
@ -200,7 +211,7 @@ namespace FineUIPro.Web.HJGL.WeldingManage {
|
|||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Button btnMatImport;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Grid1 控件。
|
||||
/// </summary>
|
||||
|
|
@ -209,7 +220,7 @@ namespace FineUIPro.Web.HJGL.WeldingManage {
|
|||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Grid Grid1;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Label1 控件。
|
||||
/// </summary>
|
||||
|
|
@ -218,7 +229,7 @@ namespace FineUIPro.Web.HJGL.WeldingManage {
|
|||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label Label1;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// panelBottomRegion 控件。
|
||||
/// </summary>
|
||||
|
|
@ -227,7 +238,7 @@ namespace FineUIPro.Web.HJGL.WeldingManage {
|
|||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Panel panelBottomRegion;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// TabStrip1 控件。
|
||||
/// </summary>
|
||||
|
|
@ -236,7 +247,7 @@ namespace FineUIPro.Web.HJGL.WeldingManage {
|
|||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TabStrip TabStrip1;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// TabJoint 控件。
|
||||
/// </summary>
|
||||
|
|
@ -245,7 +256,7 @@ namespace FineUIPro.Web.HJGL.WeldingManage {
|
|||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Tab TabJoint;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Grid3 控件。
|
||||
/// </summary>
|
||||
|
|
@ -254,7 +265,7 @@ namespace FineUIPro.Web.HJGL.WeldingManage {
|
|||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Grid Grid3;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// TabPipeMat 控件。
|
||||
/// </summary>
|
||||
|
|
@ -263,7 +274,7 @@ namespace FineUIPro.Web.HJGL.WeldingManage {
|
|||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Tab TabPipeMat;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Grid2 控件。
|
||||
/// </summary>
|
||||
|
|
@ -272,7 +283,7 @@ namespace FineUIPro.Web.HJGL.WeldingManage {
|
|||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Grid Grid2;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Window1 控件。
|
||||
/// </summary>
|
||||
|
|
@ -281,7 +292,7 @@ namespace FineUIPro.Web.HJGL.WeldingManage {
|
|||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Window Window1;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Window2 控件。
|
||||
/// </summary>
|
||||
|
|
@ -290,7 +301,7 @@ namespace FineUIPro.Web.HJGL.WeldingManage {
|
|||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Window Window2;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Window3 控件。
|
||||
/// </summary>
|
||||
|
|
@ -299,7 +310,7 @@ namespace FineUIPro.Web.HJGL.WeldingManage {
|
|||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Window Window3;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Window4 控件。
|
||||
/// </summary>
|
||||
|
|
@ -308,7 +319,7 @@ namespace FineUIPro.Web.HJGL.WeldingManage {
|
|||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Window Window4;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Window5 控件。
|
||||
/// </summary>
|
||||
|
|
@ -317,7 +328,7 @@ namespace FineUIPro.Web.HJGL.WeldingManage {
|
|||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Window Window5;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Menu1 控件。
|
||||
/// </summary>
|
||||
|
|
@ -326,7 +337,7 @@ namespace FineUIPro.Web.HJGL.WeldingManage {
|
|||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Menu Menu1;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// btnMenuPipeLineEdit 控件。
|
||||
/// </summary>
|
||||
|
|
@ -335,7 +346,7 @@ namespace FineUIPro.Web.HJGL.WeldingManage {
|
|||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.MenuButton btnMenuPipeLineEdit;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// btnMenuPipeLineDelete 控件。
|
||||
/// </summary>
|
||||
|
|
@ -344,7 +355,7 @@ namespace FineUIPro.Web.HJGL.WeldingManage {
|
|||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.MenuButton btnMenuPipeLineDelete;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Menu2 控件。
|
||||
/// </summary>
|
||||
|
|
@ -353,7 +364,7 @@ namespace FineUIPro.Web.HJGL.WeldingManage {
|
|||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Menu Menu2;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// btnDelMat 控件。
|
||||
/// </summary>
|
||||
|
|
@ -362,7 +373,7 @@ namespace FineUIPro.Web.HJGL.WeldingManage {
|
|||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.MenuButton btnDelMat;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Menu3 控件。
|
||||
/// </summary>
|
||||
|
|
@ -371,7 +382,7 @@ namespace FineUIPro.Web.HJGL.WeldingManage {
|
|||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Menu Menu3;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// btnMenuEdit 控件。
|
||||
/// </summary>
|
||||
|
|
@ -380,7 +391,7 @@ namespace FineUIPro.Web.HJGL.WeldingManage {
|
|||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.MenuButton btnMenuEdit;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// btnMenuInsert 控件。
|
||||
/// </summary>
|
||||
|
|
@ -389,7 +400,7 @@ namespace FineUIPro.Web.HJGL.WeldingManage {
|
|||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.MenuButton btnMenuInsert;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// btnView 控件。
|
||||
/// </summary>
|
||||
|
|
@ -398,7 +409,7 @@ namespace FineUIPro.Web.HJGL.WeldingManage {
|
|||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.MenuButton btnView;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// btnMenuDelete 控件。
|
||||
/// </summary>
|
||||
|
|
|
|||
|
|
@ -91,43 +91,43 @@
|
|||
<f:RenderField ColumnID="ProjectCode" DataField="ProjectCode" Width="180px" FieldType="String" HeaderText="项目代码" TextAlign="Center"
|
||||
HeaderTextAlign="Center">
|
||||
</f:RenderField>
|
||||
<f:RenderField ColumnID="ContractNum" DataField="ContractNum" Width="180px" FieldType="String" HeaderText="线上或线下" TextAlign="Center"
|
||||
<f:RenderField ColumnID="IsOnLine" DataField="IsOnLine" Width="180px" FieldType="String" HeaderText="线上或线下" TextAlign="Center"
|
||||
HeaderTextAlign="Center">
|
||||
</f:RenderField>
|
||||
<f:RenderField ColumnID="ContractName" DataField="ContractName" Width="180px" FieldType="String" HeaderText="招标方式" TextAlign="Center"
|
||||
<f:RenderField ColumnID="BidType" DataField="BidType" Width="180px" FieldType="String" HeaderText="招标方式" TextAlign="Center"
|
||||
HeaderTextAlign="Center">
|
||||
</f:RenderField>
|
||||
<f:RenderField ColumnID="ContractType" DataField="ContractType" Width="150px" FieldType="String" HeaderText="实施计划编号" TextAlign="Center"
|
||||
<f:RenderField ColumnID="ActionPlanCode" DataField="ContractType" Width="150px" FieldType="String" HeaderText="实施计划编号" TextAlign="Center"
|
||||
HeaderTextAlign="Center">
|
||||
</f:RenderField>
|
||||
<f:RenderField ColumnID="ContractAmount" DataField="ContractAmount" Width="120px" FieldType="String" HeaderText="招标文件编号" TextAlign="Center"
|
||||
<f:RenderField ColumnID="BidDocumentsCode" DataField="BidDocumentsCode" Width="120px" FieldType="String" HeaderText="招标文件编号" TextAlign="Center"
|
||||
HeaderTextAlign="Center">
|
||||
</f:RenderField>
|
||||
<f:RenderField ColumnID="Status" DataField="Status" Width="150px" FieldType="String" HeaderText="招标工程" TextAlign="Center"
|
||||
<f:RenderField ColumnID="BidProject" DataField="BidProject" Width="150px" FieldType="String" HeaderText="招标工程" TextAlign="Center"
|
||||
HeaderTextAlign="Center">
|
||||
</f:RenderField>
|
||||
<f:RenderField ColumnID="ContactUnitOfPartyA" DataField="ContactUnitOfPartyA" Width="150px" FieldType="String" HeaderText="短名单审批表" TextAlign="Center"
|
||||
<f:RenderField ColumnID="ShortListApprovalCode" DataField="ShortListApprovalCode" Width="150px" FieldType="String" HeaderText="短名单审批表" TextAlign="Center"
|
||||
HeaderTextAlign="Center">
|
||||
</f:RenderField>
|
||||
<f:RenderField ColumnID="ContactPersonOfPartyA" DataField="ContactPersonOfPartyA" Width="150px" FieldType="String" HeaderText="拟邀请单位" TextAlign="Center"
|
||||
<f:RenderField ColumnID="ProposedInviter" DataField="ProposedInviter" Width="150px" FieldType="String" HeaderText="拟邀请单位" TextAlign="Center"
|
||||
HeaderTextAlign="Center">
|
||||
</f:RenderField>
|
||||
<f:RenderField ColumnID="SubConstruction" DataField="SubConstruction" Width="120px" FieldType="String" HeaderText="发标时间" TextAlign="Center"
|
||||
<f:RenderField ColumnID="Bidding_SendTime" DataField="Bidding_SendTime" Width="120px" FieldType="String" HeaderText="发标时间" TextAlign="Center"
|
||||
HeaderTextAlign="Center">
|
||||
</f:RenderField>
|
||||
<f:RenderField ColumnID="Bank1" DataField="Bank1" Width="120px" FieldType="String" HeaderText="开标时间" TextAlign="Center"
|
||||
<f:RenderField ColumnID="Bidding_StartTime" DataField="Bidding_StartTime" Width="120px" FieldType="String" HeaderText="开标时间" TextAlign="Center"
|
||||
HeaderTextAlign="Center">
|
||||
</f:RenderField>
|
||||
<f:RenderField ColumnID="Account1" DataField="Account1" Width="150px" FieldType="String" HeaderText="评委名单审批表编号" TextAlign="Center"
|
||||
<f:RenderField ColumnID="ApprovePersonFormCode" DataField="Account1" Width="150px" FieldType="String" HeaderText="评委名单审批表编号" TextAlign="Center"
|
||||
HeaderTextAlign="Center">
|
||||
</f:RenderField>
|
||||
<f:RenderField ColumnID="ContactPersonOfPartyB" DataField="ContactPersonOfPartyB" Width="150px" FieldType="String" HeaderText="中标单位" TextAlign="Center"
|
||||
<f:RenderField ColumnID="BidWinner" DataField="BidWinner" Width="150px" FieldType="String" HeaderText="中标单位" TextAlign="Center"
|
||||
HeaderTextAlign="Center">
|
||||
</f:RenderField>
|
||||
<f:RenderField ColumnID="ContactPersonPhoneOfPartyB" DataField="ContactPersonPhoneOfPartyB" Width="150px" FieldType="String" HeaderText="确定中标人审批表编号" TextAlign="Center"
|
||||
<f:RenderField ColumnID="SetSubReviewCode" DataField="SetSubReviewCode" Width="150px" FieldType="String" HeaderText="确定中标人审批表编号" TextAlign="Center"
|
||||
HeaderTextAlign="Center">
|
||||
</f:RenderField>
|
||||
<f:RenderField ColumnID="ContactPersonEmailOfPartyB" DataField="ContactPersonEmailOfPartyB" Width="150px" FieldType="String" HeaderText="中标通知书" TextAlign="Center"
|
||||
<f:RenderField ColumnID="BidWinningNotice" DataField="BidWinningNotice" Width="150px" FieldType="String" HeaderText="中标通知书" TextAlign="Center"
|
||||
HeaderTextAlign="Center">
|
||||
</f:RenderField>
|
||||
<f:RenderField ColumnID="ContractAmountExcludingTax" DataField="ContractAmountExcludingTax" Width="150px" FieldType="String" HeaderText="中标单位投标文件" TextAlign="Center"
|
||||
|
|
|
|||
|
|
@ -250,7 +250,7 @@ namespace FineUIPro.Web.PHTGL.Filing
|
|||
{
|
||||
return;
|
||||
}
|
||||
var buttonList = CommonService.GetAllButtonList(CurrUser.LoginProjectId, CurrUser.PersonId, Const.ContractFormation);
|
||||
var buttonList = CommonService.GetAllButtonList(CurrUser.LoginProjectId, CurrUser.PersonId, Const.BidDocumentsStandingBookMenuId);
|
||||
if (buttonList.Count() > 0)
|
||||
{
|
||||
if (buttonList.Contains(Const.BtnAdd))
|
||||
|
|
|
|||
|
|
@ -0,0 +1,129 @@
|
|||
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="BidDocumentsStandingBookEdit.aspx.cs" Inherits="FineUIPro.Web.PHTGL.Filing.BidDocumentsStandingBookEdit" %>
|
||||
|
||||
<!DOCTYPE html>
|
||||
|
||||
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head runat="server">
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
||||
<title></title>
|
||||
<link href="../res/css/common.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
<form id="form1" runat="server">
|
||||
<f:PageManager ID="PageManager1" AutoSizePanelID="SimpleForm1" runat="server" />
|
||||
<f:Form ID="SimpleForm1" ShowBorder="false" ShowHeader="false" AutoScroll="true"
|
||||
BodyPadding="10px" runat="server" RedStarPosition="BeforeText" LabelAlign="Right">
|
||||
<Rows>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:TextBox ID="txtEPCCode" runat="server" Label="总承包合同编号" MaxLength="200" >
|
||||
</f:TextBox>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:TextBox ID="txtProjectShortName" runat="server" Label="项目名称" MaxLength="200" >
|
||||
</f:TextBox>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:TextBox ID="txtProjectCode" runat="server" Label="项目代码" MaxLength="200" >
|
||||
</f:TextBox>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:NumberBox ID="txtIsOnLine" runat="server" Label="线上或线下" NoDecimal="true" NoNegative="true" >
|
||||
</f:NumberBox>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:TextBox ID="txtBidType" runat="server" Label="招标方式" MaxLength="200" >
|
||||
</f:TextBox>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:TextBox ID="txtActionPlanCode" runat="server" Label="实施计划编号" MaxLength="200" >
|
||||
</f:TextBox>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:TextBox ID="txtBidDocumentsCode" runat="server" Label="招标文件编号" MaxLength="200" >
|
||||
</f:TextBox>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:TextBox ID="txtBidProject" runat="server" Label="招标工程" MaxLength="200" >
|
||||
</f:TextBox>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:TextBox ID="txtShortListApprovalCode" runat="server" Label="短名单审批表" MaxLength="200" >
|
||||
</f:TextBox>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:TextBox ID="txtProposedInviter" runat="server" Label="拟邀请单位" MaxLength="200" >
|
||||
</f:TextBox>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:DatePicker runat="server" Label="发标时间" ID="txtBidding_SendTime"></f:DatePicker>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:DatePicker runat="server" Label="开标时间" ID="txtBidding_StartTime"></f:DatePicker>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:TextBox ID="txtApprovePersonFormCode" runat="server" Label="评委名单审批表编号" MaxLength="200" >
|
||||
</f:TextBox>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:TextBox ID="txtBidWinner" runat="server" Label="中标单位" MaxLength="200" >
|
||||
</f:TextBox>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:TextBox ID="txtSetSubReviewCode" runat="server" Label="确定中标人审批表编号" MaxLength="200" >
|
||||
</f:TextBox>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
|
||||
</Rows>
|
||||
<Toolbars>
|
||||
<f:Toolbar ID="Toolbar1" Position="Bottom" ToolbarAlign="Right" runat="server">
|
||||
<Items>
|
||||
<f:ToolbarFill runat="server"></f:ToolbarFill>
|
||||
<f:Button ID="btnSave" Icon="SystemSave" runat="server" Text="保存" ValidateForms="SimpleForm1"
|
||||
OnClick="btnSave_Click">
|
||||
</f:Button>
|
||||
<f:Button ID="btnClose" EnablePostBack="false" ToolTip="关闭" Text="关闭" runat="server" Icon="SystemClose">
|
||||
</f:Button>
|
||||
</Items>
|
||||
</f:Toolbar>
|
||||
</Toolbars>
|
||||
</f:Form>
|
||||
<f:Window ID="Window1" Title="弹出窗体" Hidden="true" EnableIFrame="true" EnableMaximize="true"
|
||||
Target="Parent" EnableResize="false" runat="server" IsModal="true" Width="700px"
|
||||
Height="500px">
|
||||
</f:Window>
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
|
||||
|
|
@ -0,0 +1,131 @@
|
|||
using BLL;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
using BLL;
|
||||
|
||||
namespace FineUIPro.Web.PHTGL.Filing
|
||||
{
|
||||
public partial class BidDocumentsStandingBookEdit: PageBase
|
||||
{
|
||||
#region
|
||||
/// <summary>
|
||||
/// 主键
|
||||
/// </summary>
|
||||
public string BidDocumentsStandingBookId
|
||||
{
|
||||
get
|
||||
{
|
||||
return (string)ViewState["BidDocumentsStandingBookId"];
|
||||
}
|
||||
set
|
||||
{
|
||||
ViewState["BidDocumentsStandingBookId"] = value;
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
if (!IsPostBack)
|
||||
{
|
||||
this.btnClose.OnClientClick = ActiveWindow.GetHideReference();
|
||||
////权限按钮方法
|
||||
this.GetButtonPower();
|
||||
this.BidDocumentsStandingBookId = Request.Params["BidDocumentsStandingBookId"];
|
||||
if (!string.IsNullOrEmpty(this.BidDocumentsStandingBookId))
|
||||
{
|
||||
Model.PHTGL_BidDocumentsStandingBook model = BLL.BidDocStandingBookService.GetPHTGL_BidDocumentsStandingBookById(this.BidDocumentsStandingBookId);
|
||||
if (model != null)
|
||||
{
|
||||
this.txtEPCCode.Text = model.EPCCode;
|
||||
this.txtProjectShortName.Text = model.ProjectShortName;
|
||||
this.txtProjectCode.Text = model.ProjectCode;
|
||||
if (model.IsOnLine.HasValue)
|
||||
{
|
||||
this.txtIsOnLine.Text = model.IsOnLine.Value.ToString();
|
||||
}
|
||||
this.txtBidType.Text = model.BidType;
|
||||
this.txtActionPlanCode.Text = model.ActionPlanCode;
|
||||
this.txtBidDocumentsCode.Text = model.BidDocumentsCode;
|
||||
this.txtBidProject.Text = model.BidProject;
|
||||
this.txtShortListApprovalCode.Text = model.ShortListApprovalCode;
|
||||
this.txtProposedInviter.Text = model.ProposedInviter;
|
||||
if (model.Bidding_SendTime != null)
|
||||
{
|
||||
this.txtBidding_SendTime.Text = string.Format("{0:yyyy-MM-dd}", model.Bidding_SendTime);
|
||||
}
|
||||
if (model.Bidding_StartTime != null)
|
||||
{
|
||||
this.txtBidding_StartTime.Text = string.Format("{0:yyyy-MM-dd}", model.Bidding_StartTime);
|
||||
}
|
||||
this.txtApprovePersonFormCode.Text = model.ApprovePersonFormCode;
|
||||
this.txtBidWinner.Text = model.BidWinner;
|
||||
this.txtSetSubReviewCode.Text = model.SetSubReviewCode;
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 保存按钮
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void btnSave_Click(object sender, EventArgs e)
|
||||
{
|
||||
Model.PHTGL_BidDocumentsStandingBook table = new Model.PHTGL_BidDocumentsStandingBook();
|
||||
table.EPCCode = this.txtEPCCode.Text;
|
||||
table.ProjectShortName = this.txtProjectShortName.Text;
|
||||
table.ProjectCode = this.txtProjectCode.Text;
|
||||
table.IsOnLine = Funs.GetNewInt(this.txtIsOnLine.Text);
|
||||
table.BidType = this.txtBidType.Text;
|
||||
table.ActionPlanCode = this.txtActionPlanCode.Text;
|
||||
table.BidDocumentsCode = this.txtBidDocumentsCode.Text;
|
||||
table.BidProject = this.txtBidProject.Text;
|
||||
table.ShortListApprovalCode = this.txtShortListApprovalCode.Text;
|
||||
table.ProposedInviter = this.txtProposedInviter.Text;
|
||||
table.Bidding_SendTime = this.txtBidding_SendTime.SelectedDate;
|
||||
table.Bidding_StartTime = this.txtBidding_StartTime.SelectedDate;
|
||||
table.ApprovePersonFormCode = this.txtApprovePersonFormCode.Text;
|
||||
table.BidWinner = this.txtBidWinner.Text;
|
||||
table.SetSubReviewCode = this.txtSetSubReviewCode.Text;
|
||||
if (string.IsNullOrEmpty(this.BidDocumentsStandingBookId))
|
||||
{
|
||||
table.BidDocumentsStandingBookId = SQLHelper.GetNewID(typeof(Model.PHTGL_BidDocumentsStandingBook));
|
||||
BLL.BidDocStandingBookService.AddPHTGL_BidDocumentsStandingBook(table);
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
table.BidDocumentsStandingBookId = this.BidDocumentsStandingBookId;
|
||||
BLL.BidDocStandingBookService.UpdatePHTGL_BidDocumentsStandingBook(table);
|
||||
}
|
||||
PageContext.RegisterStartupScript(ActiveWindow.GetHideRefreshReference());
|
||||
}
|
||||
|
||||
#region 获取按钮权限
|
||||
/// <summary>
|
||||
/// 获取按钮权限
|
||||
/// </summary>
|
||||
/// <param name="button"></param>
|
||||
/// <returns></returns>
|
||||
private void GetButtonPower()
|
||||
{
|
||||
var buttonList = BLL.CommonService.GetAllButtonList(this.CurrUser.LoginProjectId, this.CurrUser.PersonId, BLL.Const.BidDocumentsStandingBookMenuId);
|
||||
if (buttonList.Count() > 0)
|
||||
{
|
||||
if (buttonList.Contains(BLL.Const.BtnSave))
|
||||
{
|
||||
this.btnSave.Hidden = false;
|
||||
}
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
|
||||
}
|
||||
}
|
||||
215
SGGL/FineUIPro.Web/PHTGL/Filing/BidDocumentsStandingBookEdit.aspx.designer.cs
generated
Normal file
215
SGGL/FineUIPro.Web/PHTGL/Filing/BidDocumentsStandingBookEdit.aspx.designer.cs
generated
Normal file
|
|
@ -0,0 +1,215 @@
|
|||
//------------------------------------------------------------------------------
|
||||
// <自动生成>
|
||||
// 此代码由工具生成。
|
||||
//
|
||||
// 对此文件的更改可能导致不正确的行为,如果
|
||||
// 重新生成代码,则所做更改将丢失。
|
||||
// </自动生成>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace FineUIPro.Web.PHTGL.Filing
|
||||
{
|
||||
|
||||
|
||||
public partial class BidDocumentsStandingBookEdit
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// form1 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.HtmlControls.HtmlForm form1;
|
||||
|
||||
/// <summary>
|
||||
/// PageManager1 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.PageManager PageManager1;
|
||||
|
||||
/// <summary>
|
||||
/// SimpleForm1 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Form SimpleForm1;
|
||||
|
||||
/// <summary>
|
||||
/// txtEPCCode 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtEPCCode;
|
||||
|
||||
/// <summary>
|
||||
/// txtProjectShortName 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtProjectShortName;
|
||||
|
||||
/// <summary>
|
||||
/// txtProjectCode 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtProjectCode;
|
||||
|
||||
/// <summary>
|
||||
/// txtIsOnLine 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.NumberBox txtIsOnLine;
|
||||
|
||||
/// <summary>
|
||||
/// txtBidType 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtBidType;
|
||||
|
||||
/// <summary>
|
||||
/// txtActionPlanCode 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtActionPlanCode;
|
||||
|
||||
/// <summary>
|
||||
/// txtBidDocumentsCode 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtBidDocumentsCode;
|
||||
|
||||
/// <summary>
|
||||
/// txtBidProject 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtBidProject;
|
||||
|
||||
/// <summary>
|
||||
/// txtShortListApprovalCode 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtShortListApprovalCode;
|
||||
|
||||
/// <summary>
|
||||
/// txtProposedInviter 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtProposedInviter;
|
||||
|
||||
/// <summary>
|
||||
/// txtBidding_SendTime 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.DatePicker txtBidding_SendTime;
|
||||
|
||||
/// <summary>
|
||||
/// txtBidding_StartTime 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.DatePicker txtBidding_StartTime;
|
||||
|
||||
/// <summary>
|
||||
/// txtApprovePersonFormCode 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtApprovePersonFormCode;
|
||||
|
||||
/// <summary>
|
||||
/// txtBidWinner 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtBidWinner;
|
||||
|
||||
/// <summary>
|
||||
/// txtSetSubReviewCode 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtSetSubReviewCode;
|
||||
|
||||
/// <summary>
|
||||
/// Toolbar1 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Toolbar Toolbar1;
|
||||
|
||||
/// <summary>
|
||||
/// btnSave 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Button btnSave;
|
||||
|
||||
/// <summary>
|
||||
/// btnClose 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Button btnClose;
|
||||
|
||||
/// <summary>
|
||||
/// Window1 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Window Window1;
|
||||
}
|
||||
}
|
||||
|
|
@ -7,9 +7,8 @@ namespace FineUIPro.Web
|
|||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
ctlAuditFlow.Url = BLL.Project_SysSetService.GetAvevaNetUrl(this.CurrUser.LoginProjectId);
|
||||
ctlAuditFlow.Url_item = BLL.Project_SysSetService.GetAvevaNetUrl_Item(this.CurrUser.LoginProjectId) ;
|
||||
PipelineService.RestPipelineAndJoints(this.CurrUser.LoginProjectId);
|
||||
|
||||
ctlAuditFlow.Url_item = BLL.Project_SysSetService.GetAvevaNetUrl_Item(this.CurrUser.LoginProjectId);
|
||||
// PipelineService.RestPipelineAndJoints(this.CurrUser.LoginProjectId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -914,6 +914,9 @@ namespace Model
|
|||
partial void InsertPHTGL_BidDocumentsReview(PHTGL_BidDocumentsReview instance);
|
||||
partial void UpdatePHTGL_BidDocumentsReview(PHTGL_BidDocumentsReview instance);
|
||||
partial void DeletePHTGL_BidDocumentsReview(PHTGL_BidDocumentsReview instance);
|
||||
partial void InsertPHTGL_BidDocumentsStandingBook(PHTGL_BidDocumentsStandingBook instance);
|
||||
partial void UpdatePHTGL_BidDocumentsStandingBook(PHTGL_BidDocumentsStandingBook instance);
|
||||
partial void DeletePHTGL_BidDocumentsStandingBook(PHTGL_BidDocumentsStandingBook instance);
|
||||
partial void InsertPHTGL_Contract(PHTGL_Contract instance);
|
||||
partial void UpdatePHTGL_Contract(PHTGL_Contract instance);
|
||||
partial void DeletePHTGL_Contract(PHTGL_Contract instance);
|
||||
|
|
@ -3856,6 +3859,14 @@ namespace Model
|
|||
}
|
||||
}
|
||||
|
||||
public System.Data.Linq.Table<PHTGL_BidDocumentsStandingBook> PHTGL_BidDocumentsStandingBook
|
||||
{
|
||||
get
|
||||
{
|
||||
return this.GetTable<PHTGL_BidDocumentsStandingBook>();
|
||||
}
|
||||
}
|
||||
|
||||
public System.Data.Linq.Table<PHTGL_Contract> PHTGL_Contract
|
||||
{
|
||||
get
|
||||
|
|
@ -142315,6 +142326,428 @@ namespace Model
|
|||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.PHTGL_BidDocumentsStandingBook")]
|
||||
public partial class PHTGL_BidDocumentsStandingBook : INotifyPropertyChanging, INotifyPropertyChanged
|
||||
{
|
||||
|
||||
private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
|
||||
|
||||
private string _BidDocumentsStandingBookId;
|
||||
|
||||
private string _EPCCode;
|
||||
|
||||
private string _ProjectShortName;
|
||||
|
||||
private string _ProjectCode;
|
||||
|
||||
private System.Nullable<int> _IsOnLine;
|
||||
|
||||
private string _BidType;
|
||||
|
||||
private string _ActionPlanCode;
|
||||
|
||||
private string _BidDocumentsCode;
|
||||
|
||||
private string _BidProject;
|
||||
|
||||
private string _ShortListApprovalCode;
|
||||
|
||||
private string _ProposedInviter;
|
||||
|
||||
private System.Nullable<System.DateTime> _Bidding_SendTime;
|
||||
|
||||
private System.Nullable<System.DateTime> _Bidding_StartTime;
|
||||
|
||||
private string _ApprovePersonFormCode;
|
||||
|
||||
private string _BidWinner;
|
||||
|
||||
private string _SetSubReviewCode;
|
||||
|
||||
#region 可扩展性方法定义
|
||||
partial void OnLoaded();
|
||||
partial void OnValidate(System.Data.Linq.ChangeAction action);
|
||||
partial void OnCreated();
|
||||
partial void OnBidDocumentsStandingBookIdChanging(string value);
|
||||
partial void OnBidDocumentsStandingBookIdChanged();
|
||||
partial void OnEPCCodeChanging(string value);
|
||||
partial void OnEPCCodeChanged();
|
||||
partial void OnProjectShortNameChanging(string value);
|
||||
partial void OnProjectShortNameChanged();
|
||||
partial void OnProjectCodeChanging(string value);
|
||||
partial void OnProjectCodeChanged();
|
||||
partial void OnIsOnLineChanging(System.Nullable<int> value);
|
||||
partial void OnIsOnLineChanged();
|
||||
partial void OnBidTypeChanging(string value);
|
||||
partial void OnBidTypeChanged();
|
||||
partial void OnActionPlanCodeChanging(string value);
|
||||
partial void OnActionPlanCodeChanged();
|
||||
partial void OnBidDocumentsCodeChanging(string value);
|
||||
partial void OnBidDocumentsCodeChanged();
|
||||
partial void OnBidProjectChanging(string value);
|
||||
partial void OnBidProjectChanged();
|
||||
partial void OnShortListApprovalCodeChanging(string value);
|
||||
partial void OnShortListApprovalCodeChanged();
|
||||
partial void OnProposedInviterChanging(string value);
|
||||
partial void OnProposedInviterChanged();
|
||||
partial void OnBidding_SendTimeChanging(System.Nullable<System.DateTime> value);
|
||||
partial void OnBidding_SendTimeChanged();
|
||||
partial void OnBidding_StartTimeChanging(System.Nullable<System.DateTime> value);
|
||||
partial void OnBidding_StartTimeChanged();
|
||||
partial void OnApprovePersonFormCodeChanging(string value);
|
||||
partial void OnApprovePersonFormCodeChanged();
|
||||
partial void OnBidWinnerChanging(string value);
|
||||
partial void OnBidWinnerChanged();
|
||||
partial void OnSetSubReviewCodeChanging(string value);
|
||||
partial void OnSetSubReviewCodeChanged();
|
||||
#endregion
|
||||
|
||||
public PHTGL_BidDocumentsStandingBook()
|
||||
{
|
||||
OnCreated();
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_BidDocumentsStandingBookId", DbType="VarChar(100) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
|
||||
public string BidDocumentsStandingBookId
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._BidDocumentsStandingBookId;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._BidDocumentsStandingBookId != value))
|
||||
{
|
||||
this.OnBidDocumentsStandingBookIdChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._BidDocumentsStandingBookId = value;
|
||||
this.SendPropertyChanged("BidDocumentsStandingBookId");
|
||||
this.OnBidDocumentsStandingBookIdChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EPCCode", DbType="VarChar(100)")]
|
||||
public string EPCCode
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._EPCCode;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._EPCCode != value))
|
||||
{
|
||||
this.OnEPCCodeChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._EPCCode = value;
|
||||
this.SendPropertyChanged("EPCCode");
|
||||
this.OnEPCCodeChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectShortName", DbType="VarChar(100)")]
|
||||
public string ProjectShortName
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._ProjectShortName;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._ProjectShortName != value))
|
||||
{
|
||||
this.OnProjectShortNameChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._ProjectShortName = value;
|
||||
this.SendPropertyChanged("ProjectShortName");
|
||||
this.OnProjectShortNameChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectCode", DbType="VarChar(100)")]
|
||||
public string ProjectCode
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._ProjectCode;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._ProjectCode != value))
|
||||
{
|
||||
this.OnProjectCodeChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._ProjectCode = value;
|
||||
this.SendPropertyChanged("ProjectCode");
|
||||
this.OnProjectCodeChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsOnLine", DbType="Int")]
|
||||
public System.Nullable<int> IsOnLine
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._IsOnLine;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._IsOnLine != value))
|
||||
{
|
||||
this.OnIsOnLineChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._IsOnLine = value;
|
||||
this.SendPropertyChanged("IsOnLine");
|
||||
this.OnIsOnLineChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_BidType", DbType="VarChar(100)")]
|
||||
public string BidType
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._BidType;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._BidType != value))
|
||||
{
|
||||
this.OnBidTypeChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._BidType = value;
|
||||
this.SendPropertyChanged("BidType");
|
||||
this.OnBidTypeChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ActionPlanCode", DbType="VarChar(100)")]
|
||||
public string ActionPlanCode
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._ActionPlanCode;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._ActionPlanCode != value))
|
||||
{
|
||||
this.OnActionPlanCodeChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._ActionPlanCode = value;
|
||||
this.SendPropertyChanged("ActionPlanCode");
|
||||
this.OnActionPlanCodeChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_BidDocumentsCode", DbType="VarChar(100)")]
|
||||
public string BidDocumentsCode
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._BidDocumentsCode;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._BidDocumentsCode != value))
|
||||
{
|
||||
this.OnBidDocumentsCodeChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._BidDocumentsCode = value;
|
||||
this.SendPropertyChanged("BidDocumentsCode");
|
||||
this.OnBidDocumentsCodeChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_BidProject", DbType="VarChar(100)")]
|
||||
public string BidProject
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._BidProject;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._BidProject != value))
|
||||
{
|
||||
this.OnBidProjectChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._BidProject = value;
|
||||
this.SendPropertyChanged("BidProject");
|
||||
this.OnBidProjectChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ShortListApprovalCode", DbType="VarChar(100)")]
|
||||
public string ShortListApprovalCode
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._ShortListApprovalCode;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._ShortListApprovalCode != value))
|
||||
{
|
||||
this.OnShortListApprovalCodeChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._ShortListApprovalCode = value;
|
||||
this.SendPropertyChanged("ShortListApprovalCode");
|
||||
this.OnShortListApprovalCodeChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProposedInviter", DbType="VarChar(100)")]
|
||||
public string ProposedInviter
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._ProposedInviter;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._ProposedInviter != value))
|
||||
{
|
||||
this.OnProposedInviterChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._ProposedInviter = value;
|
||||
this.SendPropertyChanged("ProposedInviter");
|
||||
this.OnProposedInviterChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Bidding_SendTime", DbType="DateTime")]
|
||||
public System.Nullable<System.DateTime> Bidding_SendTime
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._Bidding_SendTime;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._Bidding_SendTime != value))
|
||||
{
|
||||
this.OnBidding_SendTimeChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._Bidding_SendTime = value;
|
||||
this.SendPropertyChanged("Bidding_SendTime");
|
||||
this.OnBidding_SendTimeChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Bidding_StartTime", DbType="DateTime")]
|
||||
public System.Nullable<System.DateTime> Bidding_StartTime
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._Bidding_StartTime;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._Bidding_StartTime != value))
|
||||
{
|
||||
this.OnBidding_StartTimeChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._Bidding_StartTime = value;
|
||||
this.SendPropertyChanged("Bidding_StartTime");
|
||||
this.OnBidding_StartTimeChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ApprovePersonFormCode", DbType="VarChar(100)")]
|
||||
public string ApprovePersonFormCode
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._ApprovePersonFormCode;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._ApprovePersonFormCode != value))
|
||||
{
|
||||
this.OnApprovePersonFormCodeChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._ApprovePersonFormCode = value;
|
||||
this.SendPropertyChanged("ApprovePersonFormCode");
|
||||
this.OnApprovePersonFormCodeChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_BidWinner", DbType="VarChar(100)")]
|
||||
public string BidWinner
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._BidWinner;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._BidWinner != value))
|
||||
{
|
||||
this.OnBidWinnerChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._BidWinner = value;
|
||||
this.SendPropertyChanged("BidWinner");
|
||||
this.OnBidWinnerChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SetSubReviewCode", DbType="VarChar(100)")]
|
||||
public string SetSubReviewCode
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._SetSubReviewCode;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._SetSubReviewCode != value))
|
||||
{
|
||||
this.OnSetSubReviewCodeChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._SetSubReviewCode = value;
|
||||
this.SendPropertyChanged("SetSubReviewCode");
|
||||
this.OnSetSubReviewCodeChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public event PropertyChangingEventHandler PropertyChanging;
|
||||
|
||||
public event PropertyChangedEventHandler PropertyChanged;
|
||||
|
||||
protected virtual void SendPropertyChanging()
|
||||
{
|
||||
if ((this.PropertyChanging != null))
|
||||
{
|
||||
this.PropertyChanging(this, emptyChangingEventArgs);
|
||||
}
|
||||
}
|
||||
|
||||
protected virtual void SendPropertyChanged(String propertyName)
|
||||
{
|
||||
if ((this.PropertyChanged != null))
|
||||
{
|
||||
this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.PHTGL_Contract")]
|
||||
public partial class PHTGL_Contract : INotifyPropertyChanging, INotifyPropertyChanged
|
||||
{
|
||||
|
|
|
|||
|
|
@ -50,8 +50,9 @@
|
|||
<DocumentationFile>bin\WebAPI.xml</DocumentationFile>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="Aspose.Words">
|
||||
<HintPath>..\..\..\..\Development\DepCode\reference-bll\Reference BLL\Aspose.Words.dll</HintPath>
|
||||
<Reference Include="Aspose.Words, Version=10.5.0.0, Culture=neutral, PublicKeyToken=fa9a48344f15a022, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>bin\Aspose.Words.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Microsoft.CSharp" />
|
||||
<Reference Include="Newtonsoft.Json, Version=12.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
|
||||
|
|
|
|||
Loading…
Reference in New Issue