Browse Source

StepName界面 save 弹窗提示

jiangjy 2 weeks ago
parent
commit
b03124c6b4

+ 4 - 2
FrameworkLocal/UIClient/CenterViews/Parameter/MainParameterEditViewModel.cs

@@ -98,7 +98,7 @@ namespace MECF.Framework.UI.Client.CenterViews.Parameter
         {
         {
             base.OnInitialize();
             base.OnInitialize();
             this.SystemName = "System";
             this.SystemName = "System";
-      
+
         }
         }
         protected override void OnActivate()
         protected override void OnActivate()
         {
         {
@@ -232,7 +232,7 @@ namespace MECF.Framework.UI.Client.CenterViews.Parameter
 
 
             foreach (var item in QueryDataClient.Instance.Service.PollConfig(groupList).Values)
             foreach (var item in QueryDataClient.Instance.Service.PollConfig(groupList).Values)
             {
             {
-                hasSelectStepIdList.AddRange( item.ToString().Split(',').ToList());
+                hasSelectStepIdList.AddRange(item.ToString().Split(',').ToList());
             }
             }
 
 
             StepGroupEditViewModel recipeStepNameViewModel = new StepGroupEditViewModel();
             StepGroupEditViewModel recipeStepNameViewModel = new StepGroupEditViewModel();
@@ -598,6 +598,8 @@ namespace MECF.Framework.UI.Client.CenterViews.Parameter
 
 
         public void SaveParameter()
         public void SaveParameter()
         {
         {
+            if (!DialogBox.Confirm($"Are you sure save data!"))
+                return;
             if (newValueList != null && newValueList.Count > 0)
             if (newValueList != null && newValueList.Count > 0)
             {
             {
                 var one = newValueList[0];
                 var one = newValueList[0];