116 lines
3.6 KiB
PHP
116 lines
3.6 KiB
PHP
<?php
|
|
/*
|
|
* @Overview 공정 등록
|
|
* @History 2024-03-05 / 최승연 / 최초작성
|
|
*/
|
|
$cate_id = "BASE_OPERATION";
|
|
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 worker-header">
|
|
<div class="inner-container">
|
|
|
|
<!-- 검색 조건 (인풋) -->
|
|
<div class="search-container">
|
|
|
|
<div class="input-container flexcol gap06">
|
|
<div class="input-box">
|
|
<input type="text" id="OP_NM" placeholder="공정명">
|
|
</div>
|
|
</div>
|
|
|
|
<div class="input-container flexcol gap06">
|
|
<div class="input-box">
|
|
<select name="use_flag" id="USE_FLG">
|
|
<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="excel_down">엑셀 양식 다운로드</button>
|
|
<input type="file" id="fileInput" style="display: none;" accept=".xlsx, .xls">
|
|
<button class="point-btn" id="excel_data">엑셀 다운로드</button>
|
|
<button class="point-btn" id="excel_up">엑셀 업로드</button>
|
|
<button class="point-btn" id="filter_btn">조회</button>
|
|
<button class="point-btn" id="put_btn">저장</button>
|
|
</div>
|
|
</div>
|
|
<!-- 조회 및 저장 버튼 종료 // -->
|
|
|
|
</div>
|
|
</div>
|
|
<!-- 검색 조회 및 저장 종료 // -->
|
|
|
|
|
|
|
|
<!-- 컨텐츠 컨테이너 -->
|
|
<div class="contents-container">
|
|
|
|
<!-- 테이블 컨테이너 -->
|
|
<div class="table-container" id="item_container">
|
|
<div class="inner-container">
|
|
|
|
<div class="table-box" id="operation_table">
|
|
<!-- 테이블 헤더 (제목, 추가, 삭제, 저장) -->
|
|
<div class="table-title">
|
|
<p class="title">공정
|
|
<span>※표시순서 기본값은 5이며 중복시 공정코드순으로 정렬됩니다.</span>
|
|
</p>
|
|
<!-- 버튼 -->
|
|
<div class="button-box">
|
|
<button class="add-btn reverse-btn" id="add_btn">
|
|
<?php include _SVC_INC_PATH_ . '/img/add.php' ?>
|
|
추가
|
|
</button>
|
|
<button class="remove-btn reverse-btn" id="remove_btn">
|
|
<?php include _SVC_INC_PATH_ . '/img/delete.php' ?>
|
|
삭제
|
|
</button>
|
|
</div>
|
|
<!-- 버튼 종료 // -->
|
|
|
|
</div>
|
|
<!-- 테이블 헤더 종료 // -->
|
|
|
|
<!-- 테이블 -->
|
|
<div class="tb-height-full">
|
|
<div class="hy-table"></div>
|
|
</div>
|
|
<!-- 테이블 종료 // -->
|
|
|
|
</div>
|
|
<!-- 테이블 종료 // -->
|
|
|
|
</div>
|
|
</div>
|
|
<!-- 테이블 컨테이너 종료 // -->
|
|
|
|
</div>
|
|
<!-- 컨텐츠 컨테이너 종료 // -->
|
|
|
|
</div>
|
|
<!-- 메인 섹션 종료 // -->
|
|
</div>
|
|
|
|
|
|
<?php include_once _SVC_INC_PATH_ . "/footer_common.php"; ?>
|
|
<script src="./operation.js"></script>
|
|
<script src="./operation_excel.js"></script>
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/xlsx/0.17.5/xlsx.full.min.js"></script>
|
|
<?php
|
|
include_once _SVC_INC_PATH_ . "/footer.php";
|
|
include_once _SVC_INC_PATH_ . "/menualBtn.php";
|