mirror of
https://github.com/jumpserver/lina.git
synced 2026-01-29 21:28:52 +00:00
perf: 支持发布机仅初始化配置
This commit is contained in:
@@ -256,6 +256,7 @@
|
||||
"SecretType": "Secret type",
|
||||
"PrivilegedTemplate": "Privileged",
|
||||
"InitialDeploy": "Initial deploy",
|
||||
"OnlyInitialDeploy": "Initial Setup",
|
||||
"Address": "Address",
|
||||
"PrivateKey": "Private key",
|
||||
"Secret": "Secret",
|
||||
|
||||
@@ -459,6 +459,7 @@
|
||||
"Token": "トークン",
|
||||
"GatewayList": "ゲートウェイ一覧",
|
||||
"InitialDeploy": "初期展開",
|
||||
"OnlyInitialDeploy": "初期設定のみ",
|
||||
"PrivateKey": "鍵",
|
||||
"Category": "カテゴリー",
|
||||
"SSHPort": "SSH ポート",
|
||||
|
||||
@@ -280,7 +280,8 @@
|
||||
"InAssetDetail": "在资产详情中更新账号信息",
|
||||
"SecretType": "密文类型",
|
||||
"PrivilegedTemplate": "特权的",
|
||||
"InitialDeploy": "初始化部署",
|
||||
"InitialDeploy": "初始化安装部署",
|
||||
"OnlyInitialDeploy": "仅初始化配置",
|
||||
"Address": "地址",
|
||||
"PrivateKey": "密钥",
|
||||
"Secret": "密码",
|
||||
|
||||
@@ -115,6 +115,23 @@ export default {
|
||||
}.bind(this)
|
||||
}
|
||||
},
|
||||
{
|
||||
title: this.$t('assets.OnlyInitialDeploy'),
|
||||
attrs: {
|
||||
type: 'primary',
|
||||
label: this.$t('common.Deploy')
|
||||
},
|
||||
callbacks: {
|
||||
click: function() {
|
||||
this.$axios.post(
|
||||
`/api/v1/terminal/applet-host-deployments/`,
|
||||
{ host: this.object.id, install_applets: false }
|
||||
).then(res => {
|
||||
openTaskPage(res['task'])
|
||||
})
|
||||
}.bind(this)
|
||||
}
|
||||
},
|
||||
{
|
||||
title: this.$t('common.PublishAllApplets'),
|
||||
attrs: {
|
||||
|
||||
Reference in New Issue
Block a user