<%@ 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-dialog {
|
position: absolute;
|
top: 0;
|
bottom: 0;
|
left: 0;
|
right: 0;
|
}
|
|
.modal-content {
|
/*overflow-y: scroll; */
|
position: absolute;
|
top: 0;
|
bottom: 0;
|
height :60%;
|
width: 100%;
|
}
|
|
.modal-body {
|
overflow-y: scroll;
|
position: absolute;
|
top: 55px;
|
bottom: 65px;
|
width: 100%;
|
}
|
|
.modal-header .close {margin-right: 15px;}
|
|
.modal-footer {
|
position: absolute;
|
width: 100%;
|
bottom: 0;
|
}
|
</style>
|
</head>
|
<body>
|
|
<div class="panel panel-default">
|
<div class="panel-body">
|
<form id="conForm" class="form-inline">
|
<input type="text" class="form-control" style="width:15%" id="meetingNo" name="meetingNo" placeholder="请输入会议编号">
|
<input type="text" class="form-control" style="width:15%" id="meetingName" name="meetingName" placeholder="请输入会议名称">
|
<select class="form-control form-control-static" style="width:15%" name="roomId" id="roomId"></select>
|
<input type="text" id="MeetingBeginDate" style="width:15%" name="MeetingBeginDate" onFocus="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})" readonly="readonly" class="form-control form-control-static" placeholder="请选择开始时间">
|
<input type="text" id="MeetingEndDate" style="width:15%" name="MeetingEndDate" onFocus="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})" readonly="readonly" class="form-control form-control-static" placeholder="请选择结束时间">
|
|
<button type="button" onclick="getMeetingByCon()" class="btn btn-info ">
|
<span class="glyphicon glyphicon-search" aria-hidden="true" > 搜索</span></button>
|
</form>
|
</div>
|
</div>
|
<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" style="font-weight: bold;">
|
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
<h4 class="modal-title" id="myModalLabel">添加会议</h4>
|
</div>
|
|
<div class="modal-body">
|
<form class="form-horizontal" id="addForm" method="post">
|
<div class="form-group">
|
<label class="col-md-3 control-label">会议编号:</label>
|
<div class="col-md-6 ">
|
<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-3 control-label">会议名称:</label>
|
<div class="col-md-9 ">
|
<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-3 control-label">会议地点:</label>
|
<div class="col-md-9">
|
<!-- <input type="text" id="f_RoomId" name="f_RoomId" class="form-control form-control-static" placeholder="请输入会议地点" > -->
|
<select id="f_RoomId" name="f_RoomId" class="form-control form-control-static" ></select>
|
</div>
|
</div>
|
|
<div class="form-group">
|
<label class="col-md-3 control-label">会议主题:</label>
|
<div class="col-md-9">
|
<input type="text" id="f_Content" name="f_Content" class="form-control form-control-static" placeholder="请输入会议主题" >
|
</div>
|
</div>
|
|
<div class="form-group">
|
<label class="col-md-3 control-label">开始时间:</label>
|
<div class="col-md-9 ">
|
<input type="text" id="f_MeetingDateTime" name="f_MeetingDateTime" onFocus="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})" readonly="readonly" class="form-control form-control-static" placeholder="请选择会议开始时间">
|
</div>
|
</div>
|
|
<div class="form-group">
|
<label class="col-md-3 control-label">结束时间:</label>
|
<div class="col-md-9 ">
|
<input type="text" id="f_MeetingEndDate" name="f_MeetingEndDate" onclick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})" readonly="readonly" class="form-control form-control-static" placeholder="请选择会议结束时间">
|
</div>
|
</div>
|
|
<div class="form-group">
|
<label class="col-md-3 control-label">签到开始时间:</label>
|
<div class="col-md-9 ">
|
<input type="text" id="f_SignStartTime" name="f_SignStartTime" onclick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})" readonly="readonly" class="form-control form-control-static" placeholder="请选择会议开始时间">
|
</div>
|
</div>
|
|
<div class="form-group">
|
<label class="col-md-3 control-label">签到结束时间:</label>
|
<div class="col-md-9 ">
|
<input type="text" id="f_SignEndTime" name="f_SignEndTime" onclick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})" readonly="readonly" class="form-control form-control-static" placeholder="请选择会议结束时间">
|
</div>
|
</div>
|
|
<div class="form-group">
|
<label class="col-md-3 control-label">备注:</label>
|
<div class="col-md-9">
|
<input type="text" id="f_Notes" name="f_Notes" class="form-control form-control-static" placeholder="请输入备注" >
|
</div>
|
</div>
|
<input type="reset" name="reset" style="display: none;" />
|
</form>
|
</div>
|
<div class="modal-footer">
|
<!-- 用来清空表单数据 -->
|
<button type="button" class="btn btn-default" onclick="closeDlg()">关闭</button>
|
<button type="button" onclick="saveMeeting()" class="btn btn-primary">保存</button>
|
</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">×</button>
|
<h4 class="modal-title" id="myModalLabel">修改会议</h4>
|
</div>
|
|
<div class="modal-body">
|
<form class="form-horizontal" id="myform" method="post">
|
|
<div class="form-group">
|
<label class="col-md-3 control-label">会议编号:</label>
|
<div class="col-md-6 ">
|
<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-3 control-label">会议名称:</label>
|
<div class="col-md-9 ">
|
<!-- <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-3 control-label">会议地点:</label>
|
<div class="col-md-9">
|
<!-- <input type="text" id="f_RoomId1" name="f_RoomId" class="form-control form-control-static" placeholder="请输入会议地点" > -->
|
<select id="f_RoomId1" name="f_RoomId" class="form-control form-control-static" ></select>
|
</div>
|
</div>
|
|
<div class="form-group">
|
<label class="col-md-3 control-label">会议主题:</label>
|
<div class="col-md-9">
|
<input type="text" id="f_Content1" name="f_Content" class="form-control form-control-static" placeholder="请输入会议主题" >
|
</div>
|
</div>
|
|
<div class="form-group">
|
<label class="col-md-3 control-label">开始时间:</label>
|
<div class="col-md-9 ">
|
<input type="text" id="f_MeetingDateTime1" name="f_MeetingDateTime" onclick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss',maxDate:'#F{$dp.$D(\'f_MeetingEndDate1\')}'})" class="form-control form-control-static" placeholder="请选择会议开始时间">
|
</div>
|
</div>
|
|
<div class="form-group">
|
<label class="col-md-3 control-label">结束时间:</label>
|
<div class="col-md-9 ">
|
<input type="text" id="f_MeetingEndDate1" name="f_MeetingEndDate" onclick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss',minDate:'#F{$dp.$D(\'f_MeetingDateTime1\')}'})" class="form-control form-control-static" placeholder="请选择会议开始时间">
|
</div>
|
</div>
|
|
<div class="form-group">
|
<label class="col-md-3 control-label">签到开始时间:</label>
|
<div class="col-md-9 ">
|
<input type="text" id="f_SignStartTime1" name="f_SignStartTime" onclick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})" class="form-control form-control-static" placeholder="请选择会议开始时间">
|
</div>
|
</div>
|
|
<div class="form-group">
|
<label class="col-md-3 control-label">签到结束时间:</label>
|
<div class="col-md-9 ">
|
<input type="text" id="f_SignEndTime1" name="f_SignEndTime" onclick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})" class="form-control form-control-static" placeholder="请选择会议开始时间">
|
</div>
|
</div>
|
|
<div class="form-group">
|
<label class="col-md-3 control-label">备注:</label>
|
<div class="col-md-9">
|
<input type="text" id="f_Notes1" name="f_Notes" class="form-control form-control-static" placeholder="请输入备注" >
|
</div>
|
</div>
|
|
</form>
|
</div>
|
|
<div class="modal-footer">
|
<!--用来清空表单数据-->
|
<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>
|
|
</div><!-- /.modal-content -->
|
</div><!-- /.modal -->
|
</div>
|
|
<!-- 模态框(Modal) -->
|
<!-- 权限-->
|
<div id="consumerDlg" class="modal fade" tabindex="-1" role="dialog" data-backdrop="static" data-keyboard="false" aria-labelledby="myModalLabel" aria-hidden="true">
|
<div id="test" class="modal-dialog">
|
<div class="modal-content">
|
<div class="modal-header">
|
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
<h4 class="modal-title" id="myModalLabel">选择人员</h4>
|
</div>
|
|
<div class="modal-body">
|
<form class="form-horizontal" id="authForm" method="post">
|
|
<div class="form-group">
|
<label class="col-md-3 control-label">参会人员:</label>
|
<div class="col-md-9 ">
|
<input type="hidden" id="f_MeetingNo2" name="f_MeetingNo">
|
|
<div id="tree" ></div>
|
</div>
|
</div>
|
|
<!--用来清空表单数据-->
|
<input type="reset" name="reset" style="display: none;" />
|
</form>
|
</div>
|
|
<div class="modal-footer">
|
<button type="button" class="btn btn-default" onclick="closeDlg()">关闭</button>
|
<button type="button" onclick="saveConsumer()" class="btn btn-primary">保存</button>
|
</div>
|
</div><!-- /.modal-content -->
|
</div><!-- /.modal -->
|
</div>
|
|
</body>
|
</html>
|