2023-12-04 17:00:40 +08:00
|
|
|
<!--
|
|
|
|
filename: KilnDataBoard.vue
|
|
|
|
author: liubin
|
|
|
|
date: 2023-12-04 16:51:00
|
|
|
|
description:
|
|
|
|
-->
|
|
|
|
|
|
|
|
<template>
|
|
|
|
<div
|
|
|
|
class="KilnDataBoard"
|
|
|
|
style="
|
|
|
|
position: absolute;
|
|
|
|
top: -8px;
|
|
|
|
left: -16px;
|
|
|
|
width: calc(100% + 28px);
|
|
|
|
height: calc(100% + 38px);
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
gap: 16px;
|
|
|
|
">
|
2023-12-05 15:08:07 +08:00
|
|
|
<!-- test area -->
|
2023-12-06 09:47:06 +08:00
|
|
|
<!-- <DateBtnGroup /> -->
|
2023-12-05 15:24:20 +08:00
|
|
|
|
|
|
|
<!-- 风机频率 -->
|
2023-12-06 09:47:06 +08:00
|
|
|
<!-- <div
|
2023-12-05 15:08:07 +08:00
|
|
|
class="absolute"
|
|
|
|
style="
|
|
|
|
position: absolute;
|
|
|
|
top: 120px;
|
|
|
|
right: 100px;
|
|
|
|
padding: 12px;
|
|
|
|
background: #0003;
|
|
|
|
border: 1px solid #ccc;
|
|
|
|
display: grid;
|
|
|
|
grid-template-columns: repeat(2, 320px);
|
2023-12-05 15:24:20 +08:00
|
|
|
grid-auto-rows: 56px;
|
|
|
|
gap: 8px;
|
|
|
|
">
|
|
|
|
<ShadowRect v-for="n in 8" :key="n">
|
|
|
|
<span
|
|
|
|
style="
|
|
|
|
font-size: 16px;
|
|
|
|
line-height: 1.24;
|
|
|
|
flex: 1.2;
|
|
|
|
text-align: right;
|
|
|
|
padding-right: 8px;
|
|
|
|
letter-spacing: 1px;
|
|
|
|
">
|
|
|
|
{{ n }}#风机
|
|
|
|
</span>
|
|
|
|
<span style="font-size: 16px; line-height: 1.24; flex: 1">
|
|
|
|
{{ Math.floor(Math.random() * 100) }}Hz
|
|
|
|
</span>
|
|
|
|
</ShadowRect>
|
2023-12-06 09:47:06 +08:00
|
|
|
</div> -->
|
2023-12-05 15:24:20 +08:00
|
|
|
<!-- 窑炉信息 -->
|
2023-12-06 09:47:06 +08:00
|
|
|
<!-- <div
|
2023-12-05 15:24:20 +08:00
|
|
|
class="absolute"
|
|
|
|
style="
|
|
|
|
position: absolute;
|
|
|
|
top: 450px;
|
|
|
|
right: 100px;
|
|
|
|
padding: 12px;
|
|
|
|
background: #0003;
|
|
|
|
border: 1px solid #ccc;
|
|
|
|
display: grid;
|
|
|
|
grid-template-columns: repeat(2, 320px);
|
|
|
|
grid-auto-rows: 56px;
|
|
|
|
gap: 8px;
|
|
|
|
">
|
2023-12-06 09:47:06 +08:00
|
|
|
<ShadowRect v-for="n in 8" :key="n">
|
2023-12-05 15:24:20 +08:00
|
|
|
</ShadowRect>
|
2023-12-06 09:47:06 +08:00
|
|
|
</div> -->
|
2023-12-05 15:24:20 +08:00
|
|
|
|
|
|
|
<!-- 原料用量统计 -->
|
2023-12-06 09:47:06 +08:00
|
|
|
<!-- <div
|
2023-12-05 15:24:20 +08:00
|
|
|
style="
|
|
|
|
position: absolute;
|
2023-12-06 09:47:06 +08:00
|
|
|
top: 10px;
|
|
|
|
left: 10px;
|
|
|
|
margin: 10px;
|
|
|
|
width: 400px;
|
2023-12-05 15:08:07 +08:00
|
|
|
">
|
2023-12-06 09:47:06 +08:00
|
|
|
<MaterialCost />
|
|
|
|
</div> -->
|
2023-12-05 15:08:07 +08:00
|
|
|
|
2023-12-05 15:44:22 +08:00
|
|
|
<!-- btn group -->
|
2023-12-06 09:47:06 +08:00
|
|
|
<!-- <div
|
2023-12-05 15:44:22 +08:00
|
|
|
class="absolute"
|
|
|
|
style="
|
|
|
|
position: absolute;
|
|
|
|
top: 10px;
|
|
|
|
left: 60px;
|
|
|
|
padding: 12px;
|
|
|
|
background: #0003;
|
|
|
|
border: 1px solid #ccc;
|
|
|
|
">
|
|
|
|
<SelectorBtnGroup :options="['日', '周', '月', '年']" />
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="absolute"
|
|
|
|
style="
|
|
|
|
position: absolute;
|
|
|
|
top: 90px;
|
|
|
|
left: 60px;
|
|
|
|
padding: 12px;
|
|
|
|
background: #0003;
|
|
|
|
border: 1px solid #ccc;
|
|
|
|
">
|
|
|
|
<SelectorBtnGroup
|
|
|
|
:options="['氧气含量', '二氧化硫', '一氧化氢', '二氧化氢']" />
|
2023-12-06 09:47:06 +08:00
|
|
|
</div> -->
|
2023-12-05 15:44:22 +08:00
|
|
|
|
|
|
|
<!-- switcher -->
|
2023-12-06 09:47:06 +08:00
|
|
|
<!-- <div
|
2023-12-05 15:44:22 +08:00
|
|
|
class="absolute"
|
|
|
|
style="
|
|
|
|
position: absolute;
|
|
|
|
top: 10px;
|
|
|
|
right: 10px;
|
|
|
|
padding: 12px;
|
|
|
|
background: #0003;
|
|
|
|
border: 1px solid #ccc;
|
|
|
|
">
|
|
|
|
<Switcher />
|
2023-12-06 09:47:06 +08:00
|
|
|
</div> -->
|
2023-12-05 15:44:22 +08:00
|
|
|
|
2023-12-05 17:00:55 +08:00
|
|
|
<!-- container -->
|
2023-12-06 09:47:06 +08:00
|
|
|
<!-- <Container name="能耗" :width="300">
|
2023-12-05 17:00:55 +08:00
|
|
|
<div
|
|
|
|
class="v"
|
|
|
|
style="height: 100px; background: #ccc; width: 300px"></div>
|
|
|
|
<KilnLine :horizontal="true" />
|
|
|
|
<div
|
|
|
|
class="v"
|
|
|
|
style="height: 100px; background: #caf; width: 300px"></div>
|
2023-12-06 09:47:06 +08:00
|
|
|
</Container> -->
|
2023-12-05 17:00:55 +08:00
|
|
|
|
2023-12-05 15:08:07 +08:00
|
|
|
<!-- null -->
|
2023-12-06 09:47:06 +08:00
|
|
|
<!-- <section class="header" style="height: 80px">窑炉生产运行驾驶舱</section>
|
2023-12-04 17:00:40 +08:00
|
|
|
<section
|
|
|
|
class="main-body"
|
|
|
|
style="
|
|
|
|
display: grid;
|
|
|
|
gap: 16px;
|
2023-12-05 15:08:07 +08:00
|
|
|
flex: 1;
|
2023-12-04 17:00:40 +08:00
|
|
|
grid-template-columns: repeat(3, minmax(100px, 1fr));
|
|
|
|
">
|
2023-12-05 15:08:07 +08:00
|
|
|
<div class="main-left" style="background: #f001"></div>
|
|
|
|
<div class="main-middle" style="background: #0f01"></div>
|
|
|
|
<div class="main-right" style="background: #00f1"></div>
|
2023-12-06 09:47:06 +08:00
|
|
|
</section> -->
|
|
|
|
<KHeader />
|
|
|
|
<div class="main-body" style="flex: 1; display: flex; gap: 16px">
|
|
|
|
<div class="left-side" style="flex: 2">
|
|
|
|
<LeftFour />
|
|
|
|
</div>
|
|
|
|
<div class="right-side" style="flex: 1;"></div>
|
|
|
|
</div>
|
2023-12-04 17:00:40 +08:00
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
2023-12-05 15:08:07 +08:00
|
|
|
import DateBtnGroup from '../components/DateBtnGroup.vue';
|
|
|
|
import ShadowRect from '../components/ShadowRect.vue';
|
2023-12-05 15:44:22 +08:00
|
|
|
import SelectorBtnGroup from '../components/SelectorBtnGroup.vue';
|
|
|
|
import Switcher from '../components/Switcher.vue';
|
2023-12-05 17:00:55 +08:00
|
|
|
import KilnLine from '../components/line';
|
|
|
|
import Container from '../components/Container.vue';
|
2023-12-06 09:47:06 +08:00
|
|
|
import KHeader from '../components/Header.vue';
|
|
|
|
|
|
|
|
import MaterialCost from './MaterialCost.vue';
|
|
|
|
import LeftFour from './LeftFour.vue';
|
2023-12-05 17:00:55 +08:00
|
|
|
|
2023-12-06 09:47:06 +08:00
|
|
|
console.log('Line', KilnLine);
|
2023-12-05 17:00:55 +08:00
|
|
|
|
2023-12-04 17:00:40 +08:00
|
|
|
export default {
|
|
|
|
name: 'KilnDataBoard',
|
2023-12-05 17:00:55 +08:00
|
|
|
components: {
|
|
|
|
DateBtnGroup,
|
|
|
|
KilnLine,
|
2023-12-06 09:47:06 +08:00
|
|
|
KHeader,
|
|
|
|
LeftFour,
|
2023-12-05 17:00:55 +08:00
|
|
|
Container,
|
|
|
|
ShadowRect,
|
|
|
|
SelectorBtnGroup,
|
|
|
|
Switcher,
|
2023-12-06 09:47:06 +08:00
|
|
|
MaterialCost,
|
2023-12-05 17:00:55 +08:00
|
|
|
},
|
2023-12-04 17:00:40 +08:00
|
|
|
props: {},
|
|
|
|
data() {
|
|
|
|
return {};
|
|
|
|
},
|
|
|
|
computed: {},
|
|
|
|
methods: {},
|
|
|
|
};
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<style scoped lang="scss">
|
|
|
|
.KilnDataBoard {
|
2023-12-06 09:47:06 +08:00
|
|
|
background: url(../assets/bg.png) no-repeat;
|
|
|
|
background-size: cover;
|
|
|
|
background-position: 0 0;
|
2023-12-04 17:00:40 +08:00
|
|
|
}
|
|
|
|
</style>
|