91超碰碰碰碰久久久久久综合_超碰av人澡人澡人澡人澡人掠_国产黄大片在线观看画质优化_txt小说免费全本

溫馨提示×

溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊×
其他方式登錄
點擊 登錄注冊 即表示同意《億速云用戶服務條款》

基于javaweb+jsp如何實現企業車輛管理系統

發布時間:2021-11-25 21:19:21 來源:億速云 閱讀:181 作者:柒染 欄目:開發技術

今天就跟大家聊聊有關基于javaweb+jsp如何實現企業車輛管理系統,可能很多人都不太了解,為了讓大家更加了解,小編給大家總結了以下內容,希望大家根據這篇文章可以有所收獲。

運行環境

Java≥6、Tomcat≥7.0、MySQL≥5.5

開發工具

idea/eclipse/MyEclipse

技術框架

JavaWeb JavaBean JSP MVC MySQL Tomcat JavaScript idea eclipse MyEclipse Servlet SSM Maven …

適用

課程設計,大作業,畢業設計,項目練習,學習演示等

功能說明

登錄、注冊、退出、用戶模塊、公告模塊、車輛模塊的增刪改查管理

部分代碼實現JSP

<%@ page contentType="text/html; charset=utf-8" pageEncoding="utf-8" %>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <title>車輛添加</title>
    <%@ include file="include/head.jsp" %>
</head>
<body>
<div class="container-fluid">
    <ul class="nav nav-tabs">
        <li><a href="carList?" rel="external nofollow" >車輛列表</a></li>
        <li class="active"><a href="#" rel="external nofollow"  rel="external nofollow"  rel="external nofollow" >添加</a></li>
    </ul>
    <br/>
    <form class="form-horizontal" role="form" action="carAdd" method="post" onsubmit="return check()">
        <div class="form-group">
            <label class="col-sm-3 control-label">車牌:</label>
            <div class="col-sm-5">
</tr>
        </c:forEach>
        </tbody>
    </table>
    <div ><jsp:include page="split.jsp"/></div>
</div>
</body>
<div class="col-sm-5" >
                ${vo.carPhone}
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">備注:</label>
            <div class="col-sm-5" >
                <textarea rows="3" class="form-control" id="carText" name="carText" disabled="disabled">${vo.carText}</textarea>
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label"></label>
            <div class="col-sm-5" >
                <input type="button" class="btn btn-pill btn-grad btn-success btn-sm" value="返回" onclick="javascript:history.back(-1);">
            </div>
        </div>
    </form>
</div>
<div class="form-group">
            <label class="col-sm-3 control-label">購買日期:</label>
            <div class="col-sm-5">
                <input type="text" class="form-control" id="carIndate" name="carIndate">
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">狀態:</label>
            <div class="col-sm-5">
                <input name="carStatus" type="radio" value="正常" checked="checked"/>&nbsp;&nbsp;&nbsp;正常&nbsp;&nbsp;&nbsp;&nbsp;
                <input name="carStatus" type="radio" value="故障"/>&nbsp;&nbsp;&nbsp;故障&nbsp;&nbsp;&nbsp;&nbsp;
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">駕駛員:</label>
            <div class="col-sm-5">
                <input type="text" class="form-control" id="carUser" name="carUser">
            </div>
        </div>
        <div class="form-group">
</body>
<script type="text/javascript">
    //提交之前進行檢查,如果return false,則不允許提交
    function check() {
        //根據ID獲取值
        if (document.getElementById("carPai").value.trim().length == 0) {
            alert("車牌不能為空!");
            return false;
        }
        if (document.getElementById("carName").value.trim().length == 0) {
            alert("品牌型號不能為空!");
            return false;
<ul class="nav nav-tabs">
        <li><a href="carList" rel="external nofollow"  rel="external nofollow"  rel="external nofollow"  rel="external nofollow" >車輛列表</a></li>
        <li class="active"><a href="#" rel="external nofollow"  rel="external nofollow"  rel="external nofollow" >編輯</a></li>
    </ul>
    <br/>
    <form class="form-horizontal" role="form" action="carEdit" method="post" onsubmit="return check()">
        <input type="hidden" class="form-control" id="id" name="id" value="${vo.id}"/>
        
            <div class="form-group">
                <label class="col-sm-3 control-label">車牌:</label>
                <div class="col-sm-5">
                    <input type="text" class="form-control" id="carPai" name="carPai" value="${vo.carPai}">
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">品牌型號:</label>
                <div class="col-sm-5">
<ul class="nav nav-tabs">
        <li><a href="carList" rel="external nofollow"  rel="external nofollow"  rel="external nofollow"  rel="external nofollow" >車輛列表</a></li>
        <li class="active"><a href="#" rel="external nofollow"  rel="external nofollow"  rel="external nofollow" >編輯</a></li>
    </ul>
    <br/>
    <form class="form-horizontal" role="form" action="carEdit" method="post" onsubmit="return check()">
        <input type="hidden" class="form-control" id="id" name="id" value="${vo.id}"/>
        
            <div class="form-group">
                <label class="col-sm-3 control-label">車牌:</label>
                <div class="col-sm-5">
                    <input type="text" class="form-control" id="carPai" name="carPai" value="${vo.carPai}">
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">品牌型號:</label>
                <div class="col-sm-5">
<th>里程</th>
            <th>購買日期</th>
            <th>狀態</th>
            <th>駕駛員</th>
            <th>聯系方式</th>
            <th>操作</th>
        </tr>
        </thead>
        <tbody>
        <c:forEach items="${list}" var="vo">
            <tr>
                <td>${vo.carPai}</td>
                <td><a href="carGet?id=${vo.id}" rel="external nofollow" >${vo.carName}</a></td>
                <td>${vo.carChexing}</td>
                <td>${vo.carCheng}</td>
                <td>${vo.carIndate}</td>
<input type="submit" class="btn btn-pill btn-grad btn-warning btn-sm" value="保存">
                <input type="button" class="btn btn-pill btn-grad btn-success btn-sm" value="返回" onclick="javascript:history.back(-1);">
            </div>
        </div>
    </form>
</div>
</body>
<script type="text/javascript">
    //提交之前進行檢查,如果return false,則不允許提交
    function check() {
        //根據ID獲取值
        if (document.getElementById("carPai").value.trim().length == 0) {
            alert("車牌不能為空!");
            return false;
        }
        if (document.getElementById("carName").value.trim().length == 0) {
</script>
</html>

<%@ page contentType="text/html; charset=utf-8" pageEncoding="utf-8" %>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <title>車輛詳情</title>
    <%@ include file="include/head.jsp" %>
</head>
<body>
<div class="container-fluid">
    <ul class="nav nav-tabs">
        <li><a href="carList" rel="external nofollow"  rel="external nofollow"  rel="external nofollow"  rel="external nofollow" >用戶列表</a></li>
${vo.carIndate}
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">狀態:</label>
            <div class="col-sm-5" >
                ${vo.carStatus}
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">駕駛員:</label>
            <div class="col-sm-5" >
                ${vo.carUser}
            </div>
        </div>
        <div class="form-group">
<input type="text" class="form-control" name="keyword" id="keyword" placeholder="品牌型號">
            <input type="hidden" id="searchColumn" name="searchColumn" value="car_name"/>
        </div>
        <button class="btn btn-pill btn-grad btn-info btn-sm"><span class="glyphicon glyphicon-search" aria-hidden="true"></span>查詢
        </button>
    </form>
    <br/>
    <table class="table table-hover table-bordered">
        <thead>
        <tr>
            <th>車牌</th>
            <th>品牌型號</th>
<div class="col-sm-5">
                    <input type="text" class="form-control" id="carPhone" name="carPhone" value="${vo.carPhone}">
                </div>
            </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">備注:</label>
            <div class="col-sm-5">
                <textarea rows="3" class="form-control" id="carText" name="carText" placeholder="請輸入內容......">${vo.carText}</textarea>
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label"></label>
            <div class="col-sm-5">
                <input type="submit" class="btn btn-pill btn-grad btn-warning btn-sm" value="保存">
                <input type="button" class="btn btn-pill btn-grad btn-success btn-sm" value="返回" onclick="javascript:history.back(-1);">
            </div>
        </div>
    </form>
</html>

<%@ page contentType="text/html; charset=utf-8" pageEncoding="utf-8" %>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <title>車輛管理</title>
    <%@ include file="include/head.jsp" %>
</head>
<body>
<div class="container-fluid">
    <ul class="nav nav-tabs">
        <li class="active"><a href="carList" rel="external nofollow"  rel="external nofollow"  rel="external nofollow"  rel="external nofollow" >車輛列表</a></li>
        <c:if test="${loginUser.userType == '管理員'}"><li><a href="car_add.jsp" rel="external nofollow" >添加</a></li></c:if>
    </ul>
    <br/>
    <form class="form-inline" id="searchForm" action="carList" method="post">
if (document.getElementById("carPhone").value.trim().length == 0) {
            alert("聯系方式不能為空!");
            return false;
        }
        return true;
    }
</script>
</html>

<%@ page contentType="text/html; charset=utf-8" pageEncoding="utf-8" %>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <title>車輛編輯</title>
    <%@ include file="include/head.jsp" %>
</head>
<body>
<label class="col-sm-3 control-label">狀態:</label>
            <div class="col-sm-5">
                       <input name="carStatus" type="radio" value="正常" ${vo.carStatus=='正常'?'checked':''}/>&nbsp;&nbsp;&nbsp;正常&nbsp;&nbsp;&nbsp;&nbsp;
                       <input name="carStatus" type="radio" value="故障" ${vo.carStatus=='故障'?'checked':''}/>&nbsp;&nbsp;&nbsp;故障&nbsp;&nbsp;&nbsp;&nbsp;
            </div>
        </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">駕駛員:</label>
                <div class="col-sm-5">
                    <input type="text" class="form-control" id="carUser" name="carUser" value="${vo.carUser}">
                </div>
            </div>
            <div class="form-group">
return false;
        }
        if (document.getElementById("carChexing").value.trim().length == 0) {
            alert("車型不能為空!");
            return false;
        }
        if (document.getElementById("carCheng").value.trim().length == 0) {
            alert("里程不能為空!");
            return false;
        }
        if (document.getElementById("carIndate").value.trim().length == 0) {
            alert("購買日期不能為空!");
            return false;
        }
        if (document.getElementById("carUser").value.trim().length == 0) {
            alert("駕駛員不能為空!");
            return false;
<div class="col-sm-5" >
                ${vo.carChexing}
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">里程:</label>
            <div class="col-sm-5" >
                ${vo.carCheng}
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">購買日期:</label>
<td>${vo.carUser}</td>
                <td>${vo.carPhone}</td>
                <td>
                    <button onclick="window.location.href='carEditPre?id=${vo.id}'"
                            class="btn btn-pill btn-grad btn-info btn-xs"
                            <c:if test="${loginUser.userType != '管理員'}">disabled="disabled" title="沒有權限!!!"</c:if>
                             >
                        <span class="glyphicon glyphicon-pencil" aria-hidden="true"></span>
                        編輯
                    </button>
                    <button onclick="if(window.confirm('將要刪除:${vo.carName}?'))window.location.href='carDelete?id=${vo.id}'"
                            class="btn btn-pill btn-grad btn-default btn-xs"
                            <c:if test="${loginUser.userType != '管理員'}">disabled="disabled" title="沒有權限!!!"</c:if> >
                        <span class="glyphicon glyphicon-remove" aria-hidden="true"></span>
                        刪除
                    </button>
</div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">品牌型號:</label>
            <div class="col-sm-5">
                <input type="text" class="form-control" id="carName" name="carName">
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">車型:</label>
            <div class="col-sm-5">
                <input type="text" class="form-control" id="carChexing" name="carChexing">
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">里程:</label>
            <div class="col-sm-5">
                <input type="text" class="form-control" id="carCheng" name="carCheng">
            </div>
</ul>
    <br/>
    <form class="form-horizontal" role="form" action="#" method="post">
        <input type="hidden" class="form-control" id="id" name="id" value="${vo.id}"/>
        <div class="form-group">
            <label class="col-sm-3 control-label">車牌:</label>
            <div class="col-sm-5" >
                ${vo.carPai}
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">品牌型號:</label>
            <div class="col-sm-5" >
                ${vo.carName}
            </div>
        </div>
        <div class="form-group">
<div class="col-sm-5">
                <input type="text" class="form-control" id="carPhone" name="carPhone">
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">備注:</label>
            <div class="col-sm-5">
                <textarea rows="3" class="form-control" id="carText" name="carText" placeholder="請輸入內容......"></textarea>
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label"></label>
if (document.getElementById("carChexing").value.trim().length == 0) {
            alert("車型不能為空!");
            return false;
        }
        if (document.getElementById("carCheng").value.trim().length == 0) {
            alert("里程不能為空!");
            return false;
        }
        if (document.getElementById("carIndate").value.trim().length == 0) {
            alert("購買日期不能為空!");
            return false;
        }
        if (document.getElementById("carUser").value.trim().length == 0) {
            alert("駕駛員不能為空!");
            return false;
        }
        if (document.getElementById("carPhone").value.trim().length == 0) {
            alert("聯系方式不能為空!");
            return false;
        }
        return true;
</div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">車型:</label>
                <div class="col-sm-5">
                    <input type="text" class="form-control" id="carChexing" name="carChexing" value="${vo.carChexing}">
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">里程:</label>
                <div class="col-sm-5">
                    <input type="text" class="form-control" id="carCheng" name="carCheng" value="${vo.carCheng}">
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">購買日期:</label>
                <div class="col-sm-5">
                    <input type="text" class="form-control" id="carIndate" name="carIndate" value="${vo.carIndate}">
                </div>
            </div>

效果圖

基于javaweb+jsp如何實現企業車輛管理系統

基于javaweb+jsp如何實現企業車輛管理系統

基于javaweb+jsp如何實現企業車輛管理系統

基于javaweb+jsp如何實現企業車輛管理系統

基于javaweb+jsp如何實現企業車輛管理系統看完上述內容,你們對基于javaweb+jsp如何實現企業車輛管理系統有進一步的了解嗎?如果還想了解更多知識或者相關內容,請關注億速云行業資訊頻道,感謝大家的支持。

向AI問一下細節

免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。

AI

南宫市| 延吉市| 德昌县| 黄山市| 平顶山市| 墨江| 应城市| 甘谷县| 龙南县| 温宿县| 尉氏县| 江安县| 涿鹿县| 临朐县| 安西县| 南汇区| 台州市| 睢宁县| 仙游县| 长宁区| 夏津县| 泗阳县| 武安市| 东城区| 金沙县| 黔西县| 金门县| 忻州市| 察隅县| 浠水县| 邯郸市| 长武县| 抚松县| 德阳市| 小金县| 阜新市| 阜新| 呼玛县| 江安县| 庆元县| 邵阳市|