湖里大屏(BIM中心):完成BIM协同布局
This commit is contained in:
parent
1977304dba
commit
98eeae12e4
56
src/views/projectAdmin/jlw/CIM/BimCoordination.vue
Normal file
56
src/views/projectAdmin/jlw/CIM/BimCoordination.vue
Normal file
@ -0,0 +1,56 @@
|
|||||||
|
<template>
|
||||||
|
<Card title="BIM协同">
|
||||||
|
<div class="table">
|
||||||
|
<div class="row">
|
||||||
|
<div class="td">规划报批</div>
|
||||||
|
<div class="td">施工图审查</div>
|
||||||
|
<div class="td">竣工验收</div>
|
||||||
|
</div>
|
||||||
|
<div class="row" v-for="(row, i) in list" :key="i">
|
||||||
|
<div class="td" :class="{ red: !row[0] }">{{ row[0] ? '符合' : '不符合' }}</div>
|
||||||
|
<div class="td" :class="{ red: !row[1] }">{{ row[1] ? '符合' : '不符合' }}</div>
|
||||||
|
<div class="td" :class="{ red: !row[2] }">{{ row[2] ? '已验收' : '未验收' }}</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</Card>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
import Card from '../components/Card.vue'
|
||||||
|
// import { modelReport } from '@/assets/json/jlw/bim.json'
|
||||||
|
export default {
|
||||||
|
components: { Card },
|
||||||
|
mounted() {
|
||||||
|
console.log(this.list, '收待发放')
|
||||||
|
},
|
||||||
|
data() {
|
||||||
|
// return { modelReport }
|
||||||
|
const list = new Array(6).fill(0).map((item, index) => new Array(3).fill(0).map(() => (index === 3 ? 0 : 1)))
|
||||||
|
return {
|
||||||
|
list
|
||||||
|
}
|
||||||
|
},
|
||||||
|
methods: {}
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style lang="less" scoped>
|
||||||
|
.table {
|
||||||
|
.row {
|
||||||
|
margin-bottom: 20px;
|
||||||
|
font-size: 12px;
|
||||||
|
display: flex;
|
||||||
|
.td {
|
||||||
|
flex: 1;
|
||||||
|
text-align: center;
|
||||||
|
&.red {
|
||||||
|
color: #ff6c7f;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
&:nth-child(1) {
|
||||||
|
font-size: 14px;
|
||||||
|
color: #67d4d9;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</style>
|
||||||
@ -1,7 +1,13 @@
|
|||||||
<template>
|
<template>
|
||||||
<!-- CIM -->
|
<!-- CIM -->
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="leftBox">
|
<div class="charts">
|
||||||
|
<BimCoordination />
|
||||||
|
</div>
|
||||||
|
<div class="bim">
|
||||||
|
<iframe src="/bim.html" frameborder="0" width="100%" height="100%" id="iframe" @load="load"></iframe>
|
||||||
|
</div>
|
||||||
|
<!-- <div class="leftBox">
|
||||||
<div class="leftTop">
|
<div class="leftTop">
|
||||||
<leftTop title="模型" />
|
<leftTop title="模型" />
|
||||||
</div>
|
</div>
|
||||||
@ -19,23 +25,25 @@
|
|||||||
<div class="rightCenter">
|
<div class="rightCenter">
|
||||||
<rightCenter title="设计变更" />
|
<rightCenter title="设计变更" />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div> -->
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import leftTop from './leftTop'
|
// import leftTop from './leftTop'
|
||||||
import leftCenter from './leftCenter'
|
// import leftCenter from './leftCenter'
|
||||||
import rightTop from './rightTop'
|
// import rightTop from './rightTop'
|
||||||
import rightCenter from './rightCenter'
|
// import rightCenter from './rightCenter'
|
||||||
|
import BimCoordination from './BimCoordination'
|
||||||
|
|
||||||
import { projectJlwBimListApi, getJlwTokenApi } from '@/assets/js/api/project'
|
import { projectJlwBimListApi, getJlwTokenApi } from '@/assets/js/api/project'
|
||||||
export default {
|
export default {
|
||||||
components: {
|
components: {
|
||||||
leftTop,
|
// leftTop,
|
||||||
leftCenter,
|
// leftCenter,
|
||||||
rightTop,
|
// rightTop,
|
||||||
rightCenter
|
// rightCenter
|
||||||
|
BimCoordination
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
this.iframe = document.getElementById('iframe')
|
this.iframe = document.getElementById('iframe')
|
||||||
@ -76,59 +84,71 @@ export default {
|
|||||||
|
|
||||||
<style lang="less" scoped>
|
<style lang="less" scoped>
|
||||||
.container {
|
.container {
|
||||||
position: relative;
|
|
||||||
display: flex;
|
|
||||||
justify-content: space-between;
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
background-color: #07162b;
|
.charts {
|
||||||
background-image: url('~@/assets/images/projectImg/Bimbgc.png');
|
width: 420px;
|
||||||
}
|
}
|
||||||
.topBox {
|
.bim {
|
||||||
height: 20%;
|
padding: 8px;
|
||||||
}
|
width: calc(100% - 440px);
|
||||||
.leftBox {
|
|
||||||
position: relative;
|
|
||||||
width: 25%;
|
|
||||||
height: 100%;
|
height: 100%;
|
||||||
margin-right: 15px;
|
|
||||||
margin-left: 15px;
|
|
||||||
.leftTop {
|
|
||||||
height: 33%;
|
|
||||||
margin-bottom: 15px;
|
|
||||||
}
|
}
|
||||||
.leftCenter {
|
|
||||||
height: 33%;
|
|
||||||
margin-bottom: 15px;
|
|
||||||
}
|
|
||||||
.leftBottom {
|
|
||||||
height: 33%;
|
|
||||||
}
|
|
||||||
z-index: 2;
|
|
||||||
}
|
|
||||||
.centerBox {
|
|
||||||
position: absolute;
|
|
||||||
margin-right: 15px;
|
|
||||||
padding-left: 6px;
|
|
||||||
width: 100%;
|
|
||||||
height: 100%;
|
|
||||||
line-height: 30px;
|
|
||||||
font-size: 18px;
|
|
||||||
color: #6ee4f0;
|
|
||||||
}
|
}
|
||||||
|
// .container {
|
||||||
|
// position: relative;
|
||||||
|
// display: flex;
|
||||||
|
// justify-content: space-between;
|
||||||
|
// width: 100%;
|
||||||
|
// height: 100%;
|
||||||
|
// background-color: #07162b;
|
||||||
|
// background-image: url('~@/assets/images/projectImg/Bimbgc.png');
|
||||||
|
// }
|
||||||
|
// .topBox {
|
||||||
|
// height: 20%;
|
||||||
|
// }
|
||||||
|
// .leftBox {
|
||||||
|
// position: relative;
|
||||||
|
// width: 25%;
|
||||||
|
// height: 100%;
|
||||||
|
// margin-right: 15px;
|
||||||
|
// margin-left: 15px;
|
||||||
|
// .leftTop {
|
||||||
|
// height: 33%;
|
||||||
|
// margin-bottom: 15px;
|
||||||
|
// }
|
||||||
|
// .leftCenter {
|
||||||
|
// height: 33%;
|
||||||
|
// margin-bottom: 15px;
|
||||||
|
// }
|
||||||
|
// .leftBottom {
|
||||||
|
// height: 33%;
|
||||||
|
// }
|
||||||
|
// z-index: 2;
|
||||||
|
// }
|
||||||
|
// .centerBox {
|
||||||
|
// position: absolute;
|
||||||
|
// margin-right: 15px;
|
||||||
|
// padding-left: 6px;
|
||||||
|
// width: 100%;
|
||||||
|
// height: 100%;
|
||||||
|
// line-height: 30px;
|
||||||
|
// font-size: 18px;
|
||||||
|
// color: #6ee4f0;
|
||||||
|
// }
|
||||||
|
|
||||||
.rightBox {
|
// .rightBox {
|
||||||
position: relative;
|
// position: relative;
|
||||||
width: 25%;
|
// width: 25%;
|
||||||
height: 100%;
|
// height: 100%;
|
||||||
.rightTop {
|
// .rightTop {
|
||||||
height: 33%;
|
// height: 33%;
|
||||||
margin-bottom: 15px;
|
// margin-bottom: 15px;
|
||||||
}
|
// }
|
||||||
.rightCenter {
|
// .rightCenter {
|
||||||
height: 33%;
|
// height: 33%;
|
||||||
margin-bottom: 15px;
|
// margin-bottom: 15px;
|
||||||
}
|
// }
|
||||||
z-index: 2;
|
// z-index: 2;
|
||||||
}
|
// }
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user