|
@@ -20,32 +20,44 @@
|
|
|
<!-- <span class="item-info">{{ ProjectTotal }},{{ TotalValue }}</span> -->
|
|
|
<span class="item-info">三峡发展承揽项目{{ ProjectTotal }}个,总合同金额{{ TotalValue }}亿元</span>
|
|
|
</div>
|
|
|
- <div class="content">
|
|
|
+ <div class="content topContent">
|
|
|
<div class="chart-container">
|
|
|
<!-- <div class="chart-title">完成占比:{{ complishPercent }}%</div> -->
|
|
|
<div class="chart-title">本年产值完成占比:{{ complishPercent }}%</div>
|
|
|
<ComThreeDimensionsChart v-on="{ fontSize }" :chartData="staList" />
|
|
|
<!-- 底座背景 -->
|
|
|
<div class="bg" :style="{ 'background-image': `url('${url}')` }"></div>
|
|
|
- <div class="invest-title">
|
|
|
- <span>累计结算{{ allCost }}亿元</span><span>本年度累计结算{{ yearCost }}亿元</span>
|
|
|
- </div>
|
|
|
</div>
|
|
|
<div class="dataInfo">
|
|
|
<div
|
|
|
class="data-item"
|
|
|
v-for="(item, index) of staList"
|
|
|
:key="item.name"
|
|
|
- :style="index === 0 ? 'background: rgba(11, 122, 192,0.16)' : 'background: rgba(8, 178, 114,0.16)'"
|
|
|
+ :style="'background: rgba(11, 122, 192,0.16)'"
|
|
|
>
|
|
|
- <div class="data-value" :title="item.value + item.unit">{{ item.value }}{{ item.unit }}</div>
|
|
|
+ <!--:style="index === 0 ? 'background: rgba(11, 122, 192,0.16)' : 'background: rgba(8, 178, 114,0.16)'" -->
|
|
|
+ <div
|
|
|
+ class="data-value"
|
|
|
+ :style="index === 0 ? 'color:#FFD02C' : 'color:#11F0AA'"
|
|
|
+ :title="item.value + item.unit"
|
|
|
+ >
|
|
|
+ {{ item.value }}{{ item.unit }}
|
|
|
+ </div>
|
|
|
<div class="data-wrap">
|
|
|
- <div class="pointSymbol" :style="index === 0 ? 'background:#2BA7FF' : 'background:#13D28A'"></div>
|
|
|
+ <!-- <div class="pointSymbol" :style="index === 0 ? 'background:#2BA7FF' : 'background:#13D28A'"></div> -->
|
|
|
<div class="data-title">{{ item.name }}</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
+ <div class="invest-title">
|
|
|
+ <span
|
|
|
+ >累计结算:<i>{{ allCost }}亿元</i></span
|
|
|
+ >
|
|
|
+ <span
|
|
|
+ >本年度累计结算:<i>{{ yearCost }}亿元</i></span
|
|
|
+ >
|
|
|
+ </div>
|
|
|
</div>
|
|
|
<div class="content-item">
|
|
|
<div class="title">
|
|
@@ -305,10 +317,10 @@ export default {
|
|
|
this.latestData.month = []
|
|
|
const res = await getEpcMonthCountData({ name: this.code })
|
|
|
let { legendData, seriesDatas, xaxis } = res.result
|
|
|
- this.latestData.month = xaxis.map((item) => this.getMonth(item))
|
|
|
+ this.latestData.month = xaxis.map((item) => item).reverse()
|
|
|
seriesDatas.forEach((item) => {
|
|
|
- if (item.name == '收入') this.latestData.income = item.seriesData
|
|
|
- if (item.name == '支出') this.latestData.spending = item.seriesData
|
|
|
+ if (item.name == '收入') this.latestData.income = item.seriesData.reverse()
|
|
|
+ if (item.name == '支出') this.latestData.spending = item.seriesData.reverse()
|
|
|
// if (item.name == '利润') this.latestData.profits = item.seriesData
|
|
|
})
|
|
|
},
|
|
@@ -456,7 +468,7 @@ export default {
|
|
|
font-size: 0.083333rem /* 16/192 */;
|
|
|
font-family: Source Han Sans CN;
|
|
|
font-weight: bold;
|
|
|
- top: 0.104167rem /* 20/192 */;
|
|
|
+ top: 0.125rem /* 24/192 */;
|
|
|
color: #ffffff;
|
|
|
}
|
|
|
.bg {
|
|
@@ -465,38 +477,21 @@ export default {
|
|
|
}
|
|
|
.bg {
|
|
|
position: absolute;
|
|
|
- // top: 0.614583rem /* 118/192 */;
|
|
|
- top: 15%;
|
|
|
- left: 0.041667rem /* 8/192 */;
|
|
|
+ top: -0.020833rem /* 4/192 */;
|
|
|
+ left: 0.09375rem /* 18/192 */;
|
|
|
z-index: -1;
|
|
|
- width: 0.9375rem /* 180/192 */;
|
|
|
+ width: 0.833333rem /* 160/192 */;
|
|
|
height: 0.807292rem /* 155/192 */;
|
|
|
background: no-repeat center;
|
|
|
// background-image: url('~@/views/groupPage/images/底座样式.png');
|
|
|
background-size: 100% 100%;
|
|
|
}
|
|
|
- .invest-title {
|
|
|
- position: absolute;
|
|
|
- bottom: 0;
|
|
|
- font-size: 0.083333rem /* 16/192 */;
|
|
|
- font-family: Source Han Sans CN;
|
|
|
- font-weight: bold;
|
|
|
- color: #ffffff;
|
|
|
- display: flex;
|
|
|
- flex-flow: column;
|
|
|
- justify-content: center;
|
|
|
- align-items: center;
|
|
|
- left: 0.15625rem; /* 30/192 */
|
|
|
- span {
|
|
|
- white-space: nowrap;
|
|
|
- }
|
|
|
- }
|
|
|
}
|
|
|
.dataInfo {
|
|
|
width: 50%;
|
|
|
display: flex;
|
|
|
flex-flow: column;
|
|
|
- justify-content: space-around;
|
|
|
+ justify-content: center;
|
|
|
font-family: Source Han Sans CN;
|
|
|
.data-item {
|
|
|
display: flex;
|
|
@@ -531,8 +526,33 @@ export default {
|
|
|
color: #ffffff;
|
|
|
}
|
|
|
}
|
|
|
+ .data-item:first-child {
|
|
|
+ margin-bottom: 0.052083rem /* 10/192 */;
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
+ .invest-title {
|
|
|
+ background: rgba(13, 120, 195, 0.16);
|
|
|
+ width: 100%;
|
|
|
+ height: calc(100% - 1.067708rem /* 205/192 */);
|
|
|
+ font-size: 0.083333rem /* 16/192 */;
|
|
|
+ font-family: Source Han Sans CN;
|
|
|
+ font-weight: bold;
|
|
|
+ color: #ffffff;
|
|
|
+ display: flex;
|
|
|
+ justify-content: space-around;
|
|
|
+ align-items: center;
|
|
|
+ span {
|
|
|
+ white-space: nowrap;
|
|
|
+ i {
|
|
|
+ font-weight: bold;
|
|
|
+ color: #2ba7ff;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .topContent {
|
|
|
+ height: 0.833333rem /* 160/192 */ !important;
|
|
|
+ }
|
|
|
.epc {
|
|
|
background: rgba(14, 167, 255, 0.08);
|
|
|
margin-top: 0.15625rem /* 30/192 */;
|