1
This commit is contained in:
@@ -64,7 +64,7 @@ namespace FineUIPro.Web.HJGL.BaseInfo
|
|||||||
var fileName = rootPath + initPath + hdFileName.Text;
|
var fileName = rootPath + initPath + hdFileName.Text;
|
||||||
|
|
||||||
ResponeData responeData;
|
ResponeData responeData;
|
||||||
responeData = TwInOutplanmasterService.ImportData(fuAttachUrl.FileName, fileName, this.CurrUser.LoginProjectId, this.CurrUser.PersonId);
|
responeData = BaseMaterialcolorService.ImportData( fileName, this.CurrUser.LoginProjectId);
|
||||||
|
|
||||||
|
|
||||||
if (responeData.code == 1)
|
if (responeData.code == 1)
|
||||||
@@ -121,8 +121,8 @@ namespace FineUIPro.Web.HJGL.BaseInfo
|
|||||||
if (e.EventArgument == "Confirm_OK")
|
if (e.EventArgument == "Confirm_OK")
|
||||||
{
|
{
|
||||||
var rootPath = Server.MapPath("~/");
|
var rootPath = Server.MapPath("~/");
|
||||||
var uploadfilepath = rootPath + Const.Tw_InPlanMasteTemplateUrl;
|
var uploadfilepath = rootPath + Const.HJGL_MaterialColorDataImportPath;
|
||||||
var filePath = Const.Tw_InPlanMasteTemplateUrl;
|
var filePath = Const.HJGL_MaterialColorDataImportPath;
|
||||||
var fileName = Path.GetFileName(filePath);
|
var fileName = Path.GetFileName(filePath);
|
||||||
var info = new FileInfo(uploadfilepath);
|
var info = new FileInfo(uploadfilepath);
|
||||||
var fileSize = info.Length;
|
var fileSize = info.Length;
|
||||||
|
|||||||
Reference in New Issue
Block a user