小小儁爺
2024-09-05 86e5ff7028168bf18b5d3846022ebeac09aa4d4f
src/views/kanbanManager/cjsc.vue
@@ -1,650 +1,650 @@
<!--<template>-->
<!--  <div>-->
<!--    <div class="kb_dashboard">-->
<!--      &lt;!&ndash;    星空背景&ndash;&gt;-->
<!--      <div ref="starsRef" class="stars">-->
<!--        <div v-for="(item, index) in starsCount" :key="index" class="star" />-->
<!--      </div>-->
<!--      <div class="kb_header">-->
<!--        <div class="flex_c_c kb_header_text">-->
<!--          <div id="topBarLeft" style="width:600px;height:100%" />-->
<!--          车间生产数字化看板-->
<!--          <div id="topBarRight" style="width:600px;height:100%;transform:rotate(180deg);" />-->
<!--        </div>-->
<!--        <div class="kb_headTime">-->
<!--          <span>{{ headTime }}</span>-->
<!--        </div>-->
<!--      </div>-->
<!--      <div style="display: flex;justify-content: space-between;padding:0 20px 20px 20px">-->
<!--        <div style="width: 380px;height: 969px;" class="flex_c_b">-->
<!--          <div>-->
<!--            <div class="smallTitle">-->
<!--              <svg-icon icon-class="cxmc" class="svg_class" />-->
<!--              装配一线-->
<!--            </div>-->
<!--            <div class="lineContent horn">-->
<!--              <el-table-->
<!--                ref="tableDataLeftTopRef"-->
<!--                :data="tableDataLeftTop"-->
<!--                class="tableData  tableDataCell"-->
<!--                style="width: 100%;"-->
<!--                :header-cell-style="headerCellStyle"-->
<!--                :cell-style="cellStyle"-->
<!--                height="428"-->
<!--              >-->
<!--                <el-table-column-->
<!--                  prop="saleOrderCode"-->
<!--                  label="销售单号"-->
<!--                  width="130"-->
<!--                >-->
<!--                  <template slot-scope="{row}">-->
<!--                    <div v-if="row.saleOrderCode" style="text-align: left" class="ellipsis">{{ row.saleOrderCode }}</div>-->
<!--                    <div v-else>/</div>-->
<!--                  </template>-->
<!--                </el-table-column>-->
<!--                <el-table-column-->
<!--                  prop="partname"-->
<!--                  width="170"-->
<!--                  label="产品名称"-->
<!--                >-->
<!--                  <template slot-scope="{row}">-->
<!--                    <div v-if="row.partname" class="ellipsis">{{ row.partname }}</div>-->
<!--                    <div v-else>/</div>-->
<!--                  </template>-->
<!--                </el-table-column>-->
<!--                <el-table-column-->
<!--                  prop="good_qty"-->
<!--                  label="数量"-->
<!--                  width="70"-->
<!--                />-->
<!--              </el-table>-->
<!--            </div>-->
<!--          </div>-->
<!--          <div>-->
<!--            <div class="smallTitle">-->
<!--              <svg-icon icon-class="cxmc" class="svg_class" />-->
<!--              装配二线-->
<!--            </div>-->
<!--            <div class="lineContent horn">-->
<!--              <el-table-->
<!--                ref="tableDataLeftBottomRef"-->
<!--                :data="tableDataLeftBottom"-->
<!--                class="tableData tableDataCell"-->
<!--                style="width: 100%;"-->
<!--                :header-cell-style="headerCellStyle"-->
<!--                :cell-style="cellStyle"-->
<!--                height="428"-->
<!--              >-->
<!--                <el-table-column-->
<!--                  prop="saleOrderCode"-->
<!--                  label="销售单号"-->
<!--                  width="130"-->
<!--                >-->
<!--                  <template slot-scope="{row}">-->
<!--                    <div v-if="row.saleOrderCode" style="text-align: left" class="ellipsis">{{ row.saleOrderCode }}</div>-->
<!--                    <div v-else>/</div>-->
<!--                  </template>-->
<!--                </el-table-column>-->
<!--                <el-table-column-->
<!--                  prop="partname"-->
<!--                  width="170"-->
<!--                  label="产品名称"-->
<!--                >-->
<!--                  <template slot-scope="{row}">-->
<!--                    <div v-if="row.partname" class="ellipsis">{{ row.partname }}</div>-->
<!--                    <div v-else>/</div>-->
<!--                  </template>-->
<!--                </el-table-column>-->
<!--                <el-table-column-->
<!--                  prop="good_qty"-->
<!--                  label="数量"-->
<!--                  width="70"-->
<!--                />-->
<!--              </el-table>-->
<!--            </div>-->
<!--          </div>-->
<!--        </div>-->
<!--        <div>-->
<!--          <div class="smallTitle">-->
<!--            <svg-icon icon-class="scxx" class="svg_class" />-->
<!--            生产信息-->
<!--          </div>-->
<!--          <div class="lineContentCenter horn">-->
<!--            <el-table-->
<!--              ref="tableDataLeftCenterRef"-->
<!--              :data="tableDataCenterTop"-->
<!--              class="tableData tableDataCell"-->
<!--              style="width: 100%;"-->
<!--              :header-cell-style="headerCellStyleCenter"-->
<!--              :cell-style="cellStyleCenter"-->
<!--              height="927"-->
<!--            >-->
<!--              <el-table-column-->
<!--                type="RowNum"-->
<!--                label="序号"-->
<!--                width="50"-->
<!--              >-->
<!--                <template slot-scope="{row}">-->
<!--                  <div-->
<!--                    :style="{color:row.eqp_name==='装配一线'?'#FFFF77':row.eqp_name==='装配二线'?'#FF8888':row.eqp_name==='装配三线'?'#D28EFF':'#66FFFF'}"-->
<!--                  > {{ row.RowNum }}-->
<!--                  </div>-->
<!--                </template>-->
<!--              </el-table-column>-->
<!--              <el-table-column-->
<!--                prop="wo_code"-->
<!--                label="加工单号"-->
<!--                width="190"-->
<!--              >-->
<!--                <template slot-scope="{row}">-->
<!--                  <div-->
<!--                    :style="{color:row.eqp_name==='装配一线'?'#FFFF77':row.eqp_name==='装配二线'?'#FF8888':row.eqp_name==='装配三线'?'#D28EFF':'#66FFFF'}"-->
<!--                  > {{ row.wo_code }}-->
<!--                  </div>-->
<!--                </template>-->
<!--              </el-table-column>-->
<!--              <el-table-column-->
<!--                prop="eqp_name"-->
<!--                width="90"-->
<!--                label="产线名称"-->
<!--              >-->
<!--                <template slot-scope="{row}">-->
<!--                  <div-->
<!--                    :style="{color:row.eqp_name==='装配一线'?'#FFFF77':row.eqp_name==='装配二线'?'#FF8888':row.eqp_name==='装配三线'?'#D28EFF':'#66FFFF'}"-->
<!--                  > {{ row.eqp_name }}-->
<!--                  </div>-->
<!--                </template>-->
<!--              </el-table-column>-->
<!--              <el-table-column-->
<!--                prop="partname"-->
<!--                width="170"-->
<!--                label="产品名称"-->
<!--              >-->
<!--                <template slot-scope="{row}">-->
<!--                  <div-->
<!--                    class="ellipsis"-->
<!--                    :style="{color:row.eqp_name==='装配一线'?'#FFFF77':row.eqp_name==='装配二线'?'#FF8888':row.eqp_name==='装配三线'?'#D28EFF':'#66FFFF'}"-->
<!--                  > {{ row.partname }}-->
<!--                  </div>-->
<!--                </template>-->
<!--              </el-table-column>-->
<!--              <el-table-column-->
<!--                prop="plan_qty"-->
<!--                label="生产数量"-->
<!--                width="90"-->
<!--              >-->
<!--                <template slot-scope="{row}">-->
<!--                  <div-->
<!--                    :style="{color:row.eqp_name==='装配一线'?'#FFFF77':row.eqp_name==='装配二线'?'#FF8888':row.eqp_name==='装配三线'?'#D28EFF':'#66FFFF'}"-->
<!--                  > {{ row.plan_qty }}-->
<!--                  </div>-->
<!--                </template>-->
<!--              </el-table-column>-->
<!--              <el-table-column-->
<!--                prop="plan_startdate"-->
<!--                label="预计开始"-->
<!--                width="125"-->
<!--              >-->
<!--                <template slot-scope="{row}">-->
<!--                  <div-->
<!--                    v-if="row.plan_startdate"-->
<!--                    :style="{color:row.eqp_name==='装配一线'?'#FFFF77':row.eqp_name==='装配二线'?'#FF8888':row.eqp_name==='装配三线'?'#D28EFF':'#66FFFF'}"-->
<!--                  > {{ row.plan_startdate.substring(0, 11) }}-->
<!--                  </div>-->
<!--                  <div v-else />-->
<!--                </template>-->
<!--              </el-table-column>-->
<!--              <el-table-column-->
<!--                prop="plan_enddate"-->
<!--                label="预计完工"-->
<!--                width="125"-->
<!--              >-->
<!--                <template slot-scope="{row}">-->
<!--                  <div-->
<!--                    v-if="row.plan_enddate"-->
<!--                    :style="{color:row.eqp_name==='装配一线'?'#FFFF77':row.eqp_name==='装配二线'?'#FF8888':row.eqp_name==='装配三线'?'#D28EFF':'#66FFFF'}"-->
<!--                  > {{ row.plan_enddate.substring(0, 11) }}-->
<!--                  </div>-->
<!--                  <div v-else />-->
<!--                </template>-->
<!--              </el-table-column>-->
<!--              <el-table-column-->
<!--                prop="stepname"-->
<!--                label="工序"-->
<!--                width="100"-->
<!--              >-->
<!--                <template slot-scope="{row}">-->
<!--                  <div-->
<!--                    class="ellipsis"-->
<!--                    :style="{color:row.eqp_name==='装配一线'?'#FFFF77':row.eqp_name==='装配二线'?'#FF8888':row.eqp_name==='装配三线'?'#D28EFF':'#66FFFF'}"-->
<!--                  > {{ row.stepname }}-->
<!--                  </div>-->
<!--                </template>-->
<!--              </el-table-column>-->
<!--              <el-table-column-->
<!--                prop="scjdxxx"-->
<!--                label="生产进度"-->
<!--                width="130"-->
<!--              >-->
<!--                <template slot-scope="{row}">-->
<!--                  <div :id="'progress'+row.RowNum" style="width: 100%;height:30px" />-->
<!--                </template>-->
<!--              </el-table-column>-->
<!--            </el-table>-->
<!--          </div>-->
<!--        </div>-->
<!--        <div style="width: 380px;height: 969px;" class="flex_c_b">-->
<!--          <div>-->
<!--            <div class="smallTitle">-->
<!--              <svg-icon icon-class="cxmc" class="svg_class" />-->
<!--              装配三线-->
<!--            </div>-->
<!--            <div class="lineContent horn">-->
<!--              <el-table-->
<!--                ref="tableDataRightTopRef"-->
<!--                :data="tableDataRightTop"-->
<!--                class="tableData tableDataCell"-->
<!--                style="width: 100%;"-->
<!--                :header-cell-style="headerCellStyle"-->
<!--                :cell-style="cellStyle"-->
<!--                height="428"-->
<!--              >-->
<!--                <el-table-column-->
<!--                  prop="saleOrderCode"-->
<!--                  label="销售单号"-->
<!--                  width="130"-->
<!--                >-->
<!--                  <template slot-scope="{row}">-->
<!--                    <div v-if="row.saleOrderCode" style="text-align: left" class="ellipsis">{{ row.saleOrderCode }}</div>-->
<!--                    <div v-else>/</div>-->
<!--                  </template>-->
<!--                </el-table-column>-->
<!--                <el-table-column-->
<!--                  prop="partname"-->
<!--                  width="170"-->
<!--                  label="产品名称"-->
<!--                >-->
<!--                  <template slot-scope="{row}">-->
<!--                    <div v-if="row.partname" class="ellipsis">{{ row.partname }}</div>-->
<!--                    <div v-else>/</div>-->
<!--                  </template>-->
<!--                </el-table-column>-->
<!--                <el-table-column-->
<!--                  prop="good_qty"-->
<!--                  label="数量"-->
<!--                  width="70"-->
<!--                />-->
<!--              </el-table>-->
<!--            </div>-->
<!--          </div>-->
<!--          <div>-->
<!--            <div class="smallTitle">-->
<!--              <svg-icon icon-class="cxmc" class="svg_class" />-->
<!--              装配四线-->
<!--            </div>-->
<!--            <div class="lineContent horn">-->
<!--              <el-table-->
<!--                ref="tableDataRightBottomRef"-->
<!--                :data="tableDataRightBottom"-->
<!--                class="tableData tableDataCell"-->
<!--                style="width: 100%;"-->
<!--                :header-cell-style="headerCellStyle"-->
<!--                :cell-style="cellStyle"-->
<!--                height="428"-->
<!--              >-->
<!--                <el-table-column-->
<!--                  prop="saleOrderCode"-->
<!--                  label="销售单号"-->
<!--                  width="130"-->
<!--                >-->
<!--                  <template slot-scope="{row}">-->
<!--                    <div v-if="row.saleOrderCode" style="text-align: left" class="ellipsis">{{ row.saleOrderCode }}</div>-->
<!--                    <div v-else>/</div>-->
<!--                  </template>-->
<!--                </el-table-column>-->
<!--                <el-table-column-->
<!--                  prop="partname"-->
<!--                  width="170"-->
<!--                  label="产品名称"-->
<!--                >-->
<!--                  <template slot-scope="{row}">-->
<!--                    <div v-if="row.partname" class="ellipsis">{{ row.partname }}</div>-->
<!--                    <div v-else>/</div>-->
<!--                  </template>-->
<!--                </el-table-column>-->
<!--                <el-table-column-->
<!--                  prop="good_qty"-->
<!--                  label="数量"-->
<!--                  width="70"-->
<!--                />-->
<!--              </el-table>-->
<!--            </div>-->
<!--          </div>-->
<!--        </div>-->
<!--      </div>-->
<!--    </div>-->
<!--  </div>-->
<!--</template>-->
<!--<script>-->
<!--import './kbCommon.css'-->
<!--import { kbTop, loadEcharts, progress } from '@/utils/myEcharts'-->
<!--import { WkshpContentData, WkshpLineData } from '@/api/dzkb'-->
<!--import clearAllChildren from '@/utils/global'-->
<!--export default {-->
<!--  name: 'Cjsc',-->
<!--  data() {-->
<!--    return {-->
<!--      headTime: '',-->
<!--      tableDataLeftTop: [],-->
<!--      tableDataLeftTopTemp: [],-->
<!--      tableDataLeftBottom: [],-->
<!--      tableDataLeftBottomTemp: [],-->
<!--      tableDataRightTop: [],-->
<!--      tableDataRightTopTemp: [],-->
<!--      tableDataRightBottom: [],-->
<!--      tableDataRightBottomTemp: [],-->
<!--      tableDataCenterTop: [],-->
<!--      tableDataCenterTopTemp: [],-->
<!--      starsCount: 800, // 星星数量-->
<!--      distance: 900 // 间距-->
<!--    }-->
<!--  },-->
<!--  created() {-->
<!--    setInterval(this.getNowTime, 1000)-->
<!--    // 两小时看板刷新一次-->
<!--    setInterval(() => {-->
<!--      window.location.reload()-->
<!--    }, 1000 * 60 * 120)-->
<!--  },-->
<!--  mounted() {-->
<!--    this.getTopBar()-->
<!--    // 边上四个表格数据内容-->
<!--    this.getLeftTopTableDataSetInterval()-->
<!--    this.getLeftBottomTableDataSetInterval()-->
<!--    this.getRightTopTableDataSetInterval()-->
<!--    this.getRightBottomTableDataSetInterval()-->
<!--    // 中间表格数据内容-->
<!--    this.getCenterTableDataSetInterval()-->
<!--    this.setStarsRef()-->
<!--  },-->
<!--  methods: {-->
<!--    setStarsRef() {-->
<!--      const starNodes = Array.from(this.$refs.starsRef.children)-->
<!--      starNodes.forEach(item => {-->
<!--        const speed = 0.2 + Math.random() * 1-->
<!--        const thisDistance = this.distance + Math.random() * 300-->
<!--        item.style.transformOrigin = `0 0 ${thisDistance}px`-->
<!--        item.style.transform = `-->
<!--        translate3d(0,0,-${thisDistance}px)-->
<!--        rotateY(${Math.random() * 360}deg)-->
<!--        rotateX(${Math.random() * -50}deg)-->
<!--        scale(${speed},${speed})`-->
<!--      })-->
<!--    },-->
<!--    // 中间部分的表格-->
<!--    getCenterTableDataSetInterval() {-->
<!--      let startValue = 0 // 初始值-->
<!--      const scale = 20// 刻度-->
<!--      WkshpContentData().then(res => {-->
<!--        this.tableDataCenterTopTemp = res.data-->
<!--        this.tableDataCenterTop = this.tableDataCenterTopTemp.slice(startValue, startValue + scale)-->
<!--        const loop = Math.floor(this.tableDataCenterTopTemp.length / scale)// 需要循环的次数-->
<!--        let nowLoop = 0// 当前循环的次数-->
<!--        const timer = setInterval(() => {-->
<!--          startValue = startValue + scale-->
<!--          this.tableDataCenterTop = this.tableDataCenterTopTemp.slice(startValue, startValue + scale)-->
<!--          if (nowLoop === loop) {-->
<!--            clearInterval(timer)-->
<!--            this.getCenterTableDataSetInterval()-->
<!--          }-->
<!--          nowLoop++-->
<!--          this.$nextTick(() => {-->
<!--            this.tableDataCenterTop.forEach(i => {-->
<!--              loadEcharts('progress' + i.RowNum, progress(i.good_qty, i.plan_qty))-->
<!--            })-->
<!--          })-->
<!--        }, 1000 * 10)-->
<!--        this.$nextTick(() => {-->
<!--          this.tableDataCenterTop.forEach(i => {-->
<!--            loadEcharts('progress' + i.RowNum, progress(i.good_qty, i.plan_qty))-->
<!--          })-->
<!--        })-->
<!--      })-->
<!--    },-->
<!--    // 获取左上数据并定时刷新-->
<!--    getLeftTopTableDataSetInterval() {-->
<!--      let startValue = 0 // 初始值-->
<!--      const scale = 10// 刻度-->
<!--      WkshpLineData({ LineCode: '001' }).then(res => {-->
<!--        this.tableDataLeftTopTemp = res.data-->
<!--        this.tableDataLeftTop = this.tableDataLeftTopTemp.slice(startValue, startValue + scale)-->
<!--        const loop = Math.floor(this.tableDataLeftTopTemp.length / scale)// 需要循环的次数-->
<!--        let nowLoop = 0// 当前循环的次数-->
<!--        const timer = setInterval(() => {-->
<!--          startValue = startValue + scale-->
<!--          this.tableDataLeftTop = this.tableDataLeftTopTemp.slice(startValue, startValue + scale)-->
<!--          if (nowLoop === loop) {-->
<!--            clearInterval(timer)-->
<!--            this.getLeftTopTableDataSetInterval()-->
<!--          }-->
<!--          nowLoop++-->
<!--        }, 1000 * 10)-->
<!--      })-->
<!--    },-->
<!--    // 获取左下数据并定时刷新-->
<!--    getLeftBottomTableDataSetInterval() {-->
<!--      let startValue = 0 // 初始值-->
<!--      const scale = 10// 刻度-->
<!--      WkshpLineData({ LineCode: '002' }).then(res => {-->
<!--        this.tableDataLeftBottomTemp = res.data-->
<!--        this.tableDataLeftBottom = this.tableDataLeftBottomTemp.slice(startValue, startValue + scale)-->
<!--        const loop = Math.floor(this.tableDataLeftBottomTemp.length / scale)// 需要循环的次数-->
<!--        let nowLoop = 0// 当前循环的次数-->
<!--        const timer = setInterval(() => {-->
<!--          startValue = startValue + scale-->
<!--          this.tableDataLeftBottom = this.tableDataLeftBottomTemp.slice(startValue, startValue + scale)-->
<!--          if (nowLoop === loop) {-->
<!--            clearInterval(timer)-->
<!--            this.getLeftBottomTableDataSetInterval()-->
<!--          }-->
<!--          nowLoop++-->
<!--        }, 1000 * 10)-->
<!--      })-->
<!--    },-->
<!--    // 获取右上数据并定时刷新-->
<!--    getRightTopTableDataSetInterval() {-->
<!--      let startValue = 0 // 初始值-->
<!--      const scale = 10// 刻度-->
<!--      WkshpLineData({ LineCode: '003' }).then(res => {-->
<!--        this.tableDataRightTopTemp = res.data-->
<!--        this.tableDataRightTop = this.tableDataRightTopTemp.slice(startValue, startValue + scale)-->
<!--        const loop = Math.floor(this.tableDataRightTopTemp.length / scale)// 需要循环的次数-->
<!--        let nowLoop = 0// 当前循环的次数-->
<!--        const timer = setInterval(() => {-->
<!--          startValue = startValue + scale-->
<!--          this.tableDataRightTop = this.tableDataRightTopTemp.slice(startValue, startValue + scale)-->
<!--          if (nowLoop === loop) {-->
<!--            clearInterval(timer)-->
<!--            this.getRightTopTableDataSetInterval()-->
<!--          }-->
<!--          nowLoop++-->
<!--        }, 1000 * 10)-->
<!--      })-->
<!--    },-->
<!--    // 获取右下数据并定时刷新-->
<!--    getRightBottomTableDataSetInterval() {-->
<!--      let startValue = 0 // 初始值-->
<!--      const scale = 10// 刻度-->
<!--      WkshpLineData({ LineCode: '004' }).then(res => {-->
<!--        this.tableDataRightBottomTemp = res.data-->
<!--        this.tableDataRightBottom = this.tableDataRightBottomTemp.slice(startValue, startValue + scale)-->
<!--        const loop = Math.floor(this.tableDataRightBottomTemp.length / scale)// 需要循环的次数-->
<!--        let nowLoop = 0// 当前循环的次数-->
<!--        const timer = setInterval(() => {-->
<!--          startValue = startValue + scale-->
<!--          this.tableDataRightBottom = this.tableDataRightBottomTemp.slice(startValue, startValue + scale)-->
<!--          if (nowLoop === loop) {-->
<!--            clearInterval(timer)-->
<!--            this.getRightBottomTableDataSetInterval()-->
<!--          }-->
<!--          nowLoop++-->
<!--        }, 1000 * 10)-->
<!--      })-->
<!--    },-->
<!--    // 获取topEcharts-->
<!--    getTopBar() {-->
<!--      loadEcharts('topBarLeft', kbTop())-->
<!--      loadEcharts('topBarRight', kbTop())-->
<!--    },-->
<!--    // 获取当前时间-->
<!--    getNowTime() {-->
<!--      const dt = new Date()-->
<!--      const wk = dt.getDay()-->
<!--      const y = dt.getFullYear()-->
<!--      const m = (dt.getMonth() + 1 + '').padStart(2, '0')-->
<!--      const d = (dt.getDate() + '').padStart(2, '0')-->
<!--      const hh = (dt.getHours() + '').padStart(2, '0')-->
<!--      const mm = (dt.getMinutes() + '').padStart(2, '0')-->
<!--      const ss = (dt.getSeconds() + '').padStart(2, '0')-->
<!--      const weeks = ['星期日', '星期一', '星期二', '星期三', '星期四', '星期五', '星期六']-->
<!--      const week = weeks[wk]-->
<!--      this.headTime = `${y}-${m}-${d}  ${hh}:${mm}:${ss}   ${week}`-->
<!--    },-->
<!--    headerCellStyle() {-->
<!--      return {-->
<!--        // backgroundColor: 'rgb(30 ,33, 46)',-->
<!--        backgroundColor: '#000',-->
<!--        padding: '10px 0',-->
<!--        textAlign: 'center',-->
<!--        color: '#07acc2',-->
<!--        border: 'none',-->
<!--        fontSize: '18px'-->
<!--      }-->
<!--    },-->
<!--    cellStyle() {-->
<!--      return {-->
<!--        padding: '7px 0',-->
<!--        textAlign: 'center',-->
<!--        // backgroundColor: 'rgba(30, 33, 46)',-->
<!--        backgroundColor: '#000',-->
<!--        // backgroundColor: 'transparent',-->
<!--        color: '#fff',-->
<!--        border: 'none',-->
<!--        fontSize: '18px'-->
<!--      }-->
<!--    },-->
<!--    headerCellStyleCenter() {-->
<!--      return {-->
<!--        // backgroundColor: 'rgb(30 ,33, 46)',-->
<!--        backgroundColor: '#000',-->
<!--        padding: '10px 0',-->
<!--        textAlign: 'center',-->
<!--        color: '#07acc2',-->
<!--        border: 'none',-->
<!--        fontSize: '18px'-->
<!--      }-->
<!--    },-->
<!--    cellStyleCenter() {-->
<!--      return {-->
<!--        padding: '7px 0',-->
<!--        textAlign: 'center',-->
<!--        backgroundColor: '#000',-->
<!--        color: '#fff',-->
<!--        border: 'none',-->
<!--        fontSize: '18px'-->
<!--      }-->
<!--    }-->
<!--  }-->
<!--}-->
<!--</script>-->
<!--<style lang="scss" scoped>-->
<!--$main_color: #09d8f2;-->
<!--$color01: #00FFFF;-->
<!--.tableDataCell {-->
<!--  ::v-deep .cell{-->
<!--    padding: 0 2px ;-->
<!--  }-->
<!--}-->
<!--.tableData {-->
<!--  background: #000;-->
<!--}-->
<!--.el-table::before {-->
<!--  height: 0;-->
<!--}-->
<!--.el-table__empty-text {-->
<!--  color: $main_color;-->
<!--}-->
<!--</style>-->
<!--&lt;!&ndash;星空&ndash;&gt;-->
<!--<style lang="css" scoped>-->
<!--@keyframes rotate {-->
<!--  0% {-->
<!--    transform: perspective(400px) rotateZ(20deg) rotateX(-40deg) rotateY(0);-->
<!--  }-->
<!--  100% {-->
<!--    transform: perspective(400px) rotateZ(20deg) rotateX(-40deg) rotateY(-360deg);-->
<!--  }-->
<!--}-->
<!--.stars {-->
<!--  transform: perspective(500px);-->
<!--  transform-style: preserve-3d;-->
<!--  position: absolute;-->
<!--  perspective-origin: 50% 100%;-->
<!--  left: 45%;-->
<!--  animation: rotate 90s infinite linear;-->
<!--  bottom: 0;-->
<!--  z-index: 102;-->
<!--}-->
<!--.star {-->
<!--  width: 2px;-->
<!--  height: 2px;-->
<!--  /*background: #f7f7b6;*/-->
<!--  background: #8edffc;-->
<!--  position: absolute;-->
<!--  left: 0;-->
<!--  top: 0;-->
<!--  backface-visibility: hidden;-->
<!--  z-index: 102;-->
<!--}-->
<!--</style>-->
<!--<template>-->
<!--  <div>-->
<!--    <div class="kb_dashboard">-->
<!--      &lt;!&ndash;    星空背景&ndash;&gt;-->
<!--      <div ref="starsRef" class="stars">-->
<!--        <div v-for="(item, index) in starsCount" :key="index" class="star" />-->
<!--      </div>-->
<!--      <div class="kb_header">-->
<!--        <div class="flex_c_c kb_header_text">-->
<!--          <div id="topBarLeft" style="width:600px;height:100%" />-->
<!--          车间生产数字化看板-->
<!--          <div id="topBarRight" style="width:600px;height:100%;transform:rotate(180deg);" />-->
<!--        </div>-->
<!--        <div class="kb_headTime">-->
<!--          <span>{{ headTime }}</span>-->
<!--        </div>-->
<!--      </div>-->
<!--      <div style="display: flex;justify-content: space-between;padding:0 20px 20px 20px">-->
<!--        <div style="width: 380px;height: 969px;" class="flex_c_b">-->
<!--          <div>-->
<!--            <div class="smallTitle">-->
<!--              <svg-icon icon-class="cxmc" class="svg_class" />-->
<!--              装配一线-->
<!--            </div>-->
<!--            <div class="lineContent horn">-->
<!--              <el-table-->
<!--                ref="tableDataLeftTopRef"-->
<!--                :data="tableDataLeftTop"-->
<!--                class="tableData  tableDataCell"-->
<!--                style="width: 100%;"-->
<!--                :header-cell-style="headerCellStyle"-->
<!--                :cell-style="cellStyle"-->
<!--                height="428"-->
<!--              >-->
<!--                <el-table-column-->
<!--                  prop="saleOrderCode"-->
<!--                  label="销售单号"-->
<!--                  width="130"-->
<!--                >-->
<!--                  <template slot-scope="{row}">-->
<!--                    <div v-if="row.saleOrderCode" style="text-align: left" class="ellipsis">{{ row.saleOrderCode }}</div>-->
<!--                    <div v-else>/</div>-->
<!--                  </template>-->
<!--                </el-table-column>-->
<!--                <el-table-column-->
<!--                  prop="partname"-->
<!--                  width="170"-->
<!--                  label="产品名称"-->
<!--                >-->
<!--                  <template slot-scope="{row}">-->
<!--                    <div v-if="row.partname" class="ellipsis">{{ row.partname }}</div>-->
<!--                    <div v-else>/</div>-->
<!--                  </template>-->
<!--                </el-table-column>-->
<!--                <el-table-column-->
<!--                  prop="good_qty"-->
<!--                  label="数量"-->
<!--                  width="70"-->
<!--                />-->
<!--              </el-table>-->
<!--            </div>-->
<!--          </div>-->
<!--          <div>-->
<!--            <div class="smallTitle">-->
<!--              <svg-icon icon-class="cxmc" class="svg_class" />-->
<!--              装配二线-->
<!--            </div>-->
<!--            <div class="lineContent horn">-->
<!--              <el-table-->
<!--                ref="tableDataLeftBottomRef"-->
<!--                :data="tableDataLeftBottom"-->
<!--                class="tableData tableDataCell"-->
<!--                style="width: 100%;"-->
<!--                :header-cell-style="headerCellStyle"-->
<!--                :cell-style="cellStyle"-->
<!--                height="428"-->
<!--              >-->
<!--                <el-table-column-->
<!--                  prop="saleOrderCode"-->
<!--                  label="销售单号"-->
<!--                  width="130"-->
<!--                >-->
<!--                  <template slot-scope="{row}">-->
<!--                    <div v-if="row.saleOrderCode" style="text-align: left" class="ellipsis">{{ row.saleOrderCode }}</div>-->
<!--                    <div v-else>/</div>-->
<!--                  </template>-->
<!--                </el-table-column>-->
<!--                <el-table-column-->
<!--                  prop="partname"-->
<!--                  width="170"-->
<!--                  label="产品名称"-->
<!--                >-->
<!--                  <template slot-scope="{row}">-->
<!--                    <div v-if="row.partname" class="ellipsis">{{ row.partname }}</div>-->
<!--                    <div v-else>/</div>-->
<!--                  </template>-->
<!--                </el-table-column>-->
<!--                <el-table-column-->
<!--                  prop="good_qty"-->
<!--                  label="数量"-->
<!--                  width="70"-->
<!--                />-->
<!--              </el-table>-->
<!--            </div>-->
<!--          </div>-->
<!--        </div>-->
<!--        <div>-->
<!--          <div class="smallTitle">-->
<!--            <svg-icon icon-class="scxx" class="svg_class" />-->
<!--            生产信息-->
<!--          </div>-->
<!--          <div class="lineContentCenter horn">-->
<!--            <el-table-->
<!--              ref="tableDataLeftCenterRef"-->
<!--              :data="tableDataCenterTop"-->
<!--              class="tableData tableDataCell"-->
<!--              style="width: 100%;"-->
<!--              :header-cell-style="headerCellStyleCenter"-->
<!--              :cell-style="cellStyleCenter"-->
<!--              height="927"-->
<!--            >-->
<!--              <el-table-column-->
<!--                type="RowNum"-->
<!--                label="序号"-->
<!--                width="50"-->
<!--              >-->
<!--                <template slot-scope="{row}">-->
<!--                  <div-->
<!--                    :style="{color:row.eqp_name==='装配一线'?'#FFFF77':row.eqp_name==='装配二线'?'#FF8888':row.eqp_name==='装配三线'?'#D28EFF':'#66FFFF'}"-->
<!--                  > {{ row.RowNum }}-->
<!--                  </div>-->
<!--                </template>-->
<!--              </el-table-column>-->
<!--              <el-table-column-->
<!--                prop="wo_code"-->
<!--                label="加工单号"-->
<!--                width="190"-->
<!--              >-->
<!--                <template slot-scope="{row}">-->
<!--                  <div-->
<!--                    :style="{color:row.eqp_name==='装配一线'?'#FFFF77':row.eqp_name==='装配二线'?'#FF8888':row.eqp_name==='装配三线'?'#D28EFF':'#66FFFF'}"-->
<!--                  > {{ row.wo_code }}-->
<!--                  </div>-->
<!--                </template>-->
<!--              </el-table-column>-->
<!--              <el-table-column-->
<!--                prop="eqp_name"-->
<!--                width="90"-->
<!--                label="产线名称"-->
<!--              >-->
<!--                <template slot-scope="{row}">-->
<!--                  <div-->
<!--                    :style="{color:row.eqp_name==='装配一线'?'#FFFF77':row.eqp_name==='装配二线'?'#FF8888':row.eqp_name==='装配三线'?'#D28EFF':'#66FFFF'}"-->
<!--                  > {{ row.eqp_name }}-->
<!--                  </div>-->
<!--                </template>-->
<!--              </el-table-column>-->
<!--              <el-table-column-->
<!--                prop="partname"-->
<!--                width="170"-->
<!--                label="产品名称"-->
<!--              >-->
<!--                <template slot-scope="{row}">-->
<!--                  <div-->
<!--                    class="ellipsis"-->
<!--                    :style="{color:row.eqp_name==='装配一线'?'#FFFF77':row.eqp_name==='装配二线'?'#FF8888':row.eqp_name==='装配三线'?'#D28EFF':'#66FFFF'}"-->
<!--                  > {{ row.partname }}-->
<!--                  </div>-->
<!--                </template>-->
<!--              </el-table-column>-->
<!--              <el-table-column-->
<!--                prop="plan_qty"-->
<!--                label="生产数量"-->
<!--                width="90"-->
<!--              >-->
<!--                <template slot-scope="{row}">-->
<!--                  <div-->
<!--                    :style="{color:row.eqp_name==='装配一线'?'#FFFF77':row.eqp_name==='装配二线'?'#FF8888':row.eqp_name==='装配三线'?'#D28EFF':'#66FFFF'}"-->
<!--                  > {{ row.plan_qty }}-->
<!--                  </div>-->
<!--                </template>-->
<!--              </el-table-column>-->
<!--              <el-table-column-->
<!--                prop="plan_startdate"-->
<!--                label="预计开始"-->
<!--                width="125"-->
<!--              >-->
<!--                <template slot-scope="{row}">-->
<!--                  <div-->
<!--                    v-if="row.plan_startdate"-->
<!--                    :style="{color:row.eqp_name==='装配一线'?'#FFFF77':row.eqp_name==='装配二线'?'#FF8888':row.eqp_name==='装配三线'?'#D28EFF':'#66FFFF'}"-->
<!--                  > {{ row.plan_startdate.substring(0, 11) }}-->
<!--                  </div>-->
<!--                  <div v-else />-->
<!--                </template>-->
<!--              </el-table-column>-->
<!--              <el-table-column-->
<!--                prop="plan_enddate"-->
<!--                label="预计完工"-->
<!--                width="125"-->
<!--              >-->
<!--                <template slot-scope="{row}">-->
<!--                  <div-->
<!--                    v-if="row.plan_enddate"-->
<!--                    :style="{color:row.eqp_name==='装配一线'?'#FFFF77':row.eqp_name==='装配二线'?'#FF8888':row.eqp_name==='装配三线'?'#D28EFF':'#66FFFF'}"-->
<!--                  > {{ row.plan_enddate.substring(0, 11) }}-->
<!--                  </div>-->
<!--                  <div v-else />-->
<!--                </template>-->
<!--              </el-table-column>-->
<!--              <el-table-column-->
<!--                prop="stepname"-->
<!--                label="工序"-->
<!--                width="100"-->
<!--              >-->
<!--                <template slot-scope="{row}">-->
<!--                  <div-->
<!--                    class="ellipsis"-->
<!--                    :style="{color:row.eqp_name==='装配一线'?'#FFFF77':row.eqp_name==='装配二线'?'#FF8888':row.eqp_name==='装配三线'?'#D28EFF':'#66FFFF'}"-->
<!--                  > {{ row.stepname }}-->
<!--                  </div>-->
<!--                </template>-->
<!--              </el-table-column>-->
<!--              <el-table-column-->
<!--                prop="scjdxxx"-->
<!--                label="生产进度"-->
<!--                width="130"-->
<!--              >-->
<!--                <template slot-scope="{row}">-->
<!--                  <div :id="'progress'+row.RowNum" style="width: 100%;height:30px" />-->
<!--                </template>-->
<!--              </el-table-column>-->
<!--            </el-table>-->
<!--          </div>-->
<!--        </div>-->
<!--        <div style="width: 380px;height: 969px;" class="flex_c_b">-->
<!--          <div>-->
<!--            <div class="smallTitle">-->
<!--              <svg-icon icon-class="cxmc" class="svg_class" />-->
<!--              装配三线-->
<!--            </div>-->
<!--            <div class="lineContent horn">-->
<!--              <el-table-->
<!--                ref="tableDataRightTopRef"-->
<!--                :data="tableDataRightTop"-->
<!--                class="tableData tableDataCell"-->
<!--                style="width: 100%;"-->
<!--                :header-cell-style="headerCellStyle"-->
<!--                :cell-style="cellStyle"-->
<!--                height="428"-->
<!--              >-->
<!--                <el-table-column-->
<!--                  prop="saleOrderCode"-->
<!--                  label="销售单号"-->
<!--                  width="130"-->
<!--                >-->
<!--                  <template slot-scope="{row}">-->
<!--                    <div v-if="row.saleOrderCode" style="text-align: left" class="ellipsis">{{ row.saleOrderCode }}</div>-->
<!--                    <div v-else>/</div>-->
<!--                  </template>-->
<!--                </el-table-column>-->
<!--                <el-table-column-->
<!--                  prop="partname"-->
<!--                  width="170"-->
<!--                  label="产品名称"-->
<!--                >-->
<!--                  <template slot-scope="{row}">-->
<!--                    <div v-if="row.partname" class="ellipsis">{{ row.partname }}</div>-->
<!--                    <div v-else>/</div>-->
<!--                  </template>-->
<!--                </el-table-column>-->
<!--                <el-table-column-->
<!--                  prop="good_qty"-->
<!--                  label="数量"-->
<!--                  width="70"-->
<!--                />-->
<!--              </el-table>-->
<!--            </div>-->
<!--          </div>-->
<!--          <div>-->
<!--            <div class="smallTitle">-->
<!--              <svg-icon icon-class="cxmc" class="svg_class" />-->
<!--              装配四线-->
<!--            </div>-->
<!--            <div class="lineContent horn">-->
<!--              <el-table-->
<!--                ref="tableDataRightBottomRef"-->
<!--                :data="tableDataRightBottom"-->
<!--                class="tableData tableDataCell"-->
<!--                style="width: 100%;"-->
<!--                :header-cell-style="headerCellStyle"-->
<!--                :cell-style="cellStyle"-->
<!--                height="428"-->
<!--              >-->
<!--                <el-table-column-->
<!--                  prop="saleOrderCode"-->
<!--                  label="销售单号"-->
<!--                  width="130"-->
<!--                >-->
<!--                  <template slot-scope="{row}">-->
<!--                    <div v-if="row.saleOrderCode" style="text-align: left" class="ellipsis">{{ row.saleOrderCode }}</div>-->
<!--                    <div v-else>/</div>-->
<!--                  </template>-->
<!--                </el-table-column>-->
<!--                <el-table-column-->
<!--                  prop="partname"-->
<!--                  width="170"-->
<!--                  label="产品名称"-->
<!--                >-->
<!--                  <template slot-scope="{row}">-->
<!--                    <div v-if="row.partname" class="ellipsis">{{ row.partname }}</div>-->
<!--                    <div v-else>/</div>-->
<!--                  </template>-->
<!--                </el-table-column>-->
<!--                <el-table-column-->
<!--                  prop="good_qty"-->
<!--                  label="数量"-->
<!--                  width="70"-->
<!--                />-->
<!--              </el-table>-->
<!--            </div>-->
<!--          </div>-->
<!--        </div>-->
<!--      </div>-->
<!--    </div>-->
<!--  </div>-->
<!--</template>-->
<!--<script>-->
<!--import './kbCommon.css'-->
<!--import { kbTop, loadEcharts, progress } from '@/utils/myEcharts'-->
<!--import { WkshpContentData, WkshpLineData } from '@/api/dzkb'-->
<!--import clearAllChildren from '@/utils/global'-->
<!--export default {-->
<!--  name: 'Cjsc',-->
<!--  data() {-->
<!--    return {-->
<!--      headTime: '',-->
<!--      tableDataLeftTop: [],-->
<!--      tableDataLeftTopTemp: [],-->
<!--      tableDataLeftBottom: [],-->
<!--      tableDataLeftBottomTemp: [],-->
<!--      tableDataRightTop: [],-->
<!--      tableDataRightTopTemp: [],-->
<!--      tableDataRightBottom: [],-->
<!--      tableDataRightBottomTemp: [],-->
<!--      tableDataCenterTop: [],-->
<!--      tableDataCenterTopTemp: [],-->
<!--      starsCount: 800, // 星星数量-->
<!--      distance: 900 // 间距-->
<!--    }-->
<!--  },-->
<!--  activated() {   window.addEventListener('resize', this.getHeight)   this.getHeight() }, created() {-->
<!--    setInterval(this.getNowTime, 1000)-->
<!--    // 两小时看板刷新一次-->
<!--    setInterval(() => {-->
<!--      window.location.reload()-->
<!--    }, 1000 * 60 * 120)-->
<!--  },-->
<!--  mounted() {-->
<!--    this.getTopBar()-->
<!--    // 边上四个表格数据内容-->
<!--    this.getLeftTopTableDataSetInterval()-->
<!--    this.getLeftBottomTableDataSetInterval()-->
<!--    this.getRightTopTableDataSetInterval()-->
<!--    this.getRightBottomTableDataSetInterval()-->
<!--    // 中间表格数据内容-->
<!--    this.getCenterTableDataSetInterval()-->
<!--    this.setStarsRef()-->
<!--  },-->
<!--  methods: {-->
<!--    setStarsRef() {-->
<!--      const starNodes = Array.from(this.$refs.starsRef.children)-->
<!--      starNodes.forEach(item => {-->
<!--        const speed = 0.2 + Math.random() * 1-->
<!--        const thisDistance = this.distance + Math.random() * 300-->
<!--        item.style.transformOrigin = `0 0 ${thisDistance}px`-->
<!--        item.style.transform = `-->
<!--        translate3d(0,0,-${thisDistance}px)-->
<!--        rotateY(${Math.random() * 360}deg)-->
<!--        rotateX(${Math.random() * -50}deg)-->
<!--        scale(${speed},${speed})`-->
<!--      })-->
<!--    },-->
<!--    // 中间部分的表格-->
<!--    getCenterTableDataSetInterval() {-->
<!--      let startValue = 0 // 初始值-->
<!--      const scale = 20// 刻度-->
<!--      WkshpContentData().then(res => {-->
<!--        this.tableDataCenterTopTemp = res.data-->
<!--        this.tableDataCenterTop = this.tableDataCenterTopTemp.slice(startValue, startValue + scale)-->
<!--        const loop = Math.floor(this.tableDataCenterTopTemp.length / scale)// 需要循环的次数-->
<!--        let nowLoop = 0// 当前循环的次数-->
<!--        const timer = setInterval(() => {-->
<!--          startValue = startValue + scale-->
<!--          this.tableDataCenterTop = this.tableDataCenterTopTemp.slice(startValue, startValue + scale)-->
<!--          if (nowLoop === loop) {-->
<!--            clearInterval(timer)-->
<!--            this.getCenterTableDataSetInterval()-->
<!--          }-->
<!--          nowLoop++-->
<!--          this.$nextTick(() => {-->
<!--            this.tableDataCenterTop.forEach(i => {-->
<!--              loadEcharts('progress' + i.RowNum, progress(i.good_qty, i.plan_qty))-->
<!--            })-->
<!--          })-->
<!--        }, 1000 * 10)-->
<!--        this.$nextTick(() => {-->
<!--          this.tableDataCenterTop.forEach(i => {-->
<!--            loadEcharts('progress' + i.RowNum, progress(i.good_qty, i.plan_qty))-->
<!--          })-->
<!--        })-->
<!--      })-->
<!--    },-->
<!--    // 获取左上数据并定时刷新-->
<!--    getLeftTopTableDataSetInterval() {-->
<!--      let startValue = 0 // 初始值-->
<!--      const scale = 10// 刻度-->
<!--      WkshpLineData({ LineCode: '001' }).then(res => {-->
<!--        this.tableDataLeftTopTemp = res.data-->
<!--        this.tableDataLeftTop = this.tableDataLeftTopTemp.slice(startValue, startValue + scale)-->
<!--        const loop = Math.floor(this.tableDataLeftTopTemp.length / scale)// 需要循环的次数-->
<!--        let nowLoop = 0// 当前循环的次数-->
<!--        const timer = setInterval(() => {-->
<!--          startValue = startValue + scale-->
<!--          this.tableDataLeftTop = this.tableDataLeftTopTemp.slice(startValue, startValue + scale)-->
<!--          if (nowLoop === loop) {-->
<!--            clearInterval(timer)-->
<!--            this.getLeftTopTableDataSetInterval()-->
<!--          }-->
<!--          nowLoop++-->
<!--        }, 1000 * 10)-->
<!--      })-->
<!--    },-->
<!--    // 获取左下数据并定时刷新-->
<!--    getLeftBottomTableDataSetInterval() {-->
<!--      let startValue = 0 // 初始值-->
<!--      const scale = 10// 刻度-->
<!--      WkshpLineData({ LineCode: '002' }).then(res => {-->
<!--        this.tableDataLeftBottomTemp = res.data-->
<!--        this.tableDataLeftBottom = this.tableDataLeftBottomTemp.slice(startValue, startValue + scale)-->
<!--        const loop = Math.floor(this.tableDataLeftBottomTemp.length / scale)// 需要循环的次数-->
<!--        let nowLoop = 0// 当前循环的次数-->
<!--        const timer = setInterval(() => {-->
<!--          startValue = startValue + scale-->
<!--          this.tableDataLeftBottom = this.tableDataLeftBottomTemp.slice(startValue, startValue + scale)-->
<!--          if (nowLoop === loop) {-->
<!--            clearInterval(timer)-->
<!--            this.getLeftBottomTableDataSetInterval()-->
<!--          }-->
<!--          nowLoop++-->
<!--        }, 1000 * 10)-->
<!--      })-->
<!--    },-->
<!--    // 获取右上数据并定时刷新-->
<!--    getRightTopTableDataSetInterval() {-->
<!--      let startValue = 0 // 初始值-->
<!--      const scale = 10// 刻度-->
<!--      WkshpLineData({ LineCode: '003' }).then(res => {-->
<!--        this.tableDataRightTopTemp = res.data-->
<!--        this.tableDataRightTop = this.tableDataRightTopTemp.slice(startValue, startValue + scale)-->
<!--        const loop = Math.floor(this.tableDataRightTopTemp.length / scale)// 需要循环的次数-->
<!--        let nowLoop = 0// 当前循环的次数-->
<!--        const timer = setInterval(() => {-->
<!--          startValue = startValue + scale-->
<!--          this.tableDataRightTop = this.tableDataRightTopTemp.slice(startValue, startValue + scale)-->
<!--          if (nowLoop === loop) {-->
<!--            clearInterval(timer)-->
<!--            this.getRightTopTableDataSetInterval()-->
<!--          }-->
<!--          nowLoop++-->
<!--        }, 1000 * 10)-->
<!--      })-->
<!--    },-->
<!--    // 获取右下数据并定时刷新-->
<!--    getRightBottomTableDataSetInterval() {-->
<!--      let startValue = 0 // 初始值-->
<!--      const scale = 10// 刻度-->
<!--      WkshpLineData({ LineCode: '004' }).then(res => {-->
<!--        this.tableDataRightBottomTemp = res.data-->
<!--        this.tableDataRightBottom = this.tableDataRightBottomTemp.slice(startValue, startValue + scale)-->
<!--        const loop = Math.floor(this.tableDataRightBottomTemp.length / scale)// 需要循环的次数-->
<!--        let nowLoop = 0// 当前循环的次数-->
<!--        const timer = setInterval(() => {-->
<!--          startValue = startValue + scale-->
<!--          this.tableDataRightBottom = this.tableDataRightBottomTemp.slice(startValue, startValue + scale)-->
<!--          if (nowLoop === loop) {-->
<!--            clearInterval(timer)-->
<!--            this.getRightBottomTableDataSetInterval()-->
<!--          }-->
<!--          nowLoop++-->
<!--        }, 1000 * 10)-->
<!--      })-->
<!--    },-->
<!--    // 获取topEcharts-->
<!--    getTopBar() {-->
<!--      loadEcharts('topBarLeft', kbTop())-->
<!--      loadEcharts('topBarRight', kbTop())-->
<!--    },-->
<!--    // 获取当前时间-->
<!--    getNowTime() {-->
<!--      const dt = new Date()-->
<!--      const wk = dt.getDay()-->
<!--      const y = dt.getFullYear()-->
<!--      const m = (dt.getMonth() + 1 + '').padStart(2, '0')-->
<!--      const d = (dt.getDate() + '').padStart(2, '0')-->
<!--      const hh = (dt.getHours() + '').padStart(2, '0')-->
<!--      const mm = (dt.getMinutes() + '').padStart(2, '0')-->
<!--      const ss = (dt.getSeconds() + '').padStart(2, '0')-->
<!--      const weeks = ['星期日', '星期一', '星期二', '星期三', '星期四', '星期五', '星期六']-->
<!--      const week = weeks[wk]-->
<!--      this.headTime = `${y}-${m}-${d}  ${hh}:${mm}:${ss}   ${week}`-->
<!--    },-->
<!--    headerCellStyle() {-->
<!--      return {-->
<!--        // backgroundColor: 'rgb(30 ,33, 46)',-->
<!--        backgroundColor: '#000',-->
<!--        padding: '10px 0',-->
<!--        textAlign: 'center',-->
<!--        color: '#07acc2',-->
<!--        border: 'none',-->
<!--        fontSize: '18px'-->
<!--      }-->
<!--    },-->
<!--    cellStyle() {-->
<!--      return {-->
<!--        padding: '7px 0',-->
<!--        textAlign: 'center',-->
<!--        // backgroundColor: 'rgba(30, 33, 46)',-->
<!--        backgroundColor: '#000',-->
<!--        // backgroundColor: 'transparent',-->
<!--        color: '#fff',-->
<!--        border: 'none',-->
<!--        fontSize: '18px'-->
<!--      }-->
<!--    },-->
<!--    headerCellStyleCenter() {-->
<!--      return {-->
<!--        // backgroundColor: 'rgb(30 ,33, 46)',-->
<!--        backgroundColor: '#000',-->
<!--        padding: '10px 0',-->
<!--        textAlign: 'center',-->
<!--        color: '#07acc2',-->
<!--        border: 'none',-->
<!--        fontSize: '18px'-->
<!--      }-->
<!--    },-->
<!--    cellStyleCenter() {-->
<!--      return {-->
<!--        padding: '7px 0',-->
<!--        textAlign: 'center',-->
<!--        backgroundColor: '#000',-->
<!--        color: '#fff',-->
<!--        border: 'none',-->
<!--        fontSize: '18px'-->
<!--      }-->
<!--    }-->
<!--  }-->
<!--}-->
<!--</script>-->
<!--<style lang="scss" scoped>-->
<!--$main_color: #09d8f2;-->
<!--$color01: #00FFFF;-->
<!--.tableDataCell {-->
<!--  ::v-deep .cell{-->
<!--    padding: 0 2px ;-->
<!--  }-->
<!--}-->
<!--.tableData {-->
<!--  background: #000;-->
<!--}-->
<!--.el-table::before {-->
<!--  height: 0;-->
<!--}-->
<!--.el-table__empty-text {-->
<!--  color: $main_color;-->
<!--}-->
<!--</style>-->
<!--&lt;!&ndash;星空&ndash;&gt;-->
<!--<style lang="css" scoped>-->
<!--@keyframes rotate {-->
<!--  0% {-->
<!--    transform: perspective(400px) rotateZ(20deg) rotateX(-40deg) rotateY(0);-->
<!--  }-->
<!--  100% {-->
<!--    transform: perspective(400px) rotateZ(20deg) rotateX(-40deg) rotateY(-360deg);-->
<!--  }-->
<!--}-->
<!--.stars {-->
<!--  transform: perspective(500px);-->
<!--  transform-style: preserve-3d;-->
<!--  position: absolute;-->
<!--  perspective-origin: 50% 100%;-->
<!--  left: 45%;-->
<!--  animation: rotate 90s infinite linear;-->
<!--  bottom: 0;-->
<!--  z-index: 102;-->
<!--}-->
<!--.star {-->
<!--  width: 2px;-->
<!--  height: 2px;-->
<!--  /*background: #f7f7b6;*/-->
<!--  background: #8edffc;-->
<!--  position: absolute;-->
<!--  left: 0;-->
<!--  top: 0;-->
<!--  backface-visibility: hidden;-->
<!--  z-index: 102;-->
<!--}-->
<!--</style>-->