小小儁爺
2026-03-12 0c8bc58122c1f620d5a9c692262e94f9fab351a6
src/views/kanbanManager/zhkb.vue
@@ -1,6 +1,10 @@
<template>
  <div>
    <div class="kb_dashboard" style="display:flex;flex-direction: column;justify-content: space-between">
    <div
      class="kb_dashboard"
      :style="{transform:'scale('+zoomX+','+zoomY+')',top:topDistance+'px',left:leftDistance+'px'}"
      style="display:flex;flex-direction: column;justify-content: space-between"
    >
      <div class="kb_backgroundCustom" />
@@ -175,6 +179,10 @@
  name: 'Cjsc',
  data() {
    return {
      zoomX: 1,
      zoomY: 1,
      topDistance: 0,
      leftDistance: 0,
      headTime: '',
      LeftTopData01: [],
@@ -218,8 +226,17 @@
    setInterval(() => {
      this.getWorkShopCompreRightBottom()
    }, 25 * 1000)
    window.addEventListener('resize', this.getHeight)
    this.getHeight()
  },
  methods: {
    // 获取页面高度
    getHeight() {
      this.zoomX = window.innerWidth / 1920
      this.zoomY = window.innerHeight / 1080
      this.topDistance = (window.innerHeight - 1080) / 2
      this.leftDistance = (window.innerWidth - 1920) / 2
    },
    getWorkShopCompreLeftTop() {
      const res = [
        { org_code: '0501', org_name: '装配车间' },