<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="AnalysisApi.aspx.cs" Inherits="MESWebSite.Manage.AnalysisApi" %>


<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <link href="/CSS/Basics.css" rel="stylesheet" />
    <link href="/Scripts/jquery-easyui-1.4.3/themes/metro/easyui.css" rel="stylesheet" type="text/css" />
    <link href="/Scripts/jquery-easyui-1.4.3/themes/icon.css" rel="stylesheet" type="text/css" />
    <link href="/Scripts/jquery-easyui-1.4.3/themes/color.css" rel="stylesheet" type="text/css" />
    <script src="/Scripts/jquery-easyui-1.4.3/jquery.min.js" type="text/javascript"></script>
    <script src="/Scripts/jquery-easyui-1.4.3/jquery.easyui.min.js" type="text/javascript"></script>
    <script src="/Scripts/jquery-easyui-1.4.3/locale/easyui-lang-zh_CN.js" type="text/javascript"></script>
    <script src="/Scripts/MyJs.js" type="text/javascript"></script>
    <style>
        #w td {
            padding: 5px 5px;
            text-align: left;
            vertical-align: middle;
        }

        #w .title {
            vertical-align: middle;
            text-align: right;
            width: 80px;
            height: 40px;
        }

        p {
            padding: 5px;
            font-size: small;
            font-family: 微软雅黑;
        }

        .datagrid {
            text-align: center;
        }
    </style>
    <title>地点信息</title>
</head>
<body>
    <form id="form1" runat="server">
        <div class="top">
            <table cellpadding="0" cellspacing="0" style="width: 100%">
                <tr>

                    <td style="width: 100px;"><span class="title">大屏幕数据选择</span>
                    </td>
                <td style="width: 50px;"><a class="topsearchBtn">显示</a></td>
                    <td style="width: 260px;">产品:
                         <select id="fl_id_s" class="easyui-combobox" style="width: 234px; height: 36px;"
                            data-options="valueField: 'ProductID',textField: 'ProductName'">
                        </select></td>
                  
                    <td style="width: 260px;"></td>
                    <td style="width: 260px;"></td>
                </tr>
            </table>
        </div>
        <script>

            /****************       DOM加载          ***************/
            $(function () {

                reloadfl_id();

                $('.topsearchBtn').first().click(function () {

                    var p_name = $('#fl_id_s').combobox('getText');
                    window.open("../Show/analysis.html?pname=" + p_name.substr(0, p_name.indexOf(' ')));  
                    
                });

            });
            
            function reloadfl_id() {

                $('#fl_id_s').combobox('reload', '/HttpHandlers/ProductHandler.ashx?method=GetComboboxProduct&ProductTypeNo=2000');

            }

        </script>
    </form>
</body>
</html>