/** - ¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì Áø·á - »çº»¹ßÇà( SMMRC03000_»çº»¹ßÇà.xrw - JScript ) - Version : 1) : Ver.1.00.01 - ¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì /** * @group : * @ver : * @by : ÀÌâ·Ï 2008-08-29 * @--------------------------------------------------- * @type : function * @access : public * @desc : È­¸é ÃʱâÈ­ * @param : * @return : * @--------------------------------------------------- */ function fInit_SMMRC03000() { //test //var userinfo ="0330"; //var userid ="98015255"; // getUserInfo("dutplcecd")="2060000000" model.removeNodeset("/root/main/apphist/applist"); zbcfGetCodeList(new Array("P0001","M0332"),new Array("/root/init/common/ioflaglist","/root/init/common/issgoalcd"),true) if(checkOpener()){ var copy_paramid = opener.javascript.getParameter("SMMRC03000_param_pid"); model.setValue("/root/main/appinfo/patinfo/pid",copy_paramid); var userinfo = getUserInfo("dutplcecd"); var userid = getUserId(); userid = userid.getTrim(); if(userinfo == "3230000000"){ zsdfGetInOutOrdDeptList(getUserInfo("dutplceinstcd"),"/root/init/deptlist","depthngnm","asc");//Àüü Áø·á°ú cmb_dept.refresh(); model.setValue("/root/main/appinfo/patinfo/appdeptcd",getUserInfo("dutplcecd")); zsufGetOrdDeptDoctorList("none", getUserInfo("dutplceinstcd"), cmb_dept.value, "/root/init/userinfo/userlist", "usernm", "asc")//ÇØ´ç ÁÖÄ¡ÀÇ model.setValue("/root/main/appinfo/patinfo/appmanid",userid); cmd_appmanid.refresh(); }else{ cmb_dept.disabled = false; cmd_appmanid.disabled = false; zsdfGetInOutOrdDeptList(getUserInfo("dutplceinstcd"),"/root/init/deptlist","depthngnm","asc");//Àüü Áø·á°ú cmb_dept.refresh(); } } }else{ var userinfo = getUserInfo("dutplcecd"); var userid = getUserId(); userid = userid.getTrim(); if(userinfo == "3230000000"){ zsdfGetInOutOrdDeptList(getUserInfo("dutplceinstcd"),"/root/init/deptlist","depthngnm","asc");//Àüü Áø·á°ú cmb_dept.refresh(); model.setValue("/root/main/appinfo/patinfo/appdeptcd",getUserInfo("dutplcecd")); zsufGetOrdDeptDoctorList("none", getUserInfo("dutplceinstcd"), cmb_dept.value, "/root/init/userinfo/userlist", "usernm", "asc")//ÇØ´ç ÁÖÄ¡ÀÇ model.setValue("/root/main/appinfo/patinfo/appmanid",userid); cmd_appmanid.refresh(); }else{ cmb_dept.disabled = false; cmd_appmanid.disabled = false; zsdfGetInOutOrdDeptList(getUserInfo("dutplceinstcd"),"/root/init/deptlist","depthngnm","asc");//Àüü Áø·á°ú cmb_dept.refresh(); } } fHistSearch(); //model.refresh(); } /** * @group : * @ver : * @by : ÀÌâ·Ï 2008-08-29 * @--------------------------------------------------- * @type : function * @access : public * @desc : ÀÌÀü»çº»¹ßÇà ³»¿ª Á¶È¸ * @param : * @return : * @--------------------------------------------------- */ function fHistSearch() { //test pid ="74" //model.makeValue("/root/send/cond/pid",model.getValue("/root/main/appinfo/patinfo/pid")); model.makeValue("/root/send/cond/pid","74"); if(submit("TRMRC01201")){ } } /** * @group : * @ver : * @by : ÀÌâ·Ï 2008-08-29 * @--------------------------------------------------- * @type : function * @access : public * @desc : »çº»¹ßÇà ¸ñÀû ÆË¾÷ È£Ãâ(»çº»¹ßÇà½Åû È­¸é°ú µ¿ÀÏ) * @param : * @return : * @--------------------------------------------------- */ function fIssGoalPopUp(){ var sIssUsge = ""; var sIssUsgeCnt = 0; var sIssGoalEtcYN = false; var sIssGoalEtc = ""; var sIssGoalEtcCd = ""; var sIssGoalCd = ""; var sStndRow = 0; setParameter("SPMMR02200_multichkyn", "Y"); modal("SPMMR02200"); sIssUsge = model.getValue("/root/main/issusge"); sIssUsgeCnt = model.getValue("/root/main/issusge").split("¢Ì").length; if(sIssUsge != ""){ for(var i=1; i 0){ messageBox("¼±ÅÃÇϽŠ»çº»¹ßÇà¸ñÀûÀº ÀÌ¹Ì ½ÅûµÇ¾ú½À´Ï´Ù. ´Ù½Ã","C002"); return; }*/ if(sIssGoalCd == "99"){ sIssGoalEtcYN = true; } sIssGoalEtcCd += sIssGoalCd; } if(sIssGoalEtcYN == true){ ipt_issgoaletc.disabled = false; }else{ model.setValue("/root/main/appinfo/copyinfo/issgoaletcnm",""); ipt_issgoaletc.disabled = true; } if(sIssGoalEtcCd.indexOf("06") > -1){ messageBox("Á÷ÇÒº´¿ø¿ë : ÁÖÄ¡Àǰ¡ 8°³ Á÷ÇÒ º´¿øÀ¸·Î À̵¿ÇÏ¿© ȯÀÚµµ ÇÔ²² Àü¿ø °¡±â¸¦ Èñ¸ÁÇÏ´Â °æ¿ì ¼±ÅÃ","E008"); } model.setValue("/root/main/appinfo/copyinfo/issgoaletc", sIssGoalEtc); model.setValue("/root/main/appinfo/copyinfo/issgoaletccd", sIssGoalEtcCd); } model.refresh(); }