Skip to content
Docs
Components
Personnel Selection

Personnel Selection

Latest Update:Jul 20, 2023, 15:47:46

Scenarios

Used for selecting system personnel within a page. This component is currently only supported for use within model applications. The usage is as follows:

Basic Function Description

Create a "Relationship" type field in the data model, and select the platform's pre-configured user model as the associated model.

In the page editor, add a form container and bind it to the previously mentioned data model. The page will automatically generate a member selection component. If a dropdown selection component is generated by default, you can switch the corresponding component to the member selection component in the field properties of the form container.

Note

Data Filtering:

This component provides a "Data Filtering" property, which allows you to filter members based on common fields of user information in the user model (Model Identifier: sys_user). In the runtime, the component will only display the list of members within the specified filter criteria.

Property

Properties received from external input for the component

Property NameProperty Description
Data ModelDisplays the data model that the current component can use within the container
Bind FieldsDisplays the data fields that can be selected from the data model within the container for the current component
Field TitleDisplays the field title for the current component
Display TitleIndicates whether the current component shows its title. It can be hidden if the title is not needed
Default UserSpecifies the default user selected by the current component
Filter ConditionAllows the current component to specify certain users to be displayed or not displayed based on filter conditions
RequiredIndicates whether the current component is a mandatory field
Multiple SelectionDetermines whether multiple users can be selected when choosing personnel
Layout OrientationCan be set as "Horizontal" or "Full Width"
DisabledSets the current component to a disabled state
WidthCan be chosen from options like "full-width" ,"large" ,"medium" or "small"
Maximum Input LengthSpecifies the maximum allowed input length for the current component