123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178 |
- <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
- <%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
- <%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
- <%@ page language="java" contentType="text/html; charset=UTF-8"
- pageEncoding="UTF-8"%>
- <jsp:include page="${data._INCLUDE}/header.jsp"></jsp:include>
- <script>
- $( function(){
- $( "#newForm" ).validate({
- rules: {
- phoneNumber : {
- phoneValid : true
- },
- passwordConfirm : {
- equalTo: "#passwordNew"
- },
- passwordNew :{
- passwordValid : true
- }
- },
- messages : {
- passwordConfirm : {
- equalTo: "신규 비밀번호가 일치하지 않습니다."
- }
- },
- onkeyup: function( element, event ) {
- $( element ).valid();
- },
- onfocusout: function (element) {
- $( element ).val( $.trim( $( element ).val() ) );
- $( element ).valid();
- },
- submitHandler: function(form) {
- $("#mainAddr").removeAttr("disabled");
- form.submit();
- }
- });
- })
- </script>
- </head>
- <body>
- <div class="wrapper">
- <jsp:include page="${data._INCLUDE}/sidebar.jsp"></jsp:include>
-
- <div class="main">
- <jsp:include page="${data._INCLUDE}/top.jsp"></jsp:include>
- <main class="content">
- <div class="container-fluid p-0">
- <!-- 환자관리 : 신규환자 등록 START -->
- <div class="row">
- <div class="col-12 col-lg-6">
- <h1 class="h3 mb-3">생활치료센터 비대면진료시스템 API 서비스</h1>
- </div>
- <div class="col-12 col-lg-6 text-right">
- <nav aria-label="breadcrumb">
- <ol class="breadcrumb">
- <li class="breadcrumb-item"><a href="javscript:;">Home</a></li>
- <li class="breadcrumb-item active">API 서비스 신청</li>
- </ol>
- </nav>
- </div>
- </div>
- <div class="row">
- <div class="col-12">
- <div class="card">
- <form action="./accept" id="newForm" method="post">
- <c:if test="${info.useYn ne 'D'}"><input type="hidden" value="${info.idx}" name="idx">
- <input type="hidden" value="<c:if test="${info.useYn eq 'W'}">C</c:if><c:if test="${info.useYn eq 'C'}">D</c:if>" name="useYn"></c:if>
- <div class="card-body">
- <table class="table mobile-table">
- <colgroup>
- <col style="width:15%">
- <col style="width:35%">
- <col style="width:15%">
- <col style="width:35%">
- </colgroup>
- <tr>
- <th>신청자 명</th>
- <td colspan="3">
- <c:out value="${info.managerName}" />
- </td>
- </tr>
- <tr>
- <th>병원 명</th>
- <td colspan="3">
- <c:out value="${info.cooperativeName}" />
- </td>
- </tr>
- <tr>
- <th>부서 명</th>
- <td colspan="3">
- <c:out value="${info.departmentName}" />
- </td>
- </tr>
- <tr>
- <th>이메일 주소</th>
- <td colspan="3">
- <c:out value="${info.managerEmail}" />
- </td>
- </tr>
- <tr>
- <th>전화번호</th>
- <td colspan="3">
- <c:out value="${info.managerPhone}" />
- </td>
- </tr>
- <c:if test="${info.useYn eq 'C'}">
- <tr>
- <th>api key</th>
- <td colspan="3">
- <c:out value="${info.apiKey}" />
- </td>
- </tr>
- </c:if>
- <tr>
- <th>센터코드</th>
- <td colspan="3">
- <c:out value="${info.centerCode}" />
- </td>
- </tr>
- <tr>
- <th>신청일</th>
- <td colspan="3">
- <c:out value="${info.requestDate}" />
- </td>
- </tr>
- <c:if test="${info.useYn eq 'C'}">
- <tr>
- <th>승인일</th>
- <td colspan="3">
- <c:out value="${info.acceptDate}" />
- </td>
- </tr>
- </c:if>
- <c:if test="${info.useYn eq 'D'}">
- <tr>
- <th>해제일</th>
- <td colspan="3">
- <c:out value="${info.expireDate}" />
- </td>
- </tr>
- </c:if>
- <tr>
- <th>생성일</th>
- <td colspan="3">
- <c:out value="${info.createDate}" />
- </td>
- </tr>
- <tr>
- <th>사용 목적</th>
- <td colspan="3">
- <c:out value="${info.usePurpose}" />
- </td>
- </tr>
- </table>
- <div class="row mt-3">
- <div class="col-12">
- <div class="text-right">
- <c:if test="${info.useYn ne 'D'}"><button type="submit" class="btn btn-primary w100"><c:if test="${info.useYn eq 'W'}">승인</c:if><c:if test="${info.useYn eq 'C'}">해제</c:if></button></c:if>
- <button type="button" class="btn btn-primary w100" onclick="location.href='./list';">목록</button>
- </div>
- </div>
- </div>
- </div>
- </form>
- </div>
- </div>
- </div>
- <!-- 환자관리 : 신규환자 등록 END -->
- </div>
- </main>
- <jsp:include page="${data._INCLUDE}/footer.jsp"></jsp:include>
- </div>
- </div>
- </body>
- </html>
|