Commit 22de08a7 by 史敦盼

Merge branch 'sdp-v1'

2 parents 6ecd1ae2 540d343b
......@@ -4,12 +4,13 @@
* @Autor: pan
* @Date: 2024-05-28 18:59:07
* @LastEditors: pan
* @LastEditTime: 2024-05-29 09:37:21
* @LastEditTime: 2024-06-03 08:28:59
-->
<template>
<div class="w-100 h-100 p-10 architectureBlueprintAnalysis">
<div class="filter-year m-b-10">
<el-date-picker
:editable="false"
v-model="year"
format="yyyy 年"
value-format="yyyy"
......
......@@ -107,9 +107,9 @@ const chartOptions = {
{
type: 'value',
name: '个',
min: 0,
max: 100,
interval: 20,
// min: 0,
// max: Math.max(...this.buildingPrjNumList, ...this.prjNumList),
// interval: 20,
axisLabel: {
formatter: '{value}',
},
......@@ -123,9 +123,9 @@ const chartOptions = {
{
type: 'value',
name: '万元',
min: 0,
max: 700,
interval: 100,
// min: 0,
// max: Math.max(...this.buildingPrjSumList, ...this.prjSumList),
// interval: Math.max(...this.buildingPrjNumList) / 10,
axisLabel: {
formatter: '{value}',
},
......
......@@ -4,12 +4,13 @@
* @Autor: pan
* @Date: 2024-05-27 14:10:12
* @LastEditors: pan
* @LastEditTime: 2024-05-29 09:03:37
* @LastEditTime: 2024-06-03 20:58:45
-->
<template>
<div class="w-100 h-100 p-10 digitalizeBuildAnalysis">
<div class="filter-year m-b-10">
<el-date-picker
:editable="false"
v-model="year"
format="yyyy 年"
value-format="yyyy"
......@@ -233,8 +234,8 @@ export default {
this.prjNumList.push(v.totalNum || 0)
})
res[1].data.forEach((v) => {
this.prjSumList.push(v.amount || 0)
this.buildingPrjSumList.push(v.nowAmount || 0)
this.prjSumList.push(v.amount / 10000 || 0)
this.buildingPrjSumList.push(v.nowAmount / 10000 || 0)
})
})
.catch((err) => {
......@@ -269,7 +270,7 @@ export default {
year: this.year,
orgCodes: this.checkList.join(','),
}
this.$refs.chart5.chart.showLoading({
this.$refs.chart5?.chart.showLoading({
text: '加载中...',
color: SystemConfig.DEFAULT_PRIMARY_COLOR,
textColor: '#000',
......@@ -321,7 +322,7 @@ export default {
border-radius: 5px;
}
.card-item {
padding: 20px 30px;
padding: 20px 10px;
box-sizing: border-box;
position: relative;
width: 25%;
......@@ -333,7 +334,7 @@ export default {
}
.card-value {
color: #ffffff;
font-size: 28px;
font-size: 26px;
display: flex;
align-items: center;
justify-content: flex-end;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!