import moment from "moment";
const tableColumns = [
  // {title: "城区", dataIndex: "area", sorter: true,},
  // {title: "县", dataIndex: "county", sorter: true,},
  {title: "河流名称", dataIndex: "riverName", sorter: true,},
  {title: "站点名称", dataIndex: "stationName", sorter: true,},
  {title: "水质目标", dataIndex: "waterTarget", sorter: true,},
  {title: "采样时间", dataIndex: "samplingTime", sorter: true,customRender: ({text})=> moment(text,"YYYY/MM/DD").format("YYYY-MM-DD")},
  {title: "水温", dataIndex: "waterTemperature", sorter: true,},
  {title: "pH值", dataIndex: "ph", sorter: true,},
  {title: "溶解氧", dataIndex: "dissolvedOxygen", sorter: true,},
  {title: "电导率", dataIndex: "conductivity", sorter: true,},
  {title: "浊度", dataIndex: "turbidity", sorter: true,},
  {title: "高锰酸盐指数", dataIndex: "permanganateIndex", sorter: true,},
  {title: "氨氮", dataIndex: "ammonia", sorter: true,},
  {title: "总磷", dataIndex: "totalPhosphorus", sorter: true,},
  {title: "总氮", dataIndex: "totalNitrogen", sorter: true,},
  {title: "叶绿素α(mg/L)", dataIndex: "chlorophyll", sorter: true,},
  {title: "藻密度(cells/L)", dataIndex: "algalDensity", sorter: true,},
  {title: "水质类别", dataIndex: "waterQualityType", sorter: true,},
  {title: "污染指标", dataIndex: "mainPollutionIndicators", sorter: true,},
];

export {tableColumns}
