⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 conditionwebform.aspx

📁 supermap开发的基站管理系统
💻 ASPX
字号:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="ConditionWebForm.aspx.cs" Inherits="Gis_ConditionWebForm" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<script language ="javascript" type ="text/javascript" >
    function Submit()
    {
        var selectType="";
        var isFirst=true;
        if(document.getElementById("CheckBox5").checked)
        {
            selectType="'H'";
            isFirst=false;
        }
         if(document.getElementById("CheckBox6").checked)
        {
            if(!isFirst)
                selectType +=",";
            selectType +="'TF'";
            isFirst=false;
        }
         if(document.getElementById("CheckBox1").checked)
        {
             if(!isFirst)
                selectType +=",";
            selectType +="'E'";
            isFirst=false;
        }
         if(document.getElementById("CheckBox2").checked)
        {
             if(!isFirst)
                selectType +=",";
            selectType +="'B'";
            isFirst=false;
        }
         if(document.getElementById("CheckBox3").checked)
        {
             if(!isFirst)
                selectType +=",";
            selectType +="'R'";
            isFirst=false;
        }
         if(document.getElementById("CheckBox4").checked)
        {
             if(!isFirst)
                selectType +=",";
            selectType +="'C'";
            isFirst=false;
        }
         if(document.getElementById("CheckBox7").checked)
        {
             if(!isFirst)
                selectType +=",";
            selectType +="'D'";
            isFirst=false;
        }
         if(document.getElementById("CheckBox8").checked)
        {
             if(!isFirst)
                selectType +=",";
            selectType +="'V'";
            isFirst=false;
        }
        if(isFirst)
        {
            alert("请选择类型!");
        }
        else
        {
             window.returnValue=selectType;
             window.close ();
        }
        
    }
    function selectChange()
    {
      //  alert(document.getElementById("checkboxAll").checked);
        document.getElementById("CheckBox1").checked=document.getElementById("checkboxAll").checked;
        document.getElementById("CheckBox2").checked=document.getElementById("checkboxAll").checked;
        document.getElementById("CheckBox3").checked=document.getElementById("checkboxAll").checked;
        document.getElementById("CheckBox4").checked=document.getElementById("checkboxAll").checked;
        document.getElementById("CheckBox5").checked=document.getElementById("checkboxAll").checked;
        document.getElementById("CheckBox6").checked=document.getElementById("checkboxAll").checked;
        document.getElementById("CheckBox7").checked=document.getElementById("checkboxAll").checked;
        document.getElementById("CheckBox8").checked=document.getElementById("checkboxAll").checked;
    }
    function Cancle()
    {
        window.close();
    }
</script>
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>选择台站类型</title>
</head>
<body>
    <form id="form1" runat="server">
         <table style=" text-align:left; font-size: 11pt;background-image: url(images/new/1_20014.gif);" border ="0" cellpadding ="0" cellspacing ="0">
            
             <tr>
                  <td style="height:60px; text-align:left; width: 23px;"></td>
                <td style="height: 60px; width: 125px;" ><asp:CheckBox ID="CheckBox5" runat ="server" Text ="30MHZ以下(H)" Font-Size="10pt"  /></td>
           
                <td style="height: 60px; width: 154px;"><asp:CheckBox ID="CheckBox6" runat ="server" Text ="地面固定(TF)" Font-Size="10pt" Width="105px" /></td>
            </tr>
            <tr>
                <td style="height:60px; text-align:left; width: 23px;"></td>
                <td style="height: 60px; width: 125px;"><asp:CheckBox ID="CheckBox1" runat ="server" Text ="地球站(E)" Font-Size="10pt" /></td>
           
                <td style="height: 60px; width: 154px;"><asp:CheckBox ID="CheckBox2" runat ="server" Text ="广播电台(B)" Font-Size="10pt" /></td>
            </tr>
            <tr>
                <td style="height:60px; text-align:left; width: 23px;"></td>
                <td style="height: 60px; width: 125px;" ><asp:CheckBox ID="CheckBox3" runat ="server" Text ="雷达站(R)" Font-Size="10pt" /></td>
             
                <td style="height: 60px; width: 154px;"><asp:CheckBox ID="CheckBox4" runat ="server" Text ="蜂窝基站(C)" Font-Size="10pt" /></td>
            </tr>
            <tr>
                <td style="height:60px; text-align:left; width: 23px;"></td>
                <td style="height: 60px; width: 125px;" ><asp:CheckBox ID="CheckBox7" runat ="server" Text ="直放站(D)" Font-Size="10pt" /></td>
          
                <td style="height: 60px; width: 154px;"><asp:CheckBox ID="CheckBox8" runat ="server" Text ="无线电台(V)" Font-Size="10pt" /></td>
            </tr>
            <tr>
                <td></td>
                <td style=" font-size:10pt; height:19px"></td>
                <td></td>
            </tr>
         </table>
         <table style="background-color:rgb(243,243,243); width: 300px;" border="0" cellpadding ="0" cellspacing ="0">
                <tr>
                    <td style=" font-size:10pt; text-align:center; color:Red; height: 20px;"><input type ="checkbox" id="checkboxAll"   onclick="selectChange();"   />选择全部</td>
                   
                </tr>
                
         </table>
         <table style ="background-color:rgb(243,243,243);" border="0" cellpadding ="0" cellspacing ="0">
                <tr>
                    <td style="width: 56px">
                    </td>
                    <td>
                    </td><td>
                    </td>
                    <td style="width: 76px">
                    </td>
                </tr>
                <tr>
                    <td style="width: 56px"></td>
                    <td style="width: 115px"><img  onclick ="Submit()" src ="images/new/queding1_new.gif"/></td>
                    <td><img  onclick ="Cancle()" src ="images/new/qx_new.gif" /></td>
                    <td style="width: 76px"></td>
                </tr>
         </table>
    </form>
</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -