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 | 78 ++++++++++++++++++++++++++++++++++++--- 1 files changed, 72 insertions(+), 6 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 98d5c69..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,13 +18,19 @@ { this.NO = rhs.NO; this.Name = rhs.Name; - 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> /// 缂栧彿 /// </summary> - [DisplayName("缂栧彿")] + [DisplayName("椤圭洰缂栧彿")] [Category("鍩烘湰淇℃伅")] [PropertyOrder(1)] [Browsable(true)] @@ -33,23 +39,83 @@ /// <summary> /// 鍚嶇О /// </summary> - [DisplayName("鍚嶇О")] + [DisplayName("椤圭洰鍚嶇О")] [Category("鍩烘湰淇℃伅")] [PropertyOrder(2)] [Browsable(true)] public string Name { get; set; } /// <summary> - /// 鍙戝竷鐘舵�� + /// 鐢熸晥鏃堕棿 /// </summary> - [DisplayName("鍙戝竷鐘舵��")] + [DisplayName("鐢熸晥鏃堕棿")] [Category("鍩烘湰淇℃伅")] [PropertyOrder(3)] [Browsable(true)] - public ePublishStatus PublishStatus { get; set; } + public string StartTime { get; set; } + + /// <summary> + /// 澶辨晥鏃堕棿 + /// </summary> + [DisplayName("澶辨晥鏃堕棿")] + [Category("鍩烘湰淇℃伅")] + [PropertyOrder(4)] + [Browsable(true)] + public string EndTime { get; set; } + /// <summary> + /// 璇︾粏鍦板潃 + /// </summary> + [DisplayName("璇︾粏鍦板潃")] + [Category("鍩烘湰淇℃伅")] + [PropertyOrder(6)] + [MultiText] + [Browsable(true)] + public string Address { get; set; } + /// <summary> + /// 瀹㈡埛鍚嶇О + /// </summary> + [DisplayName("瀹㈡埛鍚嶇О")] + [Category("鍩烘湰淇℃伅")] + [PropertyOrder(7)] + [Browsable(true)] + public string Customer { get; set; } + + /// <summary> + /// 鏍囩 + /// </summary> + [DisplayName("鏍囩")] + [Category("鍩烘湰淇℃伅")] + [PropertyOrder(8)] + [Browsable(true)] + public string Flags { get; set; } + + /// <summary> + /// 鏍囧織 + /// </summary> + [DisplayName("鏍囧織")] + [Category("鍩烘湰淇℃伅")] + [PropertyOrder(9)] + [Browsable(true)] + public string TagName { get; set; } + + /// <summary> + /// 璇存槑 + /// </summary> + [DisplayName("璇存槑")] + [Category("鍩烘湰淇℃伅")] + [PropertyOrder(10)] + [Browsable(true)] + [MultiText] + public string Description { get; set; } + + /// <summary> + /// + /// </summary> + [Browsable(false)] + public XhsProjectStdDto Project { get; set; } -- Gitblit v1.9.3