Commit d37edaae authored by 黄奎's avatar 黄奎

页面修改

parent bc1131c1
......@@ -55,7 +55,7 @@
margin-left: 20px;" @click="toPDF_2023(orderMsg.startDate + orderMsg.lineteamName+orderMsg.dayNum+'日游')">
{{orderId>0?"出团通知书下载":"行程下载"}}
</div>
<div class="el-dropdown-link" style=" display:none; height: 30px;
<div class="el-dropdown-link" style="height: 30px;
line-height: 30px;
background-color: #E95252;
color: #fff;
......@@ -64,12 +64,12 @@
text-align: center;
border-radius: 4px;
cursor: pointer;
margin-left: 20px;" @click="ToWord_V2(orderMsg.startDate + orderMsg.lineteamName+orderMsg.dayNum+'日游',1)">
margin-left: 20px;" @click="gernalFeature(1)">
{{orderId>0?"出团通知书下载WROD":"行程下载WORD"}}
</div>
<!--&&isopOperation HK 注释 可以让销售修改基本信息-->
<input type="button" v-if="orderId>0" class="travelControlTripBtn" value="修改信息" @click="editMsgShow=true" />
<el-checkbox class="marginL11" v-model="isShowTime">显示行程日期</el-checkbox>
<el-checkbox class="marginL11" style="display:none;" v-model="isShowTime">显示行程日期</el-checkbox>
</el-col>
</el-row>
<div id="pdfNode" class="LeaveGroupDownload-form">
......@@ -494,18 +494,14 @@
return postData;
},
gernalFeature(isPc) {
this.pdfLoading = true;
let tcid = this.$route.query.tcid;
let UploadUrl = this.domainManager().UploadUrl
let _this = this
var title=this.orderMsg.startDate + this.orderMsg.lineteamName + this.orderMsg.dayNum +'日游'
if (this.showType >= 4) { // 判断是否为行程特色
_this.ToWord_V2(_this.orderMsg.startDate + _this.orderMsg.lineteamName + _this.orderMsg.dayNum +
'日游', isPc)
this.ToWord_2023(title, isPc)
} else {
this.ToWord_V2(this.orderMsg.startDate + this.orderMsg.lineteamName + this.orderMsg.dayNum + '日游', isPc)
this.ToWord_2023(title, isPc)
}
},
ToWord_V2: function (title, isPc) {
ToWord_2023: function (title, isPc) {
this.pdfLoading = true
let msg = this.getPostMsg();
let urlObj = this.domainManager();
......@@ -514,7 +510,7 @@
'Content-Type': 'application/json'
},
method: 'post',
url: urlObj.DomainUrl + '/api/file/GetToWord_V2',
url: urlObj.DomainUrl + '/api/file/GetToWord_2023',
data: {
"msg": msg
}
......
......@@ -331,6 +331,7 @@
watch: {
item: {
handler(val, oldVal) {
console.log("changeScenic",this.item.ScenicArray);
this.RenderingOk = false;
this.ScenicArrayList = []
this.item.ScenicArray.forEach((x, index) => {
......
......@@ -674,6 +674,7 @@
newScenicObj.push(x);
}
});
this.dayObj.ScenicArray = newScenicObj;
this.dayObj.ChooseScenicArray = JSON.parse(JSON.stringify(this.ChooseScenicArray));
if (!this.ScenicArraySingle && this.ChooseScenicArray && this.ChooseScenicArray.length > 0) {
this.ScenicArraySingle = this.ChooseScenicArray[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