模板下载修改
This commit is contained in:
parent
f8d95a215e
commit
09d6af2ad1
|
|
@ -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) {
|
||||
|
|
|
|||
|
|
@ -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) {
|
||||
|
|
|
|||
|
|
@ -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) {
|
||||
|
|
|
|||
|
|
@ -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) {
|
||||
|
|
|
|||
|
|
@ -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) {
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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) {
|
||||
|
|
|
|||
|
|
@ -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) {
|
||||
|
|
|
|||
|
|
@ -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) {
|
||||
|
|
|
|||
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue