SMRAE00200_원내미술품대장.xfdl 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMRAE00200" position="absolute 0 0 1200 790" titletext="원내미술품대장" oninit="SMRAE00200_oninit" onload="SMRAE00200_onload">
  5. <Layouts>
  6. <Layout>
  7. <Div position="absolute 0 0 1195 23" id="group1">
  8. <Layouts>
  9. <Layout>
  10. <Static text="원내 미술품 대장" position="absolute 0 0 138 24" id="caption6" class="tit_1" anchor="default"/>
  11. <Static id="caption4" class="patient_text_black" anchor="default" position="absolute 0 0 0 0"/>
  12. </Layout>
  13. </Layouts>
  14. </Div>
  15. <Div position="absolute 0 40 1195 784" id="group3" scrollbars="autoboth">
  16. <Layouts>
  17. <Layout>
  18. <Div position="absolute 0 10 1194 45" align="align:center top;" id="grp_sea" class="div_SA">
  19. <Layouts>
  20. <Layout>
  21. <Static text="번호" position="absolute 56 9 110 26" id="caption7" class="search_name"/>
  22. <Shape position="absolute 986 6 992 28" linetype="vertical" id="line5" class="line_4"/>
  23. <Button position="absolute 1005 7 1061 29" align="align:left middle;" id="btn_search" class="btn1" taborder="6" text="조회" onclick="group3_grp_sea_btn_search_onclick"/>
  24. <Static text="제목" position="absolute 176 9 230 26" id="caption1" class="search_name"/>
  25. <Edit position="absolute 99 8 150 27" align="align:center middle;" id="ipt_artno_search" class="input_default" taborder="1"/>
  26. <Edit position="absolute 220 8 345 27" id="ipt_title_search" class="input_default" taborder="2"/>
  27. <Static text="작가명" position="absolute 371 9 434 26" id="caption23" class="search_name"/>
  28. <Edit position="absolute 430 8 555 27" id="ipt_artist_search" class="input_default" taborder="3"/>
  29. <Static text="자산코드" position="absolute 581 9 657 26" id="caption24" class="search_name"/>
  30. <Edit position="absolute 650 8 750 27" align="align:center middle;" id="ipt_asetcd_search" class="input_default" taborder="4"/>
  31. <Static text="상태" position="absolute 776 9 830 26" id="caption26" class="search_name"/>
  32. <Radio position="absolute 820 7 955 27" id="rdo_stat_search" taborder="5" columncount="3" codecolumn="codecolumn" datacolumn="datacolumn">
  33. <Dataset id="innerdataset">
  34. <ColumnInfo>
  35. <Column id="codecolumn"/>
  36. <Column id="datacolumn"/>
  37. </ColumnInfo>
  38. <Rows>
  39. <Row>
  40. <Col id="codecolumn">1</Col>
  41. <Col id="datacolumn">정상</Col>
  42. </Row>
  43. <Row>
  44. <Col id="codecolumn">2</Col>
  45. <Col id="datacolumn">폐기</Col>
  46. </Row>
  47. <Row>
  48. <Col id="codecolumn">
  49. </Col>
  50. <Col id="datacolumn">전체</Col>
  51. </Row>
  52. </Rows>
  53. </Dataset>
  54. </Radio>
  55. </Layout>
  56. </Layouts>
  57. </Div>
  58. <Shape position="absolute 0 75 1193 81" linetype="horizontal" id="line3" class="line_10"/>
  59. <Static text="대장" position="absolute 0 59 131 75" id="caption21" class="tit_2"/>
  60. <Grid position="absolute 0 80 1193 735" id="grd_artlist" taborder="7" binddataset="ds_main_artlist">
  61. <Formats>
  62. <Format id="default">
  63. <Columns>
  64. <Column size="20"/>
  65. <Column size="45"/>
  66. <Column size="76"/>
  67. <Column size="54"/>
  68. <Column size="66"/>
  69. <Column size="63"/>
  70. <Column size="117"/>
  71. <Column size="90"/>
  72. <Column size="47"/>
  73. <Column size="45"/>
  74. <Column size="60"/>
  75. <Column size="117"/>
  76. <Column size="47"/>
  77. <Column size="98"/>
  78. <Column size="77"/>
  79. <Column size="45"/>
  80. <Column size="112"/>
  81. </Columns>
  82. <Rows>
  83. <Row size="24" band="head"/>
  84. <Row size="24" band="head"/>
  85. <Row size="24"/>
  86. </Rows>
  87. <Band id="head">
  88. <Cell rowspan="2" taborder="undefined"/>
  89. <Cell col="1" rowspan="2" text="번호" taborder="undefined"/>
  90. <Cell col="2" colspan="3" text="위치" taborder="undefined"/>
  91. <Cell col="5" rowspan="2" text="종류" taborder="undefined"/>
  92. <Cell col="6" rowspan="2" text="제목" taborder="undefined"/>
  93. <Cell col="7" rowspan="2" text="작가명" taborder="undefined"/>
  94. <Cell col="8" colspan="2" text="크기" taborder="undefined"/>
  95. <Cell col="10" text="취득사유"/>
  96. <Cell col="11" text="취득사유"/>
  97. <Cell col="12" colspan="3" text="자산등록여부" taborder="undefined"/>
  98. <Cell col="15" rowspan="2" text="상태" taborder="undefined"/>
  99. <Cell col="16" rowspan="2" text="비고" taborder="undefined"/>
  100. <Cell row="1" col="2" text="대분류"/>
  101. <Cell row="1" col="3" text="소분류"/>
  102. <Cell row="1" col="4" text="세부장소"/>
  103. <Cell row="1" col="8" text="가로"/>
  104. <Cell row="1" col="9" text="세로"/>
  105. <Cell row="1" col="10" text="사유"/>
  106. <Cell row="1" col="11" text="금액,기부자,비고"/>
  107. <Cell row="1" col="12" text="Y/N"/>
  108. <Cell row="1" col="13" text="자산코드"/>
  109. <Cell row="1" col="14" text="취득일자"/>
  110. </Band>
  111. <Band id="body">
  112. <Cell celltype="head"/>
  113. <Cell col="1" class="text_center" text="bind:artno"/>
  114. <Cell col="2" style="align:left;" class="text_left" text="bind:poslrg"/>
  115. <Cell col="3" class="text_center" text="bind:possml"/>
  116. <Cell col="4" style="align:left top;padding:4 2 2 2;" class="text_left" text="bind:posdetl" wordwrap="word"/>
  117. <Cell col="5" class="text_center" text="bind:kind"/>
  118. <Cell col="6" style="align:left;" class="text_left" text="bind:title"/>
  119. <Cell col="7" style="align:left;" class="text_left" text="bind:artist"/>
  120. <Cell col="8" style="align:right;" class="text_right" text="bind:sizew"/>
  121. <Cell col="9" style="align:right;" class="text_right" text="bind:sizeh"/>
  122. <Cell col="10" class="text_center" text="bind:possrsn"/>
  123. <Cell col="11" style="align:left;" class="text_left" text="bind:possetc"/>
  124. <Cell col="12" class="text_center" text="bind:asetrgstyn"/>
  125. <Cell col="13" class="text_center" text="bind:asetcd"/>
  126. <Cell col="14" displaytype="date" class="text_center" text="bind:possdd" calendardisplaynulltype="none"/>
  127. <Cell col="15" class="text_center" text="bind:stat"/>
  128. <Cell col="16" style="align:left top;padding:4 2 2 2;" class="text_left" text="bind:cmt" wordwrap="word"/>
  129. </Band>
  130. </Format>
  131. </Formats>
  132. </Grid>
  133. <Button position="absolute 1129 54 1193 73" align="align:left middle;" id="button4" class="btn2" text="엑셀출력" onclick="group3_button4_onclick"/>
  134. </Layout>
  135. </Layouts>
  136. </Div>
  137. <Div position="absolute 0 23 1195 51" id="group4" scrollbars="autoboth">
  138. <Layouts>
  139. <Layout>
  140. <Shape position="absolute 0 22 1194 28" linetype="horizontal" id="line2" class="line_6" anchor="default"/>
  141. </Layout>
  142. </Layouts>
  143. </Div>
  144. </Layout>
  145. </Layouts>
  146. <Objects>
  147. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  148. <ColumnInfo>
  149. <Column id="artno" type="STRING" size="256" sumtext="미술품번호"/>
  150. <Column id="title" type="STRING" size="256" sumtext="제목"/>
  151. <Column id="artist" type="STRING" size="256" sumtext="작사명"/>
  152. <Column id="asetcd" type="STRING" size="256" sumtext="자산코드"/>
  153. <Column id="stat" type="STRING" size="256" sumtext="상태"/>
  154. </ColumnInfo>
  155. <Rows>
  156. <Row/>
  157. </Rows>
  158. </Dataset>
  159. <Dataset id="ds_main_artlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  160. <ColumnInfo>
  161. <Column id="artno" type="STRING" size="256" sumtext="미술품번호"/>
  162. <Column id="poslrg" type="STRING" size="256" sumtext="장소대분류"/>
  163. <Column id="possml" type="STRING" size="256" sumtext="장소소분류(층)"/>
  164. <Column id="posdetl" type="STRING" size="256" sumtext="세부장소"/>
  165. <Column id="kind" type="STRING" size="256" sumtext="종류"/>
  166. <Column id="title" type="STRING" size="256" sumtext="제목"/>
  167. <Column id="artist" type="STRING" size="256" sumtext="작가명"/>
  168. <Column id="sizew" type="STRING" size="256" sumtext="가로크기"/>
  169. <Column id="sizeh" type="STRING" size="256" sumtext="세로크기"/>
  170. <Column id="possrsn" type="STRING" size="256" sumtext="취득사유"/>
  171. <Column id="possetc" type="STRING" size="256" sumtext="금액,기부자,비고"/>
  172. <Column id="asetrgstyn" type="STRING" size="256" sumtext="자산등록여부"/>
  173. <Column id="asetcd" type="STRING" size="256" sumtext="자산코드"/>
  174. <Column id="possdd" type="STRING" size="256" sumtext="취득일자"/>
  175. <Column id="stat" type="STRING" size="256" sumtext="상태"/>
  176. <Column id="cmt" type="STRING" size="256" sumtext="비고"/>
  177. </ColumnInfo>
  178. </Dataset>
  179. <Dataset id="ds_main_condition" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  180. <ColumnInfo>
  181. <Column id="artno" type="STRING" size="256"/>
  182. <Column id="title" type="STRING" size="256"/>
  183. <Column id="artist" type="STRING" size="256"/>
  184. <Column id="asetcd" type="STRING" size="256"/>
  185. <Column id="stat" type="STRING" size="256"/>
  186. </ColumnInfo>
  187. <Rows>
  188. <Row/>
  189. </Rows>
  190. </Dataset>
  191. </Objects>
  192. <Bind>
  193. <BindItem id="item0" compid="group3.grp_sea.ipt_artno_search" propid="value" datasetid="ds_main_condition" columnid="artno"/>
  194. <BindItem id="item1" compid="group3.grp_sea.ipt_title_search" propid="value" datasetid="ds_main_condition" columnid="title"/>
  195. <BindItem id="item2" compid="group3.grp_sea.ipt_artist_search" propid="value" datasetid="ds_main_condition" columnid="artist"/>
  196. <BindItem id="item3" compid="group3.grp_sea.ipt_asetcd_search" propid="value" datasetid="ds_main_condition" columnid="asetcd"/>
  197. <BindItem id="item4" compid="group3.grp_sea.rdo_stat_search" propid="value" datasetid="ds_main_condition" columnid="stat"/>
  198. </Bind>
  199. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  200. * System Name : 경대 의료정보시스템
  201. * Job Name : mis_acntknuhxp -> SMRAE00200
  202. * Creator : yjh
  203. * Make Date : 2017-12-13
  204. * Description :
  205. *---------------------------------------------------------------------------------------
  206. * Modify Date Modifier Modify Description
  207. *---------------------------------------------------------------------------------------
  208. * 2017-12-13 yjh TF->XP
  209. *
  210. *---------------------------------------------------------------------------------------
  211. ****************************************************************************************/
  212. //=======================================================================================
  213. // Lib Include
  214. //---------------------------------------------------------------------------------------
  215. include "com_commonxp::comm_main.xjs";
  216. include "mis_miscommonxp::MIS.xjs";
  217. //=======================================================================================
  218. // Global Form Variable
  219. //---------------------------------------------------------------------------------------
  220. //=======================================================================================
  221. // Function
  222. //---------------------------------------------------------------------------------------
  223. //========================================================================================
  224. //대장 조회 함수
  225. //========================================================================================
  226. function fGetArtList() {
  227. //model.removenode("/root/main/artlist");//조회시 기존 데이터 삭제
  228. misfGridInit(group3.grd_artlist);
  229. ds_send.copyRow(0, ds_main_condition, 0);
  230. var oParam = {};
  231. oParam.id = "TRRAE00201";
  232. oParam.service = "acntknuhapp.Acntknuh";
  233. oParam.method = "reqGetArtAllList";
  234. oParam.inds = "req=ds_send";
  235. oParam.outds = "ds_main_artlist=artlist";
  236. oParam.async = false;
  237. //oParam.callback = "cf_TRRAE00201";
  238. tranf_submit(oParam);
  239. }
  240. //=======================================================================================
  241. // Event
  242. //---------------------------------------------------------------------------------------
  243. /****************************************************************************************
  244. * Components : Form
  245. * Components ID : SMRAE00200
  246. * Event : oninit
  247. * Argument : 01.obj : Object Event has occurred
  248. * : 02.e : Event Object
  249. * Description : 화면 처음 초기화시
  250. ****************************************************************************************/
  251. function SMRAE00200_oninit(obj:Form, e:InitEventInfo)
  252. {
  253. frmf_initForm(obj); //폼 초기화
  254. }
  255. /****************************************************************************************
  256. * Components : Form
  257. * Components ID : SMRAE00200
  258. * Event : onload
  259. * Argument : 01.obj : Object Event has occurred
  260. * : 02.e : Event Object
  261. * Description : 화면 로딩 완료시
  262. ****************************************************************************************/
  263. function SMRAE00200_onload(obj:Form, e:LoadEventInfo)
  264. {
  265. grdf_setRowTypeIcon(group3.grd_artlist, 0);
  266. grdf_setGridSort(group3.grd_artlist);
  267. group3.grp_sea.rdo_stat_search.value = '1'; //1:정상
  268. misfGridInit(group3.grd_artlist);
  269. }
  270. /****************************************************************************************
  271. * Components : Button
  272. * Components ID : btn_search
  273. * Event : onclick
  274. * Argument : 01.obj : Object Event has occurred
  275. * : 02.e : Event Object
  276. * Description : 조회버튼 클릭시
  277. ****************************************************************************************/
  278. function group3_grp_sea_btn_search_onclick(obj:Button, e:ClickEventInfo)
  279. {
  280. fGetArtList();
  281. }
  282. /****************************************************************************************
  283. * Components : Button
  284. * Components ID : button4
  285. * Event : onclick
  286. * Argument : 01.obj : Object Event has occurred
  287. * : 02.e : Event Object
  288. * Description : 엑셀출력버튼 클릭시
  289. ****************************************************************************************/
  290. function group3_button4_onclick(obj:Button, e:ClickEventInfo)
  291. {
  292. //if( group3.grd_bugtexecist.rowcount > 0 ){
  293. grdf_exportExcel(group3.grd_artlist, "excel", "savetype", false, "", "user", false);
  294. // } else {
  295. // sysf_messageBox("조회된 데이터가 ", "I004");
  296. // return;
  297. // }
  298. }
  299. ]]></Script>
  300. </Form>
  301. </FDL>