明树Git Lab

Commit e1030023 authored by yangyajing's avatar yangyajing

大屏数据更新

parent b64ea626
Pipeline #104513 passed with stage
in 14 seconds
......@@ -84,13 +84,13 @@
<div class="info-progress">
<div class="progress-pie" ref="progressPie"></div>
<div class="progress-bar">
<div class="progress-text">19.72/58.42亿元</div>
<div class="progress-text">109.04/122.52亿元</div>
<div class="progress-image">
<div class="progress-show-value"></div>
<!-- rel100%宽在css上占父元素的85%,进度样式上要做换算 -->
<div
class="progress-show-value-rel"
:style="{ width: `${33.8 * 85 / 100}%` }"
:style="{ width: `${89 * 85 / 100}%` }"
></div>
</div>
</div>
......@@ -304,7 +304,7 @@ const navList = reactive([
const infoObj = reactive({
lixiang: [
{
title: "总个数", value: "0", unit: "个",
title: "总个数", value: "36", unit: "个",
data: [
{
name: "/",
......@@ -327,7 +327,7 @@ const infoObj = reactive({
}
]
},
{ title: "总投资", value: "0", unit: "亿元" },
{ title: "总投资", value: "3107.22", unit: "亿元" },
{ title: "总规模", value: "0", unit: "公里" }
],
jianshe: {
......@@ -536,13 +536,13 @@ const infoObj = reactive({
],
tzwcqk: [
// { title: "10月完成投资", value: "*" },
{ title: "2025年完成投资", value: "*" },
{ title: "累计完成投资", value: "*" }
{ title: "2025年完成投资", value: "109.04", unit: "亿元" },
{ title: "累计完成投资", value: "531.39", unit: "亿元" }
],
tzhswcqk: [
// { title: "10月完成回收", value: "*" },
{ title: "2025年完成回收", value: "*" },
{ title: "完成率", value: "*" }
{ title: "2025年完成回收", value: "28.84", unit: "亿元" },
{ title: "完成率", value: "53.16", unit: "%" }
]
},
shiyunying: {
......@@ -1167,7 +1167,7 @@ const initProgressPie = () => {
const option = {
// 中心百分比文字
title: {
text: ["{a|33.8}", "{b|%}"].join(" "),
text: ["{a|89}", "{b|%}"].join(" "),
left: "center",
top: "center",
textStyle: {
......@@ -1201,12 +1201,12 @@ const initProgressPie = () => {
labelLine: { show: false },
data: [
{
value: 33.8,
value: 89,
name: "绿色扇区",
itemStyle: { color: "#00FF00", fontSize: 12 },
}, // 绿色扇区
{
value: 66.2,
value: 11,
name: "背景扇区",
itemStyle: { color: "transparent" },
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment