From f58090ad062f8e0ea7e17c01bc9665b5bce77989 Mon Sep 17 00:00:00 2001 From: weicw <594098497@qq.com> Date: Fri, 12 Nov 2021 16:49:27 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B0=8F=E6=95=B0=E5=B1=95=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../air/statistic/city-county-place.vue | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/src/views/atmosphere/air/statistic/city-county-place.vue b/src/views/atmosphere/air/statistic/city-county-place.vue index a299f69..674d3c6 100644 --- a/src/views/atmosphere/air/statistic/city-county-place.vue +++ b/src/views/atmosphere/air/statistic/city-county-place.vue @@ -82,7 +82,7 @@ export default { title: "二氧化硫", children: [ {title: "本次", dataIndex: "so2Current",align:"center",customRender:({text})=>text + ""}, {title: "上年同期", dataIndex: "so2SameTimeLastYear",align:"center",customRender:({text})=>text + ""}, - {title: "增减(%)", dataIndex: "so2ChangePercentage",align:"center",customRender:({text})=> typeof text == "number"?text.toFixed(1)+"":""}, + {title: "增减(%)", dataIndex: "so2ChangePercentage",align:"center",customRender:({text})=> typeof text == "number"?text.toFixed(1)+"":text}, {title: "排名(按浓度值)", dataIndex: "so2Rank",align:"center"}, ] }, @@ -90,7 +90,7 @@ export default { title: "二氧化氮", children: [ {title: "本次", dataIndex: "no2Current",align:"center",customRender:({text})=>text + ""}, {title: "上年同期", dataIndex: "no2SameTimeLastYear",align:"center",customRender:({text})=>text + ""}, - {title: "增减(%)", dataIndex: "no2ChangePercentage",customRender:({text})=> typeof text == "number"?text.toFixed(1)+"":""}, + {title: "增减(%)", dataIndex: "no2ChangePercentage",customRender:({text})=> typeof text == "number"?text.toFixed(1)+"":text}, {title: "排名(按浓度值)", dataIndex: "no2Rank",align:"center"}, ] }, @@ -98,15 +98,15 @@ export default { title: "可吸入颗粒物", children: [ {title: "本次", dataIndex: "pm10Current",align:"center",customRender:({text})=>text + ""}, {title: "上年同期", dataIndex: "pm10SameTimeLastYear",align:"center",customRender:({text})=>text + ""}, - {title: "增减(%)", dataIndex: "pm10ChangePercentage",customRender:({text})=> typeof text == "number"?text.toFixed(1)+"":""}, + {title: "增减(%)", dataIndex: "pm10ChangePercentage",customRender:({text})=> typeof text == "number"?text.toFixed(1)+"":text}, {title: "排名(按浓度值)", dataIndex: "pm10Rank",align:"center"}, ] }, { title: "一氧化碳", children: [ - {title: "本次", dataIndex: "coCurrent",align:"center",customRender:({text})=> typeof text == "number"?text.toFixed(1)+"":""}, - {title: "上年同期", dataIndex: "coSameTimeLastYear",align:"center",customRender:({text})=> typeof text == "number"?text.toFixed(1)+"":""}, - {title: "增减(%)", dataIndex: "coChangePercentage",align:"center",customRender:({text})=> typeof text == "number"?text.toFixed(1)+"":""}, + {title: "本次", dataIndex: "coCurrent",align:"center",customRender:({text})=> typeof text == "number"?text.toFixed(1)+"":text}, + {title: "上年同期", dataIndex: "coSameTimeLastYear",align:"center",customRender:({text})=> typeof text == "number"?text.toFixed(1)+"":text}, + {title: "增减(%)", dataIndex: "coChangePercentage",align:"center",customRender:({text})=> typeof text == "number"?text.toFixed(1)+"":text}, {title: "排名(按浓度值)", dataIndex: "coRank",align:"center"}, ] }, @@ -114,7 +114,7 @@ export default { title: "臭氧", children: [ {title: "本次", dataIndex: "o3Current",align:"center",customRender:({text})=>text + ""}, {title: "上年同期", dataIndex: "o3SameTimeLastYear",align:"center",customRender:({text})=>text + ""}, - {title: "增减(%)", dataIndex: "o3ChangePercentage",align:"center",customRender:({text})=> typeof text == "number"?text.toFixed(1)+"":""}, + {title: "增减(%)", dataIndex: "o3ChangePercentage",align:"center",customRender:({text})=> typeof text == "number"?text.toFixed(1)+"":text}, {title: "排名(按浓度值)", dataIndex: "o3Rank",align:"center"}, ] }, @@ -122,14 +122,14 @@ export default { title: "细颗粒物", children: [ {title: "本次", dataIndex: "pm25Current",align:"center",customRender:({text})=>text + ""}, {title: "上年同期", dataIndex: "pm25SameTimeLastYear",align:"center",customRender:({text})=>text + ""}, - {title: "增减(%)", dataIndex: "pm25ChangePercentage",align:"center",customRender:({text})=> typeof text == "number"?text.toFixed(1)+"":""}, + {title: "增减(%)", dataIndex: "pm25ChangePercentage",align:"center",customRender:({text})=> typeof text == "number"?text.toFixed(1)+"":text}, {title: "排名(按浓度值)", dataIndex: "pm25Rank",align:"center"}, ] }, { title: "综合指数", children: [ - {title: "本次", dataIndex: "comprehensiveAirQualityIndexCurrent",align:"center",customRender:({text})=> typeof text == "number"?text.toFixed(2)+"":""}, - {title: "上年同期", dataIndex: "comprehensiveAirQualityIndexSameTimeLastYear",align:"center",customRender:({text})=> typeof text == "number"?text.toFixed(2)+"":""}, + {title: "本次", dataIndex: "comprehensiveAirQualityIndexCurrent",align:"center",customRender:({text})=> typeof text == "number"?text.toFixed(2)+"":text}, + {title: "上年同期", dataIndex: "comprehensiveAirQualityIndexSameTimeLastYear",align:"center",customRender:({text})=> typeof text == "number"?text.toFixed(2)+"":text}, {title: "增减(%)", dataIndex: "comprehensiveAirQualityIndexChangePercentage",customRender:({text})=> typeof text == "number"?text.toFixed(1)+"":""}, {title: "排名(按浓度值)", dataIndex: "comprehensiveAirQualityIndexRank",align:"center"}, ]