123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- /**
- * @desc : 사용자정보
- * @
- * @param :
- * @return :
- * @---------------------------------------------------
- */
- function fSendUserInfo()
- {
- var rowpos = grd_userlist.row;
- var userid = model.getValue("/root/main/indxlist/item" + "[" + rowpos + "]/userid");
- var usernm = model.getValue("/root/main/indxlist/item" + "[" + rowpos + "]/usernm");
- var deptcd = model.getValue("/root/main/indxlist/item" + "[" + rowpos + "]/deptcd");
- var instcd = model.getValue("/root/main/indxlist/item" + "[" + rowpos + "]/instcd");
- var depthngnm = model.getValue("/root/main/indxlist/item" + "[" + rowpos + "]/depthngnm");
- if (userid != "") {
- parent.window.javascript.fGetUserInfo(userid,usernm,deptcd,depthngnm);
- window.close();
- }
- }
- function fReqUserInfo()
- {
- //debugger;
-
- var srchcond = model.getValue("/root/cond/reqflag");
-
- if(srchcond == "usernm")
- {
- // 한글은 2글자,영어는2글자 이상 조회
- var reqdata = model.getValue("/root/cond/reqdata");
-
- if(reqdata.charCodeAt(0) > 255) // 한글
- {
- if(ipt_srchdata.currentText.length < 2)
- {
- messageBox(rdo_srchflag.label +"을 2자리 이상", "C001");
- return;
- }
- }
- else // 영문
- {
- if(ipt_srchdata.currentText.length < 2)
- {
- messageBox(rdo_srchflag.label +"을 2자리 이상", "C001");
- return;
- }
- }
- }
- submit("TRMRF03201");
- }
|