This commit is contained in:
Phoenix 2025-04-29 13:29:45 +08:00
parent b69da8c240
commit be6d3ed1fb

View File

@ -42,7 +42,6 @@ const protocolList = computed(() => {
* 通过拍品UUID获取拍卖笔录的查看地址 * 通过拍品UUID获取拍卖笔录的查看地址
*/ */
const fetchPmblPdf = async () => { const fetchPmblPdf = async () => {
try {
const res = await contractView({ const res = await contractView({
auctionArtworkUuid: qrData.value.auctionArtworkUuid, auctionArtworkUuid: qrData.value.auctionArtworkUuid,
phone:formData.value.phone, phone:formData.value.phone,
@ -54,9 +53,6 @@ const protocolList = computed(() => {
pmblUrl.value=res.data.ViewUrls?.ppbl6 pmblUrl.value=res.data.ViewUrls?.ppbl6
pmyjqrsUrl.value=res.data.ViewUrls?.ppqr5 pmyjqrsUrl.value=res.data.ViewUrls?.ppqr5
} }
} catch (error) {
console.log('error',error)
}
} }
/** /**
@ -66,9 +62,6 @@ const protocolList = computed(() => {
// //
const handleCollapseChange = (name) => { const handleCollapseChange = (name) => {
activeNames.value = name activeNames.value = name
console.log('handleCollapseChange')
console.log('name',name)
console.log('protocolList.value.find(x=>x.id===name)?.pdfName',protocolList.value.find(x=>x.id===name)?.pdfName)
if (['4','5','6'].includes(name) && !protocolList.value.find(x=>x.id===name)?.pdfName) { if (['4','5','6'].includes(name) && !protocolList.value.find(x=>x.id===name)?.pdfName) {
fetchPmblPdf() fetchPmblPdf()
} }