SMMNR07500_투약기준시간관리.xfdl 78 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMMNR07500" position="absolute 0 0 1200 800" titletext="투약기준시간관리" oninit="SMMNR07500_oninit" onload="SMMNR07500_onload">
  5. <Layouts>
  6. <Layout>
  7. <Div position="absolute 0 0 1194 24" id="group1">
  8. <Layouts>
  9. <Layout>
  10. <Static text="투약기준시간관리" position="absolute 0 0 139 24" id="caption6" class="tit_1" anchor="default"/>
  11. </Layout>
  12. </Layouts>
  13. </Div>
  14. <Tab position="absolute 0 25 1194 789" id="switch1" onchanged="switch1_onchanged">
  15. <Tabpages>
  16. <Tabpage text="기준시간 관리" id="case1">
  17. <Layouts>
  18. <Layout>
  19. <Shape position="absolute 9 7 774 13" linetype="horizontal" id="line1" class="line_10"/>
  20. <Shape position="absolute 5 59 368 65" linetype="horizontal" id="line_2" class="line_2"/>
  21. <Static text="용법구분" position="absolute 5 40 80 63" align="align:center middle;" id="caption1" class="cell_1"/>
  22. <Shape position="absolute 7 84 368 90" linetype="horizontal" id="line2" class="line_2"/>
  23. <Combo position="absolute 82 65 365 84" id="cmb_direccd" taborder="2" innerdataset="@ds_init_mthdcdlist" datacolumn="mthdnm" codecolumn="mthdcd" onitemchanged="switch1_case1_cmb_direccd_onitemchanged"/>
  24. <Static text="투약회수" position="absolute 5 88 80 109" align="align:center middle;" id="caption3" class="cell_1"/>
  25. <Static text="용법코드" position="absolute 5 64 80 87" align="align:center middle;" id="caption4" class="cell_1"/>
  26. <Grid position="absolute 82 110 367 200" id="grd_mnrmdtim" taborder="4" binddataset="ds_main_dtiminfo_dtim" cellsizebandtype="allband" cellsizingtype="col">
  27. <Formats>
  28. <Format id="default">
  29. <Columns>
  30. <Column size="40" band="left"/>
  31. <Column size="0"/>
  32. <Column size="0"/>
  33. <Column size="0"/>
  34. <Column size="0"/>
  35. <Column size="0"/>
  36. <Column size="0"/>
  37. <Column size="0"/>
  38. <Column size="0"/>
  39. <Column size="0"/>
  40. <Column size="0"/>
  41. <Column size="0"/>
  42. <Column size="0"/>
  43. </Columns>
  44. <Rows>
  45. <Row size="24" band="head"/>
  46. <Row size="24"/>
  47. </Rows>
  48. <Band id="head">
  49. <Cell text="회차"/>
  50. <Cell col="1" text="1"/>
  51. <Cell col="2" text="2"/>
  52. <Cell col="3" text="3"/>
  53. <Cell col="4" text="4"/>
  54. <Cell col="5" text="5"/>
  55. <Cell col="6" text="6"/>
  56. <Cell col="7" text="7"/>
  57. <Cell col="8" text="8"/>
  58. <Cell col="9" text="9"/>
  59. <Cell col="10" text="10"/>
  60. <Cell col="11" text="11"/>
  61. <Cell col="12" text="12"/>
  62. </Band>
  63. <Band id="body">
  64. <Cell celltype="head" text="bind:title"/>
  65. <Cell col="1" displaytype="text" edittype="mask" text="bind:seqno1" mask="9999" maskchar=" " edittrimtype="both" editautoselect="true"/>
  66. <Cell col="2" displaytype="text" edittype="mask" text="bind:seqno2" mask="9999" maskchar=" " edittrimtype="both" editautoselect="true"/>
  67. <Cell col="3" displaytype="text" edittype="mask" text="bind:seqno3" mask="9999" maskchar=" " edittrimtype="both" editautoselect="true"/>
  68. <Cell col="4" displaytype="text" edittype="mask" text="bind:seqno4" mask="9999" maskchar=" " edittrimtype="both" editautoselect="true"/>
  69. <Cell col="5" displaytype="text" edittype="mask" text="bind:seqno5" mask="9999" maskchar=" " edittrimtype="both" editautoselect="true"/>
  70. <Cell col="6" displaytype="text" edittype="mask" text="bind:seqno6" mask="9999" maskchar=" " edittrimtype="both" editautoselect="true"/>
  71. <Cell col="7" displaytype="text" edittype="mask" text="bind:seqno7" mask="9999" maskchar=" " edittrimtype="both" editautoselect="true"/>
  72. <Cell col="8" displaytype="text" edittype="mask" text="bind:seqno8" mask="9999" maskchar=" " edittrimtype="both" editautoselect="true"/>
  73. <Cell col="9" displaytype="text" edittype="mask" text="bind:seqno9" mask="9999" maskchar=" " edittrimtype="both" editautoselect="true"/>
  74. <Cell col="10" displaytype="text" edittype="mask" text="bind:seqno10" mask="9999" maskchar=" " edittrimtype="both" editautoselect="true"/>
  75. <Cell col="11" displaytype="text" edittype="mask" text="bind:seqno11" mask="9999" maskchar=" " edittrimtype="both" editautoselect="true"/>
  76. <Cell col="12" displaytype="text" edittype="mask" text="bind:seqno12" mask="9999" maskchar=" " edittrimtype="both" editautoselect="true"/>
  77. </Band>
  78. </Format>
  79. </Formats>
  80. </Grid>
  81. <Static text="공통&#13;&#10;(용법&amp;약품)&#13;&#10;투약시간" position="absolute 5 110 80 200" align="align:center middle;" id="caption5" class="cell_1" style="padding:0 0 0 5;"/>
  82. <Static text="우선순위" position="absolute 177 87 246 108" align="align:center middle;" id="caption7" class="cell_1"/>
  83. <Radio position="absolute 250 89 365 105" align="align:center middle;" id="rdo_comnyn" taborder="5" columncount="2" codecolumn="codecolumn" datacolumn="datacolumn">
  84. <Dataset id="innerdataset">
  85. <ColumnInfo>
  86. <Column id="codecolumn"/>
  87. <Column id="datacolumn"/>
  88. </ColumnInfo>
  89. <Rows>
  90. <Row>
  91. <Col id="codecolumn">Y</Col>
  92. <Col id="datacolumn">Y</Col>
  93. </Row>
  94. <Row>
  95. <Col id="codecolumn">N</Col>
  96. <Col id="datacolumn">N</Col>
  97. </Row>
  98. </Rows>
  99. </Dataset>
  100. </Radio>
  101. <Shape position="absolute 6 203 366 204" linetype="vertical" id="line6" class="line_1"/>
  102. <Grid position="absolute 4 205 367 737" id="grd_dtimList" class="datagrid2" binddataset="ds_main_mnrmdtim_mnrmdtimList" oncelldblclick="switch1_case1_grd_dtimList_oncelldblclick" oncellclick="switch1_case1_grd_dtimList_oncellclick" cellsizebandtype="allband" cellsizingtype="col">
  103. <Formats>
  104. <Format id="default">
  105. <Columns>
  106. <Column size="20" band="left"/>
  107. <Column size="20" band="left"/>
  108. <Column size="50" band="left"/>
  109. <Column size="26" band="left"/>
  110. <Column size="147"/>
  111. <Column size="35"/>
  112. <Column size="0"/>
  113. <Column size="0"/>
  114. <Column size="0"/>
  115. <Column size="0"/>
  116. <Column size="0"/>
  117. <Column size="0"/>
  118. <Column size="0"/>
  119. <Column size="0"/>
  120. <Column size="40"/>
  121. </Columns>
  122. <Rows>
  123. <Row size="26" band="head"/>
  124. <Row size="24"/>
  125. </Rows>
  126. <Band id="head">
  127. <Cell/>
  128. <Cell col="1" text="선&#10;택"/>
  129. <Cell col="2" text="용법"/>
  130. <Cell col="3" text="회&#10;수"/>
  131. <Cell col="4" text="투약시간"/>
  132. <Cell col="5" text="우선&#10;순위"/>
  133. <Cell col="6" text="처방코드"/>
  134. <Cell col="7" text="부서코드"/>
  135. <Cell col="8" text="기관코드"/>
  136. <Cell col="9" text="일련번호"/>
  137. <Cell col="10" text="용법구분"/>
  138. <Cell col="11" text="지정시간"/>
  139. <Cell col="12" text="기준일수"/>
  140. <Cell col="13" text="실제시간"/>
  141. <Cell col="14" text="그룹&#10;번호"/>
  142. </Band>
  143. <Band id="body">
  144. <Cell celltype="head"/>
  145. <Cell col="1" displaytype="checkbox" edittype="checkbox" text="bind:status" expr="expr:status == 'true' || status == '1' ? '1' : '0'"/>
  146. <Cell col="2" style="align:left top;padding:4 2 2 2;" text="bind:direccd" wordwrap="word"/>
  147. <Cell col="3" text="bind:exectims"/>
  148. <Cell col="4" style="align:left;" text="bind:drugtmspec"/>
  149. <Cell col="5" text="bind:comnyn"/>
  150. <Cell col="6" text="bind:prcpcd"/>
  151. <Cell col="7" text="bind:deptcd"/>
  152. <Cell col="8" text="bind:instcd"/>
  153. <Cell col="9" text="bind:seqno"/>
  154. <Cell col="10" text="bind:baseflag"/>
  155. <Cell col="11" text="bind:apnttm"/>
  156. <Cell col="12" text="bind:basedayno"/>
  157. <Cell col="13" text="bind:orgtm"/>
  158. <Cell col="14" text="bind:grpno"/>
  159. </Band>
  160. </Format>
  161. </Formats>
  162. </Grid>
  163. <Grid position="absolute 818 165 1188 737" id="grd_deptList" class="datagrid2" binddataset="ds_main_deptdtim_deptdtimList" oncellclick="switch1_case1_grd_deptList_oncellclick" onexpanddown="switch1_case1_grd_deptList_onexpanddown" cellsizebandtype="allband" cellsizingtype="col" autoenter="select">
  164. <Formats>
  165. <Format id="default">
  166. <Columns>
  167. <Column size="20" band="left"/>
  168. <Column size="26" band="left"/>
  169. <Column size="68" band="left"/>
  170. <Column size="80" band="left"/>
  171. <Column size="60" band="left"/>
  172. <Column size="30" band="left"/>
  173. <Column size="129"/>
  174. <Column size="0"/>
  175. <Column size="0"/>
  176. <Column size="0"/>
  177. <Column size="0"/>
  178. <Column size="0"/>
  179. </Columns>
  180. <Rows>
  181. <Row size="26" band="head"/>
  182. <Row size="24"/>
  183. </Rows>
  184. <Band id="head">
  185. <Cell/>
  186. <Cell col="1" text="선&#10;택"/>
  187. <Cell col="2" text="약품코드"/>
  188. <Cell col="3" text="약품명"/>
  189. <Cell col="4" text="용법"/>
  190. <Cell col="5" text="회&#10;수"/>
  191. <Cell col="6" text="투약시간"/>
  192. <Cell col="7" text="투약시간(text)"/>
  193. <Cell col="8" text="부서코드"/>
  194. <Cell col="9" text="기준구분"/>
  195. <Cell col="10" text="우선&#10;순위"/>
  196. <Cell col="11" text="그룹&#10;번호"/>
  197. </Band>
  198. <Band id="body">
  199. <Cell celltype="head"/>
  200. <Cell col="1" displaytype="checkbox" edittype="checkbox" text="bind:status" expr="expr:status == 'true' || status == '1' ? '1' : '0'"/>
  201. <Cell col="2" displaytype="text" edittype="text" text="bind:prcpcd" expandshow="show"/>
  202. <Cell col="3" style="align:left;" text="bind:hngnm"/>
  203. <Cell col="4" style="align:left;" text="bind:direccd"/>
  204. <Cell col="5" text="bind:exectims"/>
  205. <Cell col="6" style="align:left;" text="bind:drugtmspec"/>
  206. <Cell col="7" text="bind:drugtmspeccal"/>
  207. <Cell col="8" text="bind:deptcd"/>
  208. <Cell col="9" text="bind:baseflag"/>
  209. <Cell col="10" text="bind:comnyn"/>
  210. <Cell col="11" text="bind:grpno"/>
  211. </Band>
  212. </Format>
  213. </Formats>
  214. </Grid>
  215. <Static text="용법 구분" position="absolute 1004 45 1084 68" align="align:center middle;" id="caption10" class="cell_1"/>
  216. <Combo position="absolute 901 47 1001 66" id="cmb_dept" innerdataset="@ds_init_init_ward" datacolumn="wardnm" codecolumn="wardcd" onitemchanged="switch1_case1_cmb_dept_onitemchanged"/>
  217. <Static text="부서별(용법/약품)" position="absolute 822 19 982 35" align="align:center middle;" id="caption8" class="tit_2"/>
  218. <Static text="부서 선택" position="absolute 818 45 898 68" align="align:center middle;" id="caption9" class="cell_1"/>
  219. <Shape position="absolute 818 160 1188 166" linetype="horizontal" id="line7" class="line_10"/>
  220. <Combo position="absolute 82 43 365 62" id="cmb_baseflg" taborder="1" innerdataset="@ds_init_A0017list_A0017" datacolumn="cdnm" codecolumn="cdid" onitemchanged="switch1_case1_cmb_baseflg_onitemchanged"/>
  221. <Grid position="absolute 380 45 770 737" id="grd_mechList" class="datagrid2" binddataset="ds_main_picmmech_picmmechList" oncellclick="switch1_case1_grd_mechList_oncellclick" onexpanddown="switch1_case1_grd_mechList_onexpanddown" cellsizebandtype="allband" cellsizingtype="col" autoenter="select">
  222. <Formats>
  223. <Format id="default">
  224. <Columns>
  225. <Column size="20" band="left"/>
  226. <Column size="33" band="left"/>
  227. <Column size="68" band="left"/>
  228. <Column size="91" band="left"/>
  229. <Column size="60"/>
  230. <Column size="29"/>
  231. <Column size="122"/>
  232. <Column size="0"/>
  233. <Column size="0"/>
  234. <Column size="0"/>
  235. <Column size="0"/>
  236. <Column size="0"/>
  237. </Columns>
  238. <Rows>
  239. <Row size="26" band="head"/>
  240. <Row size="24"/>
  241. </Rows>
  242. <Band id="head">
  243. <Cell/>
  244. <Cell col="1" text="선&#10;택"/>
  245. <Cell col="2" text="약품코드"/>
  246. <Cell col="3" text="약품명"/>
  247. <Cell col="4" text="용법"/>
  248. <Cell col="5" text="회&#10;수"/>
  249. <Cell col="6" text="투약시간"/>
  250. <Cell col="7" text="투약시간(text)"/>
  251. <Cell col="8" text="부서코드"/>
  252. <Cell col="9" text="기준구분"/>
  253. <Cell col="10" text="우선&#10;순위"/>
  254. <Cell col="11" text="그룹&#10;번호"/>
  255. </Band>
  256. <Band id="body">
  257. <Cell celltype="head"/>
  258. <Cell col="1" displaytype="checkbox" edittype="checkbox" text="bind:status" expr="expr:status == 'true' || status == '1' ? '1' : '0'"/>
  259. <Cell col="2" displaytype="text" edittype="text" text="bind:prcpcd" expandshow="show"/>
  260. <Cell col="3" style="align:left;" text="bind:hngnm"/>
  261. <Cell col="4" style="align:left;" text="bind:direccd"/>
  262. <Cell col="5" style="align:left;" text="bind:exectims"/>
  263. <Cell col="6" style="align:left;" text="bind:drugtmspec"/>
  264. <Cell col="7" text="bind:drugtmspeccal"/>
  265. <Cell col="8" text="bind:deptcd"/>
  266. <Cell col="9" text="bind:baseflag"/>
  267. <Cell col="10" text="bind:comnyn"/>
  268. <Cell col="11" text="bind:grpno"/>
  269. </Band>
  270. </Format>
  271. </Formats>
  272. </Grid>
  273. <Combo position="absolute 1086 47 1186 66" id="cmb_deptBaseflg" innerdataset="@ds_init_A0017list_A0017" datacolumn="cdnm" codecolumn="cdid" onitemchanged="switch1_case1_cmb_deptBaseflg_onitemchanged"/>
  274. <Shape position="absolute 380 41 769 42" linetype="vertical" id="line3" class="line_1"/>
  275. <Shape position="absolute 7 106 368 112" linetype="horizontal" id="line4" class="line_2"/>
  276. <Shape position="absolute 818 40 1188 46" linetype="horizontal" id="line5" class="line_10"/>
  277. <Button position="absolute 136 16 189 35" id="btn_init" class="btn2" text="초기화" onclick="switch1_case1_btn_init_onclick"/>
  278. <Button position="absolute 278 16 320 35" id="btn_mthddel" class="btn5" text="삭제" onclick="switch1_case1_btn_mthddel_onclick"/>
  279. <Button position="absolute 322 16 364 35" id="btn_mthdsave" class="btn5" taborder="7" text="저장" onclick="switch1_case1_btn_mthdsave_onclick"/>
  280. <Button position="absolute 581 16 623 35" id="btn_mechcon" class="btn2" text="적용" onclick="switch1_case1_btn_mechcon_onclick"/>
  281. <Button position="absolute 625 16 678 35" id="btn_mechadd" class="btn2" text="행추가" onclick="switch1_case1_btn_mechadd_onclick"/>
  282. <Button position="absolute 682 16 724 35" id="btn_mechdel" class="btn5" text="삭제" onclick="switch1_case1_btn_mechdel_onclick"/>
  283. <Button position="absolute 726 16 768 35" id="btn_mechsave" class="btn5" text="저장" onclick="switch1_case1_btn_mechsave_onclick"/>
  284. <Button position="absolute 1056 16 1098 35" id="btn_deptcon" class="btn2" text="적용" onclick="switch1_case1_btn_deptcon_onclick"/>
  285. <Button position="absolute 1101 16 1143 35" id="btn_deptdel" class="btn5" text="삭제" onclick="switch1_case1_btn_deptdel_onclick"/>
  286. <Button position="absolute 1145 16 1187 35" id="btn_deptsave" class="btn5" text="저장" onclick="switch1_case1_btn_deptsave_onclick"/>
  287. <Button position="absolute 780 350 806 369" id="btn_apply" class="icon_right" text="" onclick="switch1_case1_btn_apply_onclick"/>
  288. <Static text="부서별&#13;&#10;(용법&amp;약품)&#13;&#10;투약시간" position="absolute 818 69 898 159" align="align:center middle;" id="caption2" class="cell_1"/>
  289. <CheckBox position="absolute 839 170 864 190" align="align:center middle;" id="bool2" taborder="17" visible="false" onclick="switch1_case1_bool2_onclick"/>
  290. <Grid position="absolute 901 69 1186 159" id="grd_deptdtim" taborder="4" binddataset="ds_main_dtiminfo_dtim" cellsizebandtype="allband" cellsizingtype="col">
  291. <Formats>
  292. <Format id="default">
  293. <Columns>
  294. <Column size="40" band="left"/>
  295. <Column size="0"/>
  296. <Column size="0"/>
  297. <Column size="0"/>
  298. <Column size="0"/>
  299. <Column size="0"/>
  300. <Column size="0"/>
  301. <Column size="0"/>
  302. <Column size="0"/>
  303. <Column size="0"/>
  304. <Column size="0"/>
  305. <Column size="0"/>
  306. <Column size="0"/>
  307. </Columns>
  308. <Rows>
  309. <Row size="24" band="head"/>
  310. <Row size="24"/>
  311. </Rows>
  312. <Band id="head">
  313. <Cell text="회차"/>
  314. <Cell col="1" text="1"/>
  315. <Cell col="2" text="2"/>
  316. <Cell col="3" text="3"/>
  317. <Cell col="4" text="4"/>
  318. <Cell col="5" text="5"/>
  319. <Cell col="6" text="6"/>
  320. <Cell col="7" text="7"/>
  321. <Cell col="8" text="8"/>
  322. <Cell col="9" text="9"/>
  323. <Cell col="10" text="10"/>
  324. <Cell col="11" text="11"/>
  325. <Cell col="12" text="12"/>
  326. </Band>
  327. <Band id="body">
  328. <Cell celltype="head" text="bind:title"/>
  329. <Cell col="1" displaytype="text" edittype="mask" text="bind:seqno1" mask="9999" maskchar=" " edittrimtype="both" editautoselect="true"/>
  330. <Cell col="2" displaytype="text" edittype="mask" text="bind:seqno2" mask="9999" maskchar=" " edittrimtype="both" editautoselect="true"/>
  331. <Cell col="3" displaytype="text" edittype="mask" text="bind:seqno3" mask="9999" maskchar=" " edittrimtype="both" editautoselect="true"/>
  332. <Cell col="4" displaytype="text" edittype="mask" text="bind:seqno4" mask="9999" maskchar=" " edittrimtype="both" editautoselect="true"/>
  333. <Cell col="5" displaytype="text" edittype="mask" text="bind:seqno5" mask="9999" maskchar=" " edittrimtype="both" editautoselect="true"/>
  334. <Cell col="6" displaytype="text" edittype="mask" text="bind:seqno6" mask="9999" maskchar=" " edittrimtype="both" editautoselect="true"/>
  335. <Cell col="7" displaytype="text" edittype="mask" text="bind:seqno7" mask="9999" maskchar=" " edittrimtype="both" editautoselect="true"/>
  336. <Cell col="8" displaytype="text" edittype="mask" text="bind:seqno8" mask="9999" maskchar=" " edittrimtype="both" editautoselect="true"/>
  337. <Cell col="9" displaytype="text" edittype="mask" text="bind:seqno9" mask="9999" maskchar=" " edittrimtype="both" editautoselect="true"/>
  338. <Cell col="10" displaytype="text" edittype="mask" text="bind:seqno10" mask="9999" maskchar=" " edittrimtype="both" editautoselect="true"/>
  339. <Cell col="11" displaytype="text" edittype="mask" text="bind:seqno11" mask="9999" maskchar=" " edittrimtype="both" editautoselect="true"/>
  340. <Cell col="12" displaytype="text" edittype="mask" text="bind:seqno12" mask="9999" maskchar=" " edittrimtype="both" editautoselect="true"/>
  341. </Band>
  342. </Format>
  343. </Formats>
  344. </Grid>
  345. <CheckBox position="absolute 22 210 47 230" align="align:center middle;" id="bool1" taborder="17" visible="false" onclick="switch1_case1_bool1_onclick"/>
  346. <Combo position="absolute 82 88 175 107" id="cmb_exectims" enable="false" codecolumn="codecolumn" datacolumn="datacolumn" onitemchanged="switch1_case1_cmb_exectims_onitemchanged">
  347. <Dataset id="innerdataset">
  348. <ColumnInfo>
  349. <Column id="codecolumn"/>
  350. <Column id="datacolumn"/>
  351. </ColumnInfo>
  352. <Rows>
  353. <Row>
  354. <Col id="codecolumn">1</Col>
  355. <Col id="datacolumn">1</Col>
  356. </Row>
  357. <Row>
  358. <Col id="codecolumn">2</Col>
  359. <Col id="datacolumn">2</Col>
  360. </Row>
  361. <Row>
  362. <Col id="codecolumn">3</Col>
  363. <Col id="datacolumn">3</Col>
  364. </Row>
  365. <Row>
  366. <Col id="codecolumn">4</Col>
  367. <Col id="datacolumn">4</Col>
  368. </Row>
  369. <Row>
  370. <Col id="codecolumn">5</Col>
  371. <Col id="datacolumn">5</Col>
  372. </Row>
  373. <Row>
  374. <Col id="codecolumn">6</Col>
  375. <Col id="datacolumn">6</Col>
  376. </Row>
  377. <Row>
  378. <Col id="codecolumn">7</Col>
  379. <Col id="datacolumn">7</Col>
  380. </Row>
  381. <Row>
  382. <Col id="codecolumn">8</Col>
  383. <Col id="datacolumn">8</Col>
  384. </Row>
  385. </Rows>
  386. </Dataset>
  387. </Combo>
  388. <Button position="absolute 234 16 276 35" id="btn_mthdadd" class="btn5" text="추가" onclick="switch1_case1_btn_mthdadd_onclick"/>
  389. <Button position="absolute 191 16 233 35" id="btn_dtimcon" class="btn2" text="적용" onclick="switch1_case1_btn_dtimcon_onclick"/>
  390. <Static text="공통(용법)" position="absolute 8 19 128 35" align="align:center middle;" id="caption11" class="tit_2"/>
  391. <Static text="공통(약품)" position="absolute 382 19 513 35" align="align:center middle;" id="caption15" class="tit_2"/>
  392. <Shape position="absolute 815 7 1185 13" linetype="horizontal" id="line8" class="line_10"/>
  393. <Shape position="absolute 6 40 366 41" linetype="vertical" id="line9" class="line_1"/>
  394. <Shape position="absolute 767 11 773 737" linetype="vertical" id="line10" class="line_1"/>
  395. <Shape position="absolute 812 11 818 737" linetype="vertical" id="line11" class="line_1"/>
  396. <Button position="absolute 537 16 579 35" id="btn_methQeury" class="btn2" visible="true" text="조회" onclick="switch1_case1_btn_methQeury_onclick"/>
  397. <Button position="absolute 1012 16 1055 35" id="btn_deptQuery" class="btn2" text="조회" onclick="switch1_case1_btn_deptQuery_onclick"/>
  398. </Layout>
  399. </Layouts>
  400. </Tabpage>
  401. <Tabpage text="수액기준자료 관리" id="case2">
  402. <Layouts>
  403. <Layout>
  404. <Div position="absolute 5 10 685 70" align="align:center top;" id="grp_sea" class="div_SA">
  405. <Layouts>
  406. <Layout>
  407. <Shape position="absolute 546 13 552 50" linetype="vertical" id="line13" class="line_4"/>
  408. <Static text="코드번호 :" position="absolute 19 35 95 52" id="caption12" class="search_name"/>
  409. <Edit position="absolute 99 35 195 54" id="ipt_sapcode" class="input_search" autoselect="true" onkeyup="switch1_case2_grp_sea_ipt_sapcode_onkeyup"/>
  410. <Button position="absolute 615 8 671 30" id="btn_saplist" class="btn1" text="조회" onclick="switch1_case2_grp_sea_btn_saplist_onclick"/>
  411. <Static text="부서 :" position="absolute 20 11 95 28" id="caption13" class="search_name" visible="true"/>
  412. <Button position="absolute 557 8 613 30" id="button41" class="btn1" taborder="7" visible="true" text="추가" onclick="switch1_case2_grp_sea_button41_onclick"/>
  413. <Button position="absolute 615 32 671 54" id="button4" class="btn4" taborder="7" text="저장" onclick="switch1_case2_grp_sea_button4_onclick"/>
  414. <Combo position="absolute 100 10 195 29" id="cmb_sapdept" enable="true" visible="true" innerdataset="@ds_init_init_ward1" datacolumn="wardnm" codecolumn="wardcd" onitemchanged="switch1_case2_grp_sea_cmb_sapdept_onitemchanged"/>
  415. <Button position="absolute 429 36 445 52" id="button16" class="icon_search" taborder="6" visible="false" text="" onclick="switch1_case2_grp_sea_button16_onclick"/>
  416. <Edit position="absolute 200 35 425 54" id="input1" class="input_search" autoselect="true" onkeyup="switch1_case2_grp_sea_input1_onkeyup"/>
  417. <Button position="absolute 557 32 613 54" id="button3" class="btn4" taborder="7" text="삭제" onclick="switch1_case2_grp_sea_button3_onclick"/>
  418. <Edit readonly="true" position="absolute 200 10 425 29" id="out_sapmsg" class="output" autoselect="true"/>
  419. </Layout>
  420. </Layouts>
  421. </Div>
  422. <Grid position="absolute 5 75 685 735" id="grd_saplist" class="datagrid2" binddataset="ds_main_sapinfo_saplist_saplist" onexpanddown="switch1_case2_grd_saplist_onexpanddown" autoenter="select">
  423. <Formats>
  424. <Format id="default">
  425. <Columns>
  426. <Column size="20" band="left"/>
  427. <Column size="40"/>
  428. <Column size="100"/>
  429. <Column size="250"/>
  430. <Column size="0"/>
  431. <Column size="60"/>
  432. <Column size="60"/>
  433. <Column size="60"/>
  434. <Column size="0"/>
  435. </Columns>
  436. <Rows>
  437. <Row size="26" band="head"/>
  438. <Row size="24"/>
  439. </Rows>
  440. <Band id="head">
  441. <Cell/>
  442. <Cell col="1" text="선택"/>
  443. <Cell col="2" text="코드"/>
  444. <Cell col="3" text="약제명"/>
  445. <Cell col="4" text="공통&#10;적용"/>
  446. <Cell col="5" text="수액&#10;인식"/>
  447. <Cell col="6" text="I/O&#10;연동"/>
  448. <Cell col="7" text="수액 No&#10;적용"/>
  449. <Cell col="8" text="status"/>
  450. </Band>
  451. <Band id="body">
  452. <Cell celltype="head"/>
  453. <Cell col="1" displaytype="checkbox" edittype="checkbox" style="background:BIND(colBack);background2:BIND(colBack);" text="bind:chk" expr="expr:chk == 'true' || chk == '1' ? '1' : '0'"/>
  454. <Cell col="2" displaytype="text" edittype="text" style="background:BIND(colBack);background2:BIND(colBack);" text="bind:drugcd" expandshow="show"/>
  455. <Cell col="3" style="align:left;background:BIND(colBack);background2:BIND(colBack);" text="bind:drugnm"/>
  456. <Cell col="4" displaytype="checkbox" edittype="checkbox" style="background:BIND(colBack);background2:BIND(colBack);" text="bind:commyn" expr="commyn == 'true' || commyn == '1' ? '1' : '0'"/>
  457. <Cell col="5" displaytype="checkbox" edittype="checkbox" style="background:BIND(colBack);background2:BIND(colBack);" text="bind:sapyn" expr="sapyn == 'true' || sapyn == '1' ? '1' : '0'"/>
  458. <Cell col="6" displaytype="checkbox" edittype="checkbox" style="background:BIND(colBack);background2:BIND(colBack);" text="bind:ioyn" expr="ioyn == 'true' || ioyn == '1' ? '1' : '0'"/>
  459. <Cell col="7" displaytype="checkbox" edittype="checkbox" style="background:BIND(colBack);background2:BIND(colBack);" text="bind:sapnoyn" expr="sapnoyn == 'true' || sapnoyn == '1' ? '1' : '0'"/>
  460. <Cell col="8" text="bind:status"/>
  461. </Band>
  462. </Format>
  463. </Formats>
  464. </Grid>
  465. </Layout>
  466. </Layouts>
  467. </Tabpage>
  468. </Tabpages>
  469. </Tab>
  470. </Layout>
  471. </Layouts>
  472. <Objects>
  473. <Dataset id="ds_main_dtiminfo_dtim" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false" oncolumnchanged="ds_main_dtiminfo_dtim_oncolumnchanged">
  474. <ColumnInfo>
  475. <Column id="title" type="STRING"/>
  476. <Column id="seqno1" type="STRING"/>
  477. <Column id="seqno2" type="STRING"/>
  478. <Column id="seqno3" type="STRING"/>
  479. <Column id="seqno4" type="STRING"/>
  480. <Column id="seqno5" type="STRING"/>
  481. <Column id="seqno6" type="STRING"/>
  482. <Column id="seqno7" type="STRING"/>
  483. <Column id="seqno8" type="STRING"/>
  484. <Column id="seqno9" type="STRING"/>
  485. <Column id="seqno10" type="STRING"/>
  486. <Column id="seqno11" type="STRING"/>
  487. <Column id="seqno12" type="STRING"/>
  488. </ColumnInfo>
  489. <Rows>
  490. <Row/>
  491. <Row/>
  492. </Rows>
  493. </Dataset>
  494. <Dataset id="ds_init_init_ward" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  495. <ColumnInfo>
  496. <Column id="wardnm" type="STRING"/>
  497. <Column id="wardcd" type="STRING"/>
  498. </ColumnInfo>
  499. </Dataset>
  500. <Dataset id="ds_init_A0017list_A0017" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  501. <ColumnInfo>
  502. <Column id="cdnm" type="STRING"/>
  503. <Column id="cdid" type="STRING"/>
  504. </ColumnInfo>
  505. </Dataset>
  506. <Dataset id="ds_init_init_ward1" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  507. <ColumnInfo>
  508. <Column id="wardnm" type="STRING"/>
  509. <Column id="wardcd" type="STRING"/>
  510. </ColumnInfo>
  511. </Dataset>
  512. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  513. <ColumnInfo>
  514. <Column id="direccd" type="STRING" size="256" sumtext="용법종류(기준구분)"/>
  515. <Column id="flg" type="STRING" size="256" sumtext="코드구분자"/>
  516. <Column id="baseflag" type="STRING" size="256"/>
  517. <Column id="calcscorcd" type="STRING" size="256"/>
  518. <Column id="deptcd" type="STRING" size="256"/>
  519. <Column id="drugcd" type="STRING" size="256"/>
  520. <Column id="drugnm" type="STRING" size="256"/>
  521. <Column id="mthdcd" type="STRING" size="256"/>
  522. </ColumnInfo>
  523. <Rows>
  524. <Row/>
  525. </Rows>
  526. </Dataset>
  527. <Dataset id="ds_init_mthdcdlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  528. <ColumnInfo>
  529. <Column id="mthdcd" type="STRING" size="256" sumtext="용법코드"/>
  530. <Column id="mthdnm" type="STRING" size="256" sumtext="용법명"/>
  531. </ColumnInfo>
  532. </Dataset>
  533. <Dataset id="ds_main_mnrmdtim_mnrmdtimList" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_main_mnrmdtim_mnrmdtimList_oncolumnchanged">
  534. <ColumnInfo>
  535. <Column id="status" type="STRING" size="256" sumtext="상태값 "/>
  536. <Column id="direccd" type="STRING" size="256" sumtext="용법코드 "/>
  537. <Column id="exectims" type="STRING" size="256" sumtext="수행횟수 "/>
  538. <Column id="drugtmspec" type="STRING" size="256" sumtext="투여시간text표시 "/>
  539. <Column id="drugtmspeccal" type="STRING" size="256" sumtext="투여시간text표시 "/>
  540. <Column id="comnyn" type="STRING" size="256" sumtext="공통여부 "/>
  541. <Column id="prcpcd" type="STRING" size="256" sumtext="처방코드 "/>
  542. <Column id="deptcd" type="STRING" size="256" sumtext="부서코드 "/>
  543. <Column id="instcd" type="STRING" size="256" sumtext="기관코드 "/>
  544. <Column id="seqno" type="STRING" size="256" sumtext="일련번호 "/>
  545. <Column id="baseflag" type="STRING" size="256" sumtext="기준구분 "/>
  546. <Column id="apnttm" type="STRING" size="256" sumtext="지정시간 "/>
  547. <Column id="basedayno" type="STRING" size="256" sumtext="기준일수 "/>
  548. <Column id="orgtm" type="STRING" size="256" sumtext="실제시간 "/>
  549. <Column id="grpno" type="STRING" size="256" sumtext="그룹구분 "/>
  550. <Column id="saveflag" type="STRING" size="256" sumtext="조회시저장구분(20080813) "/>
  551. </ColumnInfo>
  552. </Dataset>
  553. <Dataset id="ds_main_picmmech_picmmechList" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_main_picmmech_picmmechList_oncolumnchanged">
  554. <ColumnInfo>
  555. <Column id="status" type="STRING" size="256" sumtext="상태값 "/>
  556. <Column id="prcpcd" type="STRING" size="256" sumtext="약품코드 "/>
  557. <Column id="hngnm" type="STRING" size="256" sumtext="약품명 "/>
  558. <Column id="direccd" type="STRING" size="256" sumtext="용법코드 "/>
  559. <Column id="exectims" type="STRING" size="256" sumtext="수행횟수 "/>
  560. <Column id="drugtmspec" type="STRING" size="256" sumtext="투여시간text표시 "/>
  561. <Column id="drugtmspeccal" type="STRING" size="256" sumtext="투여시간text표시 "/>
  562. <Column id="deptcd" type="STRING" size="256" sumtext="부서코드 "/>
  563. <Column id="baseflag" type="STRING" size="256" sumtext="기준구분 "/>
  564. <Column id="comnyn" type="STRING" size="256" sumtext="공통여부 "/>
  565. <Column id="grpno" type="STRING" size="256" sumtext="그룹구분 "/>
  566. </ColumnInfo>
  567. </Dataset>
  568. <Dataset id="ds_hidden_mech" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  569. <ColumnInfo>
  570. <Column id="hngnm" type="STRING" size="256" sumtext="약품명"/>
  571. </ColumnInfo>
  572. </Dataset>
  573. <Dataset id="ds_main_deptdtim_deptdtimList" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_main_deptdtim_deptdtimList_oncolumnchanged">
  574. <ColumnInfo>
  575. <Column id="status" type="STRING" size="256" sumtext="상태값 "/>
  576. <Column id="prcpcd" type="STRING" size="256" sumtext="약품코드 "/>
  577. <Column id="hngnm" type="STRING" size="256" sumtext="약품명 "/>
  578. <Column id="direccd" type="STRING" size="256" sumtext="용법코드 "/>
  579. <Column id="exectims" type="STRING" size="256" sumtext="수행횟수 "/>
  580. <Column id="drugtmspec" type="STRING" size="256" sumtext="투여시간text표시 "/>
  581. <Column id="drugtmspeccal" type="STRING" size="256" sumtext="투여시간text표시 "/>
  582. <Column id="deptcd" type="STRING" size="256" sumtext="부서코드 "/>
  583. <Column id="baseflag" type="STRING" size="256" sumtext="기준구분 "/>
  584. <Column id="comnyn" type="STRING" size="256" sumtext="공통여부 "/>
  585. <Column id="grpno" type="STRING" size="256" sumtext="그룹구분 "/>
  586. </ColumnInfo>
  587. </Dataset>
  588. <Dataset id="ds_main_sapinfo_saplist_saplist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_main_sapinfo_saplist_saplist_oncolumnchanged">
  589. <ColumnInfo>
  590. <Column id="ordflag" type="STRING" size="256" sumtext="구분 "/>
  591. <Column id="drugcd" type="STRING" size="256" sumtext="약품코드(수액)"/>
  592. <Column id="deptcd" type="STRING" size="256" sumtext="부서코드 "/>
  593. <Column id="commyn" type="STRING" size="256" sumtext="공통적용여부 "/>
  594. <Column id="sapyn" type="STRING" size="256" sumtext="수액인식여부 "/>
  595. <Column id="ioyn" type="STRING" size="256" sumtext="I/O연동여부 "/>
  596. <Column id="sapnoyn" type="STRING" size="256" sumtext="수액NO적용 "/>
  597. <Column id="drugnm" type="STRING" size="256" sumtext="약품명 "/>
  598. <Column id="status" type="STRING" size="256" sumtext="자료구분 "/>
  599. <Column id="chk" type="STRING" size="256" sumtext="자료선택 "/>
  600. <Column id="colBack" type="STRING" size="256"/>
  601. </ColumnInfo>
  602. </Dataset>
  603. <Dataset id="ds_send_sData" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  604. <ColumnInfo>
  605. <Column id="direccd" type="STRING" size="256" sumtext="용법코드 "/>
  606. <Column id="prcpcd" type="STRING" size="256" sumtext="처방코드 "/>
  607. <Column id="deptcd" type="STRING" size="256" sumtext="부서코드 "/>
  608. <Column id="seqno" type="INT" size="256" sumtext="일련번호 "/>
  609. <Column id="baseflag" type="STRING" size="256" sumtext="기준구분 "/>
  610. <Column id="apnttm" type="STRING" size="256" sumtext="지정시간 "/>
  611. <Column id="basedayno" type="INT" size="256" sumtext="기준일수 "/>
  612. <Column id="orgtm" type="STRING" size="256" sumtext="실제시간 "/>
  613. <Column id="exectims" type="INT" size="256" sumtext="수행횟수 "/>
  614. <Column id="comnyn" type="STRING" size="256" sumtext="공통여부 "/>
  615. <Column id="drugtmspec" type="STRING" size="256" sumtext="투여시간text표시 "/>
  616. <Column id="drugtmspeccal" type="STRING" size="256" sumtext="투여시간text표시 "/>
  617. <Column id="grpno" type="STRING" size="256" sumtext="그룹구분 "/>
  618. <Column id="flg" type="STRING" size="256" sumtext="코드구분자 "/>
  619. </ColumnInfo>
  620. </Dataset>
  621. <Dataset id="ds_send_saplist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  622. <ColumnInfo>
  623. <Column id="m" type="STRING" size="256" sumtext="m "/>
  624. <Column id="rownum" type="STRING" size="256" sumtext="rownum "/>
  625. <Column id="drugcd" type="STRING" size="256" sumtext="약품코드(수액)"/>
  626. <Column id="deptcd" type="STRING" size="256" sumtext="부서코드 "/>
  627. <Column id="commyn" type="STRING" size="256" sumtext="공통적용여부 "/>
  628. <Column id="sapyn" type="STRING" size="256" sumtext="수액인식여부 "/>
  629. <Column id="ioyn" type="STRING" size="256" sumtext="I/O연동여부 "/>
  630. <Column id="sapnoyn" type="STRING" size="256" sumtext="수액NO적용 "/>
  631. <Column id="status" type="STRING" size="256" sumtext="상태 "/>
  632. </ColumnInfo>
  633. </Dataset>
  634. <Dataset id="ds_init" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  635. <ColumnInfo>
  636. <Column id="A0017list" type="STRING" size="256"/>
  637. <Column id="mthdcdlist" type="STRING" size="256"/>
  638. <Column id="deptcdList" type="STRING" size="256"/>
  639. <Column id="baseflaglist" type="STRING" size="256"/>
  640. </ColumnInfo>
  641. <Rows>
  642. <Row/>
  643. </Rows>
  644. </Dataset>
  645. <Dataset id="ds_init_mthdcdlist_1" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  646. <ColumnInfo>
  647. <Column id="basecnt" type="STRING" size="256"/>
  648. </ColumnInfo>
  649. <Rows>
  650. <Row/>
  651. </Rows>
  652. </Dataset>
  653. <Dataset id="ds_hidden" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  654. <ColumnInfo>
  655. <Column id="comnyn" type="STRING" size="256"/>
  656. </ColumnInfo>
  657. <Rows>
  658. <Row/>
  659. </Rows>
  660. </Dataset>
  661. <Dataset id="ds_main_cond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  662. <ColumnInfo>
  663. <Column id="condsel" type="STRING" size="256"/>
  664. <Column id="conddeptsel" type="STRING" size="256"/>
  665. <Column id="deptcd" type="STRING" size="256"/>
  666. <Column id="drugcd" type="STRING" size="256"/>
  667. <Column id="drugnm" type="STRING" size="256"/>
  668. </ColumnInfo>
  669. <Rows>
  670. <Row/>
  671. </Rows>
  672. </Dataset>
  673. <Dataset id="ds_send_reqdata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  674. <ColumnInfo>
  675. <Column id="Column0" type="STRING" size="256"/>
  676. </ColumnInfo>
  677. <Rows>
  678. <Row/>
  679. </Rows>
  680. </Dataset>
  681. <Dataset id="ds_init_init_settingrn" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  682. <ColumnInfo>
  683. <Column id="settingrnid" type="STRING" size="256" sumtext="세팅간호사ID"/>
  684. <Column id="settingrnnm" type="STRING" size="256" sumtext="세팅간호사명"/>
  685. </ColumnInfo>
  686. </Dataset>
  687. <Dataset id="ds_init_init_orddd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  688. <ColumnInfo>
  689. <Column id="date" type="STRING" size="256" sumtext="업무일자"/>
  690. </ColumnInfo>
  691. </Dataset>
  692. <Dataset id="ds_temp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  693. <ColumnInfo>
  694. <Column id="druginfo" type="STRING" size="256"/>
  695. </ColumnInfo>
  696. <Rows>
  697. <Row/>
  698. </Rows>
  699. </Dataset>
  700. <Dataset id="ds_temp_receivedata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  701. <ColumnInfo>
  702. <Column id="receiveref" type="STRING" size="256"/>
  703. <Column id="srchflag" type="STRING" size="256"/>
  704. <Column id="srchcnts" type="STRING" size="256"/>
  705. <Column id="drugkind" type="STRING" size="256"/>
  706. <Column id="srchdrugcd" type="STRING" size="256"/>
  707. <Column id="srchtype" type="STRING" size="256"/>
  708. <Column id="receivedrugcd" type="STRING" size="256"/>
  709. <Column id="receivedrugnm" type="STRING" size="256"/>
  710. </ColumnInfo>
  711. <Rows>
  712. <Row/>
  713. </Rows>
  714. </Dataset>
  715. </Objects>
  716. <Bind>
  717. <BindItem id="item0" compid="switch1.case1.cmb_dept" propid="value" datasetid="ds_init" columnid="deptcdList"/>
  718. <BindItem id="item1" compid="switch1.case1.cmb_deptBaseflg" propid="value" datasetid="ds_init" columnid="baseflaglist"/>
  719. <BindItem id="item2" compid="switch1.case1.bool2" propid="value" datasetid="ds_main_cond" columnid="conddeptsel"/>
  720. <BindItem id="item3" compid="switch1.case2.grp_sea.cmb_sapdept" propid="value" datasetid="ds_main_cond" columnid="deptcd"/>
  721. <BindItem id="item4" compid="switch1.case2.grp_sea.ipt_sapcode" propid="value" datasetid="ds_main_cond" columnid="drugcd"/>
  722. <BindItem id="item5" compid="switch1.case2.grp_sea.input1" propid="value" datasetid="ds_main_cond" columnid="drugnm"/>
  723. <BindItem id="item6" compid="switch1.case1.cmb_baseflg" propid="value" datasetid="ds_init" columnid="A0017list"/>
  724. <BindItem id="item7" compid="switch1.case1.cmb_direccd" propid="value" datasetid="ds_init" columnid="mthdcdlist"/>
  725. <BindItem id="item8" compid="switch1.case1.cmb_exectims" propid="value" datasetid="ds_init_mthdcdlist_1" columnid="basecnt"/>
  726. <BindItem id="item9" compid="switch1.case1.rdo_comnyn" propid="value" datasetid="ds_hidden" columnid="comnyn"/>
  727. <BindItem id="item10" compid="switch1.case1.bool1" propid="value" datasetid="ds_main_cond" columnid="condsel"/>
  728. </Bind>
  729. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  730. * System Name : 경대 의료정보시스템
  731. * Job Name : emr_caremedirecxp -> SMMNR07500
  732. * Creator : yjh
  733. * Make Date : 2018-02-07
  734. * Description :
  735. *---------------------------------------------------------------------------------------
  736. * Modify Date Modifier Modify Description
  737. *---------------------------------------------------------------------------------------
  738. * 2018-02-07 yjh TF->XP
  739. *
  740. *---------------------------------------------------------------------------------------
  741. ****************************************************************************************/
  742. //=======================================================================================
  743. // Lib Include
  744. //---------------------------------------------------------------------------------------
  745. include "com_commonxp::comm_main.xjs";
  746. include "emr_caremedirecxp::SMMNR07500.xjs";
  747. include "emr_carecomxp::CareCom.xjs";
  748. //=======================================================================================
  749. // Global Form Variable
  750. //---------------------------------------------------------------------------------------
  751. var arErrorCode = new HashArray();
  752. //=======================================================================================
  753. // Function
  754. //---------------------------------------------------------------------------------------
  755. //=======================================================================================
  756. // Event
  757. //---------------------------------------------------------------------------------------
  758. /****************************************************************************************
  759. * Components : Form
  760. * Components ID : SMMNR07500
  761. * Event : oninit
  762. * Argument : 01.obj : Object Event has occurred
  763. * : 02.e : Event Object
  764. * Description : 화면 처음 초기화시
  765. ****************************************************************************************/
  766. function SMMNR07500_oninit(obj:Form, e:InitEventInfo)
  767. {
  768. frmf_initForm(obj); //폼 초기화
  769. }
  770. /****************************************************************************************
  771. * Components : Form
  772. * Components ID : SMMNR07500
  773. * Event : onload
  774. * Argument : 01.obj : Object Event has occurred
  775. * : 02.e : Event Object
  776. * Description : 화면 로딩 완료시
  777. ****************************************************************************************/
  778. function SMMNR07500_onload(obj:Form, e:LoadEventInfo)
  779. {
  780. grdf_setRowTypeIcon(switch1.case1.grd_dtimList, 0);
  781. grdf_setRowTypeIcon(switch1.case1.grd_mechList, 0);
  782. grdf_setRowTypeIcon(switch1.case1.grd_deptList, 0);
  783. grdf_setRowTypeIcon(switch1.case2.grd_saplist, 0);
  784. grdf_setToolTipBind(switch1.case1.grd_mechList);
  785. ds_hidden.setColumn(0, "comnyn", "Y");
  786. ds_main_cond.setColumn(0, "deptcd", "ALL");
  787. ds_main_dtiminfo_dtim.setColumn(0, "title", "시간");
  788. ds_main_dtiminfo_dtim.setColumn(1, "title", "Day");
  789. fInitialize();
  790. }
  791. /****************************************************************************************
  792. * Components : Tab
  793. * Components ID : switch1
  794. * Event : onchanged
  795. * Argument : 01.obj : Object Event has occurred
  796. * : 02.e : Event Object
  797. * Description : 탭 변경시
  798. ****************************************************************************************/
  799. function switch1_onchanged(obj:Tab, e:TabIndexChangeEventInfo)
  800. {
  801. switch( e.postindex ){
  802. case 0 :
  803. break;
  804. case 1 :
  805. fGetSapList();
  806. break;
  807. default :
  808. break;
  809. }
  810. }
  811. /****************************************************************************************
  812. * Components : Combo
  813. * Components ID : cmb_direccd
  814. * Event : onitemchanged
  815. * Argument : 01.obj : Object Event has occurred
  816. * : 02.e : Event Object
  817. * Description : 콤보 값 변경시
  818. ****************************************************************************************/
  819. function switch1_case1_cmb_direccd_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  820. {
  821. fmthdChange("basecnt");
  822. ds_main_dtiminfo_dtim.setColumn(0, "seqno1", "");
  823. }
  824. /****************************************************************************************
  825. * Components : Dataset
  826. * Components ID : ds_main_dtiminfo_dtim
  827. * Event : oncolumnchanged
  828. * Argument : 01.obj : Object Event has occurred
  829. * : 02.e : Event Object
  830. * Description : 데이터셋 값 변경시
  831. ****************************************************************************************/
  832. function ds_main_dtiminfo_dtim_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
  833. {
  834. if(e.row == 0){
  835. var recdt = utlf_transNullToEmpty(ds_main_dtiminfo_dtim.getColumn(e.row, e.columnid));
  836. if(Number(recdt.substring(0,2)) >= 24){
  837. // messageBox("시간 입력에","E009");
  838. sysf_messageBox("시간이 올바르지 않습니다. \n[입력가능범위 00:00~23:59]","E");
  839. ds_main_dtiminfo_dtim.setColumn(e.row, e.columnid, "");
  840. return;
  841. }
  842. if(Number(recdt.substring(2,4)) > 60){
  843. // messageBox("분 입력에","E009");
  844. sysf_messageBox("시간이 올바르지 않습니다. \n[입력가능범위 00:00~23:59]","E");
  845. ds_main_dtiminfo_dtim.setColumn(e.row, e.columnid, "");
  846. return;
  847. }
  848. }
  849. }
  850. /****************************************************************************************
  851. * Components : Grid
  852. * Components ID : grd_dtimList
  853. * Event : oncelldblclick
  854. * Argument : 01.obj : Object Event has occurred
  855. * : 02.e : Event Object
  856. * Description : 그리드 셀 더블클릭시
  857. ****************************************************************************************/
  858. function switch1_case1_grd_dtimList_oncelldblclick(obj:Grid, e:GridClickEventInfo)
  859. {
  860. //(공통에서 용법과 약품은 관계가 없다. 따라서 막는다.(20080519) ==> 관계가 있다고 하네.(20080520)
  861. fMechSerch("grdclick");
  862. }
  863. /****************************************************************************************
  864. * Components : Grid
  865. * Components ID : grd_dtimList
  866. * Event : oncellclick
  867. * Argument : 01.obj : Object Event has occurred
  868. * : 02.e : Event Object
  869. * Description : 그리드 셀 클릭시
  870. ****************************************************************************************/
  871. function switch1_case1_grd_dtimList_oncellclick(obj:Grid, e:GridClickEventInfo)
  872. {
  873. fgrddtimlist_ondelayclick(); //ondelayclick
  874. }
  875. /****************************************************************************************
  876. * Components : Grid
  877. * Components ID : grd_deptList
  878. * Event : oncellclick
  879. * Argument : 01.obj : Object Event has occurred
  880. * : 02.e : Event Object
  881. * Description : 그리드 셀 클릭시
  882. ****************************************************************************************/
  883. function switch1_case1_grd_deptList_oncellclick(obj:Grid, e:GridClickEventInfo)
  884. {
  885. fDeptListClick(); //ondelayclick
  886. }
  887. /****************************************************************************************
  888. * Components : Grid
  889. * Components ID : grd_deptList
  890. * Event : onexpanddown
  891. * Argument : 01.obj : Object Event has occurred
  892. * : 02.e : Event Object
  893. * Description : 그리드 expand버튼 클릭시
  894. ****************************************************************************************/
  895. function switch1_case1_grd_deptList_onexpanddown(obj:Grid, e:GridMouseEventInfo)
  896. {
  897. fDrugDbClick("dept");
  898. }
  899. /****************************************************************************************
  900. * Components : Combo
  901. * Components ID : cmb_dept
  902. * Event : onitemchanged
  903. * Argument : 01.obj : Object Event has occurred
  904. * : 02.e : Event Object
  905. * Description : 콤보 값 변경시
  906. ****************************************************************************************/
  907. function switch1_case1_cmb_dept_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  908. {
  909. fDeptSerch();
  910. }
  911. /****************************************************************************************
  912. * Components : Combo
  913. * Components ID : cmb_baseflg
  914. * Event : onitemchanged
  915. * Argument : 01.obj : Object Event has occurred
  916. * : 02.e : Event Object
  917. * Description : 콤보 값 변경시
  918. ****************************************************************************************/
  919. function switch1_case1_cmb_baseflg_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  920. {
  921. //용법코드 조회 후 콤보박스에 저장
  922. fmthdChange("mthdcd");
  923. }
  924. /****************************************************************************************
  925. * Components : Dataset
  926. * Components ID : ds_main_picmmech_picmmechList
  927. * Event : oncolumnchanged
  928. * Argument : 01.obj : Object Event has occurred
  929. * : 02.e : Event Object
  930. * Description : 데이터셋 값 변경시
  931. ****************************************************************************************/
  932. function ds_main_picmmech_picmmechList_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
  933. {
  934. switch( e.columnid ){
  935. case "status" :
  936. if( e.newvalue == "true" || e.newvalue == "1" ){
  937. obj.setColumn(e.row, e.columnid, "true");
  938. }else{
  939. obj.setColumn(e.row, e.columnid, "false");
  940. }
  941. break;
  942. default :
  943. break;
  944. }
  945. fPrcpSerch();
  946. }
  947. /****************************************************************************************
  948. * Components : Grid
  949. * Components ID : grd_mechList
  950. * Event : oncellclick
  951. * Argument : 01.obj : Object Event has occurred
  952. * : 02.e : Event Object
  953. * Description : 그리드 셀 클릭시
  954. ****************************************************************************************/
  955. function switch1_case1_grd_mechList_oncellclick(obj:Grid, e:GridClickEventInfo)
  956. {
  957. var pGrd = switch1.case1.grd_mechList;
  958. if (switch1.case1.grd_mechList.rowcount <= 0 ) return;
  959. if (switch1.case1.grd_mechList.currentcol == 0) return;
  960. //-----(20080520)
  961. fgrdmechList_ondelayclick();
  962. }
  963. /****************************************************************************************
  964. * Components : Grid
  965. * Components ID : grd_mechList
  966. * Event : onexpanddown
  967. * Argument : 01.obj : Object Event has occurred
  968. * : 02.e : Event Object
  969. * Description : 그리드 expand버튼 클릭시
  970. ****************************************************************************************/
  971. function switch1_case1_grd_mechList_onexpanddown(obj:Grid, e:GridMouseEventInfo)
  972. {
  973. fDrugDbClick("mthd");
  974. }
  975. /****************************************************************************************
  976. * Components : Combo
  977. * Components ID : cmb_deptBaseflg
  978. * Event : onitemchanged
  979. * Argument : 01.obj : Object Event has occurred
  980. * : 02.e : Event Object
  981. * Description : 콤보 값 변경시
  982. ****************************************************************************************/
  983. function switch1_case1_cmb_deptBaseflg_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  984. {
  985. fDeptSerch();
  986. fmthdChange("mthdcd");
  987. }
  988. /****************************************************************************************
  989. * Components : Button
  990. * Components ID : btn_init
  991. * Event : onclick
  992. * Argument : 01.obj : Object Event has occurred
  993. * : 02.e : Event Object
  994. * Description : 초기화버튼 클릭시
  995. ****************************************************************************************/
  996. function switch1_case1_btn_init_onclick(obj:Button, e:ClickEventInfo)
  997. {
  998. // ds_main_dtiminfo_dtim.clearData();
  999. // ds_main_dtiminfo_dtim.addRow();
  1000. // ds_main_dtiminfo_dtim.addRow();
  1001. // ds_main_dtiminfo_dtim.setColumn(0, "title", "시간");
  1002. // ds_main_dtiminfo_dtim.setColumn(1, "title", "Day");
  1003. //
  1004. // for (var i=1 ; i<=12 ; i++){
  1005. // switch1.case1.grd_deptdtim.setFormatColProperty(i, "size", 0);
  1006. // switch1.case1.grd_mnrmdtim.setFormatColProperty(i, "size", 0);
  1007. // }
  1008. // switch1.case1.cmb_exectims.enable = false;
  1009. // model1.reset();
  1010. this.reload();
  1011. }
  1012. /****************************************************************************************
  1013. * Components : Button
  1014. * Components ID : btn_mthddel
  1015. * Event : onclick
  1016. * Argument : 01.obj : Object Event has occurred
  1017. * : 02.e : Event Object
  1018. * Description : 삭제버튼 클릭시
  1019. ****************************************************************************************/
  1020. function switch1_case1_btn_mthddel_onclick(obj:Button, e:ClickEventInfo)
  1021. {
  1022. if(sysf_messageBox("","Q001") != 6) return;
  1023. fDtimDelete("dtim");
  1024. }
  1025. /****************************************************************************************
  1026. * Components : Button
  1027. * Components ID : btn_mthdsave
  1028. * Event : onclick
  1029. * Argument : 01.obj : Object Event has occurred
  1030. * : 02.e : Event Object
  1031. * Description : 저장버튼 클릭시
  1032. ****************************************************************************************/
  1033. function switch1_case1_btn_mthdsave_onclick(obj:Button, e:ClickEventInfo)
  1034. {
  1035. if(sysf_messageBox("","Q002") != 6) return;
  1036. //fDtimApply(); //(20080516)
  1037. fDtimSave(); //(20080516)
  1038. }
  1039. /****************************************************************************************
  1040. * Components : Button
  1041. * Components ID : btn_mechcon
  1042. * Event : onclick
  1043. * Argument : 01.obj : Object Event has occurred
  1044. * : 02.e : Event Object
  1045. * Description : 적용버튼 클릭시
  1046. ****************************************************************************************/
  1047. function switch1_case1_btn_mechcon_onclick(obj:Button, e:ClickEventInfo)
  1048. {
  1049. fMechApply();
  1050. }
  1051. /****************************************************************************************
  1052. * Components : Button
  1053. * Components ID : btn_mechadd
  1054. * Event : onclick
  1055. * Argument : 01.obj : Object Event has occurred
  1056. * : 02.e : Event Object
  1057. * Description : 행추가버튼 클릭시
  1058. ****************************************************************************************/
  1059. function switch1_case1_btn_mechadd_onclick(obj:Button, e:ClickEventInfo)
  1060. {
  1061. var row;
  1062. //grd_mechList.addItem();
  1063. row = ds_main_picmmech_picmmechList.rowcount;
  1064. if (row <= 0 ) {
  1065. ds_main_picmmech_picmmechList.addRow();
  1066. } else {
  1067. row = ds_main_picmmech_picmmechList.rowposition;
  1068. ds_main_picmmech_picmmechList.insertRow(row);
  1069. }
  1070. if (ds_main_picmmech_picmmechList.rowcount <= 0 ) return;
  1071. if (ds_main_picmmech_picmmechList.rowposition < 0 ) return;
  1072. var direccd = ds_main_mnrmdtim_mnrmdtimList.getColumn(ds_main_mnrmdtim_mnrmdtimList.rowposition, "direccd");
  1073. var baseflag = ds_main_mnrmdtim_mnrmdtimList.getColumn(ds_main_mnrmdtim_mnrmdtimList.rowposition, "baseflag");
  1074. row = ds_main_picmmech_picmmechList.rowposition;
  1075. ds_main_picmmech_picmmechList.setColumn(row, "direccd", direccd); //direccd 반영
  1076. ds_main_picmmech_picmmechList.setColumn(row, "baseflag", baseflag); //baseflag 반영
  1077. ds_main_picmmech_picmmechList.setColumn(row, "comnyn", "Y"); //comnyn
  1078. }
  1079. /****************************************************************************************
  1080. * Components : Button
  1081. * Components ID : btn_mechdel
  1082. * Event : onclick
  1083. * Argument : 01.obj : Object Event has occurred
  1084. * : 02.e : Event Object
  1085. * Description : 삭제버튼 클릭시
  1086. ****************************************************************************************/
  1087. function switch1_case1_btn_mechdel_onclick(obj:Button, e:ClickEventInfo)
  1088. {
  1089. if(sysf_messageBox("","Q001") != 6) return;
  1090. fDtimDelete("mech");
  1091. }
  1092. /****************************************************************************************
  1093. * Components : Button
  1094. * Components ID : btn_mechsave
  1095. * Event : onclick
  1096. * Argument : 01.obj : Object Event has occurred
  1097. * : 02.e : Event Object
  1098. * Description : 저장버튼 클릭시
  1099. ****************************************************************************************/
  1100. function switch1_case1_btn_mechsave_onclick(obj:Button, e:ClickEventInfo)
  1101. {
  1102. if(sysf_messageBox("","Q002") != 6) return;
  1103. fMechSave();
  1104. }
  1105. /****************************************************************************************
  1106. * Components : Button
  1107. * Components ID : btn_deptcon
  1108. * Event : onclick
  1109. * Argument : 01.obj : Object Event has occurred
  1110. * : 02.e : Event Object
  1111. * Description : 적용버튼 클릭시
  1112. ****************************************************************************************/
  1113. function switch1_case1_btn_deptcon_onclick(obj:Button, e:ClickEventInfo)
  1114. {
  1115. if(ds_main_deptdtim_deptdtimList.rowposition > -1){
  1116. fDeptlistApply();
  1117. }
  1118. }
  1119. /****************************************************************************************
  1120. * Components : Button
  1121. * Components ID : btn_deptdel
  1122. * Event : onclick
  1123. * Argument : 01.obj : Object Event has occurred
  1124. * : 02.e : Event Object
  1125. * Description : 삭제버튼 클릭시
  1126. ****************************************************************************************/
  1127. function switch1_case1_btn_deptdel_onclick(obj:Button, e:ClickEventInfo)
  1128. {
  1129. if(sysf_messageBox("","Q001") != 6) return;
  1130. fDtimDelete("dept");
  1131. }
  1132. /****************************************************************************************
  1133. * Components : Button
  1134. * Components ID : btn_deptsave
  1135. * Event : onclick
  1136. * Argument : 01.obj : Object Event has occurred
  1137. * : 02.e : Event Object
  1138. * Description : 저장버튼 클릭시
  1139. ****************************************************************************************/
  1140. function switch1_case1_btn_deptsave_onclick(obj:Button, e:ClickEventInfo)
  1141. {
  1142. if(sysf_messageBox("","Q002") != 6) return;
  1143. //fDeptlistApply(); (20080519)
  1144. fDeptSave();
  1145. }
  1146. /****************************************************************************************
  1147. * Components : Button
  1148. * Components ID : btn_apply
  1149. * Event : onclick
  1150. * Argument : 01.obj : Object Event has occurred
  1151. * : 02.e : Event Object
  1152. * Description : >>버튼 클릭시
  1153. ****************************************************************************************/
  1154. function switch1_case1_btn_apply_onclick(obj:Button, e:ClickEventInfo)
  1155. {
  1156. if(utlf_isNull(switch1.case1.cmb_dept.text)){
  1157. sysf_messageBox("부서를 ","C002");
  1158. }else{
  1159. fDeptApply();
  1160. }
  1161. }
  1162. /****************************************************************************************
  1163. * Components : CheckBox
  1164. * Components ID : bool2
  1165. * Event : onclick
  1166. * Argument : 01.obj : Object Event has occurred
  1167. * : 02.e : Event Object
  1168. * Description : 체크박스 클릭시
  1169. ****************************************************************************************/
  1170. function switch1_case1_bool2_onclick(obj:CheckBox, e:ClickEventInfo)
  1171. {
  1172. //일단숨김(20080519)
  1173. // var multicheck = model.getValue("/root/main/cond/conddeptsel");
  1174. // var nodeCnt = getNodesetCount(xDeptList);
  1175. // for(var i = 1; i <= nodeCnt; i++){
  1176. // if(multicheck == "true"){
  1177. // model.setValue("/root/main/deptdtim/deptdtimList[" + i + "]/status", "true");
  1178. // }else{
  1179. // model.setValue("/root/main/deptdtim/deptdtimList[" + i + "]/status", "false");
  1180. // }
  1181. // }
  1182. }
  1183. /****************************************************************************************
  1184. * Components : CheckBox
  1185. * Components ID : bool1
  1186. * Event : onclick
  1187. * Argument : 01.obj : Object Event has occurred
  1188. * : 02.e : Event Object
  1189. * Description : 체크박스 클릭시
  1190. ****************************************************************************************/
  1191. function switch1_case1_bool1_onclick(obj:CheckBox, e:ClickEventInfo)
  1192. {
  1193. //일단숨김(20080519)
  1194. // var multicheck = model.getValue("/root/main/cond/condsel");
  1195. // var nodeCnt = getNodesetCount(xDtimList);
  1196. // for(var i = 1; i <= nodeCnt; i++){
  1197. // if(multicheck == "true"){
  1198. // model.setValue(xDtimList + "[" + i + "]/status", "true");
  1199. // }else{
  1200. // model.setValue(xDtimList + "[" + i + "]/status", "false");
  1201. // }
  1202. // }
  1203. }
  1204. /****************************************************************************************
  1205. * Components : Combo
  1206. * Components ID : cmb_exectims
  1207. * Event : onitemchanged
  1208. * Argument : 01.obj : Object Event has occurred
  1209. * : 02.e : Event Object
  1210. * Description : 콤보 값 변경시
  1211. ****************************************************************************************/
  1212. function switch1_case1_cmb_exectims_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  1213. {
  1214. for(var i= 1 ; i< 13 ;i++){
  1215. switch1.case1.grd_mnrmdtim.setFormatColProperty(i, "size", 0);
  1216. }
  1217. for(var i= 1 ; i<= switch1.case1.cmb_exectims.value ;i++){
  1218. switch1.case1.grd_mnrmdtim.setFormatColProperty(i, "size", 40); //그리드 활성화
  1219. }
  1220. }
  1221. /****************************************************************************************
  1222. * Components : Button
  1223. * Components ID : btn_mthdadd
  1224. * Event : onclick
  1225. * Argument : 01.obj : Object Event has occurred
  1226. * : 02.e : Event Object
  1227. * Description : 추가버튼 클릭시
  1228. ****************************************************************************************/
  1229. function switch1_case1_btn_mthdadd_onclick(obj:Button, e:ClickEventInfo)
  1230. {
  1231. //용법추가
  1232. if(sysf_messageBox("","Q008") != 6) return;
  1233. var rtn = fDtimAdd();
  1234. if (rtn == true) fgrddtimlist_ondelayclick();
  1235. }
  1236. /****************************************************************************************
  1237. * Components : Button
  1238. * Components ID : btn_dtimcon
  1239. * Event : onclick
  1240. * Argument : 01.obj : Object Event has occurred
  1241. * : 02.e : Event Object
  1242. * Description : 적용버튼 클릭시
  1243. ****************************************************************************************/
  1244. function switch1_case1_btn_dtimcon_onclick(obj:Button, e:ClickEventInfo)
  1245. {
  1246. fDtimApply();
  1247. }
  1248. /****************************************************************************************
  1249. * Components : Button
  1250. * Components ID : btn_methQeury
  1251. * Event : onclick
  1252. * Argument : 01.obj : Object Event has occurred
  1253. * : 02.e : Event Object
  1254. * Description : 조회버튼 클릭시
  1255. ****************************************************************************************/
  1256. function switch1_case1_btn_methQeury_onclick(obj:Button, e:ClickEventInfo)
  1257. {
  1258. fMechSerch("grdclick");
  1259. }
  1260. /****************************************************************************************
  1261. * Components : Button
  1262. * Components ID : btn_deptQuery
  1263. * Event : onclick
  1264. * Argument : 01.obj : Object Event has occurred
  1265. * : 02.e : Event Object
  1266. * Description : 조회버튼 클릭시
  1267. ****************************************************************************************/
  1268. function switch1_case1_btn_deptQuery_onclick(obj:Button, e:ClickEventInfo)
  1269. {
  1270. fDeptSerch();
  1271. }
  1272. /****************************************************************************************
  1273. * Components : Edit
  1274. * Components ID : ipt_sapcode
  1275. * Event : onkeyup
  1276. * Argument : 01.obj : Object Event has occurred
  1277. * : 02.e : Event Object
  1278. * Description : 에디터 키 입력시
  1279. ****************************************************************************************/
  1280. function switch1_case2_grp_sea_ipt_sapcode_onkeyup(obj:Edit, e:KeyEventInfo)
  1281. {
  1282. if(e.keycode == 13){
  1283. obj.updateToDataset();
  1284. switch1.case2.grp_sea.btn_saplist.setFocus();
  1285. fGetSapList();
  1286. }
  1287. }
  1288. /****************************************************************************************
  1289. * Components : Button
  1290. * Components ID : btn_saplist
  1291. * Event : onclick
  1292. * Argument : 01.obj : Object Event has occurred
  1293. * : 02.e : Event Object
  1294. * Description : 조회버튼 클릭시
  1295. ****************************************************************************************/
  1296. function switch1_case2_grp_sea_btn_saplist_onclick(obj:Button, e:ClickEventInfo)
  1297. {
  1298. fGetSapList();
  1299. }
  1300. /****************************************************************************************
  1301. * Components : Button
  1302. * Components ID : button41
  1303. * Event : onclick
  1304. * Argument : 01.obj : Object Event has occurred
  1305. * : 02.e : Event Object
  1306. * Description : 추가버튼 클릭시
  1307. ****************************************************************************************/
  1308. function switch1_case2_grp_sea_button41_onclick(obj:Button, e:ClickEventInfo)
  1309. {
  1310. var sPathSapInfo = ds_main_sapinfo_saplist_saplist;
  1311. ds_main_sapinfo_saplist_saplist.insertRow(0);
  1312. var row = ds_main_sapinfo_saplist_saplist.rowposition;
  1313. if(switch1.case2.grp_sea.cmb_sapdept.value == "ALL"){
  1314. ds_main_sapinfo_saplist_saplist.setColumn(row, "commyn", "true");
  1315. }
  1316. //(20080520)
  1317. ds_main_sapinfo_saplist_saplist.setColumn(row, "status","I");
  1318. }
  1319. /****************************************************************************************
  1320. * Components : Button
  1321. * Components ID : button4
  1322. * Event : onclick
  1323. * Argument : 01.obj : Object Event has occurred
  1324. * : 02.e : Event Object
  1325. * Description : 저장버튼 클릭시
  1326. ****************************************************************************************/
  1327. function switch1_case2_grp_sea_button4_onclick(obj:Button, e:ClickEventInfo)
  1328. {
  1329. fSaveSapInfo("");
  1330. }
  1331. /****************************************************************************************
  1332. * Components : Combo
  1333. * Components ID : cmb_sapdept
  1334. * Event : onitemchanged
  1335. * Argument : 01.obj : Object Event has occurred
  1336. * : 02.e : Event Object
  1337. * Description : 콤보 값 변경시
  1338. ****************************************************************************************/
  1339. function switch1_case2_grp_sea_cmb_sapdept_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  1340. {
  1341. fGetSapList();
  1342. }
  1343. /****************************************************************************************
  1344. * Components : Button
  1345. * Components ID : button16
  1346. * Event : onclick
  1347. * Argument : 01.obj : Object Event has occurred
  1348. * : 02.e : Event Object
  1349. * Description : 돋보기버튼 클릭시
  1350. ****************************************************************************************/
  1351. function switch1_case2_grp_sea_button16_onclick(obj:Button, e:ClickEventInfo)
  1352. {
  1353. fDrugDbClick1();
  1354. }
  1355. /****************************************************************************************
  1356. * Components : Edit
  1357. * Components ID : input1
  1358. * Event : onkeyup
  1359. * Argument : 01.obj : Object Event has occurred
  1360. * : 02.e : Event Object
  1361. * Description : 에디터 키 입력시
  1362. ****************************************************************************************/
  1363. function switch1_case2_grp_sea_input1_onkeyup(obj:Edit, e:KeyEventInfo)
  1364. {
  1365. if(e.keycode == 13){
  1366. obj.updateToDataset();
  1367. switch1.case2.grp_sea.btn_saplist.setFocus();
  1368. fGetSapList();
  1369. }
  1370. }
  1371. /****************************************************************************************
  1372. * Components : Button
  1373. * Components ID : button3
  1374. * Event : onclick
  1375. * Argument : 01.obj : Object Event has occurred
  1376. * : 02.e : Event Object
  1377. * Description : 삭제버튼 클릭시
  1378. ****************************************************************************************/
  1379. function switch1_case2_grp_sea_button3_onclick(obj:Button, e:ClickEventInfo)
  1380. {
  1381. fSaveSapInfo("del");
  1382. }
  1383. /****************************************************************************************
  1384. * Components : Grid
  1385. * Components ID : grd_saplist
  1386. * Event : onexpanddown
  1387. * Argument : 01.obj : Object Event has occurred
  1388. * : 02.e : Event Object
  1389. * Description : 그리드 expand버튼 클릭시
  1390. ****************************************************************************************/
  1391. function switch1_case2_grd_saplist_onexpanddown(obj:Grid, e:GridMouseEventInfo)
  1392. {
  1393. fDrugDbClick("sap");
  1394. }
  1395. /****************************************************************************************
  1396. * Components : Dataset
  1397. * Components ID : ds_main_sapinfo_saplist_saplist
  1398. * Event : oncolumnchanged
  1399. * Argument : 01.obj : Object Event has occurred
  1400. * : 02.e : Event Object
  1401. * Description : 데이터셋 값 변경시
  1402. ****************************************************************************************/
  1403. function ds_main_sapinfo_saplist_saplist_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
  1404. {
  1405. switch( e.columnid ){
  1406. case "chk" :
  1407. case "commyn" :
  1408. case "sapyn" :
  1409. case "ioyn" :
  1410. case "sapnoyn" :
  1411. if( e.newvalue == "true" || e.newvalue == "1" ){
  1412. obj.setColumn(e.row, e.columnid, "true");
  1413. }else{
  1414. obj.setColumn(e.row, e.columnid, "false");
  1415. }
  1416. break;
  1417. default :
  1418. break;
  1419. }
  1420. if(e.columnid == "chk"){
  1421. fClickSapDelete();
  1422. }
  1423. }
  1424. function ds_main_mnrmdtim_mnrmdtimList_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
  1425. {
  1426. switch( e.columnid ){
  1427. case "status" :
  1428. if( e.newvalue == "true" || e.newvalue == "1" ){
  1429. obj.setColumn(e.row, e.columnid, "true");
  1430. }else{
  1431. obj.setColumn(e.row, e.columnid, "false");
  1432. }
  1433. break;
  1434. default :
  1435. break;
  1436. }
  1437. }
  1438. function ds_main_deptdtim_deptdtimList_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
  1439. {
  1440. switch( e.columnid ){
  1441. case "status" :
  1442. if( e.newvalue == "true" || e.newvalue == "1" ){
  1443. obj.setColumn(e.row, e.columnid, "true");
  1444. }else{
  1445. obj.setColumn(e.row, e.columnid, "false");
  1446. }
  1447. break;
  1448. default :
  1449. break;
  1450. }
  1451. }
  1452. ]]></Script>
  1453. </Form>
  1454. </FDL>