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

init
gongdi 4 years ago
parent 6bf2dacee9
commit 39a9d20e55

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

Loading…
Cancel
Save