53 lines
1.1 KiB
Vue
53 lines
1.1 KiB
Vue
<template>
|
|
<div class="execution">
|
|
<basic-container>
|
|
<iframe class="iframe" :src="src"></iframe>
|
|
</basic-container>
|
|
</div>
|
|
</template>
|
|
|
|
<script>
|
|
import BasicContainer from './basic-container/index'
|
|
export default {
|
|
name: "ProcessMapping",
|
|
components: {
|
|
BasicContainer
|
|
},
|
|
data() {
|
|
return {
|
|
modelId : '',
|
|
name: '',
|
|
actUrl: 'http://localhost:7060/modeler.html?modelId='
|
|
}
|
|
},
|
|
created() {
|
|
this.modelId = this.$route.query.modelId
|
|
},
|
|
computed: {
|
|
src() {
|
|
return `${this.actUrl}${this.modelId}`
|
|
}
|
|
},
|
|
methods: {
|
|
breaks() {
|
|
this.$router.push({path: '/'})
|
|
}
|
|
}
|
|
}
|
|
</script>
|
|
|
|
<style scoped>
|
|
.execution{
|
|
width: 100%;
|
|
}
|
|
.iframe{
|
|
width: 100%;
|
|
height: auto;
|
|
min-height: 850px;
|
|
border: 0;
|
|
overflow: hidden;
|
|
-webkit-box-sizing: border-box;
|
|
box-sizing: border-box;
|
|
}
|
|
</style>
|