Skip to main content

Audit

value

Container properties

All component configurations support Container properties at the first level.

Component properties

NameTypeDefaultSupports Variable PatternDescription
classNamestring✔️The className of the component
styleobjectThe style of the component
formEntityDataIdnumber✔️When the rowData property is not provided, the table will send a request to obtain data from this formEntityDataId
dataUrlstring/form/api/form-entity-data-audit/list-group/${formEntityDataId}✔️When the rowData attribute is not provided, the table will send a request to obtain data from this dataUrl
translateDataResponseboolfalseIs the translation request result required
sortModelArray<SortModel>How to sort data
rowDataArray<object>ag-grid table data

All remaining componentsProps will be passed to the component root element (Table)。

SortModel

NameTypeDefaultDescription
colIdstringSort field id
sort'asc' | 'desc''asc'Order in descending order
sortType'text' | 'number' | 'date''text'What type of values are sorted

JS API

The interface obtained through formApi.getFieldApi() is as follows:

NameTypeDescription
nodeHTML ElementThe root DOM element of the component
gridApiobjectAg-Grid's API interface, official document