From 8f5007dec530db1cc23558a66f2ee5a0f75f65e3 Mon Sep 17 00:00:00 2001 From: zyn Date: Mon, 3 Apr 2023 21:16:11 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=A8=A1=E6=9D=BF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/details/otherStandardDetails/index.vue | 4 ++-- src/pages/localTool/standAutoSplit/index.vue | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/pages/details/otherStandardDetails/index.vue b/src/pages/details/otherStandardDetails/index.vue index 1c08eb992..a504c20cb 100644 --- a/src/pages/details/otherStandardDetails/index.vue +++ b/src/pages/details/otherStandardDetails/index.vue @@ -2179,7 +2179,7 @@ export default { splitType: '全部章节' }, headers:{ - token: localStorage.getItem('userInfo').token + token: localStorage.getItem('userInfo')?.token } } }, @@ -2188,7 +2188,7 @@ export default { methods: { // 模板下载 uploadImportSplitResultModal () { - window.open('/api/att/attFile/uploadModalFile?fileName=标准拆分导入拆分结果模板.zip') + window.open('/api/lawss/sarFileSplitItems/exportTemplate') }, uploadSplitResultSuccess (res, file, fileList) { if (res.ok) { diff --git a/src/pages/localTool/standAutoSplit/index.vue b/src/pages/localTool/standAutoSplit/index.vue index 80fb36c55..1d9e12ba9 100644 --- a/src/pages/localTool/standAutoSplit/index.vue +++ b/src/pages/localTool/standAutoSplit/index.vue @@ -817,7 +817,7 @@ export default { methods: { // 模板下载 uploadImportModal () { - window.open('/api/att/attFile/uploadModalFile?fileName=标准拆分导入拆分结果模板.zip') + window.open('/api/lawss/sarFileSplitItems/exportTemplate') }, // 点击手动查找标准/政策按钮,弹出抽屉事件 selectLaws () {