update 修改任务名称
parent
27b205b83d
commit
d80cc2b84a
|
@ -31,7 +31,7 @@
|
|||
<template v-if="info.reportType == 'other'">
|
||||
<div class="task-lists" v-if="info.tasks && info.tasks.length > 0">
|
||||
<div v-for="(it, idx) in info.tasks" :key="idx">
|
||||
<div class="sub-title">{{ info.report.report_name }}的测试报告</div>
|
||||
<div class="sub-title">{{ it.taskName|| info.report.report_name }}的测试报告</div>
|
||||
<template v-if="info.reportType == 'other'">
|
||||
<div v-if="info.thresholds" class="info-thresholds">
|
||||
<span>置信度阈值:</span>
|
||||
|
@ -56,8 +56,8 @@
|
|||
<el-table-column label="平均推理时间" align="left" prop="inference_time" />
|
||||
<el-table-column label="系统延迟时间" align="left" prop="system_delay" />
|
||||
</el-table>
|
||||
<div class="print-page"></div>
|
||||
<el-row class="report-chart1" style="margin-top:20px;" :key="info.elPrint"
|
||||
<div class="print-page" v-if="false"></div>
|
||||
<el-row class="report-chart1" style="margin-top:20px;" :key="info.elPrint" v-if="false"
|
||||
:style="info.isPrint ? 'width:18cm;' : ''">
|
||||
<el-col :span="info.isPrint || it.classes.length > 20 ? 24 : 24">
|
||||
<charts :id="'reportChart2-' + idx" width="100%" :height="calcChartHeight(it)"
|
||||
|
@ -559,6 +559,8 @@ function loadData() {
|
|||
system_delay: it.system_delay, task_id: it.task_id, weight_f1: it.weight_f1
|
||||
}];
|
||||
it.chartsInfo = initTaskChart(it);
|
||||
let tmps=info.taskList.filter(task=>task.task_id==it.task_id);
|
||||
it.taskName=tmps.length>0?tmps[0].task_name||"":"";
|
||||
return it;
|
||||
});
|
||||
let obj = info.report?.report_data?.robustness?.tasks || null
|
||||
|
|
Loading…
Reference in New Issue