refactor: K8S 资源池提示优化
This commit is contained in:
parent
55a11cae5e
commit
b5cb38b67d
|
@ -94,9 +94,11 @@
|
|||
v-if="form.type === 'K8S'"
|
||||
placement="bottom"
|
||||
width="450"
|
||||
title="使用K8S资源池需要的权限"
|
||||
:title="$t('test_resource_pool.k8s_sa_tips')"
|
||||
trigger="hover">
|
||||
<el-link type="primary" @click="downloadYaml({deployType:'sa', deployName:'sa'})">sa.yaml</el-link>
|
||||
<el-link type="primary" @click="downloadYaml({deployType:'sa', deployName:'sa'})">
|
||||
{{ $t('test_resource_pool.k8s_sa_download_tips') }}
|
||||
</el-link>
|
||||
<i class="el-icon-info" slot="reference"></i>
|
||||
</el-popover>
|
||||
</template>
|
||||
|
@ -137,10 +139,9 @@
|
|||
<el-popover
|
||||
placement="bottom"
|
||||
width="450"
|
||||
title="执行接口测试需要部署 DaemonSet 或 Deployment"
|
||||
:title="$t('test_resource_pool.k8s_deploy_type_tips')"
|
||||
trigger="hover">
|
||||
<el-link type="primary" @click="downloadYaml(item)">daemonset.yaml</el-link>
|
||||
<el-link type="primary" @click="downloadYaml(item)">deployment.yaml</el-link>
|
||||
<el-link type="primary" @click="downloadYaml(item)">{{ $t('test_resource_pool.k8s_deploy_download_tips') }}</el-link>
|
||||
<i class="el-icon-info" slot="reference"></i>
|
||||
</el-popover>
|
||||
</template>
|
||||
|
|
|
@ -2450,6 +2450,10 @@ export default {
|
|||
usage: 'Usage',
|
||||
backend_listener: 'Backend Listener',
|
||||
batch_add_resource_tips: 'Format: IP, Port, Monitor, maximum concurrent number<br/>such as: 192.168.1.52,8082,9100,500',
|
||||
k8s_sa_tips: 'Permissions required to use the K8S resource pool',
|
||||
k8s_sa_download_tips: 'Download SA executable file',
|
||||
k8s_deploy_type_tips: 'A DaemonSet or Deployment needs to be deployed to perform interface testing',
|
||||
k8s_deploy_download_tips: 'Download the YAML executable file',
|
||||
},
|
||||
system_parameter_setting: {
|
||||
mailbox_service_settings: 'Mailbox Settings',
|
||||
|
|
|
@ -2454,6 +2454,10 @@ export default {
|
|||
usage: '用途',
|
||||
backend_listener: '后置监听器',
|
||||
batch_add_resource_tips: '格式:IP,Port,Monitor,最大并发数<br/>如:192.168.1.52,8082,9100,500',
|
||||
k8s_sa_tips: '使用K8S资源池需要的权限',
|
||||
k8s_sa_download_tips: '下载SA执行文件',
|
||||
k8s_deploy_type_tips: '执行接口测试需要部署 DaemonSet 或 Deployment',
|
||||
k8s_deploy_download_tips: '下载YAML执行文件',
|
||||
},
|
||||
system_parameter_setting: {
|
||||
mailbox_service_settings: '邮件设置',
|
||||
|
|
|
@ -2453,6 +2453,10 @@ export default {
|
|||
usage: '用途',
|
||||
backend_listener: '後置監聽器',
|
||||
batch_add_resource_tips: '格式:IP,Port,Monitor,最大並發數<br/>如:192.168.1.52,8082,9100,500',
|
||||
k8s_sa_tips: '使用K8S資源池需要的權限',
|
||||
k8s_sa_download_tips: '下載SA執行文件',
|
||||
k8s_deploy_type_tips: '執行接口測試需要部署 DaemonSet 或 Deployment',
|
||||
k8s_deploy_download_tips: '下載YAML執行文件',
|
||||
},
|
||||
system_parameter_setting: {
|
||||
mailbox_service_settings: '郵件設置',
|
||||
|
|
Loading…
Reference in New Issue