Commit dca11687 authored by 黄奎's avatar 黄奎

页面修改

parent 52b270c1
...@@ -533,6 +533,7 @@ ...@@ -533,6 +533,7 @@
// 生成pdf // 生成pdf
toPDF_2023: function () { toPDF_2023: function () {
this.pdfLoading = true; this.pdfLoading = true;
var that=this;
let urlObj = this.domainManager(); let urlObj = this.domainManager();
let msg = this.getPostMsg(); let msg = this.getPostMsg();
var title = this.orderMsg.startDate + this.orderMsg.lineteamName+this.orderMsg.dayNum+'日游'; var title = this.orderMsg.startDate + this.orderMsg.lineteamName+this.orderMsg.dayNum+'日游';
...@@ -542,7 +543,6 @@ ...@@ -542,7 +543,6 @@
title =this.orderMsg.startDate+ this.dataAll.title; title =this.orderMsg.startDate+ this.dataAll.title;
} }
var fileName = title + ".pdf"; var fileName = title + ".pdf";
console.log("fileNmae",fileName);
if (this.orderId && this.orderId > 0) { if (this.orderId && this.orderId > 0) {
//出团通知书下载 //出团通知书下载
this.pdfDownLoad(fileName, msg); this.pdfDownLoad(fileName, msg);
...@@ -554,12 +554,12 @@ ...@@ -554,12 +554,12 @@
var objFileKey = "TripDownLoad" var objFileKey = "TripDownLoad"
objFileKey += "/" + msg.configId + "_" + msg.tcid; objFileKey += "/" + msg.configId + "_" + msg.tcid;
objFileKey += "/" + msg.configId + "_" + msg.tcid + ".pdf"; objFileKey += "/" + msg.configId + "_" + msg.tcid + ".pdf";
this.downloadChengDuFileRename(objFileKey, fileName, res => { that.downloadChengDuFileRename(objFileKey, fileName, res => {
console.log("ali_doanload", res) console.log("ali_doanload", res)
if (res.resultCode == 0) { if (res.resultCode == 0) {
this.pdfDownLoad(fileName, msg); that.pdfDownLoad(fileName, msg);
} else { } else {
this.pdfLoading = false; that.pdfLoading = false;
} }
}) })
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment