代码无效引用清理,试压包资料界面看板修改
This commit is contained in:
@@ -22,7 +22,7 @@ namespace FineUIPro.Web.ProjectData
|
||||
{
|
||||
if (!IsPostBack)
|
||||
{
|
||||
MainItemId = Request.Params["MainItemId"];
|
||||
MainItemId = Request.Params["MainItemId"];
|
||||
var MainItem = Funs.DB.ProjectData_MainItem.FirstOrDefault(x => x.MainItemId == MainItemId);
|
||||
if (MainItem != null)
|
||||
{
|
||||
@@ -32,7 +32,7 @@ namespace FineUIPro.Web.ProjectData
|
||||
ProjectCode = BLL.ProjectService.GetProjectCodeByProjectId(this.CurrUser.LoginProjectId);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
#region 保存事件
|
||||
/// <summary>
|
||||
@@ -42,10 +42,10 @@ namespace FineUIPro.Web.ProjectData
|
||||
/// <param name="e"></param>
|
||||
protected void btnSave_Click(object sender, EventArgs e)
|
||||
{
|
||||
var MainItem = Funs.DB.ProjectData_MainItem.FirstOrDefault(x => x.MainItemId == MainItemId);
|
||||
var MainItem = Funs.DB.ProjectData_MainItem.FirstOrDefault(x => x.MainItemId == MainItemId);
|
||||
if (MainItem != null)
|
||||
{
|
||||
MainItem.Coordinate=txtLoc.Text.Trim();
|
||||
MainItem.Coordinate = txtLoc.Text.Trim();
|
||||
Funs.DB.SubmitChanges();
|
||||
}
|
||||
PageContext.RegisterStartupScript(ActiveWindow.GetWriteBackValueReference(txtLoc.Text.Trim())
|
||||
@@ -53,6 +53,6 @@ namespace FineUIPro.Web.ProjectData
|
||||
}
|
||||
#endregion
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
@@ -1,10 +1,9 @@
|
||||
using BLL;
|
||||
using Model;
|
||||
using System;
|
||||
using System.Linq;
|
||||
using System.ServiceModel;
|
||||
using System.Text.RegularExpressions;
|
||||
using System.Data;
|
||||
using System.Linq;
|
||||
using System.Text.RegularExpressions;
|
||||
|
||||
namespace FineUIPro.Web.ProjectData
|
||||
{
|
||||
|
||||
@@ -579,7 +579,7 @@ namespace FineUIPro.Web.common.ProjectSet
|
||||
this.AvevaNetUrl.Text = s.SetValue;
|
||||
}
|
||||
else if (s.SetId == "10")
|
||||
{
|
||||
{
|
||||
if (s.IsAuto == true)
|
||||
{
|
||||
this.ckPressMustCheckBItem.Checked = true;
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
using BLL;
|
||||
using System;
|
||||
using System.Data;
|
||||
using System.Linq;
|
||||
|
||||
namespace FineUIPro.Web.ProjectData
|
||||
{
|
||||
@@ -178,7 +176,7 @@ namespace FineUIPro.Web.ProjectData
|
||||
/// </summary>
|
||||
private void BindGrid()
|
||||
{
|
||||
this.Grid1.DataSource =ProjectUnitService.GetProjectUnitItemList(this.ProjectId, this.UnitId);
|
||||
this.Grid1.DataSource = ProjectUnitService.GetProjectUnitItemList(this.ProjectId, this.UnitId);
|
||||
this.Grid1.PageIndex = 0;
|
||||
this.Grid1.DataBind();
|
||||
}
|
||||
@@ -204,7 +202,7 @@ namespace FineUIPro.Web.ProjectData
|
||||
reSetTable(true);
|
||||
var trainTypeItem = ProjectUnitService.GetProjectUnitItemById(Grid1.SelectedRowID);
|
||||
if (trainTypeItem != null)
|
||||
{
|
||||
{
|
||||
this.txtContractNum.Text = trainTypeItem.ContractNum.ToString();
|
||||
this.txtTotalMoney.Text = trainTypeItem.TotalMoney.ToString();
|
||||
this.txtHSEMoney.Text = trainTypeItem.HSEMoney.ToString();
|
||||
@@ -263,7 +261,7 @@ namespace FineUIPro.Web.ProjectData
|
||||
reSetTable(false);
|
||||
this.ShowNotify("保存成功!", MessageBoxIcon.Success);
|
||||
this.BindGrid();
|
||||
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
@@ -73,7 +73,7 @@ namespace FineUIPro.Web.ProjectData
|
||||
|
||||
this.BindGrid(projectUnit.ProjectId, projectUnit.UnitId);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -101,7 +101,7 @@ namespace FineUIPro.Web.ProjectData
|
||||
UnitWork.UnitWorkName = this.txtUnitWorkName.Text.Trim();
|
||||
if (this.drpUnit.SelectedValue != BLL.Const._Null)
|
||||
{
|
||||
UnitWork.UnitId =string.Join(",", this.drpUnit.SelectedValueArray) ;
|
||||
UnitWork.UnitId = string.Join(",", this.drpUnit.SelectedValueArray);
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -165,7 +165,7 @@ namespace FineUIPro.Web.ProjectData
|
||||
}
|
||||
protected void btnMap_Click(object sender, EventArgs e)
|
||||
{
|
||||
PageContext.RegisterStartupScript ( Window2.GetShowReference(String.Format("LocationSelect.aspx?unitWorkId=" + Request.Params["UnitWorkId"])));
|
||||
PageContext.RegisterStartupScript(Window2.GetShowReference(String.Format("LocationSelect.aspx?unitWorkId=" + Request.Params["UnitWorkId"])));
|
||||
}
|
||||
#region 关闭窗口
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user