From 09d6af2ad17fcddcb74a3c8c3fce378ceadb1fe2 Mon Sep 17 00:00:00 2001 From: cwchen <1048842385@qq.com> Date: Mon, 16 Dec 2024 10:30:45 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A8=A1=E6=9D=BF=E4=B8=8B=E8=BD=BD=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bns/js/dutyTask/backboneScore/backboneScore.js | 2 ++ bns/js/dutyTask/remotePatrol/bidTowerMain.js | 2 ++ bns/js/dutyTask/remotePatrol/singleTowerMain.js | 4 ++++ bns/js/dutyTask/remotePatrol/towerMain.js | 2 ++ bns/js/dutyTask/vioType/vioBasis.js | 2 ++ bns/js/dutyTask/violation/violationDetail.js | 2 +- bns/js/main/designProblemData.js | 2 ++ bns/js/manage/constr.js | 2 ++ bns/js/manage/superv.js | 2 ++ bns/js/riskDropRateCal/riskDropRateCal.js | 2 ++ 10 files changed, 21 insertions(+), 1 deletion(-) diff --git a/bns/js/dutyTask/backboneScore/backboneScore.js b/bns/js/dutyTask/backboneScore/backboneScore.js index 04fc9b4..663965b 100644 --- a/bns/js/dutyTask/backboneScore/backboneScore.js +++ b/bns/js/dutyTask/backboneScore/backboneScore.js @@ -348,6 +348,8 @@ function downLoadExcelModel() { xhr.responseType = "blob"; // 转换流 xhr.setRequestHeader("encrypt", sm3(JSON.stringify({}))); + xhr.setRequestHeader('encryption','encryption'); + xhr.setRequestHeader('token',token); xhr.onload = function () { layer.close(loadingMsg); // 关闭提示层 if (this.status === 200) { diff --git a/bns/js/dutyTask/remotePatrol/bidTowerMain.js b/bns/js/dutyTask/remotePatrol/bidTowerMain.js index 6d10aee..163e163 100644 --- a/bns/js/dutyTask/remotePatrol/bidTowerMain.js +++ b/bns/js/dutyTask/remotePatrol/bidTowerMain.js @@ -235,6 +235,8 @@ function modelDownload() { xhr.responseType = "blob"; // 转换流 xhr.setRequestHeader("encrypt", sm3(JSON.stringify({}))); + xhr.setRequestHeader('encryption','encryption'); + xhr.setRequestHeader('token',token); xhr.onload = function () { layer.close(loadingMsg); // 关闭提示层 if (this.status === 200) { diff --git a/bns/js/dutyTask/remotePatrol/singleTowerMain.js b/bns/js/dutyTask/remotePatrol/singleTowerMain.js index 3de9512..1935691 100644 --- a/bns/js/dutyTask/remotePatrol/singleTowerMain.js +++ b/bns/js/dutyTask/remotePatrol/singleTowerMain.js @@ -189,6 +189,8 @@ function modelDownload() { xhr.responseType = "blob"; // 转换流 xhr.setRequestHeader("encrypt", sm3(JSON.stringify({}))); + xhr.setRequestHeader('encryption','encryption'); + xhr.setRequestHeader('token',token); xhr.onload = function () { layer.close(loadingMsg); // 关闭提示层 if (this.status === 200) { @@ -255,6 +257,8 @@ function modelDownload() { xhr.responseType = "blob"; // 转换流 xhr.setRequestHeader("encrypt", sm3(JSON.stringify({}))); + xhr.setRequestHeader('encryption','encryption'); + xhr.setRequestHeader('token',token); xhr.onload = function () { layer.close(loadingMsg); // 关闭提示层 if (this.status === 200) { diff --git a/bns/js/dutyTask/remotePatrol/towerMain.js b/bns/js/dutyTask/remotePatrol/towerMain.js index 1f94e9d..c249de6 100644 --- a/bns/js/dutyTask/remotePatrol/towerMain.js +++ b/bns/js/dutyTask/remotePatrol/towerMain.js @@ -178,6 +178,8 @@ function modelDownload() { xhr.responseType = "blob"; // 转换流 xhr.setRequestHeader("encrypt", sm3(JSON.stringify({}))); + xhr.setRequestHeader('encryption','encryption'); + xhr.setRequestHeader('token',token); xhr.onload = function () { layer.close(loadingMsg); // 关闭提示层 if (this.status === 200) { diff --git a/bns/js/dutyTask/vioType/vioBasis.js b/bns/js/dutyTask/vioType/vioBasis.js index 314554b..5f474e5 100644 --- a/bns/js/dutyTask/vioType/vioBasis.js +++ b/bns/js/dutyTask/vioType/vioBasis.js @@ -195,6 +195,8 @@ function downLoadExcelModel(){ xhr.responseType = "blob"; // 转换流 xhr.setRequestHeader("encrypt", sm3(JSON.stringify({}))); + xhr.setRequestHeader('encryption','encryption'); + xhr.setRequestHeader('token',token); xhr.onload = function () { layer.close(loadingMsg); // 关闭提示层 if (this.status === 200) { diff --git a/bns/js/dutyTask/violation/violationDetail.js b/bns/js/dutyTask/violation/violationDetail.js index 5d3df8c..2e73a88 100644 --- a/bns/js/dutyTask/violation/violationDetail.js +++ b/bns/js/dutyTask/violation/violationDetail.js @@ -113,7 +113,7 @@ function setRectInfo(dutyUnit, item) { '' + '
' + '

整改完成时间:' + item.rectFinshTime + '

' + - '

联系人及电话:' + item.contactPhone + '

' + + '

联系人及电话:' + phoneHide(item.contactPhone) + '

' + '
'; } return html; diff --git a/bns/js/main/designProblemData.js b/bns/js/main/designProblemData.js index e066f2d..9422908 100644 --- a/bns/js/main/designProblemData.js +++ b/bns/js/main/designProblemData.js @@ -409,6 +409,8 @@ function modelDownLoad() { xhr.responseType = "blob"; // 转换流 xhr.setRequestHeader("encrypt", sm3(JSON.stringify({}))); + xhr.setRequestHeader('encryption','encryption'); + xhr.setRequestHeader('token',token); xhr.onload = function () { layer.close(loadingMsg); // 关闭提示层 if (this.status === 200) { diff --git a/bns/js/manage/constr.js b/bns/js/manage/constr.js index e21ff14..9696ed1 100644 --- a/bns/js/manage/constr.js +++ b/bns/js/manage/constr.js @@ -219,6 +219,8 @@ function modelDownload() { xhr.responseType = "blob"; // 转换流 xhr.setRequestHeader("encrypt", sm3(JSON.stringify({}))); + xhr.setRequestHeader('encryption','encryption'); + xhr.setRequestHeader('token',token); xhr.onload = function () { layer.close(loadingMsg); // 关闭提示层 if (this.status === 200) { diff --git a/bns/js/manage/superv.js b/bns/js/manage/superv.js index f8bf504..b6c7e3d 100644 --- a/bns/js/manage/superv.js +++ b/bns/js/manage/superv.js @@ -219,6 +219,8 @@ function modelDownload() { xhr.responseType = "blob"; // 转换流 xhr.setRequestHeader("encrypt", sm3(JSON.stringify({}))); + xhr.setRequestHeader('encryption','encryption'); + xhr.setRequestHeader('token',token); xhr.onload = function () { layer.close(loadingMsg); // 关闭提示层 if (this.status === 200) { diff --git a/bns/js/riskDropRateCal/riskDropRateCal.js b/bns/js/riskDropRateCal/riskDropRateCal.js index 4196f5d..adaeb69 100644 --- a/bns/js/riskDropRateCal/riskDropRateCal.js +++ b/bns/js/riskDropRateCal/riskDropRateCal.js @@ -626,6 +626,8 @@ function downLoadExcelModel() { xhr.responseType = "blob"; // 转换流 xhr.setRequestHeader("encrypt", sm3(JSON.stringify({}))); + xhr.setRequestHeader('encryption','encryption'); + xhr.setRequestHeader('token',token); xhr.onload = function () { layer.close(loadingMsg); // 关闭提示层 if (this.status === 200) {