SPLPR02000_결과등록이력조회.xfdl 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SPLPR02000" position="absolute 0 0 760 509" titletext="결과등록이력조회" oninit="SPLPR02000_oninit" onload="SPLPR02000_onload">
  5. <Layouts>
  6. <Layout>
  7. <Static id="stt_titleText" text="결과등록이력조회" class="sta_POP_title" position="absolute 12 8 192 28" visible="false"/>
  8. <Button id="Button00" taborder="3" class="btn_POP_cls" position="absolute 738 11 752 25" style="color:#333333ff;" onclick="Button00_onclick" visible="false"/>
  9. <Grid id="grd_cflist2" class="datagrid2" taborder="2" useinputpanel="false" position="absolute 2 21 324 503" binddataset="ds_rsltrgstlist">
  10. <Formats>
  11. <Format id="default">
  12. <Columns>
  13. <Column size="0"/>
  14. <Column size="0"/>
  15. <Column size="0"/>
  16. <Column size="0"/>
  17. <Column size="0"/>
  18. <Column size="0"/>
  19. <Column size="0"/>
  20. <Column size="35"/>
  21. <Column size="84"/>
  22. <Column size="84"/>
  23. <Column size="0"/>
  24. <Column size="100"/>
  25. <Column size="100"/>
  26. </Columns>
  27. <Rows>
  28. <Row size="22" band="head"/>
  29. <Row size="20"/>
  30. </Rows>
  31. <Band id="head">
  32. <Cell text="기관코드"/>
  33. <Cell col="1" text="등록번호"/>
  34. <Cell col="2" text="ptno"/>
  35. <Cell col="3" text="병리번호"/>
  36. <Cell col="4" text="rsltrgstdd"/>
  37. <Cell col="5" text="rsltrgstno"/>
  38. <Cell col="6" text="rsltrgsthistno"/>
  39. <Cell col="7" text="차수"/>
  40. <Cell col="8" text="결과입력일자"/>
  41. <Cell col="9" text="결과입력시간"/>
  42. <Cell col="10" text="rsltrgstid"/>
  43. <Cell col="11" text="결과입력자"/>
  44. <Cell col="12" text="rgstno"/>
  45. </Band>
  46. <Band id="body">
  47. <Cell/>
  48. <Cell col="1"/>
  49. <Cell col="2"/>
  50. <Cell col="3"/>
  51. <Cell col="4"/>
  52. <Cell col="5"/>
  53. <Cell col="6"/>
  54. <Cell col="7" text="bind:addrsltdg"/>
  55. <Cell col="8" displaytype="date" class="text_center" text="bind:rgstdd"/>
  56. <Cell col="9" displaytype="date" class="text_center" text="bind:rgsttm" mask="hh:mm:ss"/>
  57. <Cell col="10"/>
  58. <Cell col="11" class="text_center" text="bind:rsltrgstnm"/>
  59. <Cell col="12" text="bind:rgstno"/>
  60. </Band>
  61. </Format>
  62. </Formats>
  63. </Grid>
  64. <Grid id="grd_cflist" class="datagrid2" taborder="1" useinputpanel="false" position="absolute 2 21 758 503" binddataset="ds_rsltrgstlist" autosizingtype="none" autofittype="col">
  65. <Formats>
  66. <Format id="default">
  67. <Columns>
  68. <Column size="0"/>
  69. <Column size="0"/>
  70. <Column size="0"/>
  71. <Column size="0"/>
  72. <Column size="0"/>
  73. <Column size="0"/>
  74. <Column size="0"/>
  75. <Column size="100"/>
  76. <Column size="100"/>
  77. <Column size="0"/>
  78. <Column size="100"/>
  79. <Column size="100"/>
  80. <Column size="80"/>
  81. <Column size="60"/>
  82. <Column size="201"/>
  83. </Columns>
  84. <Rows>
  85. <Row size="22" band="head"/>
  86. <Row size="20"/>
  87. </Rows>
  88. <Band id="head">
  89. <Cell text="기관코드"/>
  90. <Cell col="1" text="등록번호"/>
  91. <Cell col="2" text="ptno"/>
  92. <Cell col="3" text="병리번호"/>
  93. <Cell col="4" text="rsltrgstdd"/>
  94. <Cell col="5" text="rsltrgstno"/>
  95. <Cell col="6" text="rsltrgsthistno"/>
  96. <Cell col="7" text="결과입력일자"/>
  97. <Cell col="8" text="결과입력시간"/>
  98. <Cell col="9" text="rsltrgstid"/>
  99. <Cell col="10" text="결과입력자"/>
  100. <Cell col="11" text="취소일자"/>
  101. <Cell col="12" text="취소시간"/>
  102. <Cell col="13" text="취소자"/>
  103. <Cell col="14" text="취소사유"/>
  104. </Band>
  105. <Band id="body">
  106. <Cell/>
  107. <Cell col="1"/>
  108. <Cell col="2"/>
  109. <Cell col="3"/>
  110. <Cell col="4"/>
  111. <Cell col="5"/>
  112. <Cell col="6"/>
  113. <Cell col="7" displaytype="date" class="text_center" text="bind:rgstdd" calendardisplaynulltype="nulltext"/>
  114. <Cell col="8" displaytype="date" class="text_center" text="bind:rgsttm" mask="HH:mm:ss" calendardisplaynulltype="nulltext"/>
  115. <Cell col="9"/>
  116. <Cell col="10" class="text_center" text="bind:rsltrgstnm"/>
  117. <Cell col="11" displaytype="normal" class="text_center" text="bind:cncldd" mask="expr:utlf_isNull(cncldd) || cncldd == '-' ? '' : '####-##-##'" calendardisplaynulltype="nulltext"/>
  118. <Cell col="12" displaytype="normal" class="text_center" text="bind:cncltm" mask="expr:utlf_isNull(cncltm) || cncltm == '-' ? '' : '####-##-##'" calendardisplaynulltype="nulltext"/>
  119. <Cell col="13" class="text_center" text="bind:cnclnm"/>
  120. <Cell col="14" text="bind:cnclresn"/>
  121. </Band>
  122. </Format>
  123. </Formats>
  124. </Grid>
  125. <Static id="caption1" text="결과입력목록" class="tit_2" position="absolute 2 2 207 18"/>
  126. </Layout>
  127. </Layouts>
  128. <Objects>
  129. <Dataset id="ds_rsltrgstlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  130. <ColumnInfo>
  131. <Column id="instcd" type="STRING" size="256"/>
  132. <Column id="pid" type="STRING" size="256"/>
  133. <Column id="ptno" type="STRING" size="256"/>
  134. <Column id="dispptno" type="STRING" size="256"/>
  135. <Column id="rsltrgstdd" type="STRING" size="256"/>
  136. <Column id="rsltrgstno" type="STRING" size="256"/>
  137. <Column id="rsltrgsthistno" type="STRING" size="256"/>
  138. <Column id="rgstdd" type="STRING" size="256"/>
  139. <Column id="rgsttm" type="STRING" size="256"/>
  140. <Column id="rsltrgstid" type="STRING" size="256"/>
  141. <Column id="rsltrgstnm" type="STRING" size="256"/>
  142. <Column id="cncldd" type="STRING" size="256"/>
  143. <Column id="cncltm" type="STRING" size="256"/>
  144. <Column id="cnclnm" type="STRING" size="256"/>
  145. <Column id="cnclresn" type="STRING" size="256"/>
  146. <Column id="addrsltdg" type="STRING" size="256"/>
  147. <Column id="rgstno" type="STRING" size="256"/>
  148. </ColumnInfo>
  149. <Rows>
  150. <Row>
  151. <Col id="instcd"/>
  152. <Col id="pid"/>
  153. <Col id="ptno"/>
  154. <Col id="dispptno"/>
  155. <Col id="rsltrgstdd"/>
  156. <Col id="rsltrgstno"/>
  157. <Col id="rsltrgsthistno"/>
  158. <Col id="rgstdd"/>
  159. <Col id="rgsttm"/>
  160. <Col id="rsltrgstid"/>
  161. <Col id="rsltrgstnm"/>
  162. </Row>
  163. </Rows>
  164. </Dataset>
  165. </Objects>
  166. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  167. * System Name : KU2.0
  168. * Job Name :
  169. * File Name : SPLPR02000_결과등록이력조회.xfdl
  170. * Creator :
  171. * Make Date : 2015-12-10
  172. *
  173. * Description :
  174. *---------------------------------------------------------------------------------------
  175. * Modify Date Modifier Modify Description
  176. *---------------------------------------------------------------------------------------
  177. *
  178. *---------------------------------------------------------------------------------------
  179. ****************************************************************************************/
  180. //=======================================================================================
  181. // Lib Include
  182. //---------------------------------------------------------------------------------------
  183. include "com_commonxp::comm_main.xjs";
  184. include "lis_commonxp::LPZ001.xjs";
  185. function SPLPR02000_oninit(obj:Form, e:InitEventInfo)
  186. {
  187. frmf_initForm(obj);
  188. }
  189. function Button00_onclick(obj:Button, e:ClickEventInfo)
  190. {
  191. this.close();
  192. }
  193. function SPLPR02000_onload(obj:Form, e:LoadEventInfo)
  194. {
  195. ds_rsltrgstlist.clearData();
  196. if((opener.frmf_getParameter("SMLPR00100_scrnid") == "SPLPR00200")
  197. || (opener.frmf_getParameter("SMLPR00100_scrnid") == "SMLPP02900")) {
  198. grd_cflist.visible = false;
  199. grd_cflist2.visible = true;
  200. grd_cflist.position.width = 200;
  201. //window.setSize("350", "600");
  202. this.position.width = 350;
  203. this.position.height = 600;
  204. } else {
  205. grd_cflist.visible = true;
  206. grd_cflist2.visible = false;
  207. }
  208. dsf_createDsRow("ds_send"
  209. , [{col: "instcd" , val: opener.frmf_getParameter("SMLPR00100_instcd")}
  210. , {col: "ptno" , val: opener.frmf_getParameter("SMLPR00100_ptno")}
  211. , {col: "scrnid", val: opener.frmf_getParameter("SMLPR00100_scrnid")}
  212. ]);
  213. var oParam = {};
  214. oParam.id = "TRLPR02001";
  215. oParam.service = "plgyrsltmngtapp.TestRsltRgst";
  216. oParam.method = "reqGetRsltRgstHist";
  217. oParam.inds = "reqData=ds_send";
  218. oParam.outds = "ds_rsltrgstlist=refrslt";
  219. oParam.async = false;
  220. oParam.callback = "cf_TRLPR02001";
  221. tranf_submit(oParam);
  222. }
  223. function cf_TRLPR02001(sSvcId, nErrorCode, sErrorMsg) {
  224. if(nErrorCode < 0) return;
  225. // for(var i = 0; i < ds_rsltrgstlist.rowcount; i++){
  226. // if(ds_rsltrgstlist.getColumn(i,"rgstno") == ds_rsltrgstlist.getColumn(i -1,"rgstno")){
  227. // if(grd_cflist2.cellstyle("background-color", i-1, 0, i-1, 11) == "white" || grd_cflist2.cellstyle("background-color", i-1, 0, i-1, 11) == "#ffffff") {
  228. // grd_cflist2.cellstyle("background-color", i, 0, i, 11) = "#ffffff";
  229. // }else {
  230. // grd_cflist2.cellstyle("background-color", i, 0, i, 11) = "#f0f0f0";
  231. // }
  232. // }else {
  233. // if(grd_cflist2.cellstyle("background-color", i-1, 0, i-1, 11) == "white" || grd_cflist2.cellstyle("background-color", i-1, 0, i-1, 11) == "#ffffff") {
  234. // grd_cflist2.cellstyle("background-color", i, 0, i, 11) = "#f0f0f0";
  235. // }else {
  236. // grd_cflist2.cellstyle("background-color", i, 0, i, 11) = "#ffffff";
  237. // }
  238. // }
  239. // }
  240. }
  241. ]]></Script>
  242. </Form>
  243. </FDL>