SPASI02700_건강검진결과조회.xrw 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * 제 목 : SPASI02700.xrw
  4. * 설 명 : 건강검진결과조회
  5. * 수정이력 : 조회함수생성 및 자격공통코드내역조회추가/2007-11-13 /손주연
  6. * 기 타 :
  7. -->
  8. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
  9. <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">
  10. <xhtml:head>
  11. <xhtml:title>건강검진결과조회</xhtml:title>
  12. <model id="model1">
  13. <instance id="instance1">
  14. <root xmlns="">
  15. <main>
  16. <mediexamrsltinfo>
  17. <mediexamrsltlist>
  18. <deptcd/>
  19. <deptnm/>
  20. <empno/>
  21. <name/>
  22. <rgstno/>
  23. <pid/>
  24. <gvnoffcorddd/>
  25. <jobkindflag/>
  26. <jobposflag/>
  27. <sexflag/>
  28. <age/>
  29. <hbsag/>
  30. <hbsab/>
  31. <chestparslt/>
  32. <sytsopin/>
  33. <remfact/>
  34. </mediexamrsltlist>
  35. </mediexamrsltinfo>
  36. <cond>
  37. <fromdd/>
  38. <todd/>
  39. <name/>
  40. <deptnm/>
  41. <rsltflag>G01</rsltflag>
  42. <deptcd/>
  43. </cond>
  44. <sortcond>
  45. <sort1>1</sort1>
  46. <cond1>0</cond1>
  47. <cond2>-</cond2>
  48. <sort2>2</sort2>
  49. <cond3>0</cond3>
  50. <cond4>-</cond4>
  51. <sort3>3</sort3>
  52. <cond5>0</cond5>
  53. <cond6>-</cond6>
  54. <sort4>4</sort4>
  55. <cond7>0</cond7>
  56. <cond8>-</cond8>
  57. <sort5>5</sort5>
  58. <cond9>0</cond9>
  59. <cond10>-</cond10>
  60. </sortcond>
  61. </main>
  62. <send>
  63. <reqdata/>
  64. </send>
  65. <hidden/>
  66. <init>
  67. <initdate>
  68. <today/>
  69. </initdate>
  70. <Z0001list>
  71. <Z0001>
  72. <cdid/>
  73. <cdnm/>
  74. </Z0001>
  75. </Z0001list>
  76. <Z0002list>
  77. <Z0002>
  78. <cdid/>
  79. <cdnm/>
  80. </Z0002>
  81. </Z0002list>
  82. </init>
  83. </root>
  84. </instance>
  85. <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
  86. <submission id="TRASI02701" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/mediexamrsltinfo"/>
  87. <script type="javascript" ev:event="xforms-ready">
  88. <![CDATA[
  89. zbcfGetCodeList(new Array("Z0001","Z0002"),
  90. new Array("/root/init/Z0001list", "/root/init/Z0002list"));
  91. var today = getDate();
  92. var idate = new Date();
  93. var peveDate = idate.getAddDate(-1, "M");
  94. model.setValue("/root/init/initdate/today", today);
  95. //model.makeValue("/root/send/cond/trgtmancnt", "I");
  96. model.setValue("/root/main/cond/fromdd", peveDate.getDateFormat());
  97. model.setValue("/root/main/cond/todd", today);
  98. //model.copyNode("/root/send/reqdata", "/root/main/cond");
  99. //submit("TRASI02701");
  100. fGetHealExamRslt();
  101. ]]>
  102. </script>
  103. <submission id="TRZSD00105" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
  104. </model>
  105. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  106. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  107. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  108. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  109. <script type="javascript" src="../../../com/departmentcodeweb/js/ZSD001.js"/>
  110. </xhtml:head>
  111. <script type="javascript">
  112. <![CDATA[
  113. /*=======================================================================
  114. @desc : 건강검진결과조회
  115. =======================================================================*/
  116. function fGetHealExamRslt(){
  117. if( !isRequiredControls("ipt_fromdd","ipt_todd") ){
  118. return;
  119. }
  120. model.removeNodeset(grd_mediexamrsltlist.nodeset);
  121. model.makeNode("/root/send/reqdata");
  122. model.copyNode("/root/send/reqdata", "/root/main/cond");
  123. openLoadingBar("건강검진결과정보 ") ;//처리중 화면을 오픈한다
  124. submit("TRASI02701");
  125. closeLoadingBar() ;//처리중 화면을 close한다.
  126. }
  127. ]]>
  128. </script>
  129. <xhtml:body pagewidth="1211" pageheight="780" style="margin-left:8; margin-right:8; ">
  130. <group id="group3" scroll="auto" style="left:0px; top:0px; width:1195px; height:784px; ">
  131. <group id="group2" style="left:0px; top:13px; width:1195px; height:740px; vertical-align:top; ">
  132. <group id="grp_sea" style="left:0px; top:5px; width:1194px; height:35px; vertical-align:top; ">
  133. <shape id="roundrect2" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  134. <caption id="cap_fromdd" class="search_name" style="left:15px; top:9px; width:92px; height:17px; ">검진시행일 :</caption>
  135. <caption id="cap_todd" class="search_name" visibility="hidden" style="left:15px; top:9px; width:100px; height:17px; ">검진시행일 :</caption>
  136. <caption id="caption7" class="search_no_b" style="left:222px; top:9px; width:12px; height:17px; ">~</caption>
  137. <button id="button4" class="btn1_letter2" style="left:1124px; top:7px; width:56px; height:22px; ">
  138. <caption>조회</caption>
  139. <script type="javascript" ev:event="DOMActivate">
  140. <![CDATA[
  141. fGetHealExamRslt();
  142. ]]>
  143. </script>
  144. </button>
  145. <line id="line5" class="line_4" style="x1:1109px; y1:7px; x2:1109px; y2:29px; "/>
  146. <caption id="caption4" class="search_name" style="left:765px; top:9px; width:92px; height:17px; ">결과구분 :</caption>
  147. <caption id="caption3" class="search_name" style="left:515px; top:10px; width:77px; height:17px; ">부서명 :</caption>
  148. <input id="ipt_fromdd" ref="/root/main/cond/fromdd" class="input_s_essential" inputtype="date" style="left:115px; top:8px; width:104px; height:19px; "/>
  149. <input id="ipt_todd" ref="/root/main/cond/todd" class="input_s_essential" inputtype="date" style="left:235px; top:8px; width:110px; height:19px; "/>
  150. <select1 id="rdo_rsltflag" ref="/root/main/cond/rsltflag" appearance="full" cellspacing="10" cols="2" overflow="visible" style="left:860px; top:9px; width:240px; height:20px; border-style:none; ">
  151. <choices>
  152. <item>
  153. <label>채용건강검진</label>
  154. <value>G05</value>
  155. </item>
  156. <item>
  157. <label>정기 및 추가건강검진</label>
  158. <value>G01</value>
  159. </item>
  160. </choices>
  161. </select1>
  162. <button id="btn_deptnm" class="icon_search" style="left:740px; top:9px; width:16px; height:16px; ">
  163. <caption/>
  164. <script type="javascript" ev:event="DOMActivate">
  165. <![CDATA[
  166. zbcfOpenInstDeptCodeList("deptnm", model.getValue("/root/main/cond/deptnm"), "/root/main/cond/deptcd", "/root/main/cond/deptnm", "ordduseryn", "");
  167. if( !isRequiredControls("ipt_deptnm") ){
  168. return ;
  169. }
  170. fGetHealExamRslt();
  171. ]]>
  172. </script>
  173. </button>
  174. <input id="ipt_deptnm" ref="/root/main/cond/deptnm" class="input_default" style="left:595px; top:8px; width:140px; height:19px; ">
  175. <script type="javascript" ev:event="onkeyup">
  176. <![CDATA[
  177. inputEnterKey("btn_deptnm", "DOMActivate");
  178. ]]>
  179. </script>
  180. </input>
  181. <caption id="caption5" class="search_name" style="left:361px; top:10px; width:65px; height:17px; ">이름 :</caption>
  182. <input id="ipt_name" ref="/root/main/cond/name" class="input_default" style="left:426px; top:8px; width:75px; height:19px; ">
  183. <script type="javascript" ev:event="onkeyup">
  184. <![CDATA[
  185. /*
  186. if( event.keyCode == 13 ) {
  187. fGetHealExamRslt();
  188. }
  189. */
  190. ]]>
  191. </script>
  192. </input>
  193. </group>
  194. <line id="line2" class="line_1" style="x1:0px; y1:66px; x2:1194px; y2:66px; "/>
  195. <datagrid id="grd_mediexamrsltlist" nodeset="/root/main/mediexamrsltinfo/mediexamrsltlist" autoresize="true" caption="부서코드^사번^성명^주민번호^등록번호^부서명^직종^직위^성별^나이^HBsAg^HBsAb^Chest PA 결과^종합의견^비고" colsep="^" colwidth="100, 75, 64, 122, 70, 106, 88, 64, 39, 39, 100, 100, 100, 273, 215" dataheight="25" defaultrows="0" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" tooltip="true" style="left:0px; top:95px; width:1194px; height:645px; vertical-align:middle; ">
  196. <col ref="deptcd" visibility="hidden"/>
  197. <col ref="empno"/>
  198. <col ref="name"/>
  199. <col ref="rgstno" format="999999-9999999"/>
  200. <col ref="pid"/>
  201. <col ref="deptnm"/>
  202. <col disabled="true" ref="jobkindflag" type="combo">
  203. <choices>
  204. <itemset nodeset="/root/init/Z0001list/Z0001">
  205. <label ref="cdnm"/>
  206. <value ref="cdid"/>
  207. </itemset>
  208. </choices>
  209. </col>
  210. <col disabled="true" ref="jobposflag" type="combo">
  211. <choices>
  212. <itemset nodeset="/root/init/Z0002list/Z0002">
  213. <label ref="cdnm"/>
  214. <value ref="cdid"/>
  215. </itemset>
  216. </choices>
  217. </col>
  218. <col ref="sexflag"/>
  219. <col ref="age"/>
  220. <col ref="hbsag"/>
  221. <col ref="hbsab"/>
  222. <col ref="chestparslt"/>
  223. <col ref="sytsopin"/>
  224. <col ref="remfact"/>
  225. <script type="javascript" ev:event="ondblclick">
  226. <![CDATA[
  227. var iRow = grd_mediexamrsltlist.row;
  228. //if(( grd_mediexamrsltlist.mouseRow > 0) && ( grd_mediexamrsltlist.mouseRow <= grd_mediexamrsltlist.rows )) {
  229. // modal( "SMAER00800",100,10,"SMAER00800","/root/send/data/singdata/srchpid","/root/main/mediexamrsltinfo/mediexamrsltlist" + "[" + iRow + "]/pid");
  230. //}
  231. ]]>
  232. </script>
  233. </datagrid>
  234. <select1 id="cmb_cond1" ref="/root/main/sortcond/cond1" class="combo_search" appearance="minimal" style="left:117px; top:72px; width:80px; height:19px; ">
  235. <choices>
  236. <item>
  237. <label>-</label>
  238. <value>0</value>
  239. </item>
  240. <item>
  241. <label>부서코드</label>
  242. <value>1</value>
  243. </item>
  244. <item>
  245. <label>사번</label>
  246. <value>3</value>
  247. </item>
  248. <item>
  249. <label>성명</label>
  250. <value>4</value>
  251. </item>
  252. <item>
  253. <label>등록번호</label>
  254. <value>6</value>
  255. </item>
  256. </choices>
  257. </select1>
  258. <output id="output4" ref="/root/main/sortcond/sort4" class="output_fix" style="left:681px; top:72px; width:30px; height:19px; text-align:center; "/>
  259. <select1 id="cmb_cond2" ref="/root/main/sortcond/cond2" class="combo_search" appearance="minimal" style="left:200px; top:72px; width:70px; height:19px; ">
  260. <choices>
  261. <item>
  262. <label>-</label>
  263. <value>-</value>
  264. </item>
  265. <item>
  266. <label>올림</label>
  267. <value>asc</value>
  268. </item>
  269. <item>
  270. <label>내림</label>
  271. <value>desc</value>
  272. </item>
  273. </choices>
  274. <script type="javascript" ev:event="xforms-value-changed">
  275. <![CDATA[
  276. var tmp = model.getValue("/root/main/sortcond/cond2");
  277. if (tmp != "-"){
  278. cmb_cond3.disabled = false;
  279. cmb_cond4.disabled = false;
  280. } else {
  281. cmb_cond3.disabled = true;
  282. cmb_cond4.disabled = true;
  283. }
  284. ]]>
  285. </script>
  286. </select1>
  287. <output id="output5" ref="/root/main/sortcond/sort5" class="output_fix" style="left:880px; top:72px; width:30px; height:19px; text-align:center; "/>
  288. <select1 id="cmb_cond3" ref="/root/main/sortcond/cond3" class="combo_search" disabled="true" appearance="minimal" style="left:316px; top:71px; width:80px; height:19px; ">
  289. <choices>
  290. <item>
  291. <label>-</label>
  292. <value>0</value>
  293. </item>
  294. <item>
  295. <label>부서코드</label>
  296. <value>1</value>
  297. </item>
  298. <item>
  299. <label>사번</label>
  300. <value>3</value>
  301. </item>
  302. <item>
  303. <label>성명</label>
  304. <value>4</value>
  305. </item>
  306. <item>
  307. <label>등록번호</label>
  308. <value>6</value>
  309. </item>
  310. </choices>
  311. </select1>
  312. <output id="output6" ref="/root/main/sortcond/sort2" class="output_fix" style="left:283px; top:72px; width:30px; height:19px; text-align:center; "/>
  313. <button id="button2" class="btn2_letter2" style="left:1150px; top:71px; width:42px; height:19px; ">
  314. <caption>엑셀</caption>
  315. <script type="javascript" ev:event="DOMActivate">
  316. <![CDATA[
  317. // var fileName = window.fileDialog("save", ",", false, "건강검진결과조회", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
  318. // if (fileName != ""){
  319. // grd_mediexamrsltlist.saveExcel(fileName, "SheetName", false, false, "", "", false);
  320. // }
  321. var fileName = window.fileDialog("save", ",", false, "건강검진결과조회", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
  322. if (fileName != ""){
  323. grd_mediexamrsltlist.saveExcel(fileName, "건강검진결과조회", true, true, "", "", false);
  324. var s = fileName.lastIndexOf("\\");
  325. var fileName=fileName.substring(s+1);
  326. var rmsg = messageBox("저장된 Excel을", "Q004");
  327. if( rmsg == 6 ){
  328. window.exec("excel.exe", fileName);
  329. }
  330. }
  331. ]]>
  332. </script>
  333. </button>
  334. <select1 id="cmb_cond4" ref="/root/main/sortcond/cond4" class="combo_search" disabled="true" appearance="minimal" style="left:399px; top:72px; width:70px; height:19px; ">
  335. <choices>
  336. <item>
  337. <label>-</label>
  338. <value>-</value>
  339. </item>
  340. <item>
  341. <label>올림</label>
  342. <value>asc</value>
  343. </item>
  344. <item>
  345. <label>내림</label>
  346. <value>desc</value>
  347. </item>
  348. </choices>
  349. <script type="javascript" ev:event="xforms-value-changed">
  350. <![CDATA[
  351. var tmp = model.getValue("/root/main/sortcond/cond4");
  352. if (tmp != "-"){
  353. cmb_cond5.disabled = false;
  354. cmb_cond6.disabled = false;
  355. } else {
  356. cmb_cond5.disabled = true;
  357. cmb_cond6.disabled = true;
  358. }
  359. ]]>
  360. </script>
  361. </select1>
  362. <output id="output7" ref="/root/main/sortcond/sort3" class="output_fix" style="left:482px; top:72px; width:30px; height:19px; text-align:center; "/>
  363. <select1 id="cmb_cond5" ref="/root/main/sortcond/cond5" class="combo_search" disabled="true" appearance="minimal" style="left:516px; top:72px; width:80px; height:19px; ">
  364. <choices>
  365. <item>
  366. <label>-</label>
  367. <value>0</value>
  368. </item>
  369. <item>
  370. <label>부서코드</label>
  371. <value>1</value>
  372. </item>
  373. <item>
  374. <label>사번</label>
  375. <value>3</value>
  376. </item>
  377. <item>
  378. <label>성명</label>
  379. <value>4</value>
  380. </item>
  381. <item>
  382. <label>등록번호</label>
  383. <value>6</value>
  384. </item>
  385. </choices>
  386. </select1>
  387. <output id="output8" ref="/root/main/sortcond/sort1" class="output_fix" style="left:84px; top:72px; width:30px; height:19px; text-align:center; "/>
  388. <select1 id="cmb_cond6" ref="/root/main/sortcond/cond6" class="combo_search" disabled="true" appearance="minimal" style="left:598px; top:72px; width:70px; height:19px; ">
  389. <choices>
  390. <item>
  391. <label>-</label>
  392. <value>-</value>
  393. </item>
  394. <item>
  395. <label>올림</label>
  396. <value>asc</value>
  397. </item>
  398. <item>
  399. <label>내림</label>
  400. <value>desc</value>
  401. </item>
  402. </choices>
  403. <script type="javascript" ev:event="xforms-value-changed">
  404. <![CDATA[
  405. var tmp = model.getValue("/root/main/sortcond/cond6");
  406. if (tmp != "-"){
  407. cmb_cond7.disabled = false;
  408. cmb_cond8.disabled = false;
  409. } else {
  410. cmb_cond7.disabled = true;
  411. cmb_cond8.disabled = true;
  412. }
  413. ]]>
  414. </script>
  415. </select1>
  416. <select1 id="cmb_cond7" ref="/root/main/sortcond/cond7" class="combo_search" disabled="true" appearance="minimal" style="left:714px; top:72px; width:80px; height:19px; ">
  417. <choices>
  418. <item>
  419. <label>-</label>
  420. <value>0</value>
  421. </item>
  422. <item>
  423. <label>부서코드</label>
  424. <value>1</value>
  425. </item>
  426. <item>
  427. <label>사번</label>
  428. <value>3</value>
  429. </item>
  430. <item>
  431. <label>성명</label>
  432. <value>4</value>
  433. </item>
  434. <item>
  435. <label>등록번호</label>
  436. <value>6</value>
  437. </item>
  438. </choices>
  439. </select1>
  440. <select1 id="cmb_cond8" ref="/root/main/sortcond/cond8" class="combo_search" disabled="true" appearance="minimal" style="left:797px; top:72px; width:70px; height:19px; ">
  441. <choices>
  442. <item>
  443. <label>-</label>
  444. <value>-</value>
  445. </item>
  446. <item>
  447. <label>올림</label>
  448. <value>asc</value>
  449. </item>
  450. <item>
  451. <label>내림</label>
  452. <value>desc</value>
  453. </item>
  454. </choices>
  455. <script type="javascript" ev:event="xforms-value-changed">
  456. <![CDATA[
  457. var tmp = model.getValue("/root/main/sortcond/cond8");
  458. if (tmp != "-"){
  459. cmb_cond9.disabled = false;
  460. cmb_cond10.disabled = false;
  461. } else {
  462. cmb_cond9.disabled = true;
  463. cmb_cond10.disabled = true;
  464. }
  465. ]]>
  466. </script>
  467. </select1>
  468. <caption id="caption1" class="cell_1" style="left:0px; top:70px; width:79px; height:23px; vertical-align:middle; ">정렬선택</caption>
  469. <select1 id="cmb_cond9" ref="/root/main/sortcond/cond9" class="combo_search" disabled="true" appearance="minimal" style="left:912px; top:72px; width:80px; height:19px; ">
  470. <choices>
  471. <item>
  472. <label>-</label>
  473. <value>0</value>
  474. </item>
  475. <item>
  476. <label>부서코드</label>
  477. <value>1</value>
  478. </item>
  479. <item>
  480. <label>사번</label>
  481. <value>3</value>
  482. </item>
  483. <item>
  484. <label>성명</label>
  485. <value>4</value>
  486. </item>
  487. <item>
  488. <label>등록번호</label>
  489. <value>6</value>
  490. </item>
  491. </choices>
  492. </select1>
  493. <line id="line1" class="line_3" style="x1:0px; y1:93px; x2:1194px; y2:93px; "/>
  494. <button id="btn_sort" class="btn2_letter2" style="left:1105px; top:71px; width:42px; height:19px; ">
  495. <caption>정렬</caption>
  496. <script type="javascript" ev:event="onclick">
  497. <![CDATA[
  498. var tmpCol = model.getValue("/root/main/sortcond/cond1");
  499. var tmpsort = model.getValue("/root/main/sortcond/cond2");
  500. if (tmpsort == "asc" && tmpCol > 0 )
  501. {
  502. grd_mediexamrsltlist.colsort(tmpCol) = "asc";
  503. } else{
  504. grd_mediexamrsltlist.colsort(tmpCol) = "desc";
  505. }
  506. var tmpCol = model.getValue("/root/main/sortcond/cond3");
  507. var tmpsort = model.getValue("/root/main/sortcond/cond4");
  508. if (tmpsort == "asc" && tmpCol > 0 )
  509. {
  510. grd_mediexamrsltlist.colsort(tmpCol) = "asc";
  511. } else{
  512. grd_mediexamrsltlist.colsort(tmpCol) = "desc";
  513. }
  514. var tmpCol = model.getValue("/root/main/sortcond/cond5");
  515. var tmpsort = model.getValue("/root/main/sortcond/cond6");
  516. if (tmpsort == "asc" && tmpCol > 0 )
  517. {
  518. grd_mediexamrsltlist.colsort(tmpCol) = "asc";
  519. } else{
  520. grd_mediexamrsltlist.colsort(tmpCol) = "desc";
  521. }
  522. var tmpCol = model.getValue("/root/main/sortcond/cond7");
  523. var tmpsort = model.getValue("/root/main/sortcond/cond8");
  524. if (tmpsort == "asc" && tmpCol > 0 )
  525. {
  526. grd_mediexamrsltlist.colsort(tmpCol) = "asc";
  527. } else{
  528. grd_mediexamrsltlist.colsort(tmpCol) = "desc";
  529. }
  530. var tmpCol = model.getValue("/root/main/sortcond/cond9");
  531. var tmpsort = model.getValue("/root/main/sortcond/cond10");
  532. if (tmpsort == "asc" && tmpCol > 0 )
  533. {
  534. grd_mediexamrsltlist.colsort(tmpCol) = "asc";
  535. } else{
  536. grd_mediexamrsltlist.colsort(tmpCol) = "desc";
  537. }
  538. grd_mediexamrsltlist.sort(1, 1, grd_mediexamrsltlist.bottomRow, grd_mediexamrsltlist.rightcol)="usersort";
  539. grd_mediexamrsltlist.gridToInstance();
  540. model.refresh();
  541. ]]>
  542. </script>
  543. </button>
  544. <select1 id="cmb_cond10" ref="/root/main/sortcond/cond10" class="combo_search" disabled="true" appearance="minimal" style="left:996px; top:72px; width:70px; height:19px; ">
  545. <choices>
  546. <item>
  547. <label>-</label>
  548. <value>-</value>
  549. </item>
  550. <item>
  551. <label>올림</label>
  552. <value>asc</value>
  553. </item>
  554. <item>
  555. <label>내림</label>
  556. <value>desc</value>
  557. </item>
  558. </choices>
  559. </select1>
  560. <caption id="caption25" class="tit_2" style="left:0px; top:50px; width:173px; height:13px; ">건강검진결과리스트</caption>
  561. <!--button id="button1" class="btn2_letter6" style="left:1105px; top:45px; width:86px; height:19px; ">
  562. <caption>통합검사결과</caption>
  563. <script type="javascript" ev:event="DOMActivate">
  564. <![CDATA[
  565. var iRow = grd_mediexamrsltlist.row;
  566. //alert(iRow);
  567. //alert(model.getValue("/root/main/mediexamrsltinfo/mediexamrsltlist/pid"));
  568. modal( "SMAER00800",100,10,"SMAER00800","/root/send/data/singdata/srchpid","/root/main/mediexamrsltinfo/mediexamrsltlist" + "[" + iRow + "]/pid");
  569. //modal( "SMAER00800",100,10,"SMAER00800","/root/send/data/singdata/srchpid","/root/main/mediexamrsltinfo/mediexamrsltlist/pid");
  570. ]]>
  571. </script>
  572. </button-->
  573. </group>
  574. <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
  575. <caption id="caption2" class="tit_1" style="left:0px; top:0px; width:163px; height:14px; ">건강검진결과조회</caption>
  576. </group>
  577. <group id="group6" style="left:0px; top:753px; width:1195px; height:27px; ">
  578. <button id="btn_print" class="btn6_letter2" style="left:3px; top:3px; width:56px; height:22px; ">
  579. <caption>출력</caption>
  580. </button>
  581. <button id="btn_init" class="btn4_letter3" style="left:1124px; top:3px; width:68px; height:22px; ">
  582. <caption>초기화</caption>
  583. <script type="javascript" ev:event="DOMActivate">
  584. <![CDATA[
  585. //model.resetInstanceNode("/root/main");
  586. window.reload();
  587. ]]>
  588. </script>
  589. </button>
  590. </group>
  591. </group>
  592. </xhtml:body>
  593. </xhtml:html>