SPMRD00200_중증등록SAM파일관리.xfdl 47 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SPMRD00200" position="absolute 0 0 801 648" titletext="중증등록 SAM파일관리" onload="SPMRD00200_onload">
  5. <Layouts>
  6. <Layout>
  7. <Static text="중증등록 SAM파일관리" position="absolute 0 0 188 17" align="align:center middle;" id="caption14" class="tit_2"/>
  8. <Tab position="absolute 0 68 800 641" id="switch1" style="buttonpadding:4 20 4 20;" onchanged="switch1_onchanged">
  9. <Tabpages>
  10. <Tabpage text="송신" position="absolute 0 0 798 523" id="case1" style="anchor:default;margin:0 0 0 0;">
  11. <Layouts>
  12. <Layout>
  13. <Grid position="absolute 0 0 800 549" id="grd_send" binddataset="ds_serdiaglist" cellsizingtype="col" oncelldblclick="switch1_case1_grd_send_oncelldblclick">
  14. <Formats>
  15. <Format id="default">
  16. <Columns>
  17. <Column size="30"/>
  18. <Column size="34"/>
  19. <Column size="100"/>
  20. <Column size="60"/>
  21. <Column size="60"/>
  22. <Column size="75"/>
  23. <Column size="96"/>
  24. <Column size="64"/>
  25. <Column size="100"/>
  26. <Column size="90"/>
  27. <Column size="40"/>
  28. <Column size="40"/>
  29. <Column size="130"/>
  30. <Column size="130"/>
  31. <Column size="70"/>
  32. <Column size="60"/>
  33. <Column size="80"/>
  34. <Column size="200"/>
  35. <Column size="80"/>
  36. <Column size="60"/>
  37. <Column size="60"/>
  38. <Column size="60"/>
  39. <Column size="80"/>
  40. <Column size="80"/>
  41. <Column size="90"/>
  42. </Columns>
  43. <Rows>
  44. <Row size="24" band="head"/>
  45. <Row size="24"/>
  46. </Rows>
  47. <Band id="head">
  48. <Cell/>
  49. <Cell col="1" displaytype="checkbox" edittype="checkbox"/>
  50. <Cell col="2" text="보험증번호"/>
  51. <Cell col="3" text="세대주"/>
  52. <Cell col="4" text="성명"/>
  53. <Cell col="5" text="등록번호"/>
  54. <Cell col="6" text="진료과목"/>
  55. <Cell col="7" text="상병"/>
  56. <Cell col="8" text="주민번호"/>
  57. <Cell col="9" text="전화번호"/>
  58. <Cell col="10" colspan="2" text="우편번호"/>
  59. <Cell col="12" text="수령주소(기본)"/>
  60. <Cell col="13" text="수령주소(상세)"/>
  61. <Cell col="14" text="진료과목"/>
  62. <Cell col="15" text="입원/외래"/>
  63. <Cell col="16" text="암진단확인일"/>
  64. <Cell col="17" text="최종진단방법"/>
  65. <Cell col="18" text="의사면허번호"/>
  66. <Cell col="19" text="의사성명"/>
  67. <Cell col="20" text="신청자"/>
  68. <Cell col="21" text="관계"/>
  69. <Cell col="22" text="확인일자"/>
  70. <Cell col="23" text="신청일자"/>
  71. <Cell col="24" text="핸드폰번호"/>
  72. </Band>
  73. <Band id="body">
  74. <Cell style="background:URL('theme://images/bg_gridHead.png') stretch 3,3;background2:URL('theme://images/bg_gridHead.png') stretch 3,3;" text="expr:currow+1"/>
  75. <Cell col="1" displaytype="checkbox" edittype="checkbox" text="bind:chkflag" expr="expr:(chkflag==&quot;Y&quot;||chkflag==1)?1:0"/>
  76. <Cell col="2" style="padding:0 5 0 5;" text="bind:insuno"/>
  77. <Cell col="3" style="padding:0 5 0 5;" text="bind:insdnm"/>
  78. <Cell col="4" style="padding:0 5 0 5;" text="bind:hngnm"/>
  79. <Cell col="5" text="bind:pid"/>
  80. <Cell col="6" text="bind:orddeptnm"/>
  81. <Cell col="7" text="bind:healcarecd"/>
  82. <Cell col="8" style="padding:0 5 0 5;" text="bind:rrgstno"/>
  83. <Cell col="9" style="align:left;padding:0 5 0 5;" text="bind:acptplcetel"/>
  84. <Cell col="10" style="padding:0 5 0 5;" text="bind:zipcdhead"/>
  85. <Cell col="11" style="padding:0 5 0 5;" text="bind:zipcdfoot"/>
  86. <Cell col="12" style="align:left;padding:0 5 0 5;" text="bind:acptplcebaseaddr"/>
  87. <Cell col="13" style="align:left;padding:0 5 0 5;" text="bind:acptplceaddr"/>
  88. <Cell col="14" style="align:left;padding:0 5 0 5;" text="bind:orddeptnm"/>
  89. <Cell col="15" displaytype="combo" edittype="combo" style="padding:0 5 0 5;" text="bind:genrflagcd" combodataset="ds_cmb_genrflagcd" combocodecol="value" combodatacol="label"/>
  90. <Cell col="16" displaytype="date" style="padding:0 5 0 5;" text="bind:cncrdiagcnfmdd"/>
  91. <Cell col="17" style="align:left;padding:0 5 0 5;" text="bind:sam"/>
  92. <Cell col="18" style="padding:0 5 0 5;" text="bind:licnsno"/>
  93. <Cell col="19" style="padding:0 5 0 5;" text="bind:orddrnm"/>
  94. <Cell col="20" style="padding:0 5 0 5;" text="bind:appmannm"/>
  95. <Cell col="21" displaytype="combo" edittype="combo" style="padding:0 5 0 5;" text="bind:relaflag" combodataset="ds_M0263" combocodecol="cdid" combodatacol="cdnm"/>
  96. <Cell col="22" displaytype="date" style="padding:0 5 0 5;" text="bind:rgstdd"/>
  97. <Cell col="23" displaytype="date" style="padding:0 5 0 5;" text="bind:prntdt"/>
  98. <Cell col="24" style="align:left;padding:0 5 0 5;" text="bind:acptplcempphon"/>
  99. </Band>
  100. </Format>
  101. </Formats>
  102. </Grid>
  103. </Layout>
  104. </Layouts>
  105. </Tabpage>
  106. <Tabpage text="수신" id="case2" style="anchor:default;margin:0 0 0 0;">
  107. <Layouts>
  108. <Layout>
  109. <Grid position="absolute 0 0 800 549" id="grd_recv" binddataset="ds_loaddata" cellsizingtype="col">
  110. <Formats>
  111. <Format id="default">
  112. <Columns>
  113. <Column size="30"/>
  114. <Column size="34"/>
  115. <Column size="70"/>
  116. <Column size="80"/>
  117. <Column size="149"/>
  118. <Column size="90"/>
  119. <Column size="110"/>
  120. <Column size="90"/>
  121. <Column size="110"/>
  122. <Column size="100"/>
  123. <Column size="80"/>
  124. <Column size="80"/>
  125. <Column size="86"/>
  126. <Column size="100"/>
  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" displaytype="checkbox" edittype="checkbox"/>
  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. </Band>
  148. <Band id="body">
  149. <Cell style="background:URL('theme://images/bg_gridHead.png') stretch 3,3;background2:URL('theme://images/bg_gridHead.png') stretch 3,3;" text="expr:currow+1"/>
  150. <Cell col="1" displaytype="checkbox" edittype="checkbox" text="bind:status" expr="expr:(status==&quot;Y&quot;||status==1)?1:0"/>
  151. <Cell col="2" style="align:left;padding:0 5 0 5;" text="bind:proccorpcd"/>
  152. <Cell col="3" displaytype="date" style="padding:0 5 0 5;" text="bind:rgstdd"/>
  153. <Cell col="4" style="align:left;padding:0 5 0 5;" text="bind:formnm"/>
  154. <Cell col="5" style="padding:0 5 0 5;" text="bind:appmannm"/>
  155. <Cell col="6" style="padding:0 5 0 5;" text="bind:insuno"/>
  156. <Cell col="7" style="padding:0 5 0 5;" text="bind:pathngnm"/>
  157. <Cell col="8" style="align:left;padding:0 5 0 5;" text="bind:rrgstno"/>
  158. <Cell col="9" style="align:left;padding:0 5 0 5;" text="bind:insuranceid"/>
  159. <Cell col="10" displaytype="date" style="padding:0 5 0 5;" text="bind:startdate"/>
  160. <Cell col="11" displaytype="date" style="padding:0 5 0 5;" text="bind:enddate"/>
  161. <Cell col="12" displaytype="date" style="padding:0 5 0 5;" text="bind:genrdd"/>
  162. <Cell col="13" style="padding:0 5 0 5;" text="bind:remark"/>
  163. </Band>
  164. </Format>
  165. <Format id="load">
  166. <Columns>
  167. <Column size="34"/>
  168. <Column size="70"/>
  169. <Column size="80"/>
  170. <Column size="149"/>
  171. <Column size="90"/>
  172. <Column size="110"/>
  173. <Column size="90"/>
  174. <Column size="110"/>
  175. <Column size="100"/>
  176. <Column size="80"/>
  177. <Column size="80"/>
  178. <Column size="86"/>
  179. <Column size="100"/>
  180. </Columns>
  181. <Rows>
  182. <Row size="24" band="head"/>
  183. <Row size="24"/>
  184. </Rows>
  185. <Band id="head">
  186. <Cell displaytype="checkbox" edittype="checkbox"/>
  187. <Cell col="1" text="요양기관"/>
  188. <Cell col="2" text="작성일"/>
  189. <Cell col="3" text="서식명"/>
  190. <Cell col="4" text="가입자"/>
  191. <Cell col="5" text="건강보험증번호"/>
  192. <Cell col="6" text="성명(수진자)"/>
  193. <Cell col="7" text="주민번호(수진자)"/>
  194. <Cell col="8" text="등록번호(공단)"/>
  195. <Cell col="9" text="적용시작일"/>
  196. <Cell col="10" text="적용종료일"/>
  197. <Cell col="11" text="신청일자"/>
  198. <Cell col="12" text="신청구분"/>
  199. </Band>
  200. <Band id="body">
  201. <Cell displaytype="checkbox" edittype="checkbox" text="bind:status" expr="expr:(status==&quot;Y&quot;||status==1)?1:0"/>
  202. <Cell col="1" style="align:left;padding:0 5 0 5;" text="bind:proccorpcd"/>
  203. <Cell col="2" displaytype="date" style="padding:0 5 0 5;" text="bind:rgstdd"/>
  204. <Cell col="3" style="align:left;padding:0 5 0 5;" text="bind:formnm"/>
  205. <Cell col="4" style="padding:0 5 0 5;" text="bind:appmannm"/>
  206. <Cell col="5" style="padding:0 5 0 5;" text="bind:insuno"/>
  207. <Cell col="6" style="padding:0 5 0 5;" text="bind:pathngnm"/>
  208. <Cell col="7" style="align:left;padding:0 5 0 5;" text="bind:rrgstno"/>
  209. <Cell col="8" style="align:left;padding:0 5 0 5;" text="bind:insuranceid"/>
  210. <Cell col="9" displaytype="date" style="padding:0 5 0 5;" text="bind:startdate"/>
  211. <Cell col="10" displaytype="date" style="padding:0 5 0 5;" text="bind:enddate"/>
  212. <Cell col="11" displaytype="date" style="padding:0 5 0 5;" text="bind:genrdd"/>
  213. <Cell col="12" style="padding:0 5 0 5;" text="bind:remark"/>
  214. </Band>
  215. </Format>
  216. </Formats>
  217. </Grid>
  218. </Layout>
  219. </Layouts>
  220. </Tabpage>
  221. <Tabpage text="EDI내역" id="case3" style="anchor:default;margin:0 0 0 0;">
  222. <Layouts>
  223. <Layout>
  224. <Grid position="absolute 0 0 800 549" id="grd_edilist" binddataset="ds_upsamlist" cellsizingtype="col">
  225. <Formats>
  226. <Format id="default">
  227. <Columns>
  228. <Column size="30"/>
  229. <Column size="82"/>
  230. <Column size="76"/>
  231. <Column size="115"/>
  232. <Column size="110"/>
  233. <Column size="105"/>
  234. <Column size="80"/>
  235. <Column size="80"/>
  236. <Column size="100"/>
  237. </Columns>
  238. <Rows>
  239. <Row size="24" band="head"/>
  240. <Row size="24"/>
  241. </Rows>
  242. <Band id="head">
  243. <Cell/>
  244. <Cell col="1" text="등록번호"/>
  245. <Cell col="2" text="성명"/>
  246. <Cell col="3" text="주민번호"/>
  247. <Cell col="4" text="건강보험증번호"/>
  248. <Cell col="5" text="중증등록번호"/>
  249. <Cell col="6" text="적용시작일"/>
  250. <Cell col="7" text="적용종료일"/>
  251. <Cell col="8" text="비고"/>
  252. </Band>
  253. <Band id="body">
  254. <Cell style="background:URL('theme://images/bg_gridHead.png') stretch 3,3;background2:URL('theme://images/bg_gridHead.png') stretch 3,3;" text="expr:currow+1"/>
  255. <Cell col="1" style="padding:0 5 0 5;" text="bind:pid"/>
  256. <Cell col="2" style="padding:0 5 0 5;" text="bind:hngnm"/>
  257. <Cell col="3" style="align:left;padding:0 5 0 5;" text="bind:rrgstno"/>
  258. <Cell col="4" style="align:left;padding:0 5 0 5;" text="bind:insuno"/>
  259. <Cell col="5" style="align:left;padding:0 5 0 5;" text="bind:serdiagno"/>
  260. <Cell col="6" displaytype="date" style="padding:0 5 0 5;" text="bind:serdiagfromdd"/>
  261. <Cell col="7" displaytype="date" style="padding:0 5 0 5;" text="bind:serdiagtodd"/>
  262. <Cell col="8" style="align:left;padding:0 5 0 5;" text="bind:ediremfact"/>
  263. </Band>
  264. </Format>
  265. </Formats>
  266. </Grid>
  267. </Layout>
  268. </Layouts>
  269. </Tabpage>
  270. </Tabpages>
  271. </Tab>
  272. <Grid position="absolute 200 593 465 648" id="grd_filedata" visible="false" binddataset="ds_savedata">
  273. <Formats>
  274. <Format id="default">
  275. <Columns>
  276. <Column size="252"/>
  277. </Columns>
  278. <Rows>
  279. <Row size="24" band="head"/>
  280. <Row size="24"/>
  281. </Rows>
  282. <Band id="head">
  283. <Cell text="samstr"/>
  284. </Band>
  285. <Band id="body">
  286. <Cell text="bind:samstr"/>
  287. </Band>
  288. </Format>
  289. </Formats>
  290. </Grid>
  291. <Button position="absolute 605 68 669 87" id="btn_save" class="btn2" text="파일저장" onclick="btn_save_onclick"/>
  292. <Button position="absolute 670 68 734 87" id="btn_load" class="btn2" enable="false" text="파일열기" onclick="btn_load_onclick"/>
  293. <Button position="absolute 735 68 799 87" id="btn_update" class="btn2" enable="false" text="내용저장" onclick="btn_update_onclick"/>
  294. <Div id="group1" taborder="1" class="div_SA2" position="absolute 0 18 800 63">
  295. <Layouts>
  296. <Layout>
  297. <Static id="caption12" text="조회기간 :" class="search_name" position="absolute 10 13 105 30" anchor="default"/>
  298. <Static id="caption5" text="~" class="search_no_b" position="absolute 290 14 302 31" anchor="default"/>
  299. <Static id="caption1" text="구분 :" class="search_name" visible="false" position="absolute 245 27 310 44" anchor="default"/>
  300. <Radio id="rdo_sendyn" taborder="7" columncount="2" rowcount="0" codecolumn="codecolumn" datacolumn="datacolumn" visible="false" position="absolute 310 26 440 46" anchor="default">
  301. <Dataset id="innerdataset">
  302. <ColumnInfo>
  303. <Column id="codecolumn"/>
  304. <Column id="datacolumn"/>
  305. </ColumnInfo>
  306. <Rows>
  307. <Row>
  308. <Col id="codecolumn">0</Col>
  309. <Col id="datacolumn">전송전</Col>
  310. </Row>
  311. <Row>
  312. <Col id="codecolumn">1</Col>
  313. <Col id="datacolumn">전송후</Col>
  314. </Row>
  315. </Rows>
  316. </Dataset>
  317. </Radio>
  318. <Calendar id="ipt_todd" taborder="8" class="input_search" position="absolute 305 12 405 31" anchor="default" autoselect="true"/>
  319. <Calendar id="ipt_fromdd" taborder="9" class="input_search" position="absolute 185 12 285 31" anchor="default" autoselect="true"/>
  320. <Button id="btn_srch" taborder="10" text="조회" class="btn1" position="absolute 736 11 792 33" anchor="default" onclick="btn_srch_onclick"/>
  321. <Static id="caption2" text="등록자 주민등록번호:" class="search_name" visible="false" position="absolute 142 5 293 22" anchor="default"/>
  322. <Edit id="ipt_rrgstno" taborder="11" visible="false" position="absolute 297 4 432 23" anchor="default" autoselect="true"/>
  323. <Combo id="combo1" taborder="12" codecolumn="codecolumn" datacolumn="datacolumn" position="absolute 95 12 180 31" anchor="default">
  324. <Dataset id="innerdataset">
  325. <ColumnInfo>
  326. <Column id="codecolumn" size="256"/>
  327. <Column id="datacolumn" size="256"/>
  328. </ColumnInfo>
  329. <Rows>
  330. <Row>
  331. <Col id="codecolumn">1</Col>
  332. <Col id="datacolumn">요청일</Col>
  333. </Row>
  334. <Row>
  335. <Col id="codecolumn">2</Col>
  336. <Col id="datacolumn">서명일</Col>
  337. </Row>
  338. </Rows>
  339. </Dataset>
  340. </Combo>
  341. <Static id="Static00" text="등록번호" position="absolute 444 13 505 33" class="search_name"/>
  342. <Edit id="Edit00" taborder="13" position="absolute 512 13 597 33"/>
  343. <CheckBox id="chk_serdiagnoyn" taborder="14" text="중증번호有 자료만" position="absolute 605 13 731 33" falsevalue="N" truevalue="Y" tooltiptext="중증번호가 있는 사람이지만 테스트용으로 샘파일을 만들어 볼 수 있습니다" tooltiptype="default,mouseleave"/>
  344. </Layout>
  345. </Layouts>
  346. </Div>
  347. </Layout>
  348. </Layouts>
  349. <Objects>
  350. <Dataset id="ds_srchinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  351. <ColumnInfo>
  352. <Column id="fromdd" type="STRING" size="256"/>
  353. <Column id="todd" type="STRING" size="256"/>
  354. <Column id="sendyn" type="STRING" size="256"/>
  355. <Column id="sendrrgstno" type="STRING" size="256"/>
  356. <Column id="srchkind" type="STRING" size="256"/>
  357. <Column id="pid" type="STRING" size="256"/>
  358. <Column id="serdiagnoyn" type="STRING" size="256"/>
  359. </ColumnInfo>
  360. <Rows>
  361. <Row>
  362. <Col id="sendyn">0</Col>
  363. </Row>
  364. </Rows>
  365. </Dataset>
  366. <Dataset id="ds_serdiaglist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_serdiaglist_oncolumnchanged">
  367. <ColumnInfo>
  368. <Column id="genrdd" type="STRING" size="256"/>
  369. <Column id="genrno" type="STRING" size="256"/>
  370. <Column id="histno" type="STRING" size="256"/>
  371. <Column id="instcd" type="STRING" size="256"/>
  372. <Column id="histcd" type="STRING" size="256"/>
  373. <Column id="anohosprgstflag" type="STRING" size="256"/>
  374. <Column id="genrflagcd" type="STRING" size="256"/>
  375. <Column id="pid" type="STRING" size="256"/>
  376. <Column id="insukind" type="STRING" size="256"/>
  377. <Column id="cncrdiagcnfmdd" type="STRING" size="256"/>
  378. <Column id="orddeptcd" type="STRING" size="256"/>
  379. <Column id="orddrid" type="STRING" size="256"/>
  380. <Column id="serdiagno" type="STRING" size="256"/>
  381. <Column id="serdiagfromdd" type="STRING" size="256"/>
  382. <Column id="serdiagtodd" type="STRING" size="256"/>
  383. <Column id="genrorddd" type="STRING" size="256"/>
  384. <Column id="genrcretno" type="STRING" size="256"/>
  385. <Column id="signyn" type="STRING" size="256"/>
  386. <Column id="signdt" type="STRING" size="256"/>
  387. <Column id="prntyn" type="STRING" size="256"/>
  388. <Column id="prntdt" type="STRING" size="256"/>
  389. <Column id="prntpsnid" type="STRING" size="256"/>
  390. <Column id="ediflag" type="STRING" size="256"/>
  391. <Column id="editretdd" type="STRING" size="256"/>
  392. <Column id="editrettm" type="STRING" size="256"/>
  393. <Column id="prstagtyn" type="STRING" size="256"/>
  394. <Column id="zipcdhead" type="STRING" size="256"/>
  395. <Column id="zipcdfoot" type="STRING" size="256"/>
  396. <Column id="seqno" type="STRING" size="256"/>
  397. <Column id="rgstdeptcd" type="STRING" size="256"/>
  398. <Column id="rgstdd" type="STRING" size="256"/>
  399. <Column id="rgsttm" type="STRING" size="256"/>
  400. <Column id="rgstrid" type="STRING" size="256"/>
  401. <Column id="updtdeptcd" type="STRING" size="256"/>
  402. <Column id="updtdd" type="STRING" size="256"/>
  403. <Column id="updttm" type="STRING" size="256"/>
  404. <Column id="updtrid" type="STRING" size="256"/>
  405. <Column id="fstrgstrid" type="STRING" size="256"/>
  406. <Column id="fstrgstdt" type="STRING" size="256"/>
  407. <Column id="lastupdtrid" type="STRING" size="256"/>
  408. <Column id="lastupdtdt" type="STRING" size="256"/>
  409. <Column id="maindiagcd" type="STRING" size="256"/>
  410. <Column id="healcarediagcd" type="STRING" size="256"/>
  411. <Column id="acptplcetel" type="STRING" size="256"/>
  412. <Column id="mpphontel" type="STRING" size="256"/>
  413. <Column id="acptplceaddr" type="STRING" size="256"/>
  414. <Column id="remfact" type="STRING" size="256"/>
  415. <Column id="hngnm" type="STRING" size="256"/>
  416. <Column id="orddeptnm" type="STRING" size="256"/>
  417. <Column id="orddrnm" type="STRING" size="256"/>
  418. <Column id="lastupdttrnm" type="STRING" size="256"/>
  419. <Column id="rrgstno" type="STRING" size="256"/>
  420. <Column id="insuno" type="STRING" size="256"/>
  421. <Column id="insunm" type="STRING" size="256"/>
  422. <Column id="insdrela" type="STRING" size="256"/>
  423. <Column id="relaflag" type="STRING" size="256"/>
  424. <Column id="appmannm" type="STRING" size="256"/>
  425. <Column id="infromdd" type="STRING" size="256"/>
  426. <Column id="intodd" type="STRING" size="256"/>
  427. <Column id="strcnfmmthd" type="STRING" size="256"/>
  428. <Column id="healcarediagnm" type="STRING" size="256"/>
  429. <Column id="acptplcebaseaddr" type="STRING" size="256"/>
  430. <Column id="maindiagnm" type="STRING" size="256"/>
  431. <Column id="licnsno" type="STRING" size="256"/>
  432. <Column id="samstr" type="STRING" size="256"/>
  433. <Column id="chkflag" type="STRING" size="256"/>
  434. <Column id="sam" type="STRING" size="256"/>
  435. <Column id="sendrrgstno" type="STRING" size="256"/>
  436. <Column id="maincd" type="STRING" size="256"/>
  437. <Column id="healcarecd" type="STRING" size="256"/>
  438. <Column id="report" type="STRING" size="256"/>
  439. <Column id="email" type="STRING" size="256"/>
  440. </ColumnInfo>
  441. </Dataset>
  442. <Dataset id="ds_loaddata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_loaddata_oncolumnchanged">
  443. <ColumnInfo>
  444. <Column id="status" type="STRING" size="256"/>
  445. <Column id="proccorpcd" type="STRING" size="256"/>
  446. <Column id="rgstdd" type="STRING" size="256"/>
  447. <Column id="formnm" type="STRING" size="256"/>
  448. <Column id="appmannm" type="STRING" size="256"/>
  449. <Column id="insuno" type="STRING" size="256"/>
  450. <Column id="pathngnm" type="STRING" size="256"/>
  451. <Column id="rrgstno" type="STRING" size="256"/>
  452. <Column id="insuranceid" type="STRING" size="256"/>
  453. <Column id="startdate" type="STRING" size="256"/>
  454. <Column id="enddate" type="STRING" size="256"/>
  455. <Column id="genrdd" type="STRING" size="256"/>
  456. <Column id="remark" type="STRING" size="256"/>
  457. </ColumnInfo>
  458. </Dataset>
  459. <Dataset id="ds_upsamlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  460. <ColumnInfo>
  461. <Column id="pid" type="STRING" size="256"/>
  462. <Column id="hngnm" type="STRING" size="256"/>
  463. <Column id="rrgstno" type="STRING" size="256"/>
  464. <Column id="insuno" type="STRING" size="256"/>
  465. <Column id="serdiagno" type="STRING" size="256"/>
  466. <Column id="serdiagfromdd" type="STRING" size="256"/>
  467. <Column id="serdiagtodd" type="STRING" size="256"/>
  468. <Column id="ediremfact" type="STRING" size="256"/>
  469. </ColumnInfo>
  470. </Dataset>
  471. <Dataset id="ds_savedata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  472. <ColumnInfo>
  473. <Column id="samstr" type="STRING" size="256"/>
  474. </ColumnInfo>
  475. </Dataset>
  476. <Dataset id="ds_cond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  477. <ColumnInfo>
  478. <Column id="remanalyflag" type="STRING" size="256"/>
  479. </ColumnInfo>
  480. <Rows>
  481. <Row>
  482. <Col id="remanalyflag">send</Col>
  483. </Row>
  484. </Rows>
  485. </Dataset>
  486. <Dataset id="ds_serdiagdetllist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  487. <ColumnInfo>
  488. <Column id="genrdd" type="STRING" size="256"/>
  489. <Column id="genrno" type="STRING" size="256"/>
  490. <Column id="histno" type="STRING" size="256"/>
  491. <Column id="diagmthdcd" type="STRING" size="256"/>
  492. <Column id="instcd" type="STRING" size="256"/>
  493. <Column id="diagetccnts" type="STRING" size="256"/>
  494. </ColumnInfo>
  495. </Dataset>
  496. <Dataset id="ds_M0263" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  497. <ColumnInfo>
  498. <Column id="cdid" type="STRING" size="256"/>
  499. <Column id="cdnm" type="STRING" size="256"/>
  500. </ColumnInfo>
  501. </Dataset>
  502. <Dataset id="ds_updatedata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  503. <ColumnInfo>
  504. <Column id="pid" type="STRING" size="256"/>
  505. <Column id="genrdd" type="STRING" size="256"/>
  506. <Column id="genrno" type="STRING" size="256"/>
  507. <Column id="histno" type="STRING" size="256"/>
  508. <Column id="genrflagcd" type="STRING" size="256"/>
  509. <Column id="insukind" type="STRING" size="256"/>
  510. </ColumnInfo>
  511. <Rows>
  512. <Row/>
  513. </Rows>
  514. </Dataset>
  515. <Dataset id="ds_main_savedata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  516. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  517. <ColumnInfo>
  518. <Column id="status" type="STRING" size="256" sumtext="체크"/>
  519. <Column id="insuno" type="STRING" size="256" sumtext="건강보험증번호"/>
  520. <Column id="pathngnm" type="STRING" size="256" sumtext="수진자성명"/>
  521. <Column id="rrgstno" type="STRING" size="256" sumtext="수진자주민번호"/>
  522. <Column id="insuranceid" type="STRING" size="256" sumtext="중증번호"/>
  523. <Column id="startdate" type="STRING" size="256" sumtext="중증시작일자"/>
  524. <Column id="enddate" type="STRING" size="256" sumtext="중증종료일자"/>
  525. <Column id="remno" type="STRING" size="256" sumtext="코드"/>
  526. <Column id="remark" type="STRING" size="256" sumtext="비고"/>
  527. </ColumnInfo>
  528. <Rows>
  529. <Row/>
  530. </Rows>
  531. </Dataset>
  532. <Dataset id="ds_cmb_genrflagcd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  533. <ColumnInfo>
  534. <Column id="label" type="STRING" size="256"/>
  535. <Column id="value" type="STRING" size="256"/>
  536. </ColumnInfo>
  537. <Rows>
  538. <Row>
  539. <Col id="label">입원</Col>
  540. <Col id="value">I</Col>
  541. </Row>
  542. <Row>
  543. <Col id="label">외래</Col>
  544. <Col id="value">O</Col>
  545. </Row>
  546. </Rows>
  547. </Dataset>
  548. </Objects>
  549. <Bind>
  550. <BindItem id="item5" compid="group1.combo1" propid="value" datasetid="ds_srchinfo" columnid="srchkind"/>
  551. <BindItem id="item6" compid="group1.ipt_fromdd" propid="value" datasetid="ds_srchinfo" columnid="fromdd"/>
  552. <BindItem id="item7" compid="group1.ipt_todd" propid="value" datasetid="ds_srchinfo" columnid="todd"/>
  553. <BindItem id="item8" compid="group1.ipt_rrgstno" propid="value" datasetid="ds_srchinfo" columnid="sendrrgstno"/>
  554. <BindItem id="item9" compid="group1.rdo_sendyn" propid="value" datasetid="ds_srchinfo" columnid="sendyn"/>
  555. <BindItem id="item0" compid="group1.Edit00" propid="value" datasetid="ds_srchinfo" columnid="pid"/>
  556. <BindItem id="item1" compid="group1.chk_serdiagnoyn" propid="value" datasetid="ds_srchinfo" columnid="serdiagnoyn"/>
  557. <BindItem id="item3" compid="group1.chk_serdiagnoyn" propid="truevalue" datasetid="Y" columnid=""/>
  558. </Bind>
  559. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  560. * System Name :
  561. * Job Name :
  562. * Creator :
  563. * Make Date : 2014-11-07
  564. * Description :
  565. *---------------------------------------------------------------------------------------
  566. * Modify Date Modifier Modify Description
  567. *---------------------------------------------------------------------------------------
  568. * 2014-11-07 Live Converter TF->XP
  569. *
  570. *---------------------------------------------------------------------------------------
  571. ****************************************************************************************/
  572. include "com_commonxp::comm_main.xjs";
  573. //=======================================================================================
  574. // Event
  575. //---------------------------------------------------------------------------------------
  576. /****************************************************************************************
  577. * Components : Form
  578. * Components ID : SMMRD00200
  579. * Event : onload
  580. * Argument : 01.obj : Object Event has occurred
  581. * : 02.e : Event Object
  582. * Description : 화면오픈시 폼load이후 실행
  583. ****************************************************************************************/
  584. function SPMRD00200_onload(obj:Form, e:LoadEventInfo)
  585. {
  586. frmf_initForm(obj); // 폼 초기화
  587. var dd = utlf_getCurrentDate();
  588. ds_srchinfo.setColumn(0,"fromdd",dd);
  589. ds_srchinfo.setColumn(0,"todd",dd);
  590. grdf_initGrid(switch1.case1.grd_send);
  591. grdf_initGrid(switch1.case2.grd_recv);
  592. var arrParam = [{dsNm: "ds_M0263", cdGrpId: "M0263"}
  593. ]
  594. appf_getCodeList(arrParam);
  595. switch1.tabindex = 0;
  596. ds_srchinfo.setColumn(0,"srchkind","1");
  597. }
  598. /****************************************************************************************
  599. * Components : Button
  600. * Components ID : group1.btn_srch
  601. * Event : onclick
  602. * Argument : 01.obj : Object Event has occurred
  603. * : 02.e : Event Object
  604. * Description : 조회버튼 실행
  605. ****************************************************************************************/
  606. function btn_srch_onclick(obj:Button, e:ClickEventInfo)
  607. {
  608. var serdiagnoyn = ds_srchinfo.getColumn(0,"serdiagnoyn");
  609. var pid = ds_srchinfo.getColumn(0,"pid");
  610. if (serdiagnoyn == "Y" ) {
  611. if (utlf_isNull(pid)) {
  612. sysf_messageBox("등록번호를 반드시 입력하셔야 합니다","I");
  613. return;
  614. }
  615. }
  616. var sRemFlag = ds_cond.getColumn(0,"remanalyflag");
  617. if (sRemFlag == "send"){
  618. // submit("TRMRD00203");
  619. var oParam = {};
  620. oParam.id = "TRMRD00203";
  621. oParam.service = "dschanalyapp.DschAnaly";
  622. oParam.method = "reqGetSerDiagSAMList";
  623. oParam.inds = "req=ds_srchinfo";
  624. oParam.outds = "ds_serdiaglist=serdiaglist ds_serdiagdetllist=serdiagdetllist";
  625. oParam.async = false;
  626. oParam.callback = "";
  627. tranf_submit(oParam);
  628. } else if (sRemFlag == "edi"){
  629. // submit("TRMRD00206");
  630. var oParam = {};
  631. oParam.id = "TRMRD00206";
  632. oParam.service = "dschanalyapp.DschAnaly";
  633. oParam.method = "reqGetUpdateSAMList";
  634. oParam.inds = "req=ds_srchinfo";
  635. oParam.outds = "ds_upsamlist=upsamlist";
  636. oParam.async = false;
  637. oParam.callback = "";
  638. tranf_submit(oParam);
  639. }
  640. for(var i = 0 ; i < ds_serdiaglist.rowcount ; i++) {
  641. dsf_makeValue(ds_serdiaglist, "chkflag", "string", "Y", i);
  642. }
  643. }
  644. /****************************************************************************************
  645. * Components : Tab
  646. * Components ID : switch1
  647. * Event : onchanged
  648. * Argument : 01.obj : Object Event has occurred
  649. * : 02.e : Event Object
  650. * Description : 탭 페이지 변경
  651. ****************************************************************************************/
  652. function switch1_onchanged(obj:Tab, e:TabIndexChangeEventInfo)
  653. {
  654. if(e.postindex == 0) {
  655. fDisabled("send");
  656. dsf_makeValue(ds_cond,"remanalyflag","string","send");
  657. group1.btn_srch.visible = true;
  658. } else if(e.postindex == 1) {
  659. fDisabled("recv");
  660. dsf_makeValue(ds_cond,"remanalyflag","string","recv");
  661. group1.btn_srch.visible = false;
  662. } else {
  663. fDisabled("edi");
  664. dsf_makeValue(ds_cond,"remanalyflag","string","edi");
  665. group1.btn_srch.visible = true;
  666. }
  667. }
  668. /****************************************************************************************
  669. * Components : Button
  670. * Components ID : btn_save
  671. * Event : onclick
  672. * Argument : 01.obj : Object Event has occurred
  673. * : 02.e : Event Object
  674. * Description : 파일저장 버튼 실행
  675. ****************************************************************************************/
  676. function btn_save_onclick(obj:Button, e:ClickEventInfo)
  677. {
  678. ds_savedata.clearData();
  679. for (var i = 0; i < ds_serdiaglist.rowcount; i++) {
  680. var tmpChk = ds_serdiaglist.getColumn(i,"chkflag");
  681. if(tmpChk =="Y"){
  682. ds_updatedata.setColumn(0,"pid", ds_serdiaglist.getColumn(i,"pid"));
  683. ds_updatedata.setColumn(0,"genrdd", ds_serdiaglist.getColumn(i,"genrdd"));
  684. ds_updatedata.setColumn(0,"genrno", ds_serdiaglist.getColumn(i,"genrno"));
  685. ds_updatedata.setColumn(0,"histno", ds_serdiaglist.getColumn(i,"histno"));
  686. ds_updatedata.setColumn(0,"genrflagcd", ds_serdiaglist.getColumn(i,"genrflagcd"));
  687. ds_updatedata.setColumn(0,"insukind", ds_serdiaglist.getColumn(i,"insukind"));
  688. // model.setValue("/root/init/savedata/savedata/samstr", model.getValue("/root/main/listinfo/serdiaglist/serdiaglist["+i+"]/samstr"));
  689. ds_savedata.setColumn(ds_savedata.addRow(),"samstr",ds_serdiaglist.getColumn(i,"samstr"));
  690. dsf_copyDs(ds_main_savedata,ds_savedata,"after");
  691. // submit("TXMRD00205");
  692. }
  693. }
  694. if( lf_grdf_exportCsv(grd_filedata, "text", "", "") != false ){
  695. alert("저장이 완료되었습니다.");
  696. }
  697. ds_savedata.clearData();
  698. }
  699. function lf_grdf_exportCsv(objGrid, sFileName, sFilePath, sfileOpen)
  700. {
  701. var strValue = "";
  702. var objDs = eval(objGrid.binddataset);
  703. if(utlf_isNull(sFileName)){
  704. sFileName = objGrid.name + "_temp";
  705. }
  706. //fileopen 여부
  707. if(utlf_isNull(sfileOpen)){
  708. sfileOpen = "none";
  709. }else{
  710. sfileOpen = String(sfileOpen).toUpperCase();
  711. }
  712. var strFileName = sFileName+".txt";
  713. var newFilePath;
  714. var preFilePath;
  715. var objExtCommon = new ExtCommon();
  716. // 저장이면 파일 다이얼로그를 통하여 저장 경로를 선택한다.
  717. if (utlf_isNull(sFilePath))
  718. {
  719. var fd = new FileDialog();
  720. var vFile_down = fd.open("Excel Export", FileDialog.SAVE ,"%MYDOCUMENT%", strFileName);
  721. if (utlf_isNull(vFile_down))
  722. {
  723. return false;
  724. }
  725. strFileName = vFile_down.fullpath;
  726. }else{
  727. // export 시 내문서로 저장이 되기 때문에 파일 이동을 한다.
  728. var userHomeDir = system.convertRealPath("%MYDOCUMENT%");
  729. strFileName = userHomeDir + strFileName.replace(".txt","") + ".txt";
  730. preFilePath = strFileName;
  731. }
  732. //쉼표로 구분자를 준 CSV 형식의 그리드 데이터
  733. strValue = objGrid.getCsvData();
  734. var vfile = new VirtualFile();
  735. var to_day = new Date();
  736. var sTxt;
  737. sTxt = strValue.replace(String.fromCharCode(10),"\r\n");
  738. sTxt = sTxt.replace('"','');
  739. sTxt = sTxt + "\r\n";
  740. vfile.open(strFileName, VirtualFile.openWrite | VirtualFile.openText);
  741. var bSuccess2 = vfile.write(sTxt, "euc-kr");
  742. var bSuccess3 = vfile.close();
  743. vfile = null;
  744. var exeFileNM;
  745. if(!utlf_isNull(sFilePath)) //파일경로가 입력 되었을 경우
  746. {
  747. newFilePath = sFilePath + sFileName.replace(".txt","") + ".txt";
  748. if(objExtCommon.IsFileExist(newFilePath)) objExtCommon.DeleteFile(newFilePath);
  749. var rtn = objExtCommon.MoveFile(path, newFilePath, false);
  750. exeFileNM = newFilePath;
  751. } else{
  752. exeFileNM = strFileName;
  753. }
  754. if(sfileOpen == "OPEN"){
  755. objExtCommon.executeProcess(exeFileNM, "","");
  756. }else if(sfileOpen == "USER"){
  757. var bOK;
  758. bOK = confirm( "확인", "TXT파일을 열어보시겠습니까?", "question");
  759. if(bOK){
  760. objExtCommon.executeProcess(exeFileNM, "","");
  761. }
  762. }
  763. }
  764. /****************************************************************************************
  765. * Components : Button
  766. * Components ID : btn_load
  767. * Event : onclick
  768. * Argument : 01.obj : Object Event has occurred
  769. * : 02.e : Event Object
  770. * Description : 파일열기 버튼 실행(Excel업로드)
  771. ****************************************************************************************/
  772. function btn_load_onclick(obj:Button, e:ClickEventInfo)
  773. {
  774. // model.resetInstanceNode("/root/main/openlist/loaddata/item");
  775. ds_loaddata.clearData();
  776. switch1.case2.grd_recv.setFormat("load");
  777. // knuh_20110119 엑셀로 변경
  778. grdf_ImportExcel("ds_loaddata", 2, switch1.case2.grd_recv, 1);
  779. if(ds_loaddata.rowcount > 0) {
  780. for(var i = 0 ; i < ds_loaddata.rowcount ; i++) {
  781. ds_loaddata.setColumn(i,"status","Y");
  782. }
  783. }
  784. switch1.case2.grd_recv.setFormat("default");
  785. btn_update.enable = true;
  786. }
  787. /****************************************************************************************
  788. * Components : Button
  789. * Components ID : btn_update
  790. * Event : onclick
  791. * Argument : 01.obj : Object Event has occurred
  792. * : 02.e : Event Object
  793. * Description : Excel 업로드한 내용 저장
  794. ****************************************************************************************/
  795. function btn_update_onclick(obj:Button, e:ClickEventInfo)
  796. {
  797. // var rows = grd_recv.rows - grd_recv.fixedRows;
  798. var rows = ds_loaddata.rowcount;
  799. // knuh_20110420_수정
  800. //var savedata = "status▦insuno▦pathngnm▦rrgstno▦insuranceid▦startdate▦enddate▦remno▦bun▦remark▩";
  801. // var savedata = "status▦insuno▦pathngnm▦rrgstno▦insuranceid▦startdate▦enddate▩";
  802. ds_send.clearData();
  803. for(var i = 0 ; i < rows ; i++) {
  804. var chk = ds_loaddata.getColumn(i,"status");
  805. if (chk == "Y") {
  806. var nAddRow = ds_send.addRow();
  807. ds_send.copyRow(nAddRow, ds_loaddata, i);
  808. var startdate = utlf_transNullToEmpty(ds_send.getColumn(nAddRow, "startdate"));
  809. startdate = startdate.setReplaceWord("/", "");
  810. var enddate = utlf_transNullToEmpty(ds_send.getColumn(nAddRow, "enddate"));
  811. enddate = enddate.setReplaceWord("/", "");
  812. ds_send.setColumn(nAddRow, "startdate", startdate);
  813. ds_send.setColumn(nAddRow, "enddate", enddate);
  814. }
  815. }
  816. var oParam = {};
  817. oParam.id = "TXMRD00204";
  818. oParam.service = "dschanalyapp.DschAnaly";
  819. oParam.method = "reqExeSaveSerDiagUpdate";
  820. oParam.inds = "savedata=ds_send";
  821. oParam.outds = "ds_serdiaglist=serdiaglist";
  822. oParam.async = false;
  823. oParam.callback = "cf_TXMRD00204";
  824. tranf_submit(oParam);
  825. ds_loaddata.clearData();
  826. }
  827. /****************************************************************************************
  828. * Components : Dataset
  829. * Components ID : ds_loaddata
  830. * Event : oncolumnchanged
  831. * Argument : 01.obj : Object Event has occurred
  832. * : 02.e : Event Object
  833. * Description : Grid 내 checkbox 값 변경을 위함
  834. ****************************************************************************************/
  835. function ds_loaddata_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
  836. {
  837. if(e.columnid=="status") {
  838. obj.setColumn(e.row,e.columnid,(e.newvalue=="Y"||e.newvalue==1)?"Y":"N");
  839. }
  840. }
  841. function ds_serdiaglist_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
  842. {
  843. if(e.columnid=="chkflag") {
  844. obj.setColumn(e.row,e.columnid,(e.newvalue=="Y"||e.newvalue==1)?"Y":"N");
  845. }
  846. }
  847. //=======================================================================================
  848. // Function
  849. //---------------------------------------------------------------------------------------
  850. /****************************************************************************************
  851. * Function : fDisabled
  852. * Description : tab page별 버튼활성화 설정
  853. * Argument :
  854. * :
  855. * return type :
  856. * Creator :
  857. ****************************************************************************************/
  858. function fDisabled(flag){
  859. if(flag=="send"){
  860. var dd = utlf_getCurrentDate();
  861. // var sendValue = ds_srchinfo.getColumn(0,"sendyn");
  862. ds_srchinfo.setColumn(0,"fromdd",dd);
  863. ds_srchinfo.setColumn(0,"todd",dd);
  864. btn_save.enable = true;
  865. btn_load.enable = false;
  866. btn_update.enable = false;
  867. }else if(flag=="recv"){
  868. group1.caption2.visible = false;
  869. group1.ipt_rrgstno.visible = false;
  870. btn_save.enable = false;
  871. btn_load.enable = true;
  872. }else if(flag=="edi"){
  873. var dd = utlf_getCurrentDate();
  874. // var sendValue = ds_srchinfo.getColumn(0,"sendyn");
  875. ds_srchinfo.setColumn(0,"fromdd",dd);
  876. ds_srchinfo.setColumn(0,"todd",dd);
  877. group1.caption2.visible = false;
  878. group1.ipt_rrgstno.visible = false;
  879. btn_save.enable = false;
  880. btn_load.enable = false;
  881. btn_update.enable = false;
  882. }
  883. }
  884. /****************************************************************************************
  885. * Function : cf_TXMRD00204
  886. * Description : TXMRD00204 콜백함수
  887. * Argument :
  888. * :
  889. * return type :
  890. * Creator :
  891. ****************************************************************************************/
  892. function cf_TXMRD00204(sSvcId, nErrorCode, sErrorMsg) {
  893. if(nErrorCode < 0) {
  894. sysf_messageBox("저장에", "E009");
  895. return;
  896. } else {
  897. sysf_messageBox("저장이","I002");
  898. }
  899. }
  900. function switch1_case1_grd_send_oncelldblclick(obj:Grid, e:GridClickEventInfo)
  901. {
  902. if ( e.row < 0 || e.col < 0) {
  903. return;
  904. }
  905. var row = e.row;
  906. var oDs = this.objects[obj.binddataset];
  907. var sGenrDd = oDs.getColumn(row, "genrdd");
  908. var sGenrNo = oDs.getColumn(row, "genrno");
  909. var sHistNo = oDs.getColumn(row, "histno");
  910. frmf_setParameter("SPMMO11500_genrdd", sGenrDd);
  911. frmf_setParameter("SPMMO11500_genrno", sGenrNo);
  912. frmf_setParameter("SPMMO11500_histno", sHistNo);
  913. frmf_setParameter("SPMMO11500_viewmode", "Y");
  914. if(sGenrDd < "20190301" ) { // 20190301 이전
  915. frmf_modal("SPMMO11500", "SPMMO11500", null, null, null, null, null, null, null, null, null, null, "M");
  916. } else {
  917. frmf_modal("SPMMO11510", "SPMMO11510", null, null, null, null, null, null, null, null, null, null, "M");
  918. }
  919. frmf_clearParameter("SPMMO11500_genrdd");
  920. frmf_clearParameter("SPMMO11500_genrno");
  921. frmf_clearParameter("SPMMO11500_histno");
  922. frmf_clearParameter("SPMMO11500_viewmode");
  923. }
  924. ]]></Script>
  925. </Form>
  926. </FDL>