修改进度条
This commit is contained in:
@@ -138,7 +138,7 @@
|
|||||||
<div :style="EchHeight" class="harmonic mt5">
|
<div :style="EchHeight" class="harmonic mt5">
|
||||||
<div class="progress" v-for="item in WTList">
|
<div class="progress" v-for="item in WTList">
|
||||||
<span class="text">{{ item.orgName }}</span>
|
<span class="text">{{ item.orgName }}</span>
|
||||||
<el-progress :percentage="item.count" />
|
<el-progress :percentage="item.count" :format="format" />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -354,6 +354,8 @@ const transientChange = () => {
|
|||||||
WTList.value = data
|
WTList.value = data
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
const format = (percentage: any) => Math.round(percentage * mun.value) / 100 + '条'
|
||||||
|
|
||||||
defineExpose({ info, show })
|
defineExpose({ info, show })
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user