SMZSD00800_센터구성조회.xrw 39 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
  3. <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
  4. <xhtml:head>
  5. <xhtml:title>센터구성조회</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <list>
  11. <cntrorgdeptlist/>
  12. </list>
  13. <search>
  14. <deptmaster>
  15. <deptcd/>
  16. <deptnm/>
  17. <detail/>
  18. </deptmaster>
  19. </search>
  20. <data>
  21. <valifromdd/>
  22. <valitodd/>
  23. <deptcd/>
  24. <depthngnm/>
  25. <deptengnm/>
  26. <deptchinm/>
  27. <depthngabbr/>
  28. <deptengabbr/>
  29. <reqfild/>
  30. <orddeptflag/>
  31. <reqdeptno/>
  32. <nextplceyn/>
  33. <nextplceprity/>
  34. <inetrsrvyn/>
  35. <cntctel/>
  36. <dutplceuseyn/>
  37. <reqauthdeptyn/>
  38. <planuseyn/>
  39. <plansupdeptcd/>
  40. <plandispseq/>
  41. <orduseyn/>
  42. <ordsupdeptcd/>
  43. <orddispseq/>
  44. <clincdeptdispseq/>
  45. <psnworkuseyn/>
  46. <psnworksupdeptcd/>
  47. <psnworkdispseq/>
  48. <purcuseyn/>
  49. <purcsupdeptcd/>
  50. <purcdispseq/>
  51. <fnworkuseyn/>
  52. <fnworksupdeptcd/>
  53. <fnworkdispseq/>
  54. <careuseyn/>
  55. <caresupdeptcd/>
  56. <caredispseq/>
  57. <gafruseyn/>
  58. <gafrsupdeptcd/>
  59. <gafrdispseq/>
  60. <rcptuseyn/>
  61. <rcptsupdeptcd/>
  62. <rcptdispseq/>
  63. <pamuseyn/>
  64. <pamsupdeptcd/>
  65. <pamdispseq/>
  66. <healcareinfouseyn/>
  67. <healcareinfosupdeptcd/>
  68. <healcareinfodispseq/>
  69. <insuuseyn/>
  70. <insusupdeptcd/>
  71. <insudispseq/>
  72. <dgenuseyn/>
  73. <dgensupdeptcd/>
  74. <dgendispseq/>
  75. <homecareuseyn/>
  76. <homecaresupdeptcd/>
  77. <homecaredispseq/>
  78. <instsupdeptcd/>
  79. <instdispseq/>
  80. <instcd/>
  81. <orddeptkind/>
  82. <ordclsdeptflag/>
  83. <inorddeptnm/>
  84. <deptplce/>
  85. <valifromddkey/>
  86. <valitoddkey/>
  87. <supdeptcd/>
  88. <indepthngnm/>
  89. </data>
  90. <label>
  91. <left/>
  92. <right/>
  93. <deptinfo/>
  94. </label>
  95. </main>
  96. <send>
  97. <cntrorgdeptlist/>
  98. <fromdd/>
  99. <dept/>
  100. </send>
  101. <init>
  102. <insuuseyn>
  103. <Z0015>
  104. <cdid/>
  105. <cdnm/>
  106. </Z0015>
  107. </insuuseyn>
  108. <reqdeptnocode>
  109. <P0322>
  110. <cdid/>
  111. <cdnm/>
  112. </P0322>
  113. </reqdeptnocode>
  114. <reqfieldcode>
  115. <P0291>
  116. <cdid/>
  117. <cdnm/>
  118. </P0291>
  119. </reqfieldcode>
  120. </init>
  121. </root>
  122. </instance>
  123. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  124. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  125. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  126. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  127. <script type="javascript" src="../../../com/departmentcodeweb/js/ZSD001.js"/>
  128. <script type="javascript" src="../../../com/departmentcodeweb/js/ZSD003.js"/>
  129. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  130. <script type="javascript" ev:event="xforms-ready">
  131. <![CDATA[
  132. finitalize();
  133. zbcfGetCodeList(
  134. new Array("P0322", "P0291", "Z0015"),
  135. new Array("/root/init/reqdeptnocode", "/root/init/reqfieldcode", "/root/init/insuuseyn")
  136. );
  137. //fInitMainData();
  138. model.refresh();
  139. fInitMainDataControls(true);
  140. ]]>
  141. </script>
  142. <submission id="TRZSD00203" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/list"/>
  143. <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="urlencoded-post" replace="instance"/>
  144. <submission id="TRZBC00102" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
  145. </model>
  146. <script type="javascript">
  147. <![CDATA[
  148. /*
  149. 초기화 작업을 합니다.
  150. */
  151. function finitalize(){
  152. model.removeNodeset("/root/main/list/cntrorgdeptlist");
  153. var toDay = getCurrentDate();
  154. model.setValue("/root/send/fromdd",toDay);
  155. model.refresh();
  156. }
  157. /*
  158. 버튼 컨트롤들을 클릭했을때 공통으로 타는 함수입니다.
  159. control : "search" 는 조회 버튼 클릭
  160. "init"은 신규 버튼 클릭
  161. "save"는 저장 버튼 클릭
  162. grid : 그리드 컨트롤을 넘겨줍니다.
  163. param : 기타 param을 넘겨줍니다.
  164. */
  165. function fClicked(control, grid, param){
  166. if("search" == control){
  167. fSearchClick(grid, param);
  168. } else if("init" == control){
  169. model.reset();
  170. } else if("save" == control){
  171. fSaveClick(grid, param);
  172. } else if("delete" == control){
  173. fDeleteClick(grid, param);
  174. } else {
  175. messageBox("처리를 수행","E002");//권한이 없습니다.
  176. }
  177. }
  178. /*
  179. 조회버튼 클릭 타는 함수입니다.
  180. grid.explorerbar = "sortshow" sort설정합니다.
  181. ipt_search_item은 검색조건의 센터부서명 or 센터부서코드입니다.
  182. submit을 날립니다. .
  183. */
  184. function fSearchClick(grid, param){
  185. grid.explorerbar = "sortshow";
  186. model.removeNodeset("/root/main/list/cntrorgdeptlist");
  187. grid.rebuild();
  188. submit("TRZSD00203");
  189. grd_depthistorylist.rebuild(); //그리드를 초기화하여 현재의 인스턴스 구조로 재구성한다.
  190. setTree(grd_depthistorylist, 1, 2, true);
  191. }
  192. /*
  193. model.getValue(); 를 함수로 만들었습니다.
  194. param1 : node는 grid의 xPath입니다.
  195. param2 : row는 grid에서 선택한 row값입니다.
  196. param3 : element는 getvalue할 해당 element 명입니다.
  197. 해당 getvalue값을 return 해줍니다.
  198. return 하지 않으면 해당값을 가져올 수 없습니다.
  199. */
  200. function fGetValue(node, row, element) {
  201. var rtnValue = model.getValue(node + "[" + row + "]/" + element); //해당 ref 노드값 얻어오기.
  202. return rtnValue;
  203. }
  204. /*
  205. 조회된 노드를 클릭후 그에 해당하는 로우에 대해 추가 입력
  206. */
  207. function fSetRowValue(node, destinationelement, sourceelement, row) {
  208. model.makeValue(node + "[" + row + "]/" + destinationelement, sourceelement);
  209. }
  210. ]]>
  211. </script>
  212. </xhtml:head>
  213. <xhtml:body guideline="1,1194;2,13;2,53;2,1626;2,843;2,797;1,7;">
  214. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:189px; height:14px; ">센터구성조회</caption>
  215. <shape id="roundrect2" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:7px; top:14px; width:1187px; height:39px; background-color:#fffbf2; border-color:#ffd799; "/>
  216. <caption id="caption1" class="search_name" style="left:360px; top:29px; width:154px; height:17px; ">센터구성유효기준일자</caption>
  217. <input id="ipt_fromdd" ref="/root/send/fromdd" class="input_s_essential" navindex="3" inputtype="date" format="yyyy-mm-dd" style="left:529px; top:29px; width:136px; height:19px; "/>
  218. <caption id="caption2" class="search_name" style="left:10px; top:29px; width:117px; height:17px; ">부서조회</caption>
  219. <caption id="caption9" class="tit_2" style="left:15px; top:74px; width:167px; height:14px; vertical-align:middle; ">센터 구성 부서</caption>
  220. <datagrid id="grd_depthistorylist" nodeset="/root/main/list/cntrorgdeptlist" class="datagrid2" caption="level^센터 구성 부서명^상위부서코드^하위부서코드^부서시작일자^부서종료일자^부서영문명칭^부서한문명칭^부서한글약어^부서영문약어^부서영문약어" colsep="^" colwidth="32, 140, 52, 52, 59, 60, 51, 56, 45, 48" ellipsis="true" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:15px; top:105px; width:497px; height:640px; ">
  221. <col ref="level" visibility="hidden"/>
  222. <col ref="depthngnm"/>
  223. <col ref="cntrsupdeptcd" visibility="hidden"/>
  224. <col ref="cntrsubdeptcd" visibility="hidden"/>
  225. <col ref="deptcd" visibility="hidden"/>
  226. <col ref="valifromdd" visibility="hidden"/>
  227. <col ref="valitodd" visibility="hidden"/>
  228. <col ref="deptengnm" visibility="hidden"/>
  229. <col ref="deptchinm" visibility="hidden"/>
  230. <col ref="depthngabbr" visibility="hidden"/>
  231. <col ref="deptengabbr" visibility="hidden"/>
  232. <col ref="reqfild" visibility="hidden"/>
  233. <col ref="orddeptflag" visibility="hidden"/>
  234. <col ref="reqdeptno" visibility="hidden"/>
  235. <col ref="nextplceyn" visibility="hidden"/>
  236. <col ref="nextplceprity" visibility="hidden"/>
  237. <col ref="inetrsrvyn" visibility="hidden"/>
  238. <col ref="cntctel" visibility="hidden"/>
  239. <col ref="dutplceuseyn" visibility="hidden"/>
  240. <col ref="reqauthdeptyn" visibility="hidden"/>
  241. <col ref="planuseyn" visibility="hidden"/>
  242. <col ref="plansupdeptcd" visibility="hidden"/>
  243. <col ref="plandispseq" visibility="hidden"/>
  244. <col ref="orduseyn" visibility="hidden"/>
  245. <col ref="ordsupdeptcd" visibility="hidden"/>
  246. <col ref="orddispseq" visibility="hidden"/>
  247. <col ref="clincdeptdispseq" visibility="hidden"/>
  248. <col ref="psnworkuseyn" visibility="hidden"/>
  249. <col ref="psnworksupdeptcd" visibility="hidden"/>
  250. <col ref="psnworkdispseq" visibility="hidden"/>
  251. <col ref="purcuseyn" visibility="hidden"/>
  252. <col ref="purcsupdeptcd" visibility="hidden"/>
  253. <col ref="purcdispseq" visibility="hidden"/>
  254. <col ref="fnworkuseyn" visibility="hidden"/>
  255. <col ref="fnworksupdeptcd" visibility="hidden"/>
  256. <col ref="fnworkdispseq" visibility="hidden"/>
  257. <col ref="careuseyn" visibility="hidden"/>
  258. <col ref="caresupdeptcd" visibility="hidden"/>
  259. <col ref="caredispseq" visibility="hidden"/>
  260. <col ref="gafruseyn" visibility="hidden"/>
  261. <col ref="gafrsupdeptcd" visibility="hidden"/>
  262. <col ref="gafrdispseq" visibility="hidden"/>
  263. <col ref="rcptuseyn" visibility="hidden"/>
  264. <col ref="rcptsupdeptcd" visibility="hidden"/>
  265. <col ref="rcptdispseq" visibility="hidden"/>
  266. <col ref="pamuseyn" visibility="hidden"/>
  267. <col ref="pamsupdeptcd" visibility="hidden"/>
  268. <col ref="pamdispseq" visibility="hidden"/>
  269. <col ref="healcareinfouseyn" visibility="hidden"/>
  270. <col ref="healcareinfosupdeptcd" visibility="hidden"/>
  271. <col ref="healcareinfodispseq" visibility="hidden"/>
  272. <col ref="insuuseyn" visibility="hidden"/>
  273. <col ref="insusupdeptcd" visibility="hidden"/>
  274. <col ref="insudispseq" visibility="hidden"/>
  275. <col ref="dgenuseyn" visibility="hidden"/>
  276. <col ref="dgensupdeptcd" visibility="hidden"/>
  277. <col ref="dgendispseq" visibility="hidden"/>
  278. <col ref="homecareuseyn" visibility="hidden"/>
  279. <col ref="homecaresupdeptcd" visibility="hidden"/>
  280. <col ref="homecaredispseq" visibility="hidden"/>
  281. <col ref="instsupdeptcd" visibility="hidden"/>
  282. <col ref="instdispseq" visibility="hidden"/>
  283. <col ref="instcd" visibility="hidden"/>
  284. <col ref="orddeptkind" visibility="hidden"/>
  285. <col ref="ordclsdeptflag" visibility="hidden"/>
  286. <col ref="inorddeptnm" visibility="hidden"/>
  287. <col ref="deptplce" visibility="hidden"/>
  288. <col ref="supdeptcd" visibility="hidden"/>
  289. <col ref="indepthngnm" visibility="hidden"/>
  290. <script type="javascript" ev:event="ondblclick">
  291. <![CDATA[
  292. btn_search_deptinfo.dispatch("DOMActivate");
  293. ]]>
  294. </script>
  295. </datagrid>
  296. <button id="btn_search_deptinfo" class="btn2_letter2" visibility="hidden" style="left:320px; top:67px; width:42px; height:19px; ">
  297. <caption>조회</caption>
  298. <script type="javascript" ev:event="DOMActivate">
  299. <![CDATA[
  300. /* datagrid
  301. explorerbar : 사용자가 그리드 열의 헤더(캡션) 을 사용하여 할 수 있는 동작을 설정하는 속성이다.
  302. sortshow : sort기능을 하며 헤더에 작은 화살표시로 정렬 방식 을 표현 (오름차순, 내림차순)
  303. */
  304. fInitMainDataControls(false);
  305. fHistoryGrid2Main();
  306. fInitMainDataControls(true);
  307. model.refresh();
  308. ]]>
  309. </script>
  310. </button>
  311. <line id="line15" class="line_1" style="x1:0px; y1:90px; x2:1194px; y2:90px; "/>
  312. <input id="ipt_searchcntrdept" ref="/root/main/search/deptmaster/deptnm" class="input_s_essential" navindex="32" inputtype="button" style="left:99px; top:29px; width:180px; height:19px; ">
  313. <script type="javascript" ev:event="onbuttonclick">
  314. <![CDATA[
  315. var deptcd = model.getValue("/root/main/search/deptmaster/deptcd").getTrim();
  316. var deptnm = model.getValue("/root/main/search/deptmaster/deptnm").getTrim();
  317. var selected_index = -1;
  318. if(deptcd!=""&&deptnm!=""){
  319. selected_index = fFindGridTreeItem(grd_depthistorylist, deptcd, grd_depthistorylist.colRef("deptcd"), grd_depthistorylist.colRef("level"));
  320. if(selected_index==-1){
  321. var deptnm = model.getValue("/root/main/search/cntrorg/deptnm").getTrim();
  322. alert("해당 부서(부서코드:"+deptcd+",부서명:"+deptnm+")이 존재하지 않습니다.");
  323. }else{
  324. grd_depthistorylist.row = selected_index;
  325. grd_depthistorylist.topRow = selected_index;
  326. }
  327. }
  328. ]]>
  329. </script>
  330. </input>
  331. <img id="img2" class="icon_search" style="left:284px; top:29px; width:16px; height:16px; background-stretch:stretch; ">
  332. <script type="javascript" ev:event="onclick">
  333. <![CDATA[
  334. if(grd_depthistorylist.rows<2){
  335. alert("조회된 센터구성리스트가 없습니다.");
  336. return;
  337. }
  338. var search_condition = "deptnm";
  339. var search_term = model.getValue("/root/main/search/deptmaster/deptnm");
  340. var receive_deptcd_path = "/root/main/search/deptmaster/deptcd";
  341. var receive_deptnm_path = "/root/main/search/deptmaster/deptnm"
  342. var receive_detail_path = "/root/main/search/deptmaster/detail";
  343. var standard_yn = null;
  344. var ord_deptflag = null;
  345. zbcfOpenInstDeptCodeList(
  346. search_condition,
  347. search_term,
  348. receive_deptcd_path,
  349. receive_deptnm_path,
  350. standard_yn,
  351. ord_deptflag,
  352. new Array("deptcd", "depthngnm"),
  353. receive_detail_path
  354. );
  355. var selected_index = -1;
  356. var deptcd =model.getValue("/root/main/search/deptmaster/deptcd");
  357. var deptnm =model.getValue("/root/main/search/deptmaster/deptnm");
  358. if(deptcd!=""&&deptnm!=""){
  359. selected_index = fFindGridTreeItem(grd_depthistorylist, deptcd, grd_depthistorylist.colRef("subdeptcd"), grd_depthistorylist.colRef("level"));
  360. if(selected_index==-1){
  361. var deptnm = model.getValue("/root/main/search/deptmaster/deptnm").getTrim();
  362. alert("해당 부서(부서코드:"+deptcd+",부서명:"+deptnm+")이 존재하지 않습니다.");
  363. }else{
  364. grd_depthistorylist.row = selected_index;
  365. grd_depthistorylist.topRow = selected_index;
  366. }
  367. }
  368. ]]>
  369. </script>
  370. </img>
  371. <button id="button3" class="btn1_letter2" style="left:740px; top:29px; width:56px; height:22px; ">
  372. <caption>조회</caption>
  373. <script type="javascript" ev:event="DOMActivate">
  374. <![CDATA[
  375. fClicked("search", grd_depthistorylist);
  376. ]]>
  377. </script>
  378. </button>
  379. <line id="line12" class="line_4" style="x1:726px; y1:29px; x2:726px; y2:51px; border-color:#ffe4bb; border-left-style:solid; "/>
  380. <group id="group_master" style="left:373px; top:67px; width:145px; height:19px; ">
  381. <button id="btn_clsdepttotalopen" class="btn2_letter5" style="left:0px; top:0px; width:75px; height:19px; ">
  382. <caption>전체펼치기</caption>
  383. <script type="javascript" ev:event="DOMActivate">
  384. <![CDATA[
  385. for(var i=grd_depthistorylist.fixedRows; i<grd_depthistorylist.rows;i++){
  386. grd_depthistorylist.iscollapsed(i)=false;
  387. }
  388. ]]>
  389. </script>
  390. </button>
  391. <button id="btn_clsdepttotalclose" class="btn2_letter4" style="left:76px; top:0px; width:64px; height:19px; ">
  392. <caption>전체닫기</caption>
  393. <script type="javascript" ev:event="onclick">
  394. <![CDATA[
  395. for(var i=grd_depthistorylist.fixedRows; i<grd_depthistorylist.rows;i++){
  396. grd_depthistorylist.iscollapsed(i)=true;
  397. }
  398. ]]>
  399. </script>
  400. </button>
  401. </group>
  402. <img id="img4" class="icon_right" style="left:612px; top:250px; width:26px; height:19px; background-stretch:stretch; ">
  403. <script type="javascript" ev:event="onclick">
  404. <![CDATA[
  405. ]]>
  406. </script>
  407. </img>
  408. <caption id="caption8" class="tit_2" style="left:730px; top:75px; width:167px; height:13px; vertical-align:middle; ">기관부서 상세정보 보기</caption>
  409. <select1 id="cmb_pamuseyn" ref="/root/main/data/pamuseyn" class="combo_essential" navindex="30" appearance="minimal" style="left:854px; top:726px; width:50px; height:19px; ">
  410. <choices>
  411. <item>
  412. <label>N</label>
  413. <value>N</value>
  414. </item>
  415. <item>
  416. <label>Y</label>
  417. <value>Y</value>
  418. </item>
  419. </choices>
  420. </select1>
  421. <caption id="caption70" class="cell_1" style="left:728px; top:701px; width:125px; height:23px; vertical-align:middle; ">재무 사용여부</caption>
  422. <input id="ipt_deptengnm" ref="/root/main/data/deptengnm" class="input_essential" navindex="5" imemode="disabled" maxlength="60" style="left:854px; top:202px; width:228px; height:19px; ">
  423. <script type="javascript" ev:event="onkeyup">
  424. <![CDATA[
  425. var strlen = 0;
  426. var str = ipt_deptengnm.currentText
  427. for (var i=0; i<str.length; i++) {
  428. strlen += (str.charCodeAt(i) > 128) ? 2 : 1;
  429. if (strlen > 64) {
  430. messageBox("최대입력글자인 64byte를 ", "E003");
  431. strlen -= (str.charCodeAt(i) > 128) ? 2 : 1;
  432. break;
  433. }
  434. }
  435. ]]>
  436. </script>
  437. </input>
  438. <select1 id="cmb_healcareinfouseyn" ref="/root/main/data/healcareinfouseyn" class="combo_essential" navindex="26" appearance="minimal" style="left:854px; top:678px; width:50px; height:19px; ">
  439. <choices>
  440. <item>
  441. <label>N</label>
  442. <value>N</value>
  443. </item>
  444. <item>
  445. <label>Y</label>
  446. <value>Y</value>
  447. </item>
  448. </choices>
  449. </select1>
  450. <caption id="caption71" class="cell_1" style="left:728px; top:629px; width:125px; height:23px; vertical-align:middle; ">기획 사용여부</caption>
  451. <select1 id="cmb_ordclsdeptflag" ref="/root/main/data/ordclsdeptflag" class="combo_essential" navindex="19" appearance="minimal" style="left:815px; top:581px; width:80px; height:19px; ">
  452. <choices>
  453. <item>
  454. <label>분과</label>
  455. <value>C</value>
  456. </item>
  457. <item>
  458. <label>대표과</label>
  459. <value>R</value>
  460. </item>
  461. </choices>
  462. </select1>
  463. <input id="ipt_depthngabbr" ref="/root/main/data/depthngabbr" class="input_essential" navindex="7" maxlength="21" style="left:854px; top:298px; width:228px; height:19px; ">
  464. <script type="javascript" ev:event="onkeyup">
  465. <![CDATA[
  466. var strlen = 0;
  467. var str = ipt_depthngabbr.currentText
  468. for (var i=0; i<str.length; i++) {
  469. strlen += (str.charCodeAt(i) > 128) ? 2 : 1;
  470. if (strlen > 64) {
  471. messageBox("최대입력글자인 64byte를 ", "E003");
  472. strlen -= (str.charCodeAt(i) > 128) ? 2 : 1;
  473. break;
  474. }
  475. }
  476. ]]>
  477. </script>
  478. </input>
  479. <input id="ipt_inorddeptnm" ref="/root/main/data/inorddeptnm" class="input_essential" navindex="4" maxlength="21" style="left:854px; top:179px; width:228px; height:19px; ">
  480. <script type="javascript" ev:event="onkeyup">
  481. <![CDATA[
  482. var strlen = 0;
  483. var str = ipt_inorddeptnm.currentText
  484. for (var i=0; i<str.length; i++) {
  485. strlen += (str.charCodeAt(i) > 128) ? 2 : 1;
  486. if (strlen > 64) {
  487. messageBox("최대입력글자인 64byte를 ", "E003");
  488. strlen -= (str.charCodeAt(i) > 128) ? 2 : 1;
  489. break;
  490. }
  491. }
  492. ]]>
  493. </script>
  494. </input>
  495. <caption id="caption61" class="cell_1" style="left:728px; top:557px; width:86px; height:23px; vertical-align:middle; ">진료부서구분</caption>
  496. <caption id="caption72" class="cell_1" style="left:728px; top:437px; width:125px; height:23px; vertical-align:middle; ">전화번호</caption>
  497. <caption id="caption51" class="cell_1" style="left:905px; top:701px; width:125px; height:23px; vertical-align:middle; ">총무 사용여부</caption>
  498. <caption id="caption40" class="cell_1" style="left:728px; top:677px; width:125px; height:23px; vertical-align:middle; ">의료정보 사용여부</caption>
  499. <select1 id="cmb_insuuseyn" ref="/root/main/data/insuuseyn" class="combo_essential" navindex="21" appearance="minimal" style="left:856px; top:606px; width:221px; height:19px; ">
  500. <choices>
  501. <itemset nodeset="/root/init/insuuseyn/Z0015">
  502. <label ref="cdnm"/>
  503. <value ref="cdid"/>
  504. </itemset>
  505. </choices>
  506. </select1>
  507. <select1 id="cmb_orddeptflag" ref="/root/main/data/orddeptflag" class="combo_essential" navindex="19" appearance="minimal" style="left:815px; top:557px; width:95px; height:19px; ">
  508. <choices>
  509. <item>
  510. <label>입원진료과</label>
  511. <value>D</value>
  512. </item>
  513. <item>
  514. <label>병동</label>
  515. <value>W</value>
  516. </item>
  517. <item>
  518. <label>Consult부서</label>
  519. <value>A</value>
  520. </item>
  521. <item>
  522. <label>기타</label>
  523. <value>X</value>
  524. </item>
  525. <item>
  526. <label>진료지원수행부서</label>
  527. <value>E</value>
  528. </item>
  529. </choices>
  530. </select1>
  531. <caption id="caption62" class="cell_1" style="left:905px; top:413px; width:125px; height:23px; vertical-align:middle; ">다음 가실곳 우선순위</caption>
  532. <input id="ipt_depthngnm" ref="/root/main/data/depthngnm" class="input_essential" navindex="6" maxlength="21" style="left:854px; top:250px; width:228px; height:19px; ">
  533. <script type="javascript" ev:event="onkeyup">
  534. <![CDATA[
  535. var strlen = 0;
  536. var str = ipt_depthngnm.currentText
  537. for (var i=0; i<str.length; i++) {
  538. strlen += (str.charCodeAt(i) > 128) ? 2 : 1;
  539. if (strlen > 64) {
  540. messageBox("최대입력글자인 64byte를 ", "E003");
  541. strlen -= (str.charCodeAt(i) > 128) ? 2 : 1;
  542. break;
  543. }
  544. }
  545. ]]>
  546. </script>
  547. </input>
  548. <caption id="caption63" class="cell_1" style="left:728px; top:725px; width:125px; height:23px; vertical-align:middle; ">원무 사용여부</caption>
  549. <select1 id="cmb_purcuseyn" ref="/root/main/data/purcuseyn" class="combo_essential" navindex="23" appearance="minimal" style="left:1031px; top:630px; width:50px; height:19px; ">
  550. <choices>
  551. <item>
  552. <label>N</label>
  553. <value>N</value>
  554. </item>
  555. <item>
  556. <label>Y</label>
  557. <value>Y</value>
  558. </item>
  559. </choices>
  560. </select1>
  561. <caption id="caption53" class="cell_1" style="left:728px; top:226px; width:125px; height:23px; vertical-align:middle; ">부서코드 한문명칭</caption>
  562. <caption id="caption43" class="cell_1" style="left:905px; top:677px; width:125px; height:23px; vertical-align:middle; ">인사 사용여부</caption>
  563. <select1 id="cmb_rcptuseyn" ref="/root/main/data/rcptuseyn" class="combo_essential" navindex="25" appearance="minimal" style="left:1031px; top:654px; width:50px; height:19px; ">
  564. <choices>
  565. <item>
  566. <label>N</label>
  567. <value>N</value>
  568. </item>
  569. <item>
  570. <label>Y</label>
  571. <value>Y</value>
  572. </item>
  573. </choices>
  574. </select1>
  575. <caption id="caption65" class="cell_1" style="left:905px; top:389px; width:125px; height:23px; vertical-align:middle; ">인터넷 예약구분</caption>
  576. <caption id="caption54" class="cell_1" style="left:728px; top:346px; width:125px; height:42px; vertical-align:middle; ">부서 위치</caption>
  577. <input id="ipt_deptchinm" ref="/root/main/data/deptchinm" class="input_essential" navindex="6" maxlength="21" style="left:854px; top:226px; width:228px; height:19px; ">
  578. <script type="javascript" ev:event="onkeyup">
  579. <![CDATA[
  580. var strlen = 0;
  581. var str = ipt_deptchinm.currentText
  582. for (var i=0; i<str.length; i++) {
  583. strlen += (str.charCodeAt(i) > 128) ? 2 : 1;
  584. if (strlen > 64) {
  585. messageBox("최대입력글자인 64byte를 ", "E003");
  586. strlen -= (str.charCodeAt(i) > 128) ? 2 : 1;
  587. break;
  588. }
  589. }
  590. ]]>
  591. </script>
  592. </input>
  593. <caption id="caption44" class="cell_1" style="left:728px; top:653px; width:125px; height:23px; vertical-align:middle; ">간호사용여부</caption>
  594. <caption id="caption55" class="cell_1" style="left:728px; top:509px; width:125px; height:23px; vertical-align:middle; ">청구분야</caption>
  595. <input id="ipt_supdeptcd" class="input_essential" navindex="13" style="left:971px; top:461px; width:109px; height:19px; ">
  596. <script type="javascript" ev:event="onclick">
  597. <![CDATA[
  598. /*
  599. if(mode_detail=="create"){//추가시 상위부서를 지정하는 경우
  600. var from = model.getValue("/root/main/data/valifromdd");
  601. var to= model.getValue("/root/main/data/valitodd");
  602. var is_valid_duration = fValidateDuration(from, to);
  603. if(!is_valid_duration){
  604. alert("유효종료일자는 유효시작일자보다 커야합니다.");
  605. return;
  606. }
  607. var min_valifromdd = fGetMinValifromddFutureDeptHistory();
  608. if(min_valifromdd>from){
  609. alert("유효시작일자는 이전이력의 종료일자보다 커야 합니다.");
  610. return;
  611. }
  612. }else if(mode_detail=="update"){
  613. }else if(mode_detail=="delete"){
  614. }
  615. */
  616. ]]>
  617. </script>
  618. </input>
  619. <select1 id="cmb_reqauthdeptyn" ref="/root/main/data/reqauthdeptyn" class="combo_essential" navindex="15" appearance="minimal" style="left:854px; top:461px; width:50px; height:19px; ">
  620. <choices>
  621. <item>
  622. <label>N</label>
  623. <value>N</value>
  624. </item>
  625. <item>
  626. <label>Y</label>
  627. <value>Y</value>
  628. </item>
  629. </choices>
  630. </select1>
  631. <select1 id="cmb_nextplceyn" ref="/root/main/data/nextplceyn" class="combo_essential" navindex="12" appearance="minimal" style="left:854px; top:413px; width:50px; height:19px; ">
  632. <choices>
  633. <item>
  634. <label>N</label>
  635. <value>N</value>
  636. </item>
  637. <item>
  638. <label>Y</label>
  639. <value>Y</value>
  640. </item>
  641. </choices>
  642. </select1>
  643. <textarea id="tar_deptplce" ref="/root/main/data/deptplce" navindex="9" maxlength="21" style="left:854px; top:346px; width:228px; height:42px; ">
  644. <script type="javascript" ev:event="onkeyup">
  645. <![CDATA[
  646. var strlen = 0;
  647. var str = tar_deptplce.currentText
  648. for (var i=0; i<str.length; i++) {
  649. strlen += (str.charCodeAt(i) > 128) ? 2 : 1;
  650. if (strlen > 64) {
  651. messageBox("최대입력글자인 64byte를 ", "E003");
  652. strlen -= (str.charCodeAt(i) > 128) ? 2 : 1;
  653. break;
  654. }
  655. }
  656. ]]>
  657. </script>
  658. </textarea>
  659. <caption id="caption3" class="cell_1" style="left:728px; top:250px; width:125px; height:23px; vertical-align:middle; ">외래진료부서명</caption>
  660. <caption id="caption66" class="cell_1" style="left:728px; top:178px; width:125px; height:23px; vertical-align:middle; ">부서명 (MIS사용)</caption>
  661. <caption id="caption11" class="cell_1" style="left:728px; top:106px; width:125px; height:23px; vertical-align:middle; ">유효 시작일자</caption>
  662. <select1 id="cmb_homecareuseyn" ref="/root/main/data/homecareuseyn" class="combo_essential" navindex="31" appearance="minimal" style="left:1031px; top:726px; width:50px; height:19px; ">
  663. <choices>
  664. <item>
  665. <label>N</label>
  666. <value>N</value>
  667. </item>
  668. <item>
  669. <label>Y</label>
  670. <value>Y</value>
  671. </item>
  672. </choices>
  673. </select1>
  674. <caption id="caption45" class="cell_1" style="left:728px; top:533px; width:86px; height:23px; vertical-align:middle; ">진료사용여부</caption>
  675. <caption id="caption56" class="cell_1" style="left:728px; top:485px; width:125px; height:23px; vertical-align:middle; ">청구과 번호</caption>
  676. <caption id="caption4" class="cell_1" style="left:728px; top:130px; width:125px; height:23px; vertical-align:middle; ">유효 종료일자</caption>
  677. <select1 id="cmb_dgenuseyn" ref="/root/main/data/dgenuseyn" class="combo_essential" navindex="20" appearance="minimal" style="left:992px; top:581px; width:88px; height:19px; ">
  678. <choices>
  679. <item>
  680. <label>N</label>
  681. <value>N</value>
  682. </item>
  683. <item>
  684. <label>Y</label>
  685. <value>Y</value>
  686. </item>
  687. </choices>
  688. </select1>
  689. <input id="ipt_clincdeptdispseq" ref="/root/main/data/clincdeptdispseq" class="input_essential" navindex="13" style="left:991px; top:533px; width:90px; height:19px; "/>
  690. <caption id="caption46" class="cell_1" style="left:728px; top:461px; width:125px; height:23px; vertical-align:middle; ">청구 권한 부서</caption>
  691. <caption id="caption57" class="cell_1" style="left:728px; top:413px; width:125px; height:23px; vertical-align:middle; ">다음 가실곳 여부</caption>
  692. <caption id="caption68" class="cell_1" style="left:728px; top:389px; width:125px; height:23px; vertical-align:middle; ">근무지사용여부</caption>
  693. <select1 id="cmb_dutplceuseyn" ref="/root/main/data/dutplceuseyn" class="combo_essential" navindex="10" appearance="minimal" style="left:854px; top:389px; width:50px; height:19px; ">
  694. <choices>
  695. <item>
  696. <label>N</label>
  697. <value>N</value>
  698. </item>
  699. <item>
  700. <label>Y</label>
  701. <value>Y</value>
  702. </item>
  703. </choices>
  704. </select1>
  705. <caption id="caption5" class="cell_1" style="left:905px; top:725px; width:125px; height:23px; vertical-align:middle; ">그룹웨어 사용여부</caption>
  706. <select1 id="cmb_gafruseyn" ref="/root/main/data/gafruseyn" class="combo_essential" navindex="29" appearance="minimal" style="left:1031px; top:702px; width:50px; height:19px; ">
  707. <choices>
  708. <item>
  709. <label>N</label>
  710. <value>N</value>
  711. </item>
  712. <item>
  713. <label>Y</label>
  714. <value>Y</value>
  715. </item>
  716. </choices>
  717. </select1>
  718. <caption id="caption36" class="cell_1" style="left:905px; top:653px; width:125px; height:23px; vertical-align:middle; ">수납 사용여부</caption>
  719. <caption id="caption25" class="cell_1" style="left:911px; top:556px; width:84px; height:23px; vertical-align:middle; ">진료부서유형</caption>
  720. <caption id="caption69" class="cell_1" style="left:728px; top:322px; width:125px; height:23px; vertical-align:middle; ">부서 영문약어</caption>
  721. <caption id="caption14" class="cell_1" style="left:728px; top:274px; width:125px; height:23px; vertical-align:middle; ">입원진료부서명</caption>
  722. <caption id="caption58" class="cell_1" style="left:728px; top:202px; width:125px; height:23px; vertical-align:middle; ">부서코드 영문명칭</caption>
  723. <input id="ipt_valifromdd" ref="/root/main/data/valifromdd" class="input_search" navindex="1" inputtype="date" style="left:854px; top:107px; width:228px; height:19px; ">
  724. <script type="javascript" ev:event="onbuttonclick">
  725. <![CDATA[
  726. ipt_valifromdd.attribute("_value") = ipt_valifromdd.value;
  727. ]]>
  728. </script>
  729. <script type="javascript" ev:event="DOMFocusIn">
  730. <![CDATA[
  731. ipt_valifromdd.attribute("_value") = ipt_valifromdd.value;
  732. ]]>
  733. </script>
  734. <script type="javascript" ev:event="xforms-value-changed">
  735. <![CDATA[
  736. var valifromdd = model.getValue("/root/main/data/valifromdd").getTrim();
  737. var valitodd = model.getValue("/root/main/data/valitodd").getTrim();
  738. var valifromdd_key = model.getValue("/root/main/data/valifromddkey").getTrim();
  739. var valitodd_key = model.getValue("/root/main/data/valitoddkey").getTrim();
  740. if(valifromdd!=""&&valitodd!=""){
  741. var result = fInspectDate(valifromdd, valitodd, valifromdd_key, valitodd_key);
  742. if(!result){
  743. ipt_valifromdd.value = ipt_valifromdd.attribute("_value");
  744. model.setFocus("ipt_valifromdd");
  745. return;
  746. }
  747. }
  748. ]]>
  749. </script>
  750. </input>
  751. <caption id="caption48" class="cell_1" style="left:905px; top:629px; width:125px; height:23px; vertical-align:middle; ">구매 사용여부</caption>
  752. <caption id="caption15" class="cell_1" style="left:896px; top:532px; width:94px; height:23px; vertical-align:middle; ">임상과출력순서</caption>
  753. <caption id="caption59" class="cell_1" style="left:728px; top:154px; width:125px; height:23px; vertical-align:middle; ">부서코드</caption>
  754. <select1 id="cmb_fnworkuseyn" ref="/root/main/data/fnworkuseyn" class="combo_essential" navindex="28" appearance="minimal" style="left:854px; top:702px; width:50px; height:19px; ">
  755. <choices>
  756. <item>
  757. <label>N</label>
  758. <value>N</value>
  759. </item>
  760. <item>
  761. <label>Y</label>
  762. <value>Y</value>
  763. </item>
  764. </choices>
  765. </select1>
  766. <select1 id="cmb_psnworkuseyn" ref="/root/main/data/psnworkuseyn" class="combo_essential" navindex="27" appearance="minimal" style="left:1031px; top:678px; width:50px; height:19px; ">
  767. <choices>
  768. <item>
  769. <label>N</label>
  770. <value>N</value>
  771. </item>
  772. <item>
  773. <label>Y</label>
  774. <value>Y</value>
  775. </item>
  776. </choices>
  777. </select1>
  778. <select1 id="cmb_careuseyn" ref="/root/main/data/careuseyn" class="combo_essential" navindex="24" appearance="minimal" style="left:854px; top:654px; width:50px; height:19px; ">
  779. <choices>
  780. <item>
  781. <label>N</label>
  782. <value>N</value>
  783. </item>
  784. <item>
  785. <label>Y</label>
  786. <value>Y</value>
  787. </item>
  788. </choices>
  789. </select1>
  790. <caption id="caption7" class="cell_1" style="left:727px; top:605px; width:128px; height:23px; vertical-align:middle; ">보험사용여부</caption>
  791. <input id="ipt_nextplceprity" ref="/root/main/data/nextplceprity" class="input_essential" navindex="13" maxlength="4" format="999999-9999999" style="left:1031px; top:413px; width:50px; height:19px; ">
  792. <script type="javascript" ev:event="onkeyup">
  793. <![CDATA[
  794. var strlen = 0;
  795. var str = ipt_nextplceprity.currentText
  796. for (var i=0; i<str.length; i++) {
  797. strlen += (str.charCodeAt(i) > 128) ? 2 : 1;
  798. if (strlen > 4) {
  799. messageBox("최대입력글자인 4byte를 ", "E003");
  800. strlen -= (str.charCodeAt(i) > 128) ? 2 : 1;
  801. break;
  802. }
  803. }
  804. ]]>
  805. </script>
  806. </input>
  807. <caption id="caption49" class="cell_1" style="left:728px; top:298px; width:125px; height:23px; vertical-align:middle; ">부서 한글약어</caption>
  808. <input id="ipt_deptcd" ref="/root/main/data/deptcd" class="input_essential" navindex="3" style="left:854px; top:155px; width:228px; height:19px; "/>
  809. <input id="ipt_valitodd" ref="/root/main/data/valitodd" class="input_search" navindex="2" inputtype="date" style="left:855px; top:131px; width:228px; height:19px; ">
  810. <script type="javascript" ev:event="onbuttonclick">
  811. <![CDATA[
  812. ipt_valitodd.attribute("_value") = ipt_valitodd.value;
  813. ]]>
  814. </script>
  815. <script type="javascript" ev:event="DOMFocusIn">
  816. <![CDATA[
  817. ipt_valitodd.attribute("_value") = ipt_valitodd.value;
  818. ]]>
  819. </script>
  820. <script type="javascript" ev:event="xforms-value-changed">
  821. <![CDATA[
  822. var valifromdd = model.getValue("/root/main/data/valifromdd").getTrim();
  823. var valifromdd_key = model.getValue("/root/main/data/valifromddkey").getTrim();
  824. var valitodd = model.getValue("/root/main/data/valitodd").getTrim();
  825. var valitodd_key = model.getValue("/root/main/data/valitoddkey").getTrim();
  826. if(valifromdd!=""&&valitodd!=""){
  827. var result = fInspectDate(valifromdd, valitodd, valifromdd_key, valitodd_key);
  828. if(!result){
  829. ipt_valitodd.value = ipt_valitodd.attribute("_value");
  830. model.setFocus("ipt_valitodd");
  831. return;
  832. }
  833. }
  834. ]]>
  835. </script>
  836. </input>
  837. <select1 id="cmb_planuseyn" ref="/root/main/data/planuseyn" class="combo_essential" navindex="22" appearance="minimal" style="left:854px; top:630px; width:50px; height:19px; ">
  838. <choices>
  839. <item>
  840. <label>N</label>
  841. <value>N</value>
  842. </item>
  843. <item>
  844. <label>Y</label>
  845. <value>Y</value>
  846. </item>
  847. </choices>
  848. </select1>
  849. <caption id="caption17" class="cell_1" style="left:728px; top:581px; width:86px; height:23px; vertical-align:middle; ">진료분과구분</caption>
  850. <select1 id="cmb_orddeptkind" ref="/root/main/data/orddeptkind" class="combo_essential" navindex="19" appearance="minimal" style="left:996px; top:557px; width:85px; height:19px; ">
  851. <choices>
  852. <item>
  853. <label>센터</label>
  854. <value>C</value>
  855. </item>
  856. <item>
  857. <label>일반부서</label>
  858. <value>D</value>
  859. </item>
  860. </choices>
  861. </select1>
  862. <select1 id="cmb_inetrsrvyn" ref="/root/main/data/inetrsrvyn" class="combo_essential" navindex="11" appearance="minimal" style="left:1031px; top:389px; width:50px; height:19px; ">
  863. <choices>
  864. <item>
  865. <label>N</label>
  866. <value>N</value>
  867. </item>
  868. <item>
  869. <label>Y</label>
  870. <value>Y</value>
  871. </item>
  872. </choices>
  873. </select1>
  874. <input id="ipt_indepthngnm" ref="/root/main/data/indepthngnm" class="input_essential" navindex="6" maxlength="21" style="left:854px; top:274px; width:228px; height:19px; ">
  875. <script type="javascript" ev:event="onkeyup">
  876. <![CDATA[
  877. var strlen = 0;
  878. var str = ipt_indepthngnm.currentText
  879. for (var i=0; i<str.length; i++) {
  880. strlen += (str.charCodeAt(i) > 128) ? 2 : 1;
  881. if (strlen > 64) {
  882. messageBox("최대입력글자인 64byte를 ", "E003");
  883. strlen -= (str.charCodeAt(i) > 128) ? 2 : 1;
  884. break;
  885. }
  886. }
  887. ]]>
  888. </script>
  889. </input>
  890. <caption id="caption10" class="cell_1" style="left:896px; top:580px; width:94px; height:23px; vertical-align:middle; ">근태 사용여부</caption>
  891. <select1 id="cmb_orduseyn" ref="/root/main/data/orduseyn" class="combo_essential" navindex="18" appearance="minimal" style="left:815px; top:533px; width:80px; height:19px; ">
  892. <choices>
  893. <item>
  894. <label>사용안함</label>
  895. <value>N</value>
  896. </item>
  897. <item>
  898. <label>사용함</label>
  899. <value>Y</value>
  900. </item>
  901. </choices>
  902. <script type="javascript" ev:event="xforms-value-changed">
  903. <![CDATA[
  904. var orduseyn = model.getValue("/root/main/data/orduseyn");
  905. if(orduseyn=="Y"){
  906. cmb_orddeptflag.disabled = false;
  907. }
  908. ]]>
  909. </script>
  910. </select1>
  911. <select1 id="cmb_reqdeptno" ref="/root/main/data/reqdeptno" class="combo_essential" navindex="16" appearance="minimal" style="left:855px; top:485px; width:225px; height:19px; ">
  912. <choices>
  913. <itemset nodeset="/root/init/reqdeptnocode/P0322">
  914. <label ref="cdnm"/>
  915. <value ref="cdid"/>
  916. </itemset>
  917. </choices>
  918. </select1>
  919. <caption id="caption19" class="cell_1" style="left:905px; top:461px; width:65px; height:23px; vertical-align:middle; ">상위부서</caption>
  920. <select1 id="cmb_reqfild" ref="/root/main/data/reqfild" class="combo_essential" navindex="17" appearance="minimal" style="left:854px; top:509px; width:226px; height:19px; ">
  921. <choices>
  922. <itemset nodeset="/root/init/reqfieldcode/P0291">
  923. <label ref="cdnm"/>
  924. <value ref="cdid"/>
  925. </itemset>
  926. </choices>
  927. </select1>
  928. <input id="ipt_cntctel" ref="/root/main/data/cntctel" class="input_essential" navindex="14" maxlength="20" style="left:854px; top:437px; width:228px; height:19px; ">
  929. <script type="javascript" ev:event="onkeyup">
  930. <![CDATA[
  931. var strlen = 0;
  932. var str = ipt_cntctel.currentText;
  933. for (var i=0; i<str.length; i++) {
  934. strlen += (str.charCodeAt(i) > 128) ? 2 : 1;
  935. if (strlen > 20) {
  936. messageBox("최대입력글자인 20byte를 ", "E003");
  937. strlen -= (str.charCodeAt(i) > 128) ? 2 : 1;
  938. break;
  939. }
  940. }
  941. ]]>
  942. </script>
  943. </input>
  944. <input id="ipt_deptengabbr" ref="/root/main/data/deptengabbr" class="input_essential" navindex="8" imemode="disabled" maxlength="10" style="left:854px; top:322px; width:228px; height:19px; ">
  945. <script type="javascript" ev:event="onkeyup">
  946. <![CDATA[
  947. var strlen = 0;
  948. var str = ipt_deptengabbr.currentText
  949. for (var i=0; i<str.length; i++) {
  950. strlen += (str.charCodeAt(i) > 128) ? 2 : 1;
  951. if (strlen > 10) {
  952. messageBox("최대입력글자인 10byte를 ", "E003");
  953. strlen -= (str.charCodeAt(i) > 128) ? 2 : 1;
  954. break;
  955. }
  956. }
  957. ]]>
  958. </script>
  959. </input>
  960. </xhtml:body>
  961. </xhtml:html>