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
@@ -39,7 +39,7 @@ namespace FineUIPro.Web.ProjectData
this.ProjectId = Request.QueryString["ProjectId"];
UnitService.InitBranchUnitDropDownList(this.drpUnit, true, true);
this.drpUnit.SelectedValue = Const.UnitId_SEDIN;
this.drpUnit.SelectedValue = CommonService.GetThisUnitId();
if (!String.IsNullOrEmpty(this.ProjectId))
{
var project = BLL.ProjectService.GetProjectByProjectId(this.ProjectId);
@@ -276,7 +276,7 @@ namespace FineUIPro.Web.ProjectData
protected void initProjectRoles()
{
string unitId = this.drpUnit.SelectedValue == Const._Null ? Const.UnitId_SEDIN : this.drpUnit.SelectedValue;
string unitId = this.drpUnit.SelectedValue == Const._Null ? CommonService.GetThisUnitId() : this.drpUnit.SelectedValue;
///项目经理
Person_PersonsService.InitUserProjectIdUnitIdRoleIdDropDownList(this.drpProjectManager, null, unitId, null, true);
///施工经理