<template> <div class="BOx"> <div class="ditu">地图</div> <el-table v-loading="tableLoading" :data="tableData" max-height="650" style="margin-top: 5px"> <el-table-column label="巡查名称" prop="nickName" /> <el-table-column label="巡查项目名称" prop="openId" /> <el-table-column label="巡查人" prop="nickName" /> <el-table-column label="巡查里程" prop="openId" /> <el-table-column label="巡查状态" prop="nickName" /> <el-table-column label="巡查时段" prop="nickName" /> <el-table-column label="巡查位置" prop="openId" /> <el-table-column label="巡查描述" prop="openId" /> </el-table> <div style="width: 100%; display: flex; margin-top: 5px"> <div> <div class="detail-title1">问题图片</div> <div style="flex-wrap: wrap; width: 100%"> <el-image :src="url" style="width: 240px; height: 120px; margin-top: 5px"> </el-image> </div> <!-- <el-empty v-else description="暂无图片" :image-size="50" /> --> </div> <!-- <Empty :width="220" :height="120" :emptyText="'暂无数据...'" style="margin-top: 5px"></Empty> --> </div> <el-table v-loading="tableLoading" :data="tableData" max-height="650" style="margin-top: 5px"> <el-table-column label="按键名称" prop="nickName" /> <el-table-column label="案件等级" prop="openId" /> <el-table-column label="问题类型" prop="nickName" /> <el-table-column label="上报人" prop="openId" /> <el-table-column label="上报时间" prop="nickName" /> <el-table-column label="截止时间" prop="nickName" /> <el-table-column label="状态" prop="openId" /> <el-table-column label="操作" prop="openId" /> </el-table> </div> </template> <script setup> const url = 'https://server1.wh-nf.cn:9000/newfiber-standard/2024/03/02/微信图片_20240302202056_20240302202204A004.jpg'; const tableData = ref([]); // const tableLoading = ref(true); </script> <style scoped lang="scss"> .BOx { padding-bottom: 20px; } .ditu { width: 100%; height: 300px; border: 1px solid #c6c6c6; } .detail-title1 { color: #c6c6c6; } </style>