代码无效引用清理,试压包资料界面看板修改
This commit is contained in:
@@ -5,9 +5,6 @@ using System.Data;
|
||||
using System.Data.SqlClient;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
|
||||
namespace FineUIPro.Web.CQMS.Comprehensive
|
||||
{
|
||||
|
||||
@@ -5,8 +5,6 @@ using System.Data;
|
||||
using System.Data.OleDb;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
|
||||
namespace FineUIPro.Web.CQMS.Comprehensive
|
||||
@@ -213,7 +211,7 @@ namespace FineUIPro.Web.CQMS.Comprehensive
|
||||
result += (i + 2).ToString() + "," + "交底负责单位" + "," + "[" + row3 + "]不存在!" + "|";
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
string row5 = pds.Rows[i][5].ToString();
|
||||
if (!string.IsNullOrEmpty(row5))
|
||||
{
|
||||
@@ -240,7 +238,7 @@ namespace FineUIPro.Web.CQMS.Comprehensive
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
string row8 = pds.Rows[i][8].ToString();
|
||||
if (string.IsNullOrEmpty(row8))
|
||||
{
|
||||
@@ -412,7 +410,7 @@ namespace FineUIPro.Web.CQMS.Comprehensive
|
||||
string row0 = pds.Rows[i][0].ToString().Trim();
|
||||
string row3 = pds.Rows[i][3].ToString().Trim();
|
||||
var cn = cns.Where(y => y.ProfessionalName == row0).FirstOrDefault();
|
||||
oldViewInfo = oldViewInfos.Where(x => x.RemarkCode ==Funs.GetNewInt( pds.Rows[i][8].ToString().Trim())
|
||||
oldViewInfo = oldViewInfos.Where(x => x.RemarkCode == Funs.GetNewInt(pds.Rows[i][8].ToString().Trim())
|
||||
).FirstOrDefault();
|
||||
if (oldViewInfo == null)
|
||||
{
|
||||
@@ -421,7 +419,7 @@ namespace FineUIPro.Web.CQMS.Comprehensive
|
||||
des.ProjectId = this.CurrUser.LoginProjectId;
|
||||
des.CNProfessionalId = cn.CNProfessionalId;
|
||||
des.DisclosureCode = pds.Rows[i][1].ToString().Trim();
|
||||
des.DisclosureName= pds.Rows[i][2].ToString().Trim();
|
||||
des.DisclosureName = pds.Rows[i][2].ToString().Trim();
|
||||
des.UnitId = units.Where(x => x.UnitName == row3.Trim()).FirstOrDefault().UnitId;
|
||||
des.DisclosureMan = pds.Rows[i][4].ToString().Trim();
|
||||
des.DisclosureDate = Funs.GetNewDateTime(pds.Rows[i][5].ToString().Trim());
|
||||
|
||||
@@ -421,7 +421,7 @@ namespace FineUIPro.Web.CQMS.Comprehensive
|
||||
}
|
||||
Ins.UnitWorkId = unitIds;
|
||||
}
|
||||
|
||||
|
||||
if (!string.IsNullOrEmpty(tempData.Value8.Trim()))
|
||||
{
|
||||
Ins.AttendMan = tempData.Value8.Trim();
|
||||
|
||||
@@ -1,10 +1,6 @@
|
||||
using BLL;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
|
||||
namespace FineUIPro.Web.CQMS.Comprehensive
|
||||
{
|
||||
|
||||
@@ -1,10 +1,6 @@
|
||||
using BLL;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
|
||||
namespace FineUIPro.Web.CQMS.Comprehensive
|
||||
{
|
||||
@@ -124,7 +120,7 @@ namespace FineUIPro.Web.CQMS.Comprehensive
|
||||
newCon.AttendMan = this.txtAttendMan.Text.Trim();
|
||||
newCon.RemarkCode = Funs.GetNewInt(this.txtRemarkCode.Text.Trim());
|
||||
newCon.DisclosurePersonNum = Funs.GetNewInt(this.txtDisclosurePersonNum.Text.Trim());
|
||||
|
||||
|
||||
if (string.IsNullOrEmpty(this.ConTechnologyDisclosureId))
|
||||
{
|
||||
newCon.ConTechnologyDisclosureId = SQLHelper.GetNewID(typeof(Model.Comprehensive_ConTechnologyDisclosure));
|
||||
|
||||
@@ -4,9 +4,6 @@ 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.CQMS.Comprehensive
|
||||
{
|
||||
|
||||
@@ -1,10 +1,6 @@
|
||||
using BLL;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
|
||||
namespace FineUIPro.Web.CQMS.Comprehensive
|
||||
{
|
||||
@@ -118,12 +114,12 @@ namespace FineUIPro.Web.CQMS.Comprehensive
|
||||
{
|
||||
//类别
|
||||
this.drpType.DataValueField = "Value";
|
||||
this.drpType.DataTextField= "Text";
|
||||
this.drpType.DataSource= BLL.DropListService.drpQualityAssuranceTypeList();
|
||||
this.drpType.DataTextField = "Text";
|
||||
this.drpType.DataSource = BLL.DropListService.drpQualityAssuranceTypeList();
|
||||
this.drpType.DataBind();
|
||||
Funs.FineUIPleaseSelect(this.drpType);
|
||||
|
||||
Person_PersonsService.InitFlowOperateControlUserDropDownList(this.drpCompileMan, this.ProjectId,string.Empty, true);
|
||||
Person_PersonsService.InitFlowOperateControlUserDropDownList(this.drpCompileMan, this.ProjectId, string.Empty, true);
|
||||
this.drpCompileMan.SelectedValue = this.CurrUser.PersonId;
|
||||
}
|
||||
|
||||
@@ -135,7 +131,7 @@ namespace FineUIPro.Web.CQMS.Comprehensive
|
||||
/// <param name="e"></param>
|
||||
protected void btnSave_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (this.drpType.SelectedValue==BLL.Const._Null)
|
||||
if (this.drpType.SelectedValue == BLL.Const._Null)
|
||||
{
|
||||
Alert.ShowInTop("请选择类别", MessageBoxIcon.Warning);
|
||||
return;
|
||||
|
||||
@@ -97,7 +97,7 @@ namespace FineUIPro.Web.CQMS.Comprehensive
|
||||
strSql += " AND C.DraCode='" + txtDraCode.Text.Trim() + "'";
|
||||
|
||||
}
|
||||
|
||||
|
||||
SqlParameter[] parameter = listStr.ToArray();
|
||||
DataTable tb = SQLHelper.GetDataTableRunText(strSql, parameter);
|
||||
Grid1.RecordCount = tb.Rows.Count;
|
||||
|
||||
@@ -5,8 +5,6 @@ using System.Data;
|
||||
using System.Data.OleDb;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
|
||||
namespace FineUIPro.Web.CQMS.Comprehensive
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
using BLL;
|
||||
using FineUIPro.Web.ProjectData;
|
||||
using Model;
|
||||
using NPOI.SS.Formula.Functions;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Data;
|
||||
@@ -9,9 +7,6 @@ using System.Data.SqlClient;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Threading;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
|
||||
namespace FineUIPro.Web.CQMS.Comprehensive
|
||||
{
|
||||
@@ -421,7 +416,7 @@ namespace FineUIPro.Web.CQMS.Comprehensive
|
||||
unitIds = unitIds.Substring(0, unitIds.LastIndexOf(","));
|
||||
}
|
||||
Ins.ReceiveUnits = unitIds;
|
||||
}
|
||||
}
|
||||
if (!string.IsNullOrEmpty(tempData.Value6.Trim()))
|
||||
{
|
||||
Ins.Remarks = tempData.Value6.Trim();
|
||||
|
||||
@@ -1,10 +1,6 @@
|
||||
using BLL;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
|
||||
namespace FineUIPro.Web.CQMS.Comprehensive
|
||||
{
|
||||
|
||||
@@ -58,9 +58,9 @@ namespace FineUIPro.Web.CQMS.Comprehensive
|
||||
this.drpUnitWorkIds.SelectedValueArray = model.UnitWorkId.Split(',');
|
||||
}
|
||||
this.txtDraCode.Text = model.DraCode;
|
||||
|
||||
|
||||
this.txtReviewDate.Text = model.ReviewDate.HasValue ? string.Format("{0:yyyy-MM-dd}", model.ReviewDate) : "";
|
||||
|
||||
|
||||
if (!string.IsNullOrEmpty(model.ReceiveUnits))
|
||||
{
|
||||
this.drpUnitIds.SelectedValueArray = model.ReceiveUnits.Split(',');
|
||||
@@ -99,8 +99,8 @@ namespace FineUIPro.Web.CQMS.Comprehensive
|
||||
}
|
||||
//else
|
||||
//{
|
||||
//this.btnSave.Hidden = false;
|
||||
//this.btnSubmit.Hidden = false;
|
||||
//this.btnSave.Hidden = false;
|
||||
//this.btnSubmit.Hidden = false;
|
||||
//}
|
||||
}
|
||||
}
|
||||
@@ -192,7 +192,7 @@ namespace FineUIPro.Web.CQMS.Comprehensive
|
||||
//}
|
||||
//else
|
||||
//{
|
||||
PageContext.RegisterStartupScript(WindowAtt.GetShowReference(String.Format("../../AttachFile/webuploader.aspx?type=0&toKeyId={0}&path=FileUpload/CQMS/designDrawings&menuId={1}", this.hdAttachUrl.Text, BLL.Const.ReviewDrawingsMenuId)));
|
||||
PageContext.RegisterStartupScript(WindowAtt.GetShowReference(String.Format("../../AttachFile/webuploader.aspx?type=0&toKeyId={0}&path=FileUpload/CQMS/designDrawings&menuId={1}", this.hdAttachUrl.Text, BLL.Const.ReviewDrawingsMenuId)));
|
||||
//}
|
||||
}
|
||||
#endregion
|
||||
|
||||
Reference in New Issue
Block a user