|
@@ -822,9 +822,13 @@ const batchRePush = async () => {
|
|
|
/**
|
|
/**
|
|
|
* 重新推送
|
|
* 重新推送
|
|
|
*/
|
|
*/
|
|
|
-const handleRePush = (row) => {
|
|
|
|
|
|
|
+const handleRePush = async (row) => {
|
|
|
recipientRow.value = row
|
|
recipientRow.value = row
|
|
|
recipientType.value = 'single'
|
|
recipientType.value = 'single'
|
|
|
|
|
+ // 调用接口获取任务单默认联系人信息
|
|
|
|
|
+ const result = await BoilerTaskOrderApi.exportCheckBookDetail({ id: row.reportId })
|
|
|
|
|
+ recipientFormData.recipient = result?.defaultRecipient || ''
|
|
|
|
|
+ recipientFormData.recipientPhone = result?.defaultRecipientPhone || ''
|
|
|
recipientDialogVisible.value = true
|
|
recipientDialogVisible.value = true
|
|
|
}
|
|
}
|
|
|
|
|
|