代码无效引用清理,试压包资料界面看板修改
This commit is contained in:
@@ -3,10 +3,8 @@ using MiniExcelLibs;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Data;
|
||||
using System.Data.OleDb;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Net.Mail;
|
||||
|
||||
namespace FineUIPro.Web.HJGL.WeldingManage
|
||||
{
|
||||
@@ -32,10 +30,12 @@ namespace FineUIPro.Web.HJGL.WeldingManage
|
||||
/// <summary>
|
||||
/// 1 预制口,2安装口
|
||||
/// </summary>
|
||||
public string Type {
|
||||
get
|
||||
{
|
||||
return (string)ViewState["Type"]; }
|
||||
public string Type
|
||||
{
|
||||
get
|
||||
{
|
||||
return (string)ViewState["Type"];
|
||||
}
|
||||
set
|
||||
{
|
||||
ViewState["Type"] = value;
|
||||
@@ -78,7 +78,7 @@ namespace FineUIPro.Web.HJGL.WeldingManage
|
||||
Pipeline_ComponentList.Clear();
|
||||
}
|
||||
errorInfos = string.Empty;
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
@@ -143,7 +143,7 @@ namespace FineUIPro.Web.HJGL.WeldingManage
|
||||
/// <param name="filename">Excel文件路径名</param>
|
||||
private void ImportXlsToData(string fileName)
|
||||
{
|
||||
// var rows =Funs.LINQToDataTable(MiniExcel.Query(fileName).ToList()) ;
|
||||
// var rows =Funs.LINQToDataTable(MiniExcel.Query(fileName).ToList()) ;
|
||||
var rows = MiniExcel.QueryAsDataTable(fileName, useHeaderRow: true);
|
||||
Model.ResponeData responeData = new Model.ResponeData();
|
||||
switch (Type)
|
||||
@@ -155,7 +155,7 @@ namespace FineUIPro.Web.HJGL.WeldingManage
|
||||
responeData = AddDatasetToSQL_FIELD(rows, 12);
|
||||
break;
|
||||
}
|
||||
if (responeData.code==1)
|
||||
if (responeData.code == 1)
|
||||
{
|
||||
ShowNotify("审核完成,请点击导入!", MessageBoxIcon.Success);
|
||||
}
|
||||
@@ -167,7 +167,7 @@ namespace FineUIPro.Web.HJGL.WeldingManage
|
||||
Target = Target.Self
|
||||
};
|
||||
alert.Show();
|
||||
// ShowNotify(responeData.message, MessageBoxIcon.Success);
|
||||
// ShowNotify(responeData.message, MessageBoxIcon.Success);
|
||||
|
||||
}
|
||||
}
|
||||
@@ -229,9 +229,9 @@ namespace FineUIPro.Web.HJGL.WeldingManage
|
||||
{
|
||||
result += "第" + (i + 2).ToString() + "行," + "无效的时间格式" + "|";
|
||||
}
|
||||
|
||||
PipelineList.Add(pipeline);
|
||||
|
||||
|
||||
PipelineList.Add(pipeline);
|
||||
|
||||
}
|
||||
if (!string.IsNullOrEmpty(result))
|
||||
{
|
||||
@@ -248,7 +248,7 @@ namespace FineUIPro.Web.HJGL.WeldingManage
|
||||
else
|
||||
{
|
||||
errorInfos = string.Empty;
|
||||
// ShowNotify("审核完成,请点击导入!", MessageBoxIcon.Success);
|
||||
// ShowNotify("审核完成,请点击导入!", MessageBoxIcon.Success);
|
||||
}
|
||||
}
|
||||
else
|
||||
@@ -396,7 +396,7 @@ namespace FineUIPro.Web.HJGL.WeldingManage
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -430,7 +430,7 @@ namespace FineUIPro.Web.HJGL.WeldingManage
|
||||
{
|
||||
BLL.HJGL_PipelineComponentService.UpdatePipelineComponent(item);
|
||||
}
|
||||
}
|
||||
}
|
||||
break;
|
||||
case BLL.PipelineService.PipeArea_FIELD:
|
||||
if (PipelineList.Count > 0)
|
||||
|
||||
Reference in New Issue
Block a user