onClickRow 事件

onClickRow: function (rowIndex, rowData) {
                        dgonClickRow(rowData.oldCityCode,rowData.CITY)

                    }

 

    //数据表格单击事件
    function dgonClickRow(citycode, cityname) {
        var selDate = $("#startTime").datebox("getValue");
        var selModel = $("#model").combobox("getValue");
        var selRegion = $("#cob_region").combobox("getValue");
        $("#daychart").load('@Url.Action("DayChart", "ModelCityForecast_New")?seldate=' + selDate + '&selModel=' + selModel + '&selRegion=' + selRegion + '&citycode=' + citycode);
        $("#daychart").panel("setTitle", cityname + "日数据趋势图");


        $("#wrfdata").load('@Url.Action("Index", "WRFCityWeatherForecast")?seldate=' + selDate + '&citycode=' + citycode);
        $("#wrfdata").panel("setTitle", cityname + "日气象预报数据");
    }

posted @ 2017-07-18 12:38  芜明-追星  阅读(1556)  评论(0编辑  收藏  举报