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