王佳豪
2021-06-25 eb3f8587aa7466fd6d2d3ca712d0f9baf4e27dcb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ include file="../../include/core.jsp" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<script type="text/javascript" src="${path }/jsFiles/meeting.js"></script>
<title>会议管理</title>
<style type="text/css">
 .modal {
    position: fixed;  
    top: 0%;
    left: 30%;
    width: 800px;
    height: 800px;
    margin: 100px 100 0 0px;/* margin 负值为宽高的一半 */ */
</style>
</head>
<body>
<table id="test-table" class="table table-hover table-striped table-condensed table-bordered"></table>
 
<!--toolbar  -->
<div id="toolbar" class="btn-toolbar">
    <button onclick="addMeeting()" type="button" class="btn btn-success">
      <span class="glyphicon glyphicon-plus" aria-hidden="true">添加</span>
    </button>
</div>
 
<!-- 模态框(Modal) -->
<!-- 添加会议 -->
<div id="addDlg" class="modal fade" tabindex="-1" role="dialog" data-backdrop="static" data-keyboard="false" aria-labelledby="myModalLabel" aria-hidden="true">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
                <h4 class="modal-title" id="myModalLabel">添加会议</h4>
            </div>
            <div class="container">
            <form class="form-horizontal" id="addForm"  method="post">
            
            <div class="form-group">
            <label class="col-md-2 control-label">会议编号:</label>
            <div class="col-md-3 ">
            <input type="text" id="f_MeetingNo" name="f_MeetingNo" onblur="checkMeetingNo()" class="form-control form-control-static" placeholder="请输入会议编号">
            </div>
            <label class="control-label"><span id="info" style="color:red"></span></label>
            </div>
            
            <div class="form-group">
            <label class="col-md-2 control-label">会议名称:</label>
            <div class="col-md-3 ">
            <input type="text" id="f_MeetingName" name="f_MeetingName" class="form-control form-control-static" placeholder="请输入会议室名称">
            </div>
<!--             <label class="control-label"><span id="info" style="color:red"></span></label> -->
            </div>
            
            <div class="form-group">
            <label class="col-md-2 control-label">会议地点:</label>
            <div class="col-md-3">
            <input type="text" id="f_RoomId" name="f_RoomId" class="form-control form-control-static" placeholder="请输入会议地点" >
            </div>
            </div>
            
            <div class="form-group">
            <label class="col-md-2 control-label">备注:</label>
            <div class="col-md-3">
            <input type="text" id="f_Notes" name="f_Notes" class="form-control form-control-static" placeholder="请输入备注" >
            </div>
            </div>
            
            <div class="modal-footer col-md-6">
                <!--用来清空表单数据-->
                <input type="reset" name="reset" style="display: none;" />
                <button type="button" class="btn btn-default" onclick="closeDlg()">关闭</button>
               <button type="button" onclick="saveMeeting()" class="btn btn-primary">保存</button>
            </div>
            </form>
            </div>
        </div><!-- /.modal-content -->
    </div><!-- /.modal -->
</div>
 
 
<!-- 模态框(Modal) -->
<!-- 修改 -->
<div id="mydlg" class="modal fade"  tabindex="-1" role="dialog" data-backdrop="static" data-keyboard="false" aria-labelledby="myModalLabel" aria-hidden="true">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
                <h4 class="modal-title" id="myModalLabel">修改会议</h4>
            </div>
            <div class="container">
            <form class="form-horizontal" id="myform"  method="post">
            
            <div class="form-group">
            <label class="col-md-2 control-label">会议编号:</label>
            <div class="col-md-3 ">
            <input type="text" id="f_MeetingNo1" name="f_MeetingNo" onblur="checkMeetingNo1()" class="form-control form-control-static" placeholder="请输入会议室编号">
            </div>
            </div>
            
            <div class="form-group">
            <label class="col-md-2 control-label">会议名称:</label>
            <div class="col-md-3 ">
<!--             <input type="hidden" id="f_MeetingNo1" name="f_MeetingNo"> -->
            <input type="text" id="f_MeetingName1" name="f_MeetingName" class="form-control form-control-static" placeholder="请输入会议室名称">
            </div>
            <label class="control-label"><span id="info1" style="color:red"></span></label>
            </div>
            
            <div class="form-group">
            <label class="col-md-2 control-label">会议地点:</label>
            <div class="col-md-3">
            <input type="text" id="f_RoomId1" name="f_RoomId" class="form-control form-control-static" placeholder="请输入会议地点" >
            </div>
            </div>
            
            <div class="form-group">
            <label class="col-md-2 control-label">备注:</label>
            <div class="col-md-3">
            <input type="text" id="f_Notes1" name="f_Notes" class="form-control form-control-static" placeholder="请输入备注" >
            </div>
            </div>
            
            <div class="modal-footer col-md-6">
            <!--用来清空表单数据-->
            <input type="reset" name="reset" style="display: none;" />
                <button type="button" class="btn btn-default" onclick="closeDlg()">关闭</button>
               <button type="button" onclick="upMeeting()" class="btn btn-primary">保存</button>
            </div>
            </form>
            </div>
        </div><!-- /.modal-content -->
    </div><!-- /.modal -->
</div>
 
</body>
</html>