Commit 60e43fa2 authored by zhengke's avatar zhengke

update

parent f8a01c5b
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
<!--&&isopOperation HK 注释 可以让销售修改基本信息--> <!--&&isopOperation HK 注释 可以让销售修改基本信息-->
<input type="button" v-if="orderId>0" class="travelControlTripBtn" value="修改信息" @click="editMsgShow=true" /> <input type="button" v-if="orderId>0" class="travelControlTripBtn" value="修改信息" @click="editMsgShow=true" />
</el-col> </el-col>
<!-- <el-col :span="10"> <el-col style="display:none" :span="10">
<span>行程明细</span> <span>行程明细</span>
<el-select filterable size="small" v-model="Typevalue" placeholder="请选择"> <el-select filterable size="small" v-model="Typevalue" placeholder="请选择">
<el-option label="日本寻秋意赏枫季" :value="-1"></el-option> <el-option label="日本寻秋意赏枫季" :value="-1"></el-option>
...@@ -48,7 +48,7 @@ ...@@ -48,7 +48,7 @@
@click="yuLan" /> @click="yuLan" />
<input type="button" style="width: auto !important;outline:none" class="travelControlTripBtn" value="下载" <input type="button" style="width: auto !important;outline:none" class="travelControlTripBtn" value="下载"
@click="DownloadJuanmSaid" /> @click="DownloadJuanmSaid" />
</el-col> --> </el-col>
</el-row> </el-row>
<div id="pdfNode"> <div id="pdfNode">
...@@ -724,7 +724,28 @@ ...@@ -724,7 +724,28 @@
}, },
methods: { methods: {
DownloadJuanmSaid(){ DownloadJuanmSaid(){
console.log("Typevalue",this.Typevalue) let title="";
if(this.Typevalue==-1){
title="日本寻秋意赏枫季"
}
if(this.Typevalue==-2){
title="仲夏花火夜"
}
if(this.Typevalue==-3){
title="寻觅日本美食"
}
if(this.Typevalue==-4){
title="邂逅北海道的雪"
}
if(this.Typevalue>0){
this.titleList.forEach(item=>{
if(item.id==this.Typevalue){
title=item.title;
}
})
}
// console.log("title",title)
// return;
this.pdfLoading = true this.pdfLoading = true
let pageData = document.getElementById('pdfNode').innerHTML let pageData = document.getElementById('pdfNode').innerHTML
let urlObj = this.domainManager() let urlObj = this.domainManager()
......
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