forked from HANYANG/HANYANG_MES
docs: 콘솔 제거 및 주석 추가
This commit is contained in:
parent
db7e9af2f8
commit
e2e762e825
|
|
@ -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);
|
||||||
|
}
|
||||||
|
|
@ -252,8 +252,6 @@ class FieldPop {
|
||||||
// 클릭시 컴포넌트 생성 및 삭제로 페이지 레이아웃 변경
|
// 클릭시 컴포넌트 생성 및 삭제로 페이지 레이아웃 변경
|
||||||
showComponent(com, tab) {
|
showComponent(com, tab) {
|
||||||
this.activeTab = tab;
|
this.activeTab = tab;
|
||||||
console.log(this.activeTab)
|
|
||||||
console.log(tab)
|
|
||||||
|
|
||||||
Object.keys(this.isComponent).map((key)=>{
|
Object.keys(this.isComponent).map((key)=>{
|
||||||
this.isComponent[key] = com == key ? true : false;
|
this.isComponent[key] = com == key ? true : false;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue