feat: 支持系统单位和多语言配置
通过系统环境维护单位及语言开关,并调整相关页面和接口以使用当前配置。
This commit is contained in:
@@ -744,7 +744,7 @@
|
||||
/// <param name="isShowPlease">是否显示请选择</param>
|
||||
public static void InitProjectDropDownList(FineUIPro.DropDownList dropName, string unitId, bool isShowPlease)
|
||||
{
|
||||
var IsThisUnit = BLL.Const.UnitId_SEDIN == unitId ? true : false;
|
||||
var IsThisUnit = BLL.CommonService.GetThisUnitId() == unitId ? true : false;
|
||||
dropName.DataValueField = "ProjectId";
|
||||
dropName.DataTextField = "ProjectName";
|
||||
if (IsThisUnit)
|
||||
@@ -774,7 +774,7 @@
|
||||
where (x.ProjectState == null || x.ProjectState == BLL.Const.ProjectState_1)
|
||||
select x;
|
||||
|
||||
if (unitId == BLL.Const.UnitId_SEDIN)
|
||||
if (unitId == BLL.CommonService.GetThisUnitId())
|
||||
{
|
||||
getDatas = getDatas.Where(x => x.UnitId == unitId || x.UnitId == null);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user