|
@@ -44,7 +44,7 @@
|
|
|
link
|
|
|
icon="View"
|
|
|
v-auth="['demo:DataAugmentation:query']"
|
|
|
- @click="openLogDialog(scope.row.id)"
|
|
|
+ @click="viewLogRef.handleOpen(scope.row.id)"
|
|
|
v-if="scope.row.status != '0' && scope.row.status != '1'"
|
|
|
>
|
|
|
日志
|
|
@@ -80,9 +80,10 @@
|
|
|
<el-button type="primary" @click="next_picture" :disabled="imageIdx >= fileCount - 1">下一个</el-button>
|
|
|
</div>
|
|
|
</el-dialog>
|
|
|
- <el-dialog v-model="logDialogVisible" title="日志" width="80%">
|
|
|
+ <!-- <el-dialog v-model="logDialogVisible" title="日志" width="80%">
|
|
|
<el-text class="mx-1">{{ logDialog }}</el-text>
|
|
|
- </el-dialog>
|
|
|
+ </el-dialog> -->
|
|
|
+ <ViewLog ref="viewLogRef" :get-log-api="getDialogApi" />
|
|
|
<el-dialog v-model="metricDialogVisible" title="算法结果指标" width="40%;" style="text-align: center">
|
|
|
<el-table :data="metricList" style="width: 100%; margin-left: 10%; text-align: left">
|
|
|
<el-table-column prop="name" label="name" width="200px" />
|
|
@@ -101,6 +102,7 @@ import ProTable from '@/components/ProTable/index.vue'
|
|
|
import ImportExcel from '@/components/ImportExcel/index.vue'
|
|
|
import DataAugmentationFormDialog from '@/components/DataAugmentationFormDialog/index.vue'
|
|
|
import { ProTableInstance, ColumnProps, EnumProps } from '@/components/ProTable/interface'
|
|
|
+import ViewLog from '@/views/demo/components/ViewLog.vue'
|
|
|
import {
|
|
|
listDataAugmentationApi1,
|
|
|
delDataAugmentationApi,
|
|
@@ -119,9 +121,8 @@ import {
|
|
|
getMetricApi
|
|
|
} from '@/api/modules/demo/dataAugmentation'
|
|
|
// import { } from '@/api/modules/system/dictData'
|
|
|
-import { S } from 'vite/dist/node/types.d-aGj9QkWt'
|
|
|
-import { servicesVersion } from 'typescript'
|
|
|
|
|
|
+const viewLogRef = ref()
|
|
|
//打开指标窗口查看算法指标信息
|
|
|
const metricDialogVisible = ref(false)
|
|
|
const metricList = reactive([])
|