Commit 8b8126e1 authored by 吴春's avatar 吴春
parents 9a4bb97c 343565f5
...@@ -52,7 +52,7 @@ ...@@ -52,7 +52,7 @@
text-align: center; text-align: center;
border-radius: 4px; border-radius: 4px;
cursor: pointer; cursor: pointer;
margin-left: 20px;" @click="toPDF_2023(orderMsg.startDate + orderMsg.lineteamName+orderMsg.dayNum+'日游')"> margin-left: 20px;" @click="toPDF_2023()">
{{orderId>0?"出团通知书下载":"行程下载"}} {{orderId>0?"出团通知书下载":"行程下载"}}
</div> </div>
<div class="el-dropdown-link" style="height: 30px; <div class="el-dropdown-link" style="height: 30px;
...@@ -531,10 +531,14 @@ ...@@ -531,10 +531,14 @@
}) })
}, },
// 生成pdf // 生成pdf
toPDF_2023: function (title) { toPDF_2023: function () {
this.pdfLoading = true; this.pdfLoading = true;
let urlObj = this.domainManager(); let urlObj = this.domainManager();
let msg = this.getPostMsg(); let msg = this.getPostMsg();
var title = "";
if (this.dataAll && this.dataAll.title) {
title = this.dataAll.title;
}
var fileName = title + "_2023.pdf"; var fileName = title + "_2023.pdf";
if (this.orderId && this.orderId > 0) { if (this.orderId && this.orderId > 0) {
//出团通知书下载 //出团通知书下载
......
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