template div class=wsLog2 div class=search-area label for=status状态:label el-select id=status v-model=status placeholder=请选择状态 el-option label=全部 value=el-option el-option label=启用 va
This is a Vue.js component that displays a table of data with filtering and pagination functionality. The component includes a search area with a status select and a text input for filtering the data by a specific field. There are also buttons for running and stopping a quartz job on a selected row of data.
The table data is loaded from a server using Axios, and the pagination and filtering are implemented using Vue.js computed properties and watchers. The table columns are defined in an array of objects, and the table rows are defined in a ref variable.
The component also includes a function for displaying a message box using Element Plus, which is used to confirm actions like starting or stopping the quartz job. The component is styled using CSS, with separate styles for the component itself and the table.
原文地址: https://www.cveoy.top/t/topic/bqXI 著作权归作者所有。请勿转载和采集!