SMMNO00800_외래기준자료관리.xfdl 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMMNO00800" position="absolute 0 0 1205 808" titletext="외래기준자료관리" onload="SMMNO00800_onload" oninit="SMMNO00800_oninit">
  5. <Layouts>
  6. <Layout>
  7. <Static id="caption6" class="tit_1" position="absolute 0 0 137 25" anchor="default" positiontype="position" text="외래기준자료관리"/>
  8. <Div id="grp_btn" position="absolute -50 773 1144 800" anchor="default" positiontype="position">
  9. <Layouts>
  10. <Layout/>
  11. </Layouts>
  12. </Div>
  13. <Tab id="switch1" taborder="1" tabindex="0" position="absolute 0 32 1195 796" anchor="all" positiontype="position" onchanged="switch1_onchanged">
  14. <Tabpages>
  15. <Tabpage id="Remark" text="예약Remark" position="absolute 0 0 740 714">
  16. <Layouts>
  17. <Layout>
  18. <Shape id="line8" class="line_1" position="absolute 5 24 735 24" linetype="horizontal" positiontype="position"/>
  19. <Shape id="line3" class="line_2" position="absolute 5 51 735 51" linetype="horizontal" positiontype="position"/>
  20. <Button id="button52" taborder="1" text="행삭제" class="btn2" position="absolute 1084 27 1140 47" anchor="top right" positiontype="position" onclick="switch1_Remark_button52_onclick"/>
  21. <Button id="button2" taborder="2" text="행추가" class="btn2" position="absolute 1025 27 1081 47" anchor="top right" positiontype="position" onclick="switch1_Remark_button2_onclick"/>
  22. <Static id="caption2" text="외래기준 상용문구" class="tit_2" position="absolute 0 3 155 23" align="align:center middle;" positiontype="position"/>
  23. <Button id="button10" taborder="3" text="저장" class="btn5" position="absolute 1143 27 1187 47" anchor="top right" positiontype="position" onclick="switch1_Remark_button10_onclick"/>
  24. <Radio id="radio2" taborder="4" columncount="4" rowcount="0" codecolumn="codecolumn" datacolumn="datacolumn" class="radio_search" position="absolute 173 25 418 45" align="align:center middle;" positiontype="position" onitemchanged="switch1_Remark_radio2_onitemchanged">
  25. <Dataset id="innerdataset">
  26. <ColumnInfo>
  27. <Column id="codecolumn" size="256"/>
  28. <Column id="datacolumn" size="256"/>
  29. </ColumnInfo>
  30. <Rows>
  31. <Row>
  32. <Col id="codecolumn">A1</Col>
  33. <Col id="datacolumn">예약Remark</Col>
  34. </Row>
  35. <Row>
  36. <Col id="codecolumn">A3</Col>
  37. <Col id="datacolumn">예약변경/취소사유</Col>
  38. </Row>
  39. </Rows>
  40. </Dataset>
  41. </Radio>
  42. <Grid id="grd_baselist" taborder="5" useinputpanel="false" position="absolute 0 48 1195 724" anchor="all" binddataset="ds_main_basecodelist_basecodelistinfo" positiontype="position" autofittype="col" cellsizingtype="col" selecttype="multirow">
  43. <Formats>
  44. <Format id="default">
  45. <Columns>
  46. <Column size="25" band="left"/>
  47. <Column size="683"/>
  48. <Column size="0"/>
  49. <Column size="0"/>
  50. <Column size="0"/>
  51. <Column size="0"/>
  52. <Column size="0"/>
  53. </Columns>
  54. <Rows>
  55. <Row size="22" band="head"/>
  56. <Row size="21"/>
  57. </Rows>
  58. <Band id="head">
  59. <Cell/>
  60. <Cell col="1" text="내용"/>
  61. <Cell col="2" text="caption1"/>
  62. <Cell col="3" text="caption2"/>
  63. <Cell col="4" text="caption3"/>
  64. <Cell col="5" text="caption4"/>
  65. <Cell col="6" text="caption5"/>
  66. </Band>
  67. <Band id="body">
  68. <Cell celltype="head"/>
  69. <Cell col="1" displaytype="text" edittype="text" style="padding:0 0 0 3;" text="bind:typenm"/>
  70. <Cell col="2" text="bind:basetypecd"/>
  71. <Cell col="3" text="bind:baseclsflag"/>
  72. <Cell col="4" text="bind:supbasetypecd"/>
  73. <Cell col="5" text="bind:cdcls"/>
  74. <Cell col="6" text="bind:orddeptcd"/>
  75. </Band>
  76. </Format>
  77. </Formats>
  78. </Grid>
  79. <Button id="button7" taborder="7" text="재조회" class="btn2" position="absolute 1131 0 1187 20" anchor="top right" positiontype="position" onclick="button7_onclick"/>
  80. <cp_deptList id="cp_deptList00" titletext="New Form" taborder="8" text="cp_deptList00" position="absolute 0 20 170 40"/>
  81. <Combo id="cmb_orddeptcd" taborder="8" innerdataset="@ds_hidden_orddeptlist_dept" codecolumn="deptcd" datacolumn="depthngnm" class="combo_search" position="absolute 0 25 170 45" onitemchanged="switch1_Remark_cmb_orddeptcd_onitemchanged"/>
  82. <Shape id="line2" class="line_10" position="absolute 0 20 1195 26" anchor="left top right"/>
  83. </Layout>
  84. </Layouts>
  85. </Tabpage>
  86. <Tabpage id="SMS" text="SMS상용구">
  87. <Layouts>
  88. <Layout>
  89. <Grid id="grd_smslist" taborder="0" useinputpanel="false" position="absolute 0 50 349 718" autofittype="col" anchor="left top bottom" binddataset="ds_main_smscodelist_smscodelistinfo" positiontype="position" ondbclick="grd_smslist_ondbclick" autoenter="select" oncelldblclick="switch1_SMS_grd_smslist_oncelldblclick">
  90. <Formats>
  91. <Format id="default">
  92. <Columns>
  93. <Column size="25" band="left"/>
  94. <Column size="305"/>
  95. <Column size="0"/>
  96. <Column size="0"/>
  97. <Column size="0"/>
  98. <Column size="0"/>
  99. <Column size="0"/>
  100. </Columns>
  101. <Rows>
  102. <Row size="22" band="head"/>
  103. <Row size="27"/>
  104. </Rows>
  105. <Band id="head">
  106. <Cell/>
  107. <Cell col="1" text="분 류"/>
  108. <Cell col="2" text="caption1"/>
  109. <Cell col="3" text="caption2"/>
  110. <Cell col="4" text="caption3"/>
  111. <Cell col="5" text="caption4"/>
  112. <Cell col="6" text="caption5"/>
  113. </Band>
  114. <Band id="body">
  115. <Cell celltype="head"/>
  116. <Cell col="1" displaytype="text" style="padding:0 0 0 3;" text="bind:typenm"/>
  117. <Cell col="2" text="bind:basetypecd"/>
  118. <Cell col="3" text="bind:baseclsflag"/>
  119. <Cell col="4" text="bind:supbasetypecd"/>
  120. <Cell col="5" text="bind:cdcls"/>
  121. <Cell col="6" text="bind:orddeptcd"/>
  122. <Cell col="7"/>
  123. </Band>
  124. </Format>
  125. </Formats>
  126. </Grid>
  127. <Grid id="grd_basesmslist" taborder="1" useinputpanel="false" position="absolute 350 50 1195 718" autofittype="col" anchor="all" binddataset="ds_main_basecodelist_basecodelistinfo" positiontype="position" autoenter="select" cellsizingtype="both" autosizingtype="row" extendsizetype="row">
  128. <Formats>
  129. <Format id="default">
  130. <Columns>
  131. <Column size="25" band="left"/>
  132. <Column size="444"/>
  133. <Column size="0"/>
  134. <Column size="0"/>
  135. <Column size="0"/>
  136. <Column size="0"/>
  137. <Column size="0"/>
  138. </Columns>
  139. <Rows>
  140. <Row size="22" band="head"/>
  141. <Row size="20"/>
  142. </Rows>
  143. <Band id="head">
  144. <Cell/>
  145. <Cell col="1" text="내용"/>
  146. <Cell col="2" text="caption1"/>
  147. <Cell col="3" text="caption2"/>
  148. <Cell col="4" text="caption3"/>
  149. <Cell col="5" text="caption4"/>
  150. <Cell col="6" text="caption5"/>
  151. </Band>
  152. <Band id="body">
  153. <Cell celltype="head"/>
  154. <Cell col="1" displaytype="text" edittype="text" style="padding:2 2 2 2;" class="cell_nopadding" text="bind:typenm" wordwrap="word" autosizerow="limitmin"/>
  155. <Cell col="2" text="bind:basetypecd"/>
  156. <Cell col="3" text="bind:baseclsflag"/>
  157. <Cell col="4" text="bind:supbasetypecd"/>
  158. <Cell col="5" text="bind:cdcls"/>
  159. <Cell col="6" text="bind:orddeptcd"/>
  160. </Band>
  161. </Format>
  162. </Formats>
  163. </Grid>
  164. <Static id="caption4" text="SMS 상용문구" class="tit_2" position="absolute 0 0 155 20" align="align:center middle;" positiontype="position"/>
  165. <Button id="button6" taborder="3" text="행추가" class="btn2" position="absolute 200 28 252 48" positiontype="position" onclick="switch1_SMS_button6_onclick"/>
  166. <Button id="button9" taborder="4" text="행삭제" class="btn2" position="absolute 253 28 305 48" positiontype="position" onclick="switch1_SMS_button9_onclick"/>
  167. <Button id="button11" taborder="5" text="저장" class="btn5" position="absolute 306 28 348 48" positiontype="position" onclick="switch1_SMS_button11_onclick"/>
  168. <Button id="button1" taborder="7" text="행추가" class="btn2" position="absolute 1025 28 1081 48" anchor="top right" positiontype="position" onclick="switch1_SMS_button1_onclick"/>
  169. <Button id="button3" taborder="8" text="행삭제" class="btn2" position="absolute 1084 28 1140 48" anchor="top right" positiontype="position" onclick="switch1_SMS_button3_onclick"/>
  170. <Button id="button4" taborder="9" text="저장" class="btn5" position="absolute 1143 28 1187 48" anchor="top right" positiontype="position" onclick="switch1_SMS_button4_onclick"/>
  171. <Button id="button8" taborder="10" text="재조회" class="btn2" position="absolute 1131 0 1187 20" anchor="top right" positiontype="position" onclick="switch1_SMS_button8_onclick"/>
  172. <Static id="caption1" text="분류" class="cell_1" position="absolute 0 25 44 49"/>
  173. <Edit id="input2" taborder="13" imemode="hangul" maxlength="20" class="input_search" position="absolute 45 27 189 47" autoselect="true"/>
  174. <Combo id="combo2" taborder="14" innerdataset="@ds_hidden_orddeptlist_dept" codecolumn="deptcd" datacolumn="depthngnm" class="combo_search" position="absolute 426 27 596 47" onitemchanged="switch1_SMS_combo2_onitemchanged"/>
  175. <Static id="caption7" text="진료과" class="cell_1" position="absolute 350 25 424 49"/>
  176. <Shape id="line2" class="line_10" position="absolute 0 20 1195 26" anchor="left top right"/>
  177. </Layout>
  178. </Layouts>
  179. </Tabpage>
  180. <Tabpage id="Doct" text="의사예약알림">
  181. <Layouts>
  182. <Layout>
  183. <Static id="caption5" text="의사별 예약 알림" class="tit_2" position="absolute 0 0 155 20" align="align:center middle;" positiontype="position"/>
  184. <Grid id="grd_doctlist" taborder="2" useinputpanel="false" position="absolute 0 50 1195 726" autofittype="col" anchor="all" binddataset="ds_main_doctlist_doctlistinfo" positiontype="position" autoenter="select" cellsizingtype="col">
  185. <Formats>
  186. <Format id="default">
  187. <Columns>
  188. <Column size="25" band="left"/>
  189. <Column size="70"/>
  190. <Column size="70"/>
  191. <Column size="490"/>
  192. <Column size="490"/>
  193. <Column size="0"/>
  194. </Columns>
  195. <Rows>
  196. <Row size="24" band="head"/>
  197. <Row size="24"/>
  198. </Rows>
  199. <Band id="head">
  200. <Cell/>
  201. <Cell col="1" text="의사ID"/>
  202. <Cell col="2" text="의사명"/>
  203. <Cell col="3" text="초진"/>
  204. <Cell col="4" text="재진"/>
  205. <Cell col="5" text="caption1"/>
  206. </Band>
  207. <Band id="body">
  208. <Cell celltype="head"/>
  209. <Cell col="1" text="bind:orddrid"/>
  210. <Cell col="2" text="bind:usernm"/>
  211. <Cell col="3" displaytype="text" edittype="text" text="bind:fstexamrem"/>
  212. <Cell col="4" displaytype="text" edittype="text" text="bind:reexamrem"/>
  213. <Cell col="5" text="bind:orddeptcd"/>
  214. </Band>
  215. </Format>
  216. </Formats>
  217. </Grid>
  218. <Button id="button5" taborder="3" text="저장" class="btn5" position="absolute 1142 28 1186 48" anchor="top right" positiontype="position" onclick="switch1_Doct_button5_onclick"/>
  219. <Button id="button12" taborder="4" text="재조회" class="btn2" position="absolute 1131 0 1186 20" anchor="top right" positiontype="position" onclick="switch1_Doct_button12_onclick"/>
  220. <Combo id="cmb_orddept" taborder="5" class="combo_search" enable="true" position="absolute 61 26 231 46" positiontype="position" onitemchanged="switch1_Doct_cmb_orddept_onitemchanged" innerdataset="@ds_hidden_orddeptlist_dept" datacolumn="depthngnm" codecolumn="deptcd"/>
  221. <Static id="caption3" text="진료과" class="cell_1" position="absolute 0 25 60 49" align="align:center middle;" positiontype="position"/>
  222. <Shape id="line2" class="line_10" position="absolute 0 20 1195 26" anchor="left top right"/>
  223. </Layout>
  224. </Layouts>
  225. </Tabpage>
  226. </Tabpages>
  227. </Tab>
  228. </Layout>
  229. </Layouts>
  230. <Objects>
  231. <Dataset id="ds_main_cond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  232. <ColumnInfo>
  233. <Column id="basetypecd" type="STRING" size="256"/>
  234. <Column id="baseclsflag" type="STRING" size="256"/>
  235. <Column id="supbasetypecd" type="STRING" size="256"/>
  236. <Column id="orddeptcd" type="STRING" size="256"/>
  237. </ColumnInfo>
  238. <Rows>
  239. <Row>
  240. <Col id="basetypecd"/>
  241. <Col id="baseclsflag"/>
  242. <Col id="supbasetypecd"/>
  243. <Col id="orddeptcd"/>
  244. </Row>
  245. </Rows>
  246. </Dataset>
  247. <Dataset id="ds_main_basecodelist_basecodelistinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  248. <ColumnInfo>
  249. <Column id="basetypecd" type="STRING" size="256" sumtext="기준형태코드"/>
  250. <Column id="baseclsflag" type="STRING" size="256" sumtext="기준분류코드"/>
  251. <Column id="supbasetypecd" type="STRING" size="256" sumtext="분류상위코드"/>
  252. <Column id="cdcls" type="STRING" size="256" sumtext="코드분류"/>
  253. <Column id="typenm" type="STRING" size="256" sumtext="형태명칭"/>
  254. <Column id="refseq" type="STRING" size="256" sumtext="조회순서"/>
  255. <Column id="basetypenm" type="STRING" size="256" sumtext="기준형태명"/>
  256. <Column id="orddeptcd" type="STRING" size="256" sumtext="진료부서코드"/>
  257. </ColumnInfo>
  258. </Dataset>
  259. <Dataset id="ds" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  260. <ColumnInfo>
  261. <Column id="item" type="STRING" size="256"/>
  262. </ColumnInfo>
  263. <Rows>
  264. <Row/>
  265. </Rows>
  266. </Dataset>
  267. <Dataset id="ds_main_smscodelist_smscodelistinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  268. <ColumnInfo>
  269. <Column id="basetypecd" type="STRING" size="256" sumtext="기준형태코드"/>
  270. <Column id="baseclsflag" type="STRING" size="256" sumtext="기준분류코드"/>
  271. <Column id="supbasetypecd" type="STRING" size="256" sumtext="분류상위코드"/>
  272. <Column id="cdcls" type="STRING" size="256" sumtext="코드분류"/>
  273. <Column id="typenm" type="STRING" size="256" sumtext="형태명칭"/>
  274. <Column id="refseq" type="STRING" size="256" sumtext="조회순서"/>
  275. <Column id="basetypenm" type="STRING" size="256" sumtext="기준형태명"/>
  276. <Column id="orddeptcd" type="STRING" size="256" sumtext="진료부서코드"/>
  277. </ColumnInfo>
  278. </Dataset>
  279. <Dataset id="ds_hidden_orddeptlist_dept" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  280. <Dataset id="ds_main_doctlist_doctlistinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  281. <ColumnInfo>
  282. <Column id="orddrid" type="STRING" size="256" sumtext="의사ID"/>
  283. <Column id="usernm" type="STRING" size="256" sumtext="의사명"/>
  284. <Column id="orddeptcd" type="STRING" size="256" sumtext="진료과"/>
  285. <Column id="fstexamrem" type="STRING" size="256" sumtext="초진"/>
  286. <Column id="reexamrem" type="STRING" size="256" sumtext="재진"/>
  287. </ColumnInfo>
  288. </Dataset>
  289. <Dataset id="ds_temp_basecodelist_basecodelistinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  290. <Dataset id="ds_temp_smscodelist_smscodelistinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  291. <Dataset id="ds_send_req" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  292. <Dataset id="ds_send_basecodelistinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  293. <Dataset id="ds_send_doctlistinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  294. </Objects>
  295. <Bind>
  296. <BindItem id="item1" compid="switch1.Remark.radio2" propid="value" datasetid="ds_main_cond" columnid="supbasetypecd"/>
  297. <BindItem id="item4" compid="switch1.Doct.cmb_orddept" propid="value" datasetid="ds_main_cond" columnid="orddeptcd"/>
  298. <BindItem id="item5" compid="switch1.Remark.cp_deptList00.cmb_dept" propid="value" datasetid="ds_cond" columnid="orddeptcd"/>
  299. <BindItem id="item0" compid="switch1.Remark.cmb_orddeptcd" propid="value" datasetid="ds_main_cond" columnid="orddeptcd"/>
  300. <BindItem id="item3" compid="switch1.SMS.combo2" propid="value" datasetid="ds_main_cond" columnid="orddeptcd"/>
  301. <BindItem id="item2" compid="switch1.SMS.input2" propid="value" datasetid="ds" columnid="item"/>
  302. </Bind>
  303. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  304. * System Name : KU2.0
  305. * Job Name :
  306. * File Name : SMMNO00800_외래기준자료관리.xfdl
  307. * Creator :
  308. * Make Date : 2016-03-07
  309. *
  310. * Description :
  311. *---------------------------------------------------------------------------------------
  312. * Modify Date Modifier Modify Description
  313. *---------------------------------------------------------------------------------------
  314. *
  315. *---------------------------------------------------------------------------------------
  316. ****************************************************************************************/
  317. include "com_commonxp::comm_main.xjs";
  318. include "emr_outcarexp::SMMNO00800.xjs";
  319. include "com_departmentcodexp::ZSD001.xjs";
  320. var arErrorCode = new HashArray();
  321. function SMMNO00800_oninit(obj:Form, e:InitEventInfo)
  322. {
  323. frmf_initForm(obj);
  324. }
  325. function SMMNO00800_onload(obj:Form, e:LoadEventInfo)
  326. {
  327. grdf_initGrid(switch1.Remark.grd_baselist);
  328. grdf_setRowTypeIcon(switch1.Remark.grd_baselist, 0);
  329. grdf_initGrid(switch1.SMS.grd_smslist);
  330. grdf_setRowTypeIcon(switch1.SMS.grd_smslist, 0);
  331. grdf_initGrid(switch1.SMS.grd_basesmslist);
  332. grdf_setRowTypeIcon(switch1.SMS.grd_basesmslist, 0);
  333. grdf_initGrid(switch1.Doct.grd_doctlist);
  334. grdf_setRowTypeIcon(switch1.Doct.grd_doctlist, 0);
  335. fInitialize();
  336. }
  337. function switch1_Remark_cmb_orddeptcd_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  338. {
  339. fBaseCodeSearch("");
  340. }
  341. function switch1_Remark_radio2_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
  342. {
  343. fBaseCodeSearch("");
  344. }
  345. function button7_onclick(obj:Button, e:ClickEventInfo)
  346. {
  347. fClickTab("1");
  348. }
  349. function switch1_Remark_button2_onclick(obj:Button, e:MouseEventInfo)
  350. {
  351. fAddRow("Remark", switch1.Remark.grd_baselist);
  352. }
  353. function switch1_Remark_button52_onclick(obj:Button, e:ClickEventInfo)
  354. {
  355. fDelRow("Remark", switch1.Remark.grd_baselist);
  356. }
  357. function switch1_Remark_button10_onclick(obj:Button, e:ClickEventInfo)
  358. {
  359. fSave("Remark", switch1.Remark.grd_baselist);
  360. }
  361. function switch1_onchanged(obj:Tab, e:TabIndexChangeEventInfo)
  362. {
  363. if(obj.tabindex == 0)
  364. {
  365. fClickTab("1");
  366. }
  367. else if(obj.tabindex == 1)
  368. {
  369. fClickTab("2");
  370. }
  371. else
  372. {
  373. fClickTab("3");
  374. }
  375. }
  376. function switch1_SMS_button6_onclick(obj:Button, e:ClickEventInfo)
  377. {
  378. fClsFlagAddRow();
  379. }
  380. function switch1_SMS_button9_onclick(obj:Button, e:ClickEventInfo)
  381. {
  382. fClsFlagDelRow();
  383. }
  384. function switch1_SMS_button11_onclick(obj:Button, e:ClickEventInfo)
  385. {
  386. fClsFlagSave();
  387. }
  388. function switch1_SMS_grd_smslist_oncelldblclick(obj:Grid, e:GridClickEventInfo)
  389. {
  390. fSmsBaseCodeSearch("");
  391. }
  392. function switch1_SMS_combo2_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  393. {
  394. fClickTab("2");
  395. }
  396. function switch1_SMS_button1_onclick(obj:Button, e:ClickEventInfo)
  397. {
  398. fAddRow("SMS", switch1.SMS.grd_basesmslist);
  399. }
  400. function switch1_SMS_button3_onclick(obj:Button, e:ClickEventInfo)
  401. {
  402. fDelRow("SMS", switch1.SMS.grd_basesmslist);
  403. }
  404. function switch1_SMS_button4_onclick(obj:Button, e:ClickEventInfo)
  405. {
  406. fSave("SMS", switch1.SMS.grd_basesmslist);
  407. fClickTab("2");
  408. }
  409. function switch1_SMS_button8_onclick(obj:Button, e:ClickEventInfo)
  410. {
  411. fClickTab("2");
  412. }
  413. function switch1_Doct_cmb_orddept_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  414. {
  415. fDeptChanged();
  416. }
  417. function switch1_Doct_button12_onclick(obj:Button, e:ClickEventInfo)
  418. {
  419. fClickTab("3");
  420. }
  421. function switch1_Doct_button5_onclick(obj:Button, e:ClickEventInfo)
  422. {
  423. fDoctSave();
  424. fClickTab("3");
  425. }
  426. ]]></Script>
  427. </Form>
  428. </FDL>