Compare commits

..

No commits in common. "0a55ac7b689f11fc9fb080509ca6b2ceb0b2de7c" and "f28d12ac880e4f48c7dd15e7c42c230f3bed1ca3" have entirely different histories.

1 changed files with 1 additions and 51 deletions

View File

@ -438,12 +438,7 @@
</div>
<i class="boundary"></i>
<!-- 批量预览 -->
<a-button
type="primary"
@click="batchPreview"
class="buttonAdd"
v-show="isXiHaiAn"
>
<a-button type="primary" @click="batchPreview" class="buttonAdd">
批量预览
</a-button>
<!-- 添加至申购车 -->
@ -479,7 +474,6 @@
<template #bodyCell="{ column, record }">
<template v-if="column.dataIndex === 'operation'">
<a
v-if="isXiHaiAn"
@click="
openVideo(
record.channelCode ||
@ -490,18 +484,6 @@
>
预览
</a>
<a
v-else
@click="
openPicture(
record.channelCode ||
record.channelId ||
record.channelCode.channelId
)
"
>
预览
</a>
</template>
</template>
</a-table>
@ -550,19 +532,6 @@
</div>
</div>
</a-modal>
<!-- 图片预览 -->
<a-modal
wrapClassName="single-preview-modal"
v-model:visible="picVisible"
title="图片预览"
:width="960"
destroyOnClose
>
<template #footer></template>
<div style="width: 100%; display: flex; justify-content: center">
<a-image :src="options.src" />
</div>
</a-modal>
<!-- 批量预览弹窗 -->
<a-modal
wrapClassName="batch-preview-modal"
@ -672,7 +641,6 @@
getCameraByParentId,
getStreamByChannelCode,
getCameraAllLabel,
selectByChannelCode,
} from '@/api/videoSurveillance'
import { getCameraByCondition } from '@/api/file'
import {
@ -724,7 +692,6 @@
})
const videoList = ref([])
let visible = ref(false)
let picVisible = ref(false)
let batchVisible = ref(false)
const jcssType = ref(router.currentRoute.value.query.type)
const pagination = ref({
@ -917,7 +884,6 @@
tabList.value[0].content.push('无人机')
tabList.value[0].content.push('单兵设备')
}
//
const openVideo = (id) => {
console.log('打开视频', id)
const param = {
@ -929,22 +895,6 @@
options.src = res.data.data
})
}
//
const openPicture = (id) => {
console.log('打开图片', id)
const param = {
channelCode: id,
}
selectByChannelCode(param).then((res) => {
console.log(res)
if (res.data.data && res.data.data[0].picUrl) {
options.src = res.data.data[0].picUrl
picVisible.value = true
} else {
message.warning('该点位暂无预览图片!')
}
})
}
// const dataTypeList = () => {
// if (tabList.value[0].content.indexOf('') != -1) {
// tabList.value[1].content = ['123344', '213124']