|
|
@@ -894,19 +894,15 @@ const handleRePush = async (row) => {
|
|
|
recipientDialogVisible.value = true
|
|
|
|
|
|
}
|
|
|
-const fiePreviewEmitFn = async (row) => {
|
|
|
- const result = await BoilerTaskOrderApi.exportCheckBookDetail({id: row.reportId})
|
|
|
- if (result) {
|
|
|
-
|
|
|
- recipientRow.value = row
|
|
|
- recipientType.value = 'single'
|
|
|
- currentReportId.value = row.opinionReportedUrl
|
|
|
- currentPreviewId.value = row.id
|
|
|
-
|
|
|
- recipientFormData.recipient = result.correspondName
|
|
|
- recipientFormData.recipientPhone = result.correspondPhone
|
|
|
- recipientDialogVisible.value = true
|
|
|
- }
|
|
|
+const fiePreviewEmitFn = (row) => {
|
|
|
+ recipientRow.value = row
|
|
|
+ recipientType.value = 'single'
|
|
|
+ currentReportId.value = row.opinionReportedUrl
|
|
|
+ currentPreviewId.value = row.id
|
|
|
+
|
|
|
+ recipientFormData.recipient = row.defaultRecipient || ''
|
|
|
+ recipientFormData.recipientPhone = row.defaultRecipientPhone || ''
|
|
|
+ recipientDialogVisible.value = true
|
|
|
}
|
|
|
const handleFilePreview = (row) => {
|
|
|
currentReport.value = row
|