无人机管理后台前端(已迁走)
rain
2025-05-07 bc0bec1976b5d2b6afdbf2b5b16388bd3bbe1a57
处理中上传图片必选
1 files modified
9 ■■■■ changed files
src/views/tickets/ticket.vue 9 ●●●● patch | view | raw | blame | history
src/views/tickets/ticket.vue
@@ -327,7 +327,7 @@
            <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)"
@@ -1671,6 +1671,13 @@
          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,