SMPID32100_결핵적정성평가조회.xfdl 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMPPI01100" position="absolute 0 0 1211 733" titletext="결핵 적정성 평가 조회" oninit="SMPPI01100_oninit" onload="SMPPI01100_onload">
  5. <Layouts>
  6. <Layout>
  7. <Div position="absolute 0 26 1211 732" id="grp_biz" scrollbars="autoboth" anchor="all">
  8. <Layouts>
  9. <Layout>
  10. <Div position="absolute 0 0 1211 63" align="align:center top;" id="group1" class="div_SA" anchor="left top right">
  11. <Layouts>
  12. <Layout width="1160" height="40">
  13. <Button position="absolute 1095 18 1151 40" id="btn_select" class="btn1" taborder="32" text="조회" anchor="top right" onclick="grp_biz_group1_btn_select_onclick"/>
  14. <Shape position="absolute 1077 13 1083 46" linetype="vertical" id="line3" class="line_4" anchor="top right"/>
  15. <Static text="진단확진일 :" position="absolute 7 10 92 27" id="caption2" class="search_name" anchor="default"/>
  16. <Calendar position="absolute 93 10 208 29" id="ipt_fromdd" enable="true" mask="yyyy-mm-dd" anchor="default" onkeydown="grp_biz_group1_input2_onkeydown" oneditclick="grp_biz_group1_ipt_fromdd_oneditclick" onkeyup="grp_biz_group1_ipt_fromdd_onkeyup" onchanged="grp_biz_group1_ipt_fromdd_onchanged" autoselect="true"/>
  17. <Calendar id="ipt_todd" taborder="33" onkeydown="grp_biz_group1_input2_onkeydown" position="absolute 233 10 348 29" mask="yyyy-mm-dd" onkeyup="grp_biz_group1_ipt_todd_onkeyup" autoselect="true" anchor="default"/>
  18. <Static id="Static00" text="~" position="absolute 212 10 230 30" style="align:center middle;" anchor="default"/>
  19. <Static id="caption01" text="제외여부 :" class="search_name" position="absolute 797 10 872 27" anchor="default"/>
  20. <Combo id="Combo01" taborder="37" codecolumn="codecolumn" datacolumn="datacolumn" position="absolute 876 10 976 30" onitemchanged="grp_biz_group1_Combo01_onitemchanged" anchor="default">
  21. <Dataset id="innerdataset">
  22. <ColumnInfo>
  23. <Column id="codecolumn" size="256"/>
  24. <Column id="datacolumn" size="256"/>
  25. </ColumnInfo>
  26. <Rows>
  27. <Row>
  28. <Col id="codecolumn"/>
  29. <Col id="datacolumn">전체</Col>
  30. </Row>
  31. <Row>
  32. <Col id="codecolumn">1</Col>
  33. <Col id="datacolumn">제외만</Col>
  34. </Row>
  35. <Row>
  36. <Col id="codecolumn">0</Col>
  37. <Col id="datacolumn">미포함</Col>
  38. </Row>
  39. </Rows>
  40. </Dataset>
  41. </Combo>
  42. <Static id="caption05" text="환자번호 :" class="search_name" position="absolute 600 10 673 27" anchor="default"/>
  43. <Edit id="Edit00" taborder="40" position="absolute 680 10 780 30" imemode="alpha" autoselect="true" useime="none" onkeydown="grp_biz_group1_Edit00_onkeydown" anchor="default"/>
  44. <Static id="caption06" text="진료과 :" class="search_name" position="absolute 366 10 430 27" anchor="default"/>
  45. <Combo id="Combo04" taborder="41" innerdataset="@ds_init_cmb_orddeptcd" codecolumn="deptcd" datacolumn="depthngnm" position="absolute 438 10 581 30" anchor="default"/>
  46. <Static id="caption00" text="특례신청일 :" class="search_name" position="absolute 7 35 92 52" anchor="default"/>
  47. <Calendar id="ipt_fromdd00" taborder="42" autoselect="true" position="absolute 93 35 208 54" mask="yyyy-mm-dd" onchanged="grp_biz_group1_ipt_fromdd00_onchanged" anchor="default"/>
  48. <Static id="Static01" text="~" position="absolute 212 35 230 55" style="align:center middle;" anchor="default"/>
  49. <Calendar id="ipt_todd00" taborder="43" autoselect="true" position="absolute 233 35 348 54" mask="yyyy-mm-dd" anchor="default"/>
  50. </Layout>
  51. </Layouts>
  52. </Div>
  53. <Button id="btn_save" taborder="3" text="저장" onclick="grp_biz_btn_save_onclick" class="btn3" position="absolute 1076 66 1130 85" anchor="top right"/>
  54. <Button id="btn_excelsave" taborder="4" text="엑셀저장" onclick="grp_biz_btn_excelsave_onclick" class="btn7" position="absolute 1131 65 1211 84" anchor="top right"/>
  55. <Grid id="grd_dpcdlist" class="datagrid3" taborder="5" binddataset="ds_grd_dpcdlist" autoenter="select" useinputpanel="false" cellsizingtype="col" cellclickbound="cell" position="absolute 0 86 1211 706" anchor="all" autosizingtype="row" extendsizetype="row" cellmovingtype="col">
  56. <Formats>
  57. <Format id="default">
  58. <Columns>
  59. <Column size="23" band="left"/>
  60. <Column size="40" band="left"/>
  61. <Column size="25" band="left"/>
  62. <Column size="60" band="left"/>
  63. <Column size="65" band="left"/>
  64. <Column size="100" band="left"/>
  65. <Column size="60" band="left"/>
  66. <Column size="35" band="left"/>
  67. <Column size="60" band="left"/>
  68. <Column size="75" band="left"/>
  69. <Column size="75" band="left"/>
  70. <Column size="60" band="left"/>
  71. <Column size="60" band="left"/>
  72. <Column size="40" band="left"/>
  73. <Column size="75" band="left"/>
  74. <Column size="115"/>
  75. <Column size="115"/>
  76. <Column size="115"/>
  77. <Column size="166"/>
  78. <Column size="567"/>
  79. <Column size="40"/>
  80. <Column size="40"/>
  81. <Column size="180"/>
  82. <Column size="301"/>
  83. <Column size="0"/>
  84. <Column size="0"/>
  85. <Column size="0"/>
  86. </Columns>
  87. <Rows>
  88. <Row size="30" band="head"/>
  89. <Row size="46" band="head"/>
  90. <Row size="24"/>
  91. </Rows>
  92. <Band id="head">
  93. <Cell rowspan="2" taborder="undefined"/>
  94. <Cell col="1" rowspan="2" text="No" taborder="undefined"/>
  95. <Cell col="2" rowspan="2" text="제외" taborder="undefined"/>
  96. <Cell col="3" colspan="5" text="환자기본정보" taborder="undefined"/>
  97. <Cell col="8" colspan="7" text="결핵산정특례정보" taborder="undefined"/>
  98. <Cell col="15" colspan="3" text="치료 전 검사&#13;&#10;(결핵확진 60일 전 ~ 14일 후)" taborder="undefined"/>
  99. <Cell col="18" text="치료 전 검사&#13;&#10;(결핵확진 60일 전 ~ 60일 후)" taborder="undefined"/>
  100. <Cell col="19" colspan="3" text="치료약제 처방&#13;&#10;(결핵확진 14일 전 ~ 180일 후)" taborder="undefined"/>
  101. <Cell col="22" text="환자방문비율&#13;&#10;(결핵확진 14일 전 ~ 180일 후)"/>
  102. <Cell col="23" rowspan="2" text="기타메모" taborder="undefined"/>
  103. <Cell col="24" rowspan="2" text="cretno" taborder="undefined"/>
  104. <Cell col="25" rowspan="2" text="indd" taborder="undefined"/>
  105. <Cell col="26" rowspan="2" text="instcd" taborder="undefined"/>
  106. <Cell row="1" col="3" displaytype="normal" text="환자명"/>
  107. <Cell row="1" col="4" displaytype="normal" text="등록번호"/>
  108. <Cell row="1" col="5" displaytype="normal" text="진료과"/>
  109. <Cell row="1" col="6" displaytype="normal" text="진료의"/>
  110. <Cell row="1" col="7" displaytype="normal" text="원내&#13;&#10;구분"/>
  111. <Cell row="1" col="8" displaytype="normal" text="과거&#13;&#10;특례여부&#13;&#10;(2년이내)"/>
  112. <Cell row="1" col="9" displaytype="normal" text="진단확진일"/>
  113. <Cell row="1" col="10" displaytype="normal" text="특례신청일"/>
  114. <Cell row="1" col="11" displaytype="normal" text="특정코드"/>
  115. <Cell row="1" col="12" displaytype="normal" text="상병"/>
  116. <Cell row="1" col="13" displaytype="normal" text="신고서&#13;&#10;작성&#13;&#10;여부"/>
  117. <Cell row="1" col="14" displaytype="normal" text="신고서&#13;&#10;최종작성일"/>
  118. <Cell row="1" col="15" displaytype="normal" text="항산균도말검사"/>
  119. <Cell row="1" col="16" displaytype="normal" text="항산균배양검사"/>
  120. <Cell row="1" col="17" displaytype="normal" text="핵산증폭검사"/>
  121. <Cell row="1" col="18" text="약제감수성검사"/>
  122. <Cell row="1" col="19" displaytype="normal" text="처방내역"/>
  123. <Cell row="1" col="20" displaytype="normal" text="처방&#13;&#10;일수"/>
  124. <Cell row="1" col="21" text="일수&#13;&#10;합계"/>
  125. <Cell row="1" col="22" displaytype="normal" text="외래진료이력&#13;&#10;(V000 수진이력)"/>
  126. </Band>
  127. <Band id="body">
  128. <Cell celltype="head"/>
  129. <Cell col="1" expr="currow+1"/>
  130. <Cell col="2" displaytype="checkbox" edittype="checkbox" text="bind:remvyn"/>
  131. <Cell col="3" displaytype="normal" edittype="readonly" style="align:middle;" text="bind:patnm"/>
  132. <Cell col="4" displaytype="normal" edittype="readonly" style="align:middle;" text="bind:pid"/>
  133. <Cell col="5" displaytype="normal" edittype="readonly" style="align:middle;" text="bind:orddeptnm"/>
  134. <Cell col="6" displaytype="normal" edittype="readonly" style="align:middle;" text="bind:orddrnm"/>
  135. <Cell col="7" displaytype="normal" edittype="readonly" style="align:left middle;" text="bind:genrflagcd"/>
  136. <Cell col="8" displaytype="normal" edittype="readonly" text="bind:bfrooayn"/>
  137. <Cell col="9" displaytype="date" edittype="readonly" text="bind:rareobstcnfmdd"/>
  138. <Cell col="10" displaytype="date" edittype="readonly" text="bind:genrdd"/>
  139. <Cell col="11" displaytype="normal" edittype="readonly" text="bind:appspclcd"/>
  140. <Cell col="12" displaytype="normal" edittype="readonly" text="bind:appdiagcd"/>
  141. <Cell col="13" displaytype="normal" edittype="readonly" text="bind:reportyn"/>
  142. <Cell col="14" displaytype="date" edittype="readonly" text="bind:wrtedt"/>
  143. <Cell col="15" displaytype="normal" edittype="readonly" style="align:left top;" text="bind:lab_1" wordwrap="word" autosizerow="limitmin" autosizecol="limitmin"/>
  144. <Cell col="16" displaytype="normal" edittype="readonly" style="align:left top;" text="bind:lab_2" wordwrap="word" autosizerow="limitmin" autosizecol="limitmin"/>
  145. <Cell col="17" displaytype="normal" edittype="readonly" style="align:left top;" text="bind:lab_3" wordwrap="word" autosizerow="limitmin" autosizecol="limitmin"/>
  146. <Cell col="18" text="bind:lab_4"/>
  147. <Cell col="19" displaytype="text" edittype="readonly" style="align:left top;" text="bind:druglist" wordwrap="word" autosizerow="limitmin" autosizecol="limitmin"/>
  148. <Cell col="20" displaytype="text" edittype="readonly" style="align:right top;" text="bind:dayno" autosizecol="limitmin"/>
  149. <Cell col="21" displaytype="number" text="bind:daynosum"/>
  150. <Cell col="22" displaytype="text" edittype="readonly" style="align:left top;" text="bind:ordlist" wordwrap="word" autosizerow="limitmin" autosizecol="limitmin"/>
  151. <Cell col="23" displaytype="text" edittype="textarea" style="align:left top;" text="bind:rem" wordwrap="word" editautoselect="true" autosizerow="limitmin" autosizecol="limitmin"/>
  152. <Cell col="24" text="bind:cretno"/>
  153. <Cell col="25" text="bind:indd"/>
  154. <Cell col="26" text="bind:instcd"/>
  155. </Band>
  156. </Format>
  157. </Formats>
  158. </Grid>
  159. <Static id="cap_judgtrgtman" text="결핵 적정성 평가 대상자" onclick="cap_diag_onclick" class="tit_2" position="absolute 0 68 192 88" anchor="left top"/>
  160. </Layout>
  161. </Layouts>
  162. </Div>
  163. <Static id="cap_title" text="결핵 적정성 평가 조회" class="tit_1" position="absolute 0 0 272 26"/>
  164. </Layout>
  165. </Layouts>
  166. <Objects>
  167. <Dataset id="ds_grd_dpcdlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false" oncolumnchanged="ds_grd_dpcdlist_oncolumnchanged">
  168. <ColumnInfo>
  169. <Column id="patnm" type="STRING" size="255"/>
  170. <Column id="pid" type="STRING" size="255"/>
  171. <Column id="orddeptnm" type="STRING" size="255"/>
  172. <Column id="orddrnm" type="STRING" size="255"/>
  173. <Column id="genrflagcd" type="STRING" size="255"/>
  174. <Column id="bfrooayn" type="STRING" size="255"/>
  175. <Column id="rareobstcnfmdd" type="STRING" size="255"/>
  176. <Column id="genrdd" type="STRING" size="255"/>
  177. <Column id="appspclcd" type="STRING" size="255"/>
  178. <Column id="appdiagcd" type="STRING" size="255"/>
  179. <Column id="reportyn" type="STRING" size="255"/>
  180. <Column id="wrtedt" type="STRING" size="255"/>
  181. <Column id="lab_1" type="STRING" size="255"/>
  182. <Column id="lab_2" type="STRING" size="255"/>
  183. <Column id="lab_3" type="STRING" size="255"/>
  184. <Column id="druglist" type="STRING" size="255"/>
  185. <Column id="dayno" type="STRING" size="255"/>
  186. <Column id="ordlist" type="STRING" size="255"/>
  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="instcd" type="STRING" size="256"/>
  192. <Column id="fromdd" type="STRING" size="256"/>
  193. <Column id="todd" type="STRING" size="256"/>
  194. <Column id="remvyn" type="STRING" size="256"/>
  195. <Column id="pid" type="STRING" size="256"/>
  196. <Column id="orddeptcd" type="STRING" size="256"/>
  197. <Column id="genrfromdd" type="STRING" size="256"/>
  198. <Column id="genrtodd" type="STRING" size="256"/>
  199. </ColumnInfo>
  200. <Rows>
  201. <Row/>
  202. </Rows>
  203. </Dataset>
  204. <Dataset id="ds_send_dtl" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  205. <ColumnInfo>
  206. <Column id="pid" type="STRING" size="255"/>
  207. <Column id="patnm" type="STRING" size="255"/>
  208. <Column id="orddeptnm" type="STRING" size="255"/>
  209. <Column id="orddrnm" type="STRING" size="255"/>
  210. <Column id="indd" type="STRING" size="255"/>
  211. <Column id="dschdd" type="STRING" size="255"/>
  212. <Column id="opsnglcode" type="STRING" size="255"/>
  213. <Column id="opgrupcode" type="STRING" size="255"/>
  214. <Column id="opexecdd" type="STRING" size="255"/>
  215. <Column id="opfromdt" type="STRING" size="255"/>
  216. <Column id="optodt" type="STRING" size="255"/>
  217. <Column id="otheropinfo" type="STRING" size="255"/>
  218. <Column id="gbn" type="STRING" size="255"/>
  219. <Column id="prcpcd" type="STRING" size="255"/>
  220. <Column id="prcpnm" type="STRING" size="255"/>
  221. <Column id="execdd_min" type="STRING" size="255"/>
  222. <Column id="execdd_max" type="STRING" size="255"/>
  223. <Column id="sefa" type="STRING" size="255"/>
  224. <Column id="cnt" type="BIGDECIMAL" size="255"/>
  225. <Column id="flag" type="STRING" size="255"/>
  226. <Column id="rem" type="STRING" size="255"/>
  227. <Column id="cretno" type="BIGDECIMAL" size="255"/>
  228. <Column id="remvyn" type="STRING" size="255"/>
  229. <Column id="warnyn" type="STRING" size="255"/>
  230. <Column id="roomnm" type="STRING" size="255"/>
  231. </ColumnInfo>
  232. <Rows>
  233. <Row/>
  234. </Rows>
  235. </Dataset>
  236. <Dataset id="ds_init_cmb_orddeptcd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  237. </Objects>
  238. <Bind>
  239. <BindItem id="item0" compid="grp_biz.group1.ipt_fromdd" propid="value" datasetid="ds_send" columnid="fromdd"/>
  240. <BindItem id="item1" compid="grp_biz.group1.ipt_todd" propid="value" datasetid="ds_send" columnid="todd"/>
  241. <BindItem id="item5" compid="grp_biz.group1.Combo01" propid="value" datasetid="ds_send" columnid="remvyn"/>
  242. <BindItem id="item8" compid="grp_biz.group1.Edit00" propid="value" datasetid="ds_send" columnid="pid"/>
  243. <BindItem id="item9" compid="grp_biz.group1.Combo04" propid="value" datasetid="ds_send" columnid="orddeptcd"/>
  244. <BindItem id="item2" compid="grp_biz.group1.ipt_fromdd00" propid="value" datasetid="ds_send" columnid="genrfromdd"/>
  245. <BindItem id="item3" compid="grp_biz.group1.ipt_todd00" propid="value" datasetid="ds_send" columnid="genrtodd"/>
  246. </Bind>
  247. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  248. * System Name :
  249. * Job Name :
  250. * Creator :
  251. * Make Date : 2016-05-24
  252. * Description :
  253. *---------------------------------------------------------------------------------------
  254. * Modify Date Modifier Modify Description
  255. *---------------------------------------------------------------------------------------
  256. * 2016-05-24 Live Converter TF->XP
  257. *
  258. *---------------------------------------------------------------------------------------
  259. ****************************************************************************************/
  260. include "com_commonxp::comm_main.xjs";
  261. include "pam_pamcomnxp::PAM001.xjs";
  262. var lgv_hscroll_pos = 0;
  263. var lgv_vscroll_pos = 0;
  264. function SMPPI01100_oninit(obj:Form, e:InitEventInfo)
  265. {
  266. frmf_initForm(obj)
  267. }
  268. function SMPPI01100_onload(obj:Form, e:LoadEventInfo)
  269. {
  270. //grdf_initGrid(grp_biz.grd_dpcdlist);
  271. grdf_setRowTypeIcon(grp_biz.grd_dpcdlist, 0);
  272. grdf_setToolTipBind(grp_biz.grd_dpcdlist);
  273. var oParam = {};
  274. oParam.id = "TRPIJ00203";
  275. oParam.service = "bfjudgapp.InHospJudgTrgtMan";
  276. oParam.method = "reqGetDeptList";
  277. oParam.inds = "req=ds_send";
  278. oParam.outds = "ds_init_cmb_orddeptcd=deptlist";
  279. oParam.async = true;
  280. tranf_submit(oParam);
  281. //ds_init_cmb_orddeptcd.keystring = "S:depthngnm";
  282. fInitialize();
  283. }
  284. function fInitialize(){
  285. var mm = utlf_getCurrentDate().toDate().getAddDate(-1,"M").getDateFormat("YYYYMMDD");
  286. var lastdate = utlf_lastDateNum(mm)
  287. ds_send.setColumn(0,"fromdd", mm.substr(0,6) + '01');
  288. ds_send.setColumn(0,"todd", mm.substr(0,6) + lastdate);
  289. //fGetDocuList();
  290. }
  291. function cf_TRPPI01001(sSvcId, nErrorCode, sErrorMsg) {
  292. if(nErrorCode < 0) return;
  293. }
  294. function fGetDocuList(){
  295. lgv_hscroll_pos = grp_biz.grd_dpcdlist.hscrollbar.pos;
  296. lgv_vscroll_pos = grp_biz.grd_dpcdlist.vscrollbar.pos;
  297. var oParam = {};
  298. oParam.id = "TRPPI01300";
  299. oParam.service = "aftjudgapp.InAftJudgTrgtMan";
  300. oParam.method = "reqGetTubrclsPrvnList";
  301. oParam.inds = "req=ds_send";
  302. oParam.outds = "ds_grd_dpcdlist=rsltlist";
  303. oParam.async = false;
  304. oParam.callback = "cf_TRPPI01300";
  305. tranf_submit(oParam);
  306. }
  307. function cf_TRPPI01300(sSvcId, nErrorCode, sErrorMsg) {
  308. if(nErrorCode < 0) {return};
  309. ds_grd_dpcdlist.updatecontrol = false;
  310. for (var i=0, rowcnt= ds_grd_dpcdlist.rowcount; i < rowcnt; i++) {
  311. if (ds_grd_dpcdlist.getColumn(i,"flag") == "I") {
  312. ds_grd_dpcdlist.setRowType(i, 2)
  313. } else {
  314. ds_grd_dpcdlist.setRowType(i, 1)
  315. }
  316. }
  317. ds_grd_dpcdlist.updatecontrol = true;
  318. grp_biz.grd_dpcdlist.hscrollbar.pos = lgv_hscroll_pos;
  319. grp_biz.grd_dpcdlist.vscrollbar.pos = lgv_vscroll_pos;
  320. }
  321. function grp_biz_btn_excelsave_onclick(obj:Button, e:ClickEventInfo)
  322. {
  323. if (ds_grd_dpcdlist.rowcount > 0) {
  324. grdf_exportExcel(grp_biz.grd_dpcdlist, grp_biz.cap_judgtrgtman.text , "see");
  325. }else{
  326. sysf_messageBox("엑셀저장할 내역이", "I004");
  327. }
  328. }
  329. function grp_biz_group1_btn_select_onclick(obj:Button, e:ClickEventInfo)
  330. {
  331. fGetDocuList();
  332. }
  333. function grp_biz_group1_ipt_diagcd_onkeydown(obj:Edit, e:KeyEventInfo)
  334. {
  335. if(e.keycode == 13)
  336. {
  337. grp_biz_group1_btn_select_onclick();
  338. }
  339. }
  340. function grp_biz_group1_input1_onkeydown(obj:Edit, e:KeyEventInfo)
  341. {
  342. if(e.keycode == 13)
  343. {
  344. grp_biz_group1_btn_select_onclick();
  345. }
  346. }
  347. function grp_biz_group1_ipt_fromdd_onkeyup(obj:Calendar, e:KeyEventInfo)
  348. {
  349. if(e.keycode == 13)
  350. {
  351. obj.updateToDataset();
  352. grp_biz.group1.ipt_todd.setFocus();
  353. //grp_biz_group1_btn_select_onclick();
  354. }
  355. }
  356. function grp_biz_group1_ipt_todd_onkeyup(obj:Calendar, e:KeyEventInfo)
  357. {
  358. if(e.keycode == 13)
  359. {
  360. obj.updateToDataset();
  361. grp_biz_group1_btn_select_onclick();
  362. }
  363. }
  364. function grp_biz_btn_save_onclick(obj:Button, e:ClickEventInfo)
  365. {
  366. var oParam = {};
  367. oParam.id = "TXPPI01300";
  368. oParam.service = "aftjudgapp.InAftJudgTrgtMan";
  369. oParam.method = "reqExeTubrclsPrvnList";
  370. oParam.inds = "req=ds_grd_dpcdlist:U";
  371. //oParam.outds = "ds_grd_dpasdasdcdlist=rslt";
  372. oParam.async = false;
  373. oParam.callback = "cf_TXPPI01300";
  374. tranf_submit(oParam);
  375. }
  376. function cf_TXPPI01300(sSvcId, nErrorCode, sErrorMsg) {
  377. if(nErrorCode < 0) {return};
  378. ds_grd_dpcdlist.applyChange();
  379. fGetDocuList();
  380. }
  381. function grp_biz_group1_ipt_fromdd_onchanged(obj:Calendar, e:ChangeEventInfo)
  382. {
  383. grp_biz.group1.ipt_todd.value = e.postvalue;
  384. }
  385. function grp_biz_group1_Edit00_onkeydown(obj:Edit, e:KeyEventInfo)
  386. {
  387. if(e.keycode == 13)
  388. {
  389. grp_biz.group1.btn_select.setFocus();
  390. grp_biz_group1_btn_select_onclick();
  391. }
  392. }
  393. function grp_biz_group1_ipt_fromdd00_onchanged(obj:Calendar, e:ChangeEventInfo)
  394. {
  395. grp_biz.group1.ipt_todd00.value = e.postvalue;
  396. }
  397. ]]></Script>
  398. </Form>
  399. </FDL>