1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586 |
- /**
- * @---------------------------------------------------
- * @desc : HWCI 비예측 공통 초기화
- * @param :
- * @return :
- * @---------------------------------------------------
- */
- function fInitialize(){
-
- ipt_fromdd.value = getCurrentDate().substring(0,6).concat("01");
- ipt_todd.value = getCurrentDate();
-
-
- iviewer_detl.attribute("border-style") = "hidden";
- switch_detl.attribute("border-style") = "hidden";
-
- zbcfGetCodeList(new Array("M0467"),
- new Array("/root/init/hwcikind"),
- true);
-
- switch_detl.visible = true;
- model.toggle("case1");
- model.removeNodeset("/root/main/cond/dethlist/patlist");
- model.refresh();
- cmb_hwcikind.select(0);
-
- //iviewer_detl.src = "SMMQR01200_HWCI_비예측사망.xrw" ;
-
- }
- /**
- * @---------------------------------------------------
- * @desc : HWCI 비예측 공통 - 좌측 리스트화면 조회
- * @param :
- * @return :
- * @---------------------------------------------------
- */
- function fGetPatList(){
-
- var srchKind = model.getValue("/root/main/cond/srchkind");
- var fromdd = model.getValue("/root/main/cond/fromdd");
- var todd = model.getValue("/root/main/cond/todd");
- var ddInterval = getDateInterval(ipt_fromdd.value, ipt_todd.value);
-
- if(srchKind == ""){
- return;
- }
- if(ddInterval > 90){
- messageBox("검색 기간이", "E003", "");
- return;
- }
-
- model.setValue("/root/send/listinfo/srchkind", srchKind);
- model.setValue("/root/send/listinfo/fromdd" , fromdd);
- model.setValue("/root/send/listinfo/todd" , todd);
-
- model.resetInstanceNode("/root/main/cond/dethlist/patlist");
-
- submit("TRMQR01100");
- copyNodeType("/root/main/cond/dethlist", "/root/tmp/patinfo", "replace");
- model.resetInstanceNode("/root/send/listinfo");
-
- model.refresh();
-
- switch(srchKind){
- case "A" : grd_patlist.refresh();
- break;
- case "B" : grd_reinlist.refresh();
- break;
- case "C" : grd_reoprlist.refresh();
- break;
- case "D" : grd_reiculist.refresh();
- break;
- case "E" : grd_reER.refresh();
- break;
- }
- }
-
|