feat(测试计划): 性能测试用例展示ID列
This commit is contained in:
parent
4cef65d9f8
commit
30b3f83725
|
@ -18,6 +18,7 @@
|
||||||
tplc.test_plan_id,
|
tplc.test_plan_id,
|
||||||
tplc.load_case_id,
|
tplc.load_case_id,
|
||||||
lt.status,
|
lt.status,
|
||||||
|
lt.num,
|
||||||
tplc.status as caseStatus,
|
tplc.status as caseStatus,
|
||||||
lt.name as caseName,
|
lt.name as caseName,
|
||||||
tplc.load_report_id,
|
tplc.load_report_id,
|
||||||
|
|
|
@ -11,4 +11,5 @@ public class TestPlanLoadCaseDTO extends TestPlanLoadCase {
|
||||||
private String caseName;
|
private String caseName;
|
||||||
private String projectName;
|
private String projectName;
|
||||||
private String caseStatus;
|
private String caseStatus;
|
||||||
|
private String num;
|
||||||
}
|
}
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
|
|
||||||
<!-- <el-table-column prop="num" label="ID" show-overflow-tooltip/>-->
|
<el-table-column prop="num" label="ID" show-overflow-tooltip/>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="caseName"
|
prop="caseName"
|
||||||
:label="$t('commons.name')"
|
:label="$t('commons.name')"
|
||||||
|
@ -48,14 +48,14 @@
|
||||||
<span>{{ scope.row.createTime | timestampFormatDate }}</span>
|
<span>{{ scope.row.createTime | timestampFormatDate }}</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<!-- <el-table-column-->
|
<!-- <el-table-column-->
|
||||||
<!-- sortable-->
|
<!-- sortable-->
|
||||||
<!-- prop="updateTime"-->
|
<!-- prop="updateTime"-->
|
||||||
<!-- :label="$t('commons.update_time')">-->
|
<!-- :label="$t('commons.update_time')">-->
|
||||||
<!-- <template v-slot:default="scope">-->
|
<!-- <template v-slot:default="scope">-->
|
||||||
<!-- <span>{{ scope.row.updateTime | timestampFormatDate }}</span>-->
|
<!-- <span>{{ scope.row.updateTime | timestampFormatDate }}</span>-->
|
||||||
<!-- </template>-->
|
<!-- </template>-->
|
||||||
<!-- </el-table-column>-->
|
<!-- </el-table-column>-->
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="status"
|
prop="status"
|
||||||
column-key="status"
|
column-key="status"
|
||||||
|
@ -83,7 +83,9 @@
|
||||||
show-overflow-tooltip>
|
show-overflow-tooltip>
|
||||||
<template v-slot:default="scope">
|
<template v-slot:default="scope">
|
||||||
<div v-loading="loading === scope.row.id">
|
<div v-loading="loading === scope.row.id">
|
||||||
<el-link type="info" @click="getReport(scope.row)" v-if="scope.row.loadReportId">{{ $t('test_track.plan.load_case.view_report') }}</el-link>
|
<el-link type="info" @click="getReport(scope.row)" v-if="scope.row.loadReportId">
|
||||||
|
{{ $t('test_track.plan.load_case.view_report') }}
|
||||||
|
</el-link>
|
||||||
<span v-else> - </span>
|
<span v-else> - </span>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
@ -268,7 +270,7 @@ export default {
|
||||||
this.initTable();
|
this.initTable();
|
||||||
}).catch(() => {
|
}).catch(() => {
|
||||||
//todo 用例出错
|
//todo 用例出错
|
||||||
this.$post('/test/plan/load/case/update', {id: loadCase.id, status: "error"},() => {
|
this.$post('/test/plan/load/case/update', {id: loadCase.id, status: "error"}, () => {
|
||||||
this.initTable();
|
this.initTable();
|
||||||
});
|
});
|
||||||
this.$notify.error({
|
this.$notify.error({
|
||||||
|
|
Loading…
Reference in New Issue