SPLLP90200_HLA결과조회.xfdl 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SPLLP90200" position="absolute 0 0 1150 420" titletext="New Form" onload="SPLLP90200_onload">
  5. <Layouts>
  6. <Layout>
  7. <Div position="absolute 0 28 1095 398" id="group3" scrollbars="autoboth">
  8. <Layouts>
  9. <Layout>
  10. <Shape position="absolute 5 0 1090 6" linetype="vertical" id="line9" class="line_1" anchor="default"/>
  11. <Grid position="absolute 5 5 1090 365" id="grd_testlist" binddataset="ds_grd_testlist" anchor="default">
  12. <Formats>
  13. <Format id="default">
  14. <Columns>
  15. <Column size="130"/>
  16. <Column size="80"/>
  17. <Column size="80"/>
  18. <Column size="80"/>
  19. <Column size="80"/>
  20. <Column size="80"/>
  21. <Column size="80"/>
  22. <Column size="80"/>
  23. <Column size="80"/>
  24. <Column size="80"/>
  25. <Column size="80"/>
  26. <Column size="80"/>
  27. <Column size="80"/>
  28. <Column size="80"/>
  29. <Column size="80"/>
  30. <Column size="80"/>
  31. <Column size="80"/>
  32. <Column size="80"/>
  33. <Column size="80"/>
  34. <Column size="80"/>
  35. <Column size="80"/>
  36. <Column size="80"/>
  37. <Column size="80"/>
  38. <Column size="80"/>
  39. <Column size="80"/>
  40. <Column size="80"/>
  41. <Column size="80"/>
  42. <Column size="80"/>
  43. <Column size="80"/>
  44. <Column size="80"/>
  45. <Column size="80"/>
  46. <Column size="120"/>
  47. <Column size="74"/>
  48. </Columns>
  49. <Rows>
  50. <Row size="24" band="head"/>
  51. <Row size="24"/>
  52. </Rows>
  53. <Band id="head">
  54. <Cell text="공여자"/>
  55. <Cell col="1" text="inptrslt1"/>
  56. <Cell col="2" text="inptrslt2"/>
  57. <Cell col="3" text="inptrslt3"/>
  58. <Cell col="4" text="inptrslt4"/>
  59. <Cell col="5" text="inptrslt5"/>
  60. <Cell col="6" text="inptrslt6"/>
  61. <Cell col="7" text="inptrslt7"/>
  62. <Cell col="8" text="inptrslt8"/>
  63. <Cell col="9" text="inptrslt9"/>
  64. <Cell col="10" text="inptrslt10"/>
  65. <Cell col="11" text="inptrslt11"/>
  66. <Cell col="12" text="inptrslt12"/>
  67. <Cell col="13" text="inptrslt13"/>
  68. <Cell col="14" text="inptrslt14"/>
  69. <Cell col="15" text="inptrslt15"/>
  70. <Cell col="16" text="inptrslt16"/>
  71. <Cell col="17" text="inptrslt17"/>
  72. <Cell col="18" text="inptrslt18"/>
  73. <Cell col="19" text="inptrslt19"/>
  74. <Cell col="20" text="inptrslt20"/>
  75. <Cell col="21" text="inptrslt21"/>
  76. <Cell col="22" text="inptrslt22"/>
  77. <Cell col="23" text="inptrslt23"/>
  78. <Cell col="24" text="inptrslt24"/>
  79. <Cell col="25" text="inptrslt25"/>
  80. <Cell col="26" text="inptrslt26"/>
  81. <Cell col="27" text="inptrslt27"/>
  82. <Cell col="28" text="inptrslt28"/>
  83. <Cell col="29" text="inptrslt29"/>
  84. <Cell col="30" text="inptrslt30"/>
  85. <Cell col="31" text="검사일자"/>
  86. <Cell col="32" text="검사자"/>
  87. </Band>
  88. <Band id="body">
  89. <Cell text="bind:dnorinfo"/>
  90. <Cell col="1" text="bind:inptrslt1"/>
  91. <Cell col="2" text="bind:inptrslt2"/>
  92. <Cell col="3" text="bind:inptrslt3"/>
  93. <Cell col="4" text="bind:inptrslt4"/>
  94. <Cell col="5" text="bind:inptrslt5"/>
  95. <Cell col="6" text="bind:inptrslt6"/>
  96. <Cell col="7" text="bind:inptrslt7"/>
  97. <Cell col="8" text="bind:inptrslt8"/>
  98. <Cell col="9" text="bind:inptrslt9"/>
  99. <Cell col="10" text="bind:inptrslt10"/>
  100. <Cell col="11" text="bind:inptrslt11"/>
  101. <Cell col="12" text="bind:inptrslt12"/>
  102. <Cell col="13" text="bind:inptrslt13"/>
  103. <Cell col="14" text="bind:inptrslt14"/>
  104. <Cell col="15" text="bind:inptrslt15"/>
  105. <Cell col="16" text="bind:inptrslt16"/>
  106. <Cell col="17" text="bind:inptrslt17"/>
  107. <Cell col="18" text="bind:inptrslt18"/>
  108. <Cell col="19" text="bind:inptrslt19"/>
  109. <Cell col="20" text="bind:inptrslt20"/>
  110. <Cell col="21" text="bind:inptrslt21"/>
  111. <Cell col="22" text="bind:inptrslt22"/>
  112. <Cell col="23" text="bind:inptrslt23"/>
  113. <Cell col="24" text="bind:inptrslt24"/>
  114. <Cell col="25" text="bind:inptrslt25"/>
  115. <Cell col="26" text="bind:inptrslt26"/>
  116. <Cell col="27" text="bind:inptrslt27"/>
  117. <Cell col="28" text="bind:inptrslt28"/>
  118. <Cell col="29" text="bind:inptrslt29"/>
  119. <Cell col="30" text="bind:inptrslt30"/>
  120. <Cell col="31" text="bind:rsltdt" mask="yyyy-mm-dd hh:nn"/>
  121. <Cell col="32" text="bind:id"/>
  122. </Band>
  123. </Format>
  124. </Formats>
  125. </Grid>
  126. </Layout>
  127. </Layouts>
  128. </Div>
  129. <Div position="absolute 0 0 1090 25" id="group2">
  130. <Layouts>
  131. <Layout>
  132. <Static text="HLA 검사 결과조회" position="absolute 0 0 158 25" id="caption17" class="tit_1"/>
  133. </Layout>
  134. </Layouts>
  135. </Div>
  136. </Layout>
  137. </Layouts>
  138. <Objects>
  139. <Dataset id="ds_grd_testlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  140. <ColumnInfo>
  141. <Column id="dnorinfo" type="STRING"/>
  142. <Column id="inptrslt1" type="STRING"/>
  143. <Column id="inptrslt2" type="STRING"/>
  144. <Column id="inptrslt3" type="STRING"/>
  145. <Column id="inptrslt4" type="STRING"/>
  146. <Column id="inptrslt5" type="STRING"/>
  147. <Column id="inptrslt6" type="STRING"/>
  148. <Column id="inptrslt7" type="STRING"/>
  149. <Column id="inptrslt8" type="STRING"/>
  150. <Column id="inptrslt9" type="STRING"/>
  151. <Column id="inptrslt10" type="STRING"/>
  152. <Column id="inptrslt11" type="STRING"/>
  153. <Column id="inptrslt12" type="STRING"/>
  154. <Column id="inptrslt13" type="STRING"/>
  155. <Column id="inptrslt14" type="STRING"/>
  156. <Column id="inptrslt15" type="STRING"/>
  157. <Column id="inptrslt16" type="STRING"/>
  158. <Column id="inptrslt17" type="STRING"/>
  159. <Column id="inptrslt18" type="STRING"/>
  160. <Column id="inptrslt19" type="STRING"/>
  161. <Column id="inptrslt20" type="STRING"/>
  162. <Column id="inptrslt21" type="STRING"/>
  163. <Column id="inptrslt22" type="STRING"/>
  164. <Column id="inptrslt23" type="STRING"/>
  165. <Column id="inptrslt24" type="STRING"/>
  166. <Column id="inptrslt25" type="STRING"/>
  167. <Column id="inptrslt26" type="STRING"/>
  168. <Column id="inptrslt27" type="STRING"/>
  169. <Column id="inptrslt28" type="STRING"/>
  170. <Column id="inptrslt29" type="STRING"/>
  171. <Column id="inptrslt30" type="STRING"/>
  172. <Column id="rsltdt" type="STRING"/>
  173. <Column id="id" type="STRING"/>
  174. </ColumnInfo>
  175. </Dataset>
  176. <Dataset id="ds_send_data1" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  177. <Dataset id="ds_hidden_refparam" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  178. <Dataset id="ds_init_lb0000" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  179. <ColumnInfo>
  180. <Column id="cd" type="STRING" size="256"/>
  181. <Column id="nm" type="STRING" size="256"/>
  182. </ColumnInfo>
  183. </Dataset>
  184. <Dataset id="ds_init_lb1002" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  185. <ColumnInfo>
  186. <Column id="cd" type="STRING" size="256"/>
  187. <Column id="nm" type="STRING" size="256"/>
  188. </ColumnInfo>
  189. </Dataset>
  190. <Dataset id="ds_init_lb1003" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  191. <ColumnInfo>
  192. <Column id="cd" type="STRING" size="256"/>
  193. <Column id="nm" type="STRING" size="256"/>
  194. </ColumnInfo>
  195. </Dataset>
  196. <Dataset id="ds_hidden_default" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  197. </Objects>
  198. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  199. * System Name :
  200. * Job Name :
  201. * Creator :
  202. * Make Date : 2015-03-12
  203. * Description :
  204. *---------------------------------------------------------------------------------------
  205. * Modify Date Modifier Modify Description
  206. *---------------------------------------------------------------------------------------
  207. * 2015-03-12 Live Converter TF->XP
  208. *
  209. *---------------------------------------------------------------------------------------
  210. ****************************************************************************************/
  211. include "com_commonxp::comm_main.xjs";
  212. var gStartCol = 2;
  213. function cbf_SMLLP90200(strSvcID, nErrorCode, strErrorMag){
  214. if(nErrorCode != 0) sysf_messageBox("ID: " + strSvcID + " Error: " + strErrorMag, "E009", "");
  215. }
  216. function lf_initDataSet(){
  217. // 0106=시행부서(검사계) // 0111 계(시행)
  218. var sInDsName = dsf_createDsRow("ds_send"
  219. , [{col: "codeflag", val: "0000|1002|1003|"}]);
  220. // 서브밋호출
  221. var oParam = {};
  222. oParam.id = "TRLZZ00101";
  223. oParam.service = "diagtestapplib.DiagTestBaseInfoMngt";
  224. oParam.method = "reqGetInitCodeInfo";
  225. oParam.inds = "cond="+sInDsName;
  226. oParam.outds = "ds_init_lb0000=0000 ds_init_lb1002=1002 ds_init_lb1003=1003"
  227. oParam.async = false;
  228. oParam.callback = "cbf_SMLLP90200";
  229. tranf_submit(oParam);
  230. }
  231. function fSetInit(){
  232. lf_initDataSet();
  233. //fGrdReMake();
  234. for(i=group3.grd_testlist.getCellCount("Head")-2 ; i >= gStartCol ; i--){
  235. //grd_testlist.colHidden(i) = true;
  236. group3.grd_testlist.setRealColSize(i,0) ;
  237. }
  238. //공여자목록 그리드 셋팅
  239. fGrdReMake();
  240. ds_send_data1.copyData(arg_ds_hidden_refparam);
  241. dsf_makeValue(ds_send_data1,"userdeptflagcd" , "string",ds_init_lb0000.getColumn(0,"nm"));
  242. dsf_makeValue(ds_send_data1,"testcdlist", "string", ds_init_lb1003.getColumn(0,"etc01"));
  243. var oParam = {};
  244. oParam.id = "TRLLP90201";
  245. oParam.service = "refprintmngtapp.SpecialTestRefPrintMngt";
  246. oParam.method = "reqGetHLARsltList";
  247. oParam.inds = "cond=ds_send_data1";
  248. oParam.outds = "ds_grd_testlist=patlist";
  249. oParam.async = false;
  250. oParam.callback = "cbf_SMLLP90200";
  251. tranf_submit(oParam);
  252. ds_send_data1.copyData(ds_hidden_default);
  253. fGrdReMake2();
  254. }
  255. /* @group : 그리드 셋팅
  256. * @ver : 2009.01.19
  257. * @by : 김성희
  258. * @-----------------------------------
  259. * @type : function
  260. * @access : public
  261. * @desc : 그리드 셋팅 Function
  262. */
  263. function fGrdReMake(){
  264. ds_grd_testlist.clearData();
  265. var strCaption = "공여자명";
  266. var endCaption = "^검사일자^검사자";
  267. var caption = "";
  268. var vTclsnmA = ds_init_lb1003.getColumn(0,"etc02").split("▦");
  269. var vTclsnmB = ds_init_lb1003.getColumn(0,"nm").split("▦");
  270. caption = strCaption;
  271. for(i=0;i<vTclsnmA.length;i++){
  272. group3.grd_testlist.setRealColSize(i + gStartCol,24) ;
  273. group3.grd_testlist.setCellProperty("Head",i + gStartCol,"text",vTclsnmA[i]);
  274. //caption += "^" + vTclsnmA[i];
  275. }
  276. for(i=0;i<vTclsnmB.length;i++){
  277. group3.grd_testlist.setRealColSize(i + gStartCol,24) ;
  278. group3.grd_testlist.setCellProperty("Head",i + gStartCol,"text",vTclsnmB[i]);
  279. }
  280. }
  281. //조회후 그리드 리메이크
  282. function fGrdReMake2(){
  283. var vCdList = ds_init_lb1003.getColumn(0,"etc01").split("▦");
  284. var vCdCount = vCdList.length;
  285. //alert(vCdCount);
  286. var vOrgrst = "";
  287. var curCol = 0;
  288. for (var col=0; col < parseInt(vCdCount); col++) {
  289. vOrgrst = "inptrslt" + (eval(col+1) );
  290. curCol = eval(gStartCol+col);
  291. //grd_testlist.cellStyle("background-color", (row+1), curCol, (row+1),curCol) = "#eaeaea";
  292. group3.grd_testlist.setCellProperty("Body",curCol,"style","background:EXPR(getColumn(currow,'" + vOrgrst + "') == 'false'?'#eaeaea')");
  293. }
  294. }
  295. function SPLLP90200_onload(obj:Form, e:LoadEventInfo)
  296. {
  297. frmf_initForm(obj);
  298. fSetInit();
  299. }
  300. ]]></Script>
  301. </Form>
  302. </FDL>