12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970 |
- /* --------------------------------------------------------
- 교직원신앙교육현황조회 (SMAYA02600.xfm - JScript )
- - Version :
- 1) : Ver.1.00.01
- : Create By 임여원
- : 2015.05.02
- -------------------------------------------------------- */
- /**
- * @group :
- * @ver : 2008.01.09
- * @by : Lim YeoWon
- * @---------------------------------------------------
- * @type : function
- * @access : public
- * @desc : 교직원신앙교육현황조회 화면의 초기화 함수
- * @---------------------------------------------------
- */
- function fInit() {
-
- var CurrentDate=getCurrentDate(); //현재 일자 변수 CurrentDate에 저장
-
- model.setValue("/root/workinit/searchinfo/fromdd",CurrentDate.substr(0,6)+"01"); //현재 달의 시작일 셋팅
- model.setValue("/root/workinit/searchinfo/todd",CurrentDate); //현재 날짜 셋팅
-
- model.removeNodeset("/root/init/clsnmlist/clsnmlistinfo");
- submit("TRAYA02602"); //교육명 콤보박스
-
- addComboItem("cmb_clsnm","","","above"); //콤보박스 상단에 아이템(전체)를 추가하는 함수
- model.refresh();
-
- }
-
-
- /* --------------------------------------------------*/
- /* type : function */
- /* access : public */
- /* desc : 교직원 신앙 교육 현항 조회 함수 */
- /* --------------------------------------------------*/
-
- function fEmpRelignEduc(){
-
- model.setValue("/root/workinit/searchinfo/attntrnm",ipt_attntrnm.currentText); //교직원명에 현재 입력한 텍스트를 노드에 저장
- var attntrnm=getStringLength(ipt_attntrnm.currentText); //입력한 교직원 문자열의 길이를 변수 attntrnm에 저장
-
- // if(attntrnm<"4") //교직원 명을 2자리 미만 입력 했을 때 오류 메시지
- // {
- // messageBox("교직원명을 2자리 이상" , "C001");
- // model.setFocus("ipt_attntrnm");
- // return;
- // }
-
- model.removenode("/root/send");
- model.makeValue("/root/send/fromdd", model.getValue("/root/workinit/searchinfo/fromdd")); // 조회시작일자
- model.makeValue("/root/send/todd" , model.getValue("/root/workinit/searchinfo/todd" )); // 조회종료일자
- model.makeValue("/root/send/clscd" , model.getValue("/root/workinit/searchinfo/clscd" )); // 분류코드
- model.makeValue("/root/send/usernm", model.getValue("/root/workinit/searchinfo/attntrnm")); // 교직원id
-
- submit("TRAYA02601"); //조회 서브미션
-
- model.refresh();
- }
- /* ------------------------------------------------- */
- /* ------End Of List ------------------------------- */
- /* -------------------------------------------------- */
|