资讯专栏INFORMATION COLUMN

基于javaweb+jsp的健身房信息管理系统

shiweifu / 2035人阅读

摘要:基于的健身房信息管理系统代码实现性别创建时间详情女女女年

基于javaweb+jsp的健身房信息管理系统

代码实现

                            <td style="width: 15%;">性别:td>                        <label for="edit-createTime" class="control-label">创建时间:label>                        <input type="text" class="form-control" name="coachName" id="edit-coachName"><%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>            jsp:include>head>                            <td><b id="info-coachPhone">b>td>                                        data-toggle="modal" data-target="#modal-info">详情                            <td><b id="info-coachName">b>td>                    div>div><div class="modal fade" id="modal-add" tabindex="-1" role="dialog"         class="navbar-header">                    tr>                        <input name="coachSex" id="add-coachSex_女" type="radio" value=""/>div>        window.location.href = "coachList?searchColumn="+document.getElementById("searchColumn").value+"&keyword=" + document.getElementById("search_keyword").value;                        modal.find("#edit-coachText").val(vo.coachText);                    div>            }    })
                        <label for="edit-coachAge" class="control-label">年龄:label>                modal.find("#info-coachText").text(vo.coachText);                div>                    <div class="input-group">        let modal = $(this);    <div class="modal-dialog" role="document">                    <button type="button" class="btn btn-line btn-rect btn-info" data-dismiss="modal">关闭button>    div>    <link rel="stylesheet" href="css/main.css">    <title>教练 管理title>            alert("姓名不能为空");                <div class="modal-body">            <ul class="nav navbar-nav navbar-right"><div class="modal fade" id="modal-delete" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">                        <label class="control-label">性别:label>    function addCheck() {<html>                        <textarea style="height: 100px;" class="form-control" name="coachText" id="add-coachText">textarea>        <div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main">            alert("年龄不能为空");        <div id="navbar" class="navbar-collapse collapse">
            ul>                div>                    <button type="button" class="close" data-dismiss="modal" aria-label="Close">                    div>                    <button type="button" class="btn btn-line btn-rect btn-info" data-dismiss="modal">取消button>                        <label for="edit-coachName" class="control-label">姓名:label>                    <h4 class="modal-title" id="myModalLabel">增加教练 h4>div>div>                        <tr>                    <div class="form-group hidden">                    table>                        <label class="control-label">性别:label>                modal.find("#info-coachPhone").text(vo.coachPhone);div>    }                <td>${vo.coachName}td>                                modal.find("#edit-coachSex_" + vo.coachSex).removeAttr("checked");
                        <label for="add-coachName" class="control-label">姓名:label>                            aria-label="Close">        }                <div class="modal-header">                    div>                    <div class="form-group">                            th>                            <td style="width: 15%;">备注:td>                div>                modal.find("#info-coachAge").text(vo.coachAge);                            }                <div class="col-sm-7">                div>                        tr>            form>        let button = $(event.relatedTarget);                <td>${vo.coachPhone}td>        <div class="modal-content">                        <input type="text" class="form-control" name="createTime" id="edit-createTime">
        let id = button.data("id");                let vo = eval("(" + voString + ")");        <div class="modal-content">        if (document.getElementById("edit-coachAge").value.trim().length == 0) {    $("#modal-info").on("show.bs.modal", function (event) {            <div class="row">    <script src="js/jquery-3.5.1.js">script>                        <label for="edit-coachText" class="control-label">备注:label>        div>            alert("年龄不能为空");            return false;                            <td><b id="info-coachAge">b>td>                <span class="icon-bar">span> <span class="icon-bar">span>            url: "coachGet?id=" + id,                    <br>        let button = $(event.relatedTarget);        //根据ID获取值                    <div class="form-group">                div>    //编辑表单提交之前进行检查,如果return false,则不允许提交     aria-labelledby="myModalLabel">    })
                    div>                        tr>        $.ajax({        div>                               <input name="coachSex" id="edit-coachSex_男" type="radio" value=""/>男        if (document.getElementById("add-coachPhone").value.trim().length == 0) {                                                <c:if test="${loginUser.userType != "管理员"}">disabled="disabled" title="没有权限!!!"c:if>        div>                        <span aria-hidden="true">×span>                    button>                    div>        div>        let id = button.data("id");        //根据ID获取值                        <input type="hidden" class="form-control" name="action" value="delete">                    <button type="button" class="btn btn-line btn-rect btn-info" data-dismiss="modal">取消button>                    <div class="form-group hidden">                    div>DOCTYPE html>                    button>                        <label for="edit-coachPhone" class="control-label">联系电话:label>                <div class="modal-header">                        <span aria-hidden="true">×span>
                        <tr>    div>            return false;        <div class="modal-content">                    <thead>        })                        modal.find("#edit-coachPhone").val(vo.coachPhone);                    <button type="button" class="close" data-dismiss="modal" aria-label="Close">                    div>                <div class="modal-body">                    <div class="form-group hidden">                        tr>                <span class="sr-only">健身房信息管理系统span> <span class="icon-bar">span>                        tr>    <script src="js/bootstrap.js">script>                    <table class="table table-striped table-hover" style="font-size: 15px;">        if (document.getElementById("edit-coachName").value.trim().length == 0) {            <br>            <div style="float: right;padding-right: 10px;color: #515151;"><jsp:include page="split.jsp"/>div>    <div class="modal-dialog" role="document">
                        <input type="text" class="form-control" name="coachPhone" id="edit-coachPhone">script>                        <input name="coachSex" id="add-coachSex_男" type="radio" value="" checked="checked"/><input type="text" class="form-control" name="action" value="edit">                div>                        <label for="add-coachText" class="control-label">备注:label>                    div>html>                <div class="modal-body">        return true;                        modal.find("#edit-coachName").val(vo.coachName);                div>                    div>            <a class="navbar-brand" href="#">健身房信息管理系统a>                        <label for="add-coachAge" class="control-label">年龄:label>                        <label class="control-label">(hidden)label>        if (document.getElementById("add-coachName").value.trim().length == 0) {                            } else {    //增加表单提交之前进行检查,如果return false,则不允许提交                                        data-id="${vo.id}"
                        <th style="text-align: center;">操作th>                    <button type="submit" class="btn btn-line btn-rect btn-danger">删除button>                div>                                <button class
                 
               
              

文章版权归作者所有,未经允许请勿转载,若此文章存在违规行为,您可以联系管理员删除。

转载请注明本文地址:https://www.ucloud.cn/yun/121757.html

相关文章

发表评论

0条评论

最新活动
阅读需要支付1元查看
<