CY_ECommercePlatform/CY.WebForm/Pages/work/Adm_zhanghaomimaAdd.aspx
@@ -6,7 +6,36 @@
    <title>新增/修改通讯账号密码</title>
    <uc:CMSHead ID="CMSHead1" runat="server" />
    <script type="text/javascript">
        //批量删除
        function onAllDelete() {
            var deleteKeyIds = "";
            $("input[name='depart']").each(
                function () {
                    if ($(this).is(":checked")) {
                        deleteKeyIds += $(this).val() + ",";
                    }
                }
            )
            if (deleteKeyIds == "") {
                $("#deleteKeyIds").val(deleteKeyIds);
            }
            else {
                deleteKeyIds = deleteKeyIds.substring(0, deleteKeyIds.length - 1);
                $("#deleteKeyIds").val(deleteKeyIds);
            }
        }
        function changedepartment(departid) {
            if ($("#department" + departid).is(':checked')) {
                $(".depart" + departid).show();
                $(".spann" + departid).show();
            } else {
                $(".depart" + departid).hide();
                $(".spann" + departid).hide();
                $(".depart" + departid).attr('checked', false);
            }
        }
    </script>
</head>
<body>
@@ -28,10 +57,10 @@
            
            <tr>
                <td class="ali03">
                    产品项目:
                    项目:
                </td>
                <td  >
                    <input id="txtchanpinxiangmu" type="text" class="w700px req" runat="server" maxlength="100"  msg="请填写产品项目"/>
                    <input id="txtchanpinxiangmu" type="text" class="w700px req" runat="server" maxlength="100"  msg="请填写项目"/>
                </td>
            </tr>
            <tr>
@@ -58,12 +87,20 @@
                    <asp:TextBox ID="txtmibao" TextMode="MultiLine" runat="server" Width="690px" Height="60px" MaxLength="300"></asp:TextBox>
                </td>
            </tr>
             <tr>
                <td class="ali03" valign="top">
                    查看员工:
                </td>
                <td  >
                    <%=staffs %>
                       <input type="hidden" id="deleteKeyIds"  name="deleteKeyIds" runat="server" />
                </td>
            </tr>
           
            
            <tr>
                <td colspan="2" style="text-align: center;">
                    <asp:Button ID="btn_submit" runat="server" OnClick="btn_submit_form" Text="提交" />
                    <asp:Button ID="btn_submit" runat="server" OnClientClick="onAllDelete()" OnClick="btn_submit_form" Text="提交" />
                </td>
            </tr>
        </table>