| | |
| | | 'use script'; //开发环境建议开启严格模式 |
| | | use script'; //开发环境建议开启严格模式
|
| | | |
| | | var current_selected_monitor_type = "1002"; |
| | | var current_selected_monitor_name = "微站"; |
| | |
| | | $("#newname_a").html('名称'); |
| | | } |
| | | options.forEach(element => $("#qindex_selection").append("<option value='" + element + "'>" + element + "</option>")); |
| | | $("#qindex_selection").find("option[value=pm25]").text("PM₂.₅");
|
| | | $("#qindex_selection").find("option[value=pm10]").text("PM₁₀");
|
| | | $("#qindex_selection").find("option[value=no]").text("NO");
|
| | | $("#qindex_selection").find("option[value=nox]").text("NOₓ");
|
| | | $("#qindex_selection").find("option[value=no2]").text("NO₂");
|
| | | $("#qindex_selection").find("option[value=co]").text("CO");
|
| | | $("#qindex_selection").find("option[value=so2]").text("SO₂");
|
| | | $("#qindex_selection").find("option[value=o3]").text("O₃");
|
| | | $("#qindex_selection").find("option[value=o31]").text("O₃₁");
|
| | | $("#qindex_selection").find("option[value=o38]").text("O₃₈");
|
| | | $("#qindex_selection").find("option[value=aqi]").text("AQI");
|
| | | $("#qindex_selection").find("option[value=tsp]").text("TSP");
|
| | | } |
| | | |
| | | function reloadData(page) { |
| | |
| | | }, |
| | | success: function (data) { |
| | | tableData = data.data.result; |
| | | // if (current_selected_monitor_keyword == null) {
|
| | | // // haoutil.msg("请输入关键字!!!")
|
| | | // alert('请输入关键字!!!')
|
| | | // return;
|
| | | // }
|
| | | if (tableData == null) { |
| | | // haoutil.msg("请选择查询类别!!!") |
| | | alert('请选择查询类别!!!') |