SMAHA04390_test.xfdl 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMAHA04390" inheritanceid="" oninit="SMAHA04390_oninit" onload="SMAHA04390_onload" position="absolute 0 0 1202 782" titletext="">
  5. <Layouts>
  6. <Layout>
  7. <Static id="caption1" text="직원검진결과내역조회" class="tit_1" position="absolute 0 0 180 25"/>
  8. <Div id="group2" taborder="1" class="div_SA" position="absolute 0 25 1194 60" anchor="left top right">
  9. <Layouts>
  10. <Layout width="1194" height="35">
  11. <Button id="btn_search" taborder="6" text="조회" class="btn1" position="absolute 1123 9 1179 31" anchor="top right" onclick="group2_btn_search_onclick"/>
  12. <Shape id="line13" linetype="vertical" class="line_4" position="absolute 1105 7 1111 29" anchor="top right"/>
  13. <Edit id="srchpid" taborder="2" autoselect="true" autoskip="true" class="input_search" position="absolute 433 8 513 27" onkeyup="group2_srch_pid_onkeyup" anchor="default"/>
  14. <Static id="caption21" text="기준일자 :" class="search_name" position="absolute 6 9 92 26" anchor="default"/>
  15. <Calendar id="ipt_fromdd" taborder="0" autoselect="true" autoskip="true" class="input_search" position="absolute 87 8 187 27" anchor="default" dateformat="yyyy-MM-dd " value="null"/>
  16. <Calendar id="ipt_todd" taborder="1" autoselect="true" autoskip="true" class="input_search" position="absolute 208 8 308 27" anchor="default" dateformat="yyyy-MM-dd "/>
  17. <Static id="caption16" text="~" position="absolute 193 8 202 27" anchor="default"/>
  18. <Static id="caption17" text="등록번호 :" class="search_name" position="absolute 345 9 431 26" anchor="default"/>
  19. <Button id="btn_srchpat" taborder="3" class="icon_search" position="absolute 520 9 533 25" onclick="group2_btn_srchpat_onclick" anchor="default"/>
  20. <Edit id="ipt_srchpnm" taborder="4" class="input_search" enable="false" position="absolute 540 8 670 27" anchor="default" onkeyup="group2_ipt_pnm_onkeydown"/>
  21. </Layout>
  22. </Layouts>
  23. </Div>
  24. <Static id="caption20" text="직원검진 결과 리스트" class="tit_2" position="absolute 0 74 162 90"/>
  25. <Shape id="line8" class="line_10" position="absolute 0 92 1194 98" anchor="left top right"/>
  26. <Button id="btn_excel" taborder="2" text="엑셀저장" class="btn7" position="absolute 1114 68 1194 90" anchor="top right" onclick="group2_btn_excel_onclick"/>
  27. <Grid id="grd_dtlist" taborder="10" binddataset="ds_main_detlinfo_item" useinputpanel="false" cellsizingtype="col" autofittype="none" position="absolute 0 106 1194 755" anchor="all" readonly="false" autoenter="select" cellclickbound="cell">
  28. <Formats>
  29. <Format id="default">
  30. <Columns>
  31. <Column size="35"/>
  32. <Column size="100"/>
  33. <Column size="100"/>
  34. <Column size="100"/>
  35. <Column size="100"/>
  36. <Column size="100"/>
  37. <Column size="100"/>
  38. <Column size="100"/>
  39. <Column size="100"/>
  40. <Column size="100"/>
  41. <Column size="100"/>
  42. <Column size="100"/>
  43. <Column size="100"/>
  44. <Column size="100"/>
  45. <Column size="100"/>
  46. <Column size="100"/>
  47. <Column size="100"/>
  48. <Column size="100"/>
  49. <Column size="100"/>
  50. <Column size="100"/>
  51. <Column size="100"/>
  52. <Column size="100"/>
  53. <Column size="100"/>
  54. <Column size="100"/>
  55. <Column size="100"/>
  56. <Column size="100"/>
  57. <Column size="100"/>
  58. <Column size="100"/>
  59. <Column size="100"/>
  60. <Column size="100"/>
  61. <Column size="100"/>
  62. <Column size="100"/>
  63. <Column size="100"/>
  64. <Column size="100"/>
  65. <Column size="100"/>
  66. <Column size="100"/>
  67. <Column size="100"/>
  68. <Column size="100"/>
  69. <Column size="100"/>
  70. </Columns>
  71. <Rows>
  72. <Row size="24" band="head"/>
  73. <Row size="24"/>
  74. </Rows>
  75. <Band id="head">
  76. <Cell/>
  77. <Cell col="1" text="등록번호"/>
  78. <Cell col="2" text="수검자명"/>
  79. <Cell col="3" text="주민등록번호"/>
  80. <Cell col="4" text="검진일자"/>
  81. <Cell col="5" text="과거병력"/>
  82. <Cell col="6" text="약물치료"/>
  83. <Cell col="7" text="정상A"/>
  84. <Cell col="8" text="정상B"/>
  85. <Cell col="9" text="일반질환r1"/>
  86. <Cell col="10" text="일반질환r2"/>
  87. <Cell col="11" text="유질환자"/>
  88. <Cell col="12" text="의심질환(소견)"/>
  89. <Cell col="13" text="유질환(소견)"/>
  90. <Cell col="14" text="생활습관(소견)"/>
  91. <Cell col="15" text="기타(소견)"/>
  92. <Cell col="16" text="흡연조절"/>
  93. <Cell col="17" text="음주조절"/>
  94. <Cell col="18" text="운동조절"/>
  95. <Cell col="19" text="체중조절"/>
  96. <Cell col="20" text="신장"/>
  97. <Cell col="21" text="체중"/>
  98. <Cell col="22" text="허리"/>
  99. <Cell col="23" text="bmi"/>
  100. <Cell col="24" text="시력"/>
  101. <Cell col="25" text="청력"/>
  102. <Cell col="26" text="혈압"/>
  103. <Cell col="27" text="요단백"/>
  104. <Cell col="28" text="혈색소"/>
  105. <Cell col="29" text="혈당"/>
  106. <Cell col="30" text="콜레스테롤"/>
  107. <Cell col="31" text="HDL"/>
  108. <Cell col="32" text="트리그리셀라이드"/>
  109. <Cell col="33" text="LDL"/>
  110. <Cell col="34" text="serum"/>
  111. <Cell col="35" text="eGFR"/>
  112. <Cell col="36" text="SGOT"/>
  113. <Cell col="37" text="SGPT"/>
  114. <Cell col="38" text="GGT"/>
  115. <Cell col="39" text="흉부방사선"/>
  116. <Cell col="40" text="방사선비고"/>
  117. </Band>
  118. <Band id="body">
  119. <Cell celltype="head" expr="currow+1"/>
  120. <Cell col="1" text="bind:pid"/>
  121. <Cell col="2" text="bind:hngnm"/>
  122. <Cell col="3" text="bind:rrgstno"/>
  123. <Cell col="4" text="bind:orddd"/>
  124. <Cell col="5" text="bind:mh"/>
  125. <Cell col="6" text="bind:dh"/>
  126. <Cell col="7" text="bind:ajudge"/>
  127. <Cell col="8" text="bind:ajudge"/>
  128. <Cell col="9" text="bind:doubtr1"/>
  129. <Cell col="10" text="bind:doubtr2"/>
  130. <Cell col="11" text="bind:sickperson"/>
  131. <Cell col="12" text="bind:doubtop"/>
  132. <Cell col="13" text="bind:sickop"/>
  133. <Cell col="14" text="bind:lifeop"/>
  134. <Cell col="15" text="bind:etcop"/>
  135. <Cell col="16" text="bind:smoke"/>
  136. <Cell col="17" text="bind:archol"/>
  137. <Cell col="18" text="bind:exercise"/>
  138. <Cell col="19" text="bind:weight"/>
  139. <Cell col="20" text="bind:hgt"/>
  140. <Cell col="21" text="bind:wgt"/>
  141. <Cell col="22" text="bind:belt"/>
  142. <Cell col="23" text="bind:bmi"/>
  143. <Cell col="24" text="bind:eye"/>
  144. <Cell col="25" text="bind:ear"/>
  145. <Cell col="26" text="bind:blood"/>
  146. <Cell col="27" text="bind:protein"/>
  147. <Cell col="28" text="bind:bloodcolor"/>
  148. <Cell col="29" text="bind:bloodsugar"/>
  149. <Cell col="30" text="bind:cholestero"/>
  150. <Cell col="31" text="bind:hdl"/>
  151. <Cell col="32" text="bind:tri"/>
  152. <Cell col="33" text="bind:ldl"/>
  153. <Cell col="34" text="bind:serum"/>
  154. <Cell col="35" text="bind:egfr"/>
  155. <Cell col="36" text="bind:sgot"/>
  156. <Cell col="37" text="bind:sgpt"/>
  157. <Cell col="38" text="bind:ggt"/>
  158. <Cell col="39" text="bind:brradiation"/>
  159. <Cell col="40" text="bind:radiationetc"/>
  160. </Band>
  161. </Format>
  162. </Formats>
  163. </Grid>
  164. </Layout>
  165. </Layouts>
  166. <Objects>
  167. <Dataset id="ds_main_detlinfo_item" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  168. <ColumnInfo>
  169. <Column id="pid" type="STRING" size="256"/>
  170. <Column id="hngnm" type="STRING" size="256"/>
  171. <Column id="rrgstno" type="STRING" size="256"/>
  172. <Column id="orddd" type="STRING" size="256"/>
  173. <Column id="mh" type="STRING" size="256"/>
  174. <Column id="dh" type="STRING" size="256"/>
  175. <Column id="Ajudge" type="STRING" size="256"/>
  176. <Column id="Bjudge" type="STRING" size="256"/>
  177. <Column id="doubtr1" type="STRING" size="256"/>
  178. <Column id="doubtr2" type="STRING" size="256"/>
  179. <Column id="sickperson" type="STRING" size="256"/>
  180. <Column id="doubtop" type="STRING" size="256"/>
  181. <Column id="sickop" type="STRING" size="256"/>
  182. <Column id="lifeop" type="STRING" size="256"/>
  183. <Column id="etcop" type="STRING" size="256"/>
  184. <Column id="smoke" type="STRING" size="256"/>
  185. <Column id="archol" type="STRING" size="256"/>
  186. <Column id="exercise" type="STRING" size="256"/>
  187. <Column id="weight" type="STRING" size="256"/>
  188. <Column id="hgt" type="STRING" size="256"/>
  189. <Column id="wgt" type="STRING" size="256"/>
  190. <Column id="belt" type="STRING" size="256"/>
  191. <Column id="bmi" type="STRING" size="256"/>
  192. <Column id="eye" type="STRING" size="256"/>
  193. <Column id="ear" type="STRING" size="256"/>
  194. <Column id="blood" type="STRING" size="256"/>
  195. <Column id="protein" type="STRING" size="256"/>
  196. <Column id="bloodcolor" type="STRING" size="256"/>
  197. <Column id="bloodsugar" type="STRING" size="256"/>
  198. <Column id="cholestero" type="STRING" size="256"/>
  199. <Column id="hdl" type="STRING" size="256"/>
  200. <Column id="tri" type="STRING" size="256"/>
  201. <Column id="ldl" type="STRING" size="256"/>
  202. <Column id="serum" type="STRING" size="256"/>
  203. <Column id="egfr" type="STRING" size="256"/>
  204. <Column id="sgot" type="STRING" size="256"/>
  205. <Column id="sgpt" type="STRING" size="256"/>
  206. <Column id="ggt" type="STRING" size="256"/>
  207. <Column id="brradiation" type="STRING" size="256"/>
  208. <Column id="radiationetc" type="STRING" size="256"/>
  209. </ColumnInfo>
  210. </Dataset>
  211. <Dataset id="ds_send_search" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  212. <ColumnInfo>
  213. <Column id="srchpid" type="STRING" size="256"/>
  214. <Column id="fromdd" type="STRING" size="256"/>
  215. <Column id="todd" type="STRING" size="256"/>
  216. <Column id="srchpid2" type="STRING" size="256"/>
  217. <Column id="srchpnm" type="STRING" size="256"/>
  218. </ColumnInfo>
  219. <Rows>
  220. <Row>
  221. <Col id="srchpid"/>
  222. <Col id="fromdd"/>
  223. <Col id="todd"/>
  224. <Col id="srchpid2"/>
  225. <Col id="srchpnm"/>
  226. </Row>
  227. </Rows>
  228. </Dataset>
  229. </Objects>
  230. <Bind>
  231. <BindItem id="item0" compid="group2.ipt_fromdd" propid="value" datasetid="ds_send_search" columnid="fromdd"/>
  232. <BindItem id="item1" compid="group2.ipt_todd" propid="value" datasetid="ds_send_search" columnid="todd"/>
  233. <BindItem id="item2" compid="group2.srchpid" propid="value" datasetid="ds_send_search" columnid="srchpid"/>
  234. <BindItem id="item3" compid="group2.ipt_srchpnm" propid="value" datasetid="ds_send_search" columnid="srchpnm"/>
  235. </Bind>
  236. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  237. * System Name :
  238. * Job Name :
  239. * Creator :
  240. * Make Date : 2019-08-02
  241. * Description : 직원검진자료 조회
  242. *---------------------------------------------------------------------------------------
  243. * Modify Date Modifier Modify Description
  244. *---------------------------------------------------------------------------------------
  245. *
  246. *
  247. *---------------------------------------------------------------------------------------
  248. ****************************************************************************************/
  249. include "com_commonxp::comm_main.xjs";
  250. include "pam_pamcomnxp::PAM.xjs";
  251. //include "ast_healthexambasexp::healcombolist.xjs";
  252. include "ast_healthexamrsrvacptxp::AHA.xjs";
  253. function SMAHA04390_oninit(obj:Form, e:InitEventInfo)
  254. {
  255. frmf_initForm(obj);
  256. }
  257. function SMAHA04390_onload(obj:Form, e:LoadEventInfo)
  258. {
  259. grdf_initGrid(grd_dtlist);
  260. pamGetDeptCDDrIDList();
  261. }
  262. //환자검색
  263. function group2_btn_srchpat_onclick(obj:Button, e:ClickEventInfo)
  264. {
  265. fSearchPatInfo("SMAHA00600", "pid", group2.srchpid.value, "N", "ds_send_search", "srchpid", "srchpnm");
  266. }
  267. //조회버튼 클릭
  268. function group2_btn_search_onclick(obj:Button, e:ClickEventInfo)
  269. {
  270. if (utlf_isNull(ds_send_search.getColumn(0, "fromdd")) || utlf_isNull(ds_send_search.getColumn(0, "todd"))
  271. ||(group2.ipt_fromdd.value > group2.ipt_todd.value ))
  272. {
  273. sysf_messageBox("날짜를 확인하세요.", "E999", "");
  274. return false;
  275. }
  276. var oParam = {};
  277. oParam.id = "AATEST";
  278. oParam.service = "healexamrsltjudgapp.RsltRef";
  279. oParam.method = "reqGetPrtEmpList";
  280. oParam.inds = "req=ds_send_search";
  281. oParam.outds = "ds_main_detlinfo_item=item";
  282. oParam.async = false;
  283. tranf_submit(oParam);
  284. //trace(ds_main_detlinfo_item);
  285. //ds_main_datalist.keystring = "G:orddd";
  286. }
  287. function group2_btn_excel_onclick(obj: Button, e: ClickEventInfo)
  288. {
  289. grdf_exportExcel(grd_dtlist, "직원검진결과내역조회", "Sheet1", true, "", 'user', true);
  290. }
  291. ]]></Script>
  292. </Form>
  293. </FDL>