From 71402fc10ccf9d826a910e1670b4d87fd2e96e00 Mon Sep 17 00:00:00 2001 From: Phoenix <64720302+Concur-max@users.noreply.github.com> Date: Tue, 6 May 2025 15:26:53 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E5=8D=8F=E8=AE=AE=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=EF=BC=8C=E6=96=B0=E5=A2=9E=E7=AB=9E=E4=B9=B0=E5=8D=8F?= =?UTF-8?q?=E8=AE=AE=E5=92=8C=E6=8B=8D=E5=8D=96=E5=85=AC=E5=91=8A=E7=9A=84?= =?UTF-8?q?URL=E5=A4=84=E7=90=86=E9=80=BB=E8=BE=91=EF=BC=8C=E8=B0=83?= =?UTF-8?q?=E6=95=B4=E5=8D=8F=E8=AE=AE=E5=88=97=E8=A1=A8=E4=BB=A5=E6=94=AF?= =?UTF-8?q?=E6=8C=81=E8=BF=9C=E7=A8=8BPDF=E9=93=BE=E6=8E=A5=EF=BC=8C?= =?UTF-8?q?=E4=BC=98=E5=8C=96=E6=9D=A1=E4=BB=B6=E5=88=A4=E6=96=AD=E4=BB=A5?= =?UTF-8?q?=E8=A7=A6=E5=8F=91PDF=E8=8E=B7=E5=8F=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/pages/collectCode/signature/protocol/index.vue | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/app/pages/collectCode/signature/protocol/index.vue b/app/pages/collectCode/signature/protocol/index.vue index b49ae7f..c7a112d 100644 --- a/app/pages/collectCode/signature/protocol/index.vue +++ b/app/pages/collectCode/signature/protocol/index.vue @@ -16,6 +16,8 @@ const router = useRouter() const pmblUrl = ref('') // 存储拍卖笔录的URL const jmxyUrl=ref('')//竞买协议 const pmyjqrsUrl=ref('')//拍卖移交确认书 +const jmxzUrl=ref('') +const pmggUrl=ref('') /** * 根据签署顺序(number)返回不同的协议列表 * number = 1: 买家签署阶段,展示竞买协议、竞买须知、拍卖公告、拍卖规则 @@ -25,12 +27,12 @@ const protocolList = computed(() => { if (number.value === 1) { return [ { id: '4', title: t('signature.agreement.buyerAgreement'), pdfName: jmxyUrl.value, type: 'remote' }, - { id: '3', title: t('signature.agreement.buyerGuide'), pdfName: 'jmxz', type: 'local' }, - { id: '1', title: t('signature.agreement.notice'), pdfName: 'pmgg', type: 'local' }, + { id: '3', title: $t('signature.agreement.buyerGuide'), pdfName: jmxzUrl.value, type: 'remote' }, + { id: '1', title: $t('signature.agreement.notice'), pdfName: pmggUrl.value, type: 'remote' }, { id: '2', title: t('signature.agreement.rules'), pdfName: 'pmgz', type: 'local' }, ] } else if (number.value === 2) { - return [ + return [ { id: '1', title: $t('signature.agreement.notice'), pdfName: pmggUrl.value, type: 'remote' }, { id: '6', title: t('signature.agreement.transfer'), pdfName: pmyjqrsUrl.value, type: 'remote' }, { id: '5', title: t('signature.agreement.record'), pdfName: pmblUrl.value, type: 'remote' } ] @@ -62,7 +64,7 @@ const protocolList = computed(() => { // 监听折叠面板变化 const handleCollapseChange = (name) => { activeNames.value = name - if (['4','5','6'].includes(name) && !protocolList.value.find(x=>x.id===name)?.pdfName) { + if (['1','3','4','5','6'].includes(name) && !protocolList.value.find(x=>x.id===name)?.pdfName) { fetchPmblPdf() } }