显示SSH认证相关集群、节点

This commit is contained in:
GoEdgeLab
2020-10-25 21:27:28 +08:00
parent cccc64a629
commit f15e64960c
40 changed files with 297 additions and 163 deletions

View File

@@ -10,7 +10,7 @@ Vue.component("grant-selector", {
// 选择授权
select: function () {
let that = this;
teaweb.popup("/nodes/grants/selectPopup", {
teaweb.popup("/clusters/grants/selectPopup", {
callback: (resp) => {
that.grantId = resp.data.grant.id;
if (that.grantId > 0) {
@@ -22,7 +22,7 @@ Vue.component("grant-selector", {
// 创建授权
create: function () {
teaweb.popup("/nodes/grants/createPopup", {
teaweb.popup("/clusters/grants/createPopup", {
height: "31em",
callback: (resp) => {
this.grantId = resp.data.grant.id;
@@ -39,7 +39,7 @@ Vue.component("grant-selector", {
window.location.reload();
return;
}
teaweb.popup("/nodes/grants/updatePopup?grantId=" + this.grant.id, {
teaweb.popup("/clusters/grants/updatePopup?grantId=" + this.grant.id, {
height: "31em",
callback: (resp) => {
this.grant = resp.data.grant;