|
@@ -5,56 +5,52 @@
|
|
|
<template #tableHeader="scope">
|
|
|
<!-- <el-button type="primary" v-auth="['identification:identificationSubtaskDetails:add']" icon="CirclePlus" @click="openDialog(1, '算法业务处理新增')"> 新增 </el-button>
|
|
|
<el-button type="primary" v-auth="['identification:identificationSubtaskDetails:import']" icon="Upload" plain @click="batchAdd"> 导入 </el-button> -->
|
|
|
- <el-button type="primary" v-auth="['identification:identificationSubtaskDetails:export']" icon="Download" plain @click="downloadFile">
|
|
|
- 导出
|
|
|
- </el-button>
|
|
|
- <el-button
|
|
|
- type="danger"
|
|
|
- v-auth="['identification:identificationSubtaskDetails:remove']"
|
|
|
- icon="Delete"
|
|
|
- plain
|
|
|
- :disabled="!scope.isSelected"
|
|
|
- @click="batchDelete(scope.selectedListIds)"
|
|
|
- >
|
|
|
- 批量删除
|
|
|
- </el-button>
|
|
|
+ <!-- <el-button type="primary" v-auth="['identification:identificationSubtaskDetails:export']" icon="Download" plain @click="downloadFile">-->
|
|
|
+ <!-- 导出-->
|
|
|
+ <!-- </el-button>-->
|
|
|
+ <!-- <el-button-->
|
|
|
+ <!-- type="danger"-->
|
|
|
+ <!-- v-auth="['identification:identificationSubtaskDetails:remove']"-->
|
|
|
+ <!-- icon="Delete"-->
|
|
|
+ <!-- plain-->
|
|
|
+ <!-- :disabled="!scope.isSelected"-->
|
|
|
+ <!-- @click="batchDelete(scope.selectedListIds)"-->
|
|
|
+ <!-- >-->
|
|
|
+ <!-- 批量删除-->
|
|
|
+ <!-- </el-button>-->
|
|
|
<el-button type="primary" icon="View" @click="showCompareResult"> 验证指标对比 </el-button>
|
|
|
<!-- <el-button type="primary" icon="View" @click="showValResult(true)"> 验证结果 </el-button>-->
|
|
|
- <el-button type="primary" icon="View" @click="showValResult(false)"> 测试结果 </el-button>
|
|
|
+ <el-button type="primary" icon="View" @click="showValResult(false && scope.row)"> 测试结果 </el-button>
|
|
|
<el-button type="primary" icon="View" @click="showValResult(true)"> 验证结果 </el-button>
|
|
|
</template>
|
|
|
<!-- 表格操作 -->
|
|
|
<template #operation="scope">
|
|
|
- <el-button
|
|
|
- type="primary"
|
|
|
- link
|
|
|
- icon="View"
|
|
|
- v-auth="['identification:identificationSubtaskDetails:query']"
|
|
|
- @click="openDialog(3, '算法业务处理查看', scope.row)"
|
|
|
- >
|
|
|
- 查看详情
|
|
|
- </el-button>
|
|
|
-
|
|
|
- <el-button type="primary" link icon="finished" @click="showResult(scope.row)"> 执行结果 </el-button>
|
|
|
-
|
|
|
- <el-button v-show="scope.row.name.indexOf('训练') === -1" type="primary" link icon="search" @click="showExecutedTime(scope.row)">
|
|
|
- 执行时间
|
|
|
- </el-button>
|
|
|
+ <!-- <el-button-->
|
|
|
+ <!-- type="primary"-->
|
|
|
+ <!-- link-->
|
|
|
+ <!-- icon="View"-->
|
|
|
+ <!-- v-auth="['identification:identificationSubtaskDetails:query']"-->
|
|
|
+ <!-- @click="openDialog(3, '算法业务处理查看', scope.row)"-->
|
|
|
+ <!-- >-->
|
|
|
+ <!-- 查看详情-->
|
|
|
+ <!-- </el-button>-->
|
|
|
|
|
|
<el-button v-if="scope.row.name.indexOf('训练') === -1" type="primary" link icon="Refresh" @click="reRunTask(scope.row)">
|
|
|
执行训练
|
|
|
</el-button>
|
|
|
<el-button v-else type="primary" link icon="Refresh" @click="startTask(scope.row)"> 开始训练 </el-button>
|
|
|
|
|
|
- <el-button type="primary" link icon="Refresh" @click="exportData(scope.row)"> 导出结果 </el-button>
|
|
|
+ <el-button type="primary" link icon="finished" @click="showResult(scope.row)"> 结果图 </el-button>
|
|
|
+
|
|
|
+ <el-button v-show="scope.row.name.indexOf('训练') === -1" type="primary" link icon="search" @click="showExecutedTime(scope.row)">
|
|
|
+ 执行时间
|
|
|
+ </el-button>
|
|
|
|
|
|
- <!-- <el-button type="primary" link icon="EditPen" v-auth="['identification:identificationSubtaskDetails:edit']" @click="openDialog(2, '算法业务处理编辑', scope.row)">-->
|
|
|
- <!-- 编辑-->
|
|
|
- <!-- </el-button>-->
|
|
|
- <!-- <el-button type="primary" link icon="Delete" v-auth="['identification:identificationSubtaskDetails:remove']" @click="deleteBizProcess(scope.row)"> 删除 </el-button>-->
|
|
|
<el-button type="primary" link icon="document" v-auth="['identification:identificationSubtaskDetails:query']" @click="viewLog(scope.row)">
|
|
|
查看日志
|
|
|
</el-button>
|
|
|
+
|
|
|
+ <el-button type="primary" link icon="Refresh" @click="exportData(scope.row)"> 导出结果 </el-button>
|
|
|
</template>
|
|
|
</ProTable>
|
|
|
<FormDialog ref="formDialogRef" />
|