Element-UI-based table linkage method and terminal

The invention relates to the field of table linkage, in particular to an Element-UI-based table linkage method and a terminal. A parent table is configured to be a multi-choice table with a cross-page multi-choice function; adding a selected item change event and setting a ref attribute to the paren...

Full description

Saved in:
Bibliographic Details
Main Authors CUI FENG, HAO CHANGZHENG, LI CAIXIA, TIAN JIAFENG
Format Patent
LanguageChinese
English
Published 04.11.2022
Subjects
Online AccessGet full text

Cover

Loading…
More Information
Summary:The invention relates to the field of table linkage, in particular to an Element-UI-based table linkage method and a terminal. A parent table is configured to be a multi-choice table with a cross-page multi-choice function; adding a selected item change event and setting a ref attribute to the parent table; performing paging display on the parent table data in the dialog box; an option change event is triggered for each data operation in the parent table, and finally selected data in the parent table is displayed in the sub-table; when page number switching is executed on the parent table, a data selection state before page number switching is reserved; and in the state that data exists in the sub-table, when a dialog box is called out, all data in the sub-table are selected in the parent table through ref attributes and a toggleRowSelection method. According to the method, linkage between the two tables is achieved through simpler logic, the data selected in the parent table can be rapidly and accurately dis
Bibliography:Application Number: CN202211224130