refactor(接口测试): 优化测试报告状态
--bug=1013989 --user=赵勇 [通用设置]任务中心-状态列表中应按照报告结果情况列出所有状态并保持中英文一致 https://www.tapd.cn/55049933/s/1179854
This commit is contained in:
parent
c0382bfebc
commit
ad697ed869
|
@ -188,16 +188,12 @@ export default {
|
|||
loading: false,
|
||||
currentProjectId: "",
|
||||
statusFilters: [
|
||||
{text: 'Saved', value: 'Saved'},
|
||||
{text: 'Starting', value: 'Starting'},
|
||||
{text: 'Running', value: 'Running'},
|
||||
{text: 'Reporting', value: 'Reporting'},
|
||||
{text: 'Completed', value: 'Completed'},
|
||||
{text: 'Error', value: 'Error'},
|
||||
{text: 'Success', value: 'Success'},
|
||||
{text: 'stopped', value: 'stop'},
|
||||
{text: 'Unexecute', value: 'unexecute'},
|
||||
{text: this.$t('error_report_library.option.name'), value: 'errorReportResult'},
|
||||
{text: 'Stopped', value: 'stop'},
|
||||
{text: 'NotExecute', value: 'unexecute'},
|
||||
{text: 'Error', value: 'Error'},
|
||||
{text: "FakeError", value: 'errorReportResult'},
|
||||
],
|
||||
reportTypeFilters:[],
|
||||
reportScenarioFilters: [
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
{{ showStatus(row.status) }}
|
||||
</el-tag>
|
||||
<el-tag size="mini" type="danger" style="background-color: #F6972A; color: #FFFFFF" v-else-if="row.status === 'errorReportResult'">
|
||||
{{ $t('error_report_library.option.name') }}
|
||||
FakeError
|
||||
</el-tag>
|
||||
<el-tag v-else size="mini" type="info">
|
||||
{{ showStatus(row.status) }}
|
||||
|
|
|
@ -129,7 +129,7 @@
|
|||
</span>
|
||||
<span v-else-if="item.executionStatus && item.executionStatus.toLowerCase() === 'errorreportresult'"
|
||||
class="ms-task-error-report-status">
|
||||
{{ $t('error_report_library.option.name') }}
|
||||
FakeError
|
||||
</span>
|
||||
<span v-else-if="item.executionStatus && item.executionStatus.toLowerCase() === 'running'"
|
||||
class="ms-task-running">
|
||||
|
@ -196,17 +196,17 @@ export default {
|
|||
],
|
||||
runStatus: [
|
||||
{id: '', label: this.$t('api_test.definition.document.data_set.all')},
|
||||
{id: 'saved', label: 'Saved'},
|
||||
{id: 'starting', label: 'Starting'},
|
||||
{id: 'running', label: 'Running'},
|
||||
{id: 'reporting', label: 'Reporting'},
|
||||
{id: 'completed', label: 'Completed'},
|
||||
{id: 'error', label: 'Error'},
|
||||
{id: 'success', label: 'Success'},
|
||||
{id: 'waiting', label: 'Waiting'},
|
||||
{id: "errorReportResult", label: 'FakeError'},
|
||||
{id: 'unexecute', label: 'NotExecute'},
|
||||
{id: 'stop', label: 'Stopped'},
|
||||
{id: 'error', label: 'Error'},
|
||||
{id: 'fail', label: 'Fail'},
|
||||
{id: 'unexecute', label: 'Unexecuted'},
|
||||
{id: 'stop', label: 'Stopped'}
|
||||
],
|
||||
condition: {triggerMode: "", executionStatus: ""},
|
||||
maintainerOptions: [],
|
||||
|
|
Loading…
Reference in New Issue