diff --git a/src/utils/export.js b/src/utils/export.js index 492c9f4..673f939 100644 --- a/src/utils/export.js +++ b/src/utils/export.js @@ -71,7 +71,7 @@ export const downloadPDF = async (dom, name = '导出文件') => { // 带样式的下载方法 -export function downloadDocWithStyle(textContent) { +export function downloadDocWithStyle(textContent, title = '战术研判报告') { if (typeof textContent !== 'string') return; const wordDocument = ` @@ -104,5 +104,6 @@ export function downloadDocWithStyle(textContent) { type: 'application/msword' }); - saveAs(blob, '研判报告.doc'); + saveAs(blob, `${title}.doc`); + }; diff --git a/src/views/backOfficeSystem/fourColorManage/warningControl/centerHome/components/yjItem.vue b/src/views/backOfficeSystem/fourColorManage/warningControl/centerHome/components/yjItem.vue index 8e791af..fab940b 100644 --- a/src/views/backOfficeSystem/fourColorManage/warningControl/centerHome/components/yjItem.vue +++ b/src/views/backOfficeSystem/fourColorManage/warningControl/centerHome/components/yjItem.vue @@ -22,7 +22,7 @@
- 全息档案 + 全息档案
diff --git a/src/views/backOfficeSystem/fourColorManage/warningList/components/localWarning.vue b/src/views/backOfficeSystem/fourColorManage/warningList/components/localWarning.vue index 5fbbf26..496fc7f 100644 --- a/src/views/backOfficeSystem/fourColorManage/warningList/components/localWarning.vue +++ b/src/views/backOfficeSystem/fourColorManage/warningList/components/localWarning.vue @@ -176,7 +176,7 @@ const getList = (val) => { const assessShow = ref(false) const dataList = ref() const pushAssess = (val) => { - return holographicProfileJump(val?.rysfzh) // 全息档案跳转 + return holographicProfileJump(val?.yjRysfzh) // 全息档案跳转 // assessShow.value = true; // dataList.value = val; }