OperatorManager.aspx
上传用户:simon2hong
上传日期:2021-11-18
资源大小:16746k
文件大小:4k
源码类别:

OA系统

开发平台:

C#

  1. <%@ Page Language="C#" AutoEventWireup="true" CodeFile="OperatorManager.aspx.cs" Inherits="Vehicles_OperatorManager" %>
  2. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
  3. <html>
  4. <head>
  5.     <link href="../css/main.css" type="text/css" rel="stylesheet">
  6.        <script type="text/javascript">
  7.           function GetMyValue(contrlname,myvalue)
  8.           {
  9.            if(typeof(myvalue)=="undefined")
  10.            {}
  11.            else
  12.            {
  13.            document.getElementById(contrlname).value = myvalue;
  14.            }
  15.           }
  16.           function clr(contrlname)
  17.           {
  18.            document.getElementById(contrlname).value='';
  19.           }
  20.   </script>
  21. </head>
  22.   <SCRIPT language="JavaScript" src="../js/calendar.js"></SCRIPT>
  23. <body bottommargin="0" leftmargin="0" topmargin="0" rightmargin="0">
  24. <form runat="server" id="fm1">
  25.     <br>
  26.     <table class="usertableborder" cellspacing="1" cellpadding="3" width="96%" align="center"
  27.         border="0">
  28.         <tr>
  29.             <th colspan="3" style="height: 25px">
  30.                 车辆调度人员设置</th>
  31.         </tr>
  32.                <tr>
  33.             <td class="usertablerow2" align="center" style="height: 32px; " colspan="2">
  34.                 <table align="center" bgcolor="#000000" border="0" cellpadding="3" cellspacing="1" class="small" width="400">
  35.                     <tr>
  36.                         <td class="usertablerow2" style="width: 108px">
  37.                             车辆调度人员:</td>
  38.                         <td class="usertablerow2">
  39.                             <asp:TextBox ID="KeyValue_DDY" runat="server" MaxLength="150" Width="120px"></asp:TextBox>&nbsp;
  40.                             <input type="Button" id="Leader2Button1"  Class="ptsbutton" onclick="GetMyValue('KeyValue_DDY',window.showModalDialog('../SelectForm/SelectUserForm.aspx'))" value="添加"  />
  41.                             <input type="Button"  Class="ptsbutton" value="清空" onclick="clr('KeyValue_DDY')" />
  42.                             </td>
  43.                     </tr>
  44.                 </table>
  45.                 <br>
  46.                 <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" CssClass="usertableborder"
  47.                     OnRowDataBound="GridView1_RowDataBound" PageSize="20" Width="40%">
  48.                     <Columns>
  49.                         <asp:TemplateField>
  50.                             <ItemTemplate>
  51.                                 <asp:CheckBox ID="CheckBoxItem" runat="server" />
  52.                             </ItemTemplate>
  53.                         </asp:TemplateField>
  54.                         <asp:BoundField DataField="ID" HeaderText="ID" />
  55.                         <asp:BoundField DataField="DDY" HeaderText="车辆调度人员" >
  56.                             <ItemStyle HorizontalAlign="Center" />
  57.                         </asp:BoundField>
  58.                     </Columns>
  59.                     <RowStyle CssClass="usertablerow2" />
  60.                     <AlternatingRowStyle CssClass="usertablerow1" />
  61.                 </asp:GridView>
  62.                 <asp:CheckBox ID="CheckBox1" runat="server" AutoPostBack="True" OnCheckedChanged="CheckBox1_CheckedChanged"
  63.                     Text="全选" />
  64.                 &nbsp;
  65.                 <asp:Button ID="DelButton1" runat="server" OnClientClick="javascript:return confirm('确定要删除吗?')" OnClick="DelButton1_Click" Text="删除" />
  66.                 
  67.          
  68.             </td>
  69.         </tr>
  70.         <tr>
  71.             <td align="center" class="usertablerow1" colspan="2">
  72.                       &nbsp;&nbsp;
  73.                 <asp:Button ID="Button1" runat="server" CssClass="ptsbutton" OnClick="Button1_Click" Text="添加" />
  74.                 &nbsp;&nbsp;
  75.                 <input type="Button"  Class="ptsbutton" value="返回" OnClick="window.location='CarsManager.aspx'" /><div id="Div2">
  76.                                 </div>   </td>
  77.          
  78.         </tr>
  79.      
  80.     </table>
  81.     <br>
  82.     <table class="usertableborder" cellspacing="1" cellpadding="3" width="96%" align="center"
  83.         border="0">
  84.         <tr>
  85.             <th colspan="2">
  86.                 使用方法</th>
  87.         </tr>
  88.         <tr>
  89.             <td class="usertablerow1" align="right" width="11%">
  90.                 <strong>特殊说明</strong></td>
  91.             <td class="usertablerow1" width="89%">
  92.                 <a href="http://www.woying.net/" target="_blank">挨个填写即可</a></td>
  93.         </tr>
  94.     </table>
  95.     </form>
  96.     
  97. </body>
  98. </html>