SMLQJ10200_핵의학물질별결과관리.xfdl 50 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMLQJ10200" position="absolute 0 0 1200 775" titletext="QC 결과관리" oninit="SMLQJ10200_oninit" onload="SMLQJ10200_onload">
  5. <Layouts>
  6. <Layout>
  7. <Static id="caption6" text="QC 결과관리" class="tit_1" position="absolute 0 0 172 23"/>
  8. <Shape id="line3" class="line_6" position="absolute 0 43 1194 49" anchor="left top right"/>
  9. <Button id="btn_reptmthdchng" taborder="1" text="보고방법변경" class="btn4" visible="false" position="absolute 784 21 888 43" anchor="top right" onclick="btn_reptmthdchng_onclick"/>
  10. <Button id="btn_exception" taborder="2" text="제외" class="btn4" visible="false" position="absolute 950 21 1006 43" anchor="top right" onclick="btn_exception_onclick"/>
  11. <Button id="btn_retest" taborder="3" text="재검" class="btn4" visible="false" position="absolute 891 21 947 43" anchor="top right"/>
  12. <Button id="btn_save" taborder="4" text="저장" class="btn4" position="absolute 1009 21 1065 43" anchor="top right" onclick="btn_save_onclick" enable="false"/>
  13. <Button id="btn_cfm" taborder="5" text="확인" class="btn4" position="absolute 1068 21 1124 43" anchor="top right" onclick="btn_cfm_onclick"/>
  14. <Button id="btn_cle" taborder="6" text="초기화" class="btn4" position="absolute 1127 21 1195 43" anchor="top right" onclick="btn_cle_onclick"/>
  15. <Grid id="grd_testRsltInfo" taborder="7" binddataset="ds_main_rsltinfo_testrsltinfo" useinputpanel="false" position="absolute 324 166 1193 771" cellsizingtype="col" anchor="all" oncellclick="grd_testRsltInfo_oncellclick" onkeydown="grd_testRsltInfo_onkeydown">
  16. <Formats>
  17. <Format id="default">
  18. <Columns>
  19. <Column size="23"/>
  20. <Column size="25"/>
  21. <Column size="100"/>
  22. <Column size="50"/>
  23. <Column size="50"/>
  24. <Column size="100"/>
  25. <Column size="100"/>
  26. <Column size="80"/>
  27. <Column size="0"/>
  28. <Column size="0"/>
  29. <Column size="0"/>
  30. <Column size="90"/>
  31. <Column size="25"/>
  32. <Column size="25"/>
  33. <Column size="0"/>
  34. <Column size="0"/>
  35. <Column size="150"/>
  36. <Column size="0"/>
  37. <Column size="0"/>
  38. <Column size="0"/>
  39. <Column size="0"/>
  40. <Column size="0"/>
  41. <Column size="0"/>
  42. <Column size="0"/>
  43. <Column size="0"/>
  44. <Column size="0"/>
  45. <Column size="0"/>
  46. <Column size="0"/>
  47. <Column size="0"/>
  48. <Column size="0"/>
  49. <Column size="0"/>
  50. <Column size="0"/>
  51. <Column size="0"/>
  52. <Column size="0"/>
  53. <Column size="0"/>
  54. <Column size="0"/>
  55. <Column size="60"/>
  56. <Column size="120"/>
  57. <Column size="80"/>
  58. </Columns>
  59. <Rows>
  60. <Row size="24" band="head"/>
  61. <Row size="24"/>
  62. </Rows>
  63. <Band id="head">
  64. <Cell/>
  65. <Cell col="1" style="align:center middle;background:center middle;background2:center middle;backgroundimage:URL('IMG::/lis/chkRPT0.png');"/>
  66. <Cell col="2" text="Standard"/>
  67. <Cell col="3" colspan="2" text="결과" taborder="undefined"/>
  68. <Cell col="5" text="DEF.DOSE"/>
  69. <Cell col="6" text="CALC DOSE"/>
  70. <Cell col="7" text="%B/F"/>
  71. <Cell col="8" text="검사항목명"/>
  72. <Cell col="9" text="레벨코드"/>
  73. <Cell col="10" text="결과등록일시"/>
  74. <Cell col="11" text="결과보고시간"/>
  75. <Cell col="12" text="N"/>
  76. <Cell col="13" text="S"/>
  77. <Cell col="14" text="W"/>
  78. <Cell col="15" text="WGMR판정"/>
  79. <Cell col="16" text="조치사항"/>
  80. <Cell col="17" text="bcno"/>
  81. <Cell col="18" text="testcd"/>
  82. <Cell col="19" text="판정유형"/>
  83. <Cell col="20" text="참고치유형"/>
  84. <Cell col="21" text="참고치구분"/>
  85. <Cell col="22" text="하한"/>
  86. <Cell col="23" text="상한"/>
  87. <Cell col="24" text="refls"/>
  88. <Cell col="25" text="refhs"/>
  89. <Cell col="26" text="실제결과"/>
  90. <Cell col="27" text="결과유형"/>
  91. <Cell col="28" text="단위"/>
  92. <Cell col="29" text="wgmr범위"/>
  93. <Cell col="30" text="표준편차"/>
  94. <Cell col="31" text="평균"/>
  95. <Cell col="32" text="반올림옵션"/>
  96. <Cell col="33" text="그래프표시"/>
  97. <Cell col="34" text="참고치문자"/>
  98. <Cell col="35" text="숫자결과포멧"/>
  99. <Cell col="36" text="이전결과"/>
  100. <Cell col="37" text="이전결과일"/>
  101. <Cell col="38" text="검사자"/>
  102. </Band>
  103. <Band id="body">
  104. <Cell celltype="head" expr="currow+1"/>
  105. <Cell col="1" displaytype="checkbox" edittype="checkbox" text="bind:chk"/>
  106. <Cell col="2" style="background:EXPR(judgmark == 'H' ? '#f7a08b' : judgmark == 'L' ? '#b9e5fb' : wgmrmark == 'W' ? '#99cf16' : wgmrmark == 'R' ? '#fec34d' : '#EEFFFF');background2:EXPR(judgmark == 'H' ? '#f7a08b' : judgmark == 'L' ? '#b9e5fb' : wgmrmark == 'W' ? '#99cf16' : wgmrmark == 'R' ? '#fec34d' : '#EEFFFF');" text="bind:levlnm"/>
  107. <Cell col="3" displaytype="text" edittype="text" style="background:EXPR(judgmark == 'H' ? '#f7a08b' : judgmark == 'L' ? '#b9e5fb' : wgmrmark == 'W' ? '#99cf16' : wgmrmark == 'R' ? '#fec34d' : '#EEFFFF');background2:EXPR(judgmark == 'H' ? '#f7a08b' : judgmark == 'L' ? '#b9e5fb' : wgmrmark == 'W' ? '#99cf16' : wgmrmark == 'R' ? '#fec34d' : '#EEFFFF');" text="bind:buforgrslt"/>
  108. <Cell col="4" style="background:EXPR(judgmark == 'H' ? '#f7a08b' : judgmark == 'L' ? '#b9e5fb' : wgmrmark == 'W' ? '#99cf16' : wgmrmark == 'R' ? '#fec34d' : '#EEFFFF');background2:EXPR(judgmark == 'H' ? '#f7a08b' : judgmark == 'L' ? '#b9e5fb' : wgmrmark == 'W' ? '#99cf16' : wgmrmark == 'R' ? '#fec34d' : '#EEFFFF');" text="bind:viewrslt"/>
  109. <Cell col="5" displaytype="text" edittype="text" style="background:EXPR(judgmark == 'H' ? '#f7a08b' : judgmark == 'L' ? '#b9e5fb' : wgmrmark == 'W' ? '#99cf16' : wgmrmark == 'R' ? '#fec34d' : '#EEFFFF');background2:EXPR(judgmark == 'H' ? '#f7a08b' : judgmark == 'L' ? '#b9e5fb' : wgmrmark == 'W' ? '#99cf16' : wgmrmark == 'R' ? '#fec34d' : '#EEFFFF');" text="bind:ddosevalue"/>
  110. <Cell col="6" displaytype="text" edittype="text" style="background:EXPR(judgmark == 'H' ? '#f7a08b' : judgmark == 'L' ? '#b9e5fb' : wgmrmark == 'W' ? '#99cf16' : wgmrmark == 'R' ? '#fec34d' : '#EEFFFF');background2:EXPR(judgmark == 'H' ? '#f7a08b' : judgmark == 'L' ? '#b9e5fb' : wgmrmark == 'W' ? '#99cf16' : wgmrmark == 'R' ? '#fec34d' : '#EEFFFF');" text="bind:cdosevalue"/>
  111. <Cell col="7" displaytype="text" edittype="text" style="background:EXPR(judgmark == 'H' ? '#f7a08b' : judgmark == 'L' ? '#b9e5fb' : wgmrmark == 'W' ? '#99cf16' : wgmrmark == 'R' ? '#fec34d' : '#EEFFFF');background2:EXPR(judgmark == 'H' ? '#f7a08b' : judgmark == 'L' ? '#b9e5fb' : wgmrmark == 'W' ? '#99cf16' : wgmrmark == 'R' ? '#fec34d' : '#EEFFFF');" text="bind:bfvalue"/>
  112. <Cell col="8" style="background:EXPR(judgmark == 'H' ? '#f7a08b' : judgmark == 'L' ? '#b9e5fb' : wgmrmark == 'W' ? '#99cf16' : wgmrmark == 'R' ? '#fec34d' : '#EEFFFF');background2:EXPR(judgmark == 'H' ? '#f7a08b' : judgmark == 'L' ? '#b9e5fb' : wgmrmark == 'W' ? '#99cf16' : wgmrmark == 'R' ? '#fec34d' : '#EEFFFF');" text="bind:testnm"/>
  113. <Cell col="9" style="background:EXPR(judgmark == 'H' ? '#f7a08b' : judgmark == 'L' ? '#b9e5fb' : wgmrmark == 'W' ? '#99cf16' : wgmrmark == 'R' ? '#fec34d' : '#EEFFFF');background2:EXPR(judgmark == 'H' ? '#f7a08b' : judgmark == 'L' ? '#b9e5fb' : wgmrmark == 'W' ? '#99cf16' : wgmrmark == 'R' ? '#fec34d' : '#EEFFFF');" text="bind:levlcd"/>
  114. <Cell col="10" style="background:EXPR(judgmark == 'H' ? '#f7a08b' : judgmark == 'L' ? '#b9e5fb' : wgmrmark == 'W' ? '#99cf16' : wgmrmark == 'R' ? '#fec34d' : '#EEFFFF');background2:EXPR(judgmark == 'H' ? '#f7a08b' : judgmark == 'L' ? '#b9e5fb' : wgmrmark == 'W' ? '#99cf16' : wgmrmark == 'R' ? '#fec34d' : '#EEFFFF');" text="bind:rsltrgstdt" mask="yyyy-mm-dd hh:mm:ss"/>
  115. <Cell col="11" displaytype="date" style="background:EXPR(judgmark == 'H' ? '#f7a08b' : judgmark == 'L' ? '#b9e5fb' : wgmrmark == 'W' ? '#99cf16' : wgmrmark == 'R' ? '#fec34d' : '#EEFFFF');background2:EXPR(judgmark == 'H' ? '#f7a08b' : judgmark == 'L' ? '#b9e5fb' : wgmrmark == 'W' ? '#99cf16' : wgmrmark == 'R' ? '#fec34d' : '#EEFFFF');" text="bind:rsltcnfmdt" mask="yyyy-MM-dd hh:mm:ss" calendardisplaynulltype="nulltext"/>
  116. <Cell col="12" style="background:EXPR(judgmark == 'H' ? '#f7a08b' : judgmark == 'L' ? '#b9e5fb' : wgmrmark == 'W' ? '#99cf16' : wgmrmark == 'R' ? '#fec34d' : '#EEFFFF');background2:EXPR(judgmark == 'H' ? '#f7a08b' : judgmark == 'L' ? '#b9e5fb' : wgmrmark == 'W' ? '#99cf16' : wgmrmark == 'R' ? '#fec34d' : '#EEFFFF');" text="bind:judgmark"/>
  117. <Cell col="13" style="background:EXPR(judgmark == 'H' ? '#f7a08b' : judgmark == 'L' ? '#b9e5fb' : wgmrmark == 'W' ? '#99cf16' : wgmrmark == 'R' ? '#fec34d' : '#EEFFFF');background2:EXPR(judgmark == 'H' ? '#f7a08b' : judgmark == 'L' ? '#b9e5fb' : wgmrmark == 'W' ? '#99cf16' : wgmrmark == 'R' ? '#fec34d' : '#EEFFFF');" text="bind:rsltstat"/>
  118. <Cell col="14" style="background:EXPR(judgmark == 'H' ? '#f7a08b' : judgmark == 'L' ? '#b9e5fb' : wgmrmark == 'W' ? '#99cf16' : wgmrmark == 'R' ? '#fec34d' : '#EEFFFF');background2:EXPR(judgmark == 'H' ? '#f7a08b' : judgmark == 'L' ? '#b9e5fb' : wgmrmark == 'W' ? '#99cf16' : wgmrmark == 'R' ? '#fec34d' : '#EEFFFF');" text="bind:wgmrmark"/>
  119. <Cell col="15" style="background:EXPR(judgmark == 'H' ? '#f7a08b' : judgmark == 'L' ? '#b9e5fb' : wgmrmark == 'W' ? '#99cf16' : wgmrmark == 'R' ? '#fec34d' : '#EEFFFF');background2:EXPR(judgmark == 'H' ? '#f7a08b' : judgmark == 'L' ? '#b9e5fb' : wgmrmark == 'W' ? '#99cf16' : wgmrmark == 'R' ? '#fec34d' : '#EEFFFF');" text="bind:wgmrstat"/>
  120. <Cell col="16" displaytype="text" edittype="text" style="background:EXPR(judgmark == 'H' ? '#f7a08b' : judgmark == 'L' ? '#b9e5fb' : wgmrmark == 'W' ? '#99cf16' : wgmrmark == 'R' ? '#fec34d' : '#EEFFFF');background2:EXPR(judgmark == 'H' ? '#f7a08b' : judgmark == 'L' ? '#b9e5fb' : wgmrmark == 'W' ? '#99cf16' : wgmrmark == 'R' ? '#fec34d' : '#EEFFFF');" text="bind:measfactcnts"/>
  121. <Cell col="17" style="background:EXPR(judgmark == 'H' ? '#f7a08b' : judgmark == 'L' ? '#b9e5fb' : wgmrmark == 'W' ? '#99cf16' : wgmrmark == 'R' ? '#fec34d' : '#EEFFFF');background2:EXPR(judgmark == 'H' ? '#f7a08b' : judgmark == 'L' ? '#b9e5fb' : wgmrmark == 'W' ? '#99cf16' : wgmrmark == 'R' ? '#fec34d' : '#EEFFFF');" text="bind:bcno"/>
  122. <Cell col="18" style="background:EXPR(judgmark == 'H' ? '#f7a08b' : judgmark == 'L' ? '#b9e5fb' : wgmrmark == 'W' ? '#99cf16' : wgmrmark == 'R' ? '#fec34d' : '#EEFFFF');background2:EXPR(judgmark == 'H' ? '#f7a08b' : judgmark == 'L' ? '#b9e5fb' : wgmrmark == 'W' ? '#99cf16' : wgmrmark == 'R' ? '#fec34d' : '#EEFFFF');" text="bind:testcd"/>
  123. <Cell col="19" style="background:EXPR(judgmark == 'H' ? '#f7a08b' : judgmark == 'L' ? '#b9e5fb' : wgmrmark == 'W' ? '#99cf16' : wgmrmark == 'R' ? '#fec34d' : '#EEFFFF');background2:EXPR(judgmark == 'H' ? '#f7a08b' : judgmark == 'L' ? '#b9e5fb' : wgmrmark == 'W' ? '#99cf16' : wgmrmark == 'R' ? '#fec34d' : '#EEFFFF');" text="bind:judgkind"/>
  124. <Cell col="20" style="background:EXPR(judgmark == 'H' ? '#f7a08b' : judgmark == 'L' ? '#b9e5fb' : wgmrmark == 'W' ? '#99cf16' : wgmrmark == 'R' ? '#fec34d' : '#EEFFFF');background2:EXPR(judgmark == 'H' ? '#f7a08b' : judgmark == 'L' ? '#b9e5fb' : wgmrmark == 'W' ? '#99cf16' : wgmrmark == 'R' ? '#fec34d' : '#EEFFFF');" text="bind:refkind"/>
  125. <Cell col="21" style="background:EXPR(judgmark == 'H' ? '#f7a08b' : judgmark == 'L' ? '#b9e5fb' : wgmrmark == 'W' ? '#99cf16' : wgmrmark == 'R' ? '#fec34d' : '#EEFFFF');background2:EXPR(judgmark == 'H' ? '#f7a08b' : judgmark == 'L' ? '#b9e5fb' : wgmrmark == 'W' ? '#99cf16' : wgmrmark == 'R' ? '#fec34d' : '#EEFFFF');" text="bind:refflag"/>
  126. <Cell col="22" style="background:EXPR(judgmark == 'H' ? '#f7a08b' : judgmark == 'L' ? '#b9e5fb' : wgmrmark == 'W' ? '#99cf16' : wgmrmark == 'R' ? '#fec34d' : '#EEFFFF');background2:EXPR(judgmark == 'H' ? '#f7a08b' : judgmark == 'L' ? '#b9e5fb' : wgmrmark == 'W' ? '#99cf16' : wgmrmark == 'R' ? '#fec34d' : '#EEFFFF');" text="bind:refl"/>
  127. <Cell col="23" style="background:EXPR(judgmark == 'H' ? '#f7a08b' : judgmark == 'L' ? '#b9e5fb' : wgmrmark == 'W' ? '#99cf16' : wgmrmark == 'R' ? '#fec34d' : '#EEFFFF');background2:EXPR(judgmark == 'H' ? '#f7a08b' : judgmark == 'L' ? '#b9e5fb' : wgmrmark == 'W' ? '#99cf16' : wgmrmark == 'R' ? '#fec34d' : '#EEFFFF');" text="bind:refh"/>
  128. <Cell col="24" style="background:EXPR(judgmark == 'H' ? '#f7a08b' : judgmark == 'L' ? '#b9e5fb' : wgmrmark == 'W' ? '#99cf16' : wgmrmark == 'R' ? '#fec34d' : '#EEFFFF');background2:EXPR(judgmark == 'H' ? '#f7a08b' : judgmark == 'L' ? '#b9e5fb' : wgmrmark == 'W' ? '#99cf16' : wgmrmark == 'R' ? '#fec34d' : '#EEFFFF');" text="bind:refls"/>
  129. <Cell col="25" style="background:EXPR(judgmark == 'H' ? '#f7a08b' : judgmark == 'L' ? '#b9e5fb' : wgmrmark == 'W' ? '#99cf16' : wgmrmark == 'R' ? '#fec34d' : '#EEFFFF');background2:EXPR(judgmark == 'H' ? '#f7a08b' : judgmark == 'L' ? '#b9e5fb' : wgmrmark == 'W' ? '#99cf16' : wgmrmark == 'R' ? '#fec34d' : '#EEFFFF');" text="bind:refhs"/>
  130. <Cell col="26" style="background:EXPR(judgmark == 'H' ? '#f7a08b' : judgmark == 'L' ? '#b9e5fb' : wgmrmark == 'W' ? '#99cf16' : wgmrmark == 'R' ? '#fec34d' : '#EEFFFF');background2:EXPR(judgmark == 'H' ? '#f7a08b' : judgmark == 'L' ? '#b9e5fb' : wgmrmark == 'W' ? '#99cf16' : wgmrmark == 'R' ? '#fec34d' : '#EEFFFF');" text="bind:orgrslt"/>
  131. <Cell col="27" style="background:EXPR(judgmark == 'H' ? '#f7a08b' : judgmark == 'L' ? '#b9e5fb' : wgmrmark == 'W' ? '#99cf16' : wgmrmark == 'R' ? '#fec34d' : '#EEFFFF');background2:EXPR(judgmark == 'H' ? '#f7a08b' : judgmark == 'L' ? '#b9e5fb' : wgmrmark == 'W' ? '#99cf16' : wgmrmark == 'R' ? '#fec34d' : '#EEFFFF');" text="bind:rsltkind"/>
  132. <Cell col="28" style="background:EXPR(judgmark == 'H' ? '#f7a08b' : judgmark == 'L' ? '#b9e5fb' : wgmrmark == 'W' ? '#99cf16' : wgmrmark == 'R' ? '#fec34d' : '#EEFFFF');background2:EXPR(judgmark == 'H' ? '#f7a08b' : judgmark == 'L' ? '#b9e5fb' : wgmrmark == 'W' ? '#99cf16' : wgmrmark == 'R' ? '#fec34d' : '#EEFFFF');" text="bind:rsltunit"/>
  133. <Cell col="29" style="background:EXPR(judgmark == 'H' ? '#f7a08b' : judgmark == 'L' ? '#b9e5fb' : wgmrmark == 'W' ? '#99cf16' : wgmrmark == 'R' ? '#fec34d' : '#EEFFFF');background2:EXPR(judgmark == 'H' ? '#f7a08b' : judgmark == 'L' ? '#b9e5fb' : wgmrmark == 'W' ? '#99cf16' : wgmrmark == 'R' ? '#fec34d' : '#EEFFFF');" text="bind:wgmrscop"/>
  134. <Cell col="30" style="background:EXPR(judgmark == 'H' ? '#f7a08b' : judgmark == 'L' ? '#b9e5fb' : wgmrmark == 'W' ? '#99cf16' : wgmrmark == 'R' ? '#fec34d' : '#EEFFFF');background2:EXPR(judgmark == 'H' ? '#f7a08b' : judgmark == 'L' ? '#b9e5fb' : wgmrmark == 'W' ? '#99cf16' : wgmrmark == 'R' ? '#fec34d' : '#EEFFFF');" text="bind:sdval"/>
  135. <Cell col="31" style="background:EXPR(judgmark == 'H' ? '#f7a08b' : judgmark == 'L' ? '#b9e5fb' : wgmrmark == 'W' ? '#99cf16' : wgmrmark == 'R' ? '#fec34d' : '#EEFFFF');background2:EXPR(judgmark == 'H' ? '#f7a08b' : judgmark == 'L' ? '#b9e5fb' : wgmrmark == 'W' ? '#99cf16' : wgmrmark == 'R' ? '#fec34d' : '#EEFFFF');" text="bind:avg"/>
  136. <Cell col="32" style="background:EXPR(judgmark == 'H' ? '#f7a08b' : judgmark == 'L' ? '#b9e5fb' : wgmrmark == 'W' ? '#99cf16' : wgmrmark == 'R' ? '#fec34d' : '#EEFFFF');background2:EXPR(judgmark == 'H' ? '#f7a08b' : judgmark == 'L' ? '#b9e5fb' : wgmrmark == 'W' ? '#99cf16' : wgmrmark == 'R' ? '#fec34d' : '#EEFFFF');" text="bind:rundkind"/>
  137. <Cell col="33" style="background:EXPR(judgmark == 'H' ? '#f7a08b' : judgmark == 'L' ? '#b9e5fb' : wgmrmark == 'W' ? '#99cf16' : wgmrmark == 'R' ? '#fec34d' : '#EEFFFF');background2:EXPR(judgmark == 'H' ? '#f7a08b' : judgmark == 'L' ? '#b9e5fb' : wgmrmark == 'W' ? '#99cf16' : wgmrmark == 'R' ? '#fec34d' : '#EEFFFF');" text="bind:graphdispyn"/>
  138. <Cell col="34" style="background:EXPR(judgmark == 'H' ? '#f7a08b' : judgmark == 'L' ? '#b9e5fb' : wgmrmark == 'W' ? '#99cf16' : wgmrmark == 'R' ? '#fec34d' : '#EEFFFF');background2:EXPR(judgmark == 'H' ? '#f7a08b' : judgmark == 'L' ? '#b9e5fb' : wgmrmark == 'W' ? '#99cf16' : wgmrmark == 'R' ? '#fec34d' : '#EEFFFF');" text="bind:refcval"/>
  139. <Cell col="35" style="background:EXPR(judgmark == 'H' ? '#f7a08b' : judgmark == 'L' ? '#b9e5fb' : wgmrmark == 'W' ? '#99cf16' : wgmrmark == 'R' ? '#fec34d' : '#EEFFFF');background2:EXPR(judgmark == 'H' ? '#f7a08b' : judgmark == 'L' ? '#b9e5fb' : wgmrmark == 'W' ? '#99cf16' : wgmrmark == 'R' ? '#fec34d' : '#EEFFFF');" text="bind:intrsltfrmt"/>
  140. <Cell col="36" style="background:EXPR(judgmark == 'H' ? '#f7a08b' : judgmark == 'L' ? '#b9e5fb' : wgmrmark == 'W' ? '#99cf16' : wgmrmark == 'R' ? '#fec34d' : '#EEFFFF');background2:EXPR(judgmark == 'H' ? '#f7a08b' : judgmark == 'L' ? '#b9e5fb' : wgmrmark == 'W' ? '#99cf16' : wgmrmark == 'R' ? '#fec34d' : '#EEFFFF');" text="bind:bfrslt1"/>
  141. <Cell col="37" displaytype="date" style="background:EXPR(judgmark == 'H' ? '#f7a08b' : judgmark == 'L' ? '#b9e5fb' : wgmrmark == 'W' ? '#99cf16' : wgmrmark == 'R' ? '#fec34d' : '#EEFFFF');background2:EXPR(judgmark == 'H' ? '#f7a08b' : judgmark == 'L' ? '#b9e5fb' : wgmrmark == 'W' ? '#99cf16' : wgmrmark == 'R' ? '#fec34d' : '#EEFFFF');" text="bind:bfrsltcnfmdt" mask="yyyy-MM-dd hh:mm:ss" calendardisplaynulltype="nulltext"/>
  142. <Cell col="38" style="background:EXPR(judgmark == 'H' ? '#f7a08b' : judgmark == 'L' ? '#b9e5fb' : wgmrmark == 'W' ? '#99cf16' : wgmrmark == 'R' ? '#fec34d' : '#EEFFFF');background2:EXPR(judgmark == 'H' ? '#f7a08b' : judgmark == 'L' ? '#b9e5fb' : wgmrmark == 'W' ? '#99cf16' : wgmrmark == 'R' ? '#fec34d' : '#EEFFFF');" text="bind:bfrsltcnfmid"/>
  143. </Band>
  144. </Format>
  145. </Formats>
  146. </Grid>
  147. <Shape id="line1" class="line_10" position="absolute 0 238 320 244"/>
  148. <Static id="caption7" text="QC 접수 리스트" class="tit_2" position="absolute 0 222 115 243"/>
  149. <Grid id="grd_acptList" taborder="8" binddataset="ds_main_acptlist" useinputpanel="false" position="absolute 0 243 320 771" anchor="left top bottom" oncellclick="grd_acptList_oncellclick">
  150. <Formats>
  151. <Format id="default">
  152. <Columns>
  153. <Column size="25"/>
  154. <Column size="20"/>
  155. <Column size="90"/>
  156. <Column size="100"/>
  157. <Column size="0"/>
  158. <Column size="0"/>
  159. <Column size="0"/>
  160. <Column size="0"/>
  161. <Column size="0"/>
  162. <Column size="130"/>
  163. <Column size="60"/>
  164. </Columns>
  165. <Rows>
  166. <Row size="24" band="head"/>
  167. <Row size="24"/>
  168. </Rows>
  169. <Band id="head">
  170. <Cell/>
  171. <Cell col="1"/>
  172. <Cell col="2" text="Control코드"/>
  173. <Cell col="3" text="검사명"/>
  174. <Cell col="4" text="검사코드"/>
  175. <Cell col="5" text="검체번호"/>
  176. <Cell col="6" text="Standard 명"/>
  177. <Cell col="7" text="Control명"/>
  178. <Cell col="8" text="Standard코드"/>
  179. <Cell col="9" text="접수일시"/>
  180. <Cell col="10" text="장비코드"/>
  181. </Band>
  182. <Band id="body">
  183. <Cell celltype="head" expr="currow+1"/>
  184. <Cell col="1" text="bind:rsltmark"/>
  185. <Cell col="2" text="bind:matrcd"/>
  186. <Cell col="3" text="bind:testnm"/>
  187. <Cell col="4" text="bind:testcd"/>
  188. <Cell col="5" text="bind:bcno"/>
  189. <Cell col="6" text="bind:levlnm"/>
  190. <Cell col="7" text="bind:matrnm"/>
  191. <Cell col="8" text="bind:levlcd"/>
  192. <Cell col="9" displaytype="date" text="bind:acptdt" mask="yyyy-MM-dd hh:mm:ss" calendardisplaynulltype="nulltext"/>
  193. <Cell col="10" text="bind:eqmtcd"/>
  194. </Band>
  195. </Format>
  196. </Formats>
  197. </Grid>
  198. <Shape id="line14" class="line_10" position="absolute 324 161 1193 167" anchor="left top right"/>
  199. <Static id="caption3" text="검사항목별 결과정보" class="tit_2" position="absolute 324 145 487 167"/>
  200. <Div id="group3" taborder="9" class="div_SA" position="absolute 0 48 320 213" anchor="left top">
  201. <Layouts>
  202. <Layout>
  203. <Static id="caption1" text="접수구분 :" class="search_name" position="absolute 15 62 104 79"/>
  204. <Button id="btn_getAcptList" taborder="1" text="조회" class="btn1" position="absolute 249 131 305 153" onclick="group3_btn_getAcptList_onclick"/>
  205. <Shape id="line13" linetype="vertical" class="line_4" position="absolute 231 131 237 153"/>
  206. <Static id="caption2" text="~" class="search_no_b" position="absolute 199 16 214 33"/>
  207. <Combo id="cbo_acptFlag" taborder="2" innerdataset="@ds_init_lb0704" codecolumn="cd" datacolumn="nm" class="combo_search" position="absolute 105 61 305 80"/>
  208. <Static id="caption4" text="접수일자 :" class="search_name" position="absolute 15 14 104 31"/>
  209. <Calendar id="ipt_acptfromdd" taborder="3" autoselect="true" autoskip="true" dateformat="yyyy-MM-dd" class="input_search" position="absolute 105 13 195 32"/>
  210. <Calendar id="ipt_acpttodd" taborder="4" autoselect="true" autoskip="true" dateformat="yyyy-MM-dd" class="input_search" position="absolute 215 13 305 32"/>
  211. <Edit id="ipt_bcno" taborder="5" autoselect="true" autoskip="true" class="input_button" visible="false" position="absolute 14 132 222 151" onkeydown="group3_ipt_bcno_onkeydown" inputmode="upper"/>
  212. <Combo id="cbo_eqmtCd" taborder="6" innerdataset="@ds_init_lb0701" codecolumn="cd" datacolumn="nm" class="combo_search" position="absolute 105 37 305 56"/>
  213. <Static id="caption9" text="장 비 :" class="search_name" position="absolute 15 37 103 54"/>
  214. <Static id="caption10" text="작업구분 :" class="search_name" position="absolute 15 109 109 126"/>
  215. <Radio id="rdo_Rsltflag" taborder="7" columncount="3" rowcount="0" codecolumn="codecolumn" datacolumn="datacolumn" class="radio_search" position="absolute 105 106 315 127" onitemchanged="group3_rdo_Rsltflag_onitemchanged">
  216. <Dataset id="innerdataset">
  217. <ColumnInfo>
  218. <Column id="codecolumn"/>
  219. <Column id="datacolumn"/>
  220. </ColumnInfo>
  221. <Rows>
  222. <Row>
  223. <Col id="codecolumn">1</Col>
  224. <Col id="datacolumn">전체</Col>
  225. </Row>
  226. <Row>
  227. <Col id="codecolumn">3</Col>
  228. <Col id="datacolumn">완료</Col>
  229. </Row>
  230. <Row>
  231. <Col id="codecolumn">2</Col>
  232. <Col id="datacolumn">미완료</Col>
  233. </Row>
  234. </Rows>
  235. </Dataset>
  236. </Radio>
  237. <Edit id="ipt_matr" taborder="8" class="input_s_search" visible="false" position="absolute 105 85 305 104"/>
  238. <Static id="caption23" text="검사항목 :" class="search_name" position="absolute 15 86 104 103"/>
  239. <Combo id="combo1" taborder="9" innerdataset="@ds_init_lb0702" codecolumn="cd" datacolumn="nm" class="combo_search" position="absolute 105 85 305 104"/>
  240. </Layout>
  241. </Layouts>
  242. </Div>
  243. <Shape id="line2" class="line_10" position="absolute 325 63 1194 69" anchor="left top right"/>
  244. <Static id="caption11" text="검체정보" class="tit_2" position="absolute 326 47 441 69"/>
  245. <Static id="caption19" text="평균" class="cell_1" position="absolute 326 116 386 139"/>
  246. <Static id="caption20" text="참고치" class="cell_1" position="absolute 757 116 817 139"/>
  247. <Static id="caption21" text="표준편차" class="cell_1" position="absolute 541 116 601 139"/>
  248. <Static id="caption22" text="단위" class="cell_1" position="absolute 974 116 1034 139"/>
  249. <Edit id="opt_matrcd" taborder="10" readonly="true" position="absolute 408 69 613 88"/>
  250. <Shape id="line4" class="line_2" position="absolute 325 89 1194 95" anchor="left top right"/>
  251. <Shape id="line5" linetype="horizontal" class="line_2" position="absolute 325 112 1194 118" anchor="left top right"/>
  252. <Edit id="opt_levlcd" taborder="11" readonly="true" position="absolute 699 69 904 88"/>
  253. <Edit id="opt_lotno" taborder="12" readonly="true" position="absolute 989 69 1194 88" anchor="left top right"/>
  254. <Edit id="opt_prodCmpy" taborder="13" readonly="true" position="absolute 408 94 753 113"/>
  255. <Edit id="opt_eqmtCd" taborder="14" readonly="true" position="absolute 840 94 1194 113" anchor="left top right"/>
  256. <Edit id="opt_avg" taborder="15" readonly="true" position="absolute 388 118 538 137"/>
  257. <Shape id="line7" class="line_3" position="absolute 325 138 1194 144" anchor="left top right"/>
  258. <Edit id="opt_sDVal" taborder="16" readonly="true" position="absolute 603 118 753 137"/>
  259. <Edit id="opt_refVal" taborder="17" readonly="true" position="absolute 820 118 970 137"/>
  260. <Edit id="opt_unit" taborder="18" readonly="true" position="absolute 1037 118 1194 137" anchor="left top right"/>
  261. <Static id="caption12" text="Standard" class="cell_1" position="absolute 616 68 696 91"/>
  262. <Static id="caption13" text="Control" class="cell_1" position="absolute 325 68 405 91"/>
  263. <Static id="caption14" text="LOT번호" class="cell_1" position="absolute 907 68 987 91"/>
  264. <Static id="caption16" text="장비" class="cell_1" position="absolute 757 92 836 115"/>
  265. <Static id="caption17" text="제조회사" class="cell_1" position="absolute 326 92 405 115"/>
  266. </Layout>
  267. </Layouts>
  268. <Objects>
  269. <Dataset id="ds_main_acptlist" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  270. <ColumnInfo>
  271. <Column id="rsltmark" type="STRING" size="256" sumtext="결과구분"/>
  272. <Column id="bcno" type="STRING" size="256" sumtext="바코드구분"/>
  273. <Column id="matrnm" type="STRING" size="256" sumtext="물질명"/>
  274. <Column id="levlnm" type="STRING" size="256" sumtext="레벨명"/>
  275. <Column id="matrcd" type="STRING" size="256" sumtext="물질코드"/>
  276. <Column id="levlcd" type="STRING" size="256" sumtext="레벨코드"/>
  277. <Column id="acptdt" type="STRING" size="256" sumtext="접수일자"/>
  278. <Column id="eqmtcd" type="STRING" size="256" sumtext="장비코드"/>
  279. <Column id="testcd" type="STRING" size="256" sumtext="검사코드"/>
  280. <Column id="testnm" type="STRING" size="256" sumtext="검사명"/>
  281. </ColumnInfo>
  282. </Dataset>
  283. <Dataset id="ds_main_rsltinfo_testrsltinfo" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_main_rsltinfo_testrsltinfo_oncolumnchanged">
  284. <ColumnInfo>
  285. <Column id="chk" type="STRING" size="256" sumtext="check"/>
  286. <Column id="testnm" type="STRING" size="256" sumtext="검사명"/>
  287. <Column id="buforgrslt" type="STRING" size="256" sumtext="입력결과"/>
  288. <Column id="viewrslt" type="STRING" size="256" sumtext="보이는결과"/>
  289. <Column id="rsltcnfmdt" type="STRING" size="256" sumtext="보고시간"/>
  290. <Column id="rsltrgstdt" type="STRING" size="256" sumtext="결과등록일시"/>
  291. <Column id="judgmark" type="STRING" size="256" sumtext="L/H"/>
  292. <Column id="rsltstat" type="STRING" size="256" sumtext="결과상태"/>
  293. <Column id="wgmrstat" type="STRING" size="256" sumtext="WGMR상태"/>
  294. <Column id="wgmrmark" type="STRING" size="256" sumtext="WGMR판정"/>
  295. <Column id="measfactcd" type="STRING" size="256" sumtext="조치사항코드"/>
  296. <Column id="measfactcnts" type="STRING" size="256" sumtext="조치사항"/>
  297. <Column id="bcno" type="STRING" size="256" sumtext="바코드"/>
  298. <Column id="testcd" type="STRING" size="256" sumtext="검사코드"/>
  299. <Column id="judgkind" type="STRING" size="256" sumtext="판정유형"/>
  300. <Column id="refkind" type="STRING" size="256" sumtext="참고치유형"/>
  301. <Column id="refflag" type="STRING" size="256" sumtext="참고치구분"/>
  302. <Column id="refl" type="STRING" size="256" sumtext="참고치하한"/>
  303. <Column id="refh" type="STRING" size="256" sumtext="참고치상한"/>
  304. <Column id="refls" type="STRING" size="256" sumtext="하한부등호"/>
  305. <Column id="refhs" type="STRING" size="256" sumtext="상한부등호"/>
  306. <Column id="rsltkind" type="STRING" size="256" sumtext="결과유형"/>
  307. <Column id="rsltunit" type="STRING" size="256" sumtext="단위"/>
  308. <Column id="wgmrscop" type="STRING" size="256" sumtext="wgmr범위"/>
  309. <Column id="sdval" type="STRING" size="256" sumtext="표준편차"/>
  310. <Column id="avg" type="STRING" size="256" sumtext="평균"/>
  311. <Column id="rundkind" type="STRING" size="256" sumtext="반올림옵션"/>
  312. <Column id="graphdispyn" type="STRING" size="256" sumtext="그래프표시"/>
  313. <Column id="refcval" type="STRING" size="256" sumtext="참고치문자"/>
  314. <Column id="intrsltfrmt" type="STRING" size="256" sumtext="숫자결과포멧"/>
  315. <Column id="orgrslt" type="STRING" size="256" sumtext="실제결과"/>
  316. <Column id="bfrsltcnfmdt" type="STRING" size="256" sumtext="이전결과"/>
  317. <Column id="bfrsltcnfmid" type="STRING" size="256" sumtext="이전결과"/>
  318. <Column id="rsltcnfmid" type="STRING" size="256" sumtext="결과확인자"/>
  319. <Column id="bfrslt1" type="STRING" size="256" sumtext="이전결과2"/>
  320. <Column id="bfrslt2" type="STRING" size="256" sumtext="이전결과3"/>
  321. <Column id="bfrslt3" type="STRING" size="256" sumtext="이전결과4"/>
  322. <Column id="bfrslt4" type="STRING" size="256" sumtext="이전결과5"/>
  323. <Column id="bfrslt5" type="STRING" size="256" sumtext="이전결과6"/>
  324. <Column id="bfrslt6" type="STRING" size="256" sumtext="이전결과7"/>
  325. <Column id="bfrslt7" type="STRING" size="256" sumtext="이전결과8"/>
  326. <Column id="bfrslt8" type="STRING" size="256" sumtext="이전결과9"/>
  327. <Column id="bfrslt9" type="STRING" size="256" sumtext="이전결과10"/>
  328. <Column id="ddosevalue" type="STRING" size="256"/>
  329. <Column id="cdosevalue" type="STRING" size="256"/>
  330. <Column id="bfvalue" type="STRING" size="256"/>
  331. <Column id="levlcd" type="STRING" size="256"/>
  332. <Column id="levlnm" type="STRING" size="256"/>
  333. <Column id="rsltrid" type="STRING" size="256"/>
  334. <Column id="refrslt" type="STRING" size="256"/>
  335. <Column id="cfmref" type="STRING" size="256"/>
  336. <Column id="refinfo" type="STRING" size="256"/>
  337. </ColumnInfo>
  338. </Dataset>
  339. <Dataset id="ds_hidden" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  340. <ColumnInfo>
  341. <Column id="bcno" type="STRING" size="256"/>
  342. <Column id="acptfromdd" type="STRING" size="256"/>
  343. <Column id="acpttodd" type="STRING" size="256"/>
  344. <Column id="testroom" type="STRING" size="256"/>
  345. <Column id="eqmtcd" type="STRING" size="256"/>
  346. <Column id="acptflag" type="STRING" size="256"/>
  347. <Column id="matrcd" type="STRING" size="256"/>
  348. <Column id="rsltstat" type="STRING" size="256"/>
  349. <Column id="check" type="STRING" size="256"/>
  350. <Column id="testcd" type="STRING" size="256"/>
  351. </ColumnInfo>
  352. <Rows>
  353. <Row>
  354. <Col id="bcno"/>
  355. <Col id="acptfromdd"/>
  356. <Col id="acpttodd"/>
  357. <Col id="testroom">00</Col>
  358. <Col id="eqmtcd">00</Col>
  359. <Col id="acptflag">00</Col>
  360. <Col id="matrcd"/>
  361. <Col id="rsltstat">3</Col>
  362. <Col id="check">0</Col>
  363. <Col id="testcd">00</Col>
  364. </Row>
  365. </Rows>
  366. </Dataset>
  367. <Dataset id="ds_hidden_spcinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  368. <ColumnInfo>
  369. <Column id="matrnm" type="STRING" size="256"/>
  370. <Column id="levlnm" type="STRING" size="256"/>
  371. <Column id="lotno" type="STRING" size="256"/>
  372. <Column id="prodcmpy" type="STRING" size="256"/>
  373. <Column id="eqmtnm" type="STRING" size="256"/>
  374. <Column id="wgmr" type="STRING" size="256"/>
  375. <Column id="avg" type="STRING" size="256"/>
  376. <Column id="sdval" type="STRING" size="256"/>
  377. <Column id="refval" type="STRING" size="256"/>
  378. <Column id="unit" type="STRING" size="256"/>
  379. </ColumnInfo>
  380. <Rows>
  381. <Row>
  382. <Col id="matrnm"/>
  383. <Col id="levlnm"/>
  384. <Col id="lotno"/>
  385. <Col id="prodcmpy"/>
  386. <Col id="eqmtnm"/>
  387. <Col id="wgmr"/>
  388. <Col id="avg"/>
  389. <Col id="sdval"/>
  390. <Col id="refval"/>
  391. <Col id="unit"/>
  392. </Row>
  393. </Rows>
  394. </Dataset>
  395. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  396. <ColumnInfo>
  397. <Column id="basecdid" type="STRING" size="256"/>
  398. <Column id="codeflag" type="STRING" size="256"/>
  399. </ColumnInfo>
  400. <Rows>
  401. <Row/>
  402. </Rows>
  403. </Dataset>
  404. <Dataset id="ds_init_lb0000" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  405. <ColumnInfo>
  406. <Column id="cd" type="STRING" size="256"/>
  407. <Column id="nm" type="STRING" size="256"/>
  408. </ColumnInfo>
  409. </Dataset>
  410. <Dataset id="ds_init_lb0704" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  411. <ColumnInfo>
  412. <Column id="cd" type="STRING" size="256"/>
  413. <Column id="nm" type="STRING" size="256"/>
  414. </ColumnInfo>
  415. </Dataset>
  416. <Dataset id="ds_init_lb0701" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  417. <ColumnInfo>
  418. <Column id="cd" type="STRING" size="256"/>
  419. <Column id="nm" type="STRING" size="256"/>
  420. </ColumnInfo>
  421. </Dataset>
  422. <Dataset id="ds_init_lb0702" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  423. <ColumnInfo>
  424. <Column id="cd" type="STRING" size="256"/>
  425. <Column id="nm" type="STRING" size="256"/>
  426. </ColumnInfo>
  427. </Dataset>
  428. <Dataset id="ds_main_rsltinfo_spcinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  429. </Objects>
  430. <Bind>
  431. <BindItem id="item0" compid="group3.ipt_acptfromdd" propid="value" datasetid="ds_hidden" columnid="acptfromdd"/>
  432. <BindItem id="item1" compid="group3.ipt_acpttodd" propid="value" datasetid="ds_hidden" columnid="acpttodd"/>
  433. <BindItem id="item2" compid="group3.cbo_eqmtCd" propid="value" datasetid="ds_hidden" columnid="eqmtcd"/>
  434. <BindItem id="item3" compid="group3.cbo_acptFlag" propid="value" datasetid="ds_hidden" columnid="acptflag"/>
  435. <BindItem id="item4" compid="group3.combo1" propid="value" datasetid="ds_hidden" columnid="testcd"/>
  436. <BindItem id="item5" compid="group3.rdo_Rsltflag" propid="value" datasetid="ds_hidden" columnid="rsltstat"/>
  437. <BindItem id="item6" compid="group3.ipt_bcno" propid="value" datasetid="ds_hidden" columnid="bcno"/>
  438. <BindItem id="item7" compid="opt_matrcd" propid="value" datasetid="ds_hidden_spcinfo" columnid="matrnm"/>
  439. <BindItem id="item8" compid="opt_levlcd" propid="value" datasetid="ds_hidden_spcinfo" columnid="levlnm"/>
  440. <BindItem id="item9" compid="opt_lotno" propid="value" datasetid="ds_hidden_spcinfo" columnid="lotno"/>
  441. <BindItem id="item10" compid="opt_eqmtCd" propid="value" datasetid="ds_hidden_spcinfo" columnid="eqmtnm"/>
  442. <BindItem id="item11" compid="opt_refVal" propid="value" datasetid="ds_hidden_spcinfo" columnid="refval"/>
  443. <BindItem id="item12" compid="opt_unit" propid="value" datasetid="ds_hidden_spcinfo" columnid="unit"/>
  444. <BindItem id="item13" compid="opt_prodCmpy" propid="value" datasetid="ds_hidden_spcinfo" columnid="prodcmpy"/>
  445. <BindItem id="item14" compid="opt_sDVal" propid="value" datasetid="ds_hidden_spcinfo" columnid="sdval"/>
  446. <BindItem id="item15" compid="opt_avg" propid="value" datasetid="ds_hidden_spcinfo" columnid="avg"/>
  447. </Bind>
  448. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  449. * System Name :
  450. * Job Name :
  451. * Creator :
  452. * Make Date : 2015-05-01
  453. * Description :
  454. *---------------------------------------------------------------------------------------
  455. * Modify Date Modifier Modify Description
  456. *---------------------------------------------------------------------------------------
  457. * 2015-05-01 Live Converter TF->XP
  458. *
  459. *---------------------------------------------------------------------------------------
  460. ****************************************************************************************/
  461. include "com_commonxp::comm_main.xjs";
  462. include "lis_commonxp::LLZ001.xjs";
  463. function SMLQJ10200_oninit(obj:Form, e:InitEventInfo)
  464. {
  465. frmf_initForm(obj);
  466. }
  467. function SMLQJ10200_onload(obj:Form, e:LoadEventInfo)
  468. {
  469. grdf_initGrid(grd_acptList);
  470. grdf_initGrid(grd_testRsltInfo);
  471. fSetInit();
  472. }
  473. function fSetInit()
  474. {
  475. ds_main_acptlist.clearData();
  476. ds_main_rsltinfo_testrsltinfo.clearData();
  477. ds_hidden.setColumn(0, "acptfromdd", utlf_getCurrentDate());
  478. ds_hidden.setColumn(0, "acpttodd", utlf_getCurrentDate());
  479. lf_getDbDeptcd("0000|0111|0701|0702|", "")
  480. ds_send.setColumn(0, "codeflag", "0704|");
  481. ds_send.setColumn(0, "basecdid", ds_init_lb0000.getColumn(0, "nm"));
  482. var oParam = {};
  483. oParam.id = "TRLZZ00101";
  484. oParam.service = "diagtestapplib.DiagTestBaseInfoMngt";
  485. oParam.method = "reqGetInitCodeInfo";
  486. oParam.inds = "cond=ds_send";
  487. oParam.outds = "ds_init_lb0704=0704";
  488. oParam.async = false;
  489. //oParam.callback = "cf_TRLZZ00101";
  490. tranf_submit(oParam);
  491. }
  492. function group3_rdo_Rsltflag_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
  493. {
  494. if(group3.rdo_Rsltflag.value == "3")
  495. {
  496. btn_save.enable = false;
  497. }
  498. else
  499. {
  500. btn_save.enable = true;
  501. }
  502. ds_main_acptlist.clearData();
  503. ds_main_rsltinfo_testrsltinfo.clearData();
  504. }
  505. function group3_ipt_bcno_onkeydown(obj:Edit, e:KeyEventInfo)
  506. {
  507. if(e.keycode == 13)
  508. {
  509. fKeyEvent();
  510. }
  511. }
  512. function fKeyEvent()
  513. {
  514. ds_hidden.setColumn(0, "matrcd", group3.ipt_matr.value);
  515. fGetAcptList(0);
  516. }
  517. function fGetAcptList(pVal)
  518. {
  519. dsf_makeValue(ds_send, "bcno", "string", ds_hidden.getColumn(0, "bcno"), 0);
  520. dsf_makeValue(ds_send, "acptfromdd", "string", ds_hidden.getColumn(0, "acptfromdd"), 0);
  521. dsf_makeValue(ds_send, "acpttodd", "string", ds_hidden.getColumn(0, "acpttodd"), 0);
  522. dsf_makeValue(ds_send, "testroom", "string", ds_hidden.getColumn(0, "testroom"), 0);
  523. dsf_makeValue(ds_send, "eqmtcd", "string", ds_hidden.getColumn(0, "eqmtcd"), 0);
  524. dsf_makeValue(ds_send, "testcd", "string", ds_hidden.getColumn(0, "testcd"), 0);
  525. dsf_makeValue(ds_send, "acptflag", "string", ds_hidden.getColumn(0, "acptflag"), 0);
  526. dsf_makeValue(ds_send, "matrcd", "string", ds_hidden.getColumn(0, "matrcd"), 0);
  527. dsf_makeValue(ds_send, "rsltstat", "string", ds_hidden.getColumn(0, "rsltstat"), 0);
  528. dsf_makeValue(ds_send, "deptflag", "string", ds_init_lb0000.getColumn(0, "nm"), 0);
  529. var oParam = {};
  530. oParam.id = "TRLQJ00201";
  531. oParam.service = "grademngtacptrsltmngtapp.QCRsltMngt";
  532. oParam.method = "reqGetAcptList";
  533. oParam.inds = "cond=ds_send";
  534. oParam.outds = "ds_main_acptlist=acptlist";
  535. oParam.async = false;
  536. //oParam.callback = "cf_TRLQJ00201";
  537. tranf_submit(oParam);
  538. if(ds_main_acptlist.rowcount != 1)
  539. {
  540. ds_main_acptlist.clearSelect();
  541. ds_main_acptlist.selectRow(pVal);
  542. ds_main_acptlist.rowposition = pVal;
  543. fGetDetlInfo();
  544. }
  545. }
  546. function fGetDetlInfo()
  547. {
  548. ds_main_rsltinfo_testrsltinfo.clearData();
  549. dsf_makeValue(ds_send, "bcno", "string", ds_main_acptlist.getColumn(ds_main_acptlist.rowposition, "bcno"), 0);
  550. dsf_makeValue(ds_send, "testcd", "string", ds_main_acptlist.getColumn(ds_main_acptlist.rowposition, "testcd"), 0);
  551. dsf_makeValue(ds_send, "matrcd", "string", ds_main_acptlist.getColumn(ds_main_acptlist.rowposition, "matrcd"), 0);
  552. dsf_makeValue(ds_send, "eqmtcd", "string", ds_main_acptlist.getColumn(ds_main_acptlist.rowposition, "eqmtcd"), 0);
  553. dsf_makeValue(ds_send, "acptdt", "string", ds_main_acptlist.getColumn(ds_main_acptlist.rowposition, "acptdt"), 0);
  554. dsf_makeValue(ds_send, "deptflag", "string", ds_init_lb0000.getColumn(0, "nm"), 0);
  555. var oParam = {};
  556. oParam.id = "TRLQJ00201";
  557. oParam.service = "grademngtacptrsltmngtapp.QCRsltMngt";
  558. oParam.method = "reqGetDetlInfo";
  559. oParam.inds = "cond=ds_send";
  560. oParam.outds = "ds_main_rsltinfo_testrsltinfo=testrsltinfo ds_main_rsltinfo_spcinfo=spcinfo ds_main_rsltinfo_spcinfo2=spcinfo";
  561. oParam.async = false;
  562. //oParam.callback = "cf_TRLQJ00201";
  563. tranf_submit(oParam);
  564. for(var i = 0; i < ds_main_rsltinfo_testrsltinfo.rowcount; i++)
  565. {
  566. if(ds_main_rsltinfo_testrsltinfo.getColumn(i, "rsltstat") == "△")
  567. {
  568. ds_main_rsltinfo_testrsltinfo.getColumn(i, "chk", "1");
  569. }
  570. else
  571. {
  572. ds_main_rsltinfo_testrsltinfo.getColumn(i, "chk", "0");
  573. }
  574. }
  575. group3.ipt_bcno.setFocus();
  576. }
  577. function group3_btn_getAcptList_onclick(obj:Button, e:ClickEventInfo)
  578. {
  579. fGetAcptList(0);
  580. }
  581. function grd_acptList_oncellclick(obj:Grid, e:GridClickEventInfo)
  582. {
  583. fGetDetlInfo();
  584. }
  585. function grd_testRsltInfo_oncellclick(obj:Grid, e:GridClickEventInfo)
  586. {
  587. fRsltGrdEvent();
  588. }
  589. function fRsltGrdEvent()
  590. {
  591. fGetSpcInfo();
  592. var col = grd_testRsltInfo.currentcol;
  593. var vOrgRslt = ds_main_rsltinfo_testrsltinfo.getColumn(ds_main_rsltinfo_testrsltinfo.rowposition, "orgrslt");
  594. for(var i = 0; i < ds_main_rsltinfo_testrsltinfo.rowcount; i++)
  595. {
  596. if (i == ds_main_rsltinfo_testrsltinfo.rowposition)
  597. {
  598. if(col==3)
  599. {
  600. if(!utlf_isNull(vOrgRslt))
  601. {
  602. ds_main_rsltinfo_testrsltinfo.setColumn(i, "buforgrslt", vOrgRslt);
  603. }
  604. }
  605. else
  606. {
  607. ds_main_rsltinfo_testrsltinfo.setColumn(i, "buforgrslt", "");
  608. }
  609. }
  610. else
  611. {
  612. ds_main_rsltinfo_testrsltinfo.setColumn(i, "buforgrslt", "");
  613. }
  614. }
  615. }
  616. function fGetSpcInfo()
  617. {
  618. var refkind = ds_main_rsltinfo_testrsltinfo.getColumn(ds_main_rsltinfo_testrsltinfo.rowposition, "refkind");
  619. var flevlnm = ds_main_rsltinfo_testrsltinfo.getColumn(ds_main_rsltinfo_testrsltinfo.rowposition, "levlnm");
  620. var refval = "";
  621. if(refkind == "0")
  622. {
  623. refval = "없음";
  624. }
  625. else if(refkind == "1")
  626. {
  627. refval = ds_main_rsltinfo_testrsltinfo.getColumn(ds_main_rsltinfo_testrsltinfo.rowposition, "refcval");
  628. }
  629. else if(refkind == "2")
  630. {
  631. refval = ds_main_rsltinfo_testrsltinfo.getColumn(ds_main_rsltinfo_testrsltinfo.rowposition, "refl")+"~"+ds_main_rsltinfo_testrsltinfo.getColumn(ds_main_rsltinfo_testrsltinfo.rowposition, "refh");
  632. }
  633. ds_hidden_spcinfo.setColumn(0, "wgmr", ds_main_rsltinfo_testrsltinfo.getColumn(ds_main_rsltinfo_testrsltinfo.rowposition, "wgmrscop"));
  634. ds_hidden_spcinfo.setColumn(0, "sdval", ds_main_rsltinfo_testrsltinfo.getColumn(ds_main_rsltinfo_testrsltinfo.rowposition, "sdval"));
  635. ds_hidden_spcinfo.setColumn(0, "avg", ds_main_rsltinfo_testrsltinfo.getColumn(ds_main_rsltinfo_testrsltinfo.rowposition, "avg"));
  636. ds_hidden_spcinfo.setColumn(0, "unit", ds_main_rsltinfo_testrsltinfo.getColumn(ds_main_rsltinfo_testrsltinfo.rowposition, "rsltunit"));
  637. ds_hidden_spcinfo.setColumn(0, "refval", ds_main_rsltinfo_testrsltinfo.getColumn(ds_main_rsltinfo_testrsltinfo.rowposition, "refval"));
  638. ds_hidden_spcinfo.setColumn(0, "matrnm", ds_main_rsltinfo_spcinfo.lookup("levlnm", flevlnm, "matrnm"));
  639. ds_hidden_spcinfo.setColumn(0, "levlnm", ds_main_rsltinfo_spcinfo.lookup("levlnm", flevlnm, "levlnm"));
  640. ds_hidden_spcinfo.setColumn(0, "lotno", ds_main_rsltinfo_spcinfo.lookup("levlnm", flevlnm, "lotno"));
  641. ds_hidden_spcinfo.setColumn(0, "prodcmpy", ds_main_rsltinfo_spcinfo.lookup("levlnm", flevlnm, "prodcmpy"));
  642. ds_hidden_spcinfo.setColumn(0, "eqmtnm", ds_main_rsltinfo_spcinfo.lookup("levlnm", flevlnm, "eqmtnm"));
  643. }
  644. function btn_exception_onclick(obj:Button, e:ClickEventInfo)
  645. {
  646. ds_send.setColumn(0, "rsltstat", "R");
  647. fExeSave();
  648. }
  649. function btn_save_onclick(obj:Button, e:ClickEventInfo)
  650. {
  651. ds_send.setColumn(0, "rsltstat", "1");
  652. fExeSave();
  653. }
  654. function btn_cfm_onclick(obj:Button, e:ClickEventInfo)
  655. {
  656. ds_send.setColumn(0, "rsltstat", "2");
  657. fExeSave();
  658. }
  659. function btn_cle_onclick(obj:Button, e:ClickEventInfo)
  660. {
  661. this.reload();
  662. }
  663. function fExeSave()
  664. {
  665. if(fInsSave() != 0)
  666. {
  667. var oParam = {};
  668. oParam.id = "TXLQJ00201";
  669. oParam.service = "grademngtacptrsltmngtapp.QCRsltMngt";
  670. oParam.method = "reqSetTestRsltInfo";
  671. oParam.inds = "data=ds_main_rsltinfo_testrsltinfo cond=ds_send";
  672. oParam.async = false;
  673. //oParam.callback = "cf_TXLQJ00201";
  674. tranf_submit(oParam);
  675. fGetAcptList(ds_main_acptlist.rowposition);
  676. }
  677. }
  678. function fInsSave()
  679. {
  680. if(ds_send.getColumn(0, "rsltstat") == "1")
  681. {
  682. for(var i = 0; i < ds_main_rsltinfo_testrsltinfo.rowcount; i++)
  683. {
  684. if(ds_main_rsltinfo_testrsltinfo.getColumn(i, "chk") == "1")
  685. {
  686. if(ds_main_rsltinfo_testrsltinfo.getColumn(i, "rsltstat")== "◆" || ds_main_rsltinfo_testrsltinfo.getColumn(i, "rsltstat") == "R")
  687. {
  688. alert("선택된 항목 중 확인 완료된 항목이 있습니다.");
  689. return 0;
  690. }
  691. if(utlf_isNull(ds_main_rsltinfo_testrsltinfo.getColumn(i, "viewrslt")))
  692. {
  693. alert("선택된 항목 중 결과값이 입력되지 않은항목이 있습니다.");
  694. return 0;
  695. }
  696. ds_main_rsltinfo_testrsltinfo.updatecontrol = false;
  697. ds_main_rsltinfo_testrsltinfo.setRowType(i, "u");
  698. ds_main_rsltinfo_testrsltinfo.updatecontrol = true;
  699. }
  700. else
  701. {
  702. ds_main_rsltinfo_testrsltinfo.updatecontrol = false;
  703. ds_main_rsltinfo_testrsltinfo.setRowType(i, "");
  704. ds_main_rsltinfo_testrsltinfo.updatecontrol = true;
  705. }
  706. }
  707. }
  708. else if(ds_send.getColumn(0, "rsltstat") == "2")
  709. {
  710. for(var i = 0; i < ds_main_rsltinfo_testrsltinfo.rowcount; i++)
  711. {
  712. if(ds_main_rsltinfo_testrsltinfo.getColumn(i, "chk") == "1")
  713. {
  714. if(utlf_isNull(ds_main_rsltinfo_testrsltinfo.getColumn(i, "viewrslt")))
  715. {
  716. alert("선택된 항목 중 결과값이 입력되지 않은항목이 있습니다.");
  717. return 0;
  718. }
  719. ds_main_rsltinfo_testrsltinfo.updatecontrol = false;
  720. ds_main_rsltinfo_testrsltinfo.setRowType(i, "u");
  721. ds_main_rsltinfo_testrsltinfo.updatecontrol = true; //status 를 update 변경
  722. }
  723. else
  724. {
  725. ds_main_rsltinfo_testrsltinfo.updatecontrol = false;
  726. ds_main_rsltinfo_testrsltinfo.setRowType(i, "");
  727. ds_main_rsltinfo_testrsltinfo.updatecontrol = true;
  728. }
  729. }
  730. }
  731. else if(ds_send.getColumn(0, "rsltstat") == "R")
  732. {
  733. for(var i = 0; i < ds_main_rsltinfo_testrsltinfo.rowcount; i++)
  734. {
  735. if(ds_main_rsltinfo_testrsltinfo.getColumn(i, "chk") == "1")
  736. {
  737. if(utlf_isNull(ds_main_rsltinfo_testrsltinfo.getColumn(i, "viewrslt")))
  738. {
  739. var rtn = sysf_messageBox("결과값이 입력되지 않은항목이 있습니다.\n", "Q003");
  740. if(rtn != "6")
  741. {
  742. return 0;
  743. }
  744. }
  745. if(utlf_isNull(ds_main_rsltinfo_testrsltinfo.getColumn(i, "measfactcnts")))
  746. {
  747. alert("제외를 위해 조치사항에 사유를 입력하세요");
  748. return 0;
  749. }
  750. ds_main_rsltinfo_testrsltinfo.updatecontrol = false;
  751. ds_main_rsltinfo_testrsltinfo.setRowType(i, "u");
  752. ds_main_rsltinfo_testrsltinfo.updatecontrol = true;
  753. }
  754. else
  755. {
  756. ds_main_rsltinfo_testrsltinfo.updatecontrol = false;
  757. ds_main_rsltinfo_testrsltinfo.setRowType(i, "");
  758. ds_main_rsltinfo_testrsltinfo.updatecontrol = true;
  759. }
  760. }
  761. }
  762. }
  763. function ds_main_rsltinfo_testrsltinfo_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
  764. {
  765. obj.setColumn(e.row, "chk", "1");
  766. }
  767. function grd_testRsltInfo_onkeydown(obj:Grid, e:KeyEventInfo)
  768. {
  769. }
  770. ]]></Script>
  771. </Form>
  772. </FDL>