refactor(性能测试): 显示关联的csv名称
This commit is contained in:
parent
5cf1c4dcf7
commit
fd968dfbfa
|
@ -33,7 +33,10 @@
|
||||||
<el-table-column
|
<el-table-column
|
||||||
label="CSVDataSet">
|
label="CSVDataSet">
|
||||||
<template v-slot:default="scope">
|
<template v-slot:default="scope">
|
||||||
<span v-for="f in scope.row.csvFiles" :key="f">{{ f }}</span>
|
<ms-tag v-for="(f, index) in scope.row.csvFiles"
|
||||||
|
:key="index"
|
||||||
|
effect="light"
|
||||||
|
:content="f"/>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
|
@ -133,10 +136,14 @@ import ExistFiles from "@/business/components/performance/test/components/ExistF
|
||||||
import ExistScenarios from "@/business/components/performance/test/components/ExistScenarios";
|
import ExistScenarios from "@/business/components/performance/test/components/ExistScenarios";
|
||||||
import {findThreadGroup} from "@/business/components/performance/test/model/ThreadGroup";
|
import {findThreadGroup} from "@/business/components/performance/test/model/ThreadGroup";
|
||||||
import {hasPermission} from "@/common/js/utils";
|
import {hasPermission} from "@/common/js/utils";
|
||||||
|
import MsTag from "@/business/components/common/components/MsTag";
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "PerformanceBasicConfig",
|
name: "PerformanceBasicConfig",
|
||||||
components: {ExistScenarios, ExistFiles, MsDialogFooter, MsTableOperatorButton, MsTablePagination, MsTableButton},
|
components: {
|
||||||
|
MsTag,
|
||||||
|
ExistScenarios, ExistFiles, MsDialogFooter, MsTableOperatorButton, MsTablePagination, MsTableButton
|
||||||
|
},
|
||||||
props: {
|
props: {
|
||||||
test: {
|
test: {
|
||||||
type: Object
|
type: Object
|
||||||
|
|
Loading…
Reference in New Issue