|
|
|
@ -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 += "¬ice_id=" + this.$props.notice_id;
|
|
|
|
|
break;
|
|
|
|
|
case "view_public_notice":
|
|
|
|
|
this.url += "¬ice_id=" + this.$props.notice_id;
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
}
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
<style scoped lang="scss">
|
|
|
|
|
.iframe-style{
|
|
|
|
|
.iframe-style {
|
|
|
|
|
width: 100%;
|
|
|
|
|
/*overflow-y: hidden;*/
|
|
|
|
|
border: none;
|
|
|
|
|