代码无效引用清理,试压包资料界面看板修改
This commit is contained in:
@@ -1,12 +1,7 @@
|
||||
using BLL;
|
||||
using FineUIPro.Web.PHTGL.ContractCompile;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Data;
|
||||
using System.Data.SqlClient;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
|
||||
namespace FineUIPro.Web.PHTGL.Filing
|
||||
@@ -37,10 +32,10 @@ namespace FineUIPro.Web.PHTGL.Filing
|
||||
/// </summary>
|
||||
private void BindGrid()
|
||||
{
|
||||
var model = new Model.PHTGL_ContractStandingBook();
|
||||
var model = new Model.PHTGL_ContractStandingBook();
|
||||
var RoleIds = this.CurrUser.RoleIds;
|
||||
|
||||
|
||||
|
||||
if (this.CurrUser.PersonId == Const.hfnbdId || this.CurrUser.PersonId == Const.sysglyId)
|
||||
{
|
||||
|
||||
@@ -56,15 +51,15 @@ namespace FineUIPro.Web.PHTGL.Filing
|
||||
else if (RoleIds.Contains(Const.SedinHTGLDepartManager) && !string.IsNullOrEmpty(RoleIds))
|
||||
{
|
||||
model.UnitId = this.CurrUser.UnitId;
|
||||
model.DepartId= this.CurrUser.DepartId;
|
||||
model.DepartId = this.CurrUser.DepartId;
|
||||
|
||||
}
|
||||
|
||||
|
||||
else
|
||||
{
|
||||
model.UnitId = "normal";
|
||||
}
|
||||
|
||||
|
||||
if (!string.IsNullOrEmpty(txtContractName.Text.Trim()))
|
||||
{
|
||||
model.ContractName = txtContractName.Text.Trim();
|
||||
@@ -73,11 +68,11 @@ namespace FineUIPro.Web.PHTGL.Filing
|
||||
{
|
||||
model.States = Funs.GetNewInt(dropState.SelectedValue);
|
||||
}
|
||||
var list= BLL.ContractStandingBookService.GetPHTGL_ContractStandingBookByModle( model);
|
||||
var list = BLL.ContractStandingBookService.GetPHTGL_ContractStandingBookByModle(model);
|
||||
//var list= BLL.ContractStandingBookService.getListData( model, Grid1);
|
||||
if (drpDepartId.SelectedValue != Const._Null)
|
||||
{
|
||||
list=list.Where(d => d.DepartId==drpDepartId.SelectedValue). ToList();
|
||||
list = list.Where(d => d.DepartId == drpDepartId.SelectedValue).ToList();
|
||||
}
|
||||
Grid1.RecordCount = list.Count;
|
||||
var table = this.GetPagedDataTable(Grid1, list);
|
||||
@@ -182,8 +177,8 @@ namespace FineUIPro.Web.PHTGL.Filing
|
||||
dropState.SelectedValue = Const._Null;
|
||||
//txtSubConstruction.Text = string.Empty;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 状态
|
||||
/// </summary>
|
||||
@@ -290,13 +285,13 @@ namespace FineUIPro.Web.PHTGL.Filing
|
||||
}
|
||||
// BLL.LogService.AddSys_Log(this.CurrUser, p.ContractName, p.ContractId, BLL.Const.ContractMenuId, BLL.Const.BtnDelete);
|
||||
BLL.ContractStandingBookService.DeleteContractById(rowID);
|
||||
AttachFileService.DeleteAttachFile(Funs.RootPath, rowID , Const.ContractStandingBookMenuId);
|
||||
// AttachFileService.DeleteAttachFile(Funs.RootPath, rowID + "-BidNotice", Const.ProjectBidDocumentsStandingBookMenuId);
|
||||
// AttachFileService.DeleteAttachFile(Funs.RootPath, rowID + "-ActionPlan", Const.ProjectBidDocumentsStandingBookMenuId);
|
||||
// AttachFileService.DeleteAttachFile(Funs.RootPath, rowID + "-BidDocuments", Const.ProjectBidDocumentsStandingBookMenuId);
|
||||
// AttachFileService.DeleteAttachFile(Funs.RootPath, rowID + "-ApprovePersonForm", Const.ProjectBidDocumentsStandingBookMenuId);
|
||||
// AttachFileService.DeleteAttachFile(Funs.RootPath, rowID + "-SetSubReview", Const.ProjectBidDocumentsStandingBookMenuId);
|
||||
// AttachFileService.DeleteAttachFile(Funs.RootPath, rowID + "-ShortListApproval", Const.ProjectBidDocumentsStandingBookMenuId);
|
||||
AttachFileService.DeleteAttachFile(Funs.RootPath, rowID, Const.ContractStandingBookMenuId);
|
||||
// AttachFileService.DeleteAttachFile(Funs.RootPath, rowID + "-BidNotice", Const.ProjectBidDocumentsStandingBookMenuId);
|
||||
// AttachFileService.DeleteAttachFile(Funs.RootPath, rowID + "-ActionPlan", Const.ProjectBidDocumentsStandingBookMenuId);
|
||||
// AttachFileService.DeleteAttachFile(Funs.RootPath, rowID + "-BidDocuments", Const.ProjectBidDocumentsStandingBookMenuId);
|
||||
// AttachFileService.DeleteAttachFile(Funs.RootPath, rowID + "-ApprovePersonForm", Const.ProjectBidDocumentsStandingBookMenuId);
|
||||
// AttachFileService.DeleteAttachFile(Funs.RootPath, rowID + "-SetSubReview", Const.ProjectBidDocumentsStandingBookMenuId);
|
||||
// AttachFileService.DeleteAttachFile(Funs.RootPath, rowID + "-ShortListApproval", Const.ProjectBidDocumentsStandingBookMenuId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user