Commit d37edaae authored by 黄奎's avatar 黄奎

页面修改

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