弹出办公平台相关页面代码调整

init
gongdi 4 years ago
parent 6bf2dacee9
commit 39a9d20e55

@ -7,18 +7,28 @@
<script>
export default {
name: "PopupOfficeApp",
props:['appId'],
data:function () {
props: ['appId', 'notice_id'],
data: function () {
return {
url:this.BaseConfig.contextpath + '/pro_integration/reactProject/dailyOfficeWork/index.html?isShowMenu=false&showDetailApp=true&appId='+ this.appId
// url:'http://10.10.14.199/dsideal_yy/pro_integration/reactProject/dailyOfficeWork/index.html?isShowMenu=false&showDetailApp=true'
url: this.BaseConfig.contextpath + '/pro_integration/reactProject/dailyOfficeWork/index.html?isShowMenu=false&showDetailApp=true&appId=' + this.appId
}
}
},
created(){
let appId = this.appId;
switch (appId) {
case "view_notice":
this.url += "&notice_id=" + this.$props.notice_id;
break;
case "view_public_notice":
this.url += "&notice_id=" + this.$props.notice_id;
break;
}
},
}
</script>
<style scoped lang="scss">
.iframe-style{
.iframe-style {
width: 100%;
/*overflow-y: hidden;*/
border: none;

Loading…
Cancel
Save