代码无效引用清理,试压包资料界面看板修改
This commit is contained in:
@@ -1,12 +1,9 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using BLL;
|
||||
using Model;
|
||||
using System;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Web;
|
||||
using BLL;
|
||||
using MiniExcelLibs;
|
||||
using Model;
|
||||
|
||||
namespace FineUIPro.Web.PHTGL.BillOfQuantities
|
||||
{
|
||||
@@ -14,7 +11,8 @@ namespace FineUIPro.Web.PHTGL.BillOfQuantities
|
||||
{
|
||||
#region 加载
|
||||
|
||||
public string MainProjectQuantityId {
|
||||
public string MainProjectQuantityId
|
||||
{
|
||||
get
|
||||
{
|
||||
return (string)ViewState["MainProjectQuantityId"];
|
||||
@@ -22,7 +20,7 @@ namespace FineUIPro.Web.PHTGL.BillOfQuantities
|
||||
}
|
||||
set
|
||||
{
|
||||
ViewState["MainProjectQuantityId"]=value;
|
||||
ViewState["MainProjectQuantityId"] = value;
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
@@ -77,7 +75,7 @@ namespace FineUIPro.Web.PHTGL.BillOfQuantities
|
||||
//文件上传服务器后的名称
|
||||
var fileName = rootPath + initPath + hdFileName.Text;
|
||||
|
||||
ResponeData responeData=new ResponeData() ;
|
||||
ResponeData responeData = new ResponeData();
|
||||
if (string.IsNullOrEmpty(MainProjectQuantityId))
|
||||
{
|
||||
responeData = PHTGL_QuantityService.ImportData(fileName, Request.Params["Type"]);
|
||||
@@ -85,11 +83,11 @@ namespace FineUIPro.Web.PHTGL.BillOfQuantities
|
||||
}
|
||||
else
|
||||
{
|
||||
responeData = PHTGL_QuantityService.ImportData(fileName, "",MainProjectQuantityId);
|
||||
responeData = PHTGL_QuantityService.ImportData(fileName, "", MainProjectQuantityId);
|
||||
|
||||
}
|
||||
|
||||
if (responeData.code==1)
|
||||
if (responeData.code == 1)
|
||||
{
|
||||
ShowNotify("数据导入成功!", MessageBoxIcon.Success);
|
||||
|
||||
@@ -100,7 +98,7 @@ namespace FineUIPro.Web.PHTGL.BillOfQuantities
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
PageContext.RegisterStartupScript(ActiveWindow.GetHidePostBackReference());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user