SMADT00300_원외처방출력이력.xfdl 26 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMADT00300" position="absolute 0 0 1193 788" titletext="Untitle" onload="SMADT00300_onload">
  5. <Layouts>
  6. <Layout>
  7. <Div position="absolute 0 25 1192 785" id="group3" scrollbars="autoboth" anchor="all">
  8. <Layouts>
  9. <Layout>
  10. <Static text="처방현황" position="absolute 0 50 144 71" id="caption71" class="tit_2" anchor="default"/>
  11. <Div position="absolute 0 0 1191 40" id="group2" class="div_SA" anchor="left top right">
  12. <Layouts>
  13. <Layout>
  14. <Button position="absolute 1121 10 1177 32" id="button3" class="btn1" text="조회" onclick="group3_group2_button3_onclick" anchor="top right"/>
  15. <Shape position="absolute 1100 10 1106 32" linetype="vertical" id="line13" anchor="top right"/>
  16. <Static text="등록번호 :" position="absolute 530 13 620 30" id="caption1" class="search_name" anchor="default"/>
  17. <Static text="대상일자 :" position="absolute 20 13 115 30" id="caption2" class="search_name" anchor="default"/>
  18. <Edit position="absolute 625 11 730 30" id="input1" class="input_search" anchor="default" onkeydown="group3_group2_input1_onkeydown"/>
  19. <Calendar position="absolute 220 11 320 30" id="input6" class="input_essential" anchor="default" dateformat="yyyy-MM-dd" value="null"/>
  20. <Button position="absolute 735 13 751 29" id="button11" class="icon_search" visible="false" text="" anchor="default"/>
  21. <Static text="투약번호 :" position="absolute 330 13 420 30" id="caption5" class="search_name" anchor="default"/>
  22. <MaskEdit position="absolute 420 11 520 30" id="input2" mask="99999" anchor="default" onkeydown="group3_group2_input2_onkeydown"/>
  23. <Combo position="absolute 112 11 212 30" id="combo1" class="combo_default" codecolumn="codecolumn" datacolumn="datacolumn" onitemchanged="group3_group2_combo1_onitemchanged" anchor="default">
  24. <Dataset id="innerdataset">
  25. <ColumnInfo>
  26. <Column id="codecolumn"/>
  27. <Column id="datacolumn"/>
  28. </ColumnInfo>
  29. <Rows>
  30. <Row>
  31. <Col id="codecolumn">1</Col>
  32. <Col id="datacolumn">처방일자</Col>
  33. </Row>
  34. <Row>
  35. <Col id="codecolumn">2</Col>
  36. <Col id="datacolumn">수납일자</Col>
  37. </Row>
  38. </Rows>
  39. </Dataset>
  40. </Combo>
  41. <CheckBox position="absolute 765 14 925 29" id="checkbox2" onclick="group3_group2_checkbox2_onclick" text="등록번호만으로 조회" anchor="default" truevalue="Y"/>
  42. <CheckBox position="absolute 925 14 1010 29" id="checkbox1" text="미출력포함" anchor="default" truevalue="Y"/>
  43. </Layout>
  44. </Layouts>
  45. </Div>
  46. <Shape position="absolute 0 65 1191 71" linetype="horizontal" id="line37" class="line_1" anchor="left top right"/>
  47. <Static text="처방내역" position="absolute 1 367 145 388" id="caption3" class="tit_2" anchor="default"/>
  48. <Static text="상병정보" position="absolute 0 247 144 268" id="caption4" class="tit_2" anchor="default"/>
  49. <Shape position="absolute 0 382 1191 388" linetype="horizontal" id="line1" class="line_1" anchor="left top right"/>
  50. <Shape position="absolute 0 262 1191 268" linetype="horizontal" id="line2" class="line_1" anchor="left top right"/>
  51. <Grid position="absolute 0 71 970 236" id="grd_prntlist" binddataset="ds_main_prntlist_prntlist" oncelldblclick="group3_grd_prntlist_oncelldblclick" oncellclick="group3_grd_prntlist_oncellclick" anchor="left top right" extendsizetype="row" cellsizingtype="both">
  52. <Formats>
  53. <Format id="default">
  54. <Columns>
  55. <Column size="25" band="left"/>
  56. <Column size="125"/>
  57. <Column size="134"/>
  58. <Column size="80"/>
  59. <Column size="75"/>
  60. <Column size="65"/>
  61. <Column size="127"/>
  62. <Column size="67"/>
  63. <Column size="63"/>
  64. <Column size="51"/>
  65. <Column size="83"/>
  66. <Column size="0"/>
  67. <Column size="0"/>
  68. <Column size="0"/>
  69. <Column size="0"/>
  70. <Column size="0"/>
  71. <Column size="0"/>
  72. <Column size="130"/>
  73. <Column size="59"/>
  74. <Column size="0"/>
  75. <Column size="0"/>
  76. </Columns>
  77. <Rows>
  78. <Row size="24" band="head"/>
  79. <Row size="24"/>
  80. </Rows>
  81. <Band id="head">
  82. <Cell/>
  83. <Cell col="1" text="수납시간"/>
  84. <Cell col="2" text="출력일시"/>
  85. <Cell col="3" text="환자명"/>
  86. <Cell col="4" text="등록번호"/>
  87. <Cell col="5" text="투약번호"/>
  88. <Cell col="6" text="진료과"/>
  89. <Cell col="7" text="의사명"/>
  90. <Cell col="8" text="출력상태"/>
  91. <Cell col="9" text="Hold상태"/>
  92. <Cell col="10" text="출력장소"/>
  93. <Cell col="11" text="pid"/>
  94. <Cell col="12" text="orddd"/>
  95. <Cell col="13" text="cretno"/>
  96. <Cell col="14" text="orddeptcd"/>
  97. <Cell col="15" text="prcpgenrflag"/>
  98. <Cell col="16" text="drugdd"/>
  99. <Cell col="17" text="재출력구분"/>
  100. <Cell col="18" text="요청자"/>
  101. <Cell col="19" text="싸인"/>
  102. <Cell col="20" text="싸인"/>
  103. </Band>
  104. <Band id="body">
  105. <Cell celltype="head"/>
  106. <Cell col="1" displaytype="expr:utlf_isNull(rcpttm)?'normal':'date'" text="bind:rcpttm" mask="expr:utlf_isNull(rcpttm)?'':'yyyy-MM-dd HH:mm:ss'"/>
  107. <Cell col="2" displaytype="expr:utlf_isNull(prntdt)?'normal':'date'" text="bind:prntdt" mask="expr:utlf_isNull(prntdt)?'':'yyyy-MM-dd HH:mm:ss'"/>
  108. <Cell col="3" text="bind:patnm"/>
  109. <Cell col="4" text="bind:pid"/>
  110. <Cell col="5" displaytype="text" style="align:center middle;" text="bind:drugno"/>
  111. <Cell col="6" text="bind:orddeptnm"/>
  112. <Cell col="7" text="bind:orddrnm"/>
  113. <Cell col="8" text="bind:prntstat"/>
  114. <Cell col="9" text="bind:rtnstat"/>
  115. <Cell col="10" edittype="none" text="bind:prntplce"/>
  116. <Cell col="11" text="bind:pid"/>
  117. <Cell col="12" text="bind:orddd"/>
  118. <Cell col="13" text="bind:cretno"/>
  119. <Cell col="14" text="bind:orddeptcd"/>
  120. <Cell col="15" text="bind:prcpgenrflag"/>
  121. <Cell col="16" text="bind:drugdd"/>
  122. <Cell col="17" text="bind:reprnttype"/>
  123. <Cell col="18" text="bind:reprnttpat"/>
  124. <Cell col="19" text="bind:elctsignkey"/>
  125. <Cell col="20" text="bind:elctsigncnts"/>
  126. </Band>
  127. </Format>
  128. <Format id="format_copy"/>
  129. </Formats>
  130. </Grid>
  131. <Grid position="absolute 0 268 1191 353" id="grd_diaglist" binddataset="ds_main_prcpdata_diaglist" anchor="left top right" autofittype="col" extendsizetype="row" cellsizingtype="both">
  132. <Formats>
  133. <Format id="default">
  134. <Columns>
  135. <Column size="25" band="left"/>
  136. <Column size="87"/>
  137. <Column size="520"/>
  138. </Columns>
  139. <Rows>
  140. <Row size="24" band="head"/>
  141. <Row size="24"/>
  142. </Rows>
  143. <Band id="head">
  144. <Cell/>
  145. <Cell col="1" text="상병기호"/>
  146. <Cell col="2" text="상병명"/>
  147. </Band>
  148. <Band id="body">
  149. <Cell celltype="head"/>
  150. <Cell col="1" text="bind:diagcd"/>
  151. <Cell col="2" displaytype="text" text="bind:diagnm"/>
  152. </Band>
  153. </Format>
  154. </Formats>
  155. </Grid>
  156. <Grid position="absolute 0 388 1191 760" id="grd_prcplist" binddataset="ds_main_prcpdata_prcplist" anchor="all" autofittype="col" extendsizetype="row" cellsizingtype="both" selecttype="cell">
  157. <Formats>
  158. <Format id="default">
  159. <Columns>
  160. <Column size="25" band="left"/>
  161. <Column size="96"/>
  162. <Column size="246"/>
  163. <Column size="60"/>
  164. <Column size="46"/>
  165. <Column size="50"/>
  166. <Column size="46"/>
  167. <Column size="61"/>
  168. <Column size="41"/>
  169. <Column size="100"/>
  170. <Column size="57"/>
  171. <Column size="0"/>
  172. <Column size="47"/>
  173. <Column size="264"/>
  174. </Columns>
  175. <Rows>
  176. <Row size="24" band="head"/>
  177. <Row size="24"/>
  178. </Rows>
  179. <Band id="head">
  180. <Cell/>
  181. <Cell col="1" text="약코드"/>
  182. <Cell col="2" text="처방명"/>
  183. <Cell col="3" text="용량"/>
  184. <Cell col="4" text="단위"/>
  185. <Cell col="5" text="수량"/>
  186. <Cell col="6" text="단위"/>
  187. <Cell col="7" text="1일횟수"/>
  188. <Cell col="8" text="일수"/>
  189. <Cell col="9" text="1회투약량총량"/>
  190. <Cell col="10" text="반환"/>
  191. <Cell col="11" text="선처치"/>
  192. <Cell col="12" text="원내약"/>
  193. <Cell col="13" text="복용법"/>
  194. </Band>
  195. <Band id="body">
  196. <Cell celltype="head"/>
  197. <Cell col="1" displaytype="text" text="bind:prcpcd" wordwrap="char"/>
  198. <Cell col="2" displaytype="text" text="bind:hngnm" wordwrap="char"/>
  199. <Cell col="3" displaytype="number" text="bind:prcpvol" mask="expr:utlf_isNull(prcpvol)?'':'#,###.0'"/>
  200. <Cell col="4" displaytype="text" text="bind:prcpvolunit"/>
  201. <Cell col="5" displaytype="number" text="bind:prcpqty" mask="expr:utlf_isNull(prcpqty)?'':'#,###.0'"/>
  202. <Cell col="6" displaytype="text" text="bind:prcpqtyunit"/>
  203. <Cell col="7" displaytype="number" text="bind:prcptims"/>
  204. <Cell col="8" displaytype="number" text="bind:prcpdayno"/>
  205. <Cell col="9" displaytype="number" text="bind:prcpqty" mask="expr:utlf_isNull(prcpqty)?'':'#,###.0'"/>
  206. <Cell col="10" displaytype="checkbox" edittype="checkbox" text="bind:rtnyn" expr="expr:(rtnyn==&quot;Y&quot;||rtnyn==1)?1:0"/>
  207. <Cell col="11" text="bind:precureprcpflag"/>
  208. <Cell col="12" text="bind:hosinhosoutflag"/>
  209. <Cell col="13" displaytype="text" text="bind:mthdnm" wordwrap="char"/>
  210. </Band>
  211. </Format>
  212. </Formats>
  213. </Grid>
  214. <Grid position="absolute 970 71 1191 236" id="datagrid1" visible="true" anchor="top right">
  215. <Formats>
  216. <Format id="default">
  217. <Columns>
  218. <Column size="221"/>
  219. </Columns>
  220. <Rows>
  221. <Row size="24" band="head"/>
  222. <Row size="24"/>
  223. </Rows>
  224. <Band id="head">
  225. <Cell text="전 자 서 명"/>
  226. </Band>
  227. <Band id="body">
  228. <Cell/>
  229. </Band>
  230. </Format>
  231. </Formats>
  232. </Grid>
  233. <Div position="absolute 970 96 1190 212" id="import1" url="pam_pamcomnxp::SPPAO02102_전자서명입력_OCX.xfdl" anchor="top right"/>
  234. <Shape id="line00" class="line_1" position="absolute 0 66 1191 72" anchor="left top right"/>
  235. <Shape id="line03" class="line_1" position="absolute 0 67 1191 73" anchor="left top right"/>
  236. <Shape id="line04" class="line_1" position="absolute 0 383 1191 389" anchor="left top right"/>
  237. <Shape id="line05" class="line_1" position="absolute 0 263 1191 269" anchor="left top right"/>
  238. <Shape id="line06" class="line_1" position="absolute 0 384 1191 390" anchor="left top right"/>
  239. <Shape id="line07" class="line_1" position="absolute 0 264 1191 270" anchor="left top right"/>
  240. </Layout>
  241. </Layouts>
  242. </Div>
  243. <Div position="absolute 0 64 1191 91" id="group4" scrollbars="autoboth" anchor="left top right">
  244. <Layouts>
  245. <Layout>
  246. <Button position="absolute 1011 5 1067 27" id="button2" class="btn6" text="출력" anchor="top right" onclick="group4_button2_onclick"/>
  247. <Button id="button7" taborder="1" text="엑셀" class="btn7" position="absolute 1069 5 1125 27" anchor="top right" onclick="group4_button7_onclick"/>
  248. <Button id="button1" taborder="2" text="이력출력" class="btn2" position="absolute 1127 5 1191 27" anchor="top right" onclick="group4_button1_onclick"/>
  249. </Layout>
  250. </Layouts>
  251. </Div>
  252. <Static id="caption19" text="원외처방출력이력" class="tit_1" position="absolute 0 0 140 25"/>
  253. </Layout>
  254. </Layouts>
  255. <Objects>
  256. <Dataset id="ds_main_prntlist_prntlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  257. <ColumnInfo>
  258. <Column id="rcpttm" type="STRING"/>
  259. <Column id="prntdt" type="STRING"/>
  260. <Column id="patnm" type="STRING"/>
  261. <Column id="pid" type="STRING"/>
  262. <Column id="drugno" type="STRING"/>
  263. <Column id="orddeptnm" type="STRING"/>
  264. <Column id="orddrnm" type="STRING"/>
  265. <Column id="prntstat" type="STRING"/>
  266. <Column id="rtnstat" type="STRING"/>
  267. <Column id="prntplce" type="STRING"/>
  268. <Column id="pid" type="STRING"/>
  269. <Column id="orddd" type="STRING"/>
  270. <Column id="cretno" type="STRING"/>
  271. <Column id="orddeptcd" type="STRING"/>
  272. <Column id="prcpgenrflag" type="STRING"/>
  273. <Column id="drugdd" type="STRING"/>
  274. <Column id="reprnttype" type="STRING"/>
  275. <Column id="reprnttpat" type="STRING"/>
  276. <Column id="elctsignkey" type="STRING"/>
  277. <Column id="elctsigncnts" type="STRING"/>
  278. </ColumnInfo>
  279. </Dataset>
  280. <Dataset id="ds_main_prcpdata_diaglist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  281. <ColumnInfo>
  282. <Column id="diagcd" type="STRING"/>
  283. <Column id="diagengnm" type="STRING"/>
  284. </ColumnInfo>
  285. </Dataset>
  286. <Dataset id="ds_main_prcpdata_prcplist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  287. <ColumnInfo>
  288. <Column id="prcpcd" type="STRING"/>
  289. <Column id="hngnm" type="STRING"/>
  290. <Column id="prcpvol" type="STRING"/>
  291. <Column id="prcpvolunit" type="STRING"/>
  292. <Column id="prcpqty" type="STRING"/>
  293. <Column id="prcpqtyunit" type="STRING"/>
  294. <Column id="prcptims" type="STRING"/>
  295. <Column id="prcpdayno" type="STRING"/>
  296. <Column id="prcpqty" type="STRING"/>
  297. <Column id="rtnyn" type="STRING"/>
  298. <Column id="precureprcpflag" type="STRING"/>
  299. <Column id="hosinhosoutflag" type="STRING"/>
  300. <Column id="mthdnm" type="STRING"/>
  301. </ColumnInfo>
  302. </Dataset>
  303. <Dataset id="ds_main_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  304. <ColumnInfo>
  305. <Column id="srchinfo" type="STRING" size="256"/>
  306. <Column id="prcpsrch" type="STRING" size="256"/>
  307. </ColumnInfo>
  308. </Dataset>
  309. <Dataset id="ds_hidden_srchinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  310. <ColumnInfo>
  311. <Column id="dateflag" type="STRING" size="256"/>
  312. <Column id="prcpdd" type="STRING" size="256"/>
  313. <Column id="pid" type="STRING" size="256"/>
  314. <Column id="drugno" type="STRING" size="256"/>
  315. <Column id="pidonly" type="STRING" size="256"/>
  316. <Column id="prnttimschk" type="STRING" size="256"/>
  317. </ColumnInfo>
  318. <Rows>
  319. <Row/>
  320. </Rows>
  321. </Dataset>
  322. <Dataset id="ds_send_srchinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  323. <ColumnInfo>
  324. <Column id="dateflag" type="STRING" size="256"/>
  325. <Column id="prcpdd" type="STRING" size="256"/>
  326. <Column id="pid" type="STRING" size="256"/>
  327. <Column id="drugno" type="STRING" size="256"/>
  328. <Column id="pidonly" type="STRING" size="256"/>
  329. <Column id="prnttimschk" type="STRING" size="256"/>
  330. </ColumnInfo>
  331. </Dataset>
  332. <Dataset id="ds_dateflag" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  333. <ColumnInfo>
  334. <Column id="label" type="STRING" size="256"/>
  335. <Column id="value" type="STRING" size="256"/>
  336. </ColumnInfo>
  337. <Rows>
  338. <Row>
  339. <Col id="label">처방일자</Col>
  340. <Col id="value">1</Col>
  341. </Row>
  342. <Row>
  343. <Col id="label">수납일자</Col>
  344. <Col id="value">2</Col>
  345. </Row>
  346. </Rows>
  347. </Dataset>
  348. <Dataset id="ds_main_prntlist_prntlist_tmp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  349. <ColumnInfo>
  350. <Column id="rcpttm" type="STRING"/>
  351. <Column id="prntdt" type="STRING"/>
  352. <Column id="patnm" type="STRING"/>
  353. <Column id="pid" type="STRING"/>
  354. <Column id="drugno" type="STRING"/>
  355. <Column id="orddeptnm" type="STRING"/>
  356. <Column id="orddrnm" type="STRING"/>
  357. <Column id="prntstat" type="STRING"/>
  358. <Column id="rtnstat" type="STRING"/>
  359. <Column id="prntplce" type="STRING"/>
  360. <Column id="pid" type="STRING"/>
  361. <Column id="orddd" type="STRING"/>
  362. <Column id="cretno" type="STRING"/>
  363. <Column id="orddeptcd" type="STRING"/>
  364. <Column id="prcpgenrflag" type="STRING"/>
  365. <Column id="drugdd" type="STRING"/>
  366. <Column id="reprnttype" type="STRING"/>
  367. <Column id="reprnttpat" type="STRING"/>
  368. <Column id="elctsignkey" type="STRING"/>
  369. <Column id="elctsigncnts" type="STRING"/>
  370. </ColumnInfo>
  371. <Rows>
  372. <Row/>
  373. </Rows>
  374. </Dataset>
  375. </Objects>
  376. <Bind>
  377. <BindItem id="item0" compid="group3.group2.combo1" propid="value" datasetid="ds_hidden_srchinfo" columnid="dateflag"/>
  378. <BindItem id="item1" compid="group3.group2.input2" propid="value" datasetid="ds_hidden_srchinfo" columnid="drugno"/>
  379. <BindItem id="item2" compid="group3.group2.input1" propid="value" datasetid="ds_hidden_srchinfo" columnid="pid"/>
  380. <BindItem id="item3" compid="group3.group2.checkbox2" propid="value" datasetid="ds_hidden_srchinfo" columnid="pidonly"/>
  381. <BindItem id="item4" compid="group3.group2.checkbox1" propid="value" datasetid="ds_hidden_srchinfo" columnid="prnttimschk"/>
  382. <BindItem id="item5" compid="group3.group2.input6" propid="value" datasetid="ds_hidden_srchinfo" columnid="prcpdd"/>
  383. <BindItem id="item6" compid="group3.group2.combo1" propid="text" datasetid="ds_dateflag" columnid="label"/>
  384. </Bind>
  385. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  386. * System Name :
  387. * Job Name :
  388. * Creator :
  389. * Make Date : 2015-11-13
  390. * Description :
  391. *---------------------------------------------------------------------------------------
  392. * Modify Date Modifier Modify Description
  393. *---------------------------------------------------------------------------------------
  394. * 2015-11-13 Live Converter TF->XP
  395. *
  396. *---------------------------------------------------------------------------------------
  397. ****************************************************************************************/
  398. //=======================================================================================
  399. // Lib Include
  400. //---------------------------------------------------------------------------------------
  401. include "com_commonxp::comm_main.xjs"
  402. include "ast_pharmacyxp::SMADT00300.xjs";
  403. include "emr_prcpmngtxp::MMOCommon.xjs"
  404. //=======================================================================================
  405. // Global Form Variable
  406. //---------------------------------------------------------------------------------------
  407. var arErrorCode = new HashArray();
  408. function SMADT00300_onload(obj:Form, e:LoadEventInfo)
  409. {
  410. frmf_initForm(obj);
  411. grdf_setGridSort(group3.grd_prntlist); // 그리드 소트만
  412. grdf_setGridSort(group3.grd_diaglist); // 그리드 소트만
  413. grdf_setGridSort(group3.grd_prcplist); // 그리드 소트만
  414. grdf_setRowTypeIcon(group3.grd_prntlist, 0); // 그리드 상태 표시
  415. grdf_setRowTypeIcon(group3.grd_diaglist, 0); // 그리드 상태 표시
  416. grdf_setRowTypeIcon(group3.grd_prcplist, 0); // 그리드 상태 표시
  417. fInit();
  418. }
  419. function group3_group2_button3_onclick(obj:Button, e:ClickEventInfo)
  420. {
  421. fPrntList();
  422. }
  423. function group3_grd_prntlist_oncelldblclick(obj:Grid, e:GridClickEventInfo)
  424. {
  425. fPrcpPrntData();
  426. //fsignpad_init();
  427. //fsignpad_view(grd_prntlist.valueMatrix(grd_prntlist.row, grd_prntlist.colRef("elctsignkey")), grd_prntlist.valueMatrix(grd_prntlist.row, grd_prntlist.colRef("elctsigncnts")));
  428. }
  429. function group3_group2_input2_onkeydown(obj:MaskEdit, e:KeyEventInfo)
  430. {
  431. if(e.keycode == 13) {
  432. obj.updateToDataset();
  433. group3_group2_button3_onclick();
  434. }
  435. }
  436. function group3_group2_input1_onkeydown(obj:Edit, e:KeyEventInfo)
  437. {
  438. if(e.keycode == 13) {
  439. obj.updateToDataset();
  440. group3_group2_button3_onclick();
  441. }
  442. }
  443. function group4_button7_onclick(obj:Button, e:ClickEventInfo)
  444. {
  445. if( ds_main_prntlist_prntlist.rowcount > 0 ){
  446. grdf_exportExcel(group3.grd_prntlist, "처방현황리스트", "처방현황리스트", false, "", "user", false);
  447. } else {
  448. sysf_messageBox("조회된 데이터가 ", "I004");
  449. }
  450. }
  451. function group4_button1_onclick(obj:Button, e:ClickEventInfo)
  452. {
  453. //exeReportPreview("RPADT00302","XMLSTR","","","true","","","","","true","","","","","","1","","","","","");
  454. var objDOM = rptf_createDOM(); // DOM 객체 설정
  455. rptf_setNodeListToDOM(objDOM, "/root/main/prcpdata/prcplist", ds_main_prcpdata_prcplist);
  456. rptf_setNodeListToDOM(objDOM, "/root/send/prcpsrch" , ds_main_prntlist_prntlist_tmp);
  457. var objParam = new Object();
  458. objParam.xml_data_XML1 = objDOM.documentElement.source;
  459. var option = "open=1;save=1;directprint=1;printdialog=0;print=1;zoom=1;";
  460. //rptf_exeReportPreview30(["RFADT61204"],[objParam], option, "", "grp_report1");
  461. rptf_exeReportPreview30(["RPADT00302"],[objParam], option);
  462. }
  463. function group4_button2_onclick(obj:Button, e:ClickEventInfo)
  464. {
  465. //exeReportPreview("RPADT00301", "XMLSTR", "", "", "false","","","","","false")
  466. var objDOM = rptf_createDOM(); // DOM 객체 설정
  467. rptf_setNodeListToDOM(objDOM, "/root/main/prntlist/prntlist", ds_main_prntlist_prntlist);
  468. rptf_setNodeListToDOM(objDOM, "/root/send/srchinfo" , ds_send_srchinfo);
  469. var objParam = new Object();
  470. objParam.xml_data_XML1 = objDOM.documentElement.source;
  471. var option = "open=1;save=1;directprint=0;print=1;zoom=1;";
  472. //rptf_exeReportPreview30(["RFADT61204"],[objParam], option, "", "grp_report1");
  473. rptf_exeReportPreview30(["RPADT00301"],[objParam], option);
  474. }
  475. ]]></Script>
  476. </Form>
  477. </FDL>