Commit 0d45d187 authored by youjie's avatar youjie

no message

parent 2386eb0b
......@@ -11,14 +11,14 @@
</el-tooltip>
</div>
</div>
<iframe :src="TemplateUrl"
<iframe :src="Url"
class="TemplateIframe">
</iframe>
</div>
</template>
<script>
export default {
props:['TemplateUrl'],
props:['Url'],
data() {
return {
dialogPptistVisible: false,
......
......@@ -1217,7 +1217,7 @@
:ChangeThePriceObj="ChangeThePriceObj"
@ChangeThePriceVisible="ChangeThePriceVisible=false,ExamineThePriceVisible=false"></ChangeThePriceMessage>
<!-- ppt 模版新增编辑窗口 -->
<pptIframe v-show="dialogPptistVisible" :TemplateUrl="TemplateUrl"
<pptIframe v-show="dialogPptistVisible" :Url="TemplateUrl"
@close="closeIframe()"></pptIframe>
</div>
</template>
......
......@@ -123,9 +123,10 @@
</UpgradedVersion>
</div>
<!-- ppt 模版行程 -->
<div v-if="FeatureData.FeatureType==9&&FeatureDataFlag" v-loading="iframeLoading">
<!-- v-loading="iframeLoading" -->
<div v-if="FeatureData.FeatureType==9&&FeatureDataFlag">
<iframe :src="TemplateUrlImg" style="width: 100%;border: 0;"
:style="{'height':TemplateUrlImgH+'px'}">
:style="{'height':TemplateUrlImgH+'px'}" >
</iframe>
<!-- <div v-if="FeatureData.TripImageListNew&&FeatureData.TripImageListNew.length>0">
<template v-for="url in FeatureData.TripImageListNew">
......@@ -142,7 +143,7 @@
</div>
<!-- ppt 模版新增编辑窗口 -->
<pptIframe v-show="dialogPptistVisible" :TemplateUrl="TemplateUrl"
<pptIframe v-show="dialogPptistVisible" :Url="TemplateUrl"
@close="closeIframe()"></pptIframe>
</div>
</template>
......@@ -288,7 +289,7 @@
TemplateUrlImg:'',//行程特色url
TemplateUrlImgH: 0,
isPostMessage: false,
iframeLoading: false,
iframeLoading: true,
};
},
created: function () {},
......@@ -304,10 +305,10 @@
this.isPostMessage = true
this.$emit('ConfigInfo')
}else if(event.data.indexOf('行程特色高')!=-1){
this.iframeLoading = false
let datas = event.data.split('-')
this.TemplateUrlImgH = datas[1]
}
this.iframeLoading = false
},
// 添加编辑模版
journeyTemplate(type){
......@@ -632,7 +633,7 @@
this.MsgBus.$on('FeatureDataFlag', () => {
this.FeatureDataFlag = true
});
this.TemplateUrlImg = `${this.domainManager().PptUrl}/?uid=${this.userInfo.EmployeeId}&ConfigId=${this.FeatureData.ConfigId}&model=3&TempId=${this.FeatureData.TemplateId}&w=1108`
this.TemplateUrlImg = `${this.domainManager().PptUrl}/?uid=${this.userInfo.EmployeeId}&ConfigId=${this.FeatureData.ConfigId}&model=3&w=1108`
},
watch: {
FeatureData: {
......
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