SMMNP05300_관리대상장비목록.xfdl 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMMNP05300" position="absolute 0 0 1200 725" titletext="관리대상장비목록" oninit="SMMNP05300_oninit" onload="SMMNP05300_onload" ontimer="SMMNP05300_ontimer">
  5. <Layouts>
  6. <Layout>
  7. <Div position="absolute 0 0 1195 25" id="group1">
  8. <Layouts>
  9. <Layout>
  10. <Static text="관리대상장비목록" position="absolute 0 0 140 25" 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 18 1195 722" id="group3" scrollbars="autoboth">
  16. <Layouts>
  17. <Layout>
  18. <Grid position="absolute 0 67 1195 701" id="grd_emqtlist" binddataset="ds_main_eqmtlist" anchor="default" cellsizingtype="col" tooltiptype="hover" scrollpixel="all">
  19. <Formats>
  20. <Format id="default">
  21. <Columns>
  22. <Column size="20" band="left"/>
  23. <Column size="110"/>
  24. <Column size="95"/>
  25. <Column size="300"/>
  26. <Column size="100"/>
  27. <Column size="100"/>
  28. <Column size="100"/>
  29. <Column size="100"/>
  30. <Column size="75"/>
  31. <Column size="80"/>
  32. <Column size="75"/>
  33. </Columns>
  34. <Rows>
  35. <Row size="24" band="head"/>
  36. <Row size="24"/>
  37. </Rows>
  38. <Band id="head">
  39. <Cell/>
  40. <Cell col="1" text="설치장소"/>
  41. <Cell col="2" text="장비코드"/>
  42. <Cell col="3" text="장비명"/>
  43. <Cell col="4" text="규격"/>
  44. <Cell col="5" text="모델"/>
  45. <Cell col="6" text="제조원"/>
  46. <Cell col="7" text="제품번호"/>
  47. <Cell col="8" text="수입회사"/>
  48. <Cell col="9" text="제조국"/>
  49. <Cell col="10" text="설치일"/>
  50. </Band>
  51. <Band id="body">
  52. <Cell celltype="head" expr="expr:currow + 1"/>
  53. <Cell col="1" style="align:left;" text="bind:installplcenm" tooltiptext="bind:installplcenm"/>
  54. <Cell col="2" text="bind:eqmtcd" tooltiptext="bind:eqmtcd"/>
  55. <Cell col="3" style="align:left;" text="bind:eqmtnm" tooltiptext="bind:eqmtnm"/>
  56. <Cell col="4" style="align:left top;padding:4 2 2 2;" text="bind:eqmtspec" wordwrap="word" tooltiptext="bind:eqmtspec"/>
  57. <Cell col="5" style="align:left;" text="bind:goodmodel" tooltiptext="bind:goodmodel"/>
  58. <Cell col="6" style="align:left;" text="bind:prodcmpynm" tooltiptext="bind:prodcmpynm"/>
  59. <Cell col="7" style="align:left;" text="bind:goodno" tooltiptext="bind:goodno"/>
  60. <Cell col="8" style="align:left;" text="bind:custnm" tooltiptext="bind:custnm"/>
  61. <Cell col="9" style="align:left;" text="bind:prodnatinm" tooltiptext="bind:prodnatinm"/>
  62. <Cell col="10" style="align:left;" text="bind:installdd" tooltiptext="bind:installdd"/>
  63. </Band>
  64. </Format>
  65. </Formats>
  66. </Grid>
  67. <Shape position="absolute 0 62 1195 68" linetype="horizontal" id="line1" class="line_10" anchor="default"/>
  68. <Div position="absolute 0 5 1195 45" align="align:center top;" id="group2" class="div_SA" anchor="default">
  69. <Layouts>
  70. <Layout>
  71. <Button position="absolute 995 10 1051 32" align="align:left middle;" id="button3" class="btn1" taborder="8" text="조회" anchor="default" onclick="group3_group2_button3_onclick"/>
  72. <Shape position="absolute 977 8 983 33" linetype="vertical" id="line2" class="line_4" anchor="default"/>
  73. <Static text="설치장소 :" position="absolute 15 12 89 29" id="caption59" class="search_name" anchor="default"/>
  74. <Static text="장비코드 :" position="absolute 240 12 314 29" id="caption5" class="search_name" anchor="default"/>
  75. <Button position="absolute 400 10 416 26" id="button1" class="icon_search" text="" anchor="default" onclick="group3_group2_button1_onclick"/>
  76. <Edit position="absolute 425 10 615 29" id="inp_eqmtnm" class="input_search" anchor="default" autoselect="true"/>
  77. <Edit position="absolute 315 10 395 29" id="inp_eqmtcd" class="input_search" anchor="default" autoselect="true"/>
  78. <Combo position="absolute 90 10 190 29" id="cmb_installplcecd" innerdataset="@ds_init_installplcelist" datacolumn="installplcenm" codecolumn="installplcecd" anchor="default" onitemchanged="group3_group2_cmb_installplcecd_onitemchanged"/>
  79. <Button position="absolute 1053 10 1133 32" align="align:left middle;" id="button2" class="btn7" taborder="8" text="엑셀저장" anchor="default" onclick="group3_group2_button2_onclick"/>
  80. <Button position="absolute 1135 10 1191 32" align="align:left middle;" id="button4" class="btn6" taborder="8" text="출력" anchor="default" onclick="group3_group2_button4_onclick"/>
  81. </Layout>
  82. </Layouts>
  83. </Div>
  84. <Static text="관리대상장비목록" position="absolute 0 46 185 62" id="caption2" class="tit_2" anchor="default"/>
  85. </Layout>
  86. </Layouts>
  87. </Div>
  88. </Layout>
  89. </Layouts>
  90. <Objects>
  91. <Dataset id="ds_init_installplcelist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  92. <ColumnInfo>
  93. <Column id="installplcenm" type="STRING" size="256" sumtext="설치장소"/>
  94. <Column id="installplcecd" type="STRING" size="256" sumtext="설치장소코드"/>
  95. </ColumnInfo>
  96. </Dataset>
  97. <Dataset id="ds_send_reqdata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  98. <ColumnInfo>
  99. <Column id="installplcecd" type="STRING" size="256" sumtext="설치장소"/>
  100. <Column id="eqmtcd" type="STRING" size="256" sumtext="장비코드"/>
  101. </ColumnInfo>
  102. </Dataset>
  103. <Dataset id="ds_main_eqmtlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  104. <ColumnInfo>
  105. <Column id="installplcenm" type="STRING" size="256" sumtext="설치장소 "/>
  106. <Column id="eqmtcd" type="STRING" size="256" sumtext="장비코드 "/>
  107. <Column id="eqmtnm" type="STRING" size="256" sumtext="장비명 "/>
  108. <Column id="prodcmpynm" type="STRING" size="256" sumtext="제조원 "/>
  109. <Column id="goodno" type="STRING" size="256" sumtext="제품번호 "/>
  110. <Column id="eqmtspec" type="STRING" size="256" sumtext="장비규격 "/>
  111. <Column id="prodnati" type="STRING" size="256" sumtext="제조국 "/>
  112. <Column id="prodnatinm" type="STRING" size="256" sumtext="제조국 "/>
  113. <Column id="installdd" type="STRING" size="256" sumtext="설치일 "/>
  114. <Column id="custnm" type="STRING" size="256" sumtext="수입국 "/>
  115. <Column id="goodmodel" type="STRING" size="256" sumtext="모델 "/>
  116. </ColumnInfo>
  117. </Dataset>
  118. <Dataset id="ds_main_cond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  119. <ColumnInfo>
  120. <Column id="installplcecd" type="STRING" size="256"/>
  121. <Column id="eqmtcd" type="STRING" size="256"/>
  122. <Column id="eqmtnm" type="STRING" size="256"/>
  123. </ColumnInfo>
  124. <Rows>
  125. <Row/>
  126. </Rows>
  127. </Dataset>
  128. <Dataset id="ds_send_report" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  129. <ColumnInfo>
  130. <Column id="installplcecd" type="STRING" size="256"/>
  131. <Column id="eqmtcd" type="STRING" size="256"/>
  132. <Column id="instcd" type="STRING" size="256"/>
  133. </ColumnInfo>
  134. <Rows>
  135. <Row/>
  136. </Rows>
  137. </Dataset>
  138. </Objects>
  139. <Bind>
  140. <BindItem id="item0" compid="group3.group2.cmb_installplcecd" propid="value" datasetid="ds_main_cond" columnid="installplcecd"/>
  141. <BindItem id="item1" compid="group3.group2.inp_eqmtcd" propid="value" datasetid="ds_main_cond" columnid="eqmtcd"/>
  142. <BindItem id="item2" compid="group3.group2.inp_eqmtnm" propid="value" datasetid="ds_main_cond" columnid="eqmtnm"/>
  143. </Bind>
  144. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  145. * System Name : 경대 의료정보시스템
  146. * Job Name : emr_opanstxp -> SMMNP05300
  147. * Creator : yjh
  148. * Make Date : 2016-12-06
  149. * Description :
  150. *---------------------------------------------------------------------------------------
  151. * Modify Date Modifier Modify Description
  152. *---------------------------------------------------------------------------------------
  153. * 2016-12-06 yjh TF->XP
  154. *
  155. *---------------------------------------------------------------------------------------
  156. ****************************************************************************************/
  157. //=======================================================================================
  158. // Lib Include
  159. //---------------------------------------------------------------------------------------
  160. include "com_commonxp::comm_main.xjs";
  161. include "emr_opanstxp::SMMNP05300.xjs";
  162. include "emr_carecomxp::CareCom.xjs";
  163. //=======================================================================================
  164. // Global Form Variable
  165. //---------------------------------------------------------------------------------------
  166. //=======================================================================================
  167. // Function
  168. //---------------------------------------------------------------------------------------
  169. //=======================================================================================
  170. // Event
  171. //---------------------------------------------------------------------------------------
  172. /****************************************************************************************
  173. * Components : Form
  174. * Components ID : SMMNP05300
  175. * Event : oninit
  176. * Argument : 01.obj : Object Event has occurred
  177. * : 02.e : Event Object
  178. * Description : 화면 처음 초기화시
  179. ****************************************************************************************/
  180. function SMMNP05300_oninit(obj:Form, e:InitEventInfo)
  181. {
  182. frmf_initForm(obj); //폼 초기화
  183. }
  184. /****************************************************************************************
  185. * Components : Form
  186. * Components ID : SMMNP05300
  187. * Event : onload
  188. * Argument : 01.obj : Object Event has occurred
  189. * : 02.e : Event Object
  190. * Description : 화면 로딩 완료시
  191. ****************************************************************************************/
  192. function SMMNP05300_onload(obj:Form, e:LoadEventInfo)
  193. {
  194. fInit();
  195. }
  196. /****************************************************************************************
  197. * Components : Combo
  198. * Components ID : cmb_installplcecd
  199. * Event : onitemchanged
  200. * Argument : 01.obj : Object Event has occurred
  201. * : 02.e : Event Object
  202. * Description : 콤보 값 변경시
  203. ****************************************************************************************/
  204. function group3_group2_cmb_installplcecd_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  205. {
  206. DataRead();
  207. }
  208. /****************************************************************************************
  209. * Components : Button
  210. * Components ID : button1
  211. * Event : onclick
  212. * Argument : 01.obj : Object Event has occurred
  213. * : 02.e : Event Object
  214. * Description : 돋보기버튼 클릭시
  215. ****************************************************************************************/
  216. function group3_group2_button1_onclick(obj:Button, e:ClickEventInfo)
  217. {
  218. fOpEqmtPopup();
  219. }
  220. /****************************************************************************************
  221. * Components : Button
  222. * Components ID : button3
  223. * Event : onclick
  224. * Argument : 01.obj : Object Event has occurred
  225. * : 02.e : Event Object
  226. * Description : 조회버튼 클릭시
  227. ****************************************************************************************/
  228. function group3_group2_button3_onclick(obj:Button, e:ClickEventInfo)
  229. {
  230. DataRead();
  231. }
  232. /****************************************************************************************
  233. * Components : Button
  234. * Components ID : button2
  235. * Event : onclick
  236. * Argument : 01.obj : Object Event has occurred
  237. * : 02.e : Event Object
  238. * Description : 엑셀저장버튼 클릭시
  239. ****************************************************************************************/
  240. function group3_group2_button2_onclick(obj:Button, e:ClickEventInfo)
  241. {
  242. if( group3.grd_emqtlist.rowcount > 0 ){
  243. grdf_exportExcel(group3.grd_emqtlist, "관리대상장비목록", "SheetName", false, "", "user", false);
  244. } else {
  245. sysf_messageBox("조회된 데이터가 ", "I004");
  246. return;
  247. }
  248. }
  249. /****************************************************************************************
  250. * Components : Button
  251. * Components ID : button4
  252. * Event : onclick
  253. * Argument : 01.obj : Object Event has occurred
  254. * : 02.e : Event Object
  255. * Description : 출력버튼 클릭시
  256. ****************************************************************************************/
  257. function group3_group2_button4_onclick(obj:Button, e:ClickEventInfo)
  258. {
  259. fPrntEmqtList();
  260. }
  261. function SMMNP05300_ontimer(obj:Form, e:TimerEventInfo)
  262. {
  263. if( e.timerid == 0 ){
  264. this.killTimer(0);
  265. DataRead();
  266. }
  267. }
  268. ]]></Script>
  269. </Form>
  270. </FDL>