How to succinctly realize the search function of table by element ui

the desired piece of information can be displayed when you want to enter a person"s name or date (the data in this table is simulated in easy-mock).
and how to have all the data in the Filter table instead of just the current page of Filter

Apr.06,2021

depends on how you get the original tabular data:

  1. if you take all the data at once, perform Filter at the front end. The array has a filter method, and then re-bind the data to the table after Filter
  2. if the data is dynamic, you can only send a request to the backend when you click the search button, then rebind to the table and display

Ben thought the question was too simple, and the answer was very clear. Seeing that the question was updated again, you probably didn't understand the front end at all.

the tableData you assigned to element ui
modify the tableData and then re-assign it.
such as

//: searchData
let resultData = tableData.filter(data=>{
    //date, name
    if(data.date == searchData|| data.name.indexOf(searchData) != -1){ //
        return true;
    }
});
//resultData element ui

that's a great answer. Thank you

.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3b508-412c5.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3b508-412c5.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?