SMLLP01700_다중결과조회.xfdl 41 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMLLP01700" position="absolute 0 0 1238 769" titletext="다중결과조회" onload="SMLLP01700_onload">
  5. <Layouts>
  6. <Layout>
  7. <Static id="caption6" text="다중결과조회" class="tit_1" position="absolute 1 2 156 27" anchor="default"/>
  8. <Shape id="line1" class="line_1" position="absolute 0 120 1194 120"/>
  9. <Static id="caption1" text="다중결과 리스트" class="tit_2" position="absolute 1 98 140 118"/>
  10. <Div id="group1" taborder="1" class="div_SA" position="absolute 1 27 1236 85" anchor="left top right">
  11. <Layouts>
  12. <Layout width="1256" height="67">
  13. <Button id="button3" taborder="2" text="조회" onclick="group3_group1_button3_onclick" onlbuttonup="button3_onlbuttonup" class="btn1" position="absolute 1101 10 1157 30" anchor="top right"/>
  14. <Shape id="line3" linetype="vertical" class="line_4" position="absolute 1109 8 1109 51"/>
  15. <Static id="caption5" text="접수일자" class="search_name" position="absolute 311 10 379 30"/>
  16. <Static id="caption8" text="~" position="absolute 534 10 549 30" style="align:center middle;"/>
  17. <Calendar id="ipt_usdt" taborder="3" dateformat="yyyy-MM-dd" class="input_search" position="absolute 385 10 485 30"/>
  18. <Calendar id="ipt_uedt" taborder="4" dateformat="yyyy-MM-dd" class="input_search" position="absolute 552 10 652 30"/>
  19. <Static id="caption2" text="결과구분" class="search_name" position="absolute 714 10 782 30"/>
  20. <Static id="caption3" text="검사항목" class="search_name" position="absolute 8 35 76 55"/>
  21. <Button id="button6" taborder="5" onclick="group3_group1_button6_onclick" class="icon_search" position="absolute 953 35 973 55"/>
  22. <Edit id="ipt_tclscdlist" taborder="6" class="input_search" enable="false" position="absolute 170 35 950 55"/>
  23. <Combo id="cmb_testitem" taborder="7" innerdataset="@ds_init_lb0103" codecolumn="cd" datacolumn="nm" onitemchanged="group3_group1_cmb_testitem_onitemchanged" class="combo_search" position="absolute 82 35 167 55"/>
  24. <Static id="caption12" text="시행부서" class="search_name" position="absolute 8 10 76 30"/>
  25. <Combo id="combo3" taborder="8" value="1" text="대분류" innerdataset="@ds_deptgbn" codecolumn="value" datacolumn="label" index="0" onitemchanged="group3_group1_combo3_onitemchanged" class="combo_search" position="absolute 82 10 167 30"/>
  26. <Combo id="combo4" taborder="9" innerdataset="@ds_init_lb0102" codecolumn="cd" datacolumn="nm" onitemchanged="group3_group1_combo4_onitemchanged" class="combo_search" visible="false" position="absolute 172 10 297 30"/>
  27. <Combo id="cmb_dept" taborder="10" innerdataset="@ds_init_lb0104" codecolumn="cd" datacolumn="nm" class="combo_search" position="absolute 169 10 294 30"/>
  28. <MaskEdit id="ipt_ustm" taborder="11" type="string" mask="##:##" class="input_search" position="absolute 488 10 531 30"/>
  29. <MaskEdit id="ipt_uetm" taborder="12" type="string" mask="##:##" class="input_search" position="absolute 655 10 698 30"/>
  30. <Combo id="combo2" taborder="13" value="0" text="전체" innerdataset="@ds_rsltgbn" codecolumn="value" datacolumn="label" index="0" class="combo_search" position="absolute 788 10 903 30"/>
  31. <Button id="button5" taborder="14" text="초기화" onclick="button5_onclick" class="btn3" position="absolute 1160 10 1229 30" anchor="top right"/>
  32. </Layout>
  33. </Layouts>
  34. </Div>
  35. <Grid id="grd_rslt" taborder="2" binddataset="ds_grid_grd_rslt" useinputpanel="false" cellsizingtype="col" oncellclick="group3_grd_rslt_oncellclick" position="absolute 1 118 1236 720" style="align:center middle;" onclick="rslt_onclick" anchor="all" autofittype="col">
  36. <Formats>
  37. <Format id="default">
  38. <Columns>
  39. <Column size="30"/>
  40. <Column size="100"/>
  41. <Column size="70"/>
  42. <Column size="50"/>
  43. <Column size="55"/>
  44. <Column size="46"/>
  45. <Column size="60"/>
  46. <Column size="80"/>
  47. <Column size="200"/>
  48. <Column size="70"/>
  49. <Column size="70"/>
  50. <Column size="70"/>
  51. <Column size="70"/>
  52. <Column size="70"/>
  53. <Column size="70"/>
  54. <Column size="70"/>
  55. <Column size="70"/>
  56. <Column size="70"/>
  57. <Column size="70"/>
  58. <Column size="70"/>
  59. <Column size="70"/>
  60. <Column size="70"/>
  61. <Column size="70"/>
  62. <Column size="70"/>
  63. <Column size="70"/>
  64. <Column size="70"/>
  65. <Column size="70"/>
  66. <Column size="70"/>
  67. <Column size="70"/>
  68. <Column size="70"/>
  69. <Column size="70"/>
  70. <Column size="70"/>
  71. <Column size="70"/>
  72. <Column size="70"/>
  73. <Column size="70"/>
  74. <Column size="70"/>
  75. <Column size="70"/>
  76. <Column size="70"/>
  77. <Column size="70"/>
  78. <Column size="70"/>
  79. <Column size="220"/>
  80. <Column size="0"/>
  81. </Columns>
  82. <Rows>
  83. <Row size="22" band="head"/>
  84. <Row size="20"/>
  85. </Rows>
  86. <Band id="head">
  87. <Cell text="No."/>
  88. <Cell col="1" text="바코드번호"/>
  89. <Cell col="2" text="등록번호"/>
  90. <Cell col="3" text="성명"/>
  91. <Cell col="4" text="sex/age"/>
  92. <Cell col="5" text="진료과"/>
  93. <Cell col="6" text="의뢰의사"/>
  94. <Cell col="7" text="병동/병실"/>
  95. <Cell col="8" text="검사항목명"/>
  96. <Cell col="9" text="결과값"/>
  97. <Cell col="10" text="1차"/>
  98. <Cell col="11" text="2차"/>
  99. <Cell col="12" text="3차"/>
  100. <Cell col="13" text="4차"/>
  101. <Cell col="14" text="5차"/>
  102. <Cell col="15" text="6차"/>
  103. <Cell col="16" text="7차"/>
  104. <Cell col="17" text="8차"/>
  105. <Cell col="18" text="9차"/>
  106. <Cell col="19" text="10차"/>
  107. <Cell col="20" text="11차"/>
  108. <Cell col="21" text="12차"/>
  109. <Cell col="22" text="13차"/>
  110. <Cell col="23" text="14차"/>
  111. <Cell col="24" text="15차"/>
  112. <Cell col="25" text="16차"/>
  113. <Cell col="26" text="17차"/>
  114. <Cell col="27" text="18차"/>
  115. <Cell col="28" text="19차"/>
  116. <Cell col="29" text="20차"/>
  117. <Cell col="30" text="21차"/>
  118. <Cell col="31" text="22차"/>
  119. <Cell col="32" text="23차"/>
  120. <Cell col="33" text="24차"/>
  121. <Cell col="34" text="25차"/>
  122. <Cell col="35" text="26차"/>
  123. <Cell col="36" text="27차"/>
  124. <Cell col="37" text="28차"/>
  125. <Cell col="38" text="29차"/>
  126. <Cell col="39" text="30차"/>
  127. <Cell col="40" text="사유"/>
  128. <Cell col="41" text="bcno2"/>
  129. </Band>
  130. <Band id="body">
  131. <Cell celltype="head" expr="expr:currow+1"/>
  132. <Cell col="1" style="align:center middle;" text="bind:bcno"/>
  133. <Cell col="2" displaytype="text" text="bind:pid"/>
  134. <Cell col="3" text="bind:hngnm"/>
  135. <Cell col="4" text="bind:sexage"/>
  136. <Cell col="5" text="bind:orddeptnm"/>
  137. <Cell col="6" text="bind:orddrnm"/>
  138. <Cell col="7" text="bind:wardroom"/>
  139. <Cell col="8" style="align:left middle;" text="bind:tclsscrnnm" wordwrap="word"/>
  140. <Cell col="9" style="align:left;" text="bind:result"/>
  141. <Cell col="10" style="align:left;" text="bind:result01"/>
  142. <Cell col="11" style="align:left;" text="bind:result02"/>
  143. <Cell col="12" style="align:left;" text="bind:result03"/>
  144. <Cell col="13" style="align:left;" text="bind:result04"/>
  145. <Cell col="14" style="align:left;" text="bind:result05"/>
  146. <Cell col="15" style="align:left;" text="bind:result06"/>
  147. <Cell col="16" style="align:left;" text="bind:result07"/>
  148. <Cell col="17" style="align:left;" text="bind:result08"/>
  149. <Cell col="18" style="align:left;" text="bind:result09"/>
  150. <Cell col="19" style="align:left;" text="bind:result10"/>
  151. <Cell col="20" style="align:left;" text="bind:result11"/>
  152. <Cell col="21" style="align:left;" text="bind:result12"/>
  153. <Cell col="22" style="align:left;" text="bind:result13"/>
  154. <Cell col="23" style="align:left;" text="bind:result14"/>
  155. <Cell col="24" style="align:left;" text="bind:result15"/>
  156. <Cell col="25" style="align:left;" text="bind:result16"/>
  157. <Cell col="26" style="align:left;" text="bind:result17"/>
  158. <Cell col="27" style="align:left;" text="bind:result18"/>
  159. <Cell col="28" style="align:left;" text="bind:result19"/>
  160. <Cell col="29" style="align:left;" text="bind:result20"/>
  161. <Cell col="30" style="align:left;" text="bind:result21"/>
  162. <Cell col="31" style="align:left;" text="bind:result22"/>
  163. <Cell col="32" style="align:left;" text="bind:result23"/>
  164. <Cell col="33" style="align:left;" text="bind:result24"/>
  165. <Cell col="34" style="align:left;" text="bind:result25"/>
  166. <Cell col="35" style="align:left;" text="bind:result26"/>
  167. <Cell col="36" style="align:left;" text="bind:result27"/>
  168. <Cell col="37" style="align:left;" text="bind:result28"/>
  169. <Cell col="38" style="align:left;" text="bind:result29"/>
  170. <Cell col="39" style="align:left;" text="bind:result30"/>
  171. <Cell col="40" style="align:left;" text="bind:updtresn"/>
  172. <Cell col="41"/>
  173. </Band>
  174. </Format>
  175. </Formats>
  176. </Grid>
  177. <Shape id="line6" class="line_3" position="absolute 0 791 1194 791"/>
  178. <Shape id="line4" class="line_3" position="absolute 0 737 1193 737"/>
  179. <Button id="button1" taborder="3" text="엑셀" onlbuttonup="button3_onlbuttonup" class="btn7" position="absolute 1182 91 1234 111" onclick="button1_onclick" anchor="top right"/>
  180. <TextArea id="output5" taborder="4" readonly="true" position="absolute 84 725 1237 764" anchor="left right bottom"/>
  181. <Static id="caption13" text="사유" class="cell_1" position="absolute 1 723 81 766" anchor="left bottom"/>
  182. </Layout>
  183. </Layouts>
  184. <Objects>
  185. <Dataset id="ds_init_lb0103" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  186. <ColumnInfo>
  187. <Column id="cd" type="STRING" size="256"/>
  188. <Column id="nm" type="STRING" size="256"/>
  189. <Column id="etc01" type="STRING" size="256"/>
  190. </ColumnInfo>
  191. </Dataset>
  192. <Dataset id="ds_init_lb0104" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  193. <ColumnInfo>
  194. <Column id="cd" type="STRING" size="256"/>
  195. <Column id="nm" type="STRING" size="256"/>
  196. </ColumnInfo>
  197. </Dataset>
  198. <Dataset id="ds_init_lb0102" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  199. <ColumnInfo>
  200. <Column id="cd" type="STRING" size="256"/>
  201. <Column id="nm" type="STRING" size="256"/>
  202. </ColumnInfo>
  203. </Dataset>
  204. <Dataset id="ds_deptgbn" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  205. <ColumnInfo>
  206. <Column id="label" type="STRING" size="256"/>
  207. <Column id="value" type="STRING" size="256"/>
  208. </ColumnInfo>
  209. <Rows>
  210. <Row>
  211. <Col id="label">대분류</Col>
  212. <Col id="value">1</Col>
  213. </Row>
  214. <Row>
  215. <Col id="label">중분류</Col>
  216. <Col id="value">2</Col>
  217. </Row>
  218. </Rows>
  219. </Dataset>
  220. <Dataset id="ds_rsltgbn" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  221. <ColumnInfo>
  222. <Column id="label" type="STRING" size="256"/>
  223. <Column id="value" type="STRING" size="256"/>
  224. </ColumnInfo>
  225. <Rows>
  226. <Row>
  227. <Col id="label">전체</Col>
  228. <Col id="value">0</Col>
  229. </Row>
  230. <Row>
  231. <Col id="label">미검사</Col>
  232. <Col id="value">1</Col>
  233. </Row>
  234. <Row>
  235. <Col id="label">미완료</Col>
  236. <Col id="value">2</Col>
  237. </Row>
  238. <Row>
  239. <Col id="label">최종보고</Col>
  240. <Col id="value">3</Col>
  241. </Row>
  242. </Rows>
  243. </Dataset>
  244. <Dataset id="ds_testgrupdetl" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_grid_grd_schelist_oncolumnchanged">
  245. <ColumnInfo>
  246. <column id="chk" type="STRING" size="256"/>
  247. <column id="tclsnm" type="STRING" size="256"/>
  248. <column id="tclscd" type="STRING" size="256"/>
  249. <column id="spccd" type="STRING" size="256"/>
  250. <Column id="tclsprntnm" type="STRING" size="256"/>
  251. </ColumnInfo>
  252. </Dataset>
  253. <Dataset id="ds_grid_grd_rslt" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" onrowposchanged="ds_grid_grd_rslt_onrowposchanged">
  254. <ColumnInfo>
  255. <column id="bcno" type="STRING" size="255"/>
  256. <column id="pid" type="STRING" size="255"/>
  257. <column id="hngnm" type="STRING" size="255"/>
  258. <column id="sexage" type="STRING" size="255"/>
  259. <column id="orddeptnm" type="STRING" size="255"/>
  260. <column id="orddrnm" type="STRING" size="255"/>
  261. <column id="wardroom" type="STRING" size="255"/>
  262. <column id="updtresn" type="STRING" size="255"/>
  263. <column id="maxcnt" type="STRING" size="255"/>
  264. <column id="bcno2" type="STRING" size="255"/>
  265. <column id="tclsscrnnm" type="STRING" size="255"/>
  266. <column id="result" type="STRING" size="255"/>
  267. <column id="selchk01" type="STRING" size="255"/>
  268. <column id="result01" type="STRING" size="255"/>
  269. <Column id="readonly01" type="STRING" size="255"/>
  270. <Column id="testcd01" type="STRING" size="255"/>
  271. <Column id="rsltseq01" type="STRING" size="255"/>
  272. <Column id="inptrslt01" type="STRING" size="255"/>
  273. <Column id="rsltstat01" type="STRING" size="255"/>
  274. <Column id="tooltip01" type="STRING" size="255"/>
  275. <column id="selchk02" type="STRING" size="255"/>
  276. <column id="result02" type="STRING" size="255"/>
  277. <Column id="readonly02" type="STRING" size="255"/>
  278. <Column id="testcd02" type="STRING" size="255"/>
  279. <Column id="rsltseq02" type="STRING" size="255"/>
  280. <Column id="inptrslt02" type="STRING" size="255"/>
  281. <Column id="rsltstat02" type="STRING" size="255"/>
  282. <Column id="tooltip02" type="STRING" size="255"/>
  283. <column id="selchk03" type="STRING" size="255"/>
  284. <column id="result03" type="STRING" size="255"/>
  285. <Column id="readonly03" type="STRING" size="255"/>
  286. <Column id="testcd03" type="STRING" size="255"/>
  287. <Column id="rsltseq03" type="STRING" size="255"/>
  288. <Column id="inptrslt03" type="STRING" size="255"/>
  289. <Column id="rsltstat03" type="STRING" size="255"/>
  290. <Column id="tooltip03" type="STRING" size="255"/>
  291. <column id="selchk04" type="STRING" size="255"/>
  292. <column id="result04" type="STRING" size="255"/>
  293. <Column id="readonly04" type="STRING" size="255"/>
  294. <Column id="testcd04" type="STRING" size="255"/>
  295. <Column id="rsltseq04" type="STRING" size="255"/>
  296. <Column id="inptrslt04" type="STRING" size="255"/>
  297. <Column id="rsltstat04" type="STRING" size="255"/>
  298. <Column id="tooltip04" type="STRING" size="255"/>
  299. <column id="selchk05" type="STRING" size="255"/>
  300. <column id="result05" type="STRING" size="255"/>
  301. <Column id="readonly05" type="STRING" size="255"/>
  302. <Column id="testcd05" type="STRING" size="255"/>
  303. <Column id="rsltseq05" type="STRING" size="255"/>
  304. <Column id="inptrslt05" type="STRING" size="255"/>
  305. <Column id="rsltstat05" type="STRING" size="255"/>
  306. <Column id="tooltip05" type="STRING" size="255"/>
  307. <column id="selchk06" type="STRING" size="255"/>
  308. <column id="result06" type="STRING" size="255"/>
  309. <Column id="readonly06" type="STRING" size="255"/>
  310. <Column id="testcd06" type="STRING" size="255"/>
  311. <Column id="rsltseq06" type="STRING" size="255"/>
  312. <Column id="inptrslt06" type="STRING" size="255"/>
  313. <Column id="rsltstat06" type="STRING" size="255"/>
  314. <Column id="tooltip06" type="STRING" size="255"/>
  315. <column id="selchk07" type="STRING" size="255"/>
  316. <column id="result07" type="STRING" size="255"/>
  317. <Column id="readonly07" type="STRING" size="255"/>
  318. <Column id="testcd07" type="STRING" size="255"/>
  319. <Column id="rsltseq07" type="STRING" size="255"/>
  320. <Column id="inptrslt07" type="STRING" size="255"/>
  321. <Column id="rsltstat07" type="STRING" size="255"/>
  322. <Column id="tooltip07" type="STRING" size="255"/>
  323. <column id="selchk08" type="STRING" size="255"/>
  324. <column id="result08" type="STRING" size="255"/>
  325. <Column id="readonly08" type="STRING" size="255"/>
  326. <Column id="testcd08" type="STRING" size="255"/>
  327. <Column id="rsltseq08" type="STRING" size="255"/>
  328. <Column id="inptrslt08" type="STRING" size="255"/>
  329. <Column id="rsltstat08" type="STRING" size="255"/>
  330. <Column id="tooltip08" type="STRING" size="255"/>
  331. <column id="selchk09" type="STRING" size="255"/>
  332. <column id="result09" type="STRING" size="255"/>
  333. <Column id="readonly09" type="STRING" size="255"/>
  334. <Column id="testcd09" type="STRING" size="255"/>
  335. <Column id="rsltseq09" type="STRING" size="255"/>
  336. <Column id="inptrslt09" type="STRING" size="255"/>
  337. <Column id="rsltstat09" type="STRING" size="255"/>
  338. <Column id="tooltip09" type="STRING" size="255"/>
  339. <column id="selchk10" type="STRING" size="255"/>
  340. <column id="result10" type="STRING" size="255"/>
  341. <Column id="readonly10" type="STRING" size="255"/>
  342. <Column id="testcd10" type="STRING" size="255"/>
  343. <Column id="rsltseq10" type="STRING" size="255"/>
  344. <Column id="inptrslt10" type="STRING" size="255"/>
  345. <Column id="rsltstat10" type="STRING" size="255"/>
  346. <Column id="tooltip10" type="STRING" size="255"/>
  347. <column id="selchk11" type="STRING" size="255"/>
  348. <column id="result11" type="STRING" size="255"/>
  349. <Column id="readonly11" type="STRING" size="255"/>
  350. <Column id="testcd11" type="STRING" size="255"/>
  351. <Column id="rsltseq11" type="STRING" size="255"/>
  352. <Column id="inptrslt11" type="STRING" size="255"/>
  353. <Column id="rsltstat11" type="STRING" size="255"/>
  354. <Column id="tooltip11" type="STRING" size="255"/>
  355. <column id="selchk12" type="STRING" size="255"/>
  356. <column id="result12" type="STRING" size="255"/>
  357. <Column id="readonly12" type="STRING" size="255"/>
  358. <Column id="testcd12" type="STRING" size="255"/>
  359. <Column id="rsltseq12" type="STRING" size="255"/>
  360. <Column id="inptrslt12" type="STRING" size="255"/>
  361. <Column id="rsltstat12" type="STRING" size="255"/>
  362. <Column id="tooltip12" type="STRING" size="255"/>
  363. <column id="selchk13" type="STRING" size="255"/>
  364. <column id="result13" type="STRING" size="255"/>
  365. <Column id="readonly13" type="STRING" size="255"/>
  366. <Column id="testcd13" type="STRING" size="255"/>
  367. <Column id="rsltseq13" type="STRING" size="255"/>
  368. <Column id="inptrslt13" type="STRING" size="255"/>
  369. <Column id="rsltstat13" type="STRING" size="255"/>
  370. <Column id="tooltip13" type="STRING" size="255"/>
  371. <column id="selchk14" type="STRING" size="255"/>
  372. <column id="result14" type="STRING" size="255"/>
  373. <Column id="readonly14" type="STRING" size="255"/>
  374. <Column id="testcd14" type="STRING" size="255"/>
  375. <Column id="rsltseq14" type="STRING" size="255"/>
  376. <Column id="inptrslt14" type="STRING" size="255"/>
  377. <Column id="rsltstat14" type="STRING" size="255"/>
  378. <Column id="tooltip14" type="STRING" size="255"/>
  379. <column id="selchk15" type="STRING" size="255"/>
  380. <column id="result15" type="STRING" size="255"/>
  381. <Column id="readonly15" type="STRING" size="255"/>
  382. <Column id="testcd15" type="STRING" size="255"/>
  383. <Column id="rsltseq15" type="STRING" size="255"/>
  384. <Column id="inptrslt15" type="STRING" size="255"/>
  385. <Column id="rsltstat15" type="STRING" size="255"/>
  386. <Column id="tooltip15" type="STRING" size="255"/>
  387. <column id="selchk16" type="STRING" size="255"/>
  388. <column id="result16" type="STRING" size="255"/>
  389. <Column id="readonly16" type="STRING" size="255"/>
  390. <Column id="testcd16" type="STRING" size="255"/>
  391. <Column id="rsltseq16" type="STRING" size="255"/>
  392. <Column id="inptrslt16" type="STRING" size="255"/>
  393. <Column id="rsltstat16" type="STRING" size="255"/>
  394. <Column id="tooltip16" type="STRING" size="255"/>
  395. <column id="selchk17" type="STRING" size="255"/>
  396. <column id="result17" type="STRING" size="255"/>
  397. <Column id="readonly17" type="STRING" size="255"/>
  398. <Column id="testcd17" type="STRING" size="255"/>
  399. <Column id="rsltseq17" type="STRING" size="255"/>
  400. <Column id="inptrslt17" type="STRING" size="255"/>
  401. <Column id="rsltstat17" type="STRING" size="255"/>
  402. <Column id="tooltip17" type="STRING" size="255"/>
  403. <column id="selchk18" type="STRING" size="255"/>
  404. <column id="result18" type="STRING" size="255"/>
  405. <Column id="readonly18" type="STRING" size="255"/>
  406. <Column id="testcd18" type="STRING" size="255"/>
  407. <Column id="rsltseq18" type="STRING" size="255"/>
  408. <Column id="inptrslt18" type="STRING" size="255"/>
  409. <Column id="rsltstat18" type="STRING" size="255"/>
  410. <Column id="tooltip18" type="STRING" size="255"/>
  411. <column id="selchk19" type="STRING" size="255"/>
  412. <column id="result19" type="STRING" size="255"/>
  413. <Column id="readonly19" type="STRING" size="255"/>
  414. <Column id="testcd19" type="STRING" size="255"/>
  415. <Column id="rsltseq19" type="STRING" size="255"/>
  416. <Column id="inptrslt19" type="STRING" size="255"/>
  417. <Column id="rsltstat19" type="STRING" size="255"/>
  418. <Column id="tooltip19" type="STRING" size="255"/>
  419. <column id="selchk20" type="STRING" size="255"/>
  420. <column id="result20" type="STRING" size="255"/>
  421. <Column id="readonly20" type="STRING" size="255"/>
  422. <Column id="testcd20" type="STRING" size="255"/>
  423. <Column id="rsltseq20" type="STRING" size="255"/>
  424. <Column id="inptrslt20" type="STRING" size="255"/>
  425. <Column id="rsltstat20" type="STRING" size="255"/>
  426. <Column id="tooltip20" type="STRING" size="255"/>
  427. <column id="selchk21" type="STRING" size="255"/>
  428. <column id="result21" type="STRING" size="255"/>
  429. <Column id="readonly21" type="STRING" size="255"/>
  430. <Column id="testcd21" type="STRING" size="255"/>
  431. <Column id="rsltseq21" type="STRING" size="255"/>
  432. <Column id="inptrslt21" type="STRING" size="255"/>
  433. <Column id="rsltstat21" type="STRING" size="255"/>
  434. <Column id="tooltip21" type="STRING" size="255"/>
  435. <column id="selchk22" type="STRING" size="255"/>
  436. <column id="result22" type="STRING" size="255"/>
  437. <Column id="readonly22" type="STRING" size="255"/>
  438. <Column id="testcd22" type="STRING" size="255"/>
  439. <Column id="rsltseq22" type="STRING" size="255"/>
  440. <Column id="inptrslt22" type="STRING" size="255"/>
  441. <Column id="rsltstat22" type="STRING" size="255"/>
  442. <Column id="tooltip22" type="STRING" size="255"/>
  443. <column id="selchk23" type="STRING" size="255"/>
  444. <column id="result23" type="STRING" size="255"/>
  445. <Column id="readonly23" type="STRING" size="255"/>
  446. <Column id="testcd23" type="STRING" size="255"/>
  447. <Column id="rsltseq23" type="STRING" size="255"/>
  448. <Column id="inptrslt23" type="STRING" size="255"/>
  449. <Column id="rsltstat23" type="STRING" size="255"/>
  450. <Column id="tooltip23" type="STRING" size="255"/>
  451. <column id="selchk24" type="STRING" size="255"/>
  452. <column id="result24" type="STRING" size="255"/>
  453. <Column id="readonly24" type="STRING" size="255"/>
  454. <Column id="testcd24" type="STRING" size="255"/>
  455. <Column id="rsltseq24" type="STRING" size="255"/>
  456. <Column id="inptrslt24" type="STRING" size="255"/>
  457. <Column id="rsltstat24" type="STRING" size="255"/>
  458. <Column id="tooltip24" type="STRING" size="255"/>
  459. <column id="selchk25" type="STRING" size="255"/>
  460. <column id="result25" type="STRING" size="255"/>
  461. <Column id="readonly25" type="STRING" size="255"/>
  462. <Column id="testcd25" type="STRING" size="255"/>
  463. <Column id="rsltseq25" type="STRING" size="255"/>
  464. <Column id="inptrslt25" type="STRING" size="255"/>
  465. <Column id="rsltstat25" type="STRING" size="255"/>
  466. <Column id="tooltip25" type="STRING" size="255"/>
  467. <column id="selchk26" type="STRING" size="255"/>
  468. <column id="result26" type="STRING" size="255"/>
  469. <Column id="readonly26" type="STRING" size="255"/>
  470. <Column id="testcd26" type="STRING" size="255"/>
  471. <Column id="rsltseq26" type="STRING" size="255"/>
  472. <Column id="inptrslt26" type="STRING" size="255"/>
  473. <Column id="rsltstat26" type="STRING" size="255"/>
  474. <Column id="tooltip26" type="STRING" size="255"/>
  475. <column id="selchk27" type="STRING" size="255"/>
  476. <column id="result27" type="STRING" size="255"/>
  477. <Column id="readonly27" type="STRING" size="255"/>
  478. <Column id="testcd27" type="STRING" size="255"/>
  479. <Column id="rsltseq27" type="STRING" size="255"/>
  480. <Column id="inptrslt27" type="STRING" size="255"/>
  481. <Column id="rsltstat27" type="STRING" size="255"/>
  482. <Column id="tooltip27" type="STRING" size="255"/>
  483. <column id="selchk28" type="STRING" size="255"/>
  484. <column id="result28" type="STRING" size="255"/>
  485. <Column id="readonly28" type="STRING" size="255"/>
  486. <Column id="testcd28" type="STRING" size="255"/>
  487. <Column id="rsltseq28" type="STRING" size="255"/>
  488. <Column id="inptrslt28" type="STRING" size="255"/>
  489. <Column id="rsltstat28" type="STRING" size="255"/>
  490. <Column id="tooltip28" type="STRING" size="255"/>
  491. <column id="selchk29" type="STRING" size="255"/>
  492. <column id="result29" type="STRING" size="255"/>
  493. <Column id="readonly29" type="STRING" size="255"/>
  494. <Column id="testcd29" type="STRING" size="255"/>
  495. <Column id="rsltseq29" type="STRING" size="255"/>
  496. <Column id="inptrslt29" type="STRING" size="255"/>
  497. <Column id="rsltstat29" type="STRING" size="255"/>
  498. <Column id="tooltip29" type="STRING" size="255"/>
  499. <column id="selchk30" type="STRING" size="255"/>
  500. <column id="result30" type="STRING" size="255"/>
  501. <Column id="readonly30" type="STRING" size="255"/>
  502. <Column id="testcd30" type="STRING" size="255"/>
  503. <Column id="rsltseq30" type="STRING" size="255"/>
  504. <Column id="inptrslt30" type="STRING" size="255"/>
  505. <Column id="rsltstat30" type="STRING" size="255"/>
  506. <Column id="tooltip30" type="STRING" size="255"/>
  507. <column id="maxrstno30" type="STRING" size="255"/>
  508. </ColumnInfo>
  509. </Dataset>
  510. <Dataset id="ds_resn" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  511. <ColumnInfo>
  512. <Column id="resnseq" type="STRING" size="256"/>
  513. </ColumnInfo>
  514. </Dataset>
  515. <Dataset id="ds_temp_sendtclsnm" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  516. <ColumnInfo>
  517. <Column id="tclsnmlist" type="STRING" size="256"/>
  518. <Column id="tclscdlist" type="STRING" size="256"/>
  519. <Column id="tclscdlist2" type="STRING" size="256"/>
  520. <Column id="tclsnmlist2" type="STRING" size="256"/>
  521. <Column id="tclsprntnm" type="STRING" size="256"/>
  522. <Column id="testgrup" type="STRING" size="256"/>
  523. </ColumnInfo>
  524. </Dataset>
  525. <Dataset id="ds_hidden_ref_tclscdlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  526. <ColumnInfo>
  527. <Column id="tclsnmlist" type="STRING" size="256"/>
  528. <Column id="tclscdlist" type="STRING" size="256"/>
  529. <Column id="tclscdlist2" type="STRING" size="256"/>
  530. <Column id="testgrup" type="STRING" size="256"/>
  531. <Column id="tclsnmlist2" type="STRING" size="256"/>
  532. </ColumnInfo>
  533. <Rows>
  534. <Row/>
  535. </Rows>
  536. </Dataset>
  537. </Objects>
  538. <Bind>
  539. <BindItem id="item0" compid="group1.cmb_testitem" propid="value" datasetid="ds_hidden_ref_tclscdlist" columnid="testgrup"/>
  540. <BindItem id="item1" compid="group1.ipt_tclscdlist" propid="value" datasetid="ds_hidden_ref_tclscdlist" columnid="tclsnmlist"/>
  541. </Bind>
  542. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  543. * System Name :
  544. * Job Name :
  545. * Creator :
  546. * Make Date : 2015-05-01
  547. * Description :
  548. *---------------------------------------------------------------------------------------
  549. * Modify Date Modifier Modify Description
  550. *---------------------------------------------------------------------------------------
  551. * 2015-05-01 Live Converter TF->XP
  552. *
  553. *---------------------------------------------------------------------------------------
  554. ****************************************************************************************/
  555. include "com_commonxp::comm_main.xjs";
  556. include "lis_commonxp::LLZ001.xjs";
  557. var tclscdlist = "";
  558. var tclscdlist2 = "";
  559. var tclsnmlist = "";
  560. function SMLLP01700_onload(obj:Form, e:LoadEventInfo)
  561. {
  562. //폼 초기화 함수
  563. frmf_initForm(obj);
  564. lf_setInit(1);
  565. group1.cmb_dept.index=0
  566. }
  567. function lf_setInit(ref) {
  568. if(ref==2) {
  569. }else {
  570. var curDate = utlf_getCurrentDate();
  571. group1.combo3.value = "1"; //1=대분류
  572. group1.cmb_dept.value = "00";
  573. group1.combo4.value = "00";
  574. lf_comboAalue();
  575. group1.ipt_usdt.value = curDate;
  576. group1.ipt_ustm.value = "0000";
  577. group1.ipt_uedt.value = curDate;
  578. group1.ipt_uetm.value = "2359";
  579. group1.combo2.value = "0"; // 결과구분 0=전체
  580. group1.cmb_testitem.value = "";
  581. group1.ipt_tclscdlist.value = "";
  582. // 사용자별 검사그룹
  583. lf_getDbDeptcd("0000|0103|0104|0102|","cbf_SMLLP01700");
  584. }
  585. }
  586. function lf_getMutiRsltList() {
  587. var fromdd = group1.ipt_usdt.value;
  588. var todd = group1.ipt_uedt.value;
  589. fromdd = fromdd.toFormatString("%Y%m%d");
  590. todd = todd.toFormatString("%Y%m%d");
  591. var mDate = utlf_addDate(todd, -3);
  592. if(toNumber(mDate) > toNumber(fromdd)) {
  593. sysf_messageBox("3일 이내의 기간만 검색","I006");
  594. return;
  595. }else if(todd < fromdd) {
  596. sysf_messageBox("기간설정이 잘못", "E005");
  597. group1.ipt_usdt.value = todd;
  598. return;
  599. }
  600. // 시행부서
  601. var deptgbn = group1.combo3.value;
  602. var deptL = group1.cmb_dept.value;
  603. var deptM = group1.combo4.value;
  604. // 접수일자
  605. var usdd = group1.ipt_usdt.value;
  606. var ustm = group1.ipt_ustm.value;
  607. var uedd = group1.ipt_uedt.value;
  608. var uetm = group1.ipt_uetm.value;
  609. // 검사항목
  610. var testitem = tclscdlist;
  611. // 결과구분
  612. var rsltgbn = group1.combo2.value; // 결과combo
  613. var sInDsName = dsf_createDsRow("ds_temp_search"
  614. , [{col: "deptgbn", val:deptgbn }
  615. , {col: "deptL", val:deptL }
  616. , {col: "deptM", val:deptM }
  617. , {col: "usdd", val:usdd }
  618. , {col: "ustm", val:ustm }
  619. , {col: "uedd", val:uedd }
  620. , {col: "uetm", val:uetm }
  621. , {col: "tclscdlist", val:tclscdlist }
  622. , {col: "rsltgbn", val:rsltgbn }
  623. ]);
  624. var oParam = {};
  625. oParam.id = "TRLLP01701";
  626. oParam.service = "refprintmngtapp.GeneralRefPrintMngt";
  627. oParam.method = "reqGetMultiResultListref";
  628. oParam.inds = "cond="+sInDsName;
  629. oParam.outds = "ds_grid_grd_rslt=rstlist";
  630. oParam.async = false;
  631. oParam.callback = "cbf_SMLLP01700";
  632. tranf_submit(oParam);
  633. }
  634. function lf_selectTestGrup(){
  635. var index = group1.cmb_testitem.index;
  636. var userid = ds_init_lb0103.getColumn(index, "etc01"); //해당인덱스의 userid 넘김
  637. var testgrupseqno = group1.cmb_testitem.value; //검사항목시퀀스값 넘김
  638. var sInDsName = dsf_createDsRow("ds_temp_search"
  639. , [{col: "testgrupnm", val: group1.cmb_testitem.text}]);
  640. var oParam = {};
  641. oParam.id = "TRLLF90401";
  642. oParam.service = "diagtestapplib.LisCommon";
  643. oParam.method = "reqGetTestGrupDetl";
  644. oParam.inds = "cond="+sInDsName;
  645. oParam.outds = "ds_testgrupdetl=getTestGrupDetl";
  646. oParam.async = false;
  647. oParam.callback = "cbf_SMLLP01700";
  648. tranf_submit(oParam);
  649. }
  650. // pop 선택리스트 검사항목에 설정
  651. function lf_setPopUpTclscdList(){
  652. var count = ds_testgrupdetl.rowcount;
  653. if(count > 0){
  654. var sendtclsnm = ds_testgrupdetl.getColumn(0, "tclsnm");
  655. var sendtclscd = ds_testgrupdetl.getColumn(0, "tclscd");
  656. var sendtclscd2 = ds_testgrupdetl.getColumn(0, "tclscd");
  657. // 검사그룹 상세 목록 없을때
  658. if(sendtclsnm == ""){
  659. tclscdlist = "";
  660. tclsnmlist = "";
  661. group1.ipt_tclscdlist.value = "";
  662. }else{ // 검사그룹 상세 목록 있을때
  663. for(i=1; i<count; i++){
  664. sendtclsnm = sendtclsnm + ", " +ds_testgrupdetl.getColumn(i, "tclsnm");
  665. sendtclscd = sendtclscd + "','" + ds_testgrupdetl.getColumn(i, "tclscd");
  666. sendtclscd2 = sendtclscd2 + "▦" + ds_testgrupdetl.getColumn(i, "tclscd");
  667. }
  668. tclsnmlist = sendtclsnm;
  669. tclscdlist = "'" + sendtclscd + "'";
  670. tclscdlist2= sendtclscd2;
  671. group1.ipt_tclscdlist.value = tclsnmlist;
  672. }
  673. }
  674. }
  675. // 대분류 중분류 선택시 변경
  676. function lf_comboAalue() {
  677. // 대분류
  678. if(group1.combo3.value == "1"){
  679. group1.cmb_dept.visible = true;
  680. group1.combo4.visible = false;
  681. group1.cmb_dept.value = "00";
  682. // 중분류
  683. }else{
  684. group1.cmb_dept.visible = false;
  685. group1.combo4.visible = true;
  686. group1.combo4.value = "00";
  687. }
  688. }
  689. // 엑셀 저장
  690. function lf_exeExcel() {
  691. grdf_exportExcel(grd_rslt, lf_lisGetTitle(this) + "_" + "다중결과조회", "sheet1", false);
  692. }
  693. // 사유 아래에 보여주기
  694. function lf_getResn() {
  695. var row = ds_grid_grd_rslt.rowposition;
  696. var col = grd_rslt.currentcol;
  697. if(col == 40 || col ==9){
  698. output5.value = ds_grid_grd_rslt.getColumn(row, "updtresn");
  699. }else if(col > 9 && col < 40) {
  700. var aaa= col - 9;
  701. if(aaa < 10){
  702. aaa = "0" + aaa;
  703. }
  704. var bcno = ds_grid_grd_rslt.getColumn(row, "bcno2");
  705. var testcd = ds_grid_grd_rslt.getColumn(row, "testcd"+aaa);
  706. var rsltseq = ds_grid_grd_rslt.getColumn(row, "rsltseq"+aaa);
  707. if(toNumber(ds_grid_grd_rslt.getColumn(row, "rsltseq"+aaa)) > 0){
  708. var sInDsName = dsf_createDsRow("ds_temp_search"
  709. , [{col: "bcno", val:bcno}
  710. , {col: "testcd", val:testcd}
  711. , {col: "rsltseq", val:rsltseq}
  712. ]);
  713. var oParam = {};
  714. oParam.id = "TRLLP01702";
  715. oParam.service = "refprintmngtapp.GeneralRefPrintMngt";
  716. oParam.method = "reqGetMultiResultseqResn";
  717. oParam.inds = "cond="+sInDsName;
  718. oParam.outds = "ds_resn=getMultiResultseqResn";
  719. oParam.async = false;
  720. oParam.callback = "cbf_SMLLP01700";
  721. tranf_submit(oParam);
  722. }else{
  723. output5.value = "";
  724. }
  725. }else{
  726. }
  727. }
  728. // callback 함수
  729. function cbf_SMLLP01700(strSvcID, nErrorCode, strErrorMag) {
  730. if(nErrorCode != 0) {
  731. sysf_messageBox("ID: "+ strSvcID + " Error: " + strErrorMag, "E009", "");
  732. }else{
  733. switch(strSvcID){
  734. case "TRLZZ00101":
  735. for(var i=15; i<= 39; i++){
  736. grd_rslt.setFormatColProperty(i, "size", 0);
  737. }
  738. break;
  739. case "TRLLP00501":
  740. break;
  741. case "TRLLF90401":
  742. lf_setPopUpTclscdList();
  743. break;
  744. case "TRLLP01701":
  745. if(ds_grid_grd_rslt.rowcount > 0){
  746. var maxcnt = ds_grid_grd_rslt.getColumn(0,"maxcnt");
  747. var startnum = 10 + parseInt(maxcnt);
  748. for(var i=10; i<= 39; i++){
  749. grd_rslt.setFormatColProperty(i, "size", 70);
  750. if(i >= startnum){
  751. grd_rslt.setFormatColProperty(i, "size", 0);
  752. }
  753. }
  754. }
  755. break;
  756. case "TRLLP01702":
  757. output5.value = ds_resn.getColumn(0, "resnseq");
  758. break;
  759. default:
  760. break;
  761. }
  762. }
  763. }
  764. function button3_onlbuttonup(obj:Button, e:MouseEventInfo)
  765. {
  766. lf_getMutiRsltList();
  767. }
  768. function group1_cmb_testitem_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  769. {
  770. lf_selectTestGrup();
  771. }
  772. function group1_combo3_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  773. {
  774. lf_comboAalue();
  775. }
  776. function grd_rslt_oncellclick(obj:Grid, e:GridClickEventInfo)
  777. {
  778. lf_getResn();
  779. }
  780. function button1_onlbuttonup(obj:Button, e:MouseEventInfo)
  781. {
  782. if (ds_grid_grd_rslt.rowcount ==0) return;
  783. lf_exeExcel();
  784. }
  785. function button5_onclick(obj:Button, e:ClickEventInfo)
  786. {
  787. this.reload();
  788. }
  789. function group1_combo4_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  790. {
  791. if (e.postvalue == "00")//전체
  792. {
  793. ds_init_lb0103.filter("");
  794. }else{
  795. ds_init_lb0103.filter("etc02=='"+e.postvalue+"'");
  796. }
  797. }
  798. function group3_group1_button6_onclick(obj:Button, e:ClickEventInfo)
  799. {
  800. var objArg = new Object();
  801. objArg.testGrup = ds_hidden_ref_tclscdlist;
  802. var rtn = frmf_modal("SMLLF90400","SMLLF90400",objArg, "", "", 300, 200, "", "", "", "", "", "M");
  803. group1.ipt_tclscdlist.value = utlf_isNull(ds_hidden_ref_tclscdlist.getColumn(0, "tclsnmlist")) ? group1.ipt_tclscdlist.value : ds_hidden_ref_tclscdlist.getColumn(0, "tclsnmlist").replace("▦",",");
  804. group1.cmb_testitem.value = utlf_isNull(ds_hidden_ref_tclscdlist.getColumn(0, "testgrup")) ? group1.cmb_testitem.value : ds_hidden_ref_tclscdlist.getColumn(0, "testgrup");
  805. tclscdlist= utlf_isNull(ds_hidden_ref_tclscdlist.getColumn(0, "tclscdlist")) ? "'" + group1.cmb_testitem.value + "'" : ("'"+ds_hidden_ref_tclscdlist.getColumn(0, "tclscdlist2").replace("▦","','")+"'");
  806. }
  807. ]]></Script>
  808. </Form>
  809. </FDL>