|
@@ -28,17 +28,62 @@
|
|
|
</div>
|
|
|
</template>
|
|
|
</content-block>
|
|
|
-
|
|
|
<div class="screen-right-container">
|
|
|
<content-block title="Online Machinery" class="online-machine-block">
|
|
|
<template v-slot:content>
|
|
|
<div class="online-summery">
|
|
|
+ <div class="machine-pie-chart">
|
|
|
+ <pie-chart-block :optCfg="machineOpt"/>
|
|
|
+ </div>
|
|
|
+ <div class="machine-pie-legend">
|
|
|
+ <div class="legend-item">
|
|
|
+ <i :style="{ backgroundColor:machineOpt.color[0] }"/>
|
|
|
+ <span>Online Machinery</span>
|
|
|
+ <span>7</span>
|
|
|
+ </div>
|
|
|
+ <div class="legend-item">
|
|
|
+ <i :style="{ backgroundColor:machineOpt.color[1] }"/>
|
|
|
+ <span>Offline Machinery</span>
|
|
|
+ <span>7</span>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
<div class="online-list">
|
|
|
+ <div class="list-item">
|
|
|
+ <span class="machine-name">004</span>
|
|
|
+ <span class="cons-unit">Machine Name</span>
|
|
|
+ </div>
|
|
|
+ <div class="list-item">
|
|
|
+ <span class="machine-name">004</span>
|
|
|
+ <span class="cons-unit">Machine Name</span>
|
|
|
+ </div>
|
|
|
+ <div class="list-item">
|
|
|
+ <span class="machine-name">004</span>
|
|
|
+ <span class="cons-unit">Machine Name</span>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ </content-block>
|
|
|
+ <content-block title="Piling Machine" class="pile-machine-status">
|
|
|
+ <template v-slot:content>
|
|
|
+ <div class="offset-status">
|
|
|
+ <div class="offset-title">
|
|
|
+ Drill Rod Inclination
|
|
|
+ </div>
|
|
|
+ <div class="offset-item">
|
|
|
+ </div>
|
|
|
</div>
|
|
|
</template>
|
|
|
</content-block>
|
|
|
</div>
|
|
|
+ <el-dialog class="screen-dialog" title="Vibration Pipe Sinking and Stone Crushing Pile Information"
|
|
|
+ :visible.sync="open"
|
|
|
+ :modal="false"
|
|
|
+ append-to-body>
|
|
|
+ <div class="dialog-content">
|
|
|
+
|
|
|
+ </div>
|
|
|
+ </el-dialog>
|
|
|
</div>
|
|
|
</template>
|
|
|
|
|
@@ -47,9 +92,10 @@ import BdMap from "@/components/map/index.vue";
|
|
|
import Treeselect from "@riophae/vue-treeselect";
|
|
|
import ConsUnitTree from "@/views/cons/consUnit/ConsUnitTree.vue";
|
|
|
import ContentBlock from "@/views/cons/screen/ContentBlock.vue";
|
|
|
+import PieChartBlock from "@/components/charts/PieChartBlock.vue";
|
|
|
|
|
|
export default {
|
|
|
- components: {ContentBlock, ConsUnitTree, BdMap, Treeselect},
|
|
|
+ components: {PieChartBlock, ContentBlock, ConsUnitTree, BdMap, Treeselect},
|
|
|
props: {
|
|
|
ws: {
|
|
|
type: String,
|
|
@@ -74,7 +120,50 @@ export default {
|
|
|
consUnit: null,
|
|
|
searchVal: "",
|
|
|
count: 10,
|
|
|
- loading: false
|
|
|
+ loading: false,
|
|
|
+ open: true,
|
|
|
+ machineOpt: {
|
|
|
+ color: ['#006699', '#4cabce'],
|
|
|
+ tooltip: {
|
|
|
+ show: false
|
|
|
+ },
|
|
|
+ legend: {
|
|
|
+ show: false,
|
|
|
+ top: 0
|
|
|
+ },
|
|
|
+ label: {
|
|
|
+ show: false,
|
|
|
+ },
|
|
|
+ emphasis: {
|
|
|
+ label: {
|
|
|
+ show: false,
|
|
|
+ }
|
|
|
+ },
|
|
|
+ labelLine: {
|
|
|
+ show: false
|
|
|
+ },
|
|
|
+ series: [
|
|
|
+ {
|
|
|
+ type: 'pie',
|
|
|
+ radius: ['50%', '70%'],
|
|
|
+ center: ['50%', '50%'],
|
|
|
+ label: {
|
|
|
+ show: false,
|
|
|
+ position: 'center'
|
|
|
+ },
|
|
|
+ data: [
|
|
|
+ {
|
|
|
+ value: 19,
|
|
|
+ name: 'online',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ value: 75,
|
|
|
+ name: 'offline',
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ },
|
|
|
+ ],
|
|
|
+ },
|
|
|
};
|
|
|
},
|
|
|
// 组件卸载前清空图层信息
|