SMPIJ02600_메세지현황.xfdl 27 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMPIJ02600" position="absolute 0 0 1219 788" titletext="메세지 현황" onload="SMPIJ02600_onload">
  5. <Layouts>
  6. <Layout>
  7. <Static id="Static01" class="sta_DA_box" position="absolute 598 520 1195 735"/>
  8. <Static id="Static00" position="absolute 0 520 587 735" class="sta_DA_box"/>
  9. <TextArea id="txt_recv" taborder="14" position="absolute 601 524 1191 731" imemode="hangul" enable="false" positiontype="position" wordwrap="word" scrollbars="autovert"/>
  10. <Div id="group5" taborder="9" style="align:center top;" class="div_SA" position="absolute 0 27 1194 69">
  11. <Layouts>
  12. <Layout>
  13. <Static id="caption10" text="수신처" class="search_name" position="absolute 8 10 82 30" anchor="default" positiontype="position"/>
  14. <Radio id="chkdate" taborder="1" columncount="3" rowcount="1" codecolumn="codecolumn" datacolumn="datacolumn" position="absolute 373 10 528 30" anchor="default" positiontype="position">
  15. <Dataset id="innerdataset">
  16. <ColumnInfo>
  17. <Column id="codecolumn" size="256"/>
  18. <Column id="datacolumn" size="256"/>
  19. </ColumnInfo>
  20. <Rows>
  21. <Row>
  22. <Col id="codecolumn">1</Col>
  23. <Col id="datacolumn">처방일자</Col>
  24. </Row>
  25. <Row>
  26. <Col id="codecolumn">2</Col>
  27. <Col id="datacolumn">송신일자</Col>
  28. </Row>
  29. </Rows>
  30. </Dataset>
  31. </Radio>
  32. <Static id="caption2" text="등록번호" class="search_name" position="absolute 752 10 826 30" anchor="default" positiontype="position"/>
  33. <Radio id="chkflag" taborder="2" columncount="3" rowcount="1" codecolumn="codecolumn" datacolumn="datacolumn" position="absolute 925 10 1085 30" anchor="default" positiontype="position">
  34. <Dataset id="innerdataset">
  35. <ColumnInfo>
  36. <Column id="codecolumn" size="256"/>
  37. <Column id="datacolumn" size="256"/>
  38. </ColumnInfo>
  39. <Rows>
  40. <Row>
  41. <Col id="codecolumn">1</Col>
  42. <Col id="datacolumn">전체</Col>
  43. </Row>
  44. <Row>
  45. <Col id="codecolumn">2</Col>
  46. <Col id="datacolumn">응답</Col>
  47. </Row>
  48. <Row>
  49. <Col id="codecolumn">3</Col>
  50. <Col id="datacolumn">미응답</Col>
  51. </Row>
  52. </Rows>
  53. </Dataset>
  54. </Radio>
  55. <Button id="btn_search" taborder="3" text="조회" onclick="btn_search_onclick" class="btn1" position="absolute 1126 10 1182 30" anchor="default" positiontype="position"/>
  56. <Static id="caption1" text="심사자(송신자)" class="search_name" position="absolute 164 10 277 30" anchor="default" positiontype="position"/>
  57. <Combo id="cmb_sendflag" taborder="4" class="combo_search" position="absolute 85 10 140 30" anchor="default" positiontype="position" codecolumn="cdid" datacolumn="cdnm" innerdataset="@ds_init_sendflag"/>
  58. <Combo id="cmb_judgrid" taborder="5" class="combo_search" position="absolute 280 10 370 30" anchor="default" positiontype="position" innerdataset="@ds_init_judgrid" codecolumn="userid" datacolumn="usernm"/>
  59. <Calendar id="ipt_todd" taborder="6" class="input_search" position="absolute 638 10 728 30" anchor="default" dateformat="yyyy-MM-dd" value="null" positiontype="position" autoselect="true"/>
  60. <Calendar id="ipt_fromdd" taborder="7" class="input_search" position="absolute 531 10 621 30" anchor="default" dateformat="yyyy-MM-dd" value="null" positiontype="position" autoselect="true"/>
  61. <Static id="caption5" text="~" position="absolute 624 10 639 30" anchor="default" positiontype="position"/>
  62. <Edit id="ipt_pid" taborder="8" class="input_s_essential" position="absolute 845 10 915 30" imemode="hangul" positiontype="position" inputtype="number" maxlength="9" autoselect="true" onkeydown="group5_ipt_pid_onkeydown"/>
  63. </Layout>
  64. </Layouts>
  65. </Div>
  66. <Grid id="grd_sendmsglist" taborder="11" useinputpanel="false" onkeydown="grd_sendmsglist_onkeydown" position="absolute 0 100 1196 490" binddataset="ds_grid_grd_sendmsglist" positiontype="position" ondbclick="grd_sendmsglist_ondbclick" autosizingtype="none" extendsizetype="row" oncellclick="grd_sendmsglist_oncellclick" onheadclick="grd_sendmsglist_onheadclick" cellsizingtype="col" cellmovingtype="col">
  67. <Formats>
  68. <Format id="default">
  69. <Columns>
  70. <Column size="65"/>
  71. <Column size="66"/>
  72. <Column size="55"/>
  73. <Column size="65"/>
  74. <Column size="63"/>
  75. <Column size="90"/>
  76. <Column size="77"/>
  77. <Column size="484"/>
  78. <Column size="76"/>
  79. <Column size="120"/>
  80. <Column size="76"/>
  81. <Column size="115"/>
  82. <Column size="236"/>
  83. <Column size="73"/>
  84. <Column size="91"/>
  85. <Column size="108"/>
  86. <Column size="115"/>
  87. <Column size="96"/>
  88. <Column size="204"/>
  89. <Column size="61"/>
  90. <Column size="61"/>
  91. <Column size="54"/>
  92. <Column size="60"/>
  93. <Column size="0"/>
  94. <Column size="0"/>
  95. <Column size="0"/>
  96. <Column size="0"/>
  97. </Columns>
  98. <Rows>
  99. <Row size="24" band="head"/>
  100. <Row size="24"/>
  101. </Rows>
  102. <Band id="head">
  103. <Cell text="진료형태"/>
  104. <Cell col="1" text="종류구분"/>
  105. <Cell col="2" text="수신처"/>
  106. <Cell col="3" text="등록번호"/>
  107. <Cell col="4" text="환자명"/>
  108. <Cell col="5" text="진료과"/>
  109. <Cell col="6" text="지정수신자"/>
  110. <Cell col="7" text="송신내용"/>
  111. <Cell col="8" text="송신자"/>
  112. <Cell col="9" text="송신일시"/>
  113. <Cell col="10" text="수신확인자"/>
  114. <Cell col="11" text="수신일시"/>
  115. <Cell col="12" text="수신내용"/>
  116. <Cell col="13" text="anybody"/>
  117. <Cell col="14" text="연속조회여부"/>
  118. <Cell col="15" text="주(M)/부(S)유형"/>
  119. <Cell col="16" text="진료일시"/>
  120. <Cell col="17" text="처방코드"/>
  121. <Cell col="18" text="처방코드명칭"/>
  122. <Cell col="19" text="처방급비"/>
  123. <Cell col="20" text="처방수량"/>
  124. <Cell col="21" text="처방횟수"/>
  125. <Cell col="22" text="처방일수"/>
  126. <Cell col="23" text="instcd"/>
  127. <Cell col="24" text="msgwrtedd"/>
  128. <Cell col="25" text="msgwrteno"/>
  129. <Cell col="26" text="msgwrtehistno"/>
  130. </Band>
  131. <Band id="body">
  132. <Cell style="align:center middle;" text="bind:ordtype"/>
  133. <Cell col="1" style="align:center middle;" text="bind:kindflag"/>
  134. <Cell col="2" style="align:center middle;" text="bind:sendflag"/>
  135. <Cell col="3" style="align:center middle;" text="bind:pid"/>
  136. <Cell col="4" style="align:center middle;" text="bind:hngnm"/>
  137. <Cell col="5" style="align:center middle;" text="bind:orddeptcd"/>
  138. <Cell col="6" style="align:center middle;" text="bind:deliveid"/>
  139. <Cell col="7" style="align:left middle;" text="bind:sendmsg" wordwrap="word"/>
  140. <Cell col="8" style="align:center middle;" text="bind:sendid"/>
  141. <Cell col="9" displaytype="date" edittype="none" style="align:left;" text="bind:senddate" mask="yyyy/MM/dd HH:mm:ss" calendardisplaynulltype="none"/>
  142. <Cell col="10" style="align:center middle;" text="bind:recvid"/>
  143. <Cell col="11" displaytype="date" edittype="none" style="align:left;" text="bind:recvdate" mask="yyyy/MM/dd HH:mm:ss" calendardisplaynulltype="none"/>
  144. <Cell col="12" text="bind:recvmsg"/>
  145. <Cell col="13" style="align:center middle;" text="bind:anybodyyn"/>
  146. <Cell col="14" style="align:center middle;" text="bind:recvcnfmyn"/>
  147. <Cell col="15" style="align:center middle;" text="bind:mskind"/>
  148. <Cell col="16" displaytype="date" edittype="none" style="align:left;" text="bind:rgstdt" mask="yyyy/MM/dd HH:mm:ss" calendardisplaynulltype="none"/>
  149. <Cell col="17" text="bind:grupcalcscorcd"/>
  150. <Cell col="18" text="bind:codehngnm"/>
  151. <Cell col="19" displaytype="normal" edittype="none" style="align:left;" text="bind:prcppayflag" calendardisplaynulltype="none"/>
  152. <Cell col="20" displaytype="normal" edittype="none" style="align:left;" text="bind:ordqty" calendardisplaynulltype="none"/>
  153. <Cell col="21" style="align:center middle;" text="bind:ordtims"/>
  154. <Cell col="22" style="align:center middle;" text="bind:orddays"/>
  155. <Cell col="23" text="bind:instcd"/>
  156. <Cell col="24" text="bind:msgwrtedd"/>
  157. <Cell col="25" text="bind:msgwrteno"/>
  158. <Cell col="26" text="bind:msgwrtehistno"/>
  159. <Cell col="27"/>
  160. <Cell col="28"/>
  161. </Band>
  162. </Format>
  163. </Formats>
  164. </Grid>
  165. <Static id="caption3" text="메세지 송신내역" class="tit_2" position="absolute -1 80 149 100" positiontype="position"/>
  166. <Combo id="cmb_recvcnfmyn" taborder="12" class="combo_search" position="absolute 497 497 587 517" positiontype="position" codecolumn="cdid" datacolumn="cdnm" innerdataset="@ds_init_recvcnfmyn"/>
  167. <Static id="caption7" text="보낸 메세지" class="tit_2" position="absolute 0 500 157 520" positiontype="position"/>
  168. <Static id="caption9" text="연속조회여부" class="search_name" position="absolute 379 497 492 517" positiontype="position"/>
  169. <TextArea id="txt_send" taborder="13" position="absolute 3 524 584 731" imemode="hangul" positiontype="position" scrollbars="autovert" wordwrap="word"/>
  170. <Static id="caption8" text="받은 메세지" class="tit_2" position="absolute 609 500 766 520" positiontype="position"/>
  171. <Button id="button1" taborder="15" text="엑셀" onlbuttonup="button1_onlbuttonup" class="btn7" position="absolute 963 738 1019 758" positiontype="position" onclick="button1_onclick"/>
  172. <Button id="btn_modify" taborder="16" text="수정" onlbuttonup="btn_modify_onlbuttonup" class="btn4" position="absolute 1022 738 1078 758" positiontype="position" onclick="btn_modify_onclick"/>
  173. <Button id="btn_delete" taborder="17" text="삭제" onlbuttonup="btn_delete_onlbuttonup" class="btn4" position="absolute 1081 738 1137 758" positiontype="position" onclick="btn_delete_onclick"/>
  174. <Static id="caption00" text="메세지현황" class="tit_1" position="absolute 0 0 177 26"/>
  175. <Button id="btn_close" taborder="18" text="닫기" onclick="btn_close_onclick" class="btn4" position="absolute 1139 738 1195 758" anchor="top right"/>
  176. </Layout>
  177. </Layouts>
  178. <Objects>
  179. <Dataset id="ds_grid_grd_sendmsglist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  180. <ColumnInfo>
  181. <Column id="ordtype" type="STRING"/>
  182. <Column id="kindflag" type="STRING"/>
  183. <Column id="sendflag" type="STRING"/>
  184. <Column id="pid" type="STRING"/>
  185. <Column id="hngnm" type="STRING"/>
  186. <Column id="orddeptcd" type="STRING"/>
  187. <Column id="deliveid" type="STRING"/>
  188. <Column id="sendmsg" type="STRING"/>
  189. <Column id="sendid" type="STRING"/>
  190. <Column id="senddate" type="STRING"/>
  191. <Column id="recvid" type="STRING"/>
  192. <Column id="recvdate" type="STRING"/>
  193. <Column id="recvmsg" type="STRING"/>
  194. <Column id="anybodyyn" type="STRING"/>
  195. <Column id="recvcnfmyn" type="STRING"/>
  196. <Column id="mskind" type="STRING"/>
  197. <Column id="rgstdt" type="STRING"/>
  198. <Column id="grupcalcscorcd" type="STRING"/>
  199. <Column id="codehngnm" type="STRING"/>
  200. <Column id="prcppayflag" type="STRING"/>
  201. <Column id="ordqty" type="STRING"/>
  202. <Column id="ordtims" type="STRING"/>
  203. <Column id="orddays" type="STRING"/>
  204. <Column id="instcd" type="STRING"/>
  205. <Column id="msgwrtedd" type="STRING"/>
  206. <Column id="msgwrteno" type="STRING"/>
  207. <Column id="msgwrtehistno" type="STRING"/>
  208. </ColumnInfo>
  209. </Dataset>
  210. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  211. <ColumnInfo>
  212. <Column id="fromdd" type="STRING" size="256"/>
  213. <Column id="todd" type="STRING" size="256"/>
  214. <Column id="pid" type="STRING" size="256"/>
  215. <Column id="chkflag" type="STRING" size="256"/>
  216. <Column id="judgrid" type="STRING" size="256"/>
  217. <Column id="updatedata" type="STRING" size="256"/>
  218. <Column id="sendflag" type="STRING" size="256"/>
  219. <Column id="chkdate" type="STRING" size="256"/>
  220. </ColumnInfo>
  221. <Rows>
  222. <Row>
  223. <Col id="chkflag">1</Col>
  224. <Col id="chkdate">2</Col>
  225. </Row>
  226. </Rows>
  227. </Dataset>
  228. <Dataset id="ds_init_judgrid" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  229. <ColumnInfo>
  230. <Column id="userid" type="STRING" size="255"/>
  231. <Column id="usernm" type="STRING" size="255"/>
  232. </ColumnInfo>
  233. <Rows>
  234. <Row>
  235. <Col id="userid">-</Col>
  236. <Col id="usernm">전체</Col>
  237. </Row>
  238. <Row>
  239. <Col id="userid">19860094</Col>
  240. <Col id="usernm">김민아</Col>
  241. </Row>
  242. <Row>
  243. <Col id="userid">19910202</Col>
  244. <Col id="usernm">최혜영</Col>
  245. </Row>
  246. <Row>
  247. <Col id="userid">19990359</Col>
  248. <Col id="usernm">성민주</Col>
  249. </Row>
  250. <Row>
  251. <Col id="userid">20010116</Col>
  252. <Col id="usernm">안혜영</Col>
  253. </Row>
  254. <Row>
  255. <Col id="userid">20010145</Col>
  256. <Col id="usernm">이병숙</Col>
  257. </Row>
  258. <Row>
  259. <Col id="userid">20010161</Col>
  260. <Col id="usernm">성민아</Col>
  261. </Row>
  262. <Row>
  263. <Col id="userid">20010219</Col>
  264. <Col id="usernm">이순아</Col>
  265. </Row>
  266. <Row>
  267. <Col id="userid">20010891</Col>
  268. <Col id="usernm">조숙영</Col>
  269. </Row>
  270. <Row>
  271. <Col id="userid">20011009</Col>
  272. <Col id="usernm">한윤주</Col>
  273. </Row>
  274. <Row>
  275. <Col id="userid">20011054</Col>
  276. <Col id="usernm">이수정</Col>
  277. </Row>
  278. <Row>
  279. <Col id="userid">20011088</Col>
  280. <Col id="usernm">김주라</Col>
  281. </Row>
  282. <Row>
  283. <Col id="userid">20011100</Col>
  284. <Col id="usernm">김은경</Col>
  285. </Row>
  286. <Row>
  287. <Col id="userid">20011112</Col>
  288. <Col id="usernm">김성민</Col>
  289. </Row>
  290. <Row>
  291. <Col id="userid">20011113</Col>
  292. <Col id="usernm">남상명</Col>
  293. </Row>
  294. <Row>
  295. <Col id="userid">20011227</Col>
  296. <Col id="usernm">김미성</Col>
  297. </Row>
  298. <Row>
  299. <Col id="userid">20020042</Col>
  300. <Col id="usernm">김경미</Col>
  301. </Row>
  302. <Row>
  303. <Col id="userid">20020581</Col>
  304. <Col id="usernm">홍화목</Col>
  305. </Row>
  306. <Row>
  307. <Col id="userid">20020584</Col>
  308. <Col id="usernm">박문실</Col>
  309. </Row>
  310. <Row>
  311. <Col id="userid">20030243</Col>
  312. <Col id="usernm">황지은</Col>
  313. </Row>
  314. <Row>
  315. <Col id="userid">20040279</Col>
  316. <Col id="usernm">김경남</Col>
  317. </Row>
  318. <Row>
  319. <Col id="userid">20040370</Col>
  320. <Col id="usernm">성혜미</Col>
  321. </Row>
  322. <Row>
  323. <Col id="userid">20040480</Col>
  324. <Col id="usernm">이은옥</Col>
  325. </Row>
  326. <Row>
  327. <Col id="userid">20050022</Col>
  328. <Col id="usernm">우현미</Col>
  329. </Row>
  330. <Row>
  331. <Col id="userid">20050409</Col>
  332. <Col id="usernm">이재은</Col>
  333. </Row>
  334. <Row>
  335. <Col id="userid">20060432</Col>
  336. <Col id="usernm">김효진</Col>
  337. </Row>
  338. <Row>
  339. <Col id="userid">20060856</Col>
  340. <Col id="usernm">민진숙</Col>
  341. </Row>
  342. <Row>
  343. <Col id="userid">20120914</Col>
  344. <Col id="usernm">장새연</Col>
  345. </Row>
  346. <Row>
  347. <Col id="userid">20130984</Col>
  348. <Col id="usernm">김가영</Col>
  349. </Row>
  350. </Rows>
  351. </Dataset>
  352. <Dataset id="ds_init_sendflag" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  353. <ColumnInfo>
  354. <Column id="cdid" type="STRING" size="256"/>
  355. <Column id="cdnm" type="STRING" size="256"/>
  356. </ColumnInfo>
  357. <Rows>
  358. <Row>
  359. <Col id="cdid"/>
  360. <Col id="cdnm">전체</Col>
  361. </Row>
  362. <Row>
  363. <Col id="cdid">O</Col>
  364. <Col id="cdnm">진료</Col>
  365. </Row>
  366. <Row>
  367. <Col id="cdid">C</Col>
  368. <Col id="cdnm">간호</Col>
  369. </Row>
  370. <Row>
  371. <Col id="cdid">P</Col>
  372. <Col id="cdnm">원무</Col>
  373. </Row>
  374. <Row>
  375. <Col id="cdid">R</Col>
  376. <Col id="cdnm">수납</Col>
  377. </Row>
  378. </Rows>
  379. </Dataset>
  380. <Dataset id="ds_main_msginfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  381. <ColumnInfo>
  382. <Column id="sendmsg" type="STRING" size="256"/>
  383. <Column id="msgwrtedd" type="STRING" size="256"/>
  384. <Column id="recvmsg" type="STRING" size="256"/>
  385. <Column id="recvcnfmyn" type="STRING" size="256"/>
  386. </ColumnInfo>
  387. </Dataset>
  388. <Dataset id="ds_init_recvcnfmyn" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  389. <ColumnInfo>
  390. <Column id="cdid" type="STRING" size="256"/>
  391. <Column id="cdnm" type="STRING" size="256"/>
  392. </ColumnInfo>
  393. <Rows>
  394. <Row>
  395. <Col id="cdid">1</Col>
  396. <Col id="cdnm">Y</Col>
  397. </Row>
  398. <Row>
  399. <Col id="cdid">0</Col>
  400. <Col id="cdnm">N</Col>
  401. </Row>
  402. </Rows>
  403. </Dataset>
  404. <Dataset id="ds_send_updatedata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  405. <ColumnInfo>
  406. <Column id="sendmsg" type="STRING" size="256"/>
  407. <Column id="recvcnfmyn" type="STRING" size="256"/>
  408. <Column id="msgwrtedd" type="STRING" size="256"/>
  409. <Column id="msgwrteno" type="STRING" size="256"/>
  410. <Column id="msgwrtehistno" type="STRING" size="256"/>
  411. <Column id="workflag" type="STRING" size="256"/>
  412. </ColumnInfo>
  413. </Dataset>
  414. </Objects>
  415. <Bind>
  416. <BindItem id="item0" compid="group5.cmb_sendflag" propid="value" datasetid="ds_send" columnid="sendflag"/>
  417. <BindItem id="item1" compid="group5.cmb_judgrid" propid="value" datasetid="ds_send" columnid="judgrid"/>
  418. <BindItem id="item2" compid="group5.chkdate" propid="value" datasetid="ds_send" columnid="chkdate"/>
  419. <BindItem id="item3" compid="group5.ipt_fromdd" propid="value" datasetid="ds_send" columnid="fromdd"/>
  420. <BindItem id="item4" compid="group5.ipt_todd" propid="value" datasetid="ds_send" columnid="todd"/>
  421. <BindItem id="item5" compid="group5.ipt_pid" propid="value" datasetid="ds_send" columnid="pid"/>
  422. <BindItem id="item6" compid="group5.chkflag" propid="value" datasetid="ds_send" columnid="chkflag"/>
  423. <BindItem id="item7" compid="txt_send" propid="value" datasetid="ds_main_msginfo" columnid="sendmsg"/>
  424. <BindItem id="item8" compid="cmb_recvcnfmyn" propid="value" datasetid="ds_main_msginfo" columnid="recvcnfmyn"/>
  425. <BindItem id="item9" compid="txt_recv" propid="value" datasetid="ds_main_msginfo" columnid="recvmsg"/>
  426. </Bind>
  427. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  428. * System Name :
  429. * Job Name :
  430. * Creator :
  431. * Make Date : 2016-05-24
  432. * Description :
  433. *---------------------------------------------------------------------------------------
  434. * Modify Date Modifier Modify Description
  435. *---------------------------------------------------------------------------------------
  436. * 2016-05-24 Live Converter TF->XP
  437. *
  438. *---------------------------------------------------------------------------------------
  439. ****************************************************************************************/
  440. include "com_commonxp::comm_main.xjs";
  441. include "com_basiccodexp::ZBC001.xjs";
  442. function lf_initDataSet()
  443. {
  444. this.cmb_judgrid.innerdataset = "ds_init_cmb_judgrid";
  445. this.cmb_judgrid.codecolumn = "cd";
  446. this.cmb_judgrid.datacolumn = "nm";
  447. }
  448. function lf_Initialize()
  449. {
  450. var curDate = utlf_getCurrentDate();
  451. ds_send.setColumn(0, "fromdd", curDate);
  452. ds_send.setColumn(0, "todd", curDate);
  453. var oParam = {};
  454. oParam.id = "TRPIJ02503";
  455. oParam.service = "bfjudgapp.MsgManag";
  456. oParam.method = "reqGetJudgList";
  457. oParam.inds = "req=ds_send";
  458. oParam.outds = "ds_init_judgrid=judgrid";
  459. oParam.async = false;
  460. tranf_submit(oParam);
  461. var fRow = ds_init_judgrid.findRow("userid", "-");
  462. ds_init_judgrid.setColumn(fRow, "userid", "");
  463. this.group5.cmb_sendflag.value = ""; // 수신처
  464. this.group5.cmb_judgrid.value = ""; // 심사자
  465. //팝업으로 호출시
  466. if (frmf_checkOpener()) {
  467. curDate = utlf_addMonth(curDate, -6);
  468. var nextDate = curDate;
  469. ds_send.setColumn(0, "chkdate", "2");
  470. ds_send.setColumn(0, "fromdd", nextDate);
  471. ds_send.setColumn(0, "chkflag", "1");
  472. ds_send.setColumn(0, "pid", sPid); // 부모창에서 넘길값
  473. btn_search_onclick();
  474. }
  475. }
  476. function lf_Save(flag)
  477. {
  478. if ( flag == "U" ) {
  479. var vrecvcnfmyn = "";
  480. if ( ds_main_msginfo.getColumn(0, "recvcnfmyn") == "1" ) {
  481. vrecvcnfmyn = "Y";
  482. } else {
  483. vrecvcnfmyn = "N";
  484. }
  485. }
  486. ds_send_updatedata.clearData();
  487. ds_send_updatedata.addRow();
  488. ds_send_updatedata.setColumn(0, "sendmsg", ds_main_msginfo.getColumn(0, "sendmsg"));
  489. ds_send_updatedata.setColumn(0, "recvcnfmyn", vrecvcnfmyn);
  490. ds_send_updatedata.setColumn(0, "msgwrtedd", ds_grid_grd_sendmsglist.getColumn(ds_grid_grd_sendmsglist.rowposition, "msgwrtedd"));
  491. ds_send_updatedata.setColumn(0, "msgwrteno", ds_grid_grd_sendmsglist.getColumn(ds_grid_grd_sendmsglist.rowposition, "msgwrteno"));
  492. ds_send_updatedata.setColumn(0, "msgwrtehistno", ds_grid_grd_sendmsglist.getColumn(ds_grid_grd_sendmsglist.rowposition, "msgwrtehistno"));
  493. ds_send_updatedata.setColumn(0, "workflag", flag);
  494. var oParam = {};
  495. oParam.id = "TXPIJ02501";
  496. oParam.service = "bfjudgapp.MsgManag";
  497. oParam.method = "reqExeMsgList";
  498. oParam.inds = "req=ds_send_updatedata";
  499. oParam.async = false;
  500. tranf_submit(oParam);
  501. btn_search_onclick(); // 재조회
  502. }
  503. function SMPIJ02600_onload(obj:Form, e:LoadEventInfo)
  504. {
  505. frmf_initForm(obj); // 폼 초기화 함수
  506. lf_commoduleDataSetShow(); // DataSet 조회
  507. lf_Initialize();
  508. }
  509. function btn_search_onclick(obj:Button, e:ClickEventInfo)
  510. {
  511. var oParam = {};
  512. oParam.id = "TRPIJ02502";
  513. oParam.service = "bfjudgapp.MsgManag";
  514. oParam.method = "reqGetMsgList";
  515. oParam.inds = "req=ds_send";
  516. oParam.outds = "ds_grid_grd_sendmsglist=grdsendmsglist";
  517. oParam.async = false;
  518. tranf_submit(oParam);
  519. // 진료일시 데이터 이상 초기화(쿼리에서 만들어짐)
  520. for (var i=0; i<ds_grid_grd_sendmsglist.rowcount; i++ ) {
  521. if (ds_grid_grd_sendmsglist.getColumn(i, "rgstdt") == "-// -::") {
  522. ds_grid_grd_sendmsglist.setColumn(i, "rgstdt", "");
  523. }
  524. }
  525. ds_grid_grd_sendmsglist.rowposition = -1;
  526. ds_main_msginfo.clearData();
  527. }
  528. function grd_sendmsglist_oncellclick(obj:Grid, e:GridClickEventInfo)
  529. {
  530. var vrecvid = ds_grid_grd_sendmsglist.getColumn(ds_grid_grd_sendmsglist.rowposition, "recvid");
  531. if ( !utlf_isNull(vrecvid) ) {
  532. sysf_messageBox("이미 수신된 내역은 수정","E001");
  533. btn_delete.enable = false;
  534. txt_send.readonly = true;
  535. } else {
  536. btn_modify.enable = true;
  537. txt_send.readonly = false;
  538. btn_delete.enable = true;
  539. }
  540. ds_main_msginfo.clearData();
  541. ds_main_msginfo.addRow();
  542. ds_main_msginfo.copyRow(0, ds_grid_grd_sendmsglist, ds_grid_grd_sendmsglist.rowposition);
  543. if ( ds_main_msginfo.getColumn(0, "recvcnfmyn") == 'Y') {
  544. cmb_recvcnfmyn.value = 1;
  545. } else {
  546. cmb_recvcnfmyn.value = 0;
  547. }
  548. }
  549. function btn_modify_onclick(obj:Button, e:ClickEventInfo)
  550. {
  551. lf_Save("U");
  552. }
  553. function btn_delete_onclick(obj:Button, e:ClickEventInfo)
  554. {
  555. lf_Save("D");
  556. }
  557. function button1_onclick(obj:Button, e:ClickEventInfo)
  558. {
  559. grdf_exportExcel(grd_sendmsglist, "메세지현황", "메세지현황");
  560. }
  561. // 환자번호 채우기
  562. function group5_ipt_pid_onkeydown(obj:Edit, e:KeyEventInfo)
  563. {
  564. if ( e.keycode == 13 ) {
  565. obj.updateToDataset();
  566. var rtn = frmf_setInputNodeCurPid_Change(obj.value);
  567. ds_send.setColumn(0, "pid", rtn);
  568. }
  569. }
  570. function grd_sendmsglist_onheadclick(obj:Grid, e:GridClickEventInfo)
  571. {
  572. grdf_gridSort(grd_sendmsglist, e); // 그리드 정렬
  573. }
  574. function btn_close_onclick(obj:Button, e:ClickEventInfo)
  575. {
  576. this.close();
  577. }
  578. ]]></Script>
  579. </Form>
  580. </FDL>