Commit 0d45d187 authored by youjie's avatar youjie

no message

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