| | |
| | | <el-col :span="12"> |
| | | <div class="media-box"> |
| | | <!-- 根据状态显示不同的标题和内容 --> |
| | | <template v-if="currentDetail.status === 5"> |
| | | <template v-if="currentDetail.status === 4"> |
| | | <div class="media-title">工单处理图片</div> |
| | | <div class="media-content"> |
| | | <el-image v-if="currentDetail.updatePhotoUrl" :src="getThumbUrl(currentDetail.updatePhotoUrl)" |
| | |
| | | this.$message.warning('请先填写事件处理详情') |
| | | return |
| | | } |
| | | // 检查图片上传 |
| | | if (!this.currentDetail.photos || this.currentDetail.photos.length === 0) { |
| | | this.$message.warning('请选择上传图片') |
| | | this.completeLoading = false |
| | | return |
| | | } |
| | | |
| | | |
| | | const data = { |
| | | id: this.currentDetail.id, |