国产xxxx99真实实拍_久久不雅视频_高清韩国a级特黄毛片_嗯老师别我我受不了了小说

資訊專欄INFORMATION COLUMN

基于javaweb+jsp的學(xué)生成績管理系統(tǒng)

番茄西紅柿 / 3202人閱讀

基于javaweb+jsp的學(xué)生成績管理系統(tǒng)

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

部分代碼實(shí)現(xiàn)JSP

        let editIndex = layedit.build('LAY_demo_editor');        //自定義驗(yàn)證規(guī)則        form.verify({            content: function (value) {                layedit.sync(editIndex);            }        });        //監(jiān)聽提交        form.on('submit(submit-button)', function (data) {            $.post("ScoreServlet?action=edit&", data.field, function () {                let index = parent.layer.getFrameIndex(window.name); //先得到當(dāng)前iframe層的索引                parent.layer.close(index); //再執(zhí)行關(guān)閉
        <div class="layui-input-block">            <input type="text" name="scoreScore" lay-verify="required|scoreScore" class="layui-input" value="${vo.scoreScore}">        div>    div>    <div class="layui-form-item">        <label class="layui-form-label">備注:label>        <div class="layui-input-block">            <textarea type="text" name="scoreText" class="layui-input" style="height: 100px;padding-left: 10px;" placeholder="請輸入內(nèi)容......">${vo.scoreText}textarea>        div>    div>    <div class="layui-form-item">        <div class="layui-input-block">            <button type="submit" class="layui-btn" lay-submit="" lay-filter="submit-button">保存button>            <button type="reset" class="layui-btn layui-btn-primary">重置button>        div>    div>form><script src="js/layui/layui.js" charset="utf-8">script><script>    layui.use(['form', 'layedit', 'laydate'], function () {        let form = layui.form, layer = layui.layer, layedit = layui.layedit;
                        }                    }                ]            ],        });        //監(jiān)聽工具條        table.on('tool(myTable)', function (obj) { //注:tool 是工具條事件名,myTable 是 table 原始容器的屬性 lay-filter="對應(yīng)的值"            let data = obj.data; //獲得當(dāng)前行數(shù)據(jù)            let layEvent = obj.event; //獲得 lay-event 對應(yīng)的值(也可以是表頭的 event 參數(shù)對應(yīng)的值)            if (layEvent === 'del') { //刪除                // layer.confirm('刪除' + data.scoreName + "?", function (index) {                $.ajax({                    type: "GET",                    dataType: "text",                    url: "ScoreServlet?action=delete&id=" + data.id,                    success: function () {                        console.log("已刪除!");
    div>    <div class="layui-form-item">        <label class="layui-form-label">分?jǐn)?shù):label>        <div class="layui-input-block" style="padding: 9px 15px;">            ${vo.scoreScore}        div>    div>    <div class="layui-form-item">        <label class="layui-form-label">備注:label>        <div class="layui-input-block">            <textarea type="text" name="scoreText" disabled="disabled" class="layui-input" style="height: 100px;padding-left: 10px;" placeholder="請輸入內(nèi)容......">${vo.scoreText}textarea>        div>    div>form><script src="js/layui/layui.js" charset="utf-8">script><script>    layui.use(['form', 'layedit', 'laydate'], function () {        let form = layui.form, layer = layui.layer, layedit = layui.layedit;        //創(chuàng)建一個編輯器        let editIndex = layedit.build('LAY_demo_editor');
            }, "text");//這里用的是post提交,如果不懂可以參考JQuery中ajax提            return false;        });    });script>body>html><%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %><%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %><%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %><%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %><html><head>    <meta charset="UTF-8">    <meta name="viewport" content="width=device-width, initial-scale=1.0">
script><script type="text/html" id="myToolbar">    <div class="layui-btn-container">        <c:if test="${loginUser.userType == '管理員'}"><button class='layui-btn layui-btn-sm' lay-event='add'>添加</button></c:if>    </div>script><script>    function arrayBufferToBase64(buffer) {        let binary = '';        let bytes = new Uint8Array(buffer);        let len = bytes.byteLength;        for (let i = 0; i < len; i++) {            binary += String.fromCharCode(bytes[i]);        }        return window.btoa(binary);    }
    <div class="layui-form-item">        <label class="layui-form-label">學(xué)科:label>        <div class="layui-input-block">            <input type="text" name="scoreSubject" lay-verify="required|scoreSubject" class="layui-input" value="${vo.scoreSubject}">        div>    div>    <div class="layui-form-item">        <label class="layui-form-label">教師:label>        <div class="layui-input-block">            <input type="text" name="scoreTeacher" lay-verify="required|scoreTeacher" class="layui-input" value="${vo.scoreTeacher}">        div>    div>    <div class="layui-form-item">
                <button class="layui-btn" data-type="reload">搜索button>            div>        div>                <table class="layui-hide" id="myData" lay-filter="myTable">table>    div>div><script src="js/layui/layui.js"/><script>    //JavaScript代碼區(qū)域    layui.use('element', function () {        let element = layui.element;
script>body>html><%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %><%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %><%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %><%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %><html><head>    <meta charset="utf-8">    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">    <title>學(xué)生成績管理系統(tǒng)title>    <link rel="stylesheet" href="js/layui/css/layui.css">
                        },                        {                            field: 'scoreTeacher',                            title: '教師',                        },                        {                            field: 'scoreScore',                            title: '分?jǐn)?shù)',                        },                        {                            field: 'scoreText',                            title: '備注',                        },                    {                        align: 'center',                        fixed: 'right',                        title: '操作',                        width: 130,                        templet: vo => {                            let flag = ${loginUser.userType == '管理員'};
                    content: 'score_add.jsp'                });            } else {                //layer.alert('這是工具欄右側(cè)自定義的一個圖標(biāo)按鈕');            }        });        //搜索        let $ = layui.$, active = {            reload: function () {                let url = 'ScoreServlet?action=list&keyword=' + $('#search_keyword').val() + '&searchColumn=' + $('#searchColumn').val();                //執(zhí)行重載                table.reload('myTable', {                    url: url,                    page: {                        curr: 1 //重新從第 1 頁開始                    }                });            }        };        $('.searchTable .layui-btn').on('click', function () {            let type = $(this).data('type');
    div>    <div class="layui-side layui-bg-black">        <div class="layui-side-scroll">            <ul class="layui-nav layui-nav-tree" lay-filter="test">                                <jsp:include page="menu.jsp">                    <jsp:param value="active" name="Score_active"/>                jsp:include>            ul>        div>    div>    <div class="layui-body">        <div class="search_style" style="padding-top: 10px;padding-left: 15px;">            <div class="searchTable">                搜索:                <div class="layui-inline">                    <input class="layui-input" name="search_keyword" id="search_keyword" autocomplete="off" placeholder="姓名">                    <input type="hidden" class="layui-input" name="searchColumn" id="searchColumn" autocomplete="off" value="score_name">
<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %><%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %><%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %><%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %><html><head>    <meta charset="UTF-8">    <meta name="viewport" content="width=device-width, initial-scale=1.0">    <title>修改成績 title>    <script src="js/jquery.js">script>    <link rel="stylesheet" href="js/layui/css/layui.css">head><body style="padding: 20px">
    <script src="js/layer.js">script>head><body class="layui-layout-body"><div class="layui-layout layui-layout-admin">    <div class="layui-header">        <div class="layui-logo" style="font-weight: bold;font-size: 19px">學(xué)生成績管理系統(tǒng)div>        <ul class="layui-nav layui-layout-left">ul>        <c:if test="${loginUser==null}">            <ul class="layui-nav layui-layout-right">                <li class="layui-nav-item"><a href="login.jsp">請登錄a>li>            ul>        c:if>        <c:if test="${loginUser!=null}">            <ul class="layui-nav layui-layout-right">                <li class="layui-nav-item"><a>${loginUser.username}a>li>                <li class="layui-nav-item"><a href="AuthServlet?action=logout">退出登錄a>li>            ul>
            <input type="text" name="scoreName" lay-verify="required" class="layui-input">        div>    div>    <div class="layui-form-item">        <label class="layui-form-label">性別:label>        <div class="layui-input-block">            <input name="scoreSex" type="radio" value=
            
                     
             
               

文章版權(quán)歸作者所有,未經(jīng)允許請勿轉(zhuǎn)載,若此文章存在違規(guī)行為,您可以聯(lián)系管理員刪除。

轉(zhuǎn)載請注明本文地址:http://m.specialneedsforspecialkids.com/yun/124440.html

相關(guān)文章

  • 基于javaweb+jsp學(xué)生宿舍管理系統(tǒng)

    摘要:基于的學(xué)生宿舍管理系統(tǒng)部分代碼實(shí)現(xiàn)樓棟不能為空編輯表單提交之前進(jìn)行檢查,如果,則不允許提交根據(jù)獲取值姓名不能為空電話不能為空側(cè)邊欄 基于javaweb+jsp的學(xué)生...

    DandJ 評論0 收藏0
  • JavaWeb學(xué)生選課(Servlet、JSP、JDBC)

    摘要:運(yùn)行結(jié)果數(shù)據(jù)庫的個表表表一定要導(dǎo)入數(shù)據(jù)庫用的包,以及在在文件夾中導(dǎo)入數(shù)據(jù)庫包文件目錄結(jié)構(gòu)具體代碼首頁歡迎進(jìn)入選課系統(tǒng)歡迎進(jìn)入選課系統(tǒng)學(xué)生登錄學(xué)生注冊管理員登錄學(xué)生登錄學(xué)生登錄學(xué)生登錄學(xué)號密碼登錄注冊返回學(xué)生注冊注冊 運(yùn)行結(jié)果: showImg(https://segmentfault.com/img/bVbthFj); showImg(https://segmentfault.com/...

    zhunjiee 評論0 收藏0
  • JavaWeb學(xué)生選課(Servlet、JSP、JDBC)

    摘要:運(yùn)行結(jié)果數(shù)據(jù)庫的個表表表一定要導(dǎo)入數(shù)據(jù)庫用的包,以及在在文件夾中導(dǎo)入數(shù)據(jù)庫包文件目錄結(jié)構(gòu)具體代碼首頁歡迎進(jìn)入選課系統(tǒng)歡迎進(jìn)入選課系統(tǒng)學(xué)生登錄學(xué)生注冊管理員登錄學(xué)生登錄學(xué)生登錄學(xué)生登錄學(xué)號密碼登錄注冊返回學(xué)生注冊注冊 運(yùn)行結(jié)果: showImg(https://segmentfault.com/img/bVbthFj); showImg(https://segmentfault.com/...

    fuchenxuan 評論0 收藏0

發(fā)表評論

0條評論

最新活動
閱讀需要支付1元查看
<