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

View File

@ -42,8 +42,7 @@ const protocolList = computed(() => {
* 通过拍品UUID获取拍卖笔录的查看地址
*/
const fetchPmblPdf = async () => {
try {
const res = await contractView({
const res = await contractView({
auctionArtworkUuid: qrData.value.auctionArtworkUuid,
phone:formData.value.phone,
registerType:2,
@ -54,9 +53,6 @@ const protocolList = computed(() => {
pmblUrl.value=res.data.ViewUrls?.ppbl6
pmyjqrsUrl.value=res.data.ViewUrls?.ppqr5
}
} catch (error) {
console.log('error',error)
}
}
/**
@ -66,9 +62,6 @@ const protocolList = computed(() => {
//
const handleCollapseChange = (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) {
fetchPmblPdf()
}