From fb4c4422ef120a4b06b6578203f24744418c850f Mon Sep 17 00:00:00 2001 From: zhouhaibin Date: Thu, 15 May 2025 14:09:48 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=89=8D=E7=AB=AF=E6=96=87?= =?UTF-8?q?=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ContractualTasksTable.vue | 4 + .../ContractualInfo/ContractualInfoEdit.vue | 2 +- .../ContractualProductInfoEdit.vue | 41 +- .../ContractualProductInfo/index.vue | 375 +++++++++++++++++- 4 files changed, 396 insertions(+), 26 deletions(-) diff --git a/src/views/contractreview/ContractualTasks/ContractualTasksTable.vue b/src/views/contractreview/ContractualTasks/ContractualTasksTable.vue index 7045520..244d5f8 100644 --- a/src/views/contractreview/ContractualTasks/ContractualTasksTable.vue +++ b/src/views/contractreview/ContractualTasks/ContractualTasksTable.vue @@ -5,6 +5,9 @@ + + + { // 尝试加载PDF文件 try { - if (props.record.id) { + if (props.record.taskId) { const response = await getPdfFile(props.record.taskId); if (response instanceof Blob) { pdfUrl.value = URL.createObjectURL(response); diff --git a/src/views/contractualInfo/ContractualProductInfo/ContractualProductInfoEdit.vue b/src/views/contractualInfo/ContractualProductInfo/ContractualProductInfoEdit.vue index a4f48fa..df16b56 100644 --- a/src/views/contractualInfo/ContractualProductInfo/ContractualProductInfoEdit.vue +++ b/src/views/contractualInfo/ContractualProductInfo/ContractualProductInfoEdit.vue @@ -82,8 +82,8 @@