feat: 支持系统单位和多语言配置

通过系统环境维护单位及语言开关,并调整相关页面和接口以使用当前配置。
This commit is contained in:
2026-11-07 15:22:32 +08:00
parent 2f547f217d
commit 626ad445d4
76 changed files with 312 additions and 163 deletions
+2 -2
View File
@@ -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);
}