1
0
Fork 0

docs: 콘솔 제거 및 주석 추가

This commit is contained in:
sychoi 2024-04-30 09:06:24 +09:00
parent db7e9af2f8
commit e2e762e825
2 changed files with 48 additions and 2 deletions

View File

@ -0,0 +1,48 @@
<?php
$cate_id = "STS_ORDER_PROD";
include_once "{$_SERVER['DOCUMENT_ROOT']}/common.inc.php";
include_once _SVC_INC_PATH_ ."/auth_check.php";
include_once _HOME_INC_PATH_ ."/ajax_init.php";
if( !_notAuth("R") ){/************ 권한체크*/
switch( $_REQUEST['mode'] ){
// 작업자 조회
// 설비 조회
// 양품 수량 조회
// 불량 수량 조회
// 과거 불량이력 조회
// 설비 고장등록 조회
// 가동 vs 비가동
case "":
$sql = "";
$params = array(
);
$rst = $baseObj->DB->exec($sql,$params);
$rows = array();
if( $rst ){
$retval['code'] = true;
while( $row = $baseObj->DB->fetch_array($rst) ){
$rows[] = $row;
}
$retval['data'] = $rows;
$retval['mesg'] = "정상적으로 작동하였습니다.";
}else{
$retval['code'] = false;
}
break;
case "o":
break;
}
}
if( !$_REQUEST['no_echo'] ){
echo json_encode($retval);
}

View File

@ -252,8 +252,6 @@ class FieldPop {
// 클릭시 컴포넌트 생성 및 삭제로 페이지 레이아웃 변경
showComponent(com, tab) {
this.activeTab = tab;
console.log(this.activeTab)
console.log(tab)
Object.keys(this.isComponent).map((key)=>{
this.isComponent[key] = com == key ? true : false;