fix:用例列表复制后会出现相同的ID

This commit is contained in:
wenyann 2021-04-19 10:43:08 +08:00 committed by 刘瑞斌
parent 6923eb101f
commit 19372d2c7a
4 changed files with 11 additions and 4 deletions

View File

@ -29,9 +29,10 @@
</template>
</el-table-column>
<el-table-column
label="ThreadGroup">
:label="$t('load_test.thread_group')">
<template v-slot:default="{row}">
<el-select v-model="row.tgType" :placeholder="$t('commons.please_select')" size="small" @change="tgTypeChange(row)">
<el-select v-model="row.tgType" :placeholder="$t('commons.please_select')" size="small"
@change="tgTypeChange(row)">
<el-option v-for="tg in threadGroupForSelect" :key="tg.tagName" :label="tg.name"
:value="tg.testclass"></el-option>
</el-select>
@ -154,13 +155,13 @@ export default {
selectIds: new Set(),
threadGroupForSelect: [
{
name: 'ThreadGroup',
name: this.$t('load_test.thread_group'),
tagName: 'ThreadGroup',
testclass: 'ThreadGroup',
guiclass: 'ThreadGroupGui'
},
{
name: 'ConcurrencyThreadGroup',
name: this.$t('load_test.concurrency_thread_group'),
tagName: 'com.blazemeter.jmeter.threads.concurrency.ConcurrencyThreadGroup',
testclass: 'com.blazemeter.jmeter.threads.concurrency.ConcurrencyThreadGroup',
guiclass: "com.blazemeter.jmeter.threads.concurrency.ConcurrencyThreadGroupGui"

View File

@ -470,6 +470,8 @@ export default {
max_users: 'VUs'
},
load_test: {
concurrency_thread_group: 'Concurrent read group',
thread_group: 'ThreadGroup',
completed_test_report: 'Completed test report',
test: 'Test',
name: 'Test Name',

View File

@ -477,6 +477,8 @@ export default {
max_users: '并发数'
},
load_test: {
concurrency_thread_group: '并发读取组',
thread_group: '线程组',
completed_test_report: '已完成测试报告',
test: '测试',
name: '测试名称',

View File

@ -468,6 +468,8 @@ export default {
max_users: '並發数'
},
load_test: {
concurrency_thread_group: '併發讀取組',
thread_group: '線程組',
completed_test_report: '已完成的測試報告',
test: '測試',
name: '測試名稱',