|
@@ -644,10 +644,13 @@ const viewAttachmentModal = ref(false)
|
|
|
const viewAttachmentModalClick = (row) => {
|
|
|
tableRowData.value = row
|
|
|
viewAttachmentModal.value = true
|
|
|
+ tabTypeKey.value='productionCertificate'
|
|
|
+ const key = tabTypeKey.value
|
|
|
+ ispdf.value=getCaption( row[key])
|
|
|
}
|
|
|
|
|
|
//类型tab数据和相关处理
|
|
|
-const tabTypeKey = ref('productionCertificate')
|
|
|
+const tabTypeKey = ref('')
|
|
|
const tabTypeKeyType=ref(1)
|
|
|
const ispdf=ref(-1)
|
|
|
const tabTypeTab = ref([
|
|
@@ -709,7 +712,7 @@ const tableRowPdfFinished = async (data1) => {
|
|
|
tableRowData.value = row
|
|
|
tableRowPdfDisabled.value = false
|
|
|
if (!error && code === 200) {
|
|
|
- window?.$message?.success('操作成功')
|
|
|
+ // window?.$message?.success('操作成功')
|
|
|
await getTableData()
|
|
|
}
|
|
|
}
|