mirror of
https://github.com/jumpserver/lina.git
synced 2025-09-16 23:31:29 +00:00
perf: 支持发布机卸载远程应用
This commit is contained in:
@@ -561,6 +561,7 @@
|
||||
"Automations": "Automation",
|
||||
"Sync": "Sync",
|
||||
"Deploy": "Deploy",
|
||||
"Uninstall": "Uninstall",
|
||||
"Detail": "Detail",
|
||||
"Selector": "Selector",
|
||||
"NoContent": "No content",
|
||||
|
@@ -885,6 +885,7 @@
|
||||
"failedConditions": "条件に達していない結果!"
|
||||
},
|
||||
"Deploy": "配備",
|
||||
"Uninstall": "アンインストールする",
|
||||
"Publish": "リリース",
|
||||
"Icon": "アイコン",
|
||||
"Automations": "オートメーション",
|
||||
|
@@ -599,6 +599,7 @@
|
||||
"Automations": "自动化",
|
||||
"Sync": "同步",
|
||||
"Deploy": "部署",
|
||||
"Uninstall": "卸载",
|
||||
"Detail": "详情",
|
||||
"Selector": "选择器",
|
||||
"NoContent": "暂无内容",
|
||||
|
@@ -91,6 +91,20 @@ export default {
|
||||
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