From 20cf7c4d9b5fdbe8c0df04fb3df3f3c31541125b Mon Sep 17 00:00:00 2001 From: weicw <594098497@qq.com> Date: Thu, 2 Sep 2021 17:32:51 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BC=95=E7=94=A8=E6=B0=B4=E5=AF=BC=E5=85=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/ecology/drinking-water.js | 94 +++ .../atmosphere/acid-rain/statistic/index.vue | 24 +- src/views/sound/road/collect/index.vue | 9 +- .../water/drinking-water/collect/colums.js | 128 ++++ .../water/drinking-water/collect/index.vue | 351 +++++++++++ .../water/drinking-water/collect/utils.js | 500 +++++++++++++++ .../drinking-water/collect/water-bill.vue | 412 +++++++++++++ .../water/drinking-water/collect/water.vue | 348 +++++++++++ .../drinking-water/statistic/average.vue | 258 ++++++++ .../water/drinking-water/statistic/base.vue | 571 ++++++++++++++++++ .../drinking-water/statistic/compare.vue | 508 ++++++++++++++++ .../water/drinking-water/statistic/index.vue | 56 ++ 12 files changed, 3237 insertions(+), 22 deletions(-) create mode 100644 src/api/ecology/drinking-water.js create mode 100644 src/views/water/drinking-water/collect/colums.js create mode 100644 src/views/water/drinking-water/collect/index.vue create mode 100644 src/views/water/drinking-water/collect/utils.js create mode 100644 src/views/water/drinking-water/collect/water-bill.vue create mode 100644 src/views/water/drinking-water/collect/water.vue create mode 100644 src/views/water/drinking-water/statistic/average.vue create mode 100644 src/views/water/drinking-water/statistic/base.vue create mode 100644 src/views/water/drinking-water/statistic/compare.vue create mode 100644 src/views/water/drinking-water/statistic/index.vue diff --git a/src/api/ecology/drinking-water.js b/src/api/ecology/drinking-water.js new file mode 100644 index 0000000..ec71f2c --- /dev/null +++ b/src/api/ecology/drinking-water.js @@ -0,0 +1,94 @@ +import axios from 'axios'; +// ----------------------列表----------------------- +const pageBillUrl = '/drinkingWater/drinkingWaterBill/page'; +// 添加 +const saveDrinkingWaterBill = function (data) { + return axios.post("/drinkingWater/drinkingWaterBill/batch",data) +} + +// 删除 +const removeDrinkingWaterBill = function (id) { + return axios.delete(`/drinkingWater/drinkingWaterBill/${id}`,) +} +// 批量删除 +const removeBatchDrinkingWaterBill = function (ids) { + return axios.delete("/drinkingWater/drinkingWaterBill/batch",{data:ids}) +} + +// 修改 +const updateDrinkingWaterBill = function (data) { + return axios.put("/drinkingWater/drinkingWaterBill",data) +} +// 审核 +const verifyDrinkingWaterBill = function (data) { + return axios.put("/drinkingWater/drinkingWaterBill/verify",data); +} +const getDrinkingWaterBill = function (id) { + return axios.get(`/drinkingWater/drinkingWaterBill/${id}`) +} +// -------------------------数据--------------------- +const pageDrinkingWaterUrl = '/drinkingWater/drinkingWater/page'; + +const listAll = function(data){ + return axios.get("/drinkingWater/drinkingWater",{params:data}) +} +// 添加 +const saveDrinkingWater = function (data) { + return axios.post("/drinkingWater/drinkingWater",data) +} + +// 删除 +const removeDrinkingWater = function (id) { + return axios.delete(`/drinkingWater/drinkingWater/${id}`,) +} +// 批量删除 +const removeBatchDrinkingWater = function (ids) { + return axios.delete("/drinkingWater/drinkingWater/batch",{data:ids}) +} + +// 修改 +const updateDrinkingWater = function (data) { + return axios.put("/drinkingWater/drinkingWater",data) +} + + + +// -------------------------统计--------------------- +const pageDrinkingWaterStatisticUrl = '/drinkingWater/drinkingWater/statistic'; +const pageDrinkingWaterCompare = '/drinkingWater/drinkingWater/statistic/compare'; +const getHistoryyears = function () { + return axios.get("/drinkingWater/drinkingWater/history-year") +} +const getColumnOptions = function(column){ + return axios.get("/drinkingWater/drinkingWater/options",{params:{column}}) +} + +const getGisBase = function(data){ + return axios.get("/drinkingWater/drinkingWater/gis",{params:data}) +} + +const getGisArea = function(data){ + return axios.get("/drinkingWater/drinkingWater/gis/area",{params:data}) +} +export { + pageBillUrl, + saveDrinkingWaterBill, + removeDrinkingWaterBill, + updateDrinkingWaterBill, + removeBatchDrinkingWaterBill, + verifyDrinkingWaterBill, + getDrinkingWaterBill, + pageDrinkingWaterUrl, + saveDrinkingWater, + removeDrinkingWater, + updateDrinkingWater, + removeBatchDrinkingWater, + pageDrinkingWaterStatisticUrl, + getHistoryyears, + pageDrinkingWaterCompare, + getColumnOptions, + listAll, + getGisBase, + getGisArea + +} diff --git a/src/views/atmosphere/acid-rain/statistic/index.vue b/src/views/atmosphere/acid-rain/statistic/index.vue index 8040afe..4418ad7 100644 --- a/src/views/atmosphere/acid-rain/statistic/index.vue +++ b/src/views/atmosphere/acid-rain/statistic/index.vue @@ -5,18 +5,7 @@ - - - - - - - - - - + @@ -29,20 +18,13 @@ * */ import BaseStatistic from "./base.vue"; - // import QuarterStatistic from "./quarter.vue"; - // import Compare from "./compare.vue"; - import AverageStatistic from "./average.vue"; - import SourceStatistic from "./source.vue"; - import YearStatistic from "./year.vue"; + export default { name: 'StatisticAcidRain', components: { BaseStatistic, - SourceStatistic, - // Compare, - AverageStatistic, - YearStatistic + }, data() { return { diff --git a/src/views/sound/road/collect/index.vue b/src/views/sound/road/collect/index.vue index 4126bd2..40583a8 100644 --- a/src/views/sound/road/collect/index.vue +++ b/src/views/sound/road/collect/index.vue @@ -8,7 +8,14 @@ :showUploadList="false" accept=".xls,.xlsx,.csv" > - 数据导入 + 市级导入 + + + 县级导入 diff --git a/src/views/water/drinking-water/collect/colums.js b/src/views/water/drinking-water/collect/colums.js new file mode 100644 index 0000000..d801d8d --- /dev/null +++ b/src/views/water/drinking-water/collect/colums.js @@ -0,0 +1,128 @@ +const tableColumns = [ + {title: "点位名称",dataIndex: "place",sorter: true,}, + {title: "'水温(℃)",dataIndex: "waterTemperature",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,}, + + + ]; + + export {tableColumns} \ No newline at end of file diff --git a/src/views/water/drinking-water/collect/index.vue b/src/views/water/drinking-water/collect/index.vue new file mode 100644 index 0000000..beb9218 --- /dev/null +++ b/src/views/water/drinking-water/collect/index.vue @@ -0,0 +1,351 @@ + + + + + + + 市级地表水导入 + + + 县级地表水导入 + + + 县级地下水导入 + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/views/water/drinking-water/collect/utils.js b/src/views/water/drinking-water/collect/utils.js new file mode 100644 index 0000000..ab28e4e --- /dev/null +++ b/src/views/water/drinking-water/collect/utils.js @@ -0,0 +1,500 @@ +import moment from "moment"; +export default { + // 市级在用地表水 + toCityUseTopWaterObjData(excelData) { + return excelData.map(item => { + const row = { + regionLevel: "市级", + drinkingWaterType: 1, // 1在用、2备用 + waterSourceType: 1, // 1地表水、2地下水 + place: item[0], + waterTemperature: item[1], + ph: item[2], + dissolvedOxygen: item[3], + permanganateIndex: item[4], + cod: item[5], + fiveDayBod: item[6], + ammonia: item[7], + totalPhosphorus: item[8], + totalNitrogen: item[9], + cu: item[10], + zn: item[11], + fluoride: item[12], + se: item[13], + as: item[14], + hg: item[15], + cd: item[16], + cr: item[17], + pb: item[18], + cyanide: item[19], + volatilePhenol: item[20], + petro: item[21], + anionicSurfactant: item[22], + sulfide: item[23], + fecalColiforms: item[24], + sulfate: item[25], + chloride: item[26], + nitrateNitrogen: item[27], + fe: item[28], + mn: item[29], + chcl3: item[30], + ccl4: item[31], + chbr3: item[32], + ch2cl2: item[33], + c2h4cl2: item[34], + c3h5clO: item[35], + c2h3cl: item[36], + c2h2cl211: item[37], + c2h2cl212: item[38], + c2hcl3: item[39], + c2cl4: item[40], + c4h5cl: item[41], + c4cl6: item[42], + c8h8: item[43], + ch2o: item[44], + c2h4o: item[45], + c3h4o: item[46], + c2hcl3o: item[47], + c6h6: item[48], + c7h8: item[49], + c8h10Ethylbenzene: item[50], + c8h10Dimethylbenzene: item[51], + c9h12: item[52], + c6h5cl: item[53], + c6h4cl212: item[54], + c6h4cl214: item[55], + c6h3cl3: item[56], + c6h2cl4: item[57], + c6cl6: item[58], + c6h5no2: item[59], + c6h4n2o4: item[60], + c7h6n2o4: item[61], + c7h5o6n3: item[62], + c6h4clno2: item[63], + c6h3cln2o4: item[64], + c6h4cl2o: item[65], + c6h3cl3o: item[66], + c6hcl5o: item[67], + c6h7n: item[68], + c6h4nh22: item[69], + c3h5no: item[70], + c3h3n: item[71], + c16h22o4: item[72], + c16h35o4p: item[73], + n2h4h2o: item[74], + c8h20pd: item[75], + c5h5n: item[76], + turpentine: item[77], + c6h3n3o7: item[78], + butylXanthogenAcid: item[79], + activeChlorine: item[80], + c14h9cl5: item[81], + c6h6cl6: item[82], + c10h5cl7O: item[83], + c10h14no5ps: item[84], + c8h10o5nps: item[85], + c10h19o6ps2: item[86], + c5h12no3ps2: item[87], + c4h7cl2o4p: item[88], + c4h8cl3o4p: item[89], + c8h19o3ps2: item[90], + c8cl4n2: item[91], + c12h11no2: item[92], + c22h19br2no3: item[93], + c8h14cln5: item[94], + c20h12: item[95], + ch3hg: item[96], + c12h10Xclx: item[97], + c49h74n10o12: item[98], + p4: item[99], + mo: item[100], + co: item[101], + be: item[102], + b: item[103], + sb: item[104], + ni: item[105], + ba: item[106], + v: item[107], + ti: item[108], + tl: item[109], + phosphate: item[110], + acuteToxicity: item[111], + residualChlorine: item[114], + } + return row; + }) + + }, + // 市级备用地表水 + toCitySpareTopWaterObjData(excelData) { + return excelData.map(item => { + const row = { + regionLevel: "市级", + drinkingWaterType: 2, // 1在用、2备用 + waterSourceType: 1, // 1地表水、2地下水 + place: item[0], + waterTemperature: item[1], + ph: item[2], + dissolvedOxygen: item[3], + permanganateIndex: item[4], + cod: item[5], + fiveDayBod: item[6], + ammonia: item[7], + totalPhosphorus: item[8], + totalNitrogen: item[9], + cu: item[10], + zn: item[11], + fluoride: item[12], + se: item[13], + as: item[14], + hg: item[15], + cd: item[16], + cr: item[17], + pb: item[18], + cyanide: item[19], + volatilePhenol: item[20], + petro: item[21], + anionicSurfactant: item[22], + sulfide: item[23], + fecalColiforms: item[24], + sulfate: item[25], + chloride: item[26], + nitrateNitrogen: item[27], + fe: item[28], + mn: item[29], + chlorophyll: item[30], + transparency: item[31], + chcl3: item[32], + ccl4: item[33], + chbr3: item[34], + ch2cl2: item[35], + c2h4cl2: item[36], + c3h5clO: item[37], + c2h3cl: item[38], + c2h2cl211: item[39], + c2h2cl212: item[40], + c2hcl3: item[41], + c2cl4: item[42], + c4h5cl: item[43], + c4cl6: item[44], + c8h8: item[45], + ch2o: item[46], + c2h4o: item[47], + c3h4o: item[48], + c2hcl3o: item[49], + c6h6: item[50], + c7h8: item[51], + c8h10Ethylbenzene: item[52], + c8h10Dimethylbenzene: item[53], + c9h12: item[54], + c6h5cl: item[55], + c6h4cl212: item[56], + c6h4cl214: item[57], + c6h3cl3: item[58], + c6h2cl4: item[59], + c6cl6: item[60], + c6h5no2: item[61], + c6h4n2o4: item[62], + c7h6n2o4: item[63], + c7h5o6n3: item[64], + c6h4clno2: item[65], + c6h3cln2o4: item[66], + c6h4cl2o: item[67], + c6h3cl3o: item[68], + c6hcl5o: item[69], + c6h7n: item[70], + c6h4nh22: item[71], + c3h5no: item[72], + c3h3n: item[73], + c16h22o4: item[74], + c16h35o4p: item[75], + n2h4h2o: item[76], + c8h20pd: item[77], + c5h5n: item[78], + turpentine: item[79], + c6h3n3o7: item[80], + butylXanthogenAcid: item[81], + activeChlorine: item[82], + c14h9cl5: item[83], + c6h6cl6: item[84], + c10h5cl7O: item[85], + c10h14no5ps: item[86], + c8h10o5nps: item[87], + c10h19o6ps2: item[88], + c5h12no3ps2: item[89], + c4h7cl2o4p: item[90], + c4h8cl3o4p: item[91], + c8h19o3ps2: item[92], + c8cl4n2: item[93], + c12h11no2: item[94], + c22h19br2no3: item[95], + c8h14cln5: item[96], + c20h12: item[97], + ch3hg: item[98], + c12h10Xclx: item[99], + c49h74n10o12: item[100], + p4: item[101], + mo: item[102], + co: item[103], + be: item[104], + b: item[105], + sb: item[106], + ni: item[107], + ba: item[108], + v: item[109], + ti: item[110], + tl: item[111], + phosphate: item[112], + } + return row; + }) + + }, + // 县级在用地表水 + toCountyUseTopWaterObjData(excelData) { + return excelData.map(item => { + const row = { + regionLevel: "县级", + drinkingWaterType: 2, // 1在用、2备用 + waterSourceType: 1, // 1地表水、2地下水 + place: item[0], + waterTemperature: item[1], + ph: item[2], + dissolvedOxygen: item[3], + permanganateIndex: item[4], + cod: item[5], + fiveDayBod: item[6], + ammonia: item[7], + totalPhosphorus: item[8], + totalNitrogen: item[9], + cu: item[10], + zn: item[11], + fluoride: item[12], + se: item[13], + as: item[14], + hg: item[15], + cd: item[16], + cr: item[17], + pb: item[18], + cyanide: item[19], + volatilePhenol: item[20], + petro: item[21], + anionicSurfactant: item[22], + sulfide: item[23], + fecalColiforms: item[24], + sulfate: item[25], + chloride: item[26], + nitrateNitrogen: item[27], + fe: item[28], + mn: item[29], + chcl3: item[30], + ccl4: item[31], + chbr3: item[32], + ch2cl2: item[33], + c2h4cl2: item[34], + c3h5clO: item[35], + c2h3cl: item[36], + c2h2cl211: item[37], + c2h2cl212: item[38], + c2hcl3: item[39], + c2cl4: item[40], + c4h5cl: item[41], + c4cl6: item[42], + c8h8: item[43], + ch2o: item[44], + c2h4o: item[45], + c3h4o: item[46], + c2hcl3o: item[47], + c6h6: item[48], + c7h8: item[49], + c8h10Ethylbenzene: item[50], + c8h10Dimethylbenzene: item[51], + c9h12: item[52], + c6h5cl: item[53], + c6h4cl212: item[54], + c6h4cl214: item[55], + c6h3cl3: item[56], + c6h2cl4: item[57], + c6cl6: item[58], + c6h5no2: item[59], + c6h4n2o4: item[60], + c7h6n2o4: item[61], + c7h5o6n3: item[62], + c6h4clno2: item[63], + c6h3cln2o4: item[64], + c6h4cl2o: item[65], + c6h3cl3o: item[66], + c6hcl5o: item[67], + c6h7n: item[68], + c6h4nh22: item[69], + c3h5no: item[70], + c3h3n: item[71], + c16h22o4: item[72], + c16h35o4p: item[73], + n2h4h2o: item[74], + c8h20pd: item[75], + c5h5n: item[76], + turpentine: item[77], + c6h3n3o7: item[78], + butylXanthogenAcid: item[79], + activeChlorine: item[80], + c14h9cl5: item[81], + c6h6cl6: item[82], + c10h5cl7O: item[83], + c10h14no5ps: item[84], + c8h10o5nps: item[85], + c10h19o6ps2: item[86], + c5h12no3ps2: item[87], + c4h7cl2o4p: item[88], + c4h8cl3o4p: item[89], + c8h19o3ps2: item[90], + c8cl4n2: item[91], + c12h11no2: item[92], + c22h19br2no3: item[93], + c8h14cln5: item[94], + c20h12: item[95], + ch3hg: item[96], + c12h10Xclx: item[97], + c49h74n10o12: item[98], + p4: item[99], + mo: item[100], + co: item[101], + be: item[102], + b: item[103], + sb: item[104], + ni: item[105], + ba: item[106], + v: item[107], + ti: item[108], + tl: item[109], + phosphate: item[110], + transparency: item[111], + chlorophyll: item[112], + } + return row; + }) + + }, + // 县级在用地下水 + toCountyUseBottomWaterObjData(excelData) { + return excelData.map(item => { + const row = { + regionLevel: "县级", + drinkingWaterType: 2, // 1在用、2备用 + county: item[0], + place: item[1], + waterSourceType: (item[2] && item[2].includes("地下")) ? 2 : 1, // 1地表水、2地下水 + monitorTime: moment(item[3], "YYYY年M月D日H:m").valueOf(), + waterTemperature: item[4], + chroma: item[5], + smellAndTaste: item[6], + turbidity: item[7], + visibleNakedEye: item[8], + ph: item[9], + totalHardness: item[10], + totalDissolvedSolids: item[11], + sulfate: item[12], + chloride: item[13], + fe: item[14], + mn: item[15], + cu: item[16], + zn: item[17], + mo: item[18], + co: item[19], + volatilePhenol: item[20], + anionicSurfactant: item[21], + permanganateIndex: item[22], + oxygenConsumption: item[23], + nitrateNitrogen: item[24], + nitriteNitrogen: item[25], + ammonia: item[26], + fluoride: item[27], + lodide: item[28], + cyanide: item[29], + hg: item[30], + as: item[31], + se: item[32], + cd: item[33], + cr6: item[34], + pb: item[35], + be: item[36], + ba: item[37], + ni: item[38], + c14h9cl5: item[39], + c6h6cl6666: item[40], + mpn: item[41], + totalColiform: item[42], + totalNumberBacteria: item[43], + totalNumberColonies: item[44], + totalAlphaRadioactivity: item[45], + totalBetaRadioactivity: item[46], + ai: item[47], + sulfide: item[48], + na: item[49], + chcl3: item[50], + ccl4: item[51], + c6h6: item[52], + c7h8: item[53], + b: item[54], + sb: item[55], + ag: item[56], + tl: item[57], + ch2cl2: item[58], + c2h4cl2: item[59], + c2h3cl3111: item[60], + c2h3cl3112: item[61], + ch3chclch2cl: item[62], + chbr3: item[63], + c2h3cl: item[64], + c2h2cl211: item[65], + c2h2cl212: item[66], + c2hcl3: item[67], + c2cl4: item[68], + c6h5cl: item[69], + odcb: item[70], + pdcp: item[71], + c6h3cl3: item[72], + c8h10Ethylbenzene: item[73], + c8h10Dimethylbenzene: item[74], + c8h8: item[75], + c7h6n2o4: item[76], + c7h6n2o426: item[77], + c10h8: item[78], + c14h10: item[79], + c16h10: item[80], + bbfa: item[81], + bap: item[82], + c12h10Xclx: item[83], + c16h35o4p: item[84], + c6h3cl3o246: item[85], + c6hcl5o: item[86], + c6h6cl6: item[87], + c6cl6: item[88], + c10h5cl7: item[89], + c8h6cl2o3: item[90], + c12h15no3: item[91], + c7h14n2o2s: item[92], + c4h7cl2o4p: item[93], + c8h10o5nps: item[94], + c10h19o6ps2: item[95], + c5h12no3ps2: item[96], + c9h11cl3no3ps: item[97], + c8cl4n2: item[98], + atrazine: item[99], + c3h8no5p: item[100], + // atrazine: item[103], + // atrazine: item[104], + // atrazine: item[105], + // atrazine: item[106], + // atrazine: item[107], + // atrazine: item[108], + // atrazine: item[109], + // atrazine: item[110], + // atrazine: item[111], + // atrazine: item[112], + } + return row; + }) + + }, +} \ No newline at end of file diff --git a/src/views/water/drinking-water/collect/water-bill.vue b/src/views/water/drinking-water/collect/water-bill.vue new file mode 100644 index 0000000..efeb6d6 --- /dev/null +++ b/src/views/water/drinking-water/collect/water-bill.vue @@ -0,0 +1,412 @@ + + + + + + + + + + + 市级 + 县级 + + + + + 已审核 + 未审核 + + + + + + + + + + + + + + 查询 + 重置 + + + + + + + 批量删除 + + + + + + + + + + {{ text || ' ' }} + + + + + + + + + + + + + {{ $util.toDateString(text,'yyyy-MM-dd') || ' ' }} + + + + + + + 已审核 + 未审核 + + + + + + 查看 + + + 审核 + + + 撤回 + + + + 删除 + + + + + + + + + + \ No newline at end of file diff --git a/src/views/water/drinking-water/collect/water.vue b/src/views/water/drinking-water/collect/water.vue new file mode 100644 index 0000000..70d1f20 --- /dev/null +++ b/src/views/water/drinking-water/collect/water.vue @@ -0,0 +1,348 @@ + + + + + + + + + + + 查询 + 重置 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 新增 + + 删除 + + + + + + 修改 + + 删除 + + + + + + + + + + + + \ No newline at end of file diff --git a/src/views/water/drinking-water/statistic/average.vue b/src/views/water/drinking-water/statistic/average.vue new file mode 100644 index 0000000..fb5825a --- /dev/null +++ b/src/views/water/drinking-water/statistic/average.vue @@ -0,0 +1,258 @@ + + + (data = d.data)" + :scroll="{ x: 'max-content' }" + > + + + + + + + + + + + + + + + + + + + + + 查询 + 重置 + 导出excel + + + + + + + + + {{ text }} + {{ text }} + {{ text }} + {{ text }} + {{ text }} + {{ text }} + + + + + + + + \ No newline at end of file diff --git a/src/views/water/drinking-water/statistic/base.vue b/src/views/water/drinking-water/statistic/base.vue new file mode 100644 index 0000000..75e6a60 --- /dev/null +++ b/src/views/water/drinking-water/statistic/base.vue @@ -0,0 +1,571 @@ + + + + + + + + + + {{ item.label }} + + + + + + + {{ item.label }} + + + + + + + {{ item.label }} + + + + + + + {{ item.label }} + + + + + + + 查询 + 重置 + 导出Excel + + + + + + + (data = d.data)" + > + + {{text}} + {{text}} + {{text}} + {{text}} + {{text}} + {{text}} + + + + + + + + + + \ No newline at end of file diff --git a/src/views/water/drinking-water/statistic/compare.vue b/src/views/water/drinking-water/statistic/compare.vue new file mode 100644 index 0000000..733daea --- /dev/null +++ b/src/views/water/drinking-water/statistic/compare.vue @@ -0,0 +1,508 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 查询 + 重置 + 导出Excel + + + + + + (data = d.data)" + > + + + + + + + + + + + + \ No newline at end of file diff --git a/src/views/water/drinking-water/statistic/index.vue b/src/views/water/drinking-water/statistic/index.vue new file mode 100644 index 0000000..c9fb001 --- /dev/null +++ b/src/views/water/drinking-water/statistic/index.vue @@ -0,0 +1,56 @@ + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file