模板下载修改

This commit is contained in:
cwchen 2024-12-16 10:30:45 +08:00
parent f8d95a215e
commit 09d6af2ad1
10 changed files with 21 additions and 1 deletions

View File

@ -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) {

View File

@ -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) {

View File

@ -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) {

View File

@ -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) {

View File

@ -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) {

View File

@ -113,7 +113,7 @@ function setRectInfo(dutyUnit, item) {
'</div>' +
'<div class="content-input layout">' +
'<p>整改完成时间:<span>' + item.rectFinshTime + '</span></p>' +
'<p>联系人及电话:<span>' + item.contactPhone + '</span></p>' +
'<p>联系人及电话:<span>' + phoneHide(item.contactPhone) + '</span></p>' +
'</div>';
}
return html;

View File

@ -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) {

View File

@ -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) {

View File

@ -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) {

View File

@ -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) {