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) + '
' + '