1
This commit is contained in:
@@ -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管理数字化平台(公司级)";
|
||||
//}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user