2022-02-15 07:38:58 +00:00
|
|
|
<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
|
|
|
|
|
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
|
|
|
|
|
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
|
|
|
|
|
<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%>
|
|
|
|
|
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
|
|
|
|
|
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
|
|
|
|
|
|
2022-02-22 04:33:20 +00:00
|
|
|
<script src="../../../js/admin/requestView.js"></script>
|
2022-02-15 07:38:58 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
<form:form commandName="useRequestVO" name="frm" method="POST" action="/admin/updateReqConfirm" id="updateFrm">
|
|
|
|
|
<input type="hidden" name="idx" value="<c:out value='${useRequestVO.idx}' />" />
|
|
|
|
|
<input type="hidden" name="admin_id" value="<c:out value='${loginUserVO.userid}' />" />
|
|
|
|
|
<div class="section_title">
|
|
|
|
|
<!-- <p>현장 지원 시스템</p> -->
|
|
|
|
|
</div>
|
2022-03-02 08:31:55 +00:00
|
|
|
|
2022-02-15 07:38:58 +00:00
|
|
|
<div class="section_content">
|
|
|
|
|
<input type="hidden" id="layers" name="layers"/>
|
|
|
|
|
<input type="hidden" id="places" name="places"/>
|
2022-03-03 00:05:00 +00:00
|
|
|
<div class="row justify-content-between bg-white mx-3 py-2">
|
|
|
|
|
|
2022-03-02 08:31:55 +00:00
|
|
|
<table class="table table-hover text-center">
|
2022-02-15 07:38:58 +00:00
|
|
|
<thead>
|
2022-03-02 08:31:55 +00:00
|
|
|
<h5 class=""> 담당자</h5>
|
2022-02-15 07:38:58 +00:00
|
|
|
</thead>
|
|
|
|
|
<tbody>
|
|
|
|
|
<tr>
|
|
|
|
|
<th>소속</th>
|
|
|
|
|
<td class="text-center"><c:out value='${userVO.company}' /></td>
|
2022-03-02 08:31:55 +00:00
|
|
|
<th>이름</th>
|
2022-02-15 07:38:58 +00:00
|
|
|
<td class="text-center"><c:out value='${userVO.name}' /></td>
|
|
|
|
|
<th>연락처</th>
|
|
|
|
|
<td class="text-center"><c:out value='${userVO.phonenum}' /></td>
|
|
|
|
|
<th>상태</th>
|
|
|
|
|
<td class="text-center">
|
|
|
|
|
<c:choose>
|
|
|
|
|
<c:when test="${useRequestVO.status eq '99'}"><span class="label label-warning"><c:out value='승인대기' /></span></c:when>
|
|
|
|
|
<c:when test="${useRequestVO.status eq '0'}"><span class="label label-success"><c:out value='승인' /></span></c:when>
|
|
|
|
|
<c:when test="${useRequestVO.status eq '-1'}"><span class="label label-default"><c:out value='반려' /></span></c:when>
|
|
|
|
|
</c:choose>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
</tbody>
|
|
|
|
|
</table>
|
2022-03-02 08:31:55 +00:00
|
|
|
</div>
|
|
|
|
|
|
2022-03-03 00:05:00 +00:00
|
|
|
<div class="row justify-content-between bg-white mx-3 mt-4 py-2">
|
2022-03-02 08:31:55 +00:00
|
|
|
<table class="table table-hover text-center">
|
2022-02-15 07:38:58 +00:00
|
|
|
<thead>
|
2022-03-02 08:31:55 +00:00
|
|
|
<h3 class="h4 m-3">지도사용 요청</h3>
|
2022-02-15 07:38:58 +00:00
|
|
|
</thead>
|
|
|
|
|
<tbody>
|
2022-03-02 08:31:55 +00:00
|
|
|
|
2022-02-15 07:38:58 +00:00
|
|
|
<tr>
|
|
|
|
|
<th colspan="2">작업명</th>
|
|
|
|
|
<td><c:out value='${useRequestVO.title}' /></td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<th colspan="2">기간</th>
|
|
|
|
|
<td><c:out value='${useRequestVO.s_date}' /> ~ <c:out value='${useRequestVO.e_date}' /></td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<th colspan="2">장소</th>
|
|
|
|
|
<td id="area_select_td">
|
|
|
|
|
<c:forEach var="item" items="${selectArea}" varStatus="status">
|
|
|
|
|
<div id="addedBlock<c:out value='${status.index}' />">
|
|
|
|
|
<c:out value='' />${item}
|
|
|
|
|
</div>
|
|
|
|
|
</c:forEach>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<th style="width:7%;" rowspan="3">레이어</th>
|
|
|
|
|
<th><label>지하시설물</label></th>
|
|
|
|
|
<td>
|
|
|
|
|
<div class="facility">
|
|
|
|
|
<c:forEach var="item" items="${layersVO}" varStatus="status">
|
|
|
|
|
<c:if test="${item.code eq 'facility'}">
|
|
|
|
|
<c:set var="faciltySize" value="${faciltySize+1}" />
|
|
|
|
|
<label class="layer-label">
|
|
|
|
|
<input type="checkbox" name="${item.code}" id="${item.code}" disabled="disabled" value="${item.layer}"
|
|
|
|
|
<c:forEach var="item2" items="${layers}" varStatus="status2">
|
|
|
|
|
<c:if test="${item.layer eq item2}">
|
|
|
|
|
<c:out value='checked' />
|
|
|
|
|
</c:if>
|
|
|
|
|
</c:forEach>
|
|
|
|
|
/> <c:out value='${item.name}' />
|
|
|
|
|
</label>
|
|
|
|
|
</c:if>
|
|
|
|
|
</c:forEach>
|
|
|
|
|
</div>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<th><label>지하구조물</label></th>
|
|
|
|
|
<td>
|
|
|
|
|
<div class="structure">
|
|
|
|
|
<c:forEach var="item" items="${layersVO}" varStatus="status">
|
|
|
|
|
<c:if test="${item.code eq 'structure'}">
|
|
|
|
|
<label class="layer-label"><input type="checkbox" name="${item.code}" id="${item.code}" disabled="disabled" value="${item.layer}"
|
|
|
|
|
<c:forEach var="item2" items="${layers}" varStatus="status2">
|
|
|
|
|
<c:if test="${item.layer eq item2}">
|
|
|
|
|
<c:out value='checked' />
|
|
|
|
|
</c:if>
|
|
|
|
|
</c:forEach>
|
|
|
|
|
/> <c:out value='${item.name}' />
|
|
|
|
|
</label>
|
|
|
|
|
</c:if>
|
|
|
|
|
</c:forEach>
|
|
|
|
|
</div>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<th><label>지반</label></th>
|
|
|
|
|
<td>
|
|
|
|
|
<div class="ground">
|
|
|
|
|
<c:forEach var="item" items="${layersVO}" varStatus="status">
|
|
|
|
|
<c:if test="${item.code eq 'ground'}">
|
|
|
|
|
<label class="layer-label"><input type="checkbox" name="${item.code}" id="${item.code}" disabled="disabled" value="${item.layer}"
|
|
|
|
|
<c:forEach var="item2" items="${layers}" varStatus="status2">
|
|
|
|
|
<c:if test="${item.layer eq item2}">
|
|
|
|
|
checked
|
|
|
|
|
</c:if>
|
|
|
|
|
</c:forEach>
|
|
|
|
|
/> <c:out value='${item.name}' />
|
|
|
|
|
</label>
|
|
|
|
|
</c:if>
|
|
|
|
|
</c:forEach>
|
|
|
|
|
</div>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
2022-03-02 08:31:55 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
<tr>
|
|
|
|
|
<th colspan="2">요청 내용</th>
|
|
|
|
|
<td><c:out value='${useRequestVO.user_msg}' /></td>
|
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
|
|
|
2022-02-15 07:38:58 +00:00
|
|
|
</tbody>
|
|
|
|
|
</table>
|
2022-03-02 08:31:55 +00:00
|
|
|
</div>
|
2022-02-15 07:38:58 +00:00
|
|
|
|
|
|
|
|
<c:choose>
|
|
|
|
|
<c:when test="${useRequestVO.status eq '99'}">
|
2022-03-03 00:05:00 +00:00
|
|
|
<table class="detail_table mx-3" >
|
2022-02-15 07:38:58 +00:00
|
|
|
<tbody>
|
|
|
|
|
<tr>
|
|
|
|
|
<th>전달 메세지</th>
|
|
|
|
|
<td>
|
|
|
|
|
<textarea class="form-control" rows="3" style="resize:none;" name="admin_msg"></textarea>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
</tbody>
|
|
|
|
|
</table>
|
|
|
|
|
<input type="hidden" name="status" id="status" />
|
|
|
|
|
</div>
|
2022-03-02 08:31:55 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="row justify-content-between bg-white mx-3 py-2">
|
|
|
|
|
<div class="section_btn">
|
|
|
|
|
<p class="search_p1">
|
|
|
|
|
<input class="btn btn-primary" type="button" value="목록" onclick="location.href='/admin/request'" />
|
|
|
|
|
</p>
|
|
|
|
|
<p class="search_p2">
|
|
|
|
|
<input class="btn btn-danger" type="button" value="거절" onclick="confirmReqBtn('-1'); return false;" />
|
|
|
|
|
<input class="btn btn-success" type="button" value="승인" onclick="confirmReqBtn('0'); return false;" />
|
|
|
|
|
</p>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
2022-02-15 07:38:58 +00:00
|
|
|
</c:when>
|
|
|
|
|
<c:otherwise>
|
2022-03-03 00:05:00 +00:00
|
|
|
|
|
|
|
|
<table class="detail_table bg">
|
2022-02-15 07:38:58 +00:00
|
|
|
<tbody>
|
|
|
|
|
<tr>
|
|
|
|
|
<th>전달 메세지</th>
|
|
|
|
|
<td><c:out value='${useRequestVO.admin_msg}' /></td>
|
|
|
|
|
</tr>
|
|
|
|
|
</tbody>
|
|
|
|
|
</table>
|
2022-03-02 08:31:55 +00:00
|
|
|
|
2022-03-03 00:05:00 +00:00
|
|
|
|
2022-02-15 07:38:58 +00:00
|
|
|
<div class="section_btn">
|
|
|
|
|
<p class="search_p1">
|
|
|
|
|
<input class="btn btn-primary" type="button" value="목록" onclick="location.href='/admin/request'" />
|
|
|
|
|
</p>
|
|
|
|
|
</div>
|
2022-03-02 08:31:55 +00:00
|
|
|
|
2022-02-15 07:38:58 +00:00
|
|
|
</c:otherwise>
|
|
|
|
|
</c:choose>
|
|
|
|
|
</form:form>
|
|
|
|
|
|
2022-02-22 04:33:20 +00:00
|
|
|
|