| | |
| | | sorts: [], |
| | | // 当前页数据 |
| | | list: [], |
| | | totalData:{}, |
| | | // 分页 |
| | | pagination: { |
| | | pageIndex: 1, |
| | |
| | | .then(data => { |
| | | this.tableData.list = data.records |
| | | this.tableData.pagination.total = data.total |
| | | if (this.tableData.pagination.pageIndex === 1) { |
| | | this.tableData.totalData = data.countData || {} |
| | | } |
| | | }) |
| | | .catch(e => { |
| | | this.$tip.apiFailed(e) |
| | |
| | | this.$tip.warning('请至少选择一条数据') |
| | | return |
| | | } |
| | | let message = `确认删除已选中的 ${this.tableData.selectedRows.length} 条${this.module}记录吗?` |
| | | let message = `确认删除已选中的 ${this.tableData.selectedRows.length} 条记录吗?` |
| | | if (childConfirm) { |
| | | const containChildrenRows = [] |
| | | for (const row of this.tableData.selectedRows) { |