From e20413ec24244e48685c15021620c12cc12d9576 Mon Sep 17 00:00:00 2001
From: Administrator <admin>
Date: Thu, 13 Jan 2022 15:22:24 +0800
Subject: [PATCH] 保安员下载模板加入token

---
 src/views/securityGuard/securityGuard.vue |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/views/securityGuard/securityGuard.vue b/src/views/securityGuard/securityGuard.vue
index 3fbf457..92384ee 100644
--- a/src/views/securityGuard/securityGuard.vue
+++ b/src/views/securityGuard/securityGuard.vue
@@ -1841,10 +1841,10 @@
         this.userInfo.account == "南昌市保安服务总公司" ||
         this.userInfo.account == "押运分公司"
       ) {
-        window.open(`/api/blade-user/export-template-securityYy`);
+        window.open(`/api/blade-user/export-template-securityYy?${this.website.tokenHeader}=${getToken()}`);
         return;
       }
-      window.open(`/api/blade-user/export-template-security`);
+      window.open(`/api/blade-user/export-template-security?${this.website.tokenHeader}=${getToken()}`);
     },
     handleImport2() {
       this.excelBox2 = true;

--
Gitblit v1.9.3