| | |
| | | userList({ |
| | | page: 1, |
| | | capacity: 9999, |
| | | model: { realname: this.filterText }, |
| | | model: { realname: this.filterText } |
| | | }) |
| | | .then(res => { |
| | | this.userList = res.records |
| | |
| | | sysList = sysList.map(item => { |
| | | return {userId: item} |
| | | }) |
| | | console.log(sysList); |
| | | console.log(sysList) |
| | | this.api.fetchList({ |
| | | page: this.tableData.pagination.pageIndex, |
| | | capacity: this.tableData.pagination.pageSize, |
| | |
| | | }) |
| | | .then(() => { |
| | | this.$message.success('修改成功') |
| | | |
| | | }) |
| | | .catch(e => { |
| | | this.$message.error(e) |
| | | }) |
| | | .finally(() => { |
| | | this.handlePageChange() |
| | | }) |
| | | } |
| | | }, |
| | | } |
| | | } |
| | | </script> |
| | | |