Commit 99f0480f authored by jingnan's avatar jingnan 👀

实物构型管理预览bug修改

parent b8bd2023
<!--
* @LastEditTime: 2024-07-12 18:03:48
* @LastEditTime: 2024-11-27 15:55:42
* @Description: 架次实物构型-预览
-->
<template>
......@@ -12,7 +12,7 @@
</template>
<script>
import { get } from '@/utils/http'
import { downloadFile } from '@/utils/http'
export default {
name: 'Preview',
data() {
......@@ -32,7 +32,7 @@ export default {
return
}
this.showTitle = false
get(`ExtProcessPlan/createPDF?id=${id}`).then((res) => {
downloadFile(`/ExtProcessPlan/createPDF?id=${id}`, 'get').then((res) => {
const blob = new Blob([res.data], {
type: 'application/pdf'
})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment