This commit is contained in:
2024-01-03 14:08:49 +08:00
parent 75aa253a29
commit 53f2b242a4
26 changed files with 1357 additions and 271 deletions

View File

@@ -1,10 +1,3 @@
<!--
filename: KilnDataBoard.vue
author: liubin
date: 2023-12-04 16:51:00
description:
-->
<template>
<div id='kilnContainerB' ref='kilnContainerB' style="width: 100%;height: 100%;">
<div
@@ -13,10 +6,10 @@
class="KilnDataBoard"
style="
position: absolute;
transform-origin: 16px 8px;
transform-origin: left top;
font-size: 16px;
top: -8px;
left: -16px;
top: 0px;
left: 0px;
width: 1920px;
height: 1080px;
display: flex;
@@ -45,15 +38,19 @@ import LeftFour from './LeftFour';
import RightTwo from './RightTwo.vue';
import screenfull from 'screenfull'
import { debounce } from '@/utils/debounce'
import { getDcsMsg, getMesMsg } from './../utils/wsInterface'
export default {
name: 'KilnDataBoard',
name: 'Kiln',
components: {
KHeader,
LeftFour,
RightTwo,
},
computed:{
sidebarStatus() {
return this.$store.state.app.sidebar.opened;
}
},
// provide() {
// return {
// resizeChart: null,
@@ -65,6 +62,11 @@ export default {
scaleNum: 0.8
};
},
watch: {
sidebarStatus() {
this.boxReset()
},
},
created() {
this.init()
},
@@ -79,14 +81,6 @@ export default {
window.addEventListener('resize', () => {
this.boxReset()
})
// this.getMes()
// closeWebsocket()
getDcsMsg()
// getMesMsg()
console.log('mounted...........')
},
destroyed() {
console.log('destroyed...........')
},
methods: {
change() {