loulijun2021
2022-09-06 d0a2c018b1612fb40d5e38f78d5180f2b90500fd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
<template>
  <div>
    <div class="kb_dashboard">
      <div class="kb_header">
        <div class="flex_c_c kb_header_text">
          电池车间看板
        </div>
        <div class="kb_headerPic" />
        <div class="kb_headTime">
          <span>{{ headTime }}</span>
        </div>
      </div>
      <MarqueeTips
        :content="MarqueeTipsContent"
        class="MarqueeTipsContentClass"
        :speed="speed"
      />
      <div class="kb_content">
        <div class="kb_left">
          <!-- 1-->
          <div class="kb_left_top_title01 kb_title_text">
            <!--            <div class="PG01" />-->
            <!--            <svg-icon icon-class="sccx" />-->
            产线加工中任务
          </div>
 
          <div class="kb_left_top kb_pd10">
 
            <div v-if="false" class="kb_left_top_block">
              <div class="kb_block02 kb_pd10">
                <div>
                  <div>销售单号:{{ lineContent01.children !== undefined ? lineContent01.children.saleordercode : '' }}</div>
                  <div class="kb_mt5">
                    加工单号:{{ lineContent01.children !== undefined ? lineContent01.children.workcode : '' }}
                  </div>
                  <div class="kb_mt5">
                    产品名称:{{ lineContent01.children !== undefined ? lineContent01.children.partname : '' }}
                  </div>
 
                  <div v-if="lineContent01.children&&lineContent01.children.length===0" class="kb_mt5">
                    任务数量:
                  </div>
                  <div v-else class="kb_mt5">
                    任务数量:{{ lineContent01.children ? parseFloat(lineContent01.children.qty) : '' }}
                  </div>
                </div>
              </div>
              <div class="kb_block03 kb_pd10 ">
                <div v-if="lineContent01.children!==undefined" class="flex_s_c">
                  <div
                    v-for="item in lineContent01.children.children"
                    :key="item.stepseq"
                    class="kb_block03_content flex_c_c"
                  >
                    <div>
                      <div class="content01">{{ item.stepname }}</div>
                    </div>
                    <div class="content02Parent">
                      <div class="content02">
                        <div class="content02_1 ">任务</div>
                        <div class="content02_2 borderTop ">{{ parseFloat(item.planqty) }}</div>
                      </div>
                      <div class="content02">
                        <div class="content02_1 ">合格</div>
                        <div class="content02_2 borderTop ">{{ parseFloat(item.goodqty) }}</div>
                      </div>
                      <div class="content02" style="border-right: 0">
                        <div class="content02_1 ">不良</div>
                        <div class="content02_2 borderTop ">{{ parseFloat(item.ngqty) }}</div>
                      </div>
                    </div>
                  </div>
                </div>
                <div v-if="lineContent01.children!==undefined" class="kb_block03_02 flex_s_c">
                  <div
                    v-for="item in lineContent01.children.children"
                    :key="item.stepseq"
                    class="kb_block03_02_content flex_c_c"
                  >
                    <div class="flex_c_c content01">
                      <div
                        v-if="item.status==='START'&&(parseFloat(item.ngqty)===0||item.ngqty==='')&&(parseFloat(item.goodqty)===0||item.goodqty==='')"
                        class="circle"
                        style="background-color: blue;"
                      />
                      <div
                        v-else-if="item.status==='ALLO'&&(parseFloat(item.ngqty)===0||item.ngqty==='')&&(parseFloat(item.goodqty)===0||item.goodqty==='')"
                        class="circle"
                        style="background-color: rgb(255 255 255)"
                      />
                      <div
                        v-else-if="parseFloat(item.ngqty)+parseFloat(item.goodqty)>=parseFloat(item.planqty)"
                        class="circle"
                      />
                      <div v-else class="circleYellow" />
                    </div>
                  </div>
                </div>
 
              </div>
            </div>
 
            <div v-for="item in lineContent4" :key="item.workcode" class="kb_left_top_block">
              <div class="kb_block02 kb_pd10">
                <div>
                  <div>销售单号:{{ item.saleordercode }}</div>
                  <div class="kb_mt5">
                    加工单号:{{ item.workcode }}
                  </div>
                  <div class="kb_mt5">
                    产品名称:{{ item.partname }}
                  </div>
                  <div class="kb_mt5">
                    任务数量:{{ parseFloat(item.qty) }}
                  </div>
                </div>
              </div>
              <div class="kb_block03 kb_pd10 ">
                <div v-if="item.children&&item.children.length>0" class="flex_s_c">
                  <div
                    v-for="(it,ind) in item.children"
                    :key="ind"
                    class="kb_block03_content flex_c_c"
                  >
                    <div>
                      <div class="content01">{{ it.stepname }}</div>
                    </div>
                    <div class="content02Parent">
                      <div class="content02">
                        <div class="content02_1 ">任务</div>
                        <div class="content02_2 borderTop ">{{ parseFloat(it.planqty) }}</div>
                      </div>
                      <div class="content02">
                        <div class="content02_1 ">合格</div>
                        <div class="content02_2 borderTop ">{{ parseFloat(it.goodqty) }}</div>
                      </div>
                      <div class="content02" style="border-right: 0">
                        <div class="content02_1 ">不良</div>
                        <div class="content02_2 borderTop ">{{ parseFloat(it.ngqty) }}</div>
                      </div>
                    </div>
                  </div>
                </div>
                <div v-if="item.children&&item.children.length>0" class="kb_block03_02 flex_s_c">
                  <div
                    v-for="(it,ind) in item.children"
                    :key="ind"
                    class="kb_block03_02_content flex_c_c"
                  >
                    <div class="flex_c_c content01">
                      <div
                        v-if="it.status==='START'&&(parseFloat(it.ngqty)===0||it.ngqty==='')&&(parseFloat(it.goodqty)===0||it.goodqty==='')"
                        class="circle"
                        style="background-color: blue;"
                      />
                      <div
                        v-else-if="it.status==='ALLO'&&(parseFloat(it.ngqty)===0||it.ngqty==='')&&(parseFloat(it.goodqty)===0||it.goodqty==='')"
                        class="circle"
                        style="background-color: rgb(255 255 255)"
                      />
                      <div
                        v-else-if="parseFloat(it.ngqty)+parseFloat(it.goodqty)>=parseFloat(it.planqty)"
                        class="circle"
                      />
                      <div v-else class="circleYellow" />
                    </div>
                  </div>
                </div>
 
              </div>
            </div>
 
          </div>
          <!-- 2-->
          <div class="kb_left_bottom kb_pd10">
            <div class="kb_left_bottom_content">
              <div class="content_head kb_title_text">产线加工任务</div>
              <div class="content_body">
                <el-table
                  ref="tableData"
                  :data="tableData"
                  style="width: 100%;"
                  :header-cell-style="headerCellStyle"
                  :cell-style="cellStyle"
                  height="440"
                >
                  <el-table-column
                    prop="RowNum"
                    label="序号"
                    width="40"
                  />
                  <el-table-column
                    prop="status"
                    label="加工状态"
                    width="70"
                  >
                    <template slot-scope="{row}">
                      <div v-if="row.status==='ALLO'">已派发</div>
                      <div v-if="row.status==='START'">开工</div>
                      <div v-if="row.status==='NEW'">新工单</div>
                    </template>
                  </el-table-column>
                  <el-table-column
                    prop="lm_date"
                    label="派发时间"
                    width="95"
                  >
                    <template slot-scope="{row}">
                      <div>{{ row.lm_date.substring(0, 10) }}</div>
                    </template>
                  </el-table-column>
                  <el-table-column
                    prop="saleOrderCode"
                    label="销售订单号"
                    width="158"
                  >
                    <template slot-scope="{row}">
                      <div v-if="row.saleOrderCode">{{ row.saleOrderCode }}</div>
                      <div v-else>/</div>
                    </template>
                  </el-table-column>
                  <el-table-column
                    prop="wo_code"
                    label="加工单号"
                    width="170"
                  />
                  <el-table-column
                    prop="partname"
                    label="产品名称"
                    width="145"
                  />
                  <el-table-column
                    prop="partspec"
                    label="规格"
                    width="130"
                  >
                    <template slot-scope="{row}">
                      <div v-if="row.partspec" class="ellipsis">{{ row.partspec }}</div>
                      <div v-else>/</div>
                    </template>
                  </el-table-column>
                  <el-table-column
                    prop="name"
                    label="单位"
                    width="50"
                  />
                  <el-table-column
                    prop="plan_qty"
                    label="任务数量"
                    width="70"
                  />
                  <el-table-column
                    prop="good_qty"
                    label="完工数量"
                    width="70"
                  />
                  <el-table-column
                    prop="ng_qty"
                    label="不良数量"
                    width="70"
                  />
                  <el-table-column
                    prop="wcl"
                    label="完成率"
                    width="50"
                  >
                    <template slot-scope="{row}">
                      <div>{{ parseFloat((row.good_qty * 100 / row.plan_qty).toFixed(2)) }}%</div>
                    </template>
                  </el-table-column>
                  <el-table-column
                    prop="planenddate"
                    label="预计开始"
                    width="95"
                  >
                    <template slot-scope="{row}">
                      <div>{{ row.planenddate.substring(0, 10) }}</div>
                    </template>
                  </el-table-column>
                  <el-table-column
                    prop="planstartdate"
                    label="预计结束"
                    width="105"
                  >
                    <template slot-scope="{row}">
                      <div>{{ row.planstartdate.substring(0, 10) }}</div>
                    </template>
                  </el-table-column>
                </el-table>
              </div>
            </div>
          </div>
        </div>
        <div class="kb_right kb_pd10">
          <div class="kb_right_top kb_pd10">
            <div class="kb_right_top_content">
              <div class="content_head kb_title_text">当日完工产品数量排行</div>
              <div class="content_body">
                <el-table
                  ref="tableDataRank"
                  :data="tableDataRank"
                  class="tableDataRank"
                  style="width: 100%;"
                  :header-cell-style="headerCellStyle"
                  :cell-style="cellStyle"
                  height="396"
                >
                  <el-table-column
                    type="index"
                    label="序号"
                    width="55"
                  />
                  <el-table-column
                    prop="wkshname"
                    label="车间(供方)"
                    width="120"
                  >
                    <template slot-scope="{row}">
                      <div v-if="row.wkshname" class="ellipsis">{{ row.wkshname }}</div>
                      <div v-else>/</div>
                    </template>
                  </el-table-column>
                  <el-table-column
                    prop="linename"
                    label="产线"
                    width="120"
                  />
                  <el-table-column
                    prop="partname"
                    width="138"
                    label="产品"
                  />
                  <el-table-column
                    prop="good_qty"
                    label="数量"
                    width="100"
                  />
                </el-table>
              </div>
            </div>
          </div>
          <div class="kb_right_bottom kb_pd10">
            <div class="kb_right_bottom_content_title kb_title_text">
              一周不良Top5
            </div>
            <div class="kb_right_bottom_content">
              <div id="bar02" style="width: 100%;height:100%" />
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
</template>
 
<script>
import './kbCommon.css'
import { bar02, loadEcharts } from '@/utils/myEcharts'
import {
  LineSearchBottomLeftData,
  LineSearchBottomRightData,
  LineSearchTopLeftData,
  LineSearchTopRightData, ShopSearch,
  ShopSearchLine
} from '@/api/dzkb'
import MarqueeTips from 'vue-marquee-tips'
 
export default {
  name: 'Index2',
  components: {
    MarqueeTips
  },
  data() {
    return {
      headTime: '',
 
      lineArr: [],
      // lineContent01: {},
      lineContent01: {
        linename: '',
        lineworkcont: '',
        children: undefined
      },
 
      lineContent: [],
      lineContent4: [],
 
      leftTopData: [],
      tableData: [],
      tableDataRank: [],
      lineCodeArr: [],
 
      ShopArr: [], // 车间编码数组
 
      MarqueeTipsContent: '', // 公告
      speed: 100// 公告播放的速度
 
    }
  },
 
  created() {
    setInterval(this.getNowTime, 1000)
  },
  mounted() {
    this.getValue()
  },
  methods: {
    async getValue() {
      await this.getShopSearch()
      await this.getShopSearchLine()
 
      await this.getEcharts()
      await this.getTableDataRoll()
      await this.getTableDataRankRoll()
      await this.getMarqueeTipsContent()
    },
    // 获取公告
    getMarqueeTipsContent() {
      this.MarqueeTipsContent = '各位员工们:根据上级的通知,结合我企实际情况,现将20xx年的元旦放假通知如下:一、1月1日至1月3日放假调休,共3天。1月4日正式上班。二、节假日期间,各班组要严格落实上级的重要指示精神,按照上级的具体要求,认真抓好落实节日期间值班备勤工作,确保节日期间企业各项工作正常运转。xx企业20xx年12月28日'
      const spance = ' '.padStart(this.MarqueeTipsContent.length * 2, ' ')
      this.MarqueeTipsContent = this.MarqueeTipsContent + spance
      this.speed = this.MarqueeTipsContent.length / 10
    },
    // 获取车间编码
    async  getShopSearch() {
      this.ShopArr = ['CJ002'] // 电池车间
      // const res1 = await ShopSearch()
      // if (res1.code === '200') {
      //   this.ShopArr = []
      //   res1.data.forEach(item => {
      //     this.ShopArr.push(item.org_code)
      //   })
      // }
      // setInterval(() => {
      //   ShopSearch().then(res1 => {
      //     if (res1.code === '200') {
      //       this.ShopArr = []
      //       res1.data.forEach(item => {
      //         this.ShopArr.push(item.org_code)
      //       })
      //     }
      //     console.log(this.ShopArr, 997)
      //   })
      // }, 1000 * 30)
    },
    // 产线加工中任务
    getShopSearchLine() {
      let length, count
      LineSearchTopLeftData({ shopcode: this.ShopArr.join(',') }).then(res => {
        this.lineContent = res.data
        length = this.lineContent.length
        count = Math.ceil(length / 4) // 需要轮播的组数   4个为一组
        this.lineContent4 = this.lineContent.slice(0, 4)
        // this.lineContent4[0].children.push({})
      })
 
      let start = 0
      const task = setInterval(() => {
        if (Math.floor(start / 4) === count) {
          // clearInterval(task)
          // this.getShopSearchLine()
          start = 0
          LineSearchTopLeftData({ shopcode: this.ShopArr.join(',') }).then(res => {
            this.lineContent = res.data
            length = this.lineContent.length
            count = Math.ceil(length / 4) // 需要轮播的组数   4个为一组
            this.lineContent4 = this.lineContent.slice(0, 4)
            console.log(count)
          })
        }
        this.lineContent4 = this.lineContent.slice(start, start + 4)
        start = start + 4
        console.log(start)
        console.log('执行了!!!')
      }, 1000 * 3)
    },
 
    // 产线加工任务
    getTableDataRoll() {
      LineSearchBottomLeftData({ shopcode: this.ShopArr.join(',') }).then(res => {
        this.tableData = res.data
 
        const divData = this.$refs.tableData.bodyWrapper
        // 拿到元素后,对元素进行定时增加距离顶部距离,实现滚动效果(此配置为每100毫秒移动1像素)
        const task = setInterval(() => {
          // 元素自增距离顶部1像素
          divData.scrollTop += 1
          // divData.scrollTop += divData.scrollHeight / this.tableData.length
          // 判断元素是否滚动到底部(可视高度+距离顶部=整个高度)
          if (divData.clientHeight + divData.scrollTop === divData.scrollHeight) {
            // 重置table距离顶部距离
            divData.scrollTop = 0
            LineSearchBottomLeftData({ shopcode: this.ShopArr.join(',') }).then(res => {
              this.tableData = res.data
              if (this.tableData.length > 10) {
                clearInterval(task)
                this.getTableDataRoll()
              }
            })
          }
        }, this.tableData.length <= 10 ? 1000 * 3 : 100)
      })
    },
    // 当日完工产品数量排行
    getTableDataRankRoll() {
      LineSearchTopRightData({ shopcode: this.ShopArr.join(',') }).then(res => {
        this.tableDataRank = res.data
 
        const divData = this.$refs.tableDataRank.bodyWrapper
        // 拿到元素后,对元素进行定时增加距离顶部距离,实现滚动效果(此配置为每100毫秒移动1像素)
        const task = setInterval(() => {
          // 元素自增距离顶部1像素
          // divData.scrollTop += divData.scrollHeight / this.tableDataRank.length
          divData.scrollTop += 1
          // 判断元素是否滚动到底部(可视高度+距离顶部=整个高度)
          if (divData.clientHeight + divData.scrollTop === divData.scrollHeight) {
            // 重置table距离顶部距离
            divData.scrollTop = 0
            LineSearchTopRightData({ shopcode: this.ShopArr.join(',') }).then(res => {
              this.tableDataRank = res.data
 
              if (this.tableDataRank.length > 9) {
                clearInterval(task)
                this.getTableDataRankRoll()
              }
            })
          }
        }, this.tableDataRank.length <= 9 ? 1000 * 3 : 100)
      })
    },
    // 获取echarts
    getEcharts() {
      LineSearchBottomRightData({ shopcode: this.ShopArr.join(',') }).then(res => {
        loadEcharts('bar02', bar02(res.data.map(i => i.cont), res.data.map(i => i.name)))
      })
 
      setInterval(() => {
        LineSearchBottomRightData({ shopcode: this.ShopArr.join(',') }).then(res => {
          loadEcharts('bar02', bar02(res.data.map(i => i.cont), res.data.map(i => i.name)))
        })
      }, 1000 * 15)
    },
    // 获取当前时间
    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)',
        padding: '10px 0',
        textAlign: 'center',
        color: '#07acc2',
        border: 'none'
      }
    },
    cellStyle() {
      return {
        padding: '8px 0',
        textAlign: 'center',
        backgroundColor: 'rgba(30, 33, 46  )',
        // backgroundColor: 'transparent',
        color: '#fff',
        border: 'none'
      }
    }
 
  }
}
</script>
 
<style scoped lang="scss">
//$kbBorderColor: #3A0088;
//$kbBorderColor: #09d8f2;
$kbBorderColor: rgba(9, 216, 242, 0.4);
$kbBackgroundColor: rgba(30, 33, 46, 0.6);
.kb_content {
  display: flex;
  position: relative;
  height: 990px;
  width: 100%;
  //background-color: #000;
  letter-spacing: 2px;
  //color: #d8d7d9;
  color: #fff;
 
  .kb_left {
    width: 1345px;
    height: 100%;
    padding-left: 5px;
 
    .kb_left_top_title01 {
      position: absolute;
      top: 40px;
      left: 15px;
      font-size: 18px;
      display: flex;
      color: #00ffff;
 
      .PG01 {
        background: url("../../assets/images/GP_1.png") no-repeat;
        width: 28px;
        height: 12px;
        margin-top: 4px;
        margin-right: 10px;
      }
    }
 
    .kb_left_top {
      height: 495px;
      display: flex;
      flex-direction: column;
      justify-content: flex-start;
      //justify-content: flex-end;
      //padding-top: 30px;
      padding-top: 70px;
      //padding-bottom: 25px;
 
      .kb_left_top_block {
        //margin-top: 10px;
        width: 100%;
        height: 100px;
        display: flex;
        border-radius: 5px;
        font-size: 14px;
        //padding: 10px 0;
        //border: 1px solid rgba(255, 255, 255, 0.6);
        //border: 1px solid $kbBorderColor;
        //border-bottom: 1px solid $kbBorderColor;
        border-top: 1px solid $kbBorderColor;
        border-right: 1px solid $kbBorderColor;
        border-left: 1px solid $kbBorderColor;
        justify-content: flex-start;
 
        .kb_block02 {
          width: 304px;
          display: flex;
          align-items: center;
          border-right: 1px solid $kbBorderColor;
          background-color: $kbBackgroundColor;
        }
 
        .kb_block03 {
          width: 1020px;
          //width: 100%;
          display: flex;
          flex-direction: column;
          font-size: 12px;
          background-color: $kbBackgroundColor;
          border-radius: 5px;
 
          .kb_block03_content {
            border: 1px solid $kbBorderColor;
            //width: 152px;
            width: 180px;
            height: 50px;
            margin-right: 15px;
            //margin-right: 20px;
            display: flex;
            flex-direction: column;
 
            .content01 {
              //width: 50px;
              width: 100%;
              height: 18px;
              border-bottom: 1px solid $kbBorderColor;
              display: flex;
              align-items: center;
              justify-content: center;
            }
 
            .content02Parent {
              display: flex;
              //height:30px;
              .content02 {
                width: 60px;
                border-right: 1px solid $kbBorderColor;
 
                .content02_1 {
                  display: flex;
                  align-items: center;
                  justify-content: center;
                  height: 50%;
                }
 
                .content02_2 {
                  height: 50%;
                  display: flex;
                  align-items: center;
                  justify-content: center;
                }
 
                .borderTop {
                  border-top: 1px solid $kbBorderColor;
                }
              }
            }
 
          }
        }
 
        .kb_block03_02 {
          margin-top: 7px;
          display: flex;
 
          .kb_block03_02_content {
            //width: 152px;
            width: 180px;
            margin-right: 15px;
 
            .content01 {
              .circle {
                width: 26px;
                height: 26px;
                background-color: #00ff8b;
                border-radius: 50%;
              }
 
            }
 
          }
        }
 
      }
 
      .kb_left_top_block:last-child{
        border-bottom: 1px solid $kbBorderColor;
      }
    }
 
    .kb_left_bottom {
      height: 495px;
 
      .kb_left_bottom_content {
        height: 460px;
        display: flex;
        flex-direction: column;
        //border: 1px solid $kbBorderColor;
 
        .content_head {
          ////font-size: 26px;
          //font-size: 18px;
          //height: 55px;
          //line-height: 55px;
          ////border-bottom: 1px solid $kbBorderColor;
          ////text-align: center;
          //padding-left: 10px;
 
          font-size: 18px;
          line-height: 20px;
          //padding-left: 10px;
          margin-bottom: 10px;
          margin-top: -10px;
          color: #00ffff;
 
        }
 
        .content_body {
          border: 1px solid $kbBorderColor;
        }
      }
    }
  }
 
  .kb_right {
    width: 575px;
    height: 100%;
 
    .kb_right_top {
      margin-top: 30px;
      margin-bottom: -30px;
      height: 476px;
      width: 100%;
 
      .kb_right_top_content {
        //border: 1px solid $kbBorderColor;
        height: 430px;
        display: flex;
        flex-direction: column;
 
        .content_head {
          font-size: 18px;
          line-height: 20px;
          //padding-left: 10px;
          margin-bottom: 10px;
          margin-top: -10px;
          color: #00ffff;
        }
 
        .content_body {
          border: 1px solid $kbBorderColor;
          //border-radius: 5px;
        }
      }
    }
 
    .kb_right_bottom {
      height: 482px;
      margin-top: 8px;
 
      .kb_right_bottom_content_title {
        color: #00ffff;
        font-size: 18px;
        margin-bottom: 10px;
        margin-top: -10px;
      }
 
      .kb_right_bottom_content {
        border: 1px solid $kbBorderColor;
        height: 441px;
        width: 100%;
        border-radius: 5px;
        background-color: $kbBackgroundColor;
        //height: 100%;
      }
    }
  }
}
 
::v-deep .el-table::before {
  height: 0;
}
 
::v-deep .el-table__body-wrapper {
  //background-color: #044563;
  background-color: rgba(30, 33, 46);
}
 
::v-deep .el-table__body-wrapper::-webkit-scrollbar {
  /* width: 0;宽度为0暗藏 */
  width: 0;
}
 
::v-deep .cell {
  padding: 0 !important;
}
 
//
///* 定义keyframes动画,命名为blink*/
//@keyframes blink {
//  0% {
//    opacity: 1
//  }
//  100% {
//    opacity: 0
//  }
//}
//
///*添加兼容性前缀*/
//@-webkit-keyframes blink {
//  0% {
//    opacity: 1
//  }
//  100% {
//    opacity: 0
//  }
//}
//
//@-o-keyframes blink {
//  0% {
//    opacity: 1
//  }
//  100% {
//    opacity: 0
//  }
//}
//
//@-moz-keyframes blink {
//  0% {
//    opacity: 1
//  }
//  100% {
//    opacity: 0
//  }
//}
//
//@-ms-keyframes blink {
//  0% {
//    opacity: 1
//  }
//  100% {
//    opacity: 0
//  }
//}
//
.circleYellow {
  width: 26px;
  height: 26px;
  background-color: rgb(255 255 0);
  border-radius: 50%;
 
  //animation: blink 2s linear infinite;
  //-webkit-animation: blink 2s linear infinite;
  //-moz-animation: blink 2s linear infinite;
  //-ms-animation: blink 2s linear infinite;
  //-o-animation: blink 2s linear infinite;
}
</style>