From 6eee7d778f514228dde4586b397d096ecbeeea62 Mon Sep 17 00:00:00 2001 From: weicw <594098497@qq.com> Date: Sat, 20 Nov 2021 11:36:19 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E8=89=AF=E5=A4=A9=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../air/statistic/city-county-place.vue | 40 +++++++++---------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/src/views/atmosphere/air/statistic/city-county-place.vue b/src/views/atmosphere/air/statistic/city-county-place.vue index 674d3c6..e6c94d3 100644 --- a/src/views/atmosphere/air/statistic/city-county-place.vue +++ b/src/views/atmosphere/air/statistic/city-county-place.vue @@ -104,8 +104,8 @@ export default { }, { title: "一氧化碳", children: [ - {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: "coCurrent",align:"center",customRender:({text})=>text + ""}, + {title: "上年同期", dataIndex: "coSameTimeLastYear",align:"center",customRender:({text})=>text + ""}, {title: "增减(%)", dataIndex: "coChangePercentage",align:"center",customRender:({text})=> typeof text == "number"?text.toFixed(1)+"":text}, {title: "排名(按浓度值)", dataIndex: "coRank",align:"center"}, ] @@ -128,28 +128,28 @@ export default { }, { title: "综合指数", children: [ - {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: "comprehensiveAirQualityIndexCurrent",align:"center",customRender:({text})=>text + ""}, + {title: "上年同期", dataIndex: "comprehensiveAirQualityIndexSameTimeLastYear",align:"center",customRender:({text})=>text + ""}, {title: "增减(%)", dataIndex: "comprehensiveAirQualityIndexChangePercentage",customRender:({text})=> typeof text == "number"?text.toFixed(1)+"":""}, {title: "排名(按浓度值)", dataIndex: "comprehensiveAirQualityIndexRank",align:"center"}, ] }, - // { - // title: "优天数", children: [ - // {title: "本次", dataIndex: "excellentDaysCurrent",align:"center"}, - // {title: "上年同期", dataIndex: "excellentDaysSameTimeLastYear",align:"center"}, - // {title: "增减(%)", dataIndex: "excellentDaysChangePercentage",align:"center",customRender:({text})=> typeof text == "number"?text.toFixed(1)+"":""}, - // // {title: "排名(按浓度值)", dataIndex: "excellentDaysRank",align:"center"}, - // ] - // }, - // { - // title: "良天数", children: [ - // {title: "本次", dataIndex: "goodDaysCurrent",align:"center"}, - // {title: "上年同期", dataIndex: "goodDaysSameTimeLastYear",align:"center"}, - // {title: "增减(%)", dataIndex: "goodDaysChangePercentage",align:"center",customRender:({text})=> typeof text == "number"?text.toFixed(1)+"":""}, - // // {title: "排名(按浓度值)", dataIndex: "goodDaysRank",align:"center"}, - // ] - // }, + { + title: "优天数", children: [ + {title: "本次", dataIndex: "excellentDaysCurrent",align:"center",customRender:({text})=>text + ""}, + {title: "上年同期", dataIndex: "excellentDaysSameTimeLastYear",align:"center",customRender:({text})=>text + ""}, + {title: "增减(%)", dataIndex: "excellentDaysChangePercentage",align:"center",customRender:({text})=> typeof text == "number"?text.toFixed(1)+"":""}, + // {title: "排名(按浓度值)", dataIndex: "excellentDaysRank",align:"center"}, + ] + }, + { + title: "良天数", children: [ + {title: "本次", dataIndex: "goodDaysCurrent",align:"center",customRender:({text})=>text + ""}, + {title: "上年同期", dataIndex: "goodDaysSameTimeLastYear",align:"center",customRender:({text})=>text + ""}, + {title: "增减(%)", dataIndex: "goodDaysChangePercentage",align:"center",customRender:({text})=> typeof text == "number"?text.toFixed(1)+"":""}, + // {title: "排名(按浓度值)", dataIndex: "goodDaysRank",align:"center"}, + ] + }, // { // title: "轻度污染天数", children: [ // {title: "本次", dataIndex: "lightPollutionDaysCurrent",align:"center"},