mirror of
https://github.com/jumpserver/lina.git
synced 2025-09-17 15:52:32 +00:00
perf: 支持发布机卸载远程应用
This commit is contained in:
@@ -561,6 +561,7 @@
|
|||||||
"Automations": "Automation",
|
"Automations": "Automation",
|
||||||
"Sync": "Sync",
|
"Sync": "Sync",
|
||||||
"Deploy": "Deploy",
|
"Deploy": "Deploy",
|
||||||
|
"Uninstall": "Uninstall",
|
||||||
"Detail": "Detail",
|
"Detail": "Detail",
|
||||||
"Selector": "Selector",
|
"Selector": "Selector",
|
||||||
"NoContent": "No content",
|
"NoContent": "No content",
|
||||||
|
@@ -885,6 +885,7 @@
|
|||||||
"failedConditions": "条件に達していない結果!"
|
"failedConditions": "条件に達していない結果!"
|
||||||
},
|
},
|
||||||
"Deploy": "配備",
|
"Deploy": "配備",
|
||||||
|
"Uninstall": "アンインストールする",
|
||||||
"Publish": "リリース",
|
"Publish": "リリース",
|
||||||
"Icon": "アイコン",
|
"Icon": "アイコン",
|
||||||
"Automations": "オートメーション",
|
"Automations": "オートメーション",
|
||||||
|
@@ -599,6 +599,7 @@
|
|||||||
"Automations": "自动化",
|
"Automations": "自动化",
|
||||||
"Sync": "同步",
|
"Sync": "同步",
|
||||||
"Deploy": "部署",
|
"Deploy": "部署",
|
||||||
|
"Uninstall": "卸载",
|
||||||
"Detail": "详情",
|
"Detail": "详情",
|
||||||
"Selector": "选择器",
|
"Selector": "选择器",
|
||||||
"NoContent": "暂无内容",
|
"NoContent": "暂无内容",
|
||||||
|
@@ -91,6 +91,20 @@ export default {
|
|||||||
openTaskPage(res['task'])
|
openTaskPage(res['task'])
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: this.$t('common.Uninstall'),
|
||||||
|
callback: function({ row }) {
|
||||||
|
this.$axios.post(
|
||||||
|
`/api/v1/terminal/applet-host-deployments/uninstall/`,
|
||||||
|
{
|
||||||
|
hosts: [row.host.id],
|
||||||
|
applet_id: row.applet.id
|
||||||
|
}
|
||||||
|
).then(res => {
|
||||||
|
openTaskPage(res['task'])
|
||||||
|
})
|
||||||
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user