- Add Docker Compose configurations for dev, prod, and standalone environments - Add database initialization scripts (init-db.sh, init-db-docker.sh) - Add enhanced start-docker-linux.sh with DB init support - Add comprehensive database initialization guide - Support for automatic dbexport.pgsql import on first run - Include safety checks for production environment
178 lines
5.4 KiB
Plaintext
178 lines
5.4 KiB
Plaintext
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
|
|
<%@ page import="com.pms.common.utils.*"%>
|
|
<%@ page import="java.util.*" %>
|
|
<%@include file= "/init.jsp" %>
|
|
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
|
|
|
<c:set var="callBackFn" value="${empty param.callBackFn?'':param.callBackFn}"/>
|
|
<c:set var="actionURL" value="${empty param.actionURL?'':param.actionURL}"/>
|
|
|
|
<title><%=Constants.SYSTEM_NAME%></title>
|
|
<script>
|
|
$(function(){
|
|
$("input[type=text]").keyup(function(e){
|
|
if(e.keyCode == 13){
|
|
searchUser();
|
|
}
|
|
});
|
|
});
|
|
</script>
|
|
<script>
|
|
//인원을 조회한다.
|
|
function searchUser(){
|
|
var userTypeName = $("#userTypeName").val();
|
|
var userName = $("#userName").val();
|
|
var deptName = $("#deptName").val();
|
|
|
|
if(userTypeName == "" && userName == "" && deptName == ""){
|
|
Swal.fire("입력된 내용이 없습니다.");
|
|
return false;
|
|
}else{
|
|
$.ajax({
|
|
url:"/common/searchUserList.do",
|
|
type:"POST",
|
|
data:{"search_userTypeName":userTypeName, "search_userName":userName,"search_deptName":deptName,"isJson":true},
|
|
dataType:"json",
|
|
async:false,
|
|
success:function(data){
|
|
$("#resultUserList").empty();
|
|
if(data != null && data.length > 0){
|
|
$("#defaultRow").hide();
|
|
for(var i=0;i<data.length;i++){
|
|
var appendText = "<tr>";
|
|
appendText+= " <td>";
|
|
appendText+= " <input type='checkbox' name='userId' value='"+data[i].USER_ID+"'>";
|
|
appendText+= " </td>";
|
|
appendText+= " <td>"+fnc_checkNull(data[i].USER_TYPE_NAME)+"</td>";
|
|
appendText+= " <td>"+fnc_checkNull(data[i].DEPT_NAME)+"</td>";
|
|
appendText+= " <td>"+fnc_checkNull(data[i].USER_NAME)+"</td>";
|
|
appendText+= "</tr>";
|
|
$("#resultUserList").append(appendText);
|
|
}
|
|
}else{
|
|
$("#defaultRow").show();
|
|
}
|
|
},
|
|
error: function(jqxhr, status, error){
|
|
}
|
|
});
|
|
}
|
|
}
|
|
|
|
//CallBack 함수를 실행한다.
|
|
function callFunction(){
|
|
var param = $("#form1").serialize();
|
|
|
|
if("${actionURL}" == ""){
|
|
Swal.fire("정상적이지 않은 접근 입니다.");
|
|
return false;
|
|
}else{
|
|
$.ajax({
|
|
url:"${actionURL}",
|
|
type:"POST",
|
|
data:param,
|
|
dataType:"json",
|
|
async:false,
|
|
success:function(data){
|
|
if("${callBackFn}" != ""){
|
|
Swal.fire(data.message);
|
|
eval("${callBackFn}"+"();");
|
|
self.close();
|
|
}
|
|
},
|
|
error: function(jqxhr, status, error){
|
|
}
|
|
});
|
|
}
|
|
}
|
|
|
|
</script>
|
|
</head>
|
|
<body class="backcolor_light_blue">
|
|
<form name="form1" id="form1" method="post">
|
|
<input type="hidden" name="targetObjId" id="targetObjId" value="${param.targetObjId}">
|
|
<div class="plm_menu_name">
|
|
<h2>
|
|
<span>배포처 지정</span>
|
|
</h2>
|
|
</div>
|
|
<div id="businessPopupFormWrap">
|
|
<div class="form_popup_title"> 사원 조회</div>
|
|
<table class="pmsPopupForm">
|
|
<colgroup>
|
|
<col width="8%">
|
|
<col width="22%">
|
|
<col width="8%">
|
|
<col width="22%">
|
|
<col width="8%">
|
|
<col width="22%">
|
|
<col width="10%">
|
|
</colgroup>
|
|
<tr>
|
|
<td class="input_title"">
|
|
<label for="">소속</label>
|
|
</td>
|
|
<td>
|
|
<input type="text" name="userTypeName" id="userTypeName">
|
|
</td>
|
|
<td class="input_title"">
|
|
<label for="">부서</label>
|
|
</td>
|
|
<td>
|
|
<input type="text" name="deptName" id="deptName">
|
|
</td>
|
|
<td class="input_title">
|
|
<label for="">성명</label>
|
|
</td>
|
|
<td>
|
|
<input type="text" name="userName" id="userName">
|
|
</td>
|
|
<td>
|
|
<input type="button" value="조회" class="blue_btn" id="btnUserSearch" onclick="searchUser();">
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table class="project_form_in_table" style="margin: 10px 0 0 5px;">
|
|
<colgroup>
|
|
<col width="6%">
|
|
<col width="31%">
|
|
<col width="31%">
|
|
<col width="32%">
|
|
</colgroup>
|
|
<thead>
|
|
<tr>
|
|
<td><input type="checkbox" onclick=""></td>
|
|
<td>소속</td>
|
|
<td>부서</td>
|
|
<td>성명</td>
|
|
</tr>
|
|
</thead>
|
|
</table>
|
|
<div class="in_table_scroll_wrap" style="margin-left:5px;">
|
|
<table class="project_form_in_table">
|
|
<colgroup>
|
|
<col width="6%">
|
|
<col width="31%">
|
|
<col width="31%">
|
|
<col width="32%">
|
|
</colgroup>
|
|
<tr id="defaultRow">
|
|
<td colspan="4">조회된 인원이 없습니다.</td>
|
|
</tr>
|
|
<tbody id="resultUserList">
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="btnCenterWrap">
|
|
<center class="center_btns_wrap">
|
|
<input type="button" value="저장" id="" class="plm_btns" onclick="callFunction();">
|
|
<input type="button" value="닫기" id="btn_close" class="plm_btns" onclick="javascript:self.close();">
|
|
</center>
|
|
</div>
|
|
</form>
|
|
</body>
|
|
</html> |