Commit a8f12231 authored by youjie's avatar youjie

no message

parent 50fb0c32
......@@ -301,22 +301,9 @@
handleMessage(event,targetOrigin) {
if(event.data&&event.data.data&&!event.data.data) return
if(this.isPostMessage) return
// if(event.data&&event.data=='行程数据保存成功'){
// // this.dialogPptistVisible = false
// this.$emit('ConfigInfo')
// if(document.all.myIframe){
// document.all.myIframe.src = this.myIframeUrl
// }
// }else if(event.data&&event.data.indexOf('行程特色高')!=-1){
// this.PostMessageText = ''
// let datas = event.data.split('-')
// this.myIframeHeigth = datas[1]
// }else if(event.data&&event.data=='暂无行程数据'){
// this.PostMessageText = event.data
// }
if (event && event.data) {
if (event.data == '行程数据保存成功') {
this.$emit('ConfigInfo')
// this.$emit('ConfigInfo',this.myIframeUrl)
if (document.all.myIframe) {
document.all.myIframe.src = this.myIframeUrl
}
......@@ -328,6 +315,9 @@
if (event.data && typeof(event.data)=='string') {
let datas = event.data.split('-')
this.myIframeHeigth = datas[1];
if (document.all.myIframe) {
document.all.myIframe.src = this.myIframeUrl
}
}
}
}
......
......@@ -82,7 +82,9 @@
<template v-if="item.ScenicArray.length>0">
<div class="travelDaysHVContent-text" v-for="(jindian,j) in item.ScenicArray" :key="j">
<div class="textBold">
{{jindian.CouponsName}}
<vEditSpan :canEdit='canEdit' v-model="jindian.CouponsName"></vEditSpan>
</div>
<vEditSpan :canEdit='canEdit' v-model="jindian.Description"></vEditSpan>
</div>
......@@ -147,7 +149,9 @@
<div class="fz21 fontBold travelDaysHV-CouponsName"
:style="{'color':dataAll.TripColor}">
<span class="CouponsNameM"></span>
<span class="CouponsNameT">{{item.ScenicArray[0].CouponsName}}</span>
<span class="CouponsNameT">
<vEditSpan :canEdit='canEdit' v-model="item.ScenicArray[0].CouponsName"></vEditSpan>
</span>
<span class="CouponsNameM"></span>
</div>
<div class="travelDaysHV-Description" >
......@@ -196,7 +200,9 @@
<div class="fz21 fontBold travelDaysHV-CouponsName"
:style="{'color':dataAll.TripColor}">
<span class="CouponsNameM"></span>
<span class="CouponsNameT">{{item.ScenicArray[1].CouponsName}}</span>
<span class="CouponsNameT">
<vEditSpan :canEdit='canEdit' v-model="item.ScenicArray[1].CouponsName"></vEditSpan>
</span>
<span class="CouponsNameM"></span>
</div>
<div class="travelDaysHV-Description" >
......@@ -250,7 +256,9 @@
<div class="fz21 fontBold travelDaysHV-CouponsName travelDaysHV-CouponsName3"
:style="{'color':dataAll.TripColor}">
<span class="CouponsNameM"></span>
<span class="CouponsNameT">{{item.ScenicArray[0].CouponsName}}</span>
<span class="CouponsNameT">
<vEditSpan :canEdit='canEdit' v-model="item.ScenicArray[0].CouponsName"></vEditSpan>
</span>
<span class="CouponsNameM"></span>
</div>
<div class="travelDaysHV-Description travelDaysHV-Description3">
......@@ -300,7 +308,9 @@
<div class="fz21 fontBold travelDaysHV-CouponsName travelDaysHV-CouponsName3"
:style="{'color':dataAll.TripColor}">
<span class="CouponsNameM"></span>
<span class="CouponsNameT">{{item.ScenicArray[1].CouponsName}}</span>
<span class="CouponsNameT">
<vEditSpan :canEdit='canEdit' v-model="item.ScenicArray[1].CouponsName"></vEditSpan>
</span>
<span class="CouponsNameM"></span>
</div>
<div class="travelDaysHV-Description travelDaysHV-Description3">
......@@ -350,7 +360,9 @@
<div class="fz21 fontBold travelDaysHV-CouponsName travelDaysHV-CouponsName3"
:style="{'color':dataAll.TripColor}">
<span class="CouponsNameM"></span>
<span class="CouponsNameT">{{item.ScenicArray[2].CouponsName}}</span>
<span class="CouponsNameT">
<vEditSpan :canEdit='canEdit' v-model="item.ScenicArray[2].CouponsName"></vEditSpan>
</span>
<span class="CouponsNameM"></span>
</div>
<div class="travelDaysHV-Description travelDaysHV-Description3">
......
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