From 6c88a90d2330a27c0052a22538f6ebd6200faae7 Mon Sep 17 00:00:00 2001 From: duheng <2784771470@qq.com> Date: 星期三, 21 八月 2024 18:02:15 +0800 Subject: [PATCH] 完善主界面 --- WinFrmUI/HStation.WinFrmUI.Xhs.Core/01-home/03-property/HomeXhsProjectPropertyViewModel.cs | 20 +++++++------------- 1 files changed, 7 insertions(+), 13 deletions(-) diff --git a/WinFrmUI/HStation.WinFrmUI.Xhs.Core/01-home/03-property/HomeXhsProjectPropertyViewModel.cs b/WinFrmUI/HStation.WinFrmUI.Xhs.Core/01-home/03-property/HomeXhsProjectPropertyViewModel.cs index 29a4480..8df097d 100644 --- a/WinFrmUI/HStation.WinFrmUI.Xhs.Core/01-home/03-property/HomeXhsProjectPropertyViewModel.cs +++ b/WinFrmUI/HStation.WinFrmUI.Xhs.Core/01-home/03-property/HomeXhsProjectPropertyViewModel.cs @@ -18,14 +18,13 @@ { this.NO = rhs.NO; this.Name = rhs.Name; - this.StartTime = rhs.StartTime?.ToStandardString(); - this.EndTime = rhs.EndTime?.ToStandardString(); - this.PublishStatus = rhs.PublishStatus; this.Address = rhs.Address; this.Customer = rhs.Customer; this.Flags = Yw.Untity.FlagsHelper.ToString(rhs.Flags); this.TagName = rhs.TagName; this.Description = rhs.Description; + + this.Project = rhs; } /// <summary> @@ -64,14 +63,6 @@ [Browsable(true)] public string EndTime { get; set; } - /// <summary> - /// 鍙戝竷鐘舵�� - /// </summary> - [DisplayName("鍙戝竷鐘舵��")] - [Category("鍩烘湰淇℃伅")] - [PropertyOrder(5)] - [Browsable(true)] - public ePublishStatus PublishStatus { get; set; } /// <summary> /// 璇︾粏鍦板潃 @@ -120,8 +111,11 @@ [MultiText] public string Description { get; set; } - - + /// <summary> + /// + /// </summary> + [Browsable(false)] + public XhsProjectStdDto Project { get; set; } -- Gitblit v1.9.3