mirror of
https://github.com/jumpserver/lina.git
synced 2026-01-13 19:35:24 +00:00
feat: telnet、ping支持批量测试,增加IP格式提示
This commit is contained in:
@@ -1702,7 +1702,8 @@
|
||||
"securityPasswordSpecialChar": "After opening, the user password changes and resets must contain special characters",
|
||||
"securityPasswordUpperCase": "After opening, the user password changes and resets must contain uppercase letters",
|
||||
"securityServiceAccountRegistration": "Allow using bootstrap token register service account, when terminal setup, can disable it",
|
||||
"SecurityInsecureCommand": "After it is enabled, when a dangerous command is executed on the asset, an email alarm notification will be sent"
|
||||
"SecurityInsecureCommand": "After it is enabled, when a dangerous command is executed on the asset, an email alarm notification will be sent",
|
||||
"IP": "192.168.1.1,192.168.1.2 | 192.168.1.1-12 | 192.168.1.1-192.168.1.12 | 192.168.1.0/30 | 192.168.1.1"
|
||||
},
|
||||
"validatorMessage": {
|
||||
"EnsureThisValueIsGreaterThanOrEqualTo3": "Ensure this value is greater than or equal to 3",
|
||||
@@ -2278,4 +2279,4 @@
|
||||
"PublishStatus": "Publish status",
|
||||
"NoPublished": "Unpublished"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1708,7 +1708,8 @@
|
||||
"securityPasswordSpecialChar": "オンにすると、ユーザーパスワードの変更、リセットに特殊文字が含まれている必要があります",
|
||||
"securityPasswordUpperCase": "オンにすると、ユーザーパスワードの変更、リセットに大文字を含める必要があります",
|
||||
"securityServiceAccountRegistration": "Bootstrap tokenを使用して端末を登録できるようにし、端末の登録が成功すると禁止できるようにします",
|
||||
"SecurityInsecureCommand": "オンにすると、資産に危険なコマンドが実行されたときに、メールの警告通知が送信されます"
|
||||
"SecurityInsecureCommand": "オンにすると、資産に危険なコマンドが実行されたときに、メールの警告通知が送信されます",
|
||||
"IP": "192.168.1.1,192.168.1.2 | 192.168.1.1-12 | 192.168.1.1-192.168.1.12 | 192.168.1.0/30 | 192.168.1.1"
|
||||
},
|
||||
"validatorMessage": {
|
||||
"EnsureThisValueIsGreaterThanOrEqualTo3": "この値が3以上であることを確認してください",
|
||||
@@ -2270,4 +2271,4 @@
|
||||
"PublishStatus": "投稿ステータス",
|
||||
"NoPublished": "未発表"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1687,7 +1687,8 @@
|
||||
"securityPasswordSpecialChar": "开启后,用户密码修改、重置必须包含特殊字符",
|
||||
"securityPasswordUpperCase": "开启后,用户密码修改、重置必须包含大写字母",
|
||||
"securityServiceAccountRegistration": "允许使用bootstrap token注册终端, 当组件注册成功后可以禁止",
|
||||
"SecurityInsecureCommand": "开启后,当资产上有危险命令执行时,会发送邮件告警通知"
|
||||
"SecurityInsecureCommand": "开启后,当资产上有危险命令执行时,会发送邮件告警通知",
|
||||
"IP": "192.168.1.1,192.168.1.2 | 192.168.1.1-12 | 192.168.1.1-192.168.1.12 | 192.168.1.0/30 | 192.168.1.1"
|
||||
},
|
||||
"validatorMessage": {
|
||||
"EnsureThisValueIsGreaterThanOrEqualTo3": "请确保该值大于或者等于 3",
|
||||
@@ -1748,7 +1749,7 @@
|
||||
"BasicTools": "基本工具",
|
||||
"DestinationIP": "目的地址",
|
||||
"SourceIP": "源地址",
|
||||
"Interface": "接口",
|
||||
"Interface": "网络接口",
|
||||
"TestMultiPort": "多个端口用,分隔",
|
||||
"SourcePort": "源端口",
|
||||
"DestinationPort": "目的端口",
|
||||
|
||||
@@ -6,6 +6,12 @@
|
||||
<el-form-item label-width="8%">
|
||||
<el-col v-for="item in field" :key="item.name" :span="getSpan(field)">
|
||||
<el-form-item :label="item.label" :prop="item.name">
|
||||
<template #label>
|
||||
{{ item.label }}
|
||||
<el-tooltip v-if="item.tip" :content="item.tip" placement="top">
|
||||
<i class="fa fa-question-circle-o" />
|
||||
</el-tooltip>
|
||||
</template>
|
||||
<component
|
||||
:is="item.component ? item.component : 'el-input'"
|
||||
v-model="testData[item.name]"
|
||||
@@ -19,6 +25,12 @@
|
||||
</div>
|
||||
<div v-else>
|
||||
<el-form-item :label="field.label" :prop="field.name">
|
||||
<template #label>
|
||||
{{ field.label }}
|
||||
<el-tooltip v-if="field.tip" :content="field.tip" placement="top">
|
||||
<i class="fa fa-question-circle-o" />
|
||||
</el-tooltip>
|
||||
</template>
|
||||
<component
|
||||
:is="field.component ? field.component : 'el-input'"
|
||||
v-model="testData[field.name]"
|
||||
|
||||
@@ -19,6 +19,7 @@ export default {
|
||||
{
|
||||
name: 'dest_ips',
|
||||
label: this.$t('setting.DestinationIP'),
|
||||
tip: this.$t('setting.helpTip.IP'),
|
||||
el: {
|
||||
placeholder: this.$t('setting.DestinationIP')
|
||||
}
|
||||
|
||||
@@ -14,9 +14,11 @@ export default {
|
||||
data() {
|
||||
return {
|
||||
taskType: 'ping',
|
||||
hasStop: true,
|
||||
fields: [{
|
||||
name: 'dest_ip',
|
||||
name: 'dest_ips',
|
||||
label: this.$t('setting.DestinationIP'),
|
||||
tip: this.$t('setting.helpTip.IP'),
|
||||
el: {
|
||||
placeholder: this.$t('setting.DestinationIP')
|
||||
}
|
||||
|
||||
@@ -25,6 +25,7 @@ export default {
|
||||
{
|
||||
name: 'src_ips',
|
||||
label: this.$t('setting.SourceIP'),
|
||||
tip: this.$t('setting.helpTip.IP'),
|
||||
el: {
|
||||
placeholder: this.$t('setting.SourceIP')
|
||||
}
|
||||
@@ -42,6 +43,7 @@ export default {
|
||||
{
|
||||
name: 'dest_ips',
|
||||
label: this.$t('setting.DestinationIP'),
|
||||
tip: this.$t('setting.helpTip.IP'),
|
||||
el: {
|
||||
placeholder: this.$t('setting.DestinationIP')
|
||||
}
|
||||
|
||||
@@ -14,10 +14,12 @@ export default {
|
||||
data() {
|
||||
return {
|
||||
taskType: 'telnet',
|
||||
hasStop: true,
|
||||
fields: [
|
||||
{
|
||||
name: 'dest_ip',
|
||||
name: 'dest_ips',
|
||||
label: this.$t('setting.DestinationIP'),
|
||||
tip: this.$t('setting.helpTip.IP'),
|
||||
el: {
|
||||
placeholder: this.$t('setting.DestinationIP')
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user