| | |
| | | <el-dialog title="查看附件" |
| | | v-model="dialogVisitable" width="800px" @close="cancel"> |
| | | <div class="upload-container"> |
| | | <!-- 生产异常 --> |
| | | <div class="form-container"> |
| | | <div class="title">生产异常</div> |
| | | <div class="title">巡检附件</div> |
| | | |
| | | <!-- 图片列表 --> |
| | | <div style="display: flex; flex-wrap: wrap;"> |
| | |
| | | |
| | | // 打开弹窗并加载数据 |
| | | const openDialog = async (row) => { |
| | | // 使用 commonFileListBeforeDTO 或 commonFileListBeforeVO 字段 |
| | | const fileList = row.commonFileListBeforeDTO || row.commonFileListBeforeVO || []; |
| | | const fileList = row.commonFileListVO || []; |
| | | const { images, videos } = processItems(fileList); |
| | | |
| | | productionAbnormalImgs.value = images; |