| | |
| | | :preview-src-list="getImageList()" :initial-index="currentImageIndex - 1" class="preview-image" |
| | | style="cursor: pointer"> --> |
| | | <el-image v-if="currentReviewImage" :src="getPreviewUrl(currentReviewImage)" fit="fill" |
| | | :initial-index="currentImageIndex - 1" class="preview-image" |
| | | style="cursor: pointer"> |
| | | :initial-index="currentImageIndex - 1" class="preview-image" style="cursor: pointer"> |
| | | <template #error> |
| | | <div class="image-error"> |
| | | <i class="el-icon-picture-outline"></i> |
| | |
| | | formattedDetailFields () { |
| | | const fields = [ |
| | | { label: '工单名称', value: this.currentDetail.orderName }, |
| | | { |
| | | label: '工单类型', |
| | | { |
| | | label: '工单类型', |
| | | // 修改这里:使用 types 数组查找对应的 label |
| | | value: this.types.find(t => t.value === this.currentDetail.type)?.label || this.currentDetail.type || '/' |
| | | value: this.types.find(t => t.value === this.currentDetail.type)?.label || this.currentDetail.type || '/' |
| | | }, |
| | | { label: '关联任务', value: this.currentDetail.job_name || '/' }, |
| | | { label: '任务发起人', value: this.currentDetail.creator }, |
| | |
| | | |
| | | function closeConfirm () { |
| | | that.reCheckDialog = false |
| | | that.page.currentPage = 1 |
| | | that.fetchTableData() |
| | | that.fetchTabCounts() |
| | | loading.close() |
| | | } |
| | | |
| | |
| | | ElMessageBox.confirm(`预计复核执行时间为${res.data.data}`, '提示', { |
| | | confirmButtonText: '确定', |
| | | showCancelButton: false, // 关键配置 |
| | | closeOnClickModal: false, |
| | | closeOnPressEscape: false, |
| | | type: 'warning', |
| | | }).then(() => { |
| | | closeConfirm() |
| | |
| | | :deep(.el-dialog__body) { |
| | | padding: 0; |
| | | background-color: #f5f7fa; |
| | | |
| | | |
| | | } |
| | | } |
| | | |