xuruiqian
2025-06-04 17ce21955b4e3402d3d5868b52e50bfdd55bc572
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
<template>
  <div style="width: 100%">
    <div class="progressExt">
      <span style="text-align: left; font-size: 14px">{{ title }}</span>
      <span style="text-align: right; font-size: 14px">{{ count }}&nbsp;{{ uom }}</span>
    </div>
    <el-progress :text-inside="true"
                 :stroke-width="6"
                 :format="format"
                 :percentage="percentage"
                 :status="status"/>
    <div class="progressExt">
      <span style="text-align: left; font-size: 14px">{{ percentage }}&nbsp;%</span>
    </div>
  </div>
</template>
 
<script>
export default {
  name: 'lineprogressExt',
  props: {
    title: '',
    count: 0,
    uom: '',
    percentage: 0,
    status: ''
  },
  methods: {
    format(percentage) {
      return '';
    }
  }
}
</script>
 
<style scoped>
.progressExt {
  background-color: transparent;
  display: flex;
  align-items: center;
  horiz-align: left;
  justify-content: space-between;
  padding: 2px 0px;
  box-sizing: border-box;
  color: #ffffff;
}
</style>