资讯专栏INFORMATION COLUMN

基于javaweb+jsp的手机店销售信息管理系统

CoorChice / 3869人阅读

摘要:基于的手机店销售信息管理系统代码实现性别

基于javaweb+jsp的手机店销售信息管理系统

代码实现

                        <input type="text" class="form-control" name="empTel" id="add-empTel">                                button>                    div>                        modal.find("#edit-empName").val(vo.empName);                    div>                        <label class="control-label">性别:label>            url: "empGet?id=" + id,                        <input type="hidden" class="form-control" name="action" value="delete">                table>    <div class="modal-dialog" role="document">    div>                        modal.find("#edit-empAge").val(vo.empAge);                        <textarea style="height: 100px;" class="form-control" name="empText" id="add-empText">textarea><head>    <script src="js/bootstrap.js">script>        if (document.getElementById("add-empName").value.trim().length == 0) {                        tr>
                    <button type="button" class="close" data-dismiss="modal" aria-label="Close">            return false;                        <label class="control-label">(hidden)label>    <link rel="stylesheet" href="css/bootstrap.css">        <div class="col-sm-3 col-md-2 sidebar">            }                <li><a href="#">欢迎:<span style="color: yellow">${loginUser.username}span>a>li>                        <label for="add-empTel" class="control-label">电话:label>            <br>            }                    <div class="form-group hidden">                    <h4 class="modal-title">员工 h4>                                        data-toggle="modal" data-target="#modal-info">详情                            aria-label="Close">        //根据ID获取值                        <tr>                            <td style="width: 15%;">备注:td><div class="container-fluid">                        <tr>                        <input class="form-control" type="text" id="search_keyword" name="search_keyword" placeholder="名字"/> <span class="input-group-btn"><button class="btn btn-grad btn-warning" type="button" onclick="searchList()">搜索button>span>
            jsp:include>            success: function (voString) {                div>nav>                        <span aria-hidden="true">×span>                        tr>                            <td><b id="info-empSex">b>td>                    <button type="button" class="close" data-dismiss="modal" aria-label="Close">            return false;                    <div class="form-group hidden">                        <tr>        div>        <div class="modal-content">                    <div class="form-group hidden">                    div>        $.ajax({                                                <c:if test="${loginUser.userType != "管理员"}">disabled="disabled" title="没有权限!!!"c:if>                div>                        <input type="text" class="form-control" name="action" value="edit">                    div>                    <h4 class="modal-title" id="myModalLabel">增加员工 h4>
                <span class="icon-bar">span> <span class="icon-bar">span>        div>                        <span aria-hidden="true">×span>                    div>            return false;                    <div class="form-group">                    <div class="form-group">                            <td><b id="info-empTel">b>td>                <table class="table table-striped table-hover">                            <td style="width: 15%;">电话:td>                        <input type="text" class="form-control" name="createTime" id="edit-createTime">        if (document.getElementById("edit-empAge").value.trim().length == 0) {                                        } else {                div>                        <span aria-hidden="true">×span>                    button>div>                <div class="col-sm-7">html>                                <button class="btn btn-grad btn-success btn-sm"    >员工 管理title>
                div>                <div class="modal-header">    <div class="modal-dialog" role="document">    }                <div class="modal-header">                    div>            alert("名字不能为空");        if (document.getElementById("edit-empTel").value.trim().length == 0) {            div>    div>                        <tr>    $("#modal-edit").on("show.bs.modal", function (event) {div>                    <h4 class="modal-title">更新员工 h4>            <form action="empEdit" onsubmit="return editCheck()">        div>div>                            }                modal.find("#info-empTel").text(vo.empTel);                        <label for="edit-empTel" class="control-label">电话:label>            <ul class="nav navbar-nav navbar-right">                                        data-id="${vo.id}"div>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>                            <td style="width: 15%;">性别:td>                <div class="modal-footer">                div>            <div style="float: right;padding-right: 10px;color: #515151;"><jsp:include page="split.jsp"/>div>        window.location.href = "empList?searchColumn="+document.getElementById("searchColumn").value+"&keyword=" + document.getElementById("search_keyword").value;                    <button type="button" class="close" data-dismiss="modal"                         name="empSex" id="add-empSex_男" type="radio" value="" checked="checked"/>button>        <div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main">                        tr>        div>        div>                    button>        <div id="navbar" class="navbar-collapse collapse">    function editCheck() {                        modal.find("#edit-empText").val(vo.empText);                <td>${vo.empSex}td>            alert("年龄不能为空");                    <button type="button" class="btn btn-grad btn-primary" data-dismiss="modal">取消button>
                        tr>                        <label for="edit-empText" class="control-label">备注:label>                    table><%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>        }                <div class="col-sm-5">                                <button class="btn btn-grad btn-danger btn-sm" data-id="${vo.id}"            alert("名字不能为空");                        modal.find("#edit-empTel").val(vo.empTel);                    >                        <label class="control-label">(hidden)label>                modal.find("#info-empName").text(vo.empName);DOCTYPE html>                    <table class="table table-striped table-hover" style="font-size: 15px;">                            <td><b id="info-empAge">b>td>                <li><a href="authLogout">退出a>li>    <div class="row">            <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">                div>                    tbody>        let modal = $(this);
                        <label class="control-label">性别:label>            alert("电话不能为空");                    <button type="submit" class="btn btn-grad btn-danger">提交button>        })            <form action="empAdd" onsubmit="return addCheck()">                    <c:forEach items="${list}" var="vo">                            <td><b id="info-empName">b>td>                <span class="sr-only">手机店销售信息管理系统span> <span class="icon-bar">span>                <div class="modal-body">        modal.find("#delete-id").val(id);                    div>                div>        div>                <div class="modal-footer">                        <label for="edit-empAge" class="control-label">年龄:label>                  
               
                                           
                       
                 

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

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

相关文章

发表评论

0条评论

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