添加改变部门指标颜色的代码

This commit is contained in:
2023-12-18 16:03:19 +08:00
parent 372824ec50
commit f391880c9c
9 changed files with 629 additions and 187 deletions

View File

@@ -12,7 +12,7 @@
<el-progress
type="circle"
:percentage="ui.percentage"
status="success"
:status="ui.color"
>
<template #default>
<span class="percentage-label">{{ ui.indicator }}</span>
@@ -36,6 +36,10 @@ export default {
type: String,
default: "",
},
color: {
type: String,
default: "success",
},
},
setup( props )
{
@@ -44,6 +48,7 @@ export default {
const ui = reactive({
percentage,
indicator: props.indicator,
color: props.color,
});
return { ui, };