| | |
| | | :data="tableData" |
| | | class="custom-header" |
| | | @selection-change="handleSelectionChange" |
| | | @cell-click="handleCellClick" |
| | | > |
| | | <el-table-column type="selection" width="55" /> |
| | | <el-table-column label="序号" type="index" width="60"> |
| | |
| | | </el-table-column> |
| | | <el-table-column property="nestName" label="所属机巢" /> |
| | | <el-table-column property="jobName" label="任务名称" show-overflow-tooltip /> |
| | | <el-table-column prop="nickName" label="文件名称" show-overflow-tooltip /> |
| | | <el-table-column prop="nickName" label="文件名称" width="160"> |
| | | <template #default="scope"> |
| | | <el-tooltip-copy :content="scope.row.nickName" :showCopyText="true"> |
| | | {{scope.row.nickName}} |
| | | </el-tooltip-copy> |
| | | </template> |
| | | </el-table-column> |
| | | |
| | | <el-table-column property="link" label="缩略图" width="120"> |
| | | <template #default="scope"> |
| | | <img |
| | |
| | | import { getShowImg, getSmallImg, getzsSmallImg } from '@/utils/util'; |
| | | import { onMounted, watch } from 'vue'; |
| | | import dayjs from 'dayjs'; |
| | | import ElTooltipCopy from '@/components/ElTooltipCopy.vue'; |
| | | |
| | | function bytesToMB(bytes, decimalPlaces = 2) { |
| | | if (typeof bytes !== 'number' || bytes < 0) return '0'; |
| | |
| | | viewer = null; |
| | | isMapInitialized.value = false; |
| | | } |
| | | function handleCellClick(row, column) { |
| | | console.log(row,column.no) |
| | | if (column.no === 5) { |
| | | navigator.clipboard.writeText(row.nickName).then(() => { |
| | | ElMessage.success('复制文件名称成功') |
| | | }) |
| | | } |
| | | } |
| | | onMounted(() => { |
| | | getaiImagesPage(); |
| | | // 监听打开全景事件 |