SMLMP00510_결핵균검사의뢰조회.xfdl 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMLMP00500" position="absolute 0 0 1199 799" titletext="결핵균검사의뢰조회" oninit="SMLMP00500_oninit" onload="SMLMP00500_onload">
  5. <Layouts>
  6. <Layout>
  7. <Button id="button5" taborder="1" text="초기화" class="btn4" position="absolute 1127 32 1195 54" onclick="button5_onclick" anchor="top right"/>
  8. <Button id="btn_prntset" taborder="2" text="프린터설정" class="btn6" position="absolute 0 32 89 54" onclick="btn_prntset_onclick"/>
  9. <Static id="cap_title" text="결핵균검사의뢰조회" class="tit_1" position="absolute 0 0 149 30"/>
  10. <Div id="group2" taborder="3" position="absolute 0 56 1195 121" class="div_SA2" anchor="left top right">
  11. <Layouts>
  12. <Layout>
  13. <Static id="caption2" text="접수일 :" class="search_name" position="absolute 326 9 400 26" anchor="default"/>
  14. <Button id="btn_search" taborder="11" text="조회" class="btn1" position="absolute 1123 7 1179 29" onclick="group2_btn_search_onclick" anchor="default"/>
  15. <Shape id="line13" linetype="vertical" class="line_4" position="absolute 1105 7 1111 29" anchor="default"/>
  16. <Calendar id="ipt_fromdd" taborder="12" class="input_s_essential" position="absolute 406 8 512 27" anchor="default"/>
  17. <Static id="caption3" text="~" class="search_no_b" position="absolute 517 9 532 26" anchor="default"/>
  18. <Calendar id="ipt_todd" taborder="13" class="input_s_essential" position="absolute 532 8 638 27" onkeyup="group2_ipt_todd_onkeyup" anchor="default"/>
  19. <Radio id="radio1" taborder="14" columncount="3" rowcount="0" codecolumn="codecolumn" datacolumn="datacolumn" class="radio_search" position="absolute 90 9 299 26" onitemchanged="group2_radio1_onitemchanged" anchor="default">
  20. <Dataset id="innerdataset">
  21. <ColumnInfo>
  22. <Column id="codecolumn"/>
  23. <Column id="datacolumn"/>
  24. </ColumnInfo>
  25. <Rows>
  26. <Row>
  27. <Col id="codecolumn">1</Col>
  28. <Col id="datacolumn">미검</Col>
  29. </Row>
  30. <Row>
  31. <Col id="codecolumn">2</Col>
  32. <Col id="datacolumn">접수</Col>
  33. </Row>
  34. <Row>
  35. <Col id="codecolumn">3</Col>
  36. <Col id="datacolumn">최종보고</Col>
  37. </Row>
  38. </Rows>
  39. </Dataset>
  40. </Radio>
  41. <Static id="caption4" text="조회구분 :" class="search_name" position="absolute 700 9 789 26" anchor="top right"/>
  42. <Edit id="input2" taborder="15" class="input_search" position="absolute 895 8 990 27" onkeyup="group2_input2_onkeyup" anchor="top right"/>
  43. <Edit id="input3" taborder="16" class="input_search" visible="false" position="absolute 1000 8 1020 27" anchor="top right"/>
  44. <Static id="caption5" text="장" visible="false" position="absolute 1023 9 1048 29" anchor="top right"/>
  45. <CheckBox id="checkbox1" taborder="17" position="absolute 646 8 701 28" text="6개월" onclick="group2_checkbox1_onclick" value="false" anchor="default"/>
  46. <Static id="caption6" text="구분 :" class="search_name" position="absolute 15 9 89 26" anchor="default"/>
  47. <Combo id="combo1" taborder="18" codecolumn="codecolumn" datacolumn="datacolumn" position="absolute 790 8 890 27" anchor="top right">
  48. <Dataset id="innerdataset">
  49. <ColumnInfo>
  50. <Column id="codecolumn"/>
  51. <Column id="datacolumn"/>
  52. </ColumnInfo>
  53. <Rows>
  54. <Row>
  55. <Col id="codecolumn">1</Col>
  56. <Col id="datacolumn">등록번호</Col>
  57. </Row>
  58. <Row>
  59. <Col id="codecolumn">2</Col>
  60. <Col id="datacolumn">바코드번호</Col>
  61. </Row>
  62. <Row>
  63. <Col id="codecolumn">3</Col>
  64. <Col id="datacolumn">환자성명</Col>
  65. </Row>
  66. <Row>
  67. <Col id="codecolumn">4</Col>
  68. <Col id="datacolumn">작업번호</Col>
  69. </Row>
  70. </Rows>
  71. </Dataset>
  72. </Combo>
  73. <Static id="caption7" text="조회그룹 :" class="search_name" position="absolute 700 39 789 56" anchor="top right"/>
  74. <Combo id="combo2" taborder="19" innerdataset="ds_init_combo2" codecolumn="cd" datacolumn="nm" position="absolute 790 38 925 57" anchor="top right"/>
  75. <Radio id="radio2" taborder="20" columncount="3" rowcount="0" codecolumn="codecolumn" datacolumn="datacolumn" class="radio_search" position="absolute 420 39 605 56" anchor="default">
  76. <Dataset id="innerdataset">
  77. <ColumnInfo>
  78. <Column id="codecolumn"/>
  79. <Column id="datacolumn"/>
  80. </ColumnInfo>
  81. <Rows>
  82. <Row>
  83. <Col id="codecolumn">1</Col>
  84. <Col id="datacolumn">전체</Col>
  85. </Row>
  86. <Row>
  87. <Col id="codecolumn">2</Col>
  88. <Col id="datacolumn">입원</Col>
  89. </Row>
  90. <Row>
  91. <Col id="codecolumn">3</Col>
  92. <Col id="datacolumn">외래</Col>
  93. </Row>
  94. </Rows>
  95. </Dataset>
  96. </Radio>
  97. <Static id="caption9" text="입/외 구분 :" class="search_name" position="absolute 326 39 424 56" anchor="default"/>
  98. </Layout>
  99. </Layouts>
  100. </Div>
  101. <Static id="caption1" text="결핵균검사리스트" class="tit_2" position="absolute 1 131 132 148"/>
  102. <Grid id="grd_testlist" taborder="4" binddataset="ds_grd_testlist" useinputpanel="false" position="absolute 0 149 1194 788" oncelldblclick="grd_testlist_oncelldblclick" anchor="all">
  103. <Formats>
  104. <Format id="default">
  105. <Columns>
  106. <Column size="68"/>
  107. <Column size="78"/>
  108. <Column size="120"/>
  109. <Column size="70"/>
  110. <Column size="70"/>
  111. <Column size="120"/>
  112. <Column size="50"/>
  113. <Column size="100"/>
  114. <Column size="65"/>
  115. <Column size="219"/>
  116. <Column size="71"/>
  117. <Column size="125"/>
  118. <Column size="200"/>
  119. <Column size="100"/>
  120. <Column size="100"/>
  121. <Column size="120"/>
  122. <Column size="100"/>
  123. <Column size="0"/>
  124. <Column size="0"/>
  125. <Column size="0"/>
  126. <Column size="0"/>
  127. </Columns>
  128. <Rows>
  129. <Row size="24" band="head"/>
  130. <Row size="24"/>
  131. </Rows>
  132. <Band id="head">
  133. <Cell/>
  134. <Cell col="1" text="처방일자"/>
  135. <Cell col="2" text="접수일"/>
  136. <Cell col="3" text="등록번호"/>
  137. <Cell col="4" text="환자명"/>
  138. <Cell col="5" text="작업번호"/>
  139. <Cell col="6" text="의뢰과"/>
  140. <Cell col="7" text="병실"/>
  141. <Cell col="8" text="상태"/>
  142. <Cell col="9" text="검사명"/>
  143. <Cell col="10" text="검체명"/>
  144. <Cell col="11" text="결과일시"/>
  145. <Cell col="12" text="결과"/>
  146. <Cell col="13" text="외부의뢰일"/>
  147. <Cell col="14" text="의뢰항목"/>
  148. <Cell col="15" text="외부의뢰 결과일"/>
  149. <Cell col="16" text="Comment"/>
  150. <Cell col="17" text="bcno"/>
  151. <Cell col="18" text="sex"/>
  152. <Cell col="19" text="patage"/>
  153. <Cell col="20" text="orddrnm"/>
  154. </Band>
  155. <Band id="body">
  156. <Cell text="expr:currow + 1"/>
  157. <Cell col="1" displaytype="date" edittype="date" text="bind:prcpdd" mask="yyyy-MM-dd"/>
  158. <Cell col="2" displaytype="date" edittype="date" text="bind:spcacptdt" mask="yyyy-MM-dd hh:mm:ss"/>
  159. <Cell col="3" text="bind:pid"/>
  160. <Cell col="4" text="bind:hngnm"/>
  161. <Cell col="5" text="bind:workno"/>
  162. <Cell col="6" text="bind:orddeptnm"/>
  163. <Cell col="7" text="bind:roomcd"/>
  164. <Cell col="8" text="bind:spcstat"/>
  165. <Cell col="9" text="bind:tclsnm"/>
  166. <Cell col="10" text="bind:spcnm"/>
  167. <Cell col="11" displaytype="text" edittype="text" style="align:center;" text="bind:rsltrgstdt" mask="expr:utlf_isNull(rsltrgstdt) ? &quot;&quot; : &quot;####-##-##&quot;"/>
  168. <Cell col="12" text="bind:reptrslt"/>
  169. <Cell col="13" displaytype="text" edittype="text" text="bind:reqdt" mask="expr:utlf_isNull(rsltrgstdt) ? &quot;&quot; : &quot;####-##-##&quot;"/>
  170. <Cell col="14" text="bind:reqkind"/>
  171. <Cell col="15" displaytype="text" edittype="text" text="bind:reqlastreptdt" mask="expr:utlf_isNull(rsltrgstdt) ? &quot;&quot; : &quot;####-##-##&quot;"/>
  172. <Cell col="16" text="bind:prcpremfact"/>
  173. <Cell col="17" text="bind:bcno"/>
  174. <Cell col="18" text="bind:sex"/>
  175. <Cell col="19" text="bind:patage"/>
  176. <Cell col="20" text="bind:orddrnm"/>
  177. </Band>
  178. </Format>
  179. </Formats>
  180. </Grid>
  181. <Button id="btn_excel" taborder="5" text="엑셀" class="btn7" position="absolute 1141 123 1192 143" onclick="btn_excel_onclick" anchor="top right"/>
  182. <Static id="caption8" text="선택된 바코드 :" class="tit_2" position="absolute 270 131 384 149"/>
  183. <Edit id="input1" taborder="6" position="absolute 384 127 489 146"/>
  184. <Button id="button3" taborder="7" text="출력" class="btn6" position="absolute 491 126 544 145" onclick="button3_onclick"/>
  185. <Edit id="input4" taborder="8" position="absolute 688 126 768 145"/>
  186. <Static id="caption10" text="선택된 등록번호 :" class="tit_2" position="absolute 555 131 682 147"/>
  187. </Layout>
  188. </Layouts>
  189. <Objects>
  190. <Dataset id="ds_init_combo2" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  191. <ColumnInfo>
  192. <Column id="nm" type="STRING"/>
  193. <Column id="cd" type="STRING"/>
  194. </ColumnInfo>
  195. </Dataset>
  196. <Dataset id="ds_grd_testlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  197. <ColumnInfo>
  198. <Column id="prcpdd" type="STRING"/>
  199. <Column id="spcacptdt" type="STRING"/>
  200. <Column id="pid" type="STRING"/>
  201. <Column id="hngnm" type="STRING"/>
  202. <Column id="workno" type="STRING"/>
  203. <Column id="orddeptnm" type="STRING"/>
  204. <Column id="roomcd" type="STRING"/>
  205. <Column id="spcstat" type="STRING"/>
  206. <Column id="tclsnm" type="STRING"/>
  207. <Column id="spcnm" type="STRING"/>
  208. <Column id="rsltrgstdt" type="STRING"/>
  209. <Column id="reptrslt" type="STRING"/>
  210. <Column id="reqdt" type="STRING"/>
  211. <Column id="reqkind" type="STRING"/>
  212. <Column id="reqlastreptdt" type="STRING"/>
  213. <Column id="prcpremfact" type="STRING"/>
  214. <Column id="bcno" type="STRING"/>
  215. <Column id="sex" type="STRING"/>
  216. <Column id="patage" type="STRING"/>
  217. <Column id="orddrnm" type="STRING"/>
  218. <Column id="spccd" type="STRING" size="256"/>
  219. <Column id="tclscd" type="STRING" size="256"/>
  220. </ColumnInfo>
  221. </Dataset>
  222. <Dataset id="ds_init_LB0104" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  223. <ColumnInfo>
  224. <Column id="nm" type="STRING" size="256"/>
  225. <Column id="cd" type="STRING" size="256"/>
  226. </ColumnInfo>
  227. </Dataset>
  228. <Dataset id="ds_send_req" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  229. <ColumnInfo>
  230. <Column id="srchflag" type="STRING" size="256"/>
  231. <Column id="fromdd" type="STRING" size="256"/>
  232. <Column id="todd" type="STRING" size="256"/>
  233. <Column id="searchtext" type="STRING" size="256"/>
  234. <Column id="getgbn" type="STRING" size="256"/>
  235. <Column id="getgroup" type="STRING" size="256"/>
  236. <Column id="ioflag" type="STRING" size="256"/>
  237. <Column id="codeflag" type="STRING" size="256"/>
  238. </ColumnInfo>
  239. <Rows>
  240. <Row>
  241. <Col id="srchflag">2</Col>
  242. <Col id="getgbn">1</Col>
  243. <Col id="getgroup">00</Col>
  244. <Col id="ioflag">1</Col>
  245. </Row>
  246. </Rows>
  247. </Dataset>
  248. <Dataset id="ds_barcodeinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  249. <ColumnInfo>
  250. <Column id="tsectlblnm" type="STRING" size="256"/>
  251. <Column id="tsectlblnm2" type="STRING" size="256"/>
  252. <Column id="bcno" type="STRING" size="256"/>
  253. <Column id="barcdprndt" type="STRING" size="256"/>
  254. <Column id="patnm" type="STRING" size="256"/>
  255. <Column id="patnm2" type="STRING" size="256"/>
  256. <Column id="pid" type="STRING" size="256"/>
  257. <Column id="sexage" type="STRING" size="256"/>
  258. <Column id="deptroom" type="STRING" size="256"/>
  259. <Column id="spclblnm" type="STRING" size="256"/>
  260. <Column id="tubelblnm" type="STRING" size="256"/>
  261. <Column id="secttsect" type="STRING" size="256"/>
  262. <Column id="tclslblnmlist" type="STRING" size="256"/>
  263. <Column id="tclslblnmlist2" type="STRING" size="256"/>
  264. <Column id="infcinfolist" type="STRING" size="256"/>
  265. <Column id="erprcpflag" type="STRING" size="256"/>
  266. <Column id="bcollbarcdprntcnt" type="STRING" size="256"/>
  267. <Column id="spcacptbarcdprntcnt" type="STRING" size="256"/>
  268. <Column id="microbarcdprntcnt" type="STRING" size="256"/>
  269. <Column id="mdiabarcdprntcnt" type="STRING" size="256"/>
  270. <Column id="workno" type="STRING" size="256"/>
  271. <Column id="orddrnm" type="STRING" size="256"/>
  272. <Column id="roomcd" type="STRING" size="256"/>
  273. <Column id="dept" type="STRING" size="256"/>
  274. <Column id="spcacptdd" type="STRING" size="256"/>
  275. <Column id="dnornm" type="STRING" size="256"/>
  276. <Column id="divgrupcd" type="STRING" size="256"/>
  277. <Column id="divgrupnm" type="STRING" size="256"/>
  278. <Column id="prcphopedd" type="STRING" size="256"/>
  279. <Column id="bedposcnts" type="STRING" size="256"/>
  280. <Column id="prntkind" type="STRING" size="256"/>
  281. <Column id="prntsetupinfo" type="STRING" size="256"/>
  282. </ColumnInfo>
  283. <Rows>
  284. <Row/>
  285. </Rows>
  286. </Dataset>
  287. <Dataset id="ds_temp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  288. <ColumnInfo>
  289. <Column id="chkm" type="STRING" size="256"/>
  290. <Column id="bcnoinfo" type="STRING" size="256"/>
  291. <Column id="tclscd" type="STRING" size="256"/>
  292. <Column id="pid" type="STRING" size="256"/>
  293. </ColumnInfo>
  294. <Rows>
  295. <Row/>
  296. </Rows>
  297. </Dataset>
  298. <Dataset id="ds_hidden" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  299. <ColumnInfo>
  300. <Column id="bcno" type="STRING" size="256"/>
  301. <Column id="hngnm" type="STRING" size="256"/>
  302. <Column id="sex" type="STRING" size="256"/>
  303. <Column id="patage" type="STRING" size="256"/>
  304. <Column id="roomcd" type="STRING" size="256"/>
  305. <Column id="orddeptnm" type="STRING" size="256"/>
  306. <Column id="orddrnm" type="STRING" size="256"/>
  307. <Column id="spccd" type="STRING" size="256"/>
  308. <Column id="pid" type="STRING" size="256"/>
  309. <Column id="tclscd" type="STRING" size="256"/>
  310. <Column id="spcacptdt" type="STRING" size="256"/>
  311. </ColumnInfo>
  312. <Rows>
  313. <Row/>
  314. </Rows>
  315. </Dataset>
  316. </Objects>
  317. <Bind>
  318. <BindItem id="item0" compid="input4" propid="value" datasetid="ds_grd_testlist" columnid="pid"/>
  319. <BindItem id="item1" compid="input1" propid="value" datasetid="ds_grd_testlist" columnid="bcno"/>
  320. <BindItem id="item2" compid="group2.checkbox1" propid="value" datasetid="ds_temp_chkm" columnid="label"/>
  321. </Bind>
  322. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  323. * System Name :
  324. * Job Name :
  325. * Creator :
  326. * Make Date : 2015-05-01
  327. * Description :
  328. *---------------------------------------------------------------------------------------
  329. * Modify Date Modifier Modify Description
  330. *---------------------------------------------------------------------------------------
  331. * 2015-05-01 Live Converter TF->XP
  332. *
  333. *---------------------------------------------------------------------------------------
  334. ****************************************************************************************/
  335. include "com_commonxp::comm_main.xjs";
  336. include "lis_commonxp::LPZ001.xjs";
  337. include "lis_commonxp::LZZ002.xjs";
  338. include "lis_commonxp::LZZ001.xjs";
  339. include "lis_commonxp::LLZ001.xjs";
  340. function SMLMP00500_oninit(obj:Form, e:InitEventInfo)
  341. {
  342. //폼 초기화 함수
  343. frmf_initForm(obj);
  344. }
  345. function SMLMP00500_onload(obj:Form, e:LoadEventInfo)
  346. {
  347. grdf_initGrid(grd_testlist);
  348. fsetinit(); //초기화
  349. }
  350. //초기화
  351. function fsetinit()
  352. {
  353. group2.ipt_fromdd.value = utlf_addDate(utlf_getCurrentDate(), -7);
  354. group2.ipt_todd.value = utlf_getCurrentDate();
  355. group2.radio1.value = '2';
  356. group2.radio2.value = '1';
  357. group2.combo1.value = '1';
  358. var sInDsName = dsf_createDsRow("ds_temp_scrnid"
  359. , [{col: "scrnid", val: frmf_getScreenID()}]);
  360. var sOutDsName = dsf_createDsRow("ds_barcdprntsetup"
  361. , [{col: "prntsetupinfo"}
  362. , {col: "macaddr"}]);
  363. var oParam = {};
  364. oParam.id = "TRLLC90101";
  365. oParam.service = "diagtestapplib.LisCommon";
  366. oParam.method = "reqGetSetUpInfo";
  367. oParam.inds = "scrnid="+sInDsName;
  368. oParam.outds = sOutDsName+"=getSetUpInfo";
  369. oParam.async = false;
  370. oParam.callback = "cbf_TRLLC90101";
  371. tranf_submit(oParam);
  372. lzzfMakeBrcdPrntObjHanDo("CommAX");
  373. var sInDsName = dsf_createDsRow("ds_temp_search", [{col: "codeflag", val : "0140|"}]);
  374. var oParam = {};
  375. oParam.id = "TRLZZ00101";
  376. oParam.service = "diagtestapplib.DiagTestBaseInfoMngt";
  377. oParam.method = "reqGetInitCodeInfo";
  378. oParam.inds = "cond=" + sInDsName;
  379. oParam.outds = "ds_init_combo2=0140"
  380. oParam.async = false;
  381. oParam.callback = "cf_TRLZZ00101";
  382. tranf_submit(oParam);
  383. group2.combo2.value = '00';
  384. }
  385. //조회
  386. function fgetList()
  387. {
  388. ds_send_req.setColumn(0, "srchflag", group2.radio1.value);
  389. ds_send_req.setColumn(0, "todd", group2.ipt_todd.value);
  390. ds_send_req.setColumn(0, "fromdd", group2.ipt_fromdd.value);
  391. ds_send_req.setColumn(0, "searchtext", group2.input2.value);
  392. ds_send_req.setColumn(0, "getgroup", group2.combo2.value);
  393. var oParam = {};
  394. oParam.id = "TRLMP00501";
  395. oParam.service = "refprintmngtapp.MicroRefPrintMngt";
  396. oParam.method = "reqGetTbTestRsltList";
  397. oParam.inds = "refparam=ds_send_req";
  398. oParam.outds = "ds_grd_testlist=tbtestrsltinfo";
  399. oParam.async = false;
  400. tranf_submit(oParam);
  401. }
  402. //프린트설정
  403. function fSetPrint()
  404. {
  405. var count = ds_barcodeinfo.rowcount;
  406. if(count == 0)
  407. {
  408. ds_barcodeinfo.addRow();
  409. }
  410. var objArg = new Object();
  411. objArg.arg_ds_barcdprntsetup_info = ds_temp_barcdprntsetup;
  412. frmf_open("SPLLC90100", "SPLLC90100", objArg, "", "", "", "", "", "", "", "", "", "M");
  413. }
  414. function fExeBarcdReprnt()
  415. {
  416. var bcno = "'" + input1.value + "'" ;
  417. var sInDsName = dsf_createDsRow("ds_temp_search"
  418. , [{col: "bcnolist", val: bcnolist.substr(0, bcnolist.length - 1)}
  419. , {col: "bcollgbn", val: "Y"}
  420. , {col: "bio", val: ""}
  421. , {col: "worklist", val: ""}]);
  422. var oParam = {};
  423. oParam.id = "TRLZZ00102";
  424. oParam.service = "diagtestapplib.LisCommon";
  425. oParam.method = "reqGetBarCodeInfo";
  426. oParam.inds = "bcollbcnolist=" +sInDsName;
  427. oParam.outds = "ds_=barcodeinfo";
  428. oParam.async = false;
  429. tranf_submit(oParam);
  430. }
  431. //콜백함수
  432. function cbf_TRLLC90101(strSvcID, nErrorCode, strErrorMag)
  433. {
  434. if(nErrorCode != 0) sysf_messageBox("ID: " + strSvcID + " Error: " + strErrorMag, "E009", "");
  435. }
  436. //콜백함수
  437. function cf_TRLZZ00101(strSvcID, nErrorCode, strErrorMag)
  438. {
  439. if(nErrorCode != 0) sysf_messageBox("ID: " + strSvcID + " Error: " + strErrorMag, "E009", "");
  440. }
  441. //조회
  442. function group2_btn_search_onclick(obj:Button, e:ClickEventInfo)
  443. {
  444. fgetList();
  445. }
  446. function group2_ipt_todd_onkeyup(obj:Calendar, e:KeyEventInfo)
  447. {
  448. if(e.keycode == 13)
  449. {
  450. fgetList();
  451. }
  452. }
  453. function button5_onclick(obj:Button, e:ClickEventInfo)
  454. {
  455. this.reload();
  456. }
  457. function group2_input2_onkeyup(obj:Edit, e:KeyEventInfo)
  458. {
  459. if(e.keycode == 13)
  460. {
  461. fgetList();
  462. }
  463. }
  464. //6개월체크
  465. function group2_checkbox1_onclick(obj:CheckBox, e:ClickEventInfo)
  466. {
  467. if(group2.checkbox1.value == 1)
  468. {
  469. var vdate = utlf_getCurrentDate();
  470. group2.ipt_fromdd.value = ((vdate.toDate("YYYYMMDD")).getAddDate(-6, "M")).getDateFormat("YYYYMMDD") ;
  471. group2.ipt_todd.value = utlf_getCurrentDate();
  472. }
  473. else
  474. {
  475. group2.ipt_fromdd.value = utlf_addDate(utlf_getCurrentDate(), -7);
  476. group2.ipt_todd.value = utlf_getCurrentDate();
  477. }
  478. }
  479. //구분값변경
  480. function group2_radio1_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
  481. {
  482. ds_grd_testlist.clearData();
  483. }
  484. //엑셀
  485. function btn_excel_onclick(obj:Button, e:ClickEventInfo)
  486. {
  487. grdf_exportExcel(grd_testlist, lf_lisGetTitle(this), "see");
  488. }
  489. //프리트설정
  490. function btn_prntset_onclick(obj:Button, e:ClickEventInfo)
  491. {
  492. fSetPrint();
  493. }
  494. //바코드출력
  495. function button3_onclick(obj:Button, e:ClickEventInfo)
  496. {
  497. fExeBarcdReprnt();
  498. }
  499. //의뢰항목입력
  500. function grd_testlist_oncelldblclick(obj:Grid, e:GridClickEventInfo)
  501. {
  502. if(group2.radio1.value == 1)
  503. {
  504. return;
  505. }
  506. var row = grd_testlist.currentrow;
  507. ds_hidden.setColumn(0, "bcno", ds_grd_testlist.getColumn(row, "bcno"));
  508. ds_hidden.setColumn(0, "hngnm", ds_grd_testlist.getColumn(row, "hngnm"));
  509. ds_hidden.setColumn(0, "sex", ds_grd_testlist.getColumn(row, "sex"));
  510. ds_hidden.setColumn(0, "patage", ds_grd_testlist.getColumn(row, "patage"));
  511. ds_hidden.setColumn(0, "roomcd", ds_grd_testlist.getColumn(row, "roomcd"));
  512. ds_hidden.setColumn(0, "orddeptnm", ds_grd_testlist.getColumn(row, "orddeptnm"));
  513. ds_hidden.setColumn(0, "orddrnm", ds_grd_testlist.getColumn(row, "orddrnm"));
  514. ds_hidden.setColumn(0, "spccd", ds_grd_testlist.getColumn(row, "spccd"));
  515. ds_hidden.setColumn(0, "pid", ds_grd_testlist.getColumn(row, "pid"));
  516. ds_hidden.setColumn(0, "tclscd", ds_grd_testlist.getColumn(row, "tclscd"));
  517. ds_hidden.setColumn(0, "spcacptdt", ds_grd_testlist.getColumn(row, "spcacptdt"));
  518. var objArg = new Object();
  519. objArg.arg_ds_temp_tbtestrsltinfo = ds_hidden;
  520. frmf_modal("SPLMP90100", "SPLMP90100", objArg, "","0", "600", "600", "", "", "", "", "", "M");
  521. }]]></Script>
  522. </Form>
  523. </FDL>