This commit is contained in:
bb_pan 2025-11-07 16:21:45 +08:00
parent 8c8d127590
commit eb1e28847b
5 changed files with 16 additions and 12 deletions

View File

@ -26,7 +26,7 @@
<span style="font-weight: 700; padding: 0 2px">{{ lineData.fiveYearCount }}</span> <span style="font-weight: 700; padding: 0 2px">{{ lineData.fiveYearCount }}</span>
<span class="unit2">{{ lineData.fiveYearRatio || 0 }}%</span> <span class="unit2">{{ lineData.fiveYearRatio || 0 }}%</span>
</div> </div>
<div class="num2" style="color: #00fefc"> <div class="num2" style="color: #00fefc; margin-left: 8px">
<span class="unit2" style="color: #00fefc">5-10</span> <span class="unit2" style="color: #00fefc">5-10</span>
<span style="font-weight: 700; padding: 0 2px">{{ lineData.fiveToTenYearCount }}</span> <span style="font-weight: 700; padding: 0 2px">{{ lineData.fiveToTenYearCount }}</span>
<span class="unit2" style="color: #00fefc">{{ lineData.fiveToTenYearRatio || 0 }}%</span> <span class="unit2" style="color: #00fefc">{{ lineData.fiveToTenYearRatio || 0 }}%</span>
@ -72,7 +72,7 @@
<span style="font-weight: 700; padding: 0 2px">{{ bdData.fiveYearCount }}</span> <span style="font-weight: 700; padding: 0 2px">{{ bdData.fiveYearCount }}</span>
<span class="unit2">{{ bdData.fiveYearRatio }}%</span> <span class="unit2">{{ bdData.fiveYearRatio }}%</span>
</div> </div>
<div class="num2" style="color: #00fefc"> <div class="num2" style="color: #00fefc; margin-left: 8px">
<span class="unit2" style="color: #00fefc">5-10</span> <span class="unit2" style="color: #00fefc">5-10</span>
<span style="font-weight: 700; padding: 0 2px">{{ bdData.fiveToTenYearCount }}</span> <span style="font-weight: 700; padding: 0 2px">{{ bdData.fiveToTenYearCount }}</span>
<span class="unit2" style="color: #00fefc">{{ bdData.fiveToTenYearRatio || 0 }}%</span> <span class="unit2" style="color: #00fefc">{{ bdData.fiveToTenYearRatio || 0 }}%</span>
@ -126,7 +126,7 @@
<span style="font-weight: 700; padding: 0 2px">{{ dlData.fiveYearCount }}</span> <span style="font-weight: 700; padding: 0 2px">{{ dlData.fiveYearCount }}</span>
<span class="unit2">{{ dlData.fiveYearRatio }}%</span> <span class="unit2">{{ dlData.fiveYearRatio }}%</span>
</div> </div>
<div class="num2" style="color: #00fefc"> <div class="num2" style="color: #00fefc; margin-left: 8px">
<span class="unit2" style="color: #00fefc">5-10</span> <span class="unit2" style="color: #00fefc">5-10</span>
<span style="font-weight: 700; padding: 0 2px">{{ dlData.fiveToTenYearCount }}</span> <span style="font-weight: 700; padding: 0 2px">{{ dlData.fiveToTenYearCount }}</span>
<span class="unit2" style="color: #00fefc">{{ dlData.fiveToTenYearRatio }}%</span> <span class="unit2" style="color: #00fefc">{{ dlData.fiveToTenYearRatio }}%</span>

View File

@ -418,12 +418,16 @@ export default {
params.data.deptName == '安徽送变电工程有限公司' ? '安徽送变电' : params.data.name.replace(/市$/, '') params.data.deptName == '安徽送变电工程有限公司' ? '安徽送变电' : params.data.name.replace(/市$/, '')
console.log('🚀 ~ initChart ~ this.$router:', this.$router) console.log('🚀 ~ initChart ~ this.$router:', this.$router)
this.$router.push({ // this.$router.push({
path: '/screen/cityScreen', // path: '/screen/cityScreen',
query: { // query: {
cityName: city, // cityName: city,
}, // },
}) // })
window.open(
`${window.location.origin}/screen/cityScreen?cityName=${city}`,
'_blank'
)
} }
}) })
myChart.on('mouseover', (params) => { myChart.on('mouseover', (params) => {

View File

@ -50,7 +50,7 @@ export default {
const option = { const option = {
grid: { grid: {
left: '10%', left: '22%',
right: '10%', right: '10%',
top: '20%', top: '20%',
bottom: '15%', bottom: '15%',

View File

@ -74,7 +74,7 @@
<!-- 分页 --> <!-- 分页 -->
<pagination <pagination
v-show="total > 0" v-show="total > 0"
:total="88" :total="total"
:page.sync="queryParams.pageNum" :page.sync="queryParams.pageNum"
:limit.sync="queryParams.pageSize" :limit.sync="queryParams.pageSize"
@pagination="getList" @pagination="getList"

View File

@ -74,7 +74,7 @@
<!-- 分页 --> <!-- 分页 -->
<pagination <pagination
v-show="total > 0" v-show="total > 0"
:total="88" :total="total"
:page.sync="queryParams.pageNum" :page.sync="queryParams.pageNum"
:limit.sync="queryParams.pageSize" :limit.sync="queryParams.pageSize"
@pagination="getList" @pagination="getList"