DESKTOP-GJP2N7J\lx
2023-08-11 49cd08187c9c49df199a954bd0a5a5bca40f8f1a
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
<template>
  <!-- 运营概况 -->
  <div class="panel">
    <div class="panel-header">运维数据</div>
    <div class="flex panel-body" style="flex-wrap: wrap;">
      <div class="info-items">
         <dv-decoration-9> <div class="item-num">66%</div></dv-decoration-9>
         <div class="item-text">工单总数量</div>
      </div>
      <div class="info-items">
         <dv-decoration-9><div class="item-num">66%</div></dv-decoration-9>
         <div class="item-text">已完成数量</div>
      </div>
      <div class="info-items">
         <dv-decoration-9><div class="item-num">66%</div></dv-decoration-9>
         <div class="item-text">待完成数量</div>
      </div>
 
    </div>
  </div>
</template>
<script>
// import { getLargeScreenProjectDevopsInfo } from '@/cpx_sewage/api/largeScreen/largeScreen'
export default {
  name: 'RightTop',
  props: {
    baseInfos: {
      type: Object,
      default: () => {}
    }
  },
  data() {
    return {
      devopsData: []
    }
  },
  watch: {
    baseInfos: {
      handler(newValue) {
        this.baseInfos = newValue
      },
      immediate: true
    }
  },
  mounted() {
    // this.getData()
  },
  methods: {
    getData() {
      getLargeScreenProjectDevopsInfo().then(res => {
        this.devopsData = res.data || []
      })
    }
  }
}
</script>
<style lang="scss" scoped>
  // @import url(../index.scss);
  .panel-body{
    justify-content: space-around;
  }
  .info-items-top {
    width: 3.4rem;
    margin-bottom: .3rem;
    font-size: .14rem;
    text-align: center;
    .item-text {
      margin-top: 0.2rem;
      color: #fff;
    }
  }
 
  .info-items{
    width: 1.36rem;
    margin-bottom: .1rem;
    // display: flex;
    // justify-content: space-between;
    // align-items: center;
    text-align: center;
    font-size: .14rem;
    .item-text {
      margin-top: 0.3rem;
      color: #fff;
    }
    .info-img {
      width: .6rem;
      height: .6rem;
      img{
        width: 100%;
      }
    }
    .item-label {
      width: .64rem;
      font-size: .14rem;
      color: #fff;
    }
    .item-value {
      font-size: .1rem;
      color: #fff;
    }
    .item-num {
      font-family: 'screen-font';
      font-size: .20rem;
    }
  }
  .dv-decoration-9 {
    color: #fff;
    width: 1.36rem;
    height: 0.26rem;
  }
 
</style>