|
|
@@ -56,38 +56,48 @@
|
|
|
|
|
|
<h4 class="section-title">
|
|
|
<el-icon class="section-title__icon"><Document /></el-icon>
|
|
|
- <span>材料上传</span>
|
|
|
+ <span>是否存在问题</span>
|
|
|
</h4>
|
|
|
- <div class="detail-ct detail-ct--table attachment-row">
|
|
|
- <div class="row">
|
|
|
- <div class="col">
|
|
|
- <div class="label">上传附件:</div>
|
|
|
- <div class="value value--attachment">
|
|
|
- <template v-if="attachmentFileList.length">
|
|
|
- <div
|
|
|
- class="file-container--div"
|
|
|
- v-for="item in attachmentFileList"
|
|
|
- :key="item.fileUrl || item.fileName"
|
|
|
- >
|
|
|
- <img
|
|
|
- class="file-container--div__icon"
|
|
|
- :src="FILE_TYPE_ICON[item.fileType]"
|
|
|
- @click="previewOnline(item.fileUrl, item.fileType)"
|
|
|
- />
|
|
|
- <span
|
|
|
- class="file-container--div__name"
|
|
|
- @click="previewOnline(item.fileUrl, item.fileType)"
|
|
|
+ <div class="detail-ct requirement-block">
|
|
|
+ <div class="value value-text">{{ detailData?.feedbackHasIssue ? '是' : '否' }}</div>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <div v-if="detailData?.feedbackHasIssue">
|
|
|
+ <h4 class="section-title">
|
|
|
+ <el-icon class="section-title__icon"><Document /></el-icon>
|
|
|
+ <span>材料上传</span>
|
|
|
+ </h4>
|
|
|
+ <div class="detail-ct detail-ct--table attachment-row">
|
|
|
+ <div class="row">
|
|
|
+ <div class="col">
|
|
|
+ <div class="label">上传附件:</div>
|
|
|
+ <div class="value value--attachment">
|
|
|
+ <template v-if="attachmentFileList.length">
|
|
|
+ <div
|
|
|
+ class="file-container--div"
|
|
|
+ v-for="item in attachmentFileList"
|
|
|
+ :key="item.fileUrl || item.fileName"
|
|
|
>
|
|
|
- {{ item.fileName }}
|
|
|
- </span>
|
|
|
- <img
|
|
|
- class="file-container--div__download"
|
|
|
- :src="DownloadIcon"
|
|
|
- @click="downloadFile(item.fileUrl, item.fileName)"
|
|
|
- />
|
|
|
- </div>
|
|
|
- </template>
|
|
|
- <span v-else class="empty-text">-</span>
|
|
|
+ <img
|
|
|
+ class="file-container--div__icon"
|
|
|
+ :src="FILE_TYPE_ICON[item.fileType]"
|
|
|
+ @click="previewOnline(item.fileUrl, item.fileType)"
|
|
|
+ />
|
|
|
+ <span
|
|
|
+ class="file-container--div__name"
|
|
|
+ @click="previewOnline(item.fileUrl, item.fileType)"
|
|
|
+ >
|
|
|
+ {{ item.fileName }}
|
|
|
+ </span>
|
|
|
+ <img
|
|
|
+ class="file-container--div__download"
|
|
|
+ :src="DownloadIcon"
|
|
|
+ @click="downloadFile(item.fileUrl, item.fileName)"
|
|
|
+ />
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ <span v-else class="empty-text">-</span>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
@@ -156,6 +166,7 @@
|
|
|
attachments?: string;
|
|
|
attachmentList?: Array<{ fileName?: string; fileUrl?: string; fileNameOrUrl?: string; url?: string }>;
|
|
|
issueId?: number;
|
|
|
+ feedbackHasIssue?: boolean;
|
|
|
} | null>(null);
|
|
|
|
|
|
const showRejectDialog = ref(false);
|
|
|
@@ -224,6 +235,7 @@
|
|
|
attachments: data.attachments,
|
|
|
attachmentList: data.attachmentList,
|
|
|
issueId: data.issueId,
|
|
|
+ feedbackHasIssue: data.feedbackHasIssue ?? false,
|
|
|
};
|
|
|
}
|
|
|
} catch (e) {
|