|
@@ -40,6 +40,16 @@
|
|
|
</template>
|
|
|
</el-popconfirm>
|
|
|
<el-button type="primary" link icon="View" @click="compareVideoStable(scope.row)" v-if="scope.row.status == '2'"> 预览 </el-button>
|
|
|
+ <el-button
|
|
|
+ type="primary"
|
|
|
+ link
|
|
|
+ icon="View"
|
|
|
+ v-auth="['demo:toInfrared:query']"
|
|
|
+ @click="viewLogRef.handleOpen(scope.row.id)"
|
|
|
+ v-if="scope.row.status != '0'"
|
|
|
+ >
|
|
|
+ 日志
|
|
|
+ </el-button>
|
|
|
<el-button type="primary" link icon="View" v-auth="['demo:videoStable:query']" @click="openDialog(3, '视频去抖动查看', scope.row)">
|
|
|
查看
|
|
|
</el-button>
|
|
@@ -50,6 +60,7 @@
|
|
|
</template>
|
|
|
</ProTable>
|
|
|
<FormDialog ref="formDialogRef" />
|
|
|
+ <ViewLog ref="viewLogRef" :get-log-api="getLogVideoStableApi" />
|
|
|
<ImportExcel ref="dialogRef" />
|
|
|
<el-dialog v-model="dialogVisible" :title="dialogTitle" width="80%" :before-close="handleClose">
|
|
|
<el-form :inline="true">
|
|
@@ -100,11 +111,15 @@ import {
|
|
|
stopVideoStableApi,
|
|
|
// getCompareImageApi,
|
|
|
// getCompareImageCountApi,
|
|
|
- getImagesApi
|
|
|
+ getImagesApi,
|
|
|
+ getLogVideoStableApi
|
|
|
} from '@/api/modules/demo/videoStable'
|
|
|
|
|
|
import useWebSocketStore from '@/stores/modules/websocket'
|
|
|
import { resetHeart } from '@/utils/websocket'
|
|
|
+import ViewLog from '@/views/demo/components/ViewLog.vue'
|
|
|
+
|
|
|
+const viewLogRef = ref()
|
|
|
|
|
|
onMounted(() => {
|
|
|
const websocketStore = useWebSocketStore()
|