diff --git a/src/api/resource/fileConfirm.ts b/src/api/resource/fileConfirm.ts index a263b28..3a4c72c 100644 --- a/src/api/resource/fileConfirm.ts +++ b/src/api/resource/fileConfirm.ts @@ -88,3 +88,13 @@ data, }) } + +// 导出pdf/word/打印 +export function exportFileMethod(data: object) { + return request({ + url: `${prefix}/methodConfirm/exportFile`, + method: 'post', + data, + responseType: 'blob', + }) +} diff --git a/src/api/resource/fileConfirm.ts b/src/api/resource/fileConfirm.ts index a263b28..3a4c72c 100644 --- a/src/api/resource/fileConfirm.ts +++ b/src/api/resource/fileConfirm.ts @@ -88,3 +88,13 @@ data, }) } + +// 导出pdf/word/打印 +export function exportFileMethod(data: object) { + return request({ + url: `${prefix}/methodConfirm/exportFile`, + method: 'post', + data, + responseType: 'blob', + }) +} diff --git a/src/router/modules/resource.ts b/src/router/modules/resource.ts index 839157d..ae103ea 100644 --- a/src/router/modules/resource.ts +++ b/src/router/modules/resource.ts @@ -258,7 +258,7 @@ icon: 'ep:key', sidebar: false, breadcrumb: true, - activeMenu: '/technology/dataList', + activeMenu: '/system/dataList', }, }, { @@ -270,7 +270,7 @@ icon: 'ep:key', sidebar: false, breadcrumb: true, - activeMenu: '/technology/dataList', + activeMenu: '/system/dataList', }, }, ], @@ -339,7 +339,7 @@ icon: 'ep:key', sidebar: false, breadcrumb: true, - activeMenu: '/file/methodConfirmList', + activeMenu: '/technology/methodConfirmList', }, }, { @@ -351,7 +351,7 @@ icon: 'ep:key', sidebar: false, breadcrumb: true, - activeMenu: '/file/methodConfirmList', + activeMenu: '/technology/methodConfirmList', }, }, { @@ -373,7 +373,7 @@ icon: 'ep:key', sidebar: false, breadcrumb: true, - activeMenu: '/file/noveltySearchList', + activeMenu: '/technology/noveltySearchList', }, }, ], diff --git a/src/api/resource/fileConfirm.ts b/src/api/resource/fileConfirm.ts index a263b28..3a4c72c 100644 --- a/src/api/resource/fileConfirm.ts +++ b/src/api/resource/fileConfirm.ts @@ -88,3 +88,13 @@ data, }) } + +// 导出pdf/word/打印 +export function exportFileMethod(data: object) { + return request({ + url: `${prefix}/methodConfirm/exportFile`, + method: 'post', + data, + responseType: 'blob', + }) +} diff --git a/src/router/modules/resource.ts b/src/router/modules/resource.ts index 839157d..ae103ea 100644 --- a/src/router/modules/resource.ts +++ b/src/router/modules/resource.ts @@ -258,7 +258,7 @@ icon: 'ep:key', sidebar: false, breadcrumb: true, - activeMenu: '/technology/dataList', + activeMenu: '/system/dataList', }, }, { @@ -270,7 +270,7 @@ icon: 'ep:key', sidebar: false, breadcrumb: true, - activeMenu: '/technology/dataList', + activeMenu: '/system/dataList', }, }, ], @@ -339,7 +339,7 @@ icon: 'ep:key', sidebar: false, breadcrumb: true, - activeMenu: '/file/methodConfirmList', + activeMenu: '/technology/methodConfirmList', }, }, { @@ -351,7 +351,7 @@ icon: 'ep:key', sidebar: false, breadcrumb: true, - activeMenu: '/file/methodConfirmList', + activeMenu: '/technology/methodConfirmList', }, }, { @@ -373,7 +373,7 @@ icon: 'ep:key', sidebar: false, breadcrumb: true, - activeMenu: '/file/noveltySearchList', + activeMenu: '/technology/noveltySearchList', }, }, ], diff --git a/src/views/resource/common/fileStream.vue b/src/views/resource/common/fileStream.vue index cf365de..287ae69 100644 --- a/src/views/resource/common/fileStream.vue +++ b/src/views/resource/common/fileStream.vue @@ -1,6 +1,9 @@