|
@@ -3,12 +3,12 @@
|
|
|
<ProTable ref="proTable" :columns="columns" row-key="id" :data="bizProcessList">
|
|
|
<!-- 表格 header 按钮 -->
|
|
|
<template #tableHeader="scope">
|
|
|
- <!-- <el-button type="primary" v-auth="['task:bizProcess:add']" icon="CirclePlus" @click="openDialog(1, '算法业务处理新增')"> 新增 </el-button>
|
|
|
- <el-button type="primary" v-auth="['task:bizProcess:import']" icon="Upload" plain @click="batchAdd"> 导入 </el-button> -->
|
|
|
- <el-button type="primary" v-auth="['task:bizProcess:export']" icon="Download" plain @click="downloadFile"> 导出 </el-button>
|
|
|
+ <!-- <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="['task:bizProcess:remove']"
|
|
|
+ v-auth="['identification:identificationSubtaskDetails:remove']"
|
|
|
icon="Delete"
|
|
|
plain
|
|
|
:disabled="!scope.isSelected"
|
|
@@ -16,18 +16,18 @@
|
|
|
>
|
|
|
批量删除
|
|
|
</el-button>
|
|
|
- <el-button type="primary" v-auth="['task:bizProcess:add']" icon="View" @click="contrastResults()"> 对比结果 </el-button>
|
|
|
+ <el-button type="primary" v-auth="['identification:identificationSubtaskDetails:add']" icon="View" @click="contrastResults()"> 对比结果 </el-button>
|
|
|
</template>
|
|
|
<!-- 表格操作 -->
|
|
|
<template #operation="scope">
|
|
|
- <el-button type="primary" link icon="View" v-auth="['task:bizProcess:query']" @click="openDialog(3, '算法业务处理查看', scope.row)">
|
|
|
+ <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="EditPen" v-auth="['task:bizProcess:edit']" @click="openDialog(2, '算法业务处理编辑', scope.row)">
|
|
|
+ <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="['task:bizProcess:remove']" @click="deleteBizProcess(scope.row)"> 删除 </el-button>
|
|
|
- <el-button type="primary" link icon="View" v-auth="['task:bizProcess:query']" @click="viewLog(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="View" v-auth="['identification:identificationSubtaskDetails:query']" @click="viewLog(scope.row)"> 查看日志 </el-button>
|
|
|
</template>
|
|
|
</ProTable>
|
|
|
<FormDialog ref="formDialogRef" />
|
|
@@ -120,7 +120,7 @@ import {
|
|
|
getTrainResultApi,
|
|
|
getVerifyResultApi,
|
|
|
getTestResultApi
|
|
|
-} from '@/api/modules/task/bizProcess'
|
|
|
+} from '@/api/modules/task/bizProcessNew'
|
|
|
// getTrainResultApi,getVerifyResultApi,getTestResultApi
|
|
|
import { getSubtaskApi } from '@/api/modules/task/subtask'
|
|
|
import { getDictsApi } from '@/api/modules/system/dictData'
|
|
@@ -150,7 +150,7 @@ const refreshList = () => {
|
|
|
listBizProcessApi({
|
|
|
pageNum: 1,
|
|
|
pageSize: 100,
|
|
|
- subTaskId
|
|
|
+ subtaskId: subTaskId
|
|
|
}).then(res => {
|
|
|
bizProcessList.value = res.data['list'].sort((a, b) => b.index - a.index)
|
|
|
})
|