old mode 100644
new mode 100755
| | |
| | | <el-divider direction="vertical"></el-divider> |
| | | <el-button size="medium" icon="el-icon-edit" type="text" @click="changePushKey(scope.row)">修改pushkey</el-button> |
| | | <el-divider direction="vertical"></el-divider> |
| | | <el-button size="medium" icon="el-icon-edit" type="text" @click="showUserApiKeyManager(scope.row)">管理ApiKey</el-button> |
| | | <el-divider direction="vertical"></el-divider> |
| | | <el-button size="medium" icon="el-icon-delete" type="text" @click="deleteUser(scope.row)" |
| | | style="color: #f56c6c">删除 |
| | | </el-button> |
| | |
| | | count: that.count |
| | | } |
| | | }).then(function (res) { |
| | | that.total = res.data.total; |
| | | that.userList = res.data.list; |
| | | if (res.data.code === 0) { |
| | | that.total = res.data.data.total; |
| | | that.userList = res.data.data.list; |
| | | } |
| | | that.getUserListLoading = false; |
| | | }).catch(function (error) { |
| | | that.getUserListLoading = false; |
| | |
| | | setTimeout(this.getUserList, 200) |
| | | |
| | | }) |
| | | } |
| | | }, |
| | | showUserApiKeyManager: function (row) { |
| | | this.$router.push(`/userApiKeyManager/${row.id}`) |
| | | }, |
| | | } |
| | | } |
| | | </script> |