From 4bc757ff0b3c4b6f2783d00c432f296040e80f64 Mon Sep 17 00:00:00 2001 From: Marvin Date: Wed, 22 Feb 2023 17:20:43 +0800 Subject: [PATCH] =?UTF-8?q?1.=E4=BF=AE=E6=94=B9=E5=89=8D=E5=88=A4=E7=BB=B4?= =?UTF-8?q?=E4=BF=AE=EF=BC=8C=E7=AC=AC2=E6=AC=A1=E7=BB=B4=E6=8A=A4?= =?UTF-8?q?=EF=BC=8CCreateUserId=E8=A2=AB=E9=87=8D=E7=BD=AE0=E7=9A=84?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- AMESCoreStudio.Web/Controllers/REPController.cs | 3 ++- AMESCoreStudio.Web/Views/REP/REP001R.cshtml | 15 +++++++++------ 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/AMESCoreStudio.Web/Controllers/REPController.cs b/AMESCoreStudio.Web/Controllers/REPController.cs index 73629334..ee4ed7a9 100644 --- a/AMESCoreStudio.Web/Controllers/REPController.cs +++ b/AMESCoreStudio.Web/Controllers/REPController.cs @@ -599,7 +599,8 @@ namespace AMESCoreStudio.Web.Controllers model.ngRepair.ComponentID = model.ngComponent.ComponentID; result = await _repApi.PostNgRepair(JsonConvert.SerializeObject(model.ngRepair)); } - if (NewName == string.Empty) + + if (newFileName==null) { } else { diff --git a/AMESCoreStudio.Web/Views/REP/REP001R.cshtml b/AMESCoreStudio.Web/Views/REP/REP001R.cshtml index 28980932..91d09580 100644 --- a/AMESCoreStudio.Web/Views/REP/REP001R.cshtml +++ b/AMESCoreStudio.Web/Views/REP/REP001R.cshtml @@ -25,6 +25,7 @@ + @@ -38,6 +39,8 @@ + + @@ -315,12 +318,12 @@ + +
+ + +
+ -->