Skip to main content

Menu Management

Menu management maintains navigation menus, button permissions, and menu display rules for GatewayRuntime Web. Ordinary operations and maintenance personnel usually only need to review; System administrators use this page when adding custom menus, adjusting menu order, or supplementing button permissions.

First, look at the terminology

TerminologyOn-site understanding
Table of ContentsGrouping in the left navigation, Usually, the business page itself is not opened directly.
PageSpecific function pages accessible in the left navigation, such as data collection configuration and alarm queries.
External link/embeddedOpen the external system address. External links appear in the current system, and embedding shows external pages within the current page.
Buttonspecific operation permissions within the page, such as adding, editing, deleting, and exporting.
Permission EncodingThe internal identifier of the system's determination of menu or button permissions. Once authorized, do not modify it arbitrarily.
Parent MenuThe parent directory or page to which the current menu belongs, used to determine the navigation level.
Built-in PagesPages already provided by the system. After selection, the access path will be automatically displayed.
Page CachingWhether table filters, tabs, and other states are retained after switching pages.

Function Entry

After logging into GatewayRuntime Web, enter "System Management → Menu Management".

Menu Management Page

ColumnsDescription
NameMenu or button display name.
EncodingPermission Coding, used for role authorization and permission determination.
PathThe page access path corresponding to the menu.
Typedisplayed as a directory, page, backlink, embedding, or button.
SortThe display order of menus or buttons at the same level.
StatusEnabled or disabled. After disabling, users cannot use the menu or button normally.
OperationsAdd submenus, add buttons, copy, view bind buttons, edit, delete, etc.

The top of the list supports searching by name and can refresh the menu tree. When adjusting menu levels, first confirm the target parent menu and sorting to avoid affecting user navigation.

Add or Edit Menu

Click "Add Menu" or "Edit" in the list to open the Configuration Drawer.

Menu Configuration Drawer

Configuration ItemsDescription
Menu NameName as the user sees in the left navigation.
Menu encodingMenu permission identification. It is recommended to keep the menu unique and stable, and do not arbitrarily modify the encoding of the authorized menu.
Menu TypeSelect Directory, Page, Backlink, or Embedding. Different types will display different configuration items.
Built-in PagesSelect the system page you want to open. After selection, the access path will be displayed.
PathMenu Access Path. When customizing, make sure it does not conflict with existing menus.
External link addressTarget address opened by external link or embedded menu.
Default Jump toSubpages entered by clicking the menu menu.
IconsIcons displayed in the menu on the left, which can be selected from the dropdown list or entered the icon name.
Parent menuThe parent to which the menu belongs. When not selected, it serves as a top-tier menu.
SortSort values by the same level of menu; the smaller the value, the higher it ranks.
Enable thecontrol menu to check availability.
The sidebar shows whether thecontrol menu is displayed in the left navigation section.
Page CachingControl whether page state is retained after page switching.
Built-in menuBuilt-in menu in the markup system. Built-in menus are generally not recommended to modify or delete encoding.
DescriptionMenu Purpose and Maintenance Notes.
MultilingualFill menus for different languages to display names. After

saves, logged-in users usually need to refresh the page or log in again to see changes in the menu display.

Add or Edit Button

The button controls specific operation permissions on the page, such as adding, editing, deleting, exporting, and start/stopping.

Click the "Add Button" in the menu row, or click "Edit" in the button row to open the button and configure the drawer.

Button permission configuration dialog

Configuration ItemsDescription
Button NameDisplay name of the page operation button.
Button encodingButton permission identification. When authorizing a role, determine whether the character is visible or available according to this code.
Parent MenuThe menu to which the button belongs.
SortThe display order of buttons under the same menu.
Enablecontrol button permissions to be available.

View bound buttons

Click "Bound buttons" in the menu row to view the maintained button permissions under that menu.

ColumnDescription
Button NameButton Display Name.
Button EncodingButton Permission Encoding.
SortSort buttons.
StatusEnabled or Disabled.

Common Operations

OperationsSteps
Add a New DirectoryClick "Add Menu", select "Directory" as the menu type, and fill in the name, code, icon, and sort.
Add a page menuClick "Add Menu", select "Page" as the menu type, choose the built-in page, and save.
Add a new backlinkClick "Add Menu", select "Backlink" as the menu type, and enter the backlink address.
Add button permissionClick "Add Button" in the target menu row and enter the button name and code of the button.
Copy menuClick "Copy" in the menu bar, generate copy as prompted on the page, then adjust the name, code, and parent menu.
Delete MenuClick "Delete" and confirm. Before deletion, confirm that no user roles depend on the menu or button.

Usage Notes

ScenariosRecommended
Adjust System MenuBack up and configure the database first, then modify the built-in menu.
Modify menu encodingAuthorized roles may become invalid; after modification, the role permissions need to be checked again.
Menu not displayedCheck whether the menu is enabled, whether sidebar display is checked, and whether the user role has menu permissions.
Button invisibleCheck whether the button is enabled and whether the character has button permissions.
External links cannot be openedCheck if the address is complete and whether the target site is allowed to be opened in the browser.