Skip to content

System Administration Overview ​

Page Guide ​

ScenarioFor platform administrators initializing organizations, accounts, roles, menu permission, data scope, and system parameters.
PrerequisiteThe platform is deployed and an administrator account is available. Organization hierarchy and role boundaries have been planned.
PathSystem Management -> Department / Organization -> Role -> User -> Menu -> Dictionary -> Parameter.

1. Initialization Order ​

2. Organization And Department ​

Organizations are the foundation of tenant management and data isolation. In a formal project, finish organization planning before importing devices and users.

Organization management

FieldDescriptionNotes
Organization nameEnterprise, project, customer, or department name.Use a business-readable name.
Parent organizationBuilds hierarchical data management.Parent roles may view child data depending on permission.
AdministratorAdministrator of the current organization.Each organization should have a clear owner.
Invitation codeUsed when Web registration binds to an organization.Use together with role permission.
StatusEnabled or disabled.Disabling affects child users.

3. Roles And Data Scope ​

Roles decide which menus, buttons, and data a user can access.

Role management

Data ScopeScenario
All dataSuper administrator or platform operations.
Current organization and belowRegional administrator or group administrator.
Current organizationSingle tenant administrator.
Own data onlyOrdinary business user.
Custom dataSpecial projects or cross-organization collaboration.

警告

Device, product, scene, work order, report, and other modules may all be affected by data scope. When a page has no data, check role data scope as well as APIs.

4. User Management ​

User management

When creating users, confirm organization, role, contact information, status, and password policy. Terminal users are usually used by App or mini-program device binding, while tenant users are used for Web console management.

5. Menu And Button Permission ​

TypePurposeExample
DirectoryLeft menu grouping.Device Management.
MenuAccessible page.Product Management, Device Management.
ButtonPage-level operation permission.Add, delete, export, command delivery.
External linkLink to an external system or dashboard.Visual dashboard or online demo.

After modifying menus, re-authorize roles and ask users to log in again for verification.

6. Dictionaries And Parameters ​

TypeExampleNotes
Dictionary typeAlert level, card platform, notification business code.Changes may affect frontend display and backend enum mapping.
Dictionary dataEnabled/disabled, level, platform type.Keep keys stable for historical data.
System parameterLogin setting, business switch, third-party key.Confirm whether restart or cache clearing is required.
Translation configMenu, dictionary, and thing-model translations.Maintain together for multilingual scenarios.

7. Acceptance Checklist ​

ItemExpected Result
OrganizationParent-child relationship is correct.
RoleMenu, button, and data scope match expectations.
UserDifferent users see different menus and data.
Data isolationUnauthorized parent or sibling data is hidden.
Command permissionOnly authorized users can deliver device commands.
AuditLogin logs and operation logs are traceable.

8. FAQ ​

User cannot see menus ​

Check whether the role is assigned menus, whether the menu status is normal, whether the route address is correct, and whether the user has logged in again.

User can see the page but cannot click buttons ​

Check button permission identifiers, role authorization, frontend permission directives, and backend permission annotations.

User cannot see devices or products ​

Check the organization, role data scope, device assignment, product private status, and whether showing parent organization products is enabled.

End users and tenant users are confused ​

End users are typically used for the App and mini program, while tenant users are used for the web console. Do not grant console administration permissions directly to end users.

9. Development Entry ​

TypePath Or APIDescription
Frontend pagevue3/src/views/system/userUser management.
Frontend pagevue3/src/views/system/roleRole management.
Frontend pagevue3/src/views/system/menuMenu permissions.
Frontend pagevue3/src/views/system/deptOrganizations and departments.
Frontend pagevue3/src/views/system/dict, configDictionaries and parameters.
Backend API/system/user, /system/role, /system/menu, /system/deptSystem administration APIs.
SQL tablessys_user, sys_role, sys_menu, sys_dept, sys_dict_*Core system administration tables.

FastBee | fastbee.cn