<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="appform_auditpeople.aspx.cs" Inherits="Portal.Portal.auditpeople" %>


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title></title>
    <script src="../javascript/jquery-1.9.1.min.js"></script>
    <script src="../javascript/common.js"></script>
</head>
<body style=" margin:20px;  overflow:hidden;">
 
    <form id="form1" runat="server">
    <div>
    

   审批登录名<br />
     
           <asp:textbox runat="server" ClientIDMode="Static" ID="txt_auditpeople" style="padding: 2px 2px 2px 1px; width:300px"></asp:textbox>

           <a href="#" onclick="window.open('../oa/popup.aspx?type=user&ismulti=1', '', 'width=550px,left=100px,top=100px,height=500px'); return false;"><img src="../Images/checknames.gif" id="ckname" style=" cursor:pointer; border:0px"  /></a>

           <asp:HiddenField runat="server" ID="hf_uid" />
           <br /> <br />
备注：<br />
<asp:TextBox runat="server" ID="txt_comm" TextMode=MultiLine Width="450px" Height="120px"></asp:TextBox>


       <div style=" display:none">
       
        发送邮件通知审批人<asp:CheckBox ID="cb_sendmail" runat="server" Checked=false />
</div>

        <br />
 
 
<div style=" text-align:center; width:350px; margin-top:20px">

        <asp:Button ID="btnsubmit" runat="server" Text="确定" 
            onclick="btnsubmit_Click"  CssClass="btn"  style="padding:5px;" />
        </div>
    </div>
    </form>

    <script>

        function SetUser(o) {

            document.getElementById("txt_auditpeople").value = o;

        }



        function setPopUser(result) {
            
            theresult = result.split('#');

            for (var i = 0; i < theresult.length; i++) {
                if (theresult[i] != "") {
                    $("#txt_auditpeople").val($("#txt_auditpeople").val() + ";" + theresult[i].split('$')[1]);
                }
            }

          
            //popUser(result, "", 'txt_auditpeople', '','', '', '', '');


        }

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