• 5.5 记录


    1、继续完善社团信息表的相关设置

    2、完成情况

    社团信息表的表项设置完成,

    进行已完成功能的完善以及功能使用检测

    <%@ page contentType="text/html;charset=UTF-8" language="java"%>
    <%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
    <jsp:include page="/index_head.jsp">
    <jsp:param name="title" value="社团申请" />
    </jsp:include>
    <div class="col-md-12 col-sm-12 col-xs-12">
    <div class="x_panel">
    <div class="x_title">
    <h2>
    社团申请表<small style="color: red;">请认真填写此表,社长才能回应你的申请请求!</small>
    </h2>
    <div class="clearfix"></div>
    </div>
    <div class="x_content">
    <br>
    <form action="${pageContext.request.contextPath}/club/apply"
    method="post" id="demo-form2"
    class="form-horizontal form-label-left">
    <div class="form-group">
    <label class="control-label col-md-3 col-sm-3 col-xs-12"
    for="login-mail">真实姓名<span class="required">*</span></label>
    <div class="col-md-6 col-sm-6 col-xs-12">
    <input type="text" class="form-control col-md-7 col-xs-12"
    required name="user_name"></input> <input type="hidden"
    name="club_name" value="${name}">
    </div>
    </div>
    <div class="form-group">
    <label class="control-label col-md-3 col-sm-3 col-xs-12"
    for="true-name">申请的部门<span class="required">*</span>
    </label>
    <div class="col-md-6 col-sm-6 col-xs-12">
    <select class="form-control" required id="empty" name="empty_name">
    <option disabled selected style="display: none;"></option>
    <c:forEach items="${emptys}" var="type">
    <option value="${type.name}">${type.name}</option>
    </c:forEach>
    </select>
    </div>
    </div>
    <div class="form-group" style="display: none;" id="reason">
    <label class="control-label col-md-3 col-sm-3 col-xs-12"
    for="phone">申请缘由 <span class="required">*</span>
    </label>
    <div class="col-md-6 col-sm-6 col-xs-12">
    <textarea rows="6" class="form-control col-md-7 col-xs-12 "
    required name="content"></textarea>
    </div>
    </div>
    <div class="form-group">
    <label for="id-card"
    class="control-label col-md-3 col-sm-3 col-xs-12">申请职位<span
    class="required">*</span></label>
    <div class="col-md-6 col-sm-6 col-xs-12">
    <select class="form-control" required name="job">
    <option disabled selected style="display: none;"></option>
    <option value="普通">普通职位</option>
    <option value="部长">部长</option>
    </select>
    </div>
    </div>
    <div class="form-group">
    <div
    class="col-md-6 col-sm-6 col-xs-12 col-sm-offset-3 col-md-offset-3">
    <button type="submit" class="btn btn-primary">提交申请</button>
    </div>
    </div>
    </form>
    </div>
    </div>
    </div>
    <jsp:include page="/index_foot.jsp"></jsp:include>
    <script type="text/javascript">
    $("#empty").change(function() {
    $("#reason").show();
    })
    var msg = "${msg}";
    if (msg.length > 0) {
    if (msg.indexOf("成功") >= 0) {
    alert(msg);
    window.location.href = "${pageContext.request.contextPath}/club/list.html";
    } else {
    alert(msg);
    }
    }
    </script>

    3、明日任务

    继续已完成功能的测试

  • 相关阅读:
    系统综合实践_5
    系统综合实践_4
    系统综合实践_3
    系统综合实践_2
    系统综合实践_1
    软件工程17—第09组 Beta版本演示
    软件工程16—第09组 Beta冲刺(4/4)
    软工实践个人总结
    第06组 Beta版本演示
    第06组 Beta冲刺(5/5)
  • 原文地址:https://www.cnblogs.com/lx06/p/14762338.html
Copyright © 2020-2023  润新知