| | |
| | | <template> |
| | | <el-dialog class="gd-dialog" v-model="visible" title="查看" @closed="visible = false" width="1000px" destroy-on-close> |
| | | <el-dialog class="gd-dialog" v-model="visible" title="查看" @closed="handleClose" width="1000px" destroy-on-close> |
| | | <div v-loading="loading"> |
| | | <el-table :data="list" class="gd-dialog-table"> |
| | | <el-table-column label="线索缩略图" width="120"> |
| | |
| | | /> |
| | | </el-dialog> |
| | | |
| | | <VideoPlayDialog |
| | | ref="videoPlayDialogRef" |
| | | v-if="VideoShow" |
| | | v-model="VideoShow" |
| | | :playUrl="currentVideo.resultUrl" |
| | | /> |
| | | <VideoPlayDialog ref="videoPlayDialogRef" v-if="VideoShow" v-model="VideoShow" :playUrl="currentVideo.resultUrl" /> |
| | | </template> |
| | | |
| | | <script setup> |
| | |
| | | const permission = computed(() => store.state.user.permission) |
| | | console.log(permission.value.clueEvents_distribute, 'permission') |
| | | |
| | | const emit = defineEmits(['success']) |
| | | const visible = defineModel() |
| | | const loading = ref(false) |
| | | const list = ref([]) |
| | |
| | | await getList() |
| | | } |
| | | |
| | | function handleClose() { |
| | | emit('success') |
| | | visible = false |
| | | } |
| | | |
| | | defineExpose({ open }) |
| | | </script> |
| | | |