longyvfengyun
2024-09-03 aa5aebe1eec7c35bc6d4be428af29d5009aea29b
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
<template>
  <div class="page-flex-layout">
    <div class="page-flex-content">
      <div class="page-division h50-percent">
        <el-row :gutter="16" class="full-height">
          <el-col :span="12" class="full-height">
            <flex-box title="三相交流电压(V)">
              <div slot="tools" v-if="isHasSwitchSt">
                <div
                  style="display: inline-block; margin-right: 8px"
                  v-for="item in switchSt"
                  :key="item.key"
                >
                  <el-tooltip :content="item.name" placement="top">
                    <hdw-light
                      :type="item.value"
                      :error="item.name + ':脱扣'"
                      :normal="item.name + ':合闸'"
                      :gray="item.name + ':分闸'"
                    ></hdw-light>
                  </el-tooltip>
                </div>
                <span class="more-history" @click="getMoreHistoryList"
                  >变更记录>></span
                >
              </div>
              <three-terms-bar
                unit="V"
                ref="threeTermsBar1"
                y-text="Y轴单位(V)"
              ></three-terms-bar>
            </flex-box>
          </el-col>
          <el-col :span="12" class="full-height">
            <flex-box title="三相交流电流(A)">
              <three-terms-bar
                ref="threeTermsBar2"
                :color="termsBarColor"
                unit="A"
                y-text="Y轴单位(A)"
                :max="-Infinity"
              ></three-terms-bar>
            </flex-box>
          </el-col>
        </el-row>
      </div>
      <div class="page-division h50-percent">
        <el-row :gutter="16" class="full-height">
          <el-col :span="12" class="full-height">
            <flex-box no-header>
              <bar-chart-y ref="vol" id="vol" unit="V"></bar-chart-y>
            </flex-box>
          </el-col>
          <el-col :span="12" class="full-height">
            <flex-box no-header>
              <bar-chart-y-on-line
                ref="curr"
                id="curr"
                unit="A"
              ></bar-chart-y-on-line>
            </flex-box>
          </el-col>
        </el-row>
      </div>
    </div>
    <div class="page-flex-footer page-right-width">
      <div class="panel-top">
        <div class="panel-inner">
          <table-list title="整流器输出">
            <el-table :data="simulation" stripe height="100%" size="small">
              <el-table-column
                prop="name"
                label="整流器编号"
                align="center"
                min-width="100"
                class-name="table-list-name"
              >
              </el-table-column>
              <el-table-column
                prop="workState"
                label="工作状态"
                align="center"
                class-name="table-list-name"
              >
              </el-table-column>
              <el-table-column
                prop="value1"
                label="输出电压"
                align="center"
                class-name="table-list-value"
              ></el-table-column>
              <el-table-column
                prop="value"
                label="输出电流"
                align="center"
                class-name="table-list-value"
              ></el-table-column>
            </el-table>
          </table-list>
        </div>
      </div>
      <div class="temp-chart-wrapper">
        <!-- <div v-if="reset"> -->
        <table-list title="环境温度(℃)">
          <el-table :data="temps" stripe height="100%" size="small">
            <el-table-column
              prop="name"
              label="类型"
              align="center"
              min-width="100"
              class-name="table-list-name"
            >
            </el-table-column>
            <el-table-column
              prop="value"
              label="1路"
              align="center"
              class-name="table-list-value"
            ></el-table-column>
            <el-table-column
              prop="value1"
              label="2路"
              align="center"
              class-name="table-list-value"
            ></el-table-column>
          </el-table>
        </table-list>
        <!-- </div> -->
      </div>
    </div>
    <!-- 变更记录 -->
    <el-dialog
      title="变更记录"
      width="auto"
      :visible.sync="changeInfoDialog"
      :close-on-click-modal="false"
      top="0"
      class="dialog-center"
      :modal-append-to-body="false"
    >
      <div class="table-container">
        <flex-layout no-bg>
          <div class="flex-page-content">
            <el-table stripe size="small" :data="tblData" height="100%">
              <el-table-column
                prop="recordTime"
                label="变更日期"
                align="center"
              ></el-table-column>
              <el-table-column
                prop="eventTxt"
                label="变更描述"
                align="center"
              ></el-table-column>
            </el-table>
          </div>
          <!-- 底部分页 -->
          <div class="flex-page-footer" slot="footer">
            <el-pagination
              @size-change="handleSizeChange"
              @current-change="handleCurrentChange"
              :current-page="pageCurr"
              :page-sizes="[10, 20, 30, 50, 100]"
              :page-size="pageSize"
              layout="total, sizes, prev, pager, next, jumper"
              :total="total"
            >
            </el-pagination>
          </div>
        </flex-layout>
      </div>
    </el-dialog>
  </div>
</template>
 
<script>
import BarChartY from "@/components/chart/BarChartY";
import BarChartYOnLine from "@/components/chart/BarChartYOnLine";
import TableList from "@/components/TableList";
import FlexBox from "@/components/FlexBox";
import { getValByKey } from "@/assets/js/tools";
import ThreeTermsBar from "@/components/chart/ThreeTermsBar";
import { const_power } from "@/assets/js/const";
import HdwLight from "@/components/HdwLight";
import { getEventById } from "@/views/dataTest/js/history";
 
import const_digit from "@/assets/js/const/const_digit";
const {
  cap: CAP,
  vol: VOL,
  curr: CURR,
  res: RES,
  conduct: CONDUCT,
  temp: TEMP,
  hum: HUM,
} = const_digit;
 
export default {
  name: "AnalogTabPane",
  components: {
    HdwLight,
    ThreeTermsBar,
    BarChartY,
    BarChartYOnLine,
    TableList,
    FlexBox,
  },
  props: {
    name: {
      type: String,
      default: "",
    },
    info: {
      type: Object,
      default() {
        return {};
      },
    },
  },
  data() {
    return {
      dcoutCurr: 0,
      reset: true,
      changeInfoDialog: false,
      termsBarColor: const_power.curr().colors,
      gaugeChart: {
        ACVol: [
          {
            id: "ACVolA",
            key: "acin1Vola",
            name: "三相交流电压",
            number: "A",
            min: 0,
            max: 480,
            unit: "伏特(V)",
            color: [
              [0.2, "#F8BD45"],
              [0.8, "#00FFFF"],
              [1, "#F3535F"],
            ],
          },
          {
            id: "ACVolB",
            key: "acin1Volb",
            name: "三相交流电压",
            number: "B",
            min: 0,
            max: 480,
            unit: "伏特(V)",
            color: [
              [0.2, "#F8BD45"],
              [0.8, "#00FFFF"],
              [1, "#F3535F"],
            ],
          },
          {
            id: "ACVolC",
            key: "acin1Volc",
            name: "三相交流电压",
            number: "C",
            min: 0,
            max: 480,
            unit: "伏特(V)",
            color: [
              [0.2, "#F8BD45"],
              [0.8, "#00FFFF"],
              [1, "#F3535F"],
            ],
          },
        ],
        ACCurr: [
          {
            id: "ACCurrA",
            key: "acin1curra",
            name: "三相交流电流",
            number: "A",
            min: 0,
            max: 100,
            unit: "安培(A)",
            color: [
              [0.2, "#F8BD45"],
              [0.8, "#00FFFF"],
              [1, "#F3535F"],
            ],
          },
          {
            id: "ACCurrB",
            key: "acin1currb",
            name: "三相交流电流",
            number: "B",
            min: 0,
            max: 100,
            unit: "安培(A)",
            color: [
              [0.2, "#F8BD45"],
              [0.8, "#00FFFF"],
              [1, "#F3535F"],
            ],
          },
          {
            id: "ACCurrC",
            key: "acin1currc",
            name: "三相交流电流",
            number: "C",
            min: 0,
            max: 100,
            unit: "安培(A)",
            color: [
              [0.2, "#F8BD45"],
              [0.8, "#00FFFF"],
              [1, "#F3535F"],
            ],
          },
        ],
      },
      volChart: {
        name: "电压值",
        data: [
          {
            key: "dcoutVol",
            label: "直流\n\n输出电压",
            value: 0,
            color: "#f3535f",
          },
          {
            key: "battgroup1Vol",
            label: "电池组1\n\n电压",
            value: 0,
            color: "#f1e287",
          },
          {
            key: "battgroup2Vol",
            label: "电池组2\n\n电压",
            value: 0,
            color: "#00fefe",
          },
        ],
      },
      currChart: {
        data: [
          {
            key: "dcoutCurr",
            name: "直流输出电流",
            value: 0,
          },
          {
            key: "battgroup1Curr",
            name: "电池组1电流",
            value: 0,
          },
          {
            key: "battgroup2Curr",
            name: "电池组2电流",
            value: 0,
          },
        ],
      },
      amTemp: { key: "temprature", name: "环境温度", value: 0 },
      simulation: [
        {
          key: "m1Outcurr",
          name: "整流器1",
          value: 0,
          key1: "m1OutVol",
          value1: 0,
          key2: "isAcdcmod1Junchg",
          workState: "",
        },
        {
          key: "m2Outcurr",
          name: "整流器2",
          value: 0,
          key1: "m2OutVol",
          value1: 0,
          key2: "isAcdcmod2Junchg",
          workState: "",
        },
        {
          key: "m3Outcurr",
          name: "整流器3",
          value: 0,
          key1: "m3OutVol",
          value1: 0,
          key2: "isAcdcmod3Junchg",
          workState: "",
        },
        {
          key: "m4Outcurr",
          name: "整流器4",
          value: 0,
          key1: "m4OutVol",
          value1: 0,
          key2: "isAcdcmod4Junchg",
          workState: "",
        },
        {
          key: "m5Outcurr",
          name: "整流器5",
          value: 0,
          key1: "m5OutVol",
          value1: 0,
          key2: "isAcdcmod5Junchg",
          workState: "",
        },
        {
          key: "m6Outcurr",
          name: "整流器6",
          value: 0,
          key1: "m6OutVol",
          value1: 0,
          key2: "isAcdcmod6Junchg",
          workState: "",
        },
        {
          key: "m7Outcurr",
          name: "整流器7",
          value: 0,
          key1: "m7OutVol",
          value1: 0,
          key2: "isAcdcmod7Junchg",
          workState: "",
        },
        {
          key: "m8Outcurr",
          name: "整流器8",
          value: 0,
          key1: "m8OutVol",
          value1: 0,
          key2: "isAcdcmod8Junchg",
          workState: "",
        },
        {
          key: "m9Outcurr",
          name: "整流器9",
          value: 0,
          key1: "m9OutVol",
          value1: 0,
          key2: "isAcdcmod9Junchg",
          workState: "",
        },
        {
          key: "m10Outcurr",
          name: "整流器10",
          value: 0,
          key1: "m10OutVol",
          value1: 0,
          key2: "isAcdcmod10Junchg",
          workState: "",
        },
        {
          key: "m11Outcurr",
          name: "整流器11",
          value: 0,
          key1: "m11OutVol",
          value1: 0,
          key2: "isAcdcmod11Junchg",
          workState: "",
        },
        {
          key: "m12Outcurr",
          name: "整流器12",
          value: 0,
          key1: "m12OutVol",
          value1: 0,
          key2: "isAcdcmod12Junchg",
          workState: "",
        },
        {
          key: "m13Outcurr",
          name: "整流器13",
          value: 0,
          key1: "m13OutVol",
          value1: 0,
          key2: "isAcdcmod13Junchg",
          workState: "",
        },
        {
          key: "m14Outcurr",
          name: "整流器14",
          value: 0,
          key1: "m14OutVol",
          value1: 0,
          key2: "isAcdcmod14Junchg",
          workState: "",
        },
        {
          key: "m15Outcurr",
          name: "整流器15",
          value: 0,
          key1: "m15OutVol",
          value1: 0,
          key2: "isAcdcmod15Junchg",
          workState: "",
        },
        {
          key: "m16Outcurr",
          name: "整流器16",
          value: 0,
          key1: "m16OutVol",
          value1: 0,
          key2: "isAcdcmod16Junchg",
          workState: "",
        },
      ],
      temps: [
        {
          key: "mTemper1",
          name: "温度(℃)",
          value: 0,
          key1: "mTemper2",
          value1: 0,
          key2: "mTemper3",
          value2: 0,
        },
        {
          key: "mHumidity1",
          name: "湿度(%)",
          value: 0,
          key1: "mHumidity2",
          value1: 0,
          key2: "mHumidity3",
          value2: 0,
        },
      ],
      isHasSwitchSt: 1,
      switchSt: [
        {
          key: "acIn1SwitchSt",
          name: "常合",
          value: -1,
          text: "合闸",
        },
        {
          key: "acIn2SwitchSt",
          name: "备合",
          value: -1,
          text: "合闸",
        },
      ],
      tblHeader: [],
      tblData: [],
      pageCurr: 1,
      pageSize: 10,
      total: 0,
    };
  },
  watch: {
    name() {
      this.setInfo();
    },
    info() {
      this.setInfo();
    },
  },
  methods: {
    // 模拟量图表重置大小
    resize() {
      // 重置表格
      // this.reset = false;
      this.$nextTick(() => {
        // 三相交流电压
        // this.gaugeChart.ACVol.forEach(item => {
        //   this.$refs[item.id][0].resize();
        // });
 
        // 三相交流电流
        // this.gaugeChart.ACCurr.forEach(item => {
        //   this.$refs[item.id][0].resize();
        // });
        // 三相交流电压
        this.$refs.threeTermsBar1.resize();
 
        // 三相交流电流
        this.$refs.threeTermsBar2.resize();
 
        // 电压柱状图
        this.$refs.vol.resize();
 
        // 电流柱状图
        this.$refs.curr.resize();
 
        // 环境温度
        //this.$refs.amTemp.resize();
 
        // 重置表格
        // this.reset = true;
      });
    },
    setOption() {
      if (this.name == "analog") {
        // 电压柱状图
        this.$refs.vol.setOption(this.volChart);
        // 电流柱状图
        this.$refs.curr.setOption(this.currChart);
        // 设置环境温度
        //this.$refs.amTemp.setOption(this.amTemp.name, this.amTemp.value);
      }
    },
    setInfo() {
      if (this.name == "analog") {
        let info = this.info;
        // 整流器输出必须要在直流输出电流之前,直流输入电流=整流器输出电流的和
        this.setSimulation(info);
        //this.setGaugeChartACVol(info);
        //this.setGaugeChartACCurr(info);
        this.setBarChartACVol(info);
        this.setBarChartACCurr(info);
        this.setVolChart(info);
        this.setCurrChart(info);
        this.setAmTemp(info);
        this.setSwitchSt(info);
        this.setOption();
      }
    },
    // 设置三相交流电压柱状图
    setBarChartACVol(data) {
      // 三相电压
      let threeTermVol = const_power.vol();
      // 更新柱状图
      this.$refs.threeTermsBar1.setData({
        data1: threeTermVol.data1.map((item) => {
          let value = getValByKey(item.key, data, 0);
          return [item.name, value.toHold(VOL)];
        }),
        data2: threeTermVol.data2.map((item) => {
          let value = getValByKey(item.key, data, 0);
          return [item.name, value.toHold(VOL)];
        }),
 
        data3: threeTermVol.data3.map((item) => {
          let value = getValByKey(item.key, data, 0);
          return [item.name, value.toHold(VOL)];
        }),
 
        data4: threeTermVol.data4.map((item) => {
          let value = getValByKey(item.key, data, 0);
          return [item.name, value.toHold(VOL)];
        }),
      });
    },
    // 设置三相交流电流柱状图
    setBarChartACCurr(data) {
      // 三相电流
      let threeTermCurr = const_power.curr();
      // 更新柱状图
      this.$refs.threeTermsBar2.setData({
        data1: threeTermCurr.data1.map((item) => {
          let value = getValByKey(item.key, data, 0);
          return [item.name, value.toHold(CURR)];
        }),
        data2: threeTermCurr.data2.map((item) => {
          let value = getValByKey(item.key, data, 0);
          return [item.name, value.toHold(CURR)];
        }),
        data3: threeTermCurr.data3.map((item) => {
          let value = getValByKey(item.key, data, 0);
          return [item.name, value.toHold(CURR)];
        }),
        data4: threeTermCurr.data4.map((item) => {
          let value = getValByKey(item.key, data, 0);
          return [item.name, value.toHold(CURR)];
        }),
      });
    },
    // 设置整流器输出电流的值
    setSimulation(data) {
      let dcoutCurr = 0;
      this.simulation.map((item) => {
        let value = getValByKey(item.key, data, 0, CURR);
        item.value = value;
        dcoutCurr += value;
        let value1 = getValByKey(item.key1, data, 0, VOL);
        item.value1 = value1;
        // 存在整流器电压/电流,才显示整流器状态
        if (value !== 0 || value1 !== 0) {
          let value2 = getValByKey(item.key2, data, 0);
          item.workState = value2 === 0 ? "浮充" : "均充";
        } else {
          item.workState = "";
        }
      });
      this.dcoutCurr = dcoutCurr.toHold(CURR);
    },
    // 设置三相交流电压
    setGaugeChartACVol(data) {
      let acVol = this.gaugeChart.ACVol;
      acVol.map((item) => {
        let value = getValByKey(item.key, data, undefined, VOL);
        this.$refs[item.id][0].setOption(value);
      });
    },
    // 设置三相交流电流
    setGaugeChartACCurr(data) {
      let acCurr = this.gaugeChart.ACCurr;
      acCurr.map((item) => {
        let value = getValByKey(item.key, data, undefined, CURR);
        this.$refs[item.id][0].setOption(value);
      });
    },
    // 设置电压柱状图
    setVolChart(data) {
      let list = this.volChart.data;
      list.map((item) => {
        let value = getValByKey(item.key, data, 0, VOL);
        item.value = value;
      });
    },
    // 设置电流柱状图
    setCurrChart(data) {
      let list = this.currChart.data;
      list.map((item) => {
        let value = getValByKey(item.key, data, 0, CURR);
        item.value = value;
      });
 
      // 直流输出电流=整流器输出电流的和
      list[0].value = this.dcoutCurr;
    },
    setAmTemp(data) {
      this.temps.map((item, idx) => {
        let value = getValByKey(item.key, data, 0, idx ? HUM : TEMP);
        item.value = value;
        let value1 = getValByKey(item.key1, data, 0, idx ? HUM : TEMP);
        item.value1 = value1;
        let value2 = getValByKey(item.key2, data, 0, idx ? HUM : TEMP);
        item.value2 = value2;
      });
    },
    setSwitchSt(data) {
      this.isHasSwitchSt =
        data.acIn1SwitchSt == 0 || data.acIn2SwitchSt == 0 ? 0 : 1;
      this.switchSt.map((item) => {
        let value = getValByKey(item.key, data, -1);
        item.value = this.getSwitchStValue(value);
      });
    },
    getSwitchStValue(value) {
      let formatValue = -1;
      switch (value) {
        case 2:
          formatValue = 0;
          break;
        case 3:
          formatValue = 1;
          break;
        default:
          formatValue = -1;
          break;
      }
      return formatValue;
    },
    getMoreHistoryList() {
      this.changeInfoDialog = true;
      getEventById(this.pageCurr, this.pageSize, this.info.PowerDeviceId)
        .then((res) => {
          let rs = res.data;
          let data = [];
          if (rs.code == 1 && rs.data) {
            data = rs.data2.list.map((item) => {
              let text = item.eventType == 1001 ? "常合" : "备合";
              item.eventTxt = text + item.eventTxt;
              return item;
            });
            this.total = rs.data2.total;
            this.pageCurr = rs.data2.pageNum;
            this.pageSize = rs.data2.pageSize;
          } else {
            this.total = 0;
            this.pageCurr = 1;
            this.pageSize = 10;
          }
          this.tblData = data;
        })
        .catch((error) => {
          console.log(error);
          this.tblData = [];
          this.total = 0;
          this.pageCurr = 1;
          this.pageSize = 10;
        });
    },
    handleSizeChange(val) {
      this.pageSize = val;
      this.getMoreHistoryList();
    },
    handleCurrentChange(val) {
      this.pageCurr = val;
      this.getMoreHistoryList();
    },
  },
  mounted() {
    this.setInfo();
    this.setOption();
    // 初始化echarts大小
    this.resize();
  },
  destroyed() {},
};
</script>
 
<style scoped>
.page-flex-footer {
  /* position: relative; */
  padding: 0 0 0 8px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}
.panel-top {
  flex: 1;
  position: relative;
}
.panel-inner {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
}
.page-flex-layout {
  display: flex;
  height: 100%;
}
 
.page-flex-content {
  flex: 1;
}
 
.page-right-width {
  width: 360px;
}
 
.page-division {
  box-sizing: border-box;
  padding-bottom: 16px;
}
.page-division:last-of-type {
  padding-bottom: 0;
}
 
.temp-chart-wrapper {
  margin-top: 8px;
}
 
.flex-box-list-full {
  display: flex;
  flex-direction: row;
  height: 50%;
  box-sizing: border-box;
}
 
.flex-box-list-full {
  height: 100%;
}
 
.flex-box {
  flex: 1;
  overflow: hidden;
}
>>> div.el-table .table-list-name {
  border: 0 none;
}
.more-history {
  user-select: none;
  margin-left: 6px;
  vertical-align: top;
  line-height: 32px;
  cursor: pointer;
}
.more-history:active {
  color: #0a56f7;
}
.table-container {
  width: 960px;
  height: 520px;
  background-image: url("../../../assets/images/dw_bg.jpg");
  background-repeat: no-repeat;
  background-size: 100% 100%;
}
</style>