From 1869f4d8956d69bf63130d5d485ce1a9d5acdcef Mon Sep 17 00:00:00 2001
From: WXL <1785969728@qq.com>
Date: 星期三, 24 一月 2024 14:38:20 +0800
Subject: [PATCH] 11

---
 src/views/project/donationdetails/index.vue                 |    2 ++
 src/views/project/relativesconfirmation/index.vue           |    4 ++++
 src/views/project/donateconsolationfund/index.vue           |    5 +++++
 src/views/project/fundcheck/ethicalExpertFeeCheck/index.vue |    5 +++++
 src/views/project/donatebaseinfo/index.vue                  |    4 ++++
 src/views/project/fundcheck/expertFeeCheck/index.vue        |    7 ++++++-
 src/views/project/donatefinish/index.vue                    |    5 +++++
 src/views/project/donationwitness/index.vue                 |    6 +++++-
 src/views/project/fundstatistics/index.vue                  |    5 +++++
 9 files changed, 41 insertions(+), 2 deletions(-)

diff --git a/src/views/project/donatebaseinfo/index.vue b/src/views/project/donatebaseinfo/index.vue
index 01403b5..f6d95a1 100644
--- a/src/views/project/donatebaseinfo/index.vue
+++ b/src/views/project/donatebaseinfo/index.vue
@@ -546,6 +546,7 @@
 import OrgSelecter from "@/views/project/components/orgselect";
 import AnnexUpload from "@/views/project/components/annexupload";
 import ReportName from "@/views/project/components/organizationUser";
+import { getToken } from "@/utils/auth";
 import {
   listOrganization,
   getOrganization,
@@ -753,6 +754,9 @@
       endtime: "",
       reportlist: [],
       reportervalue: "",
+      headers: {
+        Authorization: "Bearer " + getToken()
+      },
       provinceData: [
         { label: "鍏ㄩ儴", value: "" },
         { label: "鏉窞甯�", value: "1" },
diff --git a/src/views/project/donateconsolationfund/index.vue b/src/views/project/donateconsolationfund/index.vue
index a0d188d..5c6f221 100644
--- a/src/views/project/donateconsolationfund/index.vue
+++ b/src/views/project/donateconsolationfund/index.vue
@@ -758,6 +758,8 @@
 } from "@/api/project/donatebaseinfo";
 import Li_area_select from "@/components/Address";
 import OrgSelecter from "@/views/project/components/orgselect";
+import { getToken } from "@/utils/auth";
+
 
 export default {
   components: {
@@ -852,6 +854,9 @@
           { required: true, message: "璇疯緭鍏ョ敵璇烽噾棰�", trigger: "blur" },
         ],
       },
+      headers: {
+        Authorization: "Bearer " + getToken()
+      },
       //褰撳墠閫変腑鎹愮尞妗堜緥
       curCase: {},
       //鏄惁鏄剧ず璐圭敤鐢宠寮圭獥
diff --git a/src/views/project/donatefinish/index.vue b/src/views/project/donatefinish/index.vue
index 41cb09d..8c5889b 100644
--- a/src/views/project/donatefinish/index.vue
+++ b/src/views/project/donatefinish/index.vue
@@ -528,6 +528,8 @@
 import Li_area_select from "@/components/Address";
 import OrgSelecter from "@/views/project/components/orgselect";
 import AnnexUpload from "@/views/project/components/annexupload";
+import { getToken } from "@/utils/auth";
+
 import {
   listDonateorgan,
   addDonateorgan,
@@ -640,6 +642,9 @@
       open: false,
       // 鑾峰彇缁勭粐鍚嶇О鏃堕棿鑼冨洿
       daterangeReporttime: [],
+      headers: {
+        Authorization: "Bearer " + getToken()
+      },
       // 鏌ヨ鍙傛暟
       queryParams: {
         pageNum: 1,
diff --git a/src/views/project/donationdetails/index.vue b/src/views/project/donationdetails/index.vue
index 4bba644..7f30e89 100644
--- a/src/views/project/donationdetails/index.vue
+++ b/src/views/project/donationdetails/index.vue
@@ -2652,6 +2652,7 @@
   },
 
   created() {
+    this.Getnetworkheader();
     this.infoid = this.$route.query.id;
   },
   mounted() {
@@ -3471,6 +3472,7 @@
         headers: { Authorization: "Bearer " + this.ICDtoken }
       };
       const pdfimg = this.Networkheader + "/prod-api" + response.fileName;
+      console.log(this.Networkheader);
       //鑾峰彇绁ㄦ嵁淇℃伅浣嶇疆
       if (response.code == 200) {
         this.previewpdf = true;
diff --git a/src/views/project/donationwitness/index.vue b/src/views/project/donationwitness/index.vue
index ee871fb..df0127f 100644
--- a/src/views/project/donationwitness/index.vue
+++ b/src/views/project/donationwitness/index.vue
@@ -837,6 +837,8 @@
 import Li_area_select from "@/components/Address";
 import OrgSelecter from "@/views/project/components/orgselect";
 import { updatedonatorno } from "@/api/project/relativesconfirmation";
+import { getToken } from "@/utils/auth";
+
 
 export default {
   components: {
@@ -923,7 +925,9 @@
       dialogFormVisible: false,
       dialogTableVisible: false,
       tableData: [],
-
+      headers: {
+        Authorization: "Bearer " + getToken()
+      },
       dosex: "",
       dobirthday: "",
       donation: "",
diff --git a/src/views/project/fundcheck/ethicalExpertFeeCheck/index.vue b/src/views/project/fundcheck/ethicalExpertFeeCheck/index.vue
index 371eed3..901b4c7 100644
--- a/src/views/project/fundcheck/ethicalExpertFeeCheck/index.vue
+++ b/src/views/project/fundcheck/ethicalExpertFeeCheck/index.vue
@@ -428,6 +428,8 @@
 import Li_area_select from "@/components/Address";
 import OrgSelecter from "@/views/project/components/orgselect";
 import { getUserProfile } from "@/api/system/user";
+import { getToken } from "@/utils/auth";
+
 // 瀵煎叆鏈湴瀛樺偍鐨勬柟娉�
 import { setItem, grtItem, removeItem } from "@/utils/storage.js";
 
@@ -509,6 +511,9 @@
       //鎹愮尞妗堜緥鍒楄〃鏁版嵁
       // donationCaseTableData:[],
       donatebaseinfoList: [],
+      headers: {
+        Authorization: "Bearer " + getToken()
+      },
       gridData: [
         {
           date: "2016-05-02",
diff --git a/src/views/project/fundcheck/expertFeeCheck/index.vue b/src/views/project/fundcheck/expertFeeCheck/index.vue
index c283585..2e33aff 100644
--- a/src/views/project/fundcheck/expertFeeCheck/index.vue
+++ b/src/views/project/fundcheck/expertFeeCheck/index.vue
@@ -456,6 +456,8 @@
 import Li_area_select from "@/components/Address";
 import OrgSelecter from "@/views/project/components/orgselect";
 import { setItem, grtItem, removeItem } from "@/utils/storage.js";
+import { getToken } from "@/utils/auth";
+
 
 export default {
   components: {
@@ -639,7 +641,10 @@
       approveLevel: 5,
       show: 0,
       fundtypeArrAll: [],
-      dialogType: "show"
+      dialogType: "show",
+      headers: {
+        Authorization: "Bearer " + getToken()
+      },
     };
   },
   watch: {},
diff --git a/src/views/project/fundstatistics/index.vue b/src/views/project/fundstatistics/index.vue
index 809b909..14f98d8 100644
--- a/src/views/project/fundstatistics/index.vue
+++ b/src/views/project/fundstatistics/index.vue
@@ -160,6 +160,8 @@
 import { listDonatebaseinfo } from "@/api/project/donatebaseinfo";
 import { getDonationCost, exportFundCost } from "@/api/project/financesubject";
 import FundSummary from "@/views/project/components/fundsummary";
+import { getToken } from "@/utils/auth";
+
 export default {
   //import寮曞叆鐨勭粍浠堕渶瑕佹敞鍏ュ埌瀵硅薄涓墠鑳戒娇鐢�
   components: {
@@ -199,6 +201,9 @@
         name: null,
         id: null,
       },
+      headers: {
+        Authorization: "Bearer " + getToken()
+      },
     };
   },
   //鐩戝惉灞炴�� 绫讳技浜巇ata姒傚康
diff --git a/src/views/project/relativesconfirmation/index.vue b/src/views/project/relativesconfirmation/index.vue
index 99a4b09..bed18d3 100644
--- a/src/views/project/relativesconfirmation/index.vue
+++ b/src/views/project/relativesconfirmation/index.vue
@@ -898,6 +898,7 @@
 import Li_area_select from "@/components/Address";
 import OrgSelecter from "@/views/project/components/orgselect";
 import AnnexUpload from "@/views/project/components/annexupload";
+import { getToken } from "@/utils/auth";
 import {
   listOrganization,
   listReportname,
@@ -1055,6 +1056,9 @@
         city: null,
         treatmenthospitalno: null,
       },
+      headers: {
+        Authorization: "Bearer " + getToken()
+      },
       // 琛ㄥ崟鍙傛暟
       form: {},
       // 琛ㄥ崟鏍¢獙

--
Gitblit v1.9.3