123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120 |
- /* 中间页面 */
- <template>
- <div class="center-bar">
- <el-row :gutter="10">
- <el-col :span="8">
- <ProblemArea ref="problempg" :problems="problems" />
- </el-col>
- <el-col :span="8">
- <el-row>
- <el-col :span="24">
- <ControlArea />
- </el-col>
- </el-row>
- <el-row>
- <el-col :span="24">
- <CheckArea />
- </el-col>
- </el-row>
- </el-col>
- <el-col :span="8">
- <el-row>
- <el-col :span="24">
- <RecommendedArea />
- </el-col>
- </el-row>
- <el-row>
- <el-col :span="24">
- <LabelArea />
- </el-col>
- </el-row>
- <el-row>
- <el-col :span="24">
- <AlarmArea />
- </el-col>
- </el-row>
- </el-col>
- </el-row>
- <WindturbineDetailPages v-model="dialogVisible"></WindturbineDetailPages>
- </div>
- </template>
- <script>
- import AlarmArea from "./area/AlarmArea.vue";
- import CheckArea from "./area/CheckArea.vue";
- import ControlArea from "./area/ControlArea.vue";
- import LabelArea from "./area/LabelArea.vue";
- import ProblemArea from "./area/ProblemArea.vue";
- import RecommendedArea from "./area/RecommendedArea.vue";
- import WindturbineDetailPages from "./area/windturbine/WindturbineDetailPages.vue"
- /* import wtbdp from './area/wtbDetailPages'; */
- export default {
- data(){
- return{
- dialogVisible:false
- }
- },
- mounted(){
- /* var self=this;
- wtbdp.$on("evnt",function(){
- self.dialogVisible=true;
- }); */
- },
- components: {
- AlarmArea,
- CheckArea,
- ControlArea,
- LabelArea,
- ProblemArea,
- RecommendedArea,
- WindturbineDetailPages
- },
- props: {
- /* temp: {
- type: Onject | Array,
- default: [],
- }, */
- },
- created: function () {
-
- },
- computed: {
- problems: {
- get: function () {
- return this.datas;
- },
- set: function (params) {
- this.datas = params;
- this.$refs.problempg.problems = params;
- },
- },
- },
- methods: {
- },
- watch: {
- /* temp(res) {
- this.mapData = res;
- }, */
- },
- };
- </script>
- <style scoped>
- .center-bar {
- position: relative;
- box-sizing: border-box;
- height: 90vh;
- background-color: #000000;
- padding-top: 10px;
- padding-left: 5px;
- padding-right: 5px;
- padding-bottom: 5px;
- margin-top: 0;
- margin-right: 0;
- margin-bottom: 3px;
- margin-left: 0;
- display: flex;
- flex-direction: column;
- }
- </style>
|