需求管理
This commit is contained in:
parent
207746253b
commit
9714a6edf3
|
|
@ -12,10 +12,12 @@ export default {
|
|||
},
|
||||
mounted() {
|
||||
console.log('🚀 ~ mounted:', window.location)
|
||||
// 增加路由参数
|
||||
|
||||
this.iframeSrc =
|
||||
process.env.NODE_ENV === 'production'
|
||||
? ' http://127.0.0.1:8108/iws/mall-view/equipList'
|
||||
: 'http://127.0.0.1:8108/iws/mall-view/equipList'
|
||||
? ' http://192.168.0.14:19190/iws/mall-view/home?redirect=equipList'
|
||||
: 'http://localhost:8102/iws/mall-view/home?redirect=equipList'
|
||||
console.log('🚀 ~ this.iframeSrc:', this.iframeSrc)
|
||||
},
|
||||
}
|
||||
|
|
|
|||
|
|
@ -0,0 +1,22 @@
|
|||
<template>
|
||||
<iframe :src="iframeSrc" style="width: 100%; height: 100vh; border: none"></iframe>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
name: 'RentManage',
|
||||
data() {
|
||||
return {
|
||||
iframeSrc: '',
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
console.log('🚀 ~ mounted:', window.location)
|
||||
this.iframeSrc =
|
||||
process.env.NODE_ENV === 'production'
|
||||
? ' http://192.168.0.14:19190/iws/mall-view/home?redirect=rent-manage'
|
||||
: 'http://localhost:8102/iws/mall-view/home?redirect=rent-manage'
|
||||
console.log('🚀 ~ this.iframeSrc:', this.iframeSrc)
|
||||
},
|
||||
}
|
||||
</script>
|
||||
|
|
@ -0,0 +1,22 @@
|
|||
<template>
|
||||
<iframe :src="iframeSrc" style="width: 100%; height: 100vh; border: none"></iframe>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
name: 'RequirementIframe',
|
||||
data() {
|
||||
return {
|
||||
iframeSrc: '',
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
console.log('🚀 ~ mounted:', window.location)
|
||||
this.iframeSrc =
|
||||
process.env.NODE_ENV === 'production'
|
||||
? ' http://192.168.0.14:19190/iws/mall-view/home?redirect=parity'
|
||||
: 'http://localhost:8102/iws/mall-view/home?redirect=parity'
|
||||
console.log('🚀 ~ this.iframeSrc:', this.iframeSrc)
|
||||
},
|
||||
}
|
||||
</script>
|
||||
|
|
@ -0,0 +1,22 @@
|
|||
<template>
|
||||
<iframe :src="iframeSrc" style="width: 100%; height: 100vh; border: none"></iframe>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
name: 'requirementListIframe',
|
||||
data() {
|
||||
return {
|
||||
iframeSrc: '',
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
console.log('🚀 ~ mounted:', window.location)
|
||||
this.iframeSrc =
|
||||
process.env.NODE_ENV === 'production'
|
||||
? ' http://192.168.0.14:19190/iws/mall-view/home?redirect=sourcingNeed'
|
||||
: 'http://localhost:8102/iws/mall-view/home?redirect=sourcingNeed'
|
||||
console.log('🚀 ~ this.iframeSrc:', this.iframeSrc)
|
||||
},
|
||||
}
|
||||
</script>
|
||||
Loading…
Reference in New Issue