饮用水导入bug修复+统计更新
This commit is contained in:
@@ -67,20 +67,22 @@
|
||||
<ele-pro-table
|
||||
v-model:selection="selectionList"
|
||||
ref="table"
|
||||
row-key="roadNoiseId"
|
||||
row-key="drinkingWaterId"
|
||||
:datasource="url"
|
||||
:columns="columns"
|
||||
:where="where"
|
||||
:scroll="{ x: 'max-content' }"
|
||||
@done="(d) => (data = d.data)"
|
||||
>
|
||||
<template #Leq="{ text,record }">
|
||||
<a-tag v-if="(record.timeSlot == '昼' && text <= 68) || (record.timeSlot == '夜' && text <= 58)" color="green">{{text}}</a-tag>
|
||||
<a-tag v-else-if="(record.timeSlot == '昼' && text > 68 && text <=70) || (record.timeSlot == '夜' && text > 58 && text <=60)" color="blue">{{text}}</a-tag>
|
||||
<a-tag v-else-if="(record.timeSlot == '昼' && text > 70 && text <=72) || (record.timeSlot == '夜' && text > 60 && text <=62)" color="red">{{text}}</a-tag>
|
||||
<a-tag v-else-if="(record.timeSlot == '昼' && text > 62 && text <=74) || (record.timeSlot == '夜' && text > 62 && text <=64)" color="red">{{text}}</a-tag>
|
||||
<a-tag v-else-if="(record.timeSlot == '昼' && text > 74 ) || (record.timeSlot == '夜' && text > 64)" color="red">{{text}}</a-tag>
|
||||
<template v-else color="#FFF">{{text}}</template>
|
||||
<template #action="{text,record}">
|
||||
<span>
|
||||
{{
|
||||
record.reportTime.getMonth()==null ||record.reportTime.getMonth().getMonth()==1 || record.reportTime.getMonth().getMonth() == 2 ||record.reportTime.getMonth() == 3 ||record.reportTime.getMonth()==12
|
||||
? text="K":
|
||||
record.reportTime.getMonth()==4 || record.reportTime.getMonth() == 5 ||record.reportTime.getMonth()==10||record.reportTime.getMonth()==11
|
||||
? text="P": text="F"
|
||||
}}
|
||||
</span>
|
||||
</template>
|
||||
</ele-pro-table>
|
||||
</a-card>
|
||||
@@ -91,219 +93,45 @@
|
||||
<script>
|
||||
// import _ from "lodash";
|
||||
import XLSX from "xlsx";
|
||||
import { pageRoadNoiseUrl, getColumnOptions } from "@/api/ecology/noise/road-sound";
|
||||
// import { pageRoadNoiseUrl, getColumnOptions } from "@/api/ecology/noise/road-sound";
|
||||
import {
|
||||
pageDrinkingWaterStatisticUrl,
|
||||
// getColumnOptions
|
||||
|
||||
} from "@/api/ecology/drinking-water";
|
||||
// import pageDictUrl from "@/api/ecology/drinking-water-dict"
|
||||
import locale from "ant-design-vue/es/date-picker/locale/zh_CN";
|
||||
import { tableColumns } from "./colums";
|
||||
// import moment from "moment";
|
||||
// import utils from "./utils";
|
||||
const columns =tableColumns;
|
||||
|
||||
// {
|
||||
// title: "创建人",
|
||||
// dataIndex: "username",
|
||||
// sorter: true,
|
||||
// },
|
||||
|
||||
|
||||
export default {
|
||||
name: "StatisticSoundRoadBase",
|
||||
name: "DrinkingWaterBase",
|
||||
components: {},
|
||||
|
||||
|
||||
data() {
|
||||
return {
|
||||
data: [],
|
||||
locale,
|
||||
bill: {},
|
||||
// 表格数据接口
|
||||
url: pageRoadNoiseUrl,
|
||||
url: pageDrinkingWaterStatisticUrl,
|
||||
selection: [],
|
||||
columns,
|
||||
// 表格列配置
|
||||
columns: [
|
||||
{
|
||||
title: "监测日期",
|
||||
dataIndex: "monitorTime",
|
||||
sorter: true,
|
||||
},
|
||||
{
|
||||
title: "测点名称",
|
||||
dataIndex: "place",
|
||||
sorter: true,
|
||||
},
|
||||
{
|
||||
title: "点号",
|
||||
dataIndex: "placeCode",
|
||||
sorter: true,
|
||||
},
|
||||
{
|
||||
title: "所属路段",
|
||||
dataIndex: "road",
|
||||
sorter: true,
|
||||
},
|
||||
{
|
||||
title: "所属城区",
|
||||
dataIndex: "area",
|
||||
sorter: true,
|
||||
},
|
||||
{
|
||||
title: "路长",
|
||||
dataIndex: "roadLength",
|
||||
sorter: true,
|
||||
},
|
||||
{
|
||||
title: "路宽",
|
||||
dataIndex: "roadWidth",
|
||||
sorter: true,
|
||||
},
|
||||
{
|
||||
title: "中小型车流量(辆/20分钟)",
|
||||
dataIndex: "smallTrafficFlow",
|
||||
sorter: true,
|
||||
},
|
||||
{
|
||||
title: "大型车流量(辆/20分钟)",
|
||||
dataIndex: "largeTrafficFlow",
|
||||
sorter: true,
|
||||
},
|
||||
{
|
||||
title: "时段",
|
||||
dataIndex: "timeSlot",
|
||||
sorter: true,
|
||||
},
|
||||
// {
|
||||
// title: '月',
|
||||
// dataIndex: 'monitorMonth',
|
||||
// sorter: true
|
||||
// },
|
||||
// {
|
||||
// title: '日',
|
||||
// dataIndex: 'monitorDay',
|
||||
// sorter: true
|
||||
// },
|
||||
// {
|
||||
// title: '时',
|
||||
// dataIndex: 'monitorHour',
|
||||
// sorter: true
|
||||
// },
|
||||
// {
|
||||
// title: '分',
|
||||
// dataIndex: 'monitorMinute',
|
||||
// sorter: true
|
||||
// },
|
||||
{
|
||||
title: "LeqdB(A)",
|
||||
dataIndex: "indexLeq",
|
||||
slots: {customRender: "Leq"},
|
||||
sorter: true,
|
||||
|
||||
},
|
||||
{
|
||||
title: "SDdB(A)",
|
||||
dataIndex: "indexSd",
|
||||
sorter: true,
|
||||
},
|
||||
{
|
||||
title: "L10dB(A)",
|
||||
dataIndex: "indexL10",
|
||||
sorter: true,
|
||||
},
|
||||
{
|
||||
title: "L50dB(A)",
|
||||
dataIndex: "indexL50",
|
||||
sorter: true,
|
||||
},
|
||||
{
|
||||
title: "L90dB(A)",
|
||||
dataIndex: "indexL90",
|
||||
sorter: true,
|
||||
},
|
||||
{
|
||||
title: "LmindB(A)",
|
||||
dataIndex: "indexLmin",
|
||||
sorter: true,
|
||||
},
|
||||
{
|
||||
title: "LmaxdB(A)",
|
||||
dataIndex: "indexLmax",
|
||||
sorter: true,
|
||||
},
|
||||
{
|
||||
title: "测点经度",
|
||||
dataIndex: "placeLng",
|
||||
sorter: true,
|
||||
},
|
||||
{
|
||||
title: "测点纬度",
|
||||
dataIndex: "placeLat",
|
||||
sorter: true,
|
||||
},
|
||||
{
|
||||
title: "机动车车道数",
|
||||
dataIndex: "motorway",
|
||||
sorter: true,
|
||||
},
|
||||
{
|
||||
title: "车道类别",
|
||||
dataIndex: "motorwayType",
|
||||
sorter: true,
|
||||
},
|
||||
{
|
||||
title: "道路等级",
|
||||
dataIndex: "motorwayLevel",
|
||||
sorter: true,
|
||||
},
|
||||
{
|
||||
title: "测点参照物",
|
||||
dataIndex: "refObj",
|
||||
sorter: true,
|
||||
},
|
||||
{
|
||||
title: "道路覆盖人口(万人)",
|
||||
dataIndex: "people",
|
||||
sorter: true,
|
||||
},
|
||||
{
|
||||
title: "监测站名",
|
||||
dataIndex: "station",
|
||||
sorter: true,
|
||||
},
|
||||
{
|
||||
title: "监测仪器型号",
|
||||
dataIndex: "monitorInstrumentModel",
|
||||
sorter: true,
|
||||
},
|
||||
{
|
||||
title: "监测仪器编号",
|
||||
dataIndex: "monitorInstrumentCode",
|
||||
sorter: true,
|
||||
},
|
||||
{
|
||||
title: "监测前校准值",
|
||||
dataIndex: "beforeMonitorValue",
|
||||
sorter: true,
|
||||
},
|
||||
{
|
||||
title: "声校准器测量声压值",
|
||||
dataIndex: "soundPressureValue",
|
||||
sorter: true,
|
||||
},
|
||||
{
|
||||
title: "声校准仪器型号",
|
||||
dataIndex: "soundInstrumentModel",
|
||||
sorter: true,
|
||||
},
|
||||
{
|
||||
title: "声校准仪器编号",
|
||||
dataIndex: "soundInstrumentCode",
|
||||
sorter: true,
|
||||
},
|
||||
{
|
||||
title: "区域等级",
|
||||
dataIndex: "regionLevel",
|
||||
sorter: true,
|
||||
},
|
||||
{
|
||||
title: "备注",
|
||||
dataIndex: "remark",
|
||||
sorter: true,
|
||||
},
|
||||
{
|
||||
title: "创建人",
|
||||
dataIndex: "username",
|
||||
sorter: true,
|
||||
},
|
||||
],
|
||||
palceOptions: [],
|
||||
areaOptions: [],
|
||||
roadOptions: [],
|
||||
|
||||
// palceOptions: [],
|
||||
// areaOptions: [],
|
||||
// roadOptions: [],
|
||||
regionLevelOptions: [],
|
||||
// 表格搜索条件
|
||||
where: {
|
||||
@@ -314,44 +142,48 @@ export default {
|
||||
};
|
||||
},
|
||||
mounted() {
|
||||
this.loadOptionData();
|
||||
// this.loadOptionData();
|
||||
},
|
||||
methods: {
|
||||
JumpFieldClick(record, column) {
|
||||
console.log(column.dataIndex)
|
||||
},
|
||||
|
||||
/**获取下来框数据 */
|
||||
loadOptionData() {
|
||||
getColumnOptions("place").then((res) => {
|
||||
this.palceOptions = res.data.data.map((item) => {
|
||||
return {
|
||||
label: item,
|
||||
value: item,
|
||||
};
|
||||
});
|
||||
});
|
||||
getColumnOptions("area").then((res) => {
|
||||
this.areaOptions = res.data.data.map((item) => {
|
||||
return {
|
||||
label: item,
|
||||
value: item,
|
||||
};
|
||||
});
|
||||
});
|
||||
getColumnOptions("road").then((res) => {
|
||||
this.roadOptions = res.data.data.map((item) => {
|
||||
return {
|
||||
label: item,
|
||||
value: item,
|
||||
};
|
||||
});
|
||||
});
|
||||
getColumnOptions("region_level").then((res) => {
|
||||
this.regionLevelOptions = res.data.data.map((item) => {
|
||||
return {
|
||||
label: item,
|
||||
value: item,
|
||||
};
|
||||
});
|
||||
});
|
||||
},
|
||||
// loadOptionData() {
|
||||
// getColumnOptions("place").then((res) => {
|
||||
// this.palceOptions = res.data.data.map((item) => {
|
||||
// return {
|
||||
// label: item,
|
||||
// value: item,
|
||||
// };
|
||||
// });
|
||||
// });
|
||||
// getColumnOptions("area").then((res) => {
|
||||
// this.areaOptions = res.data.data.map((item) => {
|
||||
// return {
|
||||
// label: item,
|
||||
// value: item,
|
||||
// };
|
||||
// });
|
||||
// });
|
||||
// getColumnOptions("road").then((res) => {
|
||||
// this.roadOptions = res.data.data.map((item) => {
|
||||
// return {
|
||||
// label: item,
|
||||
// value: item,
|
||||
// };
|
||||
// });
|
||||
// });
|
||||
// getColumnOptions("region_level").then((res) => {
|
||||
// this.regionLevelOptions = res.data.data.map((item) => {
|
||||
// return {
|
||||
// label: item,
|
||||
// value: item,
|
||||
// };
|
||||
// });
|
||||
// });
|
||||
// },
|
||||
/* 刷新表格 */
|
||||
reload() {
|
||||
|
||||
@@ -368,189 +200,7 @@ export default {
|
||||
},
|
||||
exportFile() {
|
||||
const columns = [
|
||||
{
|
||||
title: "行政区划代码",
|
||||
dataIndex: "regionCode",
|
||||
sorter: true,
|
||||
},
|
||||
{
|
||||
title: "监测年度",
|
||||
dataIndex: "monitorYear",
|
||||
sorter: true,
|
||||
},
|
||||
{
|
||||
title: "点位编码",
|
||||
dataIndex: "placeCode",
|
||||
sorter: true,
|
||||
},
|
||||
{
|
||||
title: "测点名称",
|
||||
dataIndex: "place",
|
||||
sorter: true,
|
||||
},
|
||||
{
|
||||
title: "测点经度",
|
||||
dataIndex: "placeLng",
|
||||
sorter: true,
|
||||
},
|
||||
{
|
||||
title: "测点纬度",
|
||||
dataIndex: "placeLat",
|
||||
sorter: true,
|
||||
},
|
||||
{
|
||||
title: "路段名称",
|
||||
dataIndex: "road",
|
||||
sorter: true,
|
||||
},
|
||||
{
|
||||
title: "路段长度(m)",
|
||||
dataIndex: "roadLength",
|
||||
sorter: true,
|
||||
},
|
||||
{
|
||||
title: "道路总宽度(m)",
|
||||
dataIndex: "roadWidth",
|
||||
sorter: true,
|
||||
},
|
||||
{
|
||||
title: "机动车车道数",
|
||||
dataIndex: "motorway",
|
||||
sorter: true,
|
||||
},
|
||||
{
|
||||
title: "车道类别",
|
||||
dataIndex: "motorwayType",
|
||||
sorter: true,
|
||||
},
|
||||
{
|
||||
title: "道路等级",
|
||||
dataIndex: "motorwayLevel",
|
||||
sorter: true,
|
||||
},
|
||||
{
|
||||
title: "测点参照物",
|
||||
dataIndex: "refObj",
|
||||
sorter: true,
|
||||
},
|
||||
{
|
||||
title: "路段覆盖人口(万人)",
|
||||
dataIndex: "people",
|
||||
sorter: true,
|
||||
},
|
||||
{
|
||||
title: "月",
|
||||
dataIndex: "monitorMonth",
|
||||
sorter: true,
|
||||
},
|
||||
{
|
||||
title: "日",
|
||||
dataIndex: "monitorDay",
|
||||
sorter: true,
|
||||
},
|
||||
{
|
||||
title: "时",
|
||||
dataIndex: "monitorHour",
|
||||
sorter: true,
|
||||
},
|
||||
{
|
||||
title: "分",
|
||||
dataIndex: "monitorMinute",
|
||||
sorter: true,
|
||||
},
|
||||
|
||||
|
||||
{
|
||||
title: "中小型车20min车流量",
|
||||
dataIndex: "smallTrafficFlow",
|
||||
sorter: true,
|
||||
},
|
||||
{
|
||||
title: "大型车20min车流量",
|
||||
dataIndex: "largeTrafficFlow",
|
||||
sorter: true,
|
||||
},
|
||||
{
|
||||
title: "Leq",
|
||||
dataIndex: "indexLeq",
|
||||
sorter: true,
|
||||
},
|
||||
|
||||
{
|
||||
title: "L10",
|
||||
dataIndex: "indexL10",
|
||||
sorter: true,
|
||||
},
|
||||
{
|
||||
title: "L50",
|
||||
dataIndex: "indexL50",
|
||||
sorter: true,
|
||||
},
|
||||
{
|
||||
title: "L90",
|
||||
dataIndex: "indexL90",
|
||||
sorter: true,
|
||||
},
|
||||
{
|
||||
title: "最大值",
|
||||
dataIndex: "indexLmax",
|
||||
sorter: true,
|
||||
},
|
||||
{
|
||||
title: "最小值",
|
||||
dataIndex: "indexLmin",
|
||||
sorter: true,
|
||||
},
|
||||
{
|
||||
title: "标准差(SD)",
|
||||
dataIndex: "indexSd",
|
||||
sorter: true,
|
||||
},
|
||||
{
|
||||
title: "监测站名",
|
||||
dataIndex: "station",
|
||||
sorter: true,
|
||||
},
|
||||
{
|
||||
title: "监测仪器型号",
|
||||
dataIndex: "monitorInstrumentModel",
|
||||
sorter: true,
|
||||
},
|
||||
{
|
||||
title: "监测仪器编号",
|
||||
dataIndex: "monitorInstrumentCode",
|
||||
sorter: true,
|
||||
},
|
||||
{
|
||||
title: "监测前校准值",
|
||||
dataIndex: "beforeMonitorValue",
|
||||
sorter: true,
|
||||
},
|
||||
{
|
||||
title: "声校准器测量声压值",
|
||||
dataIndex: "soundPressureValue",
|
||||
sorter: true,
|
||||
},
|
||||
{
|
||||
title: "声校准仪器型号",
|
||||
dataIndex: "soundInstrumentModel",
|
||||
sorter: true,
|
||||
},
|
||||
{
|
||||
title: "声校准仪器编号",
|
||||
dataIndex: "soundInstrumentCode",
|
||||
sorter: true,
|
||||
},
|
||||
{
|
||||
title: "区域等级",
|
||||
dataIndex: "regionLevel",
|
||||
sorter: true,
|
||||
},
|
||||
{
|
||||
title: "备注",
|
||||
dataIndex: "remark",
|
||||
sorter: true,
|
||||
},
|
||||
...tableColumns,
|
||||
];
|
||||
const arr = [];
|
||||
const th = columns.map((item) => item.title);
|
||||
@@ -567,4 +217,4 @@ export default {
|
||||
</script>
|
||||
|
||||
<style scoped lang="less">
|
||||
</style>
|
||||
</style>
|
||||
|
||||
147
src/views/water/drinking-water/statistic/colums.js
Normal file
147
src/views/water/drinking-water/statistic/colums.js
Normal file
@@ -0,0 +1,147 @@
|
||||
import moment from "moment"
|
||||
const tableColumns = [
|
||||
|
||||
{ title: "断面名称", dataIndex: "place", sorter: true, },
|
||||
{ title: "断面代码", dataIndex: "sectionCode", sorter: true, },
|
||||
{ title: "水源名称", dataIndex: "sourceWaterName", sorter: true, },
|
||||
{ title: "所属水系", dataIndex: "subordinateWater", sorter: true, },
|
||||
{ title: "水源地性质", dataIndex: "waterSourceProperty", sorter: true, },
|
||||
{ title: "取水点经度", dataIndex: "longitude", sorter: true, },
|
||||
{ title: "取水点纬度", dataIndex: "latitude", sorter: true, },
|
||||
{ title: "本月取水量", dataIndex: "waterWithdrawal", sorter: true, },
|
||||
{ title: "采样时间", dataIndex: "reportTime", sorter: true, customRender: ({text}) => moment(text, "YYYY/MM/DD HH:mm:ss").format("YYYY/MM/DD")},
|
||||
{ title: "水期代码", dataIndex: "waterPhaseCode",sorter: true,
|
||||
scopedSlots:{customRender:'action' }
|
||||
},
|
||||
{ title: "水温", dataIndex: "waterTemperature", sorter: true, },
|
||||
// {title: "采样时间",dataIndex: "monitorTime",sorter: true,},
|
||||
{ title: "pH(无量纲)", dataIndex: "ph", sorter: true, },
|
||||
{ title: "溶解氧", dataIndex: "dissolvedOxygen", sorter: true, },
|
||||
{ title: "高锰酸盐指数", dataIndex: "permanganateIndex", sorter: true, },
|
||||
{ title: "化学需氧量", dataIndex: "cod", sorter: true, },
|
||||
{ title: "五日生化需氧量", dataIndex: "fiveDayBod", sorter: true, },
|
||||
{ title: "氨氮", dataIndex: "ammonia", sorter: true, },
|
||||
{ title: "总磷", dataIndex: "totalPhosphorus", sorter: true, },
|
||||
{ title: "总氮", dataIndex: "totalNitrogen", sorter: true, },
|
||||
{ title: "铜", dataIndex: "cu", sorter: true, },
|
||||
{ title: "锌", dataIndex: "zn", sorter: true, },
|
||||
{ title: "氟化物", dataIndex: "fluoride", sorter: true, },
|
||||
{ title: "硒", dataIndex: "se", sorter: true, },
|
||||
{ title: "砷", dataIndex: "as", sorter: true, },
|
||||
{ title: "汞", dataIndex: "hg", sorter: true, },
|
||||
{ title: "镉", dataIndex: "cd", sorter: true, },
|
||||
{ title: "铬(六价)", dataIndex: "cr", sorter: true, },
|
||||
{ title: "铅", dataIndex: "pb", sorter: true, },
|
||||
{ title: "氰化物", dataIndex: "cyanide", sorter: true, },
|
||||
{ title: "挥发酚", dataIndex: "volatilePhenol", sorter: true, },
|
||||
{ title: "石油类", dataIndex: "petro", sorter: true, },
|
||||
{ title: "阴离子表面活性剂", dataIndex: "anionicSurfactant", sorter: true, },
|
||||
{ title: "硫化物", dataIndex: "sulfide", sorter: true, },
|
||||
{ title: "粪大肠菌群(MPN/L)", dataIndex: "fecalColiforms", sorter: true, },
|
||||
{ title: "硫酸盐", dataIndex: "sulfate", sorter: true, },
|
||||
{ title: "氯化物", dataIndex: "chloride", sorter: true, },
|
||||
{ title: "硝酸盐氮", dataIndex: "nitrateNitrogen", sorter: true, },
|
||||
{ title: "铁", dataIndex: "fe", sorter: true, },
|
||||
{ title: "锰", dataIndex: "mn", sorter: true, },
|
||||
{ title: "三氯甲烷", dataIndex: "chcl3", sorter: true, },
|
||||
{ title: "四氯化碳", dataIndex: "ccl4", sorter: true, },
|
||||
{ title: "三溴甲烷", dataIndex: "chbr3", sorter: true, },
|
||||
{ title: "二氯甲烷", dataIndex: "ch2cl2", sorter: true, },
|
||||
{ title: "1,2-二氯乙烷", dataIndex: "c2h4cl2", sorter: true, },
|
||||
{ title: "环氧氯丙烷", dataIndex: "c3h5clO", sorter: true, },
|
||||
{ title: "氯乙烯", dataIndex: "c2h3cl", sorter: true, },
|
||||
{ title: "1,1-二氯乙烯", dataIndex: "c2h2cl211", sorter: true, },
|
||||
{ title: "1,2-二氯乙烯", dataIndex: "c2h2cl212", sorter: true, },
|
||||
{ title: "三氯乙烯", dataIndex: "c2hcl3", sorter: true, },
|
||||
{ title: "四氯乙烯", dataIndex: "c2cl4", sorter: true, },
|
||||
{ title: "氯丁二烯", dataIndex: "c4h5cl", sorter: true, },
|
||||
{ title: "六氯丁二烯", dataIndex: "c4cl6", sorter: true, },
|
||||
{ title: "苯乙烯", dataIndex: "c8h8", sorter: true, },
|
||||
{ title: "甲醛", dataIndex: "ch2o", sorter: true, },
|
||||
{ title: "乙醛", dataIndex: "c2h4o", sorter: true, },
|
||||
{ title: "丙烯醛", dataIndex: "c3h4o", sorter: true, },
|
||||
{ title: "三氯乙醛", dataIndex: "c2hcl3o", sorter: true, },
|
||||
{ title: "苯", dataIndex: "c6h6", sorter: true, },
|
||||
{ title: "甲苯", dataIndex: "c7h8", sorter: true, },
|
||||
{ title: "乙苯", dataIndex: "c8h10Ethylbenzene", sorter: true, },
|
||||
{ title: "二甲苯", dataIndex: "c8h10Dimethylbenzene", sorter: true, },
|
||||
{ title: "异丙苯", dataIndex: "c9h12", sorter: true, },
|
||||
{ title: "氯苯", dataIndex: "c6h5cl", sorter: true, },
|
||||
{ title: "1,2-二氯苯", dataIndex: "c6h4cl212", sorter: true, },
|
||||
{ title: "1,4-二氯苯", dataIndex: "c6h4cl214", sorter: true, },
|
||||
{ title: "三氯苯", dataIndex: "c6h3cl3", sorter: true, },
|
||||
{ title: "四氯苯", dataIndex: "c6h2cl4", sorter: true, },
|
||||
{ title: "六氯苯", dataIndex: "c6cl6", sorter: true, },
|
||||
{ title: "硝基苯", dataIndex: "c6h5no2", sorter: true, },
|
||||
{ title: "二硝基苯", dataIndex: "c6h4n2o4", sorter: true, },
|
||||
{ title: "2,4-二硝基甲苯", dataIndex: "c7h6n2o4", sorter: true, },
|
||||
{ title: "2,4,6-三硝基甲苯", dataIndex: "c7h5o6n3", sorter: true, },
|
||||
{ title: "硝基氯苯", dataIndex: "c6h4clno2", sorter: true, },
|
||||
{ title: "2,4-二硝基氯苯 ", dataIndex: "c6h3cln2o4", sorter: true, },
|
||||
{ title: "2,4-二氯苯酚", dataIndex: "c6h4cl2o", sorter: true, },
|
||||
{ title: "2,4,6-三氯苯酚", dataIndex: "c6h3cl3o", sorter: true, },
|
||||
{ title: "五氯酚", dataIndex: "c6hcl5o", sorter: true, },
|
||||
{ title: "苯胺", dataIndex: "c6h7n", sorter: true, },
|
||||
{ title: "联苯胺", dataIndex: "c6h4nh22", sorter: true, },
|
||||
{ title: "丙烯酰胺", dataIndex: "c3h5no", sorter: true, },
|
||||
{ title: "丙烯腈", dataIndex: "c3h3n", sorter: true, },
|
||||
{ title: "邻苯二甲酸二丁酯", dataIndex: "c16h22o4", sorter: true, },
|
||||
{ title: "邻苯二甲酸二(2-乙基已基)酯", dataIndex: "c16h35o4p", sorter: true, },
|
||||
{ title: "水合肼", dataIndex: "n2h4h2o", sorter: true, },
|
||||
{ title: "四乙基铅", dataIndex: "c8h20pd", sorter: true, },
|
||||
{ title: "吡啶", dataIndex: "c5h5n", sorter: true, },
|
||||
{ title: "松节油", dataIndex: "turpentine", sorter: true, },
|
||||
{ title: "苦味酸", dataIndex: "c6h3n3o7", sorter: true, },
|
||||
{ title: "丁基黄原酸", dataIndex: "butylXanthogenAcid", sorter: true, },
|
||||
{ title: "活性氯", dataIndex: "activeChlorine", sorter: true, },
|
||||
{ title: "滴滴涕", dataIndex: "c14h9cl5", sorter: true, },
|
||||
{ title: "林丹", dataIndex: "c6h6cl6", sorter: true, },
|
||||
{ title: "环氧七氯", dataIndex: "c10h5cl7O", sorter: true, },
|
||||
{ title: "对硫磷", dataIndex: "c10h14no5ps", sorter: true, },
|
||||
{ title: "甲基对硫磷", dataIndex: "c8h10o5nps", sorter: true, },
|
||||
{ title: "马拉硫磷", dataIndex: "c10h19o6ps2", sorter: true, },
|
||||
{ title: "乐果", dataIndex: "c5h12no3ps2", sorter: true, },
|
||||
{ title: "敌敌畏", dataIndex: "c4h7cl2o4p", sorter: true, },
|
||||
{ title: "敌百虫", dataIndex: "c4h8cl3o4p", sorter: true, },
|
||||
{ title: "内吸磷", dataIndex: "c8h19o3ps2", sorter: true, },
|
||||
{ title: "百菌清", dataIndex: "c8cl4n2", sorter: true, },
|
||||
{ title: "甲萘威", dataIndex: "c12h11no2", sorter: true, },
|
||||
{ title: "溴氰菊酯", dataIndex: "c22h19br2no3", sorter: true, },
|
||||
{ title: "阿特拉津", dataIndex: "c8h14cln5", sorter: true, },
|
||||
{ title: "苯并(a)芘 ", dataIndex: "c20h12", sorter: true, },
|
||||
{ title: "甲基汞", dataIndex: "ch3hg", sorter: true, },
|
||||
{ title: "多氯联苯", dataIndex: "c12h10Xclx", sorter: true, },
|
||||
{ title: "微囊藻毒素-LR", dataIndex: "微囊藻毒素-LR", sorter: true, },
|
||||
{ title: "黄磷", dataIndex: "p4", sorter: true, },
|
||||
{ title: "钼", dataIndex: "mo", sorter: true, },
|
||||
{ title: "钴", dataIndex: "co", sorter: true, },
|
||||
{ title: "铍", dataIndex: "be", sorter: true, },
|
||||
{ title: "硼", dataIndex: "b", sorter: true, },
|
||||
{ title: "锑", dataIndex: "sb", sorter: true, },
|
||||
{ title: "镍", dataIndex: "ni", sorter: true, },
|
||||
{ title: "钡", dataIndex: "ba", sorter: true, },
|
||||
{ title: "钒", dataIndex: "v", sorter: true, },
|
||||
{ title: "钛", dataIndex: "ti", sorter: true, },
|
||||
{ title: "铊", dataIndex: "tl", sorter: true, },
|
||||
|
||||
{ title: "六价铬", dataIndex: "cr6", sorter: true, },
|
||||
{ title: "邻二氯苯", dataIndex: "odcb", sorter: true, },
|
||||
{ title: "对二氯苯", dataIndex: "pdcp", sorter: true, },
|
||||
|
||||
{ title: "苯并(a)芘", dataIndex: "bap", sorter: true, },
|
||||
{ title: "苯并(b)荧蒽", dataIndex: "bbfa", sorter: true, },
|
||||
{ title: "磷酸盐", dataIndex: "phosphate", sorter: true, },
|
||||
{ title: "急性毒性", dataIndex: "acuteToxicity", sorter: true, },
|
||||
{ title: "余氯", dataIndex: "residualChlorine", sorter: true, },
|
||||
{ title: "六六六", dataIndex: "c6h6cl6666", sorter: true, },
|
||||
{ title: "2,4,6-三氯酚", dataIndex: "c6h3cl3o246", sorter: true, },
|
||||
//新增
|
||||
{ title: "叶绿素(mg/m3)", dataIndex: "chlorophyll", sorter: true, },
|
||||
{ title: "透明度(cm)", dataIndex: "transparency", sorter: true, },
|
||||
{ title: "总α放射性", dataIndex: "totalAlphaRadioactivity", sorter: true, },
|
||||
{ title: "总β放射性", dataIndex: "totalBetaRadioactivity", sorter: true, },
|
||||
{ title: "1,1,1-三氯乙烷(mg/L)", dataIndex: "c2h3cl3_111", sorter: true, },
|
||||
{ title: "1,1,2-三氯乙烷(mg/L)", dataIndex: "c2h3cl3_112", sorter: true, },
|
||||
];
|
||||
|
||||
export { tableColumns }
|
||||
@@ -2,17 +2,47 @@
|
||||
<div class="ele-body">
|
||||
<a-card :bordered="false">
|
||||
<a-tabs v-model:activeKey="activeKey">
|
||||
<a-tab-pane key="base" tab="数据总览">
|
||||
<base-statistic></base-statistic>
|
||||
<a-tab-pane key="city" tab="市级">
|
||||
<a-tabs v-model:active="activeCity">
|
||||
<a-tab-pane key="city" tab="数据总览">
|
||||
<base-statistic></base-statistic>
|
||||
</a-tab-pane>
|
||||
<a-tab-pane tab="超标评价" key="base1">
|
||||
<function-bill ref="functionWater"></function-bill>
|
||||
</a-tab-pane>
|
||||
<a-tab-pane tab="水质类别" key="base2">
|
||||
<function-bill ref="functionWater"></function-bill>
|
||||
</a-tab-pane>
|
||||
</a-tabs>
|
||||
</a-tab-pane>
|
||||
<a-tab-pane key="average" tab="平均">
|
||||
<average-statistic></average-statistic>
|
||||
<a-tab-pane key="county" tab="县级">
|
||||
<a-tabs v-model:active="activeCounty">
|
||||
<a-tab-pane key="County" tab="数据总览">
|
||||
<base-statistic></base-statistic>
|
||||
</a-tab-pane>
|
||||
<a-tab-pane tab="超标评价" key="base1">
|
||||
<function-bill ref="functionWater"></function-bill>
|
||||
</a-tab-pane>
|
||||
<a-tab-pane tab="水质类别" key="base2">
|
||||
<function-bill ref="functionWater"></function-bill>
|
||||
</a-tab-pane>
|
||||
</a-tabs>
|
||||
</a-tab-pane>
|
||||
<!-- <a-tab-pane key="quarter" tab="季度报告">
|
||||
<quarter-statistic></quarter-statistic>
|
||||
</a-tab-pane> -->
|
||||
<a-tab-pane key="year-compare" tab="同比">
|
||||
<compare></compare>
|
||||
<a-tab-pane key="village" tab="农村">
|
||||
<a-tabs v-model:active="activeVillage">
|
||||
<a-tab-pane key="village" tab="数据总览">
|
||||
<base-statistic></base-statistic>
|
||||
</a-tab-pane>
|
||||
<a-tab-pane tab="超标评价" key="base1">
|
||||
<function-bill ref="functionWater"></function-bill>
|
||||
</a-tab-pane>
|
||||
<a-tab-pane tab="水质类别" key="base2">
|
||||
<function-bill ref="functionWater"></function-bill>
|
||||
</a-tab-pane>
|
||||
</a-tabs>
|
||||
</a-tab-pane>
|
||||
</a-tabs>
|
||||
</a-card>
|
||||
@@ -21,31 +51,34 @@
|
||||
|
||||
<script>
|
||||
/**
|
||||
*
|
||||
*
|
||||
*
|
||||
*
|
||||
*
|
||||
*
|
||||
*/
|
||||
import BaseStatistic from "./base.vue";
|
||||
// import QuarterStatistic from "./quarter.vue";
|
||||
import Compare from "./compare.vue"
|
||||
import AverageStatistic from "./average.vue"
|
||||
// import Compare from "./compare.vue"
|
||||
// import AverageStatistic from "./average.vue"
|
||||
|
||||
export default {
|
||||
name: 'StatisticSoundRoad',
|
||||
name: 'DrinkWaterCollectIndex',
|
||||
components: {
|
||||
BaseStatistic,
|
||||
// QuarterStatistic,
|
||||
Compare,
|
||||
AverageStatistic
|
||||
// Compare,
|
||||
// AverageStatistic
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
activeKey: 'base'
|
||||
activeKey: 'city',
|
||||
activeCity:'city',
|
||||
activeCounty:'county',
|
||||
activeVillage:'village',
|
||||
};
|
||||
|
||||
|
||||
},
|
||||
methods: {
|
||||
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
@@ -53,4 +86,4 @@
|
||||
|
||||
<style scoped>
|
||||
|
||||
</style>
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user