SMMNP00500_수술실 간호게시판.xfdl 34 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMMNP00500" position="absolute 0 0 778 670" titletext="간호 게시판" oninit="SMMNP00500_oninit" onload="SMMNP00500_onload">
  5. <Layouts>
  6. <Layout>
  7. <Div position="absolute 0 4 778 55" align="align:center top;" id="group2" class="div_SA">
  8. <Layouts>
  9. <Layout>
  10. <Static text="등록기간 :" position="absolute 225 5 311 25" id="caption2" class="search_name"/>
  11. <Calendar position="absolute 315 5 400 25" id="ipt_fromdd" class="input_search" autoselect="true"/>
  12. <Static text="~" position="absolute 400 7 415 26" align="align:center middle;" id="caption10"/>
  13. <Calendar position="absolute 415 5 500 25" id="ipt_todd" class="input_search" autoselect="true"/>
  14. <Static text="조회구분 :" position="absolute 35 27 108 47" id="caption3" class="search_name"/>
  15. <Combo position="absolute 115 27 200 47" id="combo1" codecolumn="codecolumn" datacolumn="datacolumn">
  16. <Dataset id="innerdataset">
  17. <ColumnInfo>
  18. <Column id="codecolumn"/>
  19. <Column id="datacolumn"/>
  20. </ColumnInfo>
  21. <Rows>
  22. <Row>
  23. <Col id="codecolumn">T</Col>
  24. <Col id="datacolumn">제목</Col>
  25. </Row>
  26. <Row>
  27. <Col id="codecolumn">C</Col>
  28. <Col id="datacolumn">내용</Col>
  29. </Row>
  30. <Row>
  31. <Col id="codecolumn">U</Col>
  32. <Col id="datacolumn">등록자</Col>
  33. </Row>
  34. </Rows>
  35. </Dataset>
  36. </Combo>
  37. <Shape position="absolute 642 7 648 42" linetype="vertical" id="line1" class="line_4"/>
  38. <Button position="absolute 655 15 711 35" id="btn_search" class="btn1" text="조회" onclick="group2_btn_search_onclick"/>
  39. <Combo position="absolute 115 5 200 25" id="combo2" enable="true" visible="true" innerdataset="ds_init_M0636" datacolumn="cdnm" codecolumn="cdid" onitemchanged="group2_combo2_onitemchanged"/>
  40. <Static text="게시구분 :" position="absolute 35 5 111 25" id="caption1" class="search_name" visible="true"/>
  41. <Button position="absolute 715 15 771 35" id="button1" class="btn6" text="출력" onclick="group2_button1_onclick"/>
  42. <Edit position="absolute 225 27 500 47" id="ipt_scrhvalue" onkeyup="group2_ipt_scrhvalue_onkeyup" autoselect="true"/>
  43. </Layout>
  44. </Layouts>
  45. </Div>
  46. <Shape position="absolute 0 525 778 670" id="rectangle1" type="rectangle"/>
  47. <Grid position="absolute 0 61 778 270" id="grd_bbs" scrollbars="fixedvert" binddataset="ds_main_bbsinfo_bbslist" oncelldblclick="grd_bbs_oncelldblclick" cellsizingtype="col" selecttype="multirow" autoenter="key" autofittype="col" extendsizetype="row" autosizingtype="row">
  48. <Formats>
  49. <Format id="default">
  50. <Columns>
  51. <Column size="25"/>
  52. <Column size="50"/>
  53. <Column size="75"/>
  54. <Column size="330"/>
  55. <Column size="30"/>
  56. <Column size="30"/>
  57. <Column size="0"/>
  58. <Column size="0"/>
  59. <Column size="64"/>
  60. <Column size="0"/>
  61. <Column size="105"/>
  62. <Column size="0"/>
  63. <Column size="0"/>
  64. <Column size="0"/>
  65. <Column size="44"/>
  66. <Column size="0"/>
  67. </Columns>
  68. <Rows>
  69. <Row size="24" band="head"/>
  70. <Row size="20"/>
  71. </Rows>
  72. <Band id="head">
  73. <Cell/>
  74. <Cell col="1" text="글번호"/>
  75. <Cell col="2" text="게시구분"/>
  76. <Cell col="3" text="제목"/>
  77. <Cell col="4" text="확인"/>
  78. <Cell col="5" text="첨부"/>
  79. <Cell col="6" text="첨부파일명"/>
  80. <Cell col="7" text="첨부파일패스"/>
  81. <Cell col="8" text="작성자"/>
  82. <Cell col="9" text="작성자ID"/>
  83. <Cell col="10" text="등록일시"/>
  84. <Cell col="11" text="수정자"/>
  85. <Cell col="12" text="수정자아이디"/>
  86. <Cell col="13" text="수정일시"/>
  87. <Cell col="14" text="조회수"/>
  88. <Cell col="15" text="삭제여부"/>
  89. </Band>
  90. <Band id="body">
  91. <Cell displaytype="checkbox" edittype="checkbox" text="bind:chkyn"/>
  92. <Cell col="1" displaytype="text" style="align:center;" text="bind:bbsno"/>
  93. <Cell col="2" displaytype="combo" style="align:center;padding:2 2 2 2;" text="bind:bbscls" combodataset="ds_init_M0636" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
  94. <Cell col="3" style="align:left;" text="bind:title" wordwrap="word" autosizerow="limitmin"/>
  95. <Cell col="4" text="bind:cnfmyn"/>
  96. <Cell col="5" text="bind:attyn"/>
  97. <Cell col="6" text="bind:attfilenm"/>
  98. <Cell col="7" text="bind:attfilepath"/>
  99. <Cell col="8" text="bind:fstrgstrnm"/>
  100. <Cell col="9" text="bind:fstrgstrid"/>
  101. <Cell col="10" text="bind:fstrgstdt" mask="expr:utlf_isNull(fstrgstdt) == true ? '' : '####/##/## ##:##'"/>
  102. <Cell col="11" text="bind:lastupdtrnm"/>
  103. <Cell col="12" text="bind:lastupdtrid"/>
  104. <Cell col="13" text="bind:lastupdtdt" mask="yyyy/mm/dd hh:nn"/>
  105. <Cell col="14" text="bind:hitcnt"/>
  106. <Cell col="15" text="bind:delyn"/>
  107. </Band>
  108. </Format>
  109. </Formats>
  110. </Grid>
  111. <Shape position="absolute 0 56 778 62" linetype="horizontal" id="line2" class="line_10"/>
  112. <Shape position="absolute 0 337 778 343" id="line20" class="line_2"/>
  113. <Button position="absolute 543 287 607 307" id="btn_cancel" class="btn2" taborder="5" visible="false" text="작성취소" onclick="btn_cancel_onclick"/>
  114. <Button position="absolute 608 287 650 307" id="btn_new" class="btn2" taborder="5" text="신규" onclick="btn_new_onclick"/>
  115. <Button position="absolute 651 287 693 307" id="btn_mod" class="btn2" taborder="5" text="수정" onclick="btn_mod_onclick"/>
  116. <Button position="absolute 694 287 736 307" id="btn_save" class="btn5" enable="false" taborder="5" text="저장" onclick="btn_save_onclick"/>
  117. <Button position="absolute 737 287 779 307" id="btn_del" class="btn5" enable="false" text="삭제" onclick="btn_del_onclick"/>
  118. <Static text="첨부" position="absolute 0 491 79 513" align="align:center middle;" id="caption12" class="cell_1"/>
  119. <Edit position="absolute 81 491 536 511" id="ipt_attfilenm"/>
  120. <Button position="absolute 585 491 627 511" id="btn_fileadd" class="btn2_letter2" visible="false" text="첨부" onclick="btn_fileadd_onclick"/>
  121. <Button position="absolute 630 491 672 511" id="btn_filedel" class="btn2_letter2" visible="false" text="삭제" onclick="btn_filedel_onclick"/>
  122. <Button position="absolute 607 491 671 511" id="btn_down" class="btn2" taborder="6" text="다운로드" onclick="btn_down_onclick"/>
  123. <Static text="제목" position="absolute 0 312 79 340" align="align:center middle;" id="cap_titl" class="cell_1"/>
  124. <Shape position="absolute 0 307 778 313" linetype="horizontal" id="line9" class="line_10"/>
  125. <Static text="내용" position="absolute 0 290 134 310" id="caption7" class="tit_2"/>
  126. <Button position="absolute 539 491 603 511" id="btn_preview" class="btn2" taborder="6" visible="false" text="미리보기" onclick="btn_preview_onclick"/>
  127. <Combo position="absolute 681 315 778 336" id="cmb_bbscls" enable="true" visible="true" innerdataset="@ds_init_M0636" datacolumn="cdnm" codecolumn="cdid"/>
  128. <Static text="게시구분" position="absolute 600 312 679 340" align="align:center middle;" id="caption5" class="cell_1" visible="true"/>
  129. <TextArea position="absolute 81 313 597 337" id="ipt_title" class="text_essential" style="padding:0 5 0 5;align:left middle;font:Dotum,14;"/>
  130. <Grid position="absolute 8 550 770 665" id="grd_reslist" binddataset="ds_main_resinfo_reslist" cellsizingtype="both" cellsizebandtype="allband" extendsizetype="row" selecttype="multirow" autoenter="key" autofittype="col" oncelldblclick="grd_reslist_oncelldblclick" autosizingtype="row">
  131. <Formats>
  132. <Format id="default">
  133. <Columns>
  134. <Column size="20" band="left"/>
  135. <Column size="518"/>
  136. <Column size="70"/>
  137. <Column size="105"/>
  138. <Column size="0"/>
  139. <Column size="0"/>
  140. <Column size="0"/>
  141. </Columns>
  142. <Rows>
  143. <Row size="24" band="head"/>
  144. <Row size="20"/>
  145. </Rows>
  146. <Band id="head">
  147. <Cell/>
  148. <Cell col="1" text="댓글"/>
  149. <Cell col="2" text="등록자"/>
  150. <Cell col="3" text="기록일자"/>
  151. <Cell col="4" text="bbsno"/>
  152. <Cell col="5" text="resno"/>
  153. <Cell col="6" text="supresno"/>
  154. </Band>
  155. <Band id="body">
  156. <Cell celltype="head"/>
  157. <Cell col="1" displaytype="text" edittype="textarea" text="bind:resfact" wordwrap="word" editautoselect="true" autosizerow="limitmin"/>
  158. <Cell col="2" text="bind:usernm"/>
  159. <Cell col="3" text="bind:recdd" mask="expr:utlf_isNull(recdd) == true ? '' : '####/##/## ##:##'"/>
  160. <Cell col="4" text="bind:bbsno"/>
  161. <Cell col="5" text="bind:resno"/>
  162. <Cell col="6" text="bind:supresno"/>
  163. </Band>
  164. </Format>
  165. </Formats>
  166. </Grid>
  167. <Button position="absolute 640 529 682 549" id="btn_addcomt" class="btn2" enable="false" text="댓글" onclick="btn_addcomt_onclick"/>
  168. <Button position="absolute 684 529 726 549" id="btn_addcomtsave" class="btn2" enable="false" text="저장" onclick="btn_addcomtsave_onclick"/>
  169. <Button position="absolute 729 529 771 549" id="btn_addcomtdel" class="btn2" text="삭제" onclick="btn_addcomtdel_onclick"/>
  170. <Shape id="line4" class="line_3" position="absolute 0 510 778 516"/>
  171. <Shape id="line3" class="line_2" position="absolute 0 487 778 493"/>
  172. <Static id="cap_cnts" text="내용" class="cell_1" position="absolute 0 341 79 490"/>
  173. <TextArea id="ipt_content" taborder="7" wordwrap="word" class="text_essential" position="absolute 81 342 778 488" style="font:Dotum,14;"/>
  174. </Layout>
  175. </Layouts>
  176. <Objects>
  177. <Dataset id="ds_init_M0636" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  178. <ColumnInfo>
  179. <Column id="cdnm" type="STRING"/>
  180. <Column id="cdid" type="STRING"/>
  181. </ColumnInfo>
  182. </Dataset>
  183. <Dataset id="ds_init_cmb_bbscls" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  184. <ColumnInfo>
  185. <Column id="cdnm" type="STRING"/>
  186. <Column id="cdid" type="STRING"/>
  187. </ColumnInfo>
  188. </Dataset>
  189. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  190. <ColumnInfo>
  191. <Column id="bbscls" type="STRING" size="256" sumtext="시작일자(YYYYMMDD)"/>
  192. <Column id="fromdd" type="STRING" size="256" sumtext="시작일자(YYYYMMDD)"/>
  193. <Column id="todd" type="STRING" size="256" sumtext="종료일자(YYYYMMDD)"/>
  194. <Column id="scrhgubun" type="STRING" size="256" sumtext="조회구분"/>
  195. <Column id="scrhvalue" type="STRING" size="256" sumtext="조회값"/>
  196. <Column id="gubn" type="STRING" size="256" sumtext="수술마취구분"/>
  197. <Column id="bbsno" type="STRING" size="256" sumtext="게시글번호"/>
  198. </ColumnInfo>
  199. <Rows>
  200. <Row/>
  201. </Rows>
  202. </Dataset>
  203. <Dataset id="ds_main_bbsinfo_bbslist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  204. <ColumnInfo>
  205. <Column id="chkyn" type="STRING" size="256" sumtext="게시글번호"/>
  206. <Column id="bbsno" type="STRING" size="256" sumtext="게시글번호"/>
  207. <Column id="bbscls" type="STRING" size="256" sumtext="게시판종류"/>
  208. <Column id="title" type="STRING" size="256" sumtext="제목"/>
  209. <Column id="content" type="STRING" size="256" sumtext="내용"/>
  210. <Column id="attyn" type="STRING" size="256" sumtext="첨부파일유무"/>
  211. <Column id="attfilenm" type="STRING" size="256" sumtext="첨부파일명"/>
  212. <Column id="attfilepath" type="STRING" size="256" sumtext="첨부파일패스"/>
  213. <Column id="fstrgstrnm" type="STRING" size="256" sumtext="등록자명"/>
  214. <Column id="fstrgstrid" type="STRING" size="256" sumtext="등록자아이디"/>
  215. <Column id="fstrgstdt" type="STRING" size="256" sumtext="등록일시"/>
  216. <Column id="lastupdtrnm" type="STRING" size="256" sumtext="수정자명"/>
  217. <Column id="lastupdtrid" type="STRING" size="256" sumtext="수정자아이디"/>
  218. <Column id="lastupdtdt" type="STRING" size="256" sumtext="수정일시"/>
  219. <Column id="hitcnt" type="STRING" size="256" sumtext="조회수"/>
  220. <Column id="delyn" type="STRING" size="256" sumtext="삭제유무"/>
  221. <Column id="cnfmyn" type="STRING" size="256" sumtext="확인유무"/>
  222. <Column id="gubn" type="STRING" size="256" sumtext="수술마취구분"/>
  223. </ColumnInfo>
  224. </Dataset>
  225. <Dataset id="ds_main_resinfo_reslist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  226. <ColumnInfo>
  227. <Column id="depth" type="STRING" size="256" sumtext="게시글 계층"/>
  228. <Column id="bbsno" type="STRING" size="256" sumtext="게시글 부모글"/>
  229. <Column id="resno" type="STRING" size="256" sumtext="게시글 댓글 번호"/>
  230. <Column id="supresno" type="STRING" size="256" sumtext="게시글번호"/>
  231. <Column id="resfact" type="STRING" size="256" sumtext="게시글 내용"/>
  232. <Column id="usernm" type="STRING" size="256" sumtext="게시글 작성자"/>
  233. <Column id="recdd" type="STRING" size="256" sumtext="기록 일자."/>
  234. <Column id="gubn" type="STRING" size="256" sumtext="구분"/>
  235. </ColumnInfo>
  236. <Rows>
  237. <Row/>
  238. </Rows>
  239. </Dataset>
  240. <Dataset id="ds_send_savedata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  241. <Dataset id="ds_send_file" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  242. <ColumnInfo>
  243. <Column id="filenm" type="STRING" size="256" sumtext="파일명"/>
  244. <Column id="filedata" type="BLOB" size="256" sumtext="파일데이터"/>
  245. <Column id="filesize" type="STRING" size="256" sumtext="파일크기"/>
  246. <Column id="filetype" type="STRING" size="256" sumtext="파일종류"/>
  247. </ColumnInfo>
  248. <Rows>
  249. <Row/>
  250. </Rows>
  251. </Dataset>
  252. <Dataset id="ds_subsend_addcomt" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  253. <ColumnInfo>
  254. <Column id="status" type="STRING" size="256" sumtext="그리드 상태값"/>
  255. <Column id="bbsno" type="STRING" size="256" sumtext="게시글 부모글"/>
  256. <Column id="resno" type="STRING" size="256" sumtext="게시글 댓글 번호"/>
  257. <Column id="supresno" type="STRING" size="256" sumtext="게시글번호"/>
  258. <Column id="resfact" type="STRING" size="256" sumtext="게시글 내용"/>
  259. <Column id="usernm" type="STRING" size="256" sumtext="게시글 작성자"/>
  260. <Column id="gubn" type="STRING" size="256" sumtext="수술마취구분"/>
  261. </ColumnInfo>
  262. </Dataset>
  263. <Dataset id="ds_cond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  264. <ColumnInfo>
  265. <Column id="fromdd" type="STRING" size="256"/>
  266. <Column id="todd" type="STRING" size="256"/>
  267. <Column id="scrhgubun" type="STRING" size="256"/>
  268. <Column id="scrhvalue" type="STRING" size="256"/>
  269. <Column id="bbscls" type="STRING" size="256"/>
  270. </ColumnInfo>
  271. <Rows>
  272. <Row/>
  273. </Rows>
  274. </Dataset>
  275. <Dataset id="ds_main_iteminfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  276. <ColumnInfo>
  277. <Column id="status" type="STRING" size="256"/>
  278. <Column id="title" type="STRING" size="256"/>
  279. <Column id="bbscls" type="STRING" size="256"/>
  280. <Column id="content" type="STRING" size="256"/>
  281. <Column id="attfilenm" type="STRING" size="256"/>
  282. <Column id="bbsno" type="STRING" size="256"/>
  283. <Column id="fstrgstrid" type="STRING" size="256"/>
  284. <Column id="attfilepath" type="STRING" size="256" sumtext="서버상의 첨부파일경로"/>
  285. <Column id="gubn" type="STRING" size="256" sumtext="제목"/>
  286. <Column id="fileyn" type="STRING" size="256"/>
  287. </ColumnInfo>
  288. <Rows>
  289. <Row/>
  290. </Rows>
  291. </Dataset>
  292. <Dataset id="ds_codeinfo_codelist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  293. <ColumnInfo>
  294. <Column id="cdgrupid" type="STRING" size="256" sumtext="코드그룹ID"/>
  295. <Column id="cdid" type="STRING" size="256" sumtext="코드ID"/>
  296. <Column id="cdnm" type="STRING" size="256" sumtext="코드명"/>
  297. <Column id="grupdetldesc" type="STRING" size="256" sumtext="코드그룹상세설명"/>
  298. <Column id="supcdid" type="STRING" size="256" sumtext="상위코드ID"/>
  299. <Column id="sortseq" type="STRING" size="256" sumtext="상위코드ID"/>
  300. <Column id="valifromdd" type="STRING" size="256" sumtext="시작일자"/>
  301. <Column id="valitodd" type="STRING" size="256" sumtext="시작일자"/>
  302. </ColumnInfo>
  303. </Dataset>
  304. <Dataset id="ds_data_filedown" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  305. <ColumnInfo>
  306. <Column id="attfilepath" type="STRING" size="256"/>
  307. <Column id="attfilecnts" type="BLOB" size="256"/>
  308. <Column id="filedata" type="BLOB" size="256"/>
  309. </ColumnInfo>
  310. </Dataset>
  311. </Objects>
  312. <Bind>
  313. <BindItem id="item7" compid="ipt_content" propid="value" datasetid="ds_main_iteminfo" columnid="content"/>
  314. <BindItem id="item0" compid="group2.combo2" propid="value" datasetid="ds_cond" columnid="bbscls"/>
  315. <BindItem id="item1" compid="group2.combo1" propid="value" datasetid="ds_cond" columnid="scrhgubun"/>
  316. <BindItem id="item2" compid="group2.ipt_fromdd" propid="value" datasetid="ds_cond" columnid="fromdd"/>
  317. <BindItem id="item3" compid="group2.ipt_todd" propid="value" datasetid="ds_cond" columnid="todd"/>
  318. <BindItem id="item4" compid="group2.ipt_scrhvalue" propid="value" datasetid="ds_cond" columnid="scrhvalue"/>
  319. <BindItem id="item5" compid="ipt_title" propid="value" datasetid="ds_main_iteminfo" columnid="title"/>
  320. <BindItem id="item6" compid="cmb_bbscls" propid="value" datasetid="ds_main_iteminfo" columnid="bbscls"/>
  321. <BindItem id="item8" compid="ipt_attfilenm" propid="value" datasetid="ds_main_iteminfo" columnid="attfilenm"/>
  322. </Bind>
  323. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  324. * System Name : 경대 의료정보시스템
  325. * Job Name : emr_opanstxp -> SMMNP00500
  326. * Creator : yjh
  327. * Make Date : 2016-02-03
  328. * Description :
  329. *---------------------------------------------------------------------------------------
  330. * Modify Date Modifier Modify Description
  331. *---------------------------------------------------------------------------------------
  332. * 2016-02-03 yjh TF->XP
  333. *
  334. *---------------------------------------------------------------------------------------
  335. ****************************************************************************************/
  336. //=======================================================================================
  337. // Lib Include
  338. //---------------------------------------------------------------------------------------
  339. include "com_commonxp::comm_main.xjs";
  340. include "emr_opanstxp::SMMNP00500.xjs"; //yjh : 커밋
  341. //=======================================================================================
  342. // Global Form Variable
  343. //---------------------------------------------------------------------------------------
  344. //=======================================================================================
  345. // Function
  346. //---------------------------------------------------------------------------------------
  347. /****************************************************************************************
  348. * Argument : N/A
  349. * Description :
  350. ****************************************************************************************/
  351. //=======================================================================================
  352. // Event
  353. //---------------------------------------------------------------------------------------
  354. /****************************************************************************************
  355. * Components : Form
  356. * Components ID : SMMNP00500
  357. * Event : oninit
  358. * Argument : 01.obj : Object Event has occurred
  359. * : 02.e : Event Object
  360. * Description : 화면 처음 초기화시
  361. ****************************************************************************************/
  362. function SMMNP00500_oninit(obj:Form, e:InitEventInfo)
  363. {
  364. frmf_initForm(obj); //폼 초기화
  365. }
  366. /****************************************************************************************
  367. * Components : Form
  368. * Components ID : SMMNP00500
  369. * Event : onload
  370. * Argument : 01.obj : Object Event has occurred
  371. * : 02.e : Event Object
  372. * Description : 화면 로딩 완료시
  373. ****************************************************************************************/
  374. function SMMNP00500_onload(obj:Form, e:LoadEventInfo)
  375. {
  376. grdf_setRowTypeIcon(grd_reslist, 0); //그리드 상태 아이콘 보여주기
  377. fInitialize();
  378. }
  379. /****************************************************************************************
  380. * Components : Button
  381. * Components ID : btn_search
  382. * Event : onclick
  383. * Argument : 01.obj : Object Event has occurred
  384. * : 02.e : Event Object
  385. * Description : 조회버튼 클릭시
  386. ****************************************************************************************/
  387. function group2_btn_search_onclick(obj:Button, e:ClickEventInfo)
  388. {
  389. fgetBbsList();
  390. }
  391. /****************************************************************************************
  392. * Components : Combo
  393. * Components ID : combo2
  394. * Event : onitemchanged
  395. * Argument : 01.obj : Object Event has occurred
  396. * : 02.e : Event Object
  397. * Description : 게시구분 변경시
  398. ****************************************************************************************/
  399. function group2_combo2_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  400. {
  401. fgetBbsList();
  402. }
  403. /****************************************************************************************
  404. * Components : Edit
  405. * Components ID : ipt_scrhvalue
  406. * Event : onkeyup
  407. * Argument : 01.obj : Object Event has occurred
  408. * : 02.e : Event Object
  409. * Description : 값 입력시
  410. ****************************************************************************************/
  411. function group2_ipt_scrhvalue_onkeyup(obj:Edit, e:KeyEventInfo)
  412. {
  413. if(e.keycode == 13){
  414. obj.updateToDataset();
  415. fgetBbsList();
  416. }
  417. }
  418. /****************************************************************************************
  419. * Components : Grid
  420. * Components ID : grd_bbs
  421. * Event : oncelldblclick
  422. * Argument : 01.obj : Object Event has occurred
  423. * : 02.e : Event Object
  424. * Description : 그리드 셀 더블클릭시
  425. ****************************************************************************************/
  426. function grd_bbs_oncelldblclick(obj:Grid, e:GridClickEventInfo)
  427. {
  428. fgetBbsDetail(grd_bbs.currentrow);
  429. }
  430. /****************************************************************************************
  431. * Components : Button
  432. * Components ID : button1
  433. * Event : onclick
  434. * Argument : 01.obj : Object Event has occurred
  435. * : 02.e : Event Object
  436. * Description : 출력버튼 클릭시
  437. ****************************************************************************************/
  438. function group2_button1_onclick(obj:Button, e:ClickEventInfo)
  439. {
  440. fPrtBbs();
  441. }
  442. /****************************************************************************************
  443. * Components : Button
  444. * Components ID : btn_cancel
  445. * Event : onclick
  446. * Argument : 01.obj : Object Event has occurred
  447. * : 02.e : Event Object
  448. * Description : 작성취소버튼 클릭시
  449. ****************************************************************************************/
  450. function btn_cancel_onclick(obj:Button, e:ClickEventInfo)
  451. {
  452. btn_cancel.visible = false;
  453. btn_new.enable = true;
  454. btn_mod.enable = false;
  455. btn_save.enable = false;
  456. btn_del.enable = false;
  457. btn_addcomt.enable = false;
  458. btn_addcomtsave.enable = false;
  459. btn_addcomtdel.enable = false;
  460. btn_fileadd.visible = false;
  461. btn_filedel.visible = false;
  462. btn_down.visible = false;
  463. btn_preview.visible = false;
  464. ipt_title.enable = false;
  465. cmb_bbscls.enable = false;
  466. ipt_attfilenm.enable = false;
  467. ds_main_iteminfo.setColumn(0, "status", "e");
  468. fNewBbs();
  469. }
  470. /****************************************************************************************
  471. * Components : Button
  472. * Components ID : btn_new
  473. * Event : onclick
  474. * Argument : 01.obj : Object Event has occurred
  475. * : 02.e : Event Object
  476. * Description : 신규버튼 클릭시
  477. ****************************************************************************************/
  478. function btn_new_onclick(obj:Button, e:ClickEventInfo)
  479. {
  480. btn_cancel.visible = true;
  481. btn_new.enable = false;
  482. btn_mod.enable = false;
  483. btn_save.enable = true;
  484. btn_del.enable = false;
  485. btn_fileadd.visible = true;
  486. btn_filedel.visible = true;
  487. btn_down.visible = false;
  488. btn_preview.visible = false;
  489. ipt_title.enable = true;
  490. cmb_bbscls.enable = true;
  491. ipt_attfilenm.enable = false;
  492. fNewBbs();
  493. ds_main_iteminfo.setColumn(0, "status", "i");
  494. }
  495. /****************************************************************************************
  496. * Components : Button
  497. * Components ID : btn_mod
  498. * Event : onclick
  499. * Argument : 01.obj : Object Event has occurred
  500. * : 02.e : Event Object
  501. * Description : 수정버튼 클릭시
  502. ****************************************************************************************/
  503. function btn_mod_onclick(obj:Button, e:ClickEventInfo)
  504. {
  505. btn_cancel.visible = true;
  506. btn_new.enable = false;
  507. btn_mod.enable = false;
  508. btn_save.enable = true;
  509. btn_del.enable = false;
  510. btn_fileadd.visible = true;
  511. btn_filedel.visible = true;
  512. btn_down.visible = false;
  513. btn_preview.visible = false;
  514. ipt_title.enable = true;
  515. cmb_bbscls.enable = true;
  516. ipt_attfilenm.enable = false;
  517. ds_main_iteminfo.setColumn(0, "status", "u");
  518. }
  519. /****************************************************************************************
  520. * Components : Button
  521. * Components ID : btn_save
  522. * Event : onclick
  523. * Argument : 01.obj : Object Event has occurred
  524. * : 02.e : Event Object
  525. * Description : 저장버튼 클릭시
  526. ****************************************************************************************/
  527. function btn_save_onclick(obj:Button, e:ClickEventInfo)
  528. {
  529. // 각 필드값을 체크한다.
  530. // 제목 체크
  531. if(utlf_isNull(ds_main_iteminfo.getColumn(0, "title").getTrim()))
  532. {
  533. sysf_messageBox("제목은 ", "I003");
  534. ipt_title.setFocus();
  535. return;
  536. }
  537. // 공지내용 체크
  538. if(utlf_isNull(ds_main_iteminfo.getColumn(0, "content").getTrim()))
  539. {
  540. sysf_messageBox("내용은 ", "I003");
  541. ipt_content.setFocus();
  542. return;
  543. }
  544. fExeSave();
  545. }
  546. /****************************************************************************************
  547. * Components : Button
  548. * Components ID : btn_del
  549. * Event : onclick
  550. * Argument : 01.obj : Object Event has occurred
  551. * : 02.e : Event Object
  552. * Description : 삭제버튼 클릭시
  553. ****************************************************************************************/
  554. function btn_del_onclick(obj:Button, e:ClickEventInfo)
  555. {
  556. fNoticeDel();
  557. }
  558. /****************************************************************************************
  559. * Components : Button
  560. * Components ID : btn_fileadd
  561. * Event : onclick
  562. * Argument : 01.obj : Object Event has occurred
  563. * : 02.e : Event Object
  564. * Description : 첨부버튼 클릭시
  565. ****************************************************************************************/
  566. function btn_fileadd_onclick(obj:Button, e:ClickEventInfo)
  567. {
  568. fFileAdd();
  569. }
  570. /****************************************************************************************
  571. * Components : Button
  572. * Components ID : btn_filedel
  573. * Event : onclick
  574. * Argument : 01.obj : Object Event has occurred
  575. * : 02.e : Event Object
  576. * Description : 삭제버튼 클릭시
  577. ****************************************************************************************/
  578. function btn_filedel_onclick(obj:Button, e:ClickEventInfo)
  579. {
  580. fFileDel();
  581. }
  582. /****************************************************************************************
  583. * Components : Button
  584. * Components ID : btn_down
  585. * Event : onclick
  586. * Argument : 01.obj : Object Event has occurred
  587. * : 02.e : Event Object
  588. * Description : 다운로드버튼 클릭시
  589. ****************************************************************************************/
  590. function btn_down_onclick(obj:Button, e:ClickEventInfo)
  591. {
  592. fFileDown();
  593. }
  594. /****************************************************************************************
  595. * Components : Button
  596. * Components ID : btn_preview
  597. * Event : onclick
  598. * Argument : 01.obj : Object Event has occurred
  599. * : 02.e : Event Object
  600. * Description : 미리보기버튼 클릭시
  601. ****************************************************************************************/
  602. function btn_preview_onclick(obj:Button, e:ClickEventInfo)
  603. {
  604. fFilePreview();
  605. }
  606. /****************************************************************************************
  607. * Components : Button
  608. * Components ID : btn_addcomt
  609. * Event : onclick
  610. * Argument : 01.obj : Object Event has occurred
  611. * : 02.e : Event Object
  612. * Description : 댓글버튼 클릭시
  613. ****************************************************************************************/
  614. function btn_addcomt_onclick(obj:Button, e:ClickEventInfo)
  615. {
  616. if (grd_reslist.rowcount > 0 ){
  617. ds_main_resinfo_reslist.insertRow(0);
  618. }else if (grd_reslist.rowcount == 0){
  619. ds_main_resinfo_reslist.addRow();
  620. }
  621. ds_main_resinfo_reslist.setColumn(ds_main_resinfo_reslist.rowposition, "bbsno", ds_main_bbsinfo_bbslist.getColumn(ds_main_bbsinfo_bbslist.rowposition, "bbsno"));
  622. ds_main_resinfo_reslist.setColumn(ds_main_resinfo_reslist.rowposition, "gubn", ds_cond.getColumn(0, "gubn"));
  623. }
  624. /****************************************************************************************
  625. * Components : Button
  626. * Components ID : btn_addcomtsave
  627. * Event : onclick
  628. * Argument : 01.obj : Object Event has occurred
  629. * : 02.e : Event Object
  630. * Description : 저장버튼 클릭시
  631. ****************************************************************************************/
  632. function btn_addcomtsave_onclick(obj:Button, e:ClickEventInfo)
  633. {
  634. var oParam = {};
  635. oParam.id = "TXMNP00503";
  636. oParam.service = "opanstapp.OpAnstRec";
  637. oParam.method = "reqSetOpNrBbsAddComt";
  638. oParam.inds = "addcomt=ds_main_resinfo_reslist:U";
  639. oParam.outds = "ds_main_resinfo_reslist=reslist";
  640. oParam.typeStr = "status";
  641. oParam.async = false;
  642. //oParam.callback = "cf_TXMNP00503";
  643. tranf_submit(oParam);
  644. }
  645. /****************************************************************************************
  646. * Components : Button
  647. * Components ID : btn_addcomtdel
  648. * Event : onclick
  649. * Argument : 01.obj : Object Event has occurred
  650. * : 02.e : Event Object
  651. * Description : 삭제버튼 클릭시
  652. ****************************************************************************************/
  653. function btn_addcomtdel_onclick(obj:Button, e:ClickEventInfo)
  654. {
  655. var iRow = grd_reslist.currentrow;
  656. var iCol = grd_reslist.currentcol;
  657. ds_main_resinfo_reslist.deleteRow(iRow);
  658. }
  659. function grd_reslist_oncelldblclick(obj:Grid, e:GridClickEventInfo)
  660. {
  661. obj.showEditor(true);
  662. }
  663. ]]></Script>
  664. </Form>
  665. </FDL>