SMAHA04095_검진사후관리대상자.xrw 27 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.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. <exceldata>
  11. <chasu/>
  12. <ilja/>
  13. <gubun/>
  14. <yuhaeinja/>
  15. <userid/>
  16. <chestrslt/>
  17. <panjeonga/>
  18. <panjeongb/>
  19. <panjeongc/>
  20. <panjeongd1/>
  21. <panjeongd2/>
  22. <panjeongd/>
  23. <panjeongopi/>
  24. <sbp/>
  25. <dbp/>
  26. <hb/>
  27. <fbs/>
  28. <tc/>
  29. <tg/>
  30. <hdl/>
  31. <ldl/>
  32. <sgot/>
  33. <sgpt/>
  34. <rgtp/>
  35. <cr/>
  36. <urin/>
  37. </exceldata>
  38. <savedata>
  39. <status/>
  40. <cnstyn/>
  41. <chasu/>
  42. <ilja/>
  43. <gubun/>
  44. <yuhaeinja/>
  45. <userid/>
  46. <hngnm/>
  47. <pid/>
  48. <sex/>
  49. <age/>
  50. <depthngnm/>
  51. <jobkind/>
  52. <chestrslt/>
  53. <panjeonga/>
  54. <panjeongb/>
  55. <panjeongc/>
  56. <panjeongd1/>
  57. <panjeongd2/>
  58. <panjeongd/>
  59. <panjeongopi/>
  60. <sbp/>
  61. <dbp/>
  62. <hb/>
  63. <fbs/>
  64. <tc/>
  65. <tg/>
  66. <hdl/>
  67. <ldl/>
  68. <sgot/>
  69. <sgpt/>
  70. <rgtp/>
  71. <cr/>
  72. <urin/>
  73. <endyn/>
  74. <hospital/>
  75. <panjeongr2/>
  76. <g_gubun/>
  77. <g_opi/>
  78. <g_after/>
  79. <g_afteropi/>
  80. <g_work/>
  81. <s_gubun/>
  82. <s_opi/>
  83. <s_after/>
  84. <s_afteropi/>
  85. <s_work/>
  86. </savedata>
  87. <cnstlist>
  88. <chk/>
  89. <userid/>
  90. <ilja/>
  91. <chasu/>
  92. <seq/>
  93. <hngnm/>
  94. <depthngnm/>
  95. <cnstdd/>
  96. <cnstplace/>
  97. <cnstcnt/>
  98. <cnstrslt/>
  99. <chasedd/>
  100. <prcpdd/>
  101. <sage/>
  102. <telno/>
  103. <panjeong/>
  104. <yujilhwan/>
  105. <yuhaeinja/>
  106. <chaserslt/>
  107. <pid/>
  108. <g_gubun/>
  109. <g_opi/>
  110. <g_after/>
  111. <s_gubun/>
  112. <s_opi/>
  113. <s_after/>
  114. </cnstlist>
  115. </main>
  116. <send>
  117. <reqdata>
  118. <fromdd/>
  119. <todd/>
  120. <chasu/>
  121. <userid/>
  122. <hngnm/>
  123. <gubun/>
  124. <panjeongsrch/>
  125. </reqdata>
  126. <reqdata2>
  127. <fromdd/>
  128. <todd/>
  129. <cnstfromdd/>
  130. <cnsttodd/>
  131. <userid/>
  132. <hngnm/>
  133. <gubun/>
  134. <chasefromdd/>
  135. <chasetodd/>
  136. </reqdata2>
  137. </send>
  138. <init>
  139. <baseinfo>
  140. <A9000list/>
  141. </baseinfo>
  142. </init>
  143. <temp/>
  144. </root>
  145. </instance>
  146. <submission id="TRAHA00001"/>
  147. <submission id="TRAHA00002"/>
  148. <submission id="TXAHA05001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata" resultref="/root/temp"/>
  149. <submission id="TRAHA05001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main"/>
  150. <submission id="TRAHA05003" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata2" resultref="/root/main"/>
  151. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  152. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  153. <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
  154. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  155. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  156. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  157. <script type="javascript" src="../../../com/zipcodeweb/js/ZBP001.js"/>
  158. <script type="javascript" src="../../../ast/commonweb/js/AST.js"/>
  159. <script type="javascript" src="../../../ast/healthexambaseweb/js/healcombolist.js"/>
  160. <script type="javascript" src="../../../ast/healthexamrsrvacptweb/js/AHA.js"/>
  161. <script type="javascript" src="../../../ast/healexamweb/js/AHA001.js"/>
  162. <script type="javascript" ev:event="xforms-ready">
  163. <![CDATA[
  164. zbcfGetCodeList(new Array("A9000"), new Array("/root/init/baseinfo/A9000list")); //판정구분 기준자료 조회
  165. //healGetCodeList(new Array("S900") , new Array("/root/init/baseinfo/yearlist")); //검진년도 기준자료 조회
  166. //model.makeValue("/root/send/reqdata/gunjinyear", getCurrentDate().substr(0, 4));
  167. model.makeValue("/root/send/reqdata/fromdd", getDateTime(getCurrentDate().toDate().getAddDate(-1, "Y"), "D")); // 검색 시작일자를 1년전으로 세팅
  168. model.makeValue("/root/send/reqdata/todd", getCurrentDate());
  169. model.makeValue("/root/send/reqdata/chasu", "ALL");
  170. model.makeValue("/root/send/reqdata/gubun", "ALL");
  171. model.makeValue("/root/send/reqdata2/fromdd", getDateTime(getCurrentDate().toDate().getAddDate(-1, "Y"), "D")); // 검색 시작일자를 1년전으로 세팅
  172. model.makeValue("/root/send/reqdata2/todd", getCurrentDate());
  173. model.makeValue("/root/send/reqdata2/gubun", "ALL");
  174. grd_sahulist.deleteRow(grd_sahulist.rows-grd_sahulist.fixedRows);
  175. model.toggle("case_rgst");
  176. model.refresh();
  177. ]]>
  178. </script>
  179. <script type="javascript">
  180. <![CDATA[
  181. function fFileUpload(){
  182. grd_upload_list.visible=true;
  183. var fileName = window.fileDialog("open", ",", false, "", "xls", "Excel Files(*.xls)|*.xls|Dat Files(*.dat)|*.dat|All Files (*.*)|*.*");
  184. if(fileName != ""){
  185. grd_upload_list.loadExcel(fileName);
  186. for(var i=1; i<grd_upload_list.rows+1; i++){
  187. grd_upload_list.addStatus(i, "insert");
  188. }
  189. }else{
  190. messageBox("파일을 선택하지 않으셨습니다.", "E");
  191. grd_upload_list.visible=false;
  192. return ;
  193. }
  194. var uploadlist = getGridUpdateData(grd_upload_list);
  195. model.makeValue("/root/send/savedata", uploadlist);
  196. if(submit("TXAHA05001")){
  197. messageBox("데이터 등록이 완료되었습니다.", "I");
  198. grd_upload_list.visible=false;
  199. btn_search.dispatch("DOMActivate");
  200. }else{
  201. grd_upload_list.visible=false;
  202. model.resetInstanceNode("/root/main/exceldata");
  203. model.refresh();
  204. }
  205. }
  206. ]]>
  207. </script>
  208. </model>
  209. </xhtml:head>
  210. <xhtml:body guideline="1,1192;">
  211. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:135px; height:13px; ">검진사후관리대상자</caption>
  212. <switch id="switch1" style="left:0px; top:35px; width:1190px; height:720px; ">
  213. <case id="case_rgst" style="left:0px; top:0px; width:1188px; height:718px; ">
  214. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:1px; top:0px; width:1186px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  215. <line id="line10" class="line_1" style="x1:0px; y1:38px; x2:1186px; y2:37px; "/>
  216. <datagrid id="grd_sahulist" nodeset="/root/main/savedata" caption="상태^상담여부^완료여부^검진차수^수검병원^검진일자^검진구분^유해인자^사번^이름^등록번호^성별^나이^부서^직종^흉부촬영결과^(일반)건강구분^건진소견^사후관리 구분^사후관리 소견^업무수행적합여부^(특수)건강구분^건진소견^사후관리 구분^사후관리 소견^업무수행적합여부^판정결과(A)^판정결과(B)^판정결과(C/R1)^판정결과(R2)^판정결과(D1)^판정결과(D2/DN)^유질환(D)^판정소견^SBP^DBP^혈색소^혈당^총콜레스테롤^중성지방^HDL^LDL^SGOT^SGPT^GTP^CR^URINE" colsep="^" colwidth="18, 59, 70, 60, 115, 93, 63, 150, 55, 60, 62, 43, 47, 132, 66, 100, 100, 100, 100, 100, 105, 100, 100, 100, 100, 105, 100, 100, 100, 100, 100, 100, 100, 100, 50, 50, 50, 50, 87, 56, 50, 50, 50, 50, 50, 50, 50" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:0px; top:61px; width:1186px; height:654px; ">
  217. <col ref="status" visibility="hidden"/>
  218. <col ref="cnstyn" style="text-align:center; "/>
  219. <col ref="endyn" type="input" maxlength="1" style="text-align:center; "/>
  220. <col disabled="true" ref="chasu" type="input" visibility="hidden" style="text-align:center; "/>
  221. <col ref="hospital" type="input" maxbyte="30"/>
  222. <col disabled="true" ref="ilja" type="inputdate" format="yyyy-mm-dd" style="text-align:center; "/>
  223. <col ref="gubun" type="input" style="text-align:center; "/>
  224. <col ref="yuhaeinja" type="input"/>
  225. <col disabled="true" ref="userid" type="input" style="text-align:center; "/>
  226. <col ref="hngnm" style="text-align:center; "/>
  227. <col ref="pid" type="input" style="text-align:center; "/>
  228. <col ref="sex" style="text-align:center; "/>
  229. <col ref="age" style="text-align:center; "/>
  230. <col ref="depthngnm" style="text-align:left; "/>
  231. <col ref="jobkind" style="text-align:center; "/>
  232. <col ref="chestrslt" type="input"/>
  233. <col ref="g_gubun" type="input" maxbyte="10"/>
  234. <col ref="g_opi" type="input" maxbyte="30"/>
  235. <col ref="g_after" type="input" maxbyte="10"/>
  236. <col ref="g_afteropi" type="input" maxbyte="30"/>
  237. <col ref="g_work" type="input" maxbyte="10"/>
  238. <col ref="s_gubun" type="input" maxbyte="10"/>
  239. <col ref="s_opi" type="input" maxbyte="30"/>
  240. <col ref="s_after" type="input" maxbyte="10"/>
  241. <col ref="s_afteropi" type="input" maxbyte="30"/>
  242. <col ref="s_work" type="input" maxbyte="10"/>
  243. <col ref="panjeonga" type="input"/>
  244. <col ref="panjeongb" type="input"/>
  245. <col ref="panjeongc" type="input"/>
  246. <col ref="panjeongr2" type="input"/>
  247. <col ref="panjeongd1" type="input"/>
  248. <col ref="panjeongd2" type="input"/>
  249. <col ref="panjeongd" type="input"/>
  250. <col ref="panjeongopi" type="input"/>
  251. <col ref="sbp" type="input"/>
  252. <col ref="dbp" type="input"/>
  253. <col ref="hb" type="input"/>
  254. <col ref="fbs" type="input"/>
  255. <col ref="tc" type="input"/>
  256. <col ref="tg" type="input"/>
  257. <col ref="hdl" type="input"/>
  258. <col ref="ldl" type="input"/>
  259. <col ref="sgot" type="input"/>
  260. <col ref="sgpt" type="input"/>
  261. <col ref="rgtp" type="input"/>
  262. <col ref="cr" type="input"/>
  263. <col ref="urin" type="input"/>
  264. <script type="javascript" ev:event="xforms-value-changed">
  265. <![CDATA[
  266. grd_sahulist.addStatus(grd_sahulist.row, "insert");
  267. ]]>
  268. </script>
  269. <script type="javascript" ev:event="ondblclick">
  270. <![CDATA[
  271. if(grd_sahulist.col == grd_sahulist.colRef("userid")){
  272. if(grd_sahulist.row>=grd_sahulist.fixedRows){
  273. setParameter("userid", grd_sahulist.valueMatrix(grd_sahulist.row, grd_sahulist.colRef("userid")));
  274. setParameter("chasu", grd_sahulist.valueMatrix(grd_sahulist.row, grd_sahulist.colRef("chasu")));
  275. setParameter("ilja", grd_sahulist.valueMatrix(grd_sahulist.row, grd_sahulist.colRef("ilja")));
  276. setParameter("seq", "");
  277. modal("SMAHA04096");
  278. }
  279. }
  280. ]]>
  281. </script>
  282. </datagrid>
  283. <caption id="caption1" class="search_name" style="left:5px; top:10px; width:90px; height:17px; ">검진일자 :</caption>
  284. <caption id="caption2" class="search_name" style="left:290px; top:10px; width:90px; height:17px; ">검진차수 :</caption>
  285. <select1 id="combo3" ref="/root/send/reqdata/chasu" appearance="minimal" style="left:375px; top:10px; width:55px; height:19px; text-align:center; ">
  286. <choices>
  287. <item>
  288. <label>전체</label>
  289. <value>ALL</value>
  290. </item>
  291. <item>
  292. <label>1</label>
  293. <value>1</value>
  294. </item>
  295. <item>
  296. <label>2</label>
  297. <value>2</value>
  298. </item>
  299. <item>
  300. <label>3</label>
  301. <value>3</value>
  302. </item>
  303. <item>
  304. <label>4</label>
  305. <value>4</value>
  306. </item>
  307. <item>
  308. <label>5</label>
  309. <value>5</value>
  310. </item>
  311. </choices>
  312. </select1>
  313. <caption id="caption3" class="search_name" style="left:440px; top:10px; width:60px; height:17px; ">사번 :</caption>
  314. <input id="input1" ref="/root/send/reqdata/userid" style="left:500px; top:10px; width:45px; height:19px; text-align:center; "/>
  315. <caption id="caption4" class="search_name" style="left:550px; top:10px; width:60px; height:17px; ">이름 :</caption>
  316. <input id="input2" ref="/root/send/reqdata/hngnm" style="left:610px; top:10px; width:70px; height:19px; text-align:center; "/>
  317. <line id="line7" style="x1:1110px; y1:6px; x2:1110px; y2:30px; border-color:#ffe4bb; border-left-style:solid; "/>
  318. <button id="btn_search" class="btn1_letter2" style="left:1120px; top:8px; width:56px; height:22px; ">
  319. <caption>조회</caption>
  320. <script type="javascript" ev:event="DOMActivate">
  321. <![CDATA[
  322. submit("TRAHA05001");
  323. model.refresh();
  324. ]]>
  325. </script>
  326. </button>
  327. <select1 id="combo5" ref="/root/send/reqdata/gubun" appearance="minimal" style="left:775px; top:10px; width:55px; height:19px; text-align:center; ">
  328. <choices>
  329. <item>
  330. <label>전체</label>
  331. <value>ALL</value>
  332. </item>
  333. <item>
  334. <label>일반</label>
  335. <value>일반</value>
  336. </item>
  337. <item>
  338. <label>특수</label>
  339. <value>특수</value>
  340. </item>
  341. </choices>
  342. </select1>
  343. <caption id="caption7" class="search_name" style="left:690px; top:10px; width:90px; height:17px; ">검진구분 :</caption>
  344. <caption id="caption8" class="search_name" style="left:840px; top:10px; width:90px; height:17px; ">판정구분 :</caption>
  345. <input id="input3" ref="/root/send/reqdata/fromdd" inputtype="date" style="left:90px; top:10px; width:90px; height:19px; text-align:center; "/>
  346. <select id="checkbox1" ref="/root/send/reqdata/panjeongsrch" overflow="visible" appearance="full" cols="6" rows="1" style="left:925px; top:10px; width:20px; height:20px; border-style:none; ">
  347. <choices>
  348. <itemset nodeset="/root/init/baseinfo/A9000list/A9000">
  349. <label ref="cdnm"/>
  350. <value ref="cdid"/>
  351. </itemset>
  352. </choices>
  353. </select>
  354. <caption id="caption9" style="left:182px; top:11px; width:15px; height:20px; ">~</caption>
  355. <input id="input4" ref="/root/send/reqdata/todd" inputtype="date" style="left:195px; top:10px; width:90px; height:19px; text-align:center; "/>
  356. <button id="button3" class="btn2_letter2" disabled="false" style="left:1144px; top:41px; width:42px; height:19px; ">
  357. <caption>삭제</caption>
  358. <script type="javascript" ev:event="DOMActivate">
  359. <![CDATA[
  360. //grd_sahulist.deleteRow(grd_sahulist.row);
  361. grd_sahulist.addStatus(grd_sahulist.row, "delete");
  362. ]]>
  363. </script>
  364. </button>
  365. <button id="button4" class="btn2_letter6" style="left:938px; top:41px; width:86px; height:19px; ">
  366. <caption>파일다운로드</caption>
  367. <script type="javascript" ev:event="DOMActivate">
  368. <![CDATA[
  369. var fileName = window.fileDialog("save", ",", false, "사후관리대상자", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  370. grd_sahulist.saveExcel(fileName, "sheetname:sheet1;colhiddenextend:false;rowhiddenextend:false;");
  371. ]]>
  372. </script>
  373. </button>
  374. <button id="button5" class="btn2_letter2" disabled="false" style="left:895px; top:41px; width:42px; height:19px; ">
  375. <caption>저장</caption>
  376. <script type="javascript" ev:event="DOMActivate">
  377. <![CDATA[
  378. var uploadlist = getGridUpdateData(grd_sahulist);
  379. model.makeValue("/root/send/savedata", uploadlist);
  380. if(submit("TXAHA05001")){
  381. messageBox("데이터 등록이 완료되었습니다.", "I");
  382. btn_search.dispatch("DOMActivate");
  383. }
  384. ]]>
  385. </script>
  386. </button>
  387. <button id="btn_upload" class="btn2_letter5" style="left:1025px; top:41px; width:75px; height:19px; ">
  388. <caption>파일업로드</caption>
  389. <script type="javascript" ev:event="DOMActivate">
  390. <![CDATA[
  391. openLoadingBar("파일 업로드");
  392. fFileUpload();
  393. closeLoadingBar();
  394. ]]>
  395. </script>
  396. </button>
  397. <button id="btn_add" class="btn2_letter2" disabled="false" style="left:1101px; top:41px; width:42px; height:19px; ">
  398. <caption>추가</caption>
  399. <script type="javascript" ev:event="DOMActivate">
  400. <![CDATA[
  401. grd_sahulist.addRow();
  402. grd_sahulist.addStatus(grd_sahulist.row, "insert");
  403. ]]>
  404. </script>
  405. </button>
  406. <button id="button6" class="btn2_letter4" disabled="false" visibility="hidden" style="left:620px; top:40px; width:64px; height:19px; ">
  407. <caption>목록삭제</caption>
  408. <script type="javascript" ev:event="DOMActivate">
  409. <![CDATA[
  410. grd_sahulist.addStatus(grd_sahulist.row, "delete");
  411. ]]>
  412. </script>
  413. </button>
  414. <datagrid id="grd_upload_list" nodeset="/root/main/exceldata" visibility="hidden" caption="검진차수^검진일자^검진구분^유해인자^사번^흉부촬영결과^판정결과(A)^판정결과(B)^판정결과(C/R1)^판정결과(D1)^판정결과(D2/DN)^유질환(D)^판정소견^SBP^DBP^혈색소^혈당^총콜레스테롤^중성지방^HDL^LDL^SGOT^SGPT^GTP^CR^URINE" colsep="^" colwidth="70, 80, 60, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:110px; top:140px; width:800px; height:385px; text-align:center; ">
  415. <col ref="chasu"/>
  416. <col ref="ilja" format="yyyy-mm-dd"/>
  417. <col ref="gubun"/>
  418. <col ref="yuhaeinja"/>
  419. <col ref="userid"/>
  420. <col ref="chestrslt"/>
  421. <col ref="panjeonga"/>
  422. <col ref="panjeongb"/>
  423. <col ref="panjeongc"/>
  424. <col ref="panjeongd1"/>
  425. <col ref="panjeongd2"/>
  426. <col ref="panjeongd"/>
  427. <col ref="panjeongopi"/>
  428. <col ref="sbp"/>
  429. <col ref="dbp"/>
  430. <col ref="hb"/>
  431. <col ref="fbs"/>
  432. <col ref="tc"/>
  433. <col ref="tg"/>
  434. <col ref="hdl"/>
  435. <col ref="ldl"/>
  436. <col ref="sgot"/>
  437. <col ref="sgpt"/>
  438. <col ref="rgtp"/>
  439. <col ref="cr"/>
  440. <col ref="urin"/>
  441. </datagrid>
  442. </case>
  443. <case id="case_manage" selected="true">
  444. <shape id="roundrect2" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:1px; top:0px; width:1186px; height:60px; background-color:#fffbf2; border-color:#ffd799; "/>
  445. <line id="line1" class="line_1" style="x1:0px; y1:63px; x2:1186px; y2:62px; "/>
  446. <caption id="caption5" class="search_name" style="left:5px; top:10px; width:90px; height:17px; ">검진일자 :</caption>
  447. <input id="input5" ref="/root/send/reqdata2/fromdd" inputtype="date" style="left:90px; top:10px; width:90px; height:19px; text-align:center; "/>
  448. <input id="input6" ref="/root/send/reqdata2/todd" inputtype="date" style="left:195px; top:10px; width:90px; height:19px; text-align:center; "/>
  449. <caption id="caption10" style="left:182px; top:11px; width:15px; height:20px; ">~</caption>
  450. <caption id="caption11" style="left:497px; top:11px; width:15px; height:20px; ">~</caption>
  451. <caption id="caption12" class="search_name" style="left:320px; top:10px; width:90px; height:17px; ">상담일자 :</caption>
  452. <input id="input7" ref="/root/send/reqdata2/cnstfromdd" inputtype="date" style="left:405px; top:10px; width:90px; height:19px; text-align:center; "/>
  453. <input id="input8" ref="/root/send/reqdata2/cnsttodd" inputtype="date" style="left:510px; top:10px; width:90px; height:19px; text-align:center; "/>
  454. <input id="input9" ref="/root/send/reqdata2/chasefromdd" inputtype="date" style="left:120px; top:35px; width:90px; height:19px; text-align:center; "/>
  455. <input id="input10" ref="/root/send/reqdata2/chasetodd" inputtype="date" style="left:225px; top:35px; width:90px; height:19px; text-align:center; "/>
  456. <caption id="caption13" style="left:212px; top:36px; width:15px; height:20px; ">~</caption>
  457. <caption id="caption14" class="search_name" style="left:5px; top:35px; width:115px; height:17px; ">추적검사일자 :</caption>
  458. <caption id="caption15" class="search_name" style="left:615px; top:10px; width:75px; height:17px; ">사 번 :</caption>
  459. <caption id="caption16" class="search_name" style="left:775px; top:10px; width:80px; height:17px; ">이 름 :</caption>
  460. <caption id="caption17" class="search_name" style="left:935px; top:10px; width:90px; height:17px; ">검진구분 :</caption>
  461. <button id="button7" class="btn1_letter2" style="left:1120px; top:19px; width:56px; height:22px; ">
  462. <caption>조회</caption>
  463. <script type="javascript" ev:event="DOMActivate">
  464. <![CDATA[
  465. submit("TRAHA05003");
  466. model.refresh();
  467. ]]>
  468. </script>
  469. </button>
  470. <line id="line2" style="x1:1110px; y1:6px; x2:1110px; y2:49px; border-color:#ffe4bb; border-left-style:solid; "/>
  471. <input id="input11" ref="/root/send/reqdata2/userid" style="left:685px; top:10px; width:75px; height:19px; "/>
  472. <input id="input12" ref="/root/send/reqdata2/hngnm" style="left:845px; top:10px; width:75px; height:19px; "/>
  473. <select1 id="combo1" ref="/root/send/reqdata2/gubun" appearance="minimal" style="left:1025px; top:10px; width:55px; height:19px; text-align:center; ">
  474. <choices>
  475. <item>
  476. <label>전체</label>
  477. <value>ALL</value>
  478. </item>
  479. <item>
  480. <label>일반</label>
  481. <value>일반</value>
  482. </item>
  483. <item>
  484. <label>특수</label>
  485. <value>특수</value>
  486. </item>
  487. </choices>
  488. </select1>
  489. <datagrid id="grd_sahucnst" nodeset="/root/main/cnstlist" caption="^검진일자^검진차수^상담이력^사번^이름^등록번호^(일반)건강구분^건진소견^사후관리 구분^(특수)건강구분^건진소견^사후관리 구분^근무부서^상담일자^상담장소^상담내용^상담결과^추적검사일^처방일자^sage^telno^panjeong^yujilhwan^yuhaeinja^rslt" colsep="^" colwidth="22, 80, 23, 60, 50, 70, 70, 100, 100, 100, 100, 100, 100, 124, 80, 100, 425, 146, 80, 80, 100, 100, 100, 100, 100, 100" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:90px; width:1185px; height:625px; ">
  490. <col checkvalue="Y,N" ref="chk" type="checkbox"/>
  491. <col ref="ilja" format="yyyy-mm-dd" style="text-align:center; "/>
  492. <col ref="chasu" visibility="hidden" style="text-align:center; "/>
  493. <col ref="seq" style="text-align:center; "/>
  494. <col ref="userid" style="text-align:center; "/>
  495. <col ref="hngnm" style="text-align:center; "/>
  496. <col ref="pid"/>
  497. <col ref="g_gubun"/>
  498. <col ref="g_opi"/>
  499. <col ref="g_after"/>
  500. <col ref="s_gubun"/>
  501. <col ref="s_opi"/>
  502. <col ref="s_after"/>
  503. <col ref="depthngnm"/>
  504. <col ref="cnstdd" format="yyyy-mm-dd" style="text-align:center; "/>
  505. <col ref="cnstplace"/>
  506. <col ref="cnstcnt"/>
  507. <col ref="cnstrslt"/>
  508. <col ref="chasedd" format="yyyy-mm-dd" style="text-align:center; "/>
  509. <col ref="prcpdd" format="yyyy-mm-dd" style="text-align:center; "/>
  510. <col ref="sage" visibility="hidden"/>
  511. <col ref="telno" visibility="hidden"/>
  512. <col ref="panjeong" visibility="hidden"/>
  513. <col ref="yujilhwan" visibility="hidden"/>
  514. <col ref="yuhaeinja" visibility="hidden"/>
  515. <col ref="chaserslt" visibility="hidden"/>
  516. <script type="javascript" ev:event="ondblclick">
  517. <![CDATA[
  518. if(grd_sahucnst.col == grd_sahucnst.colRef("userid")){
  519. if(grd_sahucnst.row>=grd_sahucnst.fixedRows){
  520. setParameter("userid", grd_sahucnst.valueMatrix(grd_sahucnst.row, grd_sahucnst.colRef("userid")));
  521. setParameter("chasu", grd_sahucnst.valueMatrix(grd_sahucnst.row, grd_sahucnst.colRef("chasu")));
  522. setParameter("ilja", grd_sahucnst.valueMatrix(grd_sahucnst.row, grd_sahucnst.colRef("ilja")));
  523. setParameter("seq", grd_sahucnst.valueMatrix(grd_sahucnst.row, grd_sahucnst.colRef("seq")));
  524. modal("SMAHA04096");
  525. }
  526. }
  527. ]]>
  528. </script>
  529. </datagrid>
  530. <button id="button8" class="btn2_letter6" style="left:1097px; top:68px; width:86px; height:19px; ">
  531. <caption>파일다운로드</caption>
  532. <script type="javascript" ev:event="DOMActivate">
  533. <![CDATA[
  534. var fileName = window.fileDialog("save", ",", false, "상담내역리스트", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  535. grd_sahucnst.saveExcel(fileName, "sheetname:sheet1;colhiddenextend:false;rowhiddenextend:false;");
  536. ]]>
  537. </script>
  538. </button>
  539. <button id="button9" class="btn2_letter2" disabled="false" style="left:1054px; top:68px; width:42px; height:19px; ">
  540. <caption>출력</caption>
  541. <script type="javascript" ev:event="DOMActivate">
  542. <![CDATA[
  543. var cnt = getNodesetCount("/root/main/cnstlist[chk='Y']");
  544. if(parseInt(cnt)>0){
  545. for(var i=0; i<grd_sahucnst.rows; i++){
  546. if(grd_sahucnst.valueMatrix(i, grd_sahucnst.colRef("chk"))=='Y'){
  547. model.makeNode("/root/send/prnt");
  548. model.makeValue("/root/send/prnt/userid", grd_sahucnst.valueMatrix(i, grd_sahucnst.colRef("userid")));
  549. model.makeValue("/root/send/prnt/hngnm", grd_sahucnst.valueMatrix(i, grd_sahucnst.colRef("hngnm")));
  550. model.makeValue("/root/send/prnt/sage", grd_sahucnst.valueMatrix(i, grd_sahucnst.colRef("sage")));
  551. model.makeValue("/root/send/prnt/telno", grd_sahucnst.valueMatrix(i, grd_sahucnst.colRef("telno")));
  552. model.makeValue("/root/send/prnt/ilja", grd_sahucnst.valueMatrix(i, grd_sahucnst.colRef("ilja")));
  553. model.makeValue("/root/send/prnt/depthngnm", grd_sahucnst.valueMatrix(i, grd_sahucnst.colRef("depthngnm")));
  554. model.makeValue("/root/send/prnt/yuhaeinja", grd_sahucnst.valueMatrix(i, grd_sahucnst.colRef("yuhaeinja")));
  555. model.makeValue("/root/send/prnt/panjeong", grd_sahucnst.valueMatrix(i, grd_sahucnst.colRef("panjeong")));
  556. model.makeValue("/root/send/prnt/yujilhwan", grd_sahucnst.valueMatrix(i, grd_sahucnst.colRef("yujilhwan")));
  557. model.makeValue("/root/send/prnt/cnstdd", grd_sahucnst.valueMatrix(i, grd_sahucnst.colRef("cnstdd")));
  558. model.makeValue("/root/send/prnt/cnstplace", grd_sahucnst.valueMatrix(i, grd_sahucnst.colRef("cnstplace")));
  559. model.makeValue("/root/send/prnt/cnstcnt", grd_sahucnst.valueMatrix(i, grd_sahucnst.colRef("cnstcnt")));
  560. model.makeValue("/root/send/prnt/cnstrslt", grd_sahucnst.valueMatrix(i, grd_sahucnst.colRef("cnstrslt")));
  561. model.makeValue("/root/send/prnt/chaserslt", grd_sahucnst.valueMatrix(i, grd_sahucnst.colRef("chaserslt")));
  562. model.makeValue("/root/send/prnt/managernm", getUserInfo("usernm"));
  563. exeReportPreview("RPAHA04096", "XMLSTR", "", "", "false", "", "", "", "", "false");
  564. }
  565. }
  566. }
  567. ]]>
  568. </script>
  569. </button>
  570. </case>
  571. </switch>
  572. <button id="button1" class="btn_sw" group="tab" selected="true" style="left:0px; top:15px; width:90px; height:22px; ">
  573. <caption>대상자등록</caption>
  574. <script type="javascript" ev:event="DOMActivate">
  575. <![CDATA[
  576. model.toggle("case_rgst");
  577. model.refresh();
  578. ]]>
  579. </script>
  580. </button>
  581. <button id="button2" class="btn_sw" group="tab" style="left:90px; top:15px; width:90px; height:22px; ">
  582. <caption>상담내역관리</caption>
  583. <script type="javascript" ev:event="DOMActivate">
  584. <![CDATA[
  585. model.toggle("case_manage");
  586. model.refresh();
  587. ]]>
  588. </script>
  589. </button>
  590. </xhtml:body>
  591. </xhtml:html>