调整专湖表头

This commit is contained in:
庞东林
2021-12-29 17:54:42 +08:00
parent 13ff3d1429
commit 707dcfa12d
4 changed files with 16 additions and 9 deletions

View File

@@ -17,7 +17,7 @@ const innerFilterColumns = [
{title: "石油类", dataIndex: "petro", sorter: true,},
{title: "粪大肠菌群MPN/L", dataIndex: "fecalColiforms", sorter: true,},
{title: "化学需氧量", dataIndex: "cod", sorter: true,},
{title: "叶绿素a (mg/L)", dataIndex: "chlA", sorter: true,},
{title: "叶绿素a (mg/m3)", dataIndex: "chlA", sorter: true,},
{title: "阴离子表面活性剂(mg/L)", dataIndex: "anSaa", sorter: true,},
{title: "硫化物(mg/L) ", dataIndex: "s", sorter: true,},
{title: "氧化还原电位mV", dataIndex: "oxidationReductionPotential", sorter: true,}
@@ -52,7 +52,7 @@ const innerTableColumns = [
{title: "石油类", dataIndex: "petro", sorter: true,},
{title: "粪大肠菌群MPN/L", dataIndex: "fecalColiforms", sorter: true,},
{title: "化学需氧量", dataIndex: "cod", sorter: true,},
{title: "叶绿素a (mg/L)", dataIndex: "chlA", sorter: true,},
{title: "叶绿素a (mg/m3)", dataIndex: "chlA", sorter: true,},
{title: "阴离子表面活性剂(mg/L)", dataIndex: "anSaa", sorter: true,},
{title: "硫化物(mg/L) ", dataIndex: "s", sorter: true,},
{title: "氧化还原电位mV", dataIndex: "oxidationReductionPotential", sorter: true,}
@@ -88,7 +88,7 @@ const averageTableColumns = [
{title: "石油类", dataIndex: "petro", sorter: true,},
{title: "粪大肠菌群MPN/L", dataIndex: "fecalColiforms", sorter: true,},
{title: "化学需氧量", dataIndex: "cod", sorter: true,},
{title: "叶绿素a (mg/L)", dataIndex: "chlA", sorter: true,},
{title: "叶绿素a (mg/m3)", dataIndex: "chlA", sorter: true,},
{title: "阴离子表面活性剂(mg/L)", dataIndex: "anSaa", sorter: true,},
{title: "硫化物(mg/L) ", dataIndex: "s", sorter: true,},
{title: "氧化还原电位mV", dataIndex: "oxidationReductionPotential", sorter: true,}

View File

@@ -17,7 +17,7 @@ const innerFilterColumns = [
{title: "石油类", dataIndex: "petro", sorter: true,},
{title: "粪大肠菌群MPN/L", dataIndex: "fecalColiforms", sorter: true,},
{title: "化学需氧量", dataIndex: "cod", sorter: true,},
{title: "叶绿素a (mg/L)", dataIndex: "chlA", sorter: true,},
{title: "叶绿素a (mg/m3)", dataIndex: "chlA", sorter: true,},
{title: "阴离子表面活性剂(mg/L)", dataIndex: "anSaa", sorter: true,},
{title: "硫化物(mg/L) ", dataIndex: "s", sorter: true,},
{title: "氧化还原电位mV", dataIndex: "oxidationReductionPotential", sorter: true,}
@@ -52,7 +52,7 @@ const innerTableColumns = [
{title: "石油类", dataIndex: "petro", sorter: true,},
{title: "粪大肠菌群MPN/L", dataIndex: "fecalColiforms", sorter: true,},
{title: "化学需氧量", dataIndex: "cod", sorter: true,},
{title: "叶绿素a (mg/L)", dataIndex: "chlA", sorter: true,},
{title: "叶绿素a (mg/m3)", dataIndex: "chlA", sorter: true,},
{title: "阴离子表面活性剂(mg/L)", dataIndex: "anSaa", sorter: true,},
{title: "硫化物(mg/L) ", dataIndex: "s", sorter: true,},
{title: "氧化还原电位mV", dataIndex: "oxidationReductionPotential", sorter: true,}
@@ -88,7 +88,7 @@ const averageTableColumns = [
{title: "石油类 (mg/L)", dataIndex: "oils", sorter: true,},
{title: "粪大肠菌群 (mg/L)", dataIndex: "coloOrg", sorter: true,},
{title: "化学需氧量 (mg/L)", dataIndex: "codcr", sorter: true,},
{title: "叶绿素a (mg/L)", dataIndex: "chlA", sorter: true,},
{title: "叶绿素a (mg/m3)", dataIndex: "chlA", sorter: true,},
{title: "阴离子表面活性剂(mg/L)", dataIndex: "anSaa", sorter: true,},
{title: "硫化物(mg/L) ", dataIndex: "s", sorter: true,},
// {title: "氧化还原电位mV", dataIndex: "oxidationReductionPotential", sorter: true,}

View File

@@ -120,8 +120,8 @@
<script>
import locale from "ant-design-vue/es/date-picker/locale/zh_CN";
import { innerFilterColumns } from "./raw-colums";
import {getLakeDropdown} from "@/api/ecology/new-lake";
import { specialFilterColumns as innerFilterColumns } from "./raw-colums";
import {getSpecialLakeDropdown as getLakeDropdown} from "@/api/ecology/new-lake";
export default {
name: "inner-search",
props: {
@@ -221,7 +221,7 @@ export default {
let palceOptions = {}
let newPlace = []
res.data.data.forEach(item=>{
palceOptions[item.regionName] = item.regionName
palceOptions[item.lakeReservoirName] = item.lakeReservoirName
})
for(let i in palceOptions){
newPlace.push({