diff --git a/app/pages/collectCode/signature/protocol/index.vue b/app/pages/collectCode/signature/protocol/index.vue index 00f1e35..157e93a 100644 --- a/app/pages/collectCode/signature/protocol/index.vue +++ b/app/pages/collectCode/signature/protocol/index.vue @@ -1,13 +1,57 @@ +
+
+ 支付前需同意以下内容并签字 +
- \ No newline at end of file + + + + + + + +
+ + 同意并签字 + +
+
+ \ No newline at end of file diff --git a/app/pages/collectCode/signature/protocol/pdfView/index.vue b/app/pages/collectCode/signature/protocol/pdfView/index.vue new file mode 100644 index 0000000..fc4a87d --- /dev/null +++ b/app/pages/collectCode/signature/protocol/pdfView/index.vue @@ -0,0 +1,68 @@ + + + + + \ No newline at end of file diff --git a/app/pages/signature/protocol/index.vue b/app/pages/signature/protocol/index.vue index 3513d42..dbef00e 100644 --- a/app/pages/signature/protocol/index.vue +++ b/app/pages/signature/protocol/index.vue @@ -16,10 +16,10 @@ const pmblUrl = ref('') // 存储拍卖笔录的URL // 协议列表数据 const protocolList = computed(() => [ { id: '1', title: '《拍卖公告》', pdfName: 'pmgg', type: 'local' }, - { id: '2', title: '《竞买协议》', pdfName: 'jmxy', type: 'local' }, + { id: '2', title: '《拍卖规则》', pdfName: 'pmgz', type: 'local' }, { id: '3', title: '《竞买须知》', pdfName: 'jmxz', type: 'local' }, - { id: '4', title: '《拍卖笔录》', pdfName: pmblUrl.value, type: 'remote' }, - { id: '5', title: '《拍卖规则》', pdfName: 'pmgz', type: 'local' }, + { id: '4', title: '《竞买协议》', pdfName: 'jmxy', type: 'local' }, + { id: '5', title: '《拍卖笔录成交确认书》', pdfName: pmblUrl.value, type: 'remote' }, { id: '6', title: '《拍卖移交确认书》', pdfName: 'pmyjqrs', type: 'local' } ]) @@ -27,7 +27,7 @@ const protocolList = computed(() => [ const fetchPmblPdf = async () => { try { const res = await contractView({ - auctionArtworkUuid: "bb34b20a-3e5e-441a-9692-c26e08b2ffed", + auctionArtworkUuid: payment.value.auctionArtworkUuid, }) pmblUrl.value = res.data?.viewUrl // 假设接口返回的PDF URL在data字段中 } catch (error) { @@ -39,7 +39,7 @@ const fetchPmblPdf = async () => { const handleCollapseChange = (name) => { activeNames.value = name // 当打开拍卖笔录时获取PDF - if (name === '4' && !pmblUrl.value) { + if (name === '5' && !pmblUrl.value) { fetchPmblPdf() } }