This commit is contained in:
shiziyuan9527 2020-05-29 14:15:32 +08:00
parent 5f93bc4f56
commit 3dbd617ded
5 changed files with 9 additions and 3 deletions

View File

@ -131,13 +131,13 @@
this.$warning(this.$t('report.generation_error'));
break;
case 'Starting':
this.$warning("测试处于开始状态,请稍后查看报告!");
this.$warning(this.$t('report.start_status'));
break;
case 'Reporting':
this.$info(this.$t('report.being_generated'));
break;
case 'Running':
this.$warning("测试处于运行状态,请稍后查看报告!");
this.$warning(this.$t('report.run_status'));
break;
case 'Completed':
default:

View File

@ -101,7 +101,7 @@
this.avgResponseTime = '0';
this.responseTime90 = '0';
this.avgBandwidth = '0';
this.$warning("报告生成错误!")
this.$warning(this.$t('report.generation_error'));
})
this.$get("/performance/report/content/load_chart/" + this.id).then(res => {
let data = res.data.data;

View File

@ -192,6 +192,8 @@ export default {
'generation_error': 'Report generation error, cannot be viewed!',
'being_generated': 'Report is being generated...',
'delete_confirm': 'Confirm delete: ',
'start_status': 'The test is starting, please check the report later!',
'run_status': 'The test is running, please check the report later',
},
load_test: {
'operating': 'Operating',

View File

@ -190,6 +190,8 @@ export default {
'generation_error': '报告生成错误,无法查看!',
'being_generated': '报告正在生成中...',
'delete_confirm': '确认删除报告: ',
'start_status': '测试处于开始状态,请稍后查看报告!',
'run_status': '测试处于运行状态,请稍后查看报告!',
},
load_test: {
'operating': '操作',

View File

@ -191,6 +191,8 @@ export default {
'generation_error': '報告生成錯誤,無法查看!',
'being_generated': '報告正在生成中...',
'delete_confirm': '確認刪除報告: ',
'start_status': '測試處於開始狀態,請稍後查看報告!',
'run_status': '測試處於運行狀態,請稍後查看報告!',
},
load_test: {
'operating': '操作',