SMAVT02103_방사선조사내역.xfdl 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429
  1. <?xml version="1.0" encoding="utf-8" standalone="no"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMAVT02103" position="absolute 0 0 1199 788" titletext="조직은행 방사선조사 내역" onload="SMAVT02103_onload">
  5. <Layouts>
  6. <Layout>
  7. <Div id="grp_tle" position="absolute 0 0 1195 25" style="">
  8. <Layouts>
  9. <Layout>
  10. <Static id="caption6" class="tit_1" position="absolute 0 0 210 23" style="" text="조직은행 방사선조사 내역"/>
  11. </Layout>
  12. </Layouts>
  13. </Div>
  14. <Div id="grp_biz" scrollbars="autoboth" position="absolute 0 13 1194 757" style="">
  15. <Layouts>
  16. <Layout>
  17. <Static id="caption1" class="tit_2" position="absolute 5 52 223 69" style="" text="조직은행 방사선조사 내역 리스트" anchor="default"/>
  18. <Shape id="line1" class="line_10" linetype="horizontal" position="absolute 0 71 1194 75" style="" anchor="default"/>
  19. <Grid id="dtg_batchlist" binddataset="ds_main_batchlist_item" position="absolute 0 289 1194 739" style="align:center ;" anchor="default">
  20. <Formats>
  21. <Format id="default">
  22. <Columns>
  23. <Column size="24"/>
  24. <Column size="80"/>
  25. <Column size="60"/>
  26. <Column size="50"/>
  27. <Column size="301"/>
  28. <Column size="90"/>
  29. <Column size="100"/>
  30. <Column size="100"/>
  31. <Column size="100"/>
  32. <Column size="100"/>
  33. <Column size="100"/>
  34. <Column size="100"/>
  35. <Column size="100"/>
  36. </Columns>
  37. <Rows>
  38. <Row size="23" band="head"/>
  39. <Row size="23"/>
  40. </Rows>
  41. <Band id="head">
  42. <Cell/>
  43. <Cell col="1" text="Graft No"/>
  44. <Cell col="2" text="배치번호"/>
  45. <Cell col="3" text="방사선"/>
  46. <Cell col="4" text="Description"/>
  47. <Cell col="5" text="Size"/>
  48. <Cell col="6" text="유효기간"/>
  49. <Cell col="7" text="방사선SEQ"/>
  50. <Cell col="8" text="총무게"/>
  51. <Cell col="9" text="조사전 ice"/>
  52. <Cell col="10" text="조사후 ice"/>
  53. <Cell col="11" text="비고"/>
  54. <Cell col="12" text="상태"/>
  55. </Band>
  56. <Band id="body">
  57. <Cell celltype="head" expr="currow + 1"/>
  58. <Cell col="1" text="bind:graftno" suppress="1" suppressalign="middle,over"/>
  59. <Cell col="2" style="align:center middle;" text="bind:batchno"/>
  60. <Cell col="3" displaytype="combo" text="bind:radialynd" combodataset="ds_init_combobscdlst_C09" combocodecol="cdid" combodatacol="cdnm"/>
  61. <Cell col="4" displaytype="combo" text="bind:grafttypecd" combodataset="ds_init_combogtcdlst_item" combocodecol="grafttypecd" combodatacol="grafttypenm"/>
  62. <Cell col="5" text="bind:sizewcnt"/>
  63. <Cell col="6" displaytype="date" text="bind:expiredate" mask="yyyy-MM-dd" calendardisplaynulltype="nulltext"/>
  64. <Cell col="7" text="bind:rseq"/>
  65. <Cell col="8" text="bind:totalweight"/>
  66. <Cell col="9" text="bind:dryiceb"/>
  67. <Cell col="10" text="bind:dryicea"/>
  68. <Cell col="11" text="bind:bigo"/>
  69. <Cell col="12" displaytype="combo" text="bind:rstated" combodataset="ds_init_combobscdlst_C23" combocodecol="cdid" combodatacol="cdnm"/>
  70. </Band>
  71. </Format>
  72. </Formats>
  73. </Grid>
  74. <Div id="grp_sea" position="absolute 0 10 1194 45" style="align: top;" class="div_SA" anchor="default">
  75. <Layouts>
  76. <Layout>
  77. <Shape id="line13" class="line_4" linetype="vertical" position="absolute 1107 7 1110 29" style="" anchor="default"/>
  78. <Button id="btn_sea" class="btn1" position="absolute 1123 7 1179 29" style="" text="조회" onclick="grp_biz_grp_sea_btn_sea_onclick" anchor="default"/>
  79. </Layout>
  80. </Layouts>
  81. </Div>
  82. <Button id="btn_excsave" class="btn7" position="absolute 1118 50 1194 69" style="" text="엑셀저장" onclick="grp_biz_btn_excsave_onclick" anchor="default"/>
  83. <Shape id="line2" class="line_10" linetype="horizontal" position="absolute 0 286 1194 290" style="" anchor="default"/>
  84. <Grid id="dtg_batchinfolist" binddataset="ds_main_batchinfolist_item" position="absolute 0 74 1194 264" style="align:center ;" oncelldblclick="grp_biz_dtg_batchinfolist_oncelldblclick" anchor="default">
  85. <Formats>
  86. <Format id="default">
  87. <Columns>
  88. <Column size="25"/>
  89. <Column size="150"/>
  90. <Column size="101"/>
  91. <Column size="350"/>
  92. <Column size="550"/>
  93. </Columns>
  94. <Rows>
  95. <Row size="23" band="head"/>
  96. <Row size="23"/>
  97. </Rows>
  98. <Band id="head">
  99. <Cell/>
  100. <Cell col="1" text="조사일자"/>
  101. <Cell col="2" text="방사선조사SEQ"/>
  102. <Cell col="3" text="장소"/>
  103. <Cell col="4" text="이송방법"/>
  104. </Band>
  105. <Band id="body">
  106. <Cell celltype="head" expr="currow + 1"/>
  107. <Cell col="1" displaytype="date" text="bind:rdd" mask="yyyy-MM-dd" suppress="1" suppressalign="middle,over" calendardisplaynulltype="nulltext"/>
  108. <Cell col="2" text="bind:rseq" suppress="2" suppressalign="middle,over"/>
  109. <Cell col="3" displaytype="combo" text="bind:rplaced" combodataset="ds_init_combobscdlst_C22" combocodecol="cdid" combodatacol="cdnm"/>
  110. <Cell col="4" displaytype="combo" text="bind:rpathd" combodataset="ds_init_combobscdlst_C21" combocodecol="cdid" combodatacol="cdnm"/>
  111. </Band>
  112. </Format>
  113. </Formats>
  114. </Grid>
  115. </Layout>
  116. </Layouts>
  117. </Div>
  118. <Div id="grp_btn" position="absolute 0 757 1190 784" style="">
  119. <Layouts>
  120. <Layout>
  121. <Button id="btn_prt" class="btn6" visible="false" position="absolute 0 5 56 27" style="" text="출력" onclick="grp_btn_btn_prt_onclick" anchor="default"/>
  122. </Layout>
  123. </Layouts>
  124. </Div>
  125. </Layout>
  126. </Layouts>
  127. <Objects>
  128. <Dataset id="ds_main_batchlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  129. <ColumnInfo/>
  130. </Dataset>
  131. <Dataset id="ds_main_batchinfolist_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  132. <ColumnInfo>
  133. <Column id="rdd" type="STRING" size="256"/>
  134. <Column id="rseq" type="STRING" size="256"/>
  135. <Column id="rplaced" type="STRING" size="256"/>
  136. <Column id="rpathd" type="STRING" size="256"/>
  137. </ColumnInfo>
  138. <Rows>
  139. <Row>
  140. <Col id="rdd"/>
  141. <Col id="rseq"/>
  142. <Col id="rplaced"/>
  143. <Col id="rpathd"/>
  144. </Row>
  145. </Rows>
  146. </Dataset>
  147. <Dataset id="ds_main_batchinfolist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  148. <ColumnInfo/>
  149. </Dataset>
  150. <Dataset id="ds_temp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  151. <ColumnInfo>
  152. <Column id="temp" type="STRING" size="256"/>
  153. </ColumnInfo>
  154. <Rows>
  155. <Row>
  156. <Col id="temp"/>
  157. </Row>
  158. </Rows>
  159. </Dataset>
  160. <Dataset id="ds_main" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  161. <ColumnInfo/>
  162. </Dataset>
  163. <Dataset id="ds_init" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  164. <ColumnInfo>
  165. <Column id="combobscdlst" type="STRING" size="256"/>
  166. <Column id="comboabncdlst" type="STRING" size="256"/>
  167. </ColumnInfo>
  168. <Rows>
  169. <Row>
  170. <Col id="combobscdlst"/>
  171. <Col id="comboabncdlst"/>
  172. </Row>
  173. </Rows>
  174. </Dataset>
  175. <Dataset id="ds_rexprnt" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  176. <ColumnInfo/>
  177. </Dataset>
  178. <Dataset id="ds_hidden" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  179. <ColumnInfo>
  180. <Column id="hidden" type="STRING" size="256"/>
  181. </ColumnInfo>
  182. <Rows>
  183. <Row>
  184. <Col id="hidden"/>
  185. </Row>
  186. </Rows>
  187. </Dataset>
  188. <Dataset id="ds_main_batchlist_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  189. <ColumnInfo>
  190. <Column id="graftno" type="STRING" size="256"/>
  191. <Column id="partseq" type="STRING" size="256"/>
  192. <Column id="batchno" type="STRING" size="256"/>
  193. <Column id="radialynd" type="STRING" size="256"/>
  194. <Column id="grafttypecd" type="STRING" size="256"/>
  195. <Column id="sizewcnt" type="STRING" size="256"/>
  196. <Column id="expiredate" type="STRING" size="256"/>
  197. <Column id="rseq" type="STRING" size="256"/>
  198. <Column id="totalweight" type="STRING" size="256"/>
  199. <Column id="dryiceb" type="STRING" size="256"/>
  200. <Column id="dryicea" type="STRING" size="256"/>
  201. <Column id="bigo" type="STRING" size="256"/>
  202. <Column id="rstated" type="STRING" size="256"/>
  203. </ColumnInfo>
  204. <Rows>
  205. <Row>
  206. <Col id="graftno"/>
  207. <Col id="partseq"/>
  208. <Col id="batchno"/>
  209. <Col id="radialynd"/>
  210. <Col id="grafttypecd"/>
  211. <Col id="sizewcnt"/>
  212. <Col id="expiredate"/>
  213. <Col id="rseq"/>
  214. <Col id="totalweight"/>
  215. <Col id="dryiceb"/>
  216. <Col id="dryicea"/>
  217. <Col id="bigo"/>
  218. <Col id="rstated"/>
  219. </Row>
  220. </Rows>
  221. </Dataset>
  222. <Dataset id="ds_rexprnt_benflist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  223. <ColumnInfo>
  224. <Column id="srchfromdd" type="STRING" size="256"/>
  225. <Column id="srchtodd" type="STRING" size="256"/>
  226. </ColumnInfo>
  227. </Dataset>
  228. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  229. <ColumnInfo>
  230. <Column id="srchfromdd" type="STRING" size="256"/>
  231. <Column id="srchtodd" type="STRING" size="256"/>
  232. <Column id="srchuseyn" type="STRING" size="256"/>
  233. <Column id="srchgrafttypecd" type="STRING" size="256"/>
  234. <Column id="srchgrafttypenm" type="STRING" size="256"/>
  235. <Column id="srchflag" type="STRING" size="256"/>
  236. <Column id="srchrdd" type="STRING" size="256"/>
  237. <Column id="srchrseq" type="STRING" size="256"/>
  238. </ColumnInfo>
  239. <Rows>
  240. <Row>
  241. <Col id="srchfromdd"/>
  242. <Col id="srchtodd"/>
  243. <Col id="srchuseyn"/>
  244. <Col id="srchgrafttypecd"/>
  245. <Col id="srchgrafttypenm"/>
  246. <Col id="srchflag"/>
  247. <Col id="srchrdd"/>
  248. <Col id="srchrseq"/>
  249. </Row>
  250. </Rows>
  251. </Dataset>
  252. <Dataset id="ds_init_combobscdlst_C09" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  253. <Dataset id="ds_init_combobscdlst_C20" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  254. <Dataset id="ds_init_combobscdlst_C21" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  255. <Dataset id="ds_init_combobscdlst_C22" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  256. <Dataset id="ds_init_combobscdlst_C23" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  257. <Dataset id="ds_init_combogtcdlst_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  258. <ColumnInfo>
  259. <Column id="grafttypecd" type="STRING" size="256"/>
  260. <Column id="grafttypenm" type="STRING" size="256"/>
  261. </ColumnInfo>
  262. <Rows>
  263. <Row>
  264. <Col id="grafttypecd"/>
  265. <Col id="grafttypenm"/>
  266. </Row>
  267. </Rows>
  268. </Dataset>
  269. </Objects>
  270. <Bind/>
  271. <Script type="xscript4.0"><![CDATA[include "com_commonxp::comm_main.xjs";
  272. include "com_commodulexp::SSZFM00901.xjs";
  273. include "ast_tissuebankbasexp::tissuebankcombolist.xjs";
  274. //include "ast_healexamxp::AHA001.xjs";
  275. include "com_zipcodexp::ZBP001.xjs";
  276. var arErrorCode = new HashArray();
  277. //스크립트 시작 ***
  278. //전체에서 event와 src를 제외한 script 를 모두포함.
  279. // 화면 초기화
  280. function fGetScreenInit(){
  281. ds_send.setColumn( 0, "srchfromdd", utlf_getCurrentDate());
  282. ds_send.setColumn( 0, "srchtodd", utlf_getCurrentDate());
  283. ds_main_batchlist.clearData();
  284. ds_main_batchinfolist.clearData();
  285. var arrparm = [
  286. {dsNm: "ds_init_combobscdlst_C09", cdGrpId: "C09"}, // C09 유무구분
  287. {dsNm: "ds_init_combobscdlst_C20", cdGrpId: "C20"}, // C20 방사선량
  288. {dsNm: "ds_init_combobscdlst_C21", cdGrpId: "C21"}, // C21 이송방법 및 온도
  289. {dsNm: "ds_init_combobscdlst_C22", cdGrpId: "C22"}, // C22 방사선조사 장소
  290. {dsNm: "ds_init_combobscdlst_C23", cdGrpId: "C23"} // C23 방사선조사 상태
  291. ]; // C25 의료관리자 2011.1.19 cyw
  292. tbGetBscdList( arrparm );
  293. // Graft Tsdype List
  294. ds_init_combogtcdlst_item.clearData();
  295. ds_send.setColumn( 0, "srchuseyn", "Y");
  296. //submit("TRAVB00003");
  297. var oParam = {};
  298. oParam.id = "TRAVB00003";
  299. oParam.service = "tissuebankbaseapp.TissueBankType";
  300. oParam.method = "reqGetGtCdList";
  301. oParam.inds = "req=ds_send";
  302. oParam.outds = "ds_init_combogtcdlst_item=item";
  303. oParam.async = false;
  304. tranf_submit(oParam);
  305. //submit("TRAVT02103");
  306. var oParam = {};
  307. oParam.id = "TRAVT02103";
  308. oParam.service = "tissuebankapp.TissueBankProcess";
  309. oParam.method = "reqGetStatistics080";
  310. oParam.inds = "req=ds_send";
  311. oParam.outds = "ds_main_batchinfolist_item=item";
  312. oParam.async = false;
  313. tranf_submit(oParam);
  314. //model.refresh();
  315. }
  316. //스크립트 끝
  317. function SMAVT02103_onload(obj:Form, e:LoadEventInfo) {
  318. frmf_initForm(obj);
  319. grdf_initGrid(grp_biz.dtg_batchinfolist);
  320. grdf_initGrid(grp_biz.dtg_batchlist);
  321. //grdf_setGridSort(grd_XXX);
  322. //grdf_setRowTypeIcon(grd_XXX, 0_컬럼위치값);
  323. ds_main_batchinfolist.clearData();
  324. ds_main_batchlist.clearData();
  325. fGetScreenInit();
  326. }
  327. function grp_biz_grp_sea_btn_sea_onclick(obj:Button, e:ClickEventInfo) {
  328. if( ds_send.getColumn(0, "srchfromdd") == ""){
  329. sysf_messageBox("조회기간", "E013", "입력 후 다시 조회하세요.");
  330. return;
  331. }
  332. if( ds_send.getColumn(0, "srchtodd") == "" ){
  333. sysf_messageBox("조회기간", "E013", "입력 후 다시 조회하세요.");
  334. return;
  335. }
  336. //submit("TRAVT02103");
  337. var oParam = {};
  338. oParam.id = "TRAVT02103";
  339. oParam.service = "tissuebankapp.TissueBankProcess";
  340. oParam.method = "reqGetStatistics080";
  341. oParam.inds = "req=ds_send";
  342. oParam.outds = "ds_main_batchinfolist_item=item";
  343. oParam.async = false;
  344. tranf_submit(oParam);
  345. //model.refresh();
  346. }
  347. function grp_biz_btn_excsave_onclick(obj:Button, e:ClickEventInfo) {
  348. // var filename = window.fileDialog("save",",",false,"excel","xls","All File(*.*)|*.*|Excel File(*.xls)|*.xls");
  349. //
  350. // if (filename != "")
  351. // {
  352. // dtg_abnclslist.saveExcel(filename);
  353. grdf_exportExcel(grp_biz.dtg_schblist, "Sheet1", "방사선조사내역", false, "" , 'user' , true);
  354. // }
  355. }
  356. function grp_biz_dtg_batchinfolist_oncelldblclick(obj:Grid, e:GridClickEventInfo) {
  357. if( e.row >= 0 ){
  358. var row = ds_main_batchinfolist_item.rowposition;
  359. ds_send.setColumn( 0, "srchrdd", ds_main_batchinfolist_item.getColumn(row, "rdd"));
  360. ds_send.setColumn( 0, "srchrseq", ds_main_batchinfolist_item.getColumn(row, "rseq"));
  361. //if( submit("TRAVT02104") ){
  362. var oParam = {};
  363. oParam.id = "TRAVT02104";
  364. oParam.service = "tissuebankapp.TissueBankProcess";
  365. oParam.method = "reqGetStatistics090";
  366. oParam.inds = "req=ds_send";
  367. oParam.outds = "ds_main_batchlist_item=item";
  368. oParam.async = false;
  369. oParam.callback = "cf_TRAVT02104";
  370. tranf_submit(oParam);
  371. if(arErrorCode.pop("TRAVT02104") > -1) {
  372. "partseq"
  373. dsf_setTypeFormat(ds_main_batchlist_item, "batchno:string");
  374. var cnt = ds_main_batchlist_item.rowcount;
  375. for( i = 0 ; i < cnt ; i++ ){
  376. if( String(ds_main_batchlist_item.getColumn(i, "batchno")).length == 1 ){
  377. ds_main_batchlist_item.setColumn( i , "batchno", "00"+ ds_main_batchlist_item.getColumn(i, "batchno"))
  378. }
  379. if( String(ds_main_batchlist_item.getColumn(i, "batchno")).length == 2 ){
  380. ds_main_batchlist_item.setColumn( i , "batchno", "0"+ ds_main_batchlist_item.getColumn(i, "batchno"))
  381. }
  382. }
  383. }
  384. //model.refresh();
  385. }
  386. }
  387. function cf_TRAVT02104(sSvcId, nErrorCode, sErrorMsg) {
  388. arErrorCode.push(sSvcId, nErrorCode);
  389. }
  390. function grp_btn_btn_prt_onclick(obj:Button, e:ClickEventInfo) {
  391. }
  392. ]]></Script>
  393. </Form>
  394. </FDL>