SPLPJ02730_기록유무.xfdl 43 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMLPP00500" position="absolute 0 0 952 762" titletext="결과조회" oninit="SMLPP00500_oninit" onload="SMLPP00500_onload">
  5. <Layouts>
  6. <Layout>
  7. <Static id="caption1" text="공통 사본발행 이력관리" class="tit_1" position="absolute 0 0 214 25"/>
  8. <Static id="caption2" text="검사결과 목록" class="tit_2" position="absolute 1 418 109 435"/>
  9. <Div id="grp_sea" anchor="left top right" taborder="12" class="div_SA" position="absolute 0 34 930 70">
  10. <Layouts>
  11. <Layout>
  12. <Static id="caption2" text="등록번호 :" class="search_name" position="absolute 6 10 84 27" anchor="default"/>
  13. <Edit id="pidno" taborder="23" position="absolute 89 8 201 27" onkeyup="grp_sea_pidno_onkeyup" autoselect="true" anchor="default"/>
  14. <Static id="caption3" text="환 자 명 :" class="search_name" position="absolute 224 10 350 27" anchor="default"/>
  15. <Edit id="output5" taborder="26" readonly="true" position="absolute 308 8 422 27" anchor="default"/>
  16. <Button id="btn_hngnm" taborder="28" class="icon_search" position="absolute 427 10 443 26" onclick="grp_sea_btn_hngnm_onclick" anchor="default"/>
  17. <Edit id="output00" taborder="29" readonly="true" position="absolute 577 8 667 27" anchor="default"/>
  18. <Static id="caption4" text="성별/나이 :" class="search_name" position="absolute 458 10 544 27" anchor="default"/>
  19. <Button id="btn_prt" taborder="30" text="출력" onclick="btn_prt_onclick" class="btn6" position="absolute 859 8 915 30" anchor="top right" visible="false"/>
  20. </Layout>
  21. </Layouts>
  22. </Div>
  23. <Combo id="cmb_orddrid" taborder="15" innerdataset="@ds_init_combo1" codecolumn="resncd" datacolumn="resncnts" position="absolute 471 161 588 180" onitemchanged="cmb_orddrid_onitemchanged" visible="false"/>
  24. <Shape id="line00" class="line_1" position="absolute 0 200 447 204" style="strokepen:3 solid #33bbbbff;"/>
  25. <Edit id="ipt_issgoaletc" taborder="23" enable="false" position="absolute 599 161 833 180" visible="false"/>
  26. <Static id="caption05" text="OT처방내역" class="tit_2" position="absolute 1 300 101 317"/>
  27. <Button id="btn_reset" taborder="25" text="초기화" onclick="group4_group6_btn_reset_onclick" class="btn4" position="absolute 700 42 768 64" anchor="top right"/>
  28. <Button id="Button00" taborder="26" text="저장" onclick="Button00_onclick" class="btn4" position="absolute 395 566 447 588" anchor="left bottom"/>
  29. <Grid id="grd_testrsltlist" class="datagrid2" taborder="28" binddataset="ds_grd_testrsltlist" useinputpanel="false" cellsizingtype="col" oncellclick="grd_testrsltlist_oncellclick" position="absolute 0 441 448 561" anchor="left top bottom">
  30. <Formats>
  31. <Format id="default">
  32. <Columns>
  33. <Column size="0"/>
  34. <Column size="0"/>
  35. <Column size="26"/>
  36. <Column size="80"/>
  37. <Column size="70"/>
  38. <Column size="0"/>
  39. <Column size="0"/>
  40. <Column size="120"/>
  41. <Column size="0"/>
  42. <Column size="60"/>
  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="70"/>
  53. <Column size="0"/>
  54. <Column size="0"/>
  55. <Column size="200"/>
  56. </Columns>
  57. <Rows>
  58. <Row size="24" band="head"/>
  59. <Row size="24"/>
  60. </Rows>
  61. <Band id="head">
  62. <Cell text="기관코드"/>
  63. <Cell col="1" text="ptno"/>
  64. <Cell col="2"/>
  65. <Cell col="3" text="병리번호"/>
  66. <Cell col="4" text="처방일자"/>
  67. <Cell col="5" text="접수일자"/>
  68. <Cell col="6" text="검사코드"/>
  69. <Cell col="7" text="처방명"/>
  70. <Cell col="8" text="검사그룹코드"/>
  71. <Cell col="9" text="상태"/>
  72. <Cell col="10" text="pid"/>
  73. <Cell col="11" text="환자명"/>
  74. <Cell col="12" text="의뢰서&#10;번호"/>
  75. <Cell col="13" text="의뢰지구분코드"/>
  76. <Cell col="14" text="성별/나이"/>
  77. <Cell col="15" text="판독일자"/>
  78. <Cell col="16" text="진료과"/>
  79. <Cell col="17" text="진료의사"/>
  80. <Cell col="18" text="판독의사"/>
  81. <Cell col="19" text="육안검사의"/>
  82. <Cell col="20" text="처방발생구분"/>
  83. <Cell col="21" text="작업구분코드"/>
  84. <Cell col="22" text="진 단"/>
  85. </Band>
  86. <Band id="body">
  87. <Cell text="bind:instcd"/>
  88. <Cell col="1" text="bind:ptno"/>
  89. <Cell col="2" celltype="head" text="expr:currow + 1"/>
  90. <Cell col="3" edittype="text" text="bind:dispptno"/>
  91. <Cell col="4" displaytype="date" edittype="date" text="bind:prcpdd" mask="yyyy-MM-dd"/>
  92. <Cell col="5" text="bind:acptdd" mask="yyyy-mm-dd"/>
  93. <Cell col="6" text="bind:testcd"/>
  94. <Cell col="7" displaytype="normal" edittype="none" style="align:left middle;" text="bind:testnm"/>
  95. <Cell col="8" displaytype="none" edittype="none" text="bind:tgrupcd"/>
  96. <Cell col="9" displaytype="normal" edittype="none" text="bind:acptstatcd"/>
  97. <Cell col="10" text="bind:pid"/>
  98. <Cell col="11" text="bind:patnm"/>
  99. <Cell col="12" displaytype="none" edittype="none" text="bind:reqfrmno"/>
  100. <Cell col="13" text="bind:reqfrmflagcd"/>
  101. <Cell col="14" text="bind:sexage"/>
  102. <Cell col="15" text="bind:readdd" mask="yyyy-mm-dd"/>
  103. <Cell col="16" text="bind:orddeptnm"/>
  104. <Cell col="17" text="bind:orddrnm"/>
  105. <Cell col="18" text="bind:readdrnm"/>
  106. <Cell col="19" text="bind:grosdrnm"/>
  107. <Cell col="20" text="bind:prcpgenrflag"/>
  108. <Cell col="21" text="bind:ptnoworkflagcd"/>
  109. <Cell col="22" style="align:left middle;" text="bind:diagcnts"/>
  110. </Band>
  111. </Format>
  112. </Formats>
  113. </Grid>
  114. <Grid id="grd_slide00" taborder="29" binddataset="ds_mainot" useinputpanel="false" cellsizingtype="col" cellclickbound="cell" oncellclick="grd_slide00_oncellclick" position="absolute 1 320 448 413">
  115. <Formats>
  116. <Format id="default">
  117. <Columns>
  118. <Column size="43"/>
  119. <Column size="82"/>
  120. <Column size="95"/>
  121. <Column size="118"/>
  122. <Column size="108"/>
  123. </Columns>
  124. <Rows>
  125. <Row size="24" band="head"/>
  126. <Row size="24"/>
  127. </Rows>
  128. <Band id="head">
  129. <Cell text="선택"/>
  130. <Cell col="1" text="병리번호"/>
  131. <Cell col="2" text="신청일자"/>
  132. <Cell col="3" text="신청과"/>
  133. <Cell col="4" text="신청의"/>
  134. </Band>
  135. <Band id="body">
  136. <Cell displaytype="checkbox" edittype="checkbox" text="bind:choi"/>
  137. <Cell col="1" text="bind:ptno"/>
  138. <Cell col="2" text="bind:prcpdd"/>
  139. <Cell col="3" text="bind:inorddeptnm"/>
  140. <Cell col="4" text="bind:usernm"/>
  141. </Band>
  142. </Format>
  143. </Formats>
  144. </Grid>
  145. <Static id="caption7" text="사본 공통내역" class="tit_2" position="absolute 2 79 168 96"/>
  146. <Button id="btn_help" taborder="31" text="구비서류 도움말" onclick="btn_help_onclick" class="btn2" position="absolute 133 74 236 93"/>
  147. <Div id="group2" taborder="32" class="div_SA2" position="absolute 465 99 913 158" visible="false">
  148. <Layouts>
  149. <Layout>
  150. <Static id="caption9" text="사본발행&#13;&#10;신청인" class="cell_1" position="absolute 5 6 69 53" anchor="default"/>
  151. <Radio id="rdo_appmanflag" taborder="18" columncount="3" rowcount="0" codecolumn="codecolumn" datacolumn="datacolumn" onitemchanged="rdo_appmanflag_onitemchanged" position="absolute 70 7 320 52" style="font:Dotum,8;" anchor="default">
  152. <Dataset id="innerdataset">
  153. <ColumnInfo>
  154. <Column id="codecolumn" size="256"/>
  155. <Column id="datacolumn" size="256"/>
  156. </ColumnInfo>
  157. <Rows>
  158. <Row>
  159. <Col id="codecolumn">1</Col>
  160. <Col id="datacolumn">환자본인</Col>
  161. </Row>
  162. <Row>
  163. <Col id="codecolumn">2</Col>
  164. <Col id="datacolumn">직계가족</Col>
  165. </Row>
  166. <Row>
  167. <Col id="codecolumn">3</Col>
  168. <Col id="datacolumn">보험회사직원</Col>
  169. </Row>
  170. <Row>
  171. <Col id="codecolumn">4</Col>
  172. <Col id="datacolumn">대리인</Col>
  173. </Row>
  174. <Row>
  175. <Col id="codecolumn">9</Col>
  176. <Col id="datacolumn">기타</Col>
  177. </Row>
  178. </Rows>
  179. </Dataset>
  180. </Radio>
  181. <Static id="caption4" text="위임장/&#13;&#10; 동의서" class="cell_1" position="absolute 329 5 390 52" anchor="default"/>
  182. <Radio id="rdo_trustyn" taborder="19" columncount="1" rowcount="0" codecolumn="codecolumn" datacolumn="datacolumn" position="absolute 393 5 429 52" anchor="default">
  183. <Dataset id="innerdataset">
  184. <ColumnInfo>
  185. <Column id="codecolumn"/>
  186. <Column id="datacolumn"/>
  187. </ColumnInfo>
  188. <Rows>
  189. <Row>
  190. <Col id="codecolumn">Y</Col>
  191. <Col id="datacolumn">유</Col>
  192. </Row>
  193. <Row>
  194. <Col id="codecolumn">N</Col>
  195. <Col id="datacolumn">무</Col>
  196. </Row>
  197. </Rows>
  198. </Dataset>
  199. </Radio>
  200. <Edit id="ipt_appmannm" taborder="20" enable="false" position="absolute 199 30 322 49" anchor="default"/>
  201. </Layout>
  202. </Layouts>
  203. </Div>
  204. <Shape id="line01" class="line_1" position="absolute 0 589 449 595" anchor="left bottom" style="strokepen:3 solid #33bbbbff;"/>
  205. <Static id="caption04" text="상세 신청내역" class="tit_2" position="absolute 1 569 109 586" anchor="left bottom"/>
  206. <Shape id="line3" class="line_1" position="absolute 0 437 448 443" style="strokepen:3 solid #33bbbbff;"/>
  207. <Grid id="grd_slide" taborder="16" binddataset="ds_grd_slide" useinputpanel="false" cellclickbound="cell" position="absolute 1 100 939 736" autofittype="none" oncellclick="grd_slide_oncellclick" cellsizingtype="col">
  208. <Formats>
  209. <Format id="default">
  210. <Columns>
  211. <Column size="25"/>
  212. <Column size="80"/>
  213. <Column size="126"/>
  214. <Column size="83"/>
  215. <Column size="114"/>
  216. <Column size="174"/>
  217. <Column size="83"/>
  218. <Column size="131"/>
  219. <Column size="104"/>
  220. </Columns>
  221. <Rows>
  222. <Row size="24" band="head"/>
  223. <Row size="24"/>
  224. </Rows>
  225. <Band id="head">
  226. <Cell/>
  227. <Cell col="1" text="구분"/>
  228. <Cell col="2" text="생성번호"/>
  229. <Cell col="3" text="신청일자"/>
  230. <Cell col="4" text="신청자"/>
  231. <Cell col="5" text="신청목적"/>
  232. <Cell col="6" text="위임장유무"/>
  233. <Cell col="7" text="신청과"/>
  234. <Cell col="8" text="신청의"/>
  235. </Band>
  236. <Band id="body">
  237. <Cell celltype="head" text="expr:currow + 1"/>
  238. <Cell col="1" text="bind:sort"/>
  239. <Cell col="2" style="align:left middle;" text="bind:copyseqno"/>
  240. <Cell col="3" displaytype="date" edittype="none" text="bind:appdd"/>
  241. <Cell col="4" text="bind:appmannm"/>
  242. <Cell col="5" text="bind:issgoalnm"/>
  243. <Cell col="6" text="bind:trustyn"/>
  244. <Cell col="7" text="bind:orddeptnm"/>
  245. <Cell col="8" text="bind:orddrnm"/>
  246. </Band>
  247. </Format>
  248. </Formats>
  249. </Grid>
  250. <Button id="btn_reset00" taborder="33" text="닫기" onclick="group4_group6_btn_reset_onclick" class="btn4" position="absolute 780 42 848 64" anchor="top right"/>
  251. </Layout>
  252. </Layouts>
  253. <Objects>
  254. <Dataset id="ds_init" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  255. <ColumnInfo>
  256. <Column id="pid" type="STRING" size="256"/>
  257. <Column id="patnm" type="STRING" size="256"/>
  258. <Column id="appdd" type="STRING" size="256"/>
  259. <Column id="sexage" type="STRING" size="256"/>
  260. <Column id="appmanflag" type="STRING" size="256"/>
  261. <Column id="appmannm" type="STRING" size="256"/>
  262. <Column id="trustyn" type="STRING" size="256"/>
  263. <Column id="issgoalcd" type="STRING" size="256"/>
  264. <Column id="issgoalnm" type="STRING" size="256"/>
  265. <Column id="appmanetc" type="STRING" size="256"/>
  266. <Column id="slidecopies" type="STRING" size="256"/>
  267. <Column id="slidecopinm" type="STRING" size="256"/>
  268. <Column id="mislidecopies" type="STRING" size="256"/>
  269. <Column id="mislidecopinm" type="STRING" size="256"/>
  270. <Column id="ptnomemo" type="STRING" size="256"/>
  271. <Column id="ptno" type="STRING" size="256"/>
  272. <Column id="seqflagcd" type="STRING" size="256"/>
  273. <Column id="instcd" type="STRING" size="256"/>
  274. <Column id="userid" type="STRING" size="256"/>
  275. <Column id="siteyn" type="STRING" size="256"/>
  276. <Column id="appdeptcd" type="STRING" size="256"/>
  277. <Column id="appdrid" type="STRING" size="256"/>
  278. <Column id="yy" type="STRING" size="256"/>
  279. <Column id="mm" type="STRING" size="256"/>
  280. <Column id="dd" type="STRING" size="256"/>
  281. <Column id="partcd" type="STRING" size="256"/>
  282. </ColumnInfo>
  283. <Rows>
  284. <Row/>
  285. </Rows>
  286. </Dataset>
  287. <Dataset id="ds_grd_slide" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  288. <ColumnInfo>
  289. <Column id="pid" type="STRING" size="255"/>
  290. <Column id="appdd" type="STRING" size="255"/>
  291. <Column id="apptm" type="STRING" size="255"/>
  292. <Column id="appmanflag" type="STRING" size="255"/>
  293. <Column id="appmannm" type="STRING" size="255"/>
  294. <Column id="trustyn" type="STRING" size="255"/>
  295. <Column id="siteyn" type="STRING" size="255"/>
  296. <Column id="issgoalcd" type="STRING" size="255"/>
  297. <Column id="issgoalnm" type="STRING" size="255"/>
  298. <Column id="slidecopies" type="BIGDECIMAL" size="255"/>
  299. <Column id="slidecopinm" type="STRING" size="255"/>
  300. <Column id="mislidecopies" type="BIGDECIMAL" size="255"/>
  301. <Column id="mislidecopinm" type="STRING" size="255"/>
  302. <Column id="ptno" type="STRING" size="255"/>
  303. <Column id="ptnomemo" type="STRING" size="255"/>
  304. <Column id="appdeptcd" type="STRING" size="255"/>
  305. <Column id="appdrid" type="STRING" size="255"/>
  306. <Column id="cnclyn" type="STRING" size="255"/>
  307. <Column id="cncldt" type="STRING" size="255"/>
  308. <Column id="prntdt" type="STRING" size="255"/>
  309. <Column id="seqno" type="STRING" size="256"/>
  310. <Column id="orddeptnm" type="STRING" size="256"/>
  311. <Column id="orddrnm" type="STRING" size="256"/>
  312. <Column id="patnm" type="STRING" size="256"/>
  313. <Column id="copyseqno" type="STRING" size="256"/>
  314. <Column id="sexage" type="STRING" size="256"/>
  315. <Column id="sort" type="STRING" size="256"/>
  316. </ColumnInfo>
  317. </Dataset>
  318. <Dataset id="ds_grd_testrsltlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  319. <ColumnInfo>
  320. <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
  321. <Column id="ptno" type="STRING" size="256" sumtext="병리번호"/>
  322. <Column id="dispptno" type="STRING" size="256" sumtext="표시병리번호"/>
  323. <Column id="prcpdd" type="STRING" size="256" sumtext="처방일자"/>
  324. <Column id="acptdd" type="STRING" size="256" sumtext="접수일자"/>
  325. <Column id="testcd" type="STRING" size="256" sumtext="검사코드"/>
  326. <Column id="testnm" type="STRING" size="256" sumtext="검사명"/>
  327. <Column id="tgrupcd" type="STRING" size="256" sumtext="검사그룹코드"/>
  328. <Column id="acptstatcd" type="STRING" size="256" sumtext="접수상태"/>
  329. <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
  330. <Column id="patnm" type="STRING" size="256" sumtext="환자명"/>
  331. <Column id="reqfrmno" type="STRING" size="256" sumtext="의뢰지번호"/>
  332. <Column id="reqfrmflagcd" type="STRING" size="256" sumtext="의뢰지구분코드"/>
  333. <Column id="sexage" type="STRING" size="256" sumtext="성별나이"/>
  334. <Column id="readdd" type="STRING" size="256" sumtext="판독일자"/>
  335. <Column id="orddeptnm" type="STRING" size="256" sumtext="진료과"/>
  336. <Column id="orddrnm" type="STRING" size="256" sumtext="진료의"/>
  337. <Column id="readdrnm" type="STRING" size="256" sumtext="판독의"/>
  338. <Column id="prcpgenrflag" type="STRING" size="256" sumtext="처방발생구분"/>
  339. <Column id="ptnoworkflagcd" type="STRING" size="256" sumtext="작업구분코드"/>
  340. <Column id="diagcnts" type="STRING" size="256" sumtext="Mcode"/>
  341. <Column id="execprcpuniqno" type="STRING" size="256" sumtext="실시처방유일번호"/>
  342. <Column id="grosdrnm" type="STRING" size="256" sumtext="육안검사의"/>
  343. <Column id="realdiagcnts" type="STRING" size="256" sumtext="진단내용"/>
  344. </ColumnInfo>
  345. </Dataset>
  346. <Dataset id="ds_init_combo1" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  347. <ColumnInfo>
  348. <Column id="choi" type="STRING" size="256" sumtext="선택"/>
  349. <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
  350. <Column id="baseflagcd" type="STRING" size="256" sumtext="구분코드"/>
  351. <Column id="resncd" type="STRING" size="256" sumtext="사유코드"/>
  352. <Column id="resncnts" type="STRING" size="256" sumtext="사유내용"/>
  353. </ColumnInfo>
  354. </Dataset>
  355. <Dataset id="ds_refData" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  356. <ColumnInfo>
  357. <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
  358. <Column id="refcrite" type="STRING" size="256" sumtext="검색조건"/>
  359. <Column id="refval" type="STRING" size="256" sumtext="검색값"/>
  360. <Column id="acptfromdd" type="STRING" size="256" sumtext="접수시작일자"/>
  361. <Column id="acpttodd" type="STRING" size="256" sumtext="접수종료일자"/>
  362. <Column id="userdeptcd" type="STRING" size="256" sumtext="병리과코드"/>
  363. <Column id="extrpart" type="STRING" size="256" sumtext="채취내용"/>
  364. <Column id="diag" type="STRING" size="256" sumtext="진단내용"/>
  365. <Column id="extrmthd" type="STRING" size="256" sumtext="채취방법"/>
  366. <Column id="refflagcd" type="STRING" size="256" sumtext="조회구분코드"/>
  367. <Column id="ptnocode" type="STRING" size="256" sumtext="병리번호코드"/>
  368. <Column id="fromyear" type="STRING" size="256" sumtext="시작년도"/>
  369. <Column id="fromptno" type="STRING" size="256" sumtext="시작병리번호"/>
  370. <Column id="toptno" type="STRING" size="256" sumtext="종료병리번호"/>
  371. <Column id="srchmthd" type="STRING" size="256" sumtext="조회날자구분"/>
  372. <Column id="workflaglist" type="STRING" size="256" sumtext="작업구분"/>
  373. <Column id="scrnid" type="STRING" size="256" sumtext="화면ID"/>
  374. <Column id="toyear" type="STRING" size="256" sumtext="종료년도"/>
  375. <Column id="orddeptid" type="STRING" size="256" sumtext="진료과"/>
  376. <Column id="sreadId" type="STRING" size="256" sumtext="판독의"/>
  377. <Column id="diagchk" type="STRING" size="256" sumtext="진단내용검색방법"/>
  378. <Column id="sGrossId" type="STRING" size="256" sumtext="sGrossId"/>
  379. </ColumnInfo>
  380. <Rows>
  381. <Row/>
  382. </Rows>
  383. </Dataset>
  384. <Dataset id="ds_main" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  385. <ColumnInfo>
  386. <Column id="pid" type="STRING" size="256"/>
  387. <Column id="patnm" type="STRING" size="256"/>
  388. <Column id="appdd" type="STRING" size="256"/>
  389. <Column id="sexage" type="STRING" size="256"/>
  390. <Column id="appmanflag" type="STRING" size="256"/>
  391. <Column id="trustyn" type="STRING" size="256"/>
  392. <Column id="issgoalcd" type="STRING" size="256"/>
  393. <Column id="appmanetc" type="STRING" size="256"/>
  394. <Column id="slidecopies" type="STRING" size="256"/>
  395. <Column id="slidecopinm" type="STRING" size="256"/>
  396. <Column id="mislidecopies" type="STRING" size="256"/>
  397. <Column id="mislidecopinm" type="STRING" size="256"/>
  398. <Column id="ptnomemo" type="STRING" size="256"/>
  399. <Column id="ptno" type="STRING" size="256"/>
  400. </ColumnInfo>
  401. <Rows>
  402. <Row/>
  403. </Rows>
  404. </Dataset>
  405. <Dataset id="ds_hidden" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  406. <ColumnInfo>
  407. <Column id="detlrefcrite" type="STRING" size="256"/>
  408. <Column id="userdeptcd" type="STRING" size="256"/>
  409. </ColumnInfo>
  410. <Rows>
  411. <Row/>
  412. </Rows>
  413. </Dataset>
  414. <Dataset id="ds_hosoenvinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  415. <ColumnInfo>
  416. <Column id="instcd" type="STRING" size="256"/>
  417. <Column id="lendrtnterm" type="STRING" size="256"/>
  418. <Column id="recvqualmthdcd" type="STRING" size="256"/>
  419. <Column id="plgydeptcd" type="STRING" size="256"/>
  420. <Column id="plgyteamcd" type="STRING" size="256"/>
  421. <Column id="doctjobgradcd" type="STRING" size="256"/>
  422. <Column id="teamjobgradcd" type="STRING" size="256"/>
  423. </ColumnInfo>
  424. <Rows>
  425. <Row/>
  426. </Rows>
  427. </Dataset>
  428. <Dataset id="ds_grd_testrsltref" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  429. <ColumnInfo>
  430. <Column id="reptrslt" type="STRING"/>
  431. <Column id="level" type="STRING"/>
  432. <Column id="judgmark" type="STRING"/>
  433. <Column id="tkdt" type="STRING"/>
  434. <Column id="rsltdd" type="STRING"/>
  435. <Column id="suppdept" type="STRING"/>
  436. <Column id="pacsno" type="STRING"/>
  437. <Column id="spcno" type="STRING"/>
  438. </ColumnInfo>
  439. </Dataset>
  440. <Dataset id="ds_mainot" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  441. <ColumnInfo>
  442. <Column id="choi" type="STRING" size="256"/>
  443. <Column id="pid" type="STRING" size="256"/>
  444. <Column id="ptno" type="STRING" size="256"/>
  445. <Column id="prcpdd" type="STRING" size="256"/>
  446. <Column id="orddeptcd" type="STRING" size="256"/>
  447. <Column id="orddrid" type="STRING" size="256"/>
  448. <Column id="inorddeptnm" type="STRING" size="256"/>
  449. <Column id="usernm" type="STRING" size="256"/>
  450. </ColumnInfo>
  451. <Rows>
  452. <Row/>
  453. </Rows>
  454. </Dataset>
  455. <Dataset id="ds_grd_slide00" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  456. <ColumnInfo>
  457. <Column id="pid" type="STRING" size="255"/>
  458. <Column id="appdd" type="STRING" size="255"/>
  459. <Column id="apptm" type="STRING" size="255"/>
  460. <Column id="appmanflag" type="STRING" size="255"/>
  461. <Column id="appmannm" type="STRING" size="255"/>
  462. <Column id="trustyn" type="STRING" size="255"/>
  463. <Column id="siteyn" type="STRING" size="255"/>
  464. <Column id="issgoalcd" type="STRING" size="255"/>
  465. <Column id="issgoalnm" type="STRING" size="255"/>
  466. <Column id="slidecopies" type="BIGDECIMAL" size="255"/>
  467. <Column id="slidecopinm" type="STRING" size="255"/>
  468. <Column id="mislidecopies" type="BIGDECIMAL" size="255"/>
  469. <Column id="mislidecopinm" type="STRING" size="255"/>
  470. <Column id="ptno" type="STRING" size="255"/>
  471. <Column id="ptnomemo" type="STRING" size="255"/>
  472. <Column id="appdeptcd" type="STRING" size="255"/>
  473. <Column id="appdrid" type="STRING" size="255"/>
  474. <Column id="cnclyn" type="STRING" size="255"/>
  475. <Column id="cncldt" type="STRING" size="255"/>
  476. <Column id="prntdt" type="STRING" size="255"/>
  477. <Column id="seqno" type="STRING" size="256"/>
  478. <Column id="orddeptnm" type="STRING" size="256"/>
  479. <Column id="orddrnm" type="STRING" size="256"/>
  480. <Column id="patnm" type="STRING" size="256"/>
  481. </ColumnInfo>
  482. </Dataset>
  483. </Objects>
  484. <Bind>
  485. <BindItem id="item24" compid="group2.rdo_appmanflag" propid="value" datasetid="ds_init" columnid="appmanflag"/>
  486. <BindItem id="item20" compid="group2.rdo_trustyn" propid="value" datasetid="ds_init" columnid="trustyn"/>
  487. <BindItem id="item26" compid="group2.ipt_appmannm" propid="value" datasetid="ds_init" columnid="appmanetc"/>
  488. <BindItem id="item19" compid="grp_sea.output00" propid="value" datasetid="ds_init" columnid="sexage"/>
  489. <BindItem id="item18" compid="grp_sea.output5" propid="value" datasetid="ds_init" columnid="patnm"/>
  490. <BindItem id="item25" compid="cmb_orddrid" propid="value" datasetid="ds_init" columnid="issgoalcd"/>
  491. <BindItem id="item0" compid="ipt_issgoaletc" propid="value" datasetid="ds_init" columnid="issgoalnm"/>
  492. <BindItem id="item1" compid="grp_sea.pidno" propid="value" datasetid="ds_init" columnid="pid"/>
  493. </Bind>
  494. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  495. * System Name :
  496. * Job Name :
  497. * Creator :
  498. * Make Date : 2015-11-13
  499. * Description :
  500. *---------------------------------------------------------------------------------------
  501. * Modify Date Modifier Modify Description
  502. *---------------------------------------------------------------------------------------
  503. * 2015-11-13 Live Converter TF->XP
  504. *
  505. *---------------------------------------------------------------------------------------
  506. ****************************************************************************************/
  507. include "com_commonxp::comm_main.xjs";
  508. include "lis_commonxp::LZZ001.xjs";
  509. include "lis_commonxp::LPZ001.xjs";
  510. function SMLPP00500_oninit(obj:Form, e:InitEventInfo)
  511. {
  512. frmf_initForm(obj);
  513. }
  514. function SMLPP00500_onload(obj:Form, e:LoadEventInfo)
  515. {
  516. grdf_initGrid(grd_slide);
  517. grdf_initGrid(grd_testrsltlist);
  518. fExeInitialize();
  519. if(frmf_checkOpener()){
  520. var param = "";
  521. var partcd = "";
  522. try {
  523. param = plgv_SMMMI00100_pid;//opener.frmf_getParameter("opener_parameter_id"); //opener parameter value를 get
  524. partcd = plgv_SMMMI00100_partcd;//opener.frmf_getParameter("opener_parameter_id"); //opener parameter value를 get
  525. if(!utlf_isNull(param)){
  526. //opener parameter가 있는 경우
  527. var openerid = opener.frmf_getScreenID();
  528. ds_init.setColumn(0, "pid", param);
  529. ds_init.setColumn(0, "partcd", partcd);
  530. fExe_retrieve();
  531. }
  532. } catch(e){}
  533. trace(param);
  534. // opener 전달 데이터셋 조회조건에 복사
  535. }
  536. }
  537. function fExeInitialize()
  538. {
  539. var sCurDate = "";
  540. dsf_createDsRow("ds_send", [{col : "instcd", val : sysf_getUserInfo("dutplceinstcd")}]);
  541. var oParam = {};
  542. oParam.id = "TRLPZ00101";
  543. oParam.service = "plgycomnusemngtapp.BaseInfoCode";
  544. oParam.method = "reqGetHospitalEnvironmentSetInfo";
  545. oParam.inds = "refData=ds_send";
  546. oParam.outds = "ds_hosoenvinfo=hospenvinfo";
  547. oParam.async = false;
  548. //oParam.callback = "cf_TRLPZ00101";
  549. tranf_submit(oParam);
  550. lpzfUserDeptCd(ds_hosoenvinfo, ds_hidden);
  551. dsf_createDsRow("ds_send", [{col: "instcd", val: sysf_getUserInfo("dutplceinstcd")}
  552. ,{col: "baseflagcd", val: 'K2'}]);
  553. var oParam = {};
  554. oParam.id = "TRLPZ00103";
  555. oParam.service = "plgycomnusemngtapp.BaseInfoCode";
  556. oParam.method = "reqGetReasonCodeList";
  557. oParam.inds = "refData=ds_send";
  558. oParam.outds = "ds_init_combo1=refrslt";
  559. oParam.async = false;
  560. //oParam.callback = "cf_TRLPZ00103";
  561. tranf_submit(oParam);
  562. ds_init_combo1.deleteRow(0);
  563. // 병원환경정보를 취득하여 병리과와 병리팀 코드를 편집한다.
  564. lpzfUserDeptCd(ds_hosoenvinfo, ds_hidden);
  565. grp_sea.pidno.setFocus();
  566. }
  567. //사본발행목적 변경
  568. function cmb_orddrid_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  569. {
  570. if(ds_init.getColumn(0, "issgoalcd") == 4)
  571. {
  572. ipt_issgoaletc.enable = true;
  573. ds_init.setColumn(0, "issgoalnm","");
  574. }
  575. else
  576. {
  577. ipt_issgoaletc.enable = false;
  578. var is_row = ds_init_combo1.findRow("resncd",ds_init.getColumn(0, "issgoalcd"));
  579. // trace(is_row);
  580. // .SetColumn(0, "issgoalcd",)
  581. ds_init.setColumn(0, "issgoalnm",ds_init_combo1.getColumn(is_row,'resncnts'))
  582. }
  583. }
  584. function grp_sea_btn_hngnm_onclick(obj:Button, e:ClickEventInfo)
  585. {
  586. var sPid = "";
  587. var objArg = new Object();
  588. frmf_modal("SPPMC02500","SPPMC02500","","",1,150,150,"","","","","","M");
  589. if (frmf_getParameter("SPPMC02500_popupendflag") == "ok")
  590. {
  591. sPid = ds_patinfolist.getColumn(0, "pid");
  592. if (utlf_isNull(sPid) || sPid == " ")
  593. {
  594. return;
  595. }
  596. var srchpid = sPid;
  597. }
  598. }
  599. //구비서류 도움말
  600. function btn_help_onclick(obj:Button, e:ClickEventInfo)
  601. {
  602. frmf_setParameter("SPMRC02600_param","A");
  603. frmf_modal("SPMRC02600", "SPMRC02600", null, null, null, null, null, null, null, null, null, null, "M");
  604. }
  605. //통합결과조회
  606. function btn_sytsrsltref_onclick(obj:Button, e:ClickEventInfo)
  607. {
  608. fExePopupCallSytsRslt();
  609. }
  610. function fExePopupCallSytsRslt()
  611. {
  612. var pid = ds_init.getColumn(0,"pid");
  613. var objParam = [{col:"srchpid", type:"string", size:10, val: pid}]
  614. dsf_createDsRow("ds_send_reqdata_pid", objParam, false)
  615. var objArg = new Object();
  616. objArg.arg_ds_send_singdata = ds_send_reqdata_pid;
  617. frmf_open("SMAER00800", "SMAER00800", objArg, null, null, null, null, null, null, null, null, null, "M");
  618. /*
  619. if( utlf_isNull(ds_init.getColumn))
  620. {
  621. frmf_modal("SMAER00800", "SMAER00800", "", null, null, null, null, null, null, null, null, null, "M");
  622. }
  623. else
  624. {
  625. var objArg = new Object();
  626. objArg.arg_ds_send_singdata = ds_init;
  627. frmf_modal("SMAER00800", "SMAER00800", "", null, null, null, null, null, null, null, null, null, "M");
  628. }
  629. */
  630. }
  631. //등록번호 조회
  632. function grp_sea_pidno_onkeyup(obj:Edit, e:KeyEventInfo)
  633. {
  634. if(e.keycode == 13)
  635. {
  636. fExe_retrieve();
  637. }
  638. }
  639. function Button00_onclick(obj:Button, e:ClickEventInfo)
  640. {
  641. ds_init.setColumn(0, "instcd", sysf_getUserInfo("dutplceinstcd"));
  642. ds_init.setColumn(0, "userid", sysf_getUserId());
  643. ds_init.setColumn(0, "siteyn", "N");
  644. // trace("init = " + ds_init.saveXML());
  645. var oParam = {};
  646. oParam.id = "TXLPJ00401";
  647. oParam.service = "plgyacptmngtapp.SpecimenAccept";
  648. oParam.method = "reqExeSlideAccept";
  649. oParam.inds = "acptenv=ds_init";
  650. oParam.outds = "";
  651. oParam.transaction = false;
  652. oParam.async = false;
  653. //oParam.callback = "cf_TXLPJ00401";
  654. tranf_submit(oParam);
  655. fExe_retrieve();
  656. }
  657. //검사결과 목록 클릭
  658. function grd_testrsltlist_oncellclick(obj:Grid, e:GridClickEventInfo)
  659. {
  660. fExePtNoClick();
  661. }
  662. function fExe_retrieve()
  663. {
  664. ds_init.setColumn(0, "pid", grp_sea.pidno.text);
  665. var sPid = grp_sea.pidno.text;
  666. //--------------------------------------------------------
  667. // 등록번호 조회 시 최소 4자리 이상 입력하도록 메세지 표시
  668. if(!utlf_isNull(ds_init.getColumn(0, "pid")))
  669. {
  670. if (sPid.length < 3)
  671. {
  672. sysf_messageBox("등록번호를 4자리 이상 ", "C001");
  673. return false;
  674. }
  675. }
  676. dsf_createDsRow("ds_temp_send", [{col : "instcd", val : sysf_getUserInfo("dutplceinstcd")}
  677. ,{col : "pid", val : ds_init.getColumn(0, "pid")}
  678. ,{col : "partcd", val : ds_init.getColumn(0, "partcd")}]);
  679. var oParam = {};
  680. oParam.id = "TRLPJ02602";
  681. oParam.service = "plgyacptmngtapp.SpecimenAccept";
  682. oParam.method = "reqGetSlideList";
  683. oParam.inds = "refData=ds_temp_send";
  684. oParam.outds = "ds_grd_slide=commonrslt";
  685. // oParam.outds = "ds_grd_slide=commonrslt ds_mainot=refrsltot";
  686. oParam.async = false;
  687. tranf_submit(oParam);
  688. if(ds_grd_slide.rowcount > 0)
  689. {
  690. ds_init.setColumn(0, "patnm", ds_grd_slide.getColumn(0, "patnm"));
  691. ds_init.setColumn(0, "sexage", ds_grd_slide.getColumn(0, "sexage"));
  692. }
  693. // if(ds_main.rowcount < 0)
  694. // {
  695. // alert("조회x");
  696. // }
  697. // else
  698. // {
  699. // ds_grd_slide.rowposition = 0;
  700. // ds_init.setColumn(0, "appmanflag", ds_grd_slide.getColumn(0, "appmanflag")); //사본발행 신청인
  701. // ds_init.setColumn(0, "trustyn", ds_grd_slide.getColumn(0, "trustyn")); //위임장,동의서 유무
  702. // ds_init.setColumn(0, "issgoalcd", ds_grd_slide.getColumn(0, "issgoalcd")); //사본발행목적
  703. // ds_init.setColumn(0, "issgoalnm", ds_grd_slide.getColumn(0, "issgoalnm")); //사본발행목적
  704. // ds_init.setColumn(0, "ptno", ds_grd_slide.getColumn(0, "ptno")); //병리번호
  705. //
  706. // ds_init.setColumn(0, "slidecopies", ds_grd_slide.getColumn(0, "slidecopies")); //d
  707. // ds_init.setColumn(0, "slidecopinm", ds_grd_slide.getColumn(0, "slidecopinm")); //병리번호
  708. // ds_init.setColumn(0, "mislidecopies", ds_grd_slide.getColumn(0, "mislidecopies")); //병리번호
  709. // ds_init.setColumn(0, "mislidecopinm", ds_grd_slide.getColumn(0, "mislidecopinm")); //병리번호
  710. // ds_init.setColumn(0, "ptnomemo", ds_grd_slide.getColumn(0, "ptnomemo")); //병리메모
  711. // }
  712. //
  713. //
  714. // ds_refData.setColumn(0, "instcd", sysf_getUserInfo("dutplceinstcd"));
  715. // ds_refData.setColumn(0, "refcrite", "2");
  716. // ds_refData.setColumn(0, "refval", ds_init.getColumn(0, "pid"));
  717. // ds_refData.setColumn(0, "acptfromdd", utlf_getCurrentDate());
  718. // ds_refData.setColumn(0, "acpttodd", utlf_getCurrentDate());
  719. // ds_refData.setColumn(0, "userdeptcd", ds_hidden.getColumn(0, "userdeptcd"));
  720. // ds_refData.setColumn(0, "refflagcd", "1");
  721. // ds_refData.setColumn(0, "ptnocode", "");
  722. // ds_refData.setColumn(0, "extrpart", "");
  723. // ds_refData.setColumn(0, "diag", "");
  724. // ds_refData.setColumn(0, "extrmthd", "");
  725. //
  726. // var oParam = {};
  727. // oParam.id = "TRLPP00501";
  728. // oParam.service = "plgyrefmngtapp.TestRsltRef";
  729. // oParam.method = "reqGetTestRsltList";
  730. // oParam.inds = "refData=ds_refData";
  731. // oParam.outds = "ds_grd_testrsltlist=refrslt";
  732. // oParam.async = false;
  733. // //oParam.callback = "cf_TRLPP00501";
  734. // tranf_submit(oParam);
  735. //
  736. //
  737. }
  738. function fExePtNoClick()
  739. {
  740. var iRowNo = -1;
  741. var sScrNode = ds_grd_testrsltlist;
  742. //var sDescNode = ds_patinfo;
  743. //------------------------------------------
  744. if(ds_grd_testrsltlist.rowposition < 0)
  745. {
  746. return false;
  747. }
  748. //----------------------------
  749. iRowNo = ds_grd_testrsltlist.rowposition;
  750. // 검사결과 조회
  751. dsf_createDsRow("ds_send_refrslt", [{col : "instcd", val : sysf_getUserInfo("dutplceinstcd")}
  752. ,{col : "ptno", val : ds_grd_testrsltlist.getColumn(iRowNo, "ptno")}
  753. ,{col : "pid", val : ds_grd_testrsltlist.getColumn(iRowNo, "pid")}
  754. ,{col : "workflagcd", val : ds_grd_testrsltlist.getColumn(iRowNo, "ptnoworkflagcd")}
  755. ,{col : "prcpgenrflag", val : ds_grd_testrsltlist.getColumn(iRowNo, "prcpgenrflag")}
  756. ,{col : "scrno", val : "10"}]);
  757. var oParam = {};
  758. oParam.id = "TRLPZ00107";
  759. oParam.service = "plgyrefmngtapp.TestRsltRef";
  760. oParam.method = "reqGetTestRsltInfo";
  761. oParam.inds = "refData=ds_send_refrslt";
  762. oParam.outds = "ds_grd_testrsltref=refrslt";
  763. oParam.async = false;
  764. //oParam.callback = "cf_TRLPZ00107";
  765. tranf_submit(oParam);
  766. ds_init.setColumn(0, "ptno", ds_grd_testrsltlist.getColumn(iRowNo, "ptno"));
  767. }
  768. //병리번호 비고 체크
  769. function group00_CheckBox00_onchanged(obj:CheckBox, e:CheckBoxChangeEventInfo)
  770. {
  771. if(group00.CheckBox00.value == 1)
  772. {
  773. group00.input01.enable = true;
  774. }
  775. else
  776. {
  777. group00.input01.enable = false;
  778. ds_init.setColumn(0, "ptnomemo", "");
  779. }
  780. }
  781. //염색슬라이드 비고 체크
  782. function group00_CheckBox01_onchanged(obj:CheckBox, e:CheckBoxChangeEventInfo)
  783. {
  784. if(group00.CheckBox01.value == 1)
  785. {
  786. group00.input03.enable = true;
  787. }
  788. else
  789. {
  790. group00.input03.enable = false;
  791. ds_init.setColumn(0, "slidecopinm", "");
  792. }
  793. }
  794. //미염색슬라이드 비고 체크
  795. function group00_CheckBox02_onchanged(obj:CheckBox, e:CheckBoxChangeEventInfo)
  796. {
  797. if(group00.CheckBox02.value == 1)
  798. {
  799. group00.input05.enable = true;
  800. }
  801. else
  802. {
  803. group00.input05.enable = false;
  804. ds_init.setColumn(0, "mislidecopinm", "");
  805. }
  806. }
  807. //사본발행 신청인 변경
  808. function rdo_appmanflag_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
  809. {
  810. var Appmanflag = group2.rdo_appmanflag.value;
  811. trace("Appmanflag= " + Appmanflag);
  812. if(Appmanflag == 1)
  813. {
  814. ds_init.setColumn(0, "appmannm", "환자본인");
  815. group2.ipt_appmannm.enable = false;
  816. }
  817. else if(Appmanflag == 2)
  818. {
  819. ds_init.setColumn(0, "appmannm", "직계가족");
  820. group2.ipt_appmannm.enable = false;
  821. }
  822. else if(Appmanflag == 3)
  823. {
  824. ds_init.setColumn(0, "appmannm", "보험회사직원");
  825. group2.ipt_appmannm.enable = false;
  826. }
  827. else if(Appmanflag == 4)
  828. {
  829. ds_init.setColumn(0, "appmannm", "대리인");
  830. group2.ipt_appmannm.enable = false;
  831. }
  832. else if(Appmanflag == 9)
  833. {
  834. group2.ipt_appmannm.enable = true;
  835. ds_init.setColumn(0, "appmannm", "기타");
  836. }
  837. else
  838. {
  839. group2.ipt_appmannm.value = "";
  840. group2.ipt_appmannm.enable = false;
  841. }
  842. }
  843. function grd_slide00_oncellclick(obj:Grid, e:GridClickEventInfo)
  844. {
  845. iRowNo = ds_mainot.rowposition;
  846. if( ds_mainot.getColumn(iRowNo, "choi") == 1)
  847. {
  848. ds_init.setColumn(0, "appdeptcd", ds_mainot.getColumn(iRowNo, "orddeptcd"));
  849. ds_init.setColumn(0, "appdrid", ds_mainot.getColumn(iRowNo, "orddrid"));
  850. }else
  851. {
  852. alert("OT 내역 미선택 됨");
  853. }
  854. }
  855. function group4_group6_btn_reset_onclick(obj:Button, e:ClickEventInfo)
  856. {
  857. this.close();
  858. }
  859. function grd_slide_oncellclick(obj:Grid, e:GridClickEventInfo)
  860. {
  861. grd_select()
  862. }
  863. function grd_select()
  864. {
  865. iRowNo = ds_grd_slide.rowposition;
  866. this.opener.ds_init.setColumn(0, "appmanflag", ds_grd_slide.getColumn(iRowNo, "appmanflag")); //사본발행 신청인
  867. this.opener.ds_init.setColumn(0, "appmannm", ds_grd_slide.getColumn(iRowNo, "appmannm")); //사본발행 신청인명
  868. this.opener.ds_init.setColumn(0, "trustyn", ds_grd_slide.getColumn(iRowNo, "trustyn")); //위임장,동의서 유무
  869. this.opener.ds_init.setColumn(0, "siteyn", "Y"); //외부 위임여부
  870. this.close();
  871. }
  872. function btn_prt_onclick(obj:Button, e:ClickEventInfo)
  873. {
  874. var toDate = utlf_getCurrentDate();
  875. // ds_grd_slide.setColumn(0, "yy", toDate.substring(0,4));
  876. // ds_grd_slide.setColumn(0, "mm", toDate.substring(4,6));
  877. // ds_grd_slide.setColumn(0, "dd", toDate.substring(6,8));
  878. // ds_grd_slide.setColumn(0, "patnm", ds_init.getColumn(0, "patnm"));
  879. grd_select();
  880. ds_init.setColumn(0, "yy", toDate.substring(0,4));
  881. ds_init.setColumn(0, "mm", toDate.substring(4,6));
  882. ds_init.setColumn(0, "dd", toDate.substring(6,8));
  883. var objDOM = rptf_createDOM(); // DOM 객체 설정
  884. // rptf_setNodeListToDOM(objDOM, "/root/main/init", ds_grd_slide); // 데이터셋 1
  885. rptf_setNodeListToDOM(objDOM, "/root/main/init", ds_init); // 데이터셋 1
  886. var objParam = new Object();
  887. objParam.xml_data_XML1 = objDOM.documentElement.source; // 최상의노드 XML 스트링 추출
  888. var option = "open=1;save=1;directprint=0;print=1;zoom=0;";
  889. rptf_exeReportPreview30(["RPLPP00701"],[objParam], option);
  890. }
  891. ]]></Script>
  892. </Form>
  893. </FDL>