<?php
/*
 * @Overview 부서 등록
 * @History 2024-03-04 / 최승연 / 최초작성
 */
$cate_id = "BASE_DEPT";
include_once "{$_SERVER['DOCUMENT_ROOT']}/common.inc.php";
include_once _SVC_INC_PATH_ . "/header.php";

?>

<div class="container">
  <!-- 사이드바 불러오기 -->
  <?php include_once _SVC_INC_PATH_ . "/sidebar.php"; ?>
  <!-- 사이드바 불러오기 종료 // -->

    <!-- 검색 조회 및 저장 -->
    <div class="table-header item-header">
      <div class="inner-container">

        <!-- 검색 조건 (인풋) -->
        <div class="search-container">

          <div class="input-container flexcol gap06">
            <div class="input-box">
              <input type="text" id="BIZ_AREA_NM" placeholder="사업장명">
            </div>
          </div>

          <div class="input-container flexcol gap06">
            <div class="input-box">
              <input type="text" id="DEPT_NM" placeholder="부서명">
            </div>
          </div>
          
          <div class="input-container flexcol gap06">
            <div class="input-box">
              <select name="use_flag" id="use_flag">
                <option value="">- 전체 -</option>
                <option value="Y" selected>- 사용 -</option>
                <option value="N">- 미사용 -</option>
              </select>
            </div>
          </div>
        </div>
        <!-- 검색 조건 종료 // -->

        <!-- 조회 및 저장 버튼 -->
        <div class="button-container">
          <div class="button-box">

            <button class="point-btn" id="filter_btn">조회</button>
            <button class="point-btn" id="put_btn">저장</button>
          </div>
        </div>
        <!-- 조회 및 저장 버튼 종료 // -->

      </div>
    </div>
    <!-- 검색 조회 및 저장 종료 // -->
    <div>
    <div id="reactTest">
</div>
    <!-- 컨텐츠 컨테이너 -->
    <!-- <div class="contents-container"> -->

      <!-- 테이블 컨테이너 -->
      <!-- <div class="table-container">
        <div class="inner-container">

          <div class="table-box" id="main_container"> -->
            <!-- 테이블 헤더 (제목, 추가, 삭제, 저장) -->
            <!-- <div class="table-title">
              <p class="title">부서정보</p> -->

              <!-- 버튼 -->
              <!-- <div class="button-box">/
                <button class="add-btn reverse-btn" id="add_facility">
                  <?php// include _SVC_INC_PATH_ . '/img/add.php' ?>
                  추가
                </button>
                <button class="remove-btn reverse-btn" id="remove_facility">
                  <?php //include _SVC_INC_PATH_ . '/img/delete.php' ?>
                  삭제
                </button>

                  <button class="width-btn reverse-btn" id="width-btn">테이블 컬럼 너비</button>
              </div> -->
              <!-- 버튼 종료 // -->

            <!-- </div> -->
            <!-- 테이블 헤더 종료 // -->

            <!-- 테이블 -->
            <!-- <div class="tb-height-full">
              <div class="hy-table" id="dept_table"></div>
            </div> -->
            <!-- 테이블 종료 // -->

          <!-- </div> -->

        <!-- </div>
      </div> -->
      <!-- 테이블 컨테이너 종료 // -->

    <!-- </div> -->
    <!-- 컨텐츠 컨테이너 종료 // -->

  <!-- </div> -->
  <!-- 메인 섹션 종료 // -->
<!-- </div> -->


<?php include_once _SVC_INC_PATH_ . "/footer_common.php"; ?>
<script crossorigin src="https://unpkg.com/react@18/umd/react.development.js"></script>
<script crossorigin src="https://unpkg.com/react-dom@18/umd/react-dom.development.js"></script>
<script src="https://unpkg.com/@babel/standalone/babel.min.js"></script>
<script type="text/babel"src="./dept2.js"></script>

<?php
include_once _SVC_INC_PATH_ . "/footer.php";
include_once _SVC_INC_PATH_ . "/menualBtn.php";