This commit is contained in:
2025-04-18 17:49:02 +08:00
parent a740fba518
commit 93cbc7f6cb
5 changed files with 247 additions and 211 deletions
+15 -15
View File
@@ -294,23 +294,23 @@ namespace FineUIPro.Web
{
this.btnRetweet.Hidden = false;
}
this.userName.InnerText= this.CurrUser.UserName;
this.spDate.InnerText = DateTime.Now.ToLongDateString().ToString()+" "+WeekDayService.CaculateWeekDayT(DateTime.Now);
this.userName.Text = this.CurrUser.UserName;
//this.spDate.InnerText = DateTime.Now.ToLongDateString().ToString()+" "+WeekDayService.CaculateWeekDayT(DateTime.Now);
var getW = WeatherService.GetWeather(null);
if (getW != null)
{
divWeather.InnerHtml = getW.WeatherRef + " " + getW.CurrTem+ "°C";
}
//var getW = WeatherService.GetWeather(null);
//if (getW != null)
//{
// divWeather.InnerHtml = getW.WeatherRef + " " + getW.CurrTem+ "°C";
//}
if (!string.IsNullOrEmpty(this.CurrUser.UnitId) && this.CurrUser.UnitId != CommonService.GetThisUnitId())
{
this.divTitle.InnerHtml = "QHSE管理数字化平台(分公司级)";
}
else
{
this.divTitle.InnerHtml = "QHSE管理数字化平台(公司级)";
}
//if (!string.IsNullOrEmpty(this.CurrUser.UnitId) && this.CurrUser.UnitId != CommonService.GetThisUnitId())
//{
// this.divTitle.InnerHtml = "QHSE管理数字化平台(分公司级)";
//}
//else
//{
// this.divTitle.InnerHtml = "QHSE管理数字化平台(公司级)";
//}
}
}