This commit is contained in:
chenjianxing 2020-08-26 17:48:57 +08:00
commit 8eeb51258f
2 changed files with 11 additions and 10 deletions

View File

@ -106,7 +106,8 @@ export default {
formatter: '{b}: {c} ({d}%)' formatter: '{b}: {c} ({d}%)'
}, },
title: [{ title: [{
text: '{value|' + this.content.total + '}\n{name|' + this.$t('api_report.request') + '}', text: this.content.total,
subtext: this.$t('api_report.request'),
top: 'center', top: 'center',
left: 'center', left: 'center',
textStyle: { textStyle: {

View File

@ -11,37 +11,37 @@
<el-table-column <el-table-column
prop="moduleName" prop="moduleName"
:label="$t('test_track.module.module')" :label="$t('test_track.module.module')"
width="102"> >
</el-table-column> </el-table-column>
<el-table-column <el-table-column
prop="caseCount" prop="caseCount"
:label="$t('test_track.plan_view.case_count')" :label="$t('test_track.plan_view.case_count')"
width="102"> >
</el-table-column> </el-table-column>
<el-table-column <el-table-column
prop="passCount" prop="passCount"
:label="$t('test_track.plan_view.pass')" :label="$t('test_track.plan_view.pass')"
width="102"> >
</el-table-column> </el-table-column>
<el-table-column <el-table-column
prop="failureCount" prop="failureCount"
:label="$t('test_track.plan_view.failure')" :label="$t('test_track.plan_view.failure')"
width="102"> >
</el-table-column> </el-table-column>
<el-table-column <el-table-column
prop="blockingCount" prop="blockingCount"
:label="$t('test_track.plan_view.blocking')" :label="$t('test_track.plan_view.blocking')"
width="102"> >
</el-table-column> </el-table-column>
<el-table-column <el-table-column
prop="skipCount" prop="skipCount"
:label="$t('test_track.plan_view.skip')" :label="$t('test_track.plan_view.skip')"
width="102"> >
</el-table-column> </el-table-column>
<el-table-column <el-table-column
prop="underwayCount" prop="underwayCount"
:label="$t('test_track.plan.plan_status_running')" :label="$t('test_track.plan.plan_status_running')"
width="102"> >
</el-table-column> </el-table-column>
<el-table-column <el-table-column
prop="prepareCount" prop="prepareCount"
@ -51,7 +51,7 @@
<el-table-column <el-table-column
prop="passRate" prop="passRate"
:label="$t('test_track.pass_rate')" :label="$t('test_track.pass_rate')"
width="102"> >
<template v-slot:default="scope"> <template v-slot:default="scope">
{{scope.row.passRate}}% {{scope.row.passRate}}%
</template> </template>
@ -59,7 +59,7 @@
<el-table-column <el-table-column
prop="issuesCount" prop="issuesCount"
:label="$t('test_track.plan_view.issues_count')" :label="$t('test_track.plan_view.issues_count')"
width="102"> >
</el-table-column> </el-table-column>
</el-table> </el-table>
</template> </template>