SMAHA00900_결과상담예약.xfdl 86 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMAHA00900" position="absolute 0 0 1197 805" titletext="결과상담예약관리" oninit="SMAHA00900_oninit" onload="SMAHA00900_onload">
  5. <Layouts>
  6. <Layout>
  7. <Static id="caption6" text="결과상담예약관리" class="tit_1" position="absolute 0 0 160 25"/>
  8. <Static id="caption11" text="상담의 리스트" class="tit_2" position="absolute 0 41 144 64" anchor="left top"/>
  9. <Shape id="line9" class="line_10" position="absolute 0 57 400 63" anchor="left top"/>
  10. <Grid id="grd_calendar" taborder="1" useinputpanel="false" position="absolute 0 447 400 770" autoenter="select" autofittype="col" cellsizingtype="col" anchor="left bottom" binddataset="ds_temp_calendar_weeklist_list" selecttype="cell" oncellclick="grd_calendar_oncellclick">
  11. <Formats>
  12. <Format id="default">
  13. <Columns>
  14. <Column size="40"/>
  15. <Column size="40"/>
  16. <Column size="40"/>
  17. <Column size="40"/>
  18. <Column size="40"/>
  19. <Column size="40"/>
  20. <Column size="40"/>
  21. </Columns>
  22. <Rows>
  23. <Row size="24" band="head"/>
  24. <Row size="24"/>
  25. <Row size="24"/>
  26. </Rows>
  27. <Band id="head">
  28. <Cell text="일"/>
  29. <Cell col="1" text="월"/>
  30. <Cell col="2" text="화"/>
  31. <Cell col="3" text="수"/>
  32. <Cell col="4" text="목"/>
  33. <Cell col="5" text="금"/>
  34. <Cell col="6" text="토"/>
  35. </Band>
  36. <Band id="body">
  37. <Cell rowspan="2" style="selectbackground:#daa7d9ff;" taborder="undefined">
  38. <Cell style="color:red;color2:red;" text="bind:sun"/>
  39. <Cell row="1" style="color:red;color2:red;" text="bind:sun_memo"/>
  40. </Cell>
  41. <Cell col="1" rowspan="2" style="selectbackground:#daa7d9ff;" taborder="undefined">
  42. <Cell text="bind:mon" taborder="undefined"/>
  43. <Cell row="1" text="bind:mon_memo" taborder="undefined"/>
  44. </Cell>
  45. <Cell col="2" rowspan="2" style="selectbackground:#daa7d9ff;" taborder="undefined">
  46. <Cell text="bind:tue"/>
  47. <Cell row="1" text="bind:tue_memo"/>
  48. </Cell>
  49. <Cell col="3" rowspan="2" style="selectbackground:#daa7d9ff;" taborder="undefined">
  50. <Cell text="bind:wed"/>
  51. <Cell row="1" text="bind:wed_memo"/>
  52. </Cell>
  53. <Cell col="4" rowspan="2" style="selectbackground:#daa7d9ff;" taborder="undefined">
  54. <Cell text="bind:thu"/>
  55. <Cell row="1" text="bind:thu_memo"/>
  56. </Cell>
  57. <Cell col="5" rowspan="2" style="selectbackground:#daa7d9ff;" taborder="undefined">
  58. <Cell text="bind:fri"/>
  59. <Cell row="1" text="bind:fri_memo"/>
  60. </Cell>
  61. <Cell col="6" rowspan="2" style="selectbackground:#daa7d9ff;" taborder="undefined">
  62. <Cell style="color:dodgerblue;color2:dodgerblue;" text="bind:sat"/>
  63. <Cell row="1" style="color:dodgerblue;color2:dodgerblue;" text="bind:sat_memo"/>
  64. </Cell>
  65. </Band>
  66. </Format>
  67. </Formats>
  68. </Grid>
  69. <Shape id="line1" class="line_10" position="absolute 0 399 400 405" anchor="left bottom"/>
  70. <Div id="grp_calendar" taborder="2" position="absolute 0 405 400 445" class="div_SA" anchor="left bottom">
  71. <Layouts>
  72. <Layout>
  73. <Button id="btn_preyear" taborder="1" class="icon_pre_year" position="absolute 98 12 114 28" anchor="default" onclick="grp_calendar_btn_preyear_onclick"/>
  74. <Button id="btn_nextyear" taborder="2" class="icon_next_year" position="absolute 273 12 289 28" anchor="default" onclick="grp_calendar_btn_nextyear_onclick"/>
  75. <Button id="btn_premonth" taborder="3" class="icon_pre_month" position="absolute 117 12 133 28" anchor="default" onclick="grp_calendar_btn_premonth_onclick"/>
  76. <Button id="btn_nextmonth" taborder="4" class="icon_next_month" position="absolute 254 12 270 28" anchor="default" onclick="grp_calendar_btn_nextmonth_onclick"/>
  77. <Edit id="opt_year" taborder="5" readonly="true" class="calendar_output" position="absolute 136 10 182 29" style="color:black;align:center middle;font:Dotum,9,bold;" anchor="default" autoselect="true" autoskip="true"/>
  78. <Edit id="opt_month" taborder="6" readonly="true" class="calendar_output" position="absolute 205 10 235 29" style="color:black;align:center middle;font:Dotum,9,bold;" anchor="default" autoselect="true" autoskip="true"/>
  79. <Static id="caption8" text="년" class="calendar_output" position="absolute 181 11 201 30" style="color:black;font:Dotum,9,bold;" anchor="default"/>
  80. <Static id="caption9" text="월" class="calendar_output" position="absolute 235 10 255 29" style="color:black;font:Dotum,9,bold;" anchor="default"/>
  81. </Layout>
  82. </Layouts>
  83. </Div>
  84. <Grid id="grd_rsrvdrlst" taborder="3" binddataset="ds_init_cnst_drlst_itemdr" useinputpanel="false" position="absolute 0 62 400 372" autoenter="select" cellsizingtype="col" anchor="left top bottom" oncelldblclick="grd_rsrvdrlst_oncelldblclick" autofittype="col">
  85. <Formats>
  86. <Format id="default">
  87. <Columns>
  88. <Column size="24"/>
  89. <Column size="100"/>
  90. <Column size="150"/>
  91. </Columns>
  92. <Rows>
  93. <Row size="24" band="head"/>
  94. <Row size="24"/>
  95. </Rows>
  96. <Band id="head">
  97. <Cell/>
  98. <Cell col="1" text="상담의ID"/>
  99. <Cell col="2" text="상담의명"/>
  100. </Band>
  101. <Band id="body">
  102. <Cell celltype="head" expr="currow+1"/>
  103. <Cell col="1" style="align:left middle;padding:0 0 0 3;" text="bind:drid"/>
  104. <Cell col="2" style="align:left middle;padding:0 0 0 3;" text="bind:drnm"/>
  105. </Band>
  106. </Format>
  107. </Formats>
  108. </Grid>
  109. <Button id="btn_clear" taborder="4" text="초기화" class="btn4" position="absolute 332 377 400 399" anchor="left bottom" onclick="btn_clear_onclick"/>
  110. <Static id="caption1" text="결과상담예약내역" class="tit_2" position="absolute 0 383 144 405" anchor="left bottom"/>
  111. <Tab id="switch1" taborder="5" tabindex="0" position="absolute 405 35 1195 775" anchor="all" onchanged="switch1_onchanged">
  112. <Tabpages>
  113. <Tabpage id="case_rsltrsrvdetl" text="상세내역">
  114. <Layouts>
  115. <Layout>
  116. <Grid id="grd_rsrvacptlst" taborder="1" binddataset="ds_main_rsrvacptlst_item" useinputpanel="false" position="absolute 0 28 790 708" autoenter="select" cellsizingtype="col" anchor="all" oncelldblclick="switch1_case_rsltrsrvdetl_grd_rsrvacptlst_oncelldblclick" onrbuttondown="switch1_case_rsltrsrvdetl_grd_rsrvacptlst_onrbuttondown" onkillfocus="switch1_case_rsltrsrvdetl_grd_rsrvacptlst_onkillfocus">
  117. <Formats>
  118. <Format id="default">
  119. <Columns>
  120. <Column size="19" band="left"/>
  121. <Column size="30" band="left"/>
  122. <Column size="60" band="left"/>
  123. <Column size="60" band="left"/>
  124. <Column size="60" band="left"/>
  125. <Column size="90" band="left"/>
  126. <Column size="70"/>
  127. <Column size="30"/>
  128. <Column size="70"/>
  129. <Column size="30"/>
  130. <Column size="70"/>
  131. <Column size="0"/>
  132. <Column size="65"/>
  133. <Column size="94"/>
  134. <Column size="95"/>
  135. <Column size="33"/>
  136. <Column size="158"/>
  137. <Column size="150"/>
  138. <Column size="150"/>
  139. <Column size="100"/>
  140. <Column size="0"/>
  141. <Column size="0"/>
  142. <Column size="0"/>
  143. <Column size="0"/>
  144. <Column size="0"/>
  145. <Column size="0"/>
  146. <Column size="0"/>
  147. <Column size="0"/>
  148. <Column size="0"/>
  149. <Column size="0"/>
  150. <Column size="0"/>
  151. </Columns>
  152. <Rows>
  153. <Row size="28" band="head"/>
  154. <Row size="24"/>
  155. </Rows>
  156. <Band id="head">
  157. <Cell/>
  158. <Cell col="1" text="선택"/>
  159. <Cell col="2" text="예약시간"/>
  160. <Cell col="3" text="등록번호"/>
  161. <Cell col="4" text="성명"/>
  162. <Cell col="5" text="건진일자"/>
  163. <Cell col="6" text="전화번호"/>
  164. <Cell col="7" text="외래여부" wordwrap="word"/>
  165. <Cell col="8" text="예약내역"/>
  166. <Cell col="9" text="본인여부" wordwrap="word"/>
  167. <Cell col="10" text="내원자"/>
  168. <Cell col="11" text="상담의"/>
  169. <Cell col="12" text="방문시간"/>
  170. <Cell col="13" text="상담시작시간"/>
  171. <Cell col="14" text="상담종료시간"/>
  172. <Cell col="15" text="상담완료" wordwrap="word"/>
  173. <Cell col="16" text="예약접수 전달사항"/>
  174. <Cell col="17" text="비고"/>
  175. <Cell col="18" text="특이사항"/>
  176. <Cell col="19" text="패키지종류"/>
  177. <Cell col="20" text="건진구분"/>
  178. <Cell col="21" text="건진상세구분"/>
  179. <Cell col="22" text="예약일자"/>
  180. <Cell col="23" text="예약번호"/>
  181. <Cell col="24" text="예약시작시간"/>
  182. <Cell col="25" text="예약끝시간"/>
  183. <Cell col="26" text="예약이력코드"/>
  184. <Cell col="27" text="방문일자"/>
  185. <Cell col="28" text="예약변경이력번호"/>
  186. <Cell col="29" text="결과상담일련번호"/>
  187. <Cell col="30" text="결과상담예약일자"/>
  188. </Band>
  189. <Band id="body">
  190. <Cell celltype="head"/>
  191. <Cell col="1" displaytype="checkbox" edittype="expr:rsrvpsnnocnt == '1' &amp;&amp; rsltcnstendyn =='N' ? 'none' : 'checkbox'" style="background:EXPR(rsrvpsnnocnt == '1' &amp;&amp; rsltcnstendyn =='N' ? '#CCFFCC' : '');background2:EXPR(rsrvpsnnocnt == '1' &amp;&amp; rsltcnstendyn =='N' ? '#CCFFCC' : '');controlbackground:EXPR(rsrvpsnnocnt == '1' ? 'darkgray': '');controlborder:1 solid #808080ff ;" text="bind:rsrvpsnnocnt"/>
  192. <Cell col="2" style="background:EXPR(rsrvpsnnocnt == '1' &amp;&amp; rsltcnstendyn =='N' ? '#CCFFCC' : '');background2:EXPR(rsrvpsnnocnt == '1' &amp;&amp; rsltcnstendyn =='N' ? '#CCFFCC' : '');" text="bind:rsrvtm" mask="##:##" maskchar=" "/>
  193. <Cell col="3" style="background:EXPR(rsrvpsnnocnt == '1' &amp;&amp; rsltcnstendyn =='N' ? '#CCFFCC' : '');background2:EXPR(rsrvpsnnocnt == '1' &amp;&amp; rsltcnstendyn =='N' ? '#CCFFCC' : '');" text="bind:pid"/>
  194. <Cell col="4" style="background:EXPR(rsrvpsnnocnt == '1' &amp;&amp; rsltcnstendyn =='N' ? '#CCFFCC' : '');background2:EXPR(rsrvpsnnocnt == '1' &amp;&amp; rsltcnstendyn =='N' ? '#CCFFCC' : '');" text="bind:hngnm"/>
  195. <Cell col="5" displaytype="date" style="background:EXPR(rsrvpsnnocnt == '1' &amp;&amp; rsltcnstendyn =='N' ? '#CCFFCC' : '');background2:EXPR(rsrvpsnnocnt == '1' &amp;&amp; rsltcnstendyn =='N' ? '#CCFFCC' : '');" text="bind:hopedd" calendardisplaynulltype="nulltext"/>
  196. <Cell col="6" style="align:left middle;padding:0 0 0 3;background:EXPR(rsrvpsnnocnt == '1' &amp;&amp; rsltcnstendyn =='N' ? '#CCFFCC' : '');background2:EXPR(rsrvpsnnocnt == '1' &amp;&amp; rsltcnstendyn =='N' ? '#CCFFCC' : '');" text="bind:mtel" wordwrap="word"/>
  197. <Cell col="7" displaytype="checkbox" edittype="expr:rsrvpsnnocnt == '1' ? 'none' : 'checkbox'" style="background:EXPR(rsrvpsnnocnt == '1' &amp;&amp; rsltcnstendyn =='N' ? '#CCFFCC' : '');background2:EXPR(rsrvpsnnocnt == '1' &amp;&amp; rsltcnstendyn =='N' ? '#CCFFCC' : '');controlbackground:EXPR(rsrvpsnnocnt == '1' ? 'darkgray': '');controlborder:1 solid #808080ff ;" text="bind:outexamyn" expr="expr:outexamyn == 'Y' ? 1 : 0"/>
  198. <Cell col="8" displaytype="combo" edittype="expr:rsrvpsnnocnt == '1' ? 'none' : 'combo'" style="background:EXPR(rsrvpsnnocnt == '1' &amp;&amp; rsltcnstendyn =='N' ? '#CCFFCC' : '');background2:EXPR(rsrvpsnnocnt == '1' &amp;&amp; rsltcnstendyn =='N' ? '#CCFFCC' : '');" text="bind:rsltcnstflag" combodataset="ds_init_baseinfo_rsltcnstflaglst_S080" combocodecol="cdid" combodatacol="cdnm"/>
  199. <Cell col="9" displaytype="checkbox" edittype="checkbox" style="background:EXPR(rsrvpsnnocnt == '1' &amp;&amp; rsltcnstendyn =='N' ? '#CCFFCC' : '');background2:EXPR(rsrvpsnnocnt == '1' &amp;&amp; rsltcnstendyn =='N' ? '#CCFFCC' : '');" text="bind:ownyn" expr="expr:ownyn == 'Y' ? 1 : 0"/>
  200. <Cell col="10" displaytype="text" edittype="text" style="background:EXPR(rsrvpsnnocnt == '1' &amp;&amp; rsltcnstendyn =='N' ? '#CCFFCC' : '');background2:EXPR(rsrvpsnnocnt == '1' &amp;&amp; rsltcnstendyn =='N' ? '#CCFFCC' : '');" text="bind:visitor" expandshow="show" expandimage="URL('D:\KNUProject\application\xpapps\IMAGES\ast\ICON\icon_input.png')"/>
  201. <Cell col="11" displaytype="combo" edittype="combo" style="background:EXPR(rsrvpsnnocnt == '1' &amp;&amp; rsltcnstendyn =='N' ? '#CCFFCC' : '');background2:EXPR(rsrvpsnnocnt == '1' &amp;&amp; rsltcnstendyn =='N' ? '#CCFFCC' : '');" text="bind:rsltcnstdr" enable="false"/>
  202. <Cell col="12" displaytype="text" edittype="text" style="align:center middle;background:EXPR(rsrvpsnnocnt == '1' &amp;&amp; rsltcnstendyn =='N' ? '#CCFFCC' : '');background2:EXPR(rsrvpsnnocnt == '1' &amp;&amp; rsltcnstendyn =='N' ? '#CCFFCC' : '');" text="bind:visittm" mask="##:##" maskchar=" "/>
  203. <Cell col="13" displaytype="text" edittype="text" style="align:center middle;background:EXPR(rsrvpsnnocnt == '1' &amp;&amp; rsltcnstendyn =='N' ? '#CCFFCC' : '');background2:EXPR(rsrvpsnnocnt == '1' &amp;&amp; rsltcnstendyn =='N' ? '#CCFFCC' : '');" text="bind:rsltcnststarttm" mask="##:##" maskchar=" "/>
  204. <Cell col="14" displaytype="text" edittype="text" style="align:center middle;background:EXPR(rsrvpsnnocnt == '1' &amp;&amp; rsltcnstendyn =='N' ? '#CCFFCC' : '');background2:EXPR(rsrvpsnnocnt == '1' &amp;&amp; rsltcnstendyn =='N' ? '#CCFFCC' : '');" text="bind:rsltcnstendtm" mask="##:##" maskchar=" "/>
  205. <Cell col="15" displaytype="checkbox" edittype="checkbox" style="background:EXPR(rsrvpsnnocnt == '1' &amp;&amp; rsltcnstendyn =='N' ? '#CCFFCC' : '');background2:EXPR(rsrvpsnnocnt == '1' &amp;&amp; rsltcnstendyn =='N' ? '#CCFFCC' : '');" text="bind:rsltcnstendyn" expr="expr:rsltcnstendyn == 'Y' ? 1 : 0"/>
  206. <Cell col="16" style="align:left top;padding:0 0 0 2;background:EXPR(rsrvpsnnocnt == '1' &amp;&amp; rsltcnstendyn =='N' ? '#CCFFCC' : '');background2:EXPR(rsrvpsnnocnt == '1' &amp;&amp; rsltcnstendyn =='N' ? '#CCFFCC' : '');" text="bind:remcnts" wordwrap="word"/>
  207. <Cell col="17" displaytype="text" edittype="text" style="background:EXPR(rsrvpsnnocnt == '1' &amp;&amp; rsltcnstendyn =='N' ? '#CCFFCC' : '');background2:EXPR(rsrvpsnnocnt == '1' &amp;&amp; rsltcnstendyn =='N' ? '#CCFFCC' : '');" text="bind:rsltcnstremcnts"/>
  208. <Cell col="18" displaytype="text" edittype="text" style="background:EXPR(rsrvpsnnocnt == '1' &amp;&amp; rsltcnstendyn =='N' ? '#CCFFCC' : '');background2:EXPR(rsrvpsnnocnt == '1' &amp;&amp; rsltcnstendyn =='N' ? '#CCFFCC' : '');" text="bind:spcffact"/>
  209. <Cell col="19" style="align:left top;padding:0 0 0 2;background:EXPR(rsrvpsnnocnt == '1' &amp;&amp; rsltcnstendyn =='N' ? '#CCFFCC' : '');background2:EXPR(rsrvpsnnocnt == '1' &amp;&amp; rsltcnstendyn =='N' ? '#CCFFCC' : '');" text="bind:pkgnm" wordwrap="word"/>
  210. <Cell col="20" text="bind:healexamflag"/>
  211. <Cell col="21" text="bind:healexamdetlflag"/>
  212. <Cell col="22" text="bind:rsrvdd"/>
  213. <Cell col="23" text="bind:rsrvno"/>
  214. <Cell col="24" text="bind:rsltcnstrsrvstarttm"/>
  215. <Cell col="25" text="bind:rsltcnstrsrvendtm"/>
  216. <Cell col="26" text="bind:rsltcnsthistcd"/>
  217. <Cell col="27" text="bind:visitdd"/>
  218. <Cell col="28" text="bind:chnghistseqno"/>
  219. <Cell col="29" text="bind:rsltcnstseqno"/>
  220. <Cell col="30" text="bind:rsltcnstdd"/>
  221. </Band>
  222. </Format>
  223. </Formats>
  224. </Grid>
  225. <Static id="caption2" text="결과상담예약 상세내역" class="tit_2" position="absolute 0 7 176 29"/>
  226. <Shape id="line2" class="line_10" position="absolute 0 23 790 29" anchor="left top right"/>
  227. <Button id="btn_totrsrvdt" taborder="2" text="엑셀출력" class="btn7" position="absolute 710 1 790 23" anchor="top right" onclick="switch1_case_rsltrsrvdetl_btn_totrsrvdt_onclick"/>
  228. <Button id="btn_refresh" taborder="3" text="새로고침" class="btn2" position="absolute 645 1 709 23" anchor="top right" onclick="switch1_case_rsltrsrvdetl_btn_refresh_onclick"/>
  229. </Layout>
  230. </Layouts>
  231. </Tabpage>
  232. <Tabpage id="case_hist" text="이력 및 조회">
  233. <Layouts>
  234. <Layout>
  235. <Static id="caption3" text="결과상담 내역" class="tit_2" position="absolute 0 48 144 70"/>
  236. <Shape id="line3" linetype="horizontal" class="line_10" position="absolute 0 64 790 70" anchor="left top right"/>
  237. <Static id="caption4" text="결과상담예약 변경내역" class="tit_2" position="absolute 1 361 169 382" anchor="left bottom"/>
  238. <Shape id="line4" linetype="horizontal" class="line_10" position="absolute 1 377 790 383" anchor="left right bottom"/>
  239. <Grid id="grd_chngcnstlst" taborder="1" binddataset="ds_main_rsltcnstchnglst_item" useinputpanel="false" position="absolute 1 382 790 708" autoenter="select" cellsizingtype="col" anchor="left right bottom">
  240. <Formats>
  241. <Format id="default">
  242. <Columns>
  243. <Column size="25"/>
  244. <Column size="100"/>
  245. <Column size="120"/>
  246. <Column size="100"/>
  247. <Column size="100"/>
  248. <Column size="150"/>
  249. <Column size="40"/>
  250. </Columns>
  251. <Rows>
  252. <Row size="24" band="head"/>
  253. <Row size="24"/>
  254. </Rows>
  255. <Band id="head">
  256. <Cell/>
  257. <Cell col="1" text="예약일자"/>
  258. <Cell col="2" text="예약시간"/>
  259. <Cell col="3" text="상담의"/>
  260. <Cell col="4" text="변경자"/>
  261. <Cell col="5" text="변경일자"/>
  262. <Cell col="6"/>
  263. </Band>
  264. <Band id="body">
  265. <Cell celltype="head" expr="currow+1"/>
  266. <Cell col="1" displaytype="date" text="bind:rsltcnstdd" calendardisplaynulltype="nulltext"/>
  267. <Cell col="2" text="bind:rsltcnsttm"/>
  268. <Cell col="3" displaytype="combo" edittype="combo" text="bind:rsltcnstdr" combodataset="ds_init_cnst_drlst_itemdr" combocodecol="drid" combodatacol="drnm"/>
  269. <Cell col="4" text="bind:chngernm"/>
  270. <Cell col="5" displaytype="date" text="bind:chngtm" mask="yyyy-MM-dd hh:mm:ss" maskchar=" " calendardisplaynulltype="nulltext"/>
  271. <Cell col="6"/>
  272. </Band>
  273. </Format>
  274. </Formats>
  275. </Grid>
  276. <Div id="group6" taborder="2" position="absolute 0 0 790 40" class="div_SA2" anchor="left top right">
  277. <Layouts>
  278. <Layout>
  279. <Button id="btn_search" taborder="3" text="조회" class="btn1" position="absolute 720 9 776 31" anchor="top right" onclick="switch1_case_hist_group6_btn_search_onclick"/>
  280. <Shape id="line18" linetype="vertical" class="line_4" position="absolute 707 9 713 31" anchor="top right"/>
  281. <Edit id="input19" taborder="4" class="input_search" position="absolute 97 10 180 29" autoselect="true" autoskip="true" onkeyup="switch1_case_hist_group6_input19_onkeyup" anchor="default"/>
  282. <Static id="caption22" text="등록번호 :" class="search_name" position="absolute 8 10 94 27" anchor="default"/>
  283. <Edit id="output2" taborder="5" readonly="true" class="output" position="absolute 203 10 260 29" anchor="default"/>
  284. <Edit id="output1" taborder="6" readonly="true" class="output" position="absolute 263 10 297 29" anchor="default"/>
  285. <Edit id="output3" taborder="7" readonly="true" class="output" position="absolute 300 10 394 29" anchor="default"/>
  286. <Button id="btn_srchpat" taborder="8" class="icon_search" position="absolute 184 12 200 28" onclick="switch1_case_hist_group6_btn_srchpat_onclick" anchor="default"/>
  287. </Layout>
  288. </Layouts>
  289. </Div>
  290. <Grid id="grd_cnsthistlst" taborder="3" binddataset="ds_main_rsltrsrvhistlst_item" useinputpanel="false" position="absolute 0 69 790 353" autoenter="select" cellsizingtype="col" anchor="all" oncelldblclick="switch1_case_hist_grd_cnsthistlst_oncelldblclick">
  291. <Formats>
  292. <Format id="default">
  293. <Columns>
  294. <Column size="0" band="left"/>
  295. <Column size="80" band="left"/>
  296. <Column size="100" band="left"/>
  297. <Column size="60" band="left"/>
  298. <Column size="60" band="left"/>
  299. <Column size="70"/>
  300. <Column size="90"/>
  301. <Column size="50"/>
  302. <Column size="100"/>
  303. <Column size="60"/>
  304. <Column size="100"/>
  305. <Column size="100"/>
  306. <Column size="80"/>
  307. <Column size="80"/>
  308. <Column size="80"/>
  309. <Column size="58"/>
  310. <Column size="119"/>
  311. <Column size="150"/>
  312. <Column size="150"/>
  313. <Column size="100"/>
  314. <Column size="0"/>
  315. <Column size="0"/>
  316. <Column size="0"/>
  317. <Column size="0"/>
  318. <Column size="0"/>
  319. <Column size="0"/>
  320. <Column size="0"/>
  321. <Column size="0"/>
  322. <Column size="0"/>
  323. <Column size="0"/>
  324. </Columns>
  325. <Rows>
  326. <Row size="24" band="head"/>
  327. <Row size="24"/>
  328. </Rows>
  329. <Band id="head">
  330. <Cell text="선택"/>
  331. <Cell col="1" text="예약일자"/>
  332. <Cell col="2" text="예약시간"/>
  333. <Cell col="3" text="등록번호"/>
  334. <Cell col="4" text="성명"/>
  335. <Cell col="5" text="건진일자"/>
  336. <Cell col="6" text="전화번호"/>
  337. <Cell col="7" text="외래여부"/>
  338. <Cell col="8" text="예약내역"/>
  339. <Cell col="9" text="본인여부"/>
  340. <Cell col="10" text="내원자"/>
  341. <Cell col="11" text="상담의"/>
  342. <Cell col="12" text="방문시간"/>
  343. <Cell col="13" text="상담시작시간"/>
  344. <Cell col="14" text="상담종료시간"/>
  345. <Cell col="15" text="상담완료"/>
  346. <Cell col="16" text="예약접수 전달사항"/>
  347. <Cell col="17" text="비고"/>
  348. <Cell col="18" text="특이사항"/>
  349. <Cell col="19" text="패키지종류"/>
  350. <Cell col="20" text="건진구분"/>
  351. <Cell col="21" text="건진상세구분"/>
  352. <Cell col="22" text="예약일자"/>
  353. <Cell col="23" text="예약번호"/>
  354. <Cell col="24" text="에약시삭시간"/>
  355. <Cell col="25" text="예약끝시간"/>
  356. <Cell col="26" text="예약이력코드"/>
  357. <Cell col="27" text="방문일자"/>
  358. <Cell col="28" text="결과상담일련번호"/>
  359. <Cell col="29" text="예약변경이력번호"/>
  360. </Band>
  361. <Band id="body">
  362. <Cell displaytype="checkbox" edittype="checkbox" text="bind:chkyn" expr="expr:chkyn == 'Y' ? 1 : 0"/>
  363. <Cell col="1" displaytype="date" text="bind:rsltcnstdd" calendardisplaynulltype="nulltext"/>
  364. <Cell col="2" text="bind:rsltcnsttm"/>
  365. <Cell col="3" text="bind:pid"/>
  366. <Cell col="4" text="bind:hngnm"/>
  367. <Cell col="5" displaytype="date" text="bind:hopedd" calendardisplaynulltype="nulltext"/>
  368. <Cell col="6" text="bind:mtel"/>
  369. <Cell col="7" displaytype="checkbox" style="controlbackground:darkgray;controlborder:1 solid #808080ff ;" text="bind:outexamyn" expr="expr:outexamyn == 'Y' ? 1 : 0" enable="true"/>
  370. <Cell col="8" displaytype="combo" edittype="combo" text="bind:rsltcnstflag" combodataset="ds_init_baseinfo_rsltcnstflaglst_S080" combocodecol="cdid" combodatacol="cdnm"/>
  371. <Cell col="9" displaytype="checkbox" edittype="checkbox" text="bind:ownyn" expr="expr:ownyn == 'Y' ? 1 : 0"/>
  372. <Cell col="10" displaytype="text" edittype="text" class="gridinput" text="bind:visitor"/>
  373. <Cell col="11" displaytype="combo" style="align:center middle;" text="bind:rsltcnstdr" combodataset="ds_init_cnst_drlst_itemdr" combocodecol="drid" combodatacol="drnm" enable="false"/>
  374. <Cell col="12" displaytype="text" edittype="text" style="align:center middle;" text="bind:visittm" mask="##:##" maskchar=" " expandshow="show"/>
  375. <Cell col="13" displaytype="text" edittype="text" style="align:center middle;" text="bind:rsltcnststarttm" mask="##:##" maskchar=" " expandshow="show"/>
  376. <Cell col="14" displaytype="text" edittype="text" style="align:center middle;" text="bind:rsltcnstendtm" mask="##:##" maskchar=" " expandshow="show"/>
  377. <Cell col="15" displaytype="checkbox" edittype="checkbox" text="bind:rsltcnstendyn" expr="expr:rsltcnstendyn == 'Y' ? 1 : 0"/>
  378. <Cell col="16" style="align:left top;" text="bind:remcnts" wordwrap="char"/>
  379. <Cell col="17" displaytype="text" edittype="text" text="bind:rsltcnstremcnts"/>
  380. <Cell col="18" displaytype="text" edittype="text" text="bind:spcffact"/>
  381. <Cell col="19" text="bind:pkgnm"/>
  382. <Cell col="20" text="bind:healexamflag"/>
  383. <Cell col="21" text="bind:healexamdetlflag"/>
  384. <Cell col="22" text="bind:rsrvdd"/>
  385. <Cell col="23" text="bind:rsrvno"/>
  386. <Cell col="24" text="bind:rsltcnstrsrvstarttm"/>
  387. <Cell col="25" text="bind:rsltcnstrsrvendtm"/>
  388. <Cell col="26" text="bind:rsltcnsthistcd"/>
  389. <Cell col="27" text="bind:visitdd"/>
  390. <Cell col="28" text="bind:rsltcnstseqno"/>
  391. <Cell col="29" text="bind:chnghistseqno"/>
  392. </Band>
  393. </Format>
  394. </Formats>
  395. </Grid>
  396. </Layout>
  397. </Layouts>
  398. </Tabpage>
  399. </Tabpages>
  400. </Tab>
  401. <Button id="button1" taborder="6" class="icon_pre_month" position="absolute 1157 37 1173 53" anchor="top right" onclick="button1_onclick"/>
  402. <Button id="button2" taborder="7" class="icon_next_month" position="absolute 1172 37 1188 53" anchor="top right" onclick="button2_onclick"/>
  403. <Radio id="radio1" taborder="8" columncount="3" rowcount="0" codecolumn="codecolumn" datacolumn="datacolumn" position="absolute 265 37 400 57" anchor="left top" onitemchanged="radio1_onitemchanged">
  404. <Dataset id="innerdataset">
  405. <ColumnInfo>
  406. <Column id="codecolumn"/>
  407. <Column id="datacolumn"/>
  408. </ColumnInfo>
  409. <Rows>
  410. <Row>
  411. <Col id="codecolumn">C</Col>
  412. <Col id="datacolumn">종합건진</Col>
  413. </Row>
  414. <Row>
  415. <Col id="codecolumn">G</Col>
  416. <Col id="datacolumn">통합건진</Col>
  417. </Row>
  418. </Rows>
  419. </Dataset>
  420. </Radio>
  421. <Button id="btn_rsrv" taborder="9" text="상담지" class="btn4" position="absolute 925 777 993 799" anchor="right bottom" onclick="btn_rsrv_onclick" visible="false"/>
  422. <CheckBox id="chk_lookaheadyn" taborder="10" text="미리보기" truevalue="Y" position="absolute 995 778 1065 798" anchor="right bottom" onclick="chk_lookaheadyn_onclick"/>
  423. <Button id="btn_prntlist" taborder="11" text="출력" class="btn4" position="absolute 1065 777 1121 799" anchor="right bottom" onclick="btn_prntlist_onclick"/>
  424. <Button id="btn_save" taborder="12" text="저장" class="btn4" position="absolute 1123 777 1179 799" anchor="right bottom" onclick="btn_save_onclick"/>
  425. <PopupMenu id="pmn_menu1" position="absolute 1220 70 1320 132" innerdataset="@ds_codedata_popupmenu_menu_item" idcolumn="func" captioncolumn="label" levelcolumn="level" onmenuclick="pmn_menu1_onmenuclick" onlbuttonup="pmn_menu1_onlbuttonup"/>
  426. </Layout>
  427. </Layouts>
  428. <Objects>
  429. <Dataset id="ds_init_cnst_drlst_itemdr" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  430. <ColumnInfo>
  431. <Column id="sel" type="STRING" size="256" sumtext="선택"/>
  432. <Column id="drid" type="STRING" size="256" sumtext="의사ID"/>
  433. <Column id="drnm" type="STRING" size="256" sumtext="의사명"/>
  434. <Column id="drlicnsno" type="STRING" size="256" sumtext="의사면허번호"/>
  435. </ColumnInfo>
  436. </Dataset>
  437. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  438. <ColumnInfo>
  439. <Column id="srchhealexamflag" type="STRING" size="256"/>
  440. <Column id="srchhealexamdetlflag" type="STRING" size="256"/>
  441. <Column id="srchhealexamplacecd" type="STRING" size="256"/>
  442. <Column id="srchcond" type="STRING" size="256"/>
  443. <Column id="srchpid" type="STRING" size="256"/>
  444. <Column id="srchcnstdrid" type="STRING" size="256"/>
  445. <Column id="srchrsrvdd" type="STRING" size="256"/>
  446. <Column id="srchrsrvmon" type="STRING" size="256"/>
  447. <Column id="savecnst" type="STRING" size="256"/>
  448. </ColumnInfo>
  449. <Rows>
  450. <Row>
  451. <Col id="srchhealexamflag"/>
  452. <Col id="srchhealexamdetlflag"/>
  453. <Col id="srchhealexamplacecd"/>
  454. <Col id="srchcond"/>
  455. <Col id="srchpid"/>
  456. <Col id="srchcnstdrid"/>
  457. <Col id="srchrsrvdd"/>
  458. <Col id="srchrsrvmon"/>
  459. <Col id="savecnst"/>
  460. </Row>
  461. </Rows>
  462. </Dataset>
  463. <Dataset id="ds_temp_calendar_weeklist_list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  464. <ColumnInfo>
  465. <Column id="sun" type="STRING" size="256"/>
  466. <Column id="mon" type="STRING" size="256"/>
  467. <Column id="tue" type="STRING" size="256"/>
  468. <Column id="wed" type="STRING" size="256"/>
  469. <Column id="thu" type="STRING" size="256"/>
  470. <Column id="fri" type="STRING" size="256"/>
  471. <Column id="sat" type="STRING" size="256"/>
  472. <Column id="sun_memo" type="STRING" size="256"/>
  473. <Column id="mon_memo" type="STRING" size="256"/>
  474. <Column id="tue_memo" type="STRING" size="256"/>
  475. <Column id="wed_memo" type="STRING" size="256"/>
  476. <Column id="thu_memo" type="STRING" size="256"/>
  477. <Column id="fri_memo" type="STRING" size="256"/>
  478. <Column id="sat_memo" type="STRING" size="256"/>
  479. </ColumnInfo>
  480. </Dataset>
  481. <Dataset id="ds_temp_calendar" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  482. <ColumnInfo>
  483. <Column id="year" type="STRING" size="256"/>
  484. <Column id="month" type="STRING" size="256"/>
  485. </ColumnInfo>
  486. <Rows>
  487. <Row>
  488. <Col id="year"/>
  489. <Col id="month"/>
  490. </Row>
  491. </Rows>
  492. </Dataset>
  493. <Dataset id="ds_main_rsrvacptlst_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_main_rsrvacptlst_item_oncolumnchanged">
  494. <ColumnInfo>
  495. <Column id="rsrvpsnnocnt" type="STRING" size="256" sumtext="예약등록인원"/>
  496. <Column id="rsrvtm" type="STRING" size="256" sumtext="예약시간"/>
  497. <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
  498. <Column id="hngnm" type="STRING" size="256" sumtext="한글명"/>
  499. <Column id="hopedd" type="STRING" size="256" sumtext="접수일자"/>
  500. <Column id="healexamflag" type="STRING" size="256" sumtext="건진구분"/>
  501. <Column id="rsrvdd" type="STRING" size="256" sumtext="예약일자"/>
  502. <Column id="rsrvno" type="INT" size="256" sumtext="예약번호"/>
  503. <Column id="healexamdetlflag" type="STRING" size="256" sumtext="건진상세구분"/>
  504. <Column id="rsltcnstseqno" type="INT" size="256" sumtext="결과상담일련번호"/>
  505. <Column id="outexamyn" type="STRING" size="256" sumtext="외래진료여부"/>
  506. <Column id="rsltcnstflag" type="STRING" size="256" sumtext="결과상담구분"/>
  507. <Column id="rsltcnstdd" type="STRING" size="256" sumtext="결과상담일자"/>
  508. <Column id="rsltcnstrsrvstarttm" type="STRING" size="256" sumtext="결과상담예약시작시간"/>
  509. <Column id="rsltcnstrsrvendtm" type="STRING" size="256" sumtext="결과상담예약끝시간"/>
  510. <Column id="ownyn" type="STRING" size="256" sumtext="본인여부"/>
  511. <Column id="visitor" type="STRING" size="256" sumtext="내원자"/>
  512. <Column id="rsltcnstdr" type="STRING" size="256" sumtext="결과상담의사"/>
  513. <Column id="visitdd" type="STRING" size="256" sumtext="방문일자"/>
  514. <Column id="visittm" type="STRING" size="256" sumtext="방문시간"/>
  515. <Column id="pkgnm" type="STRING" size="256" sumtext="패키지명"/>
  516. <Column id="rsltcnststarttm" type="STRING" size="256" sumtext="결과상담시작시간"/>
  517. <Column id="rsltcnstendtm" type="STRING" size="256" sumtext="결과상담완료시간"/>
  518. <Column id="rsltcnstendyn" type="STRING" size="256" sumtext="결과상담완료여부"/>
  519. <Column id="rsltcnsthistcd" type="STRING" size="256" sumtext="결과상담이력코드"/>
  520. <Column id="rsltcnstremcnts" type="STRING" size="256" sumtext="결과상담비고"/>
  521. <Column id="spcffact" type="STRING" size="256" sumtext="특이사항"/>
  522. <Column id="chnghistseqno" type="INT" size="256" sumtext="변경이력일련번호"/>
  523. <Column id="remcnts" type="STRING" size="256" sumtext="예약접수 전달사항"/>
  524. <!-- 2010.01.14 mykim 모바일 전화번호 추가 -->
  525. <Column id="mtel" type="STRING" size="256" sumtext="모바일 전화번호"/>
  526. </ColumnInfo>
  527. </Dataset>
  528. <Dataset id="ds_main_patinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  529. <ColumnInfo>
  530. <Column id="pid" type="STRING" size="256"/>
  531. </ColumnInfo>
  532. <Rows>
  533. <Row/>
  534. </Rows>
  535. </Dataset>
  536. <Dataset id="ds_send_hist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  537. <ColumnInfo>
  538. <Column id="healexamflag" type="STRING" size="256"/>
  539. <Column id="healexamdetlflag" type="STRING" size="256"/>
  540. <Column id="rsrvdd" type="STRING" size="256"/>
  541. <Column id="rsrvno" type="STRING" size="256"/>
  542. <Column id="pid" type="STRING" size="256"/>
  543. <Column id="age" type="STRING" size="256"/>
  544. <Column id="hngnm" type="STRING" size="256"/>
  545. <Column id="mtel" type="STRING" size="256"/>
  546. </ColumnInfo>
  547. <Rows>
  548. <Row>
  549. <Col id="healexamflag"/>
  550. <Col id="healexamdetlflag"/>
  551. <Col id="rsrvdd"/>
  552. <Col id="rsrvno"/>
  553. <Col id="pid"/>
  554. <Col id="age"/>
  555. <Col id="hngnm"/>
  556. <Col id="mtel"/>
  557. </Row>
  558. </Rows>
  559. </Dataset>
  560. <Dataset id="ds_main_rsltrsrvhistlst_item" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_main_rsltrsrvhistlst_item_oncolumnchanged">
  561. <ColumnInfo>
  562. <Column id="chkyn" type="STRING" size="256" sumtext=""/>
  563. <Column id="rsltcnsttm" type="STRING" size="256" sumtext="결과상담예약시간"/>
  564. <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
  565. <Column id="hngnm" type="STRING" size="256" sumtext="한글명"/>
  566. <Column id="hopedd" type="STRING" size="256" sumtext="접수일자"/>
  567. <Column id="healexamflag" type="STRING" size="256" sumtext="건진구분"/>
  568. <Column id="rsrvdd" type="STRING" size="256" sumtext="예약일자"/>
  569. <Column id="rsrvno" type="INT" size="256" sumtext="예약번호"/>
  570. <Column id="healexamdetlflag" type="STRING" size="256" sumtext="건진상세구분"/>
  571. <Column id="rsltcnstseqno" type="INT" size="256" sumtext="결과상담일련번호"/>
  572. <Column id="outexamyn" type="STRING" size="256" sumtext="외래진료여부"/>
  573. <Column id="rsltcnstflag" type="STRING" size="256" sumtext="결과상담구분"/>
  574. <Column id="rsltcnstdd" type="STRING" size="256" sumtext="결과상담일자"/>
  575. <Column id="rsltcnstrsrvstarttm" type="STRING" size="256" sumtext="결과상담예약시작시간"/>
  576. <Column id="rsltcnstrsrvendtm" type="STRING" size="256" sumtext="결과상담예약끝시간"/>
  577. <Column id="ownyn" type="STRING" size="256" sumtext="본인여부"/>
  578. <Column id="visitor" type="STRING" size="256" sumtext="내원자"/>
  579. <Column id="rsltcnstdr" type="STRING" size="256" sumtext="결과상담의사"/>
  580. <Column id="visitdd" type="STRING" size="256" sumtext="방문일자"/>
  581. <Column id="visittm" type="STRING" size="256" sumtext="방문시간"/>
  582. <Column id="pkgnm" type="STRING" size="256" sumtext="패키지명"/>
  583. <Column id="rsltcnststarttm" type="STRING" size="256" sumtext="결과상담시작시간"/>
  584. <Column id="rsltcnstendtm" type="STRING" size="256" sumtext="결과상담완료시간"/>
  585. <Column id="rsltcnstendyn" type="STRING" size="256" sumtext="결과상담완료여부"/>
  586. <Column id="rsltcnsthistcd" type="STRING" size="256" sumtext="결과상담이력코드"/>
  587. <Column id="rsltcnstremcnts" type="STRING" size="256" sumtext="결과상담비고"/>
  588. <Column id="spcffact" type="STRING" size="256" sumtext="특이사항"/>
  589. <Column id="chnghistseqno" type="INT" size="256" sumtext="변경이력일련번호"/>
  590. <Column id="remcnts" type="STRING" size="256" sumtext="예약접수 전달사항"/>
  591. <Column id="mtel" type="STRING" size="256" sumtext="모바일 전화번호"/>
  592. </ColumnInfo>
  593. </Dataset>
  594. <Dataset id="ds_init_baseinfo_rsltcnstflaglst_S080" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  595. <Dataset id="ds_main_rsltcnstchnglst_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  596. <ColumnInfo>
  597. <Column id="rsltcnstdd" type="STRING" size="256" sumtext="결과상담예약시간"/>
  598. <Column id="rsltcnsttm" type="STRING" size="256" sumtext="등록번호"/>
  599. <Column id="rsltcnstdr" type="STRING" size="256" sumtext="한글명"/>
  600. <Column id="chngernm" type="STRING" size="256" sumtext="접수일자"/>
  601. <Column id="chngtm" type="STRING" size="256" sumtext="건진구분"/>
  602. </ColumnInfo>
  603. </Dataset>
  604. <Dataset id="ds_temp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  605. <ColumnInfo>
  606. <Column id="lookaheadyn" type="STRING" size="256"/>
  607. <Column id="flag" type="STRING" size="256"/>
  608. </ColumnInfo>
  609. <Rows>
  610. <Row/>
  611. </Rows>
  612. </Dataset>
  613. <Dataset id="ds_main_rsltcnstchng" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  614. <Dataset id="ds_temp_templst_rsrvddlst" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  615. <ColumnInfo>
  616. <Column id="rsrvdd" type="STRING" size="256" sumtext="예약일자"/>
  617. <Column id="psnnocnt" type="STRING" size="256" sumtext="예약가능인원/예약인원"/>
  618. <Column id="psnnowomcnt" type="STRING" size="256" sumtext="예약가능인원/예약인원"/>
  619. <Column id="rsrvpossyn" type="STRING" size="256" sumtext="예약인원초과여부"/>
  620. </ColumnInfo>
  621. </Dataset>
  622. <Dataset id="ds_codedata_popupmenu_menu_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  623. <ColumnInfo>
  624. <Column id="label" type="STRING" size="256"/>
  625. <Column id="func" type="STRING" size="256"/>
  626. <Column id="level" type="STRING" size="256"/>
  627. </ColumnInfo>
  628. <Rows>
  629. <Row>
  630. <Col id="label">종합판정</Col>
  631. <Col id="func">fSetColJudg</Col>
  632. </Row>
  633. <Row>
  634. <Col id="label">상담시간변경</Col>
  635. <Col id="func">fSetChngRsltCnst</Col>
  636. </Row>
  637. <Row>
  638. <Col id="label">상담취소</Col>
  639. <Col id="func">fSetRsltCnstCncl</Col>
  640. </Row>
  641. </Rows>
  642. </Dataset>
  643. <Dataset id="ds_send_chng" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  644. <ColumnInfo>
  645. <Column id="healexamflag" type="STRING" size="256"/>
  646. <Column id="healexamdetlflag" type="STRING" size="256"/>
  647. <Column id="pid" type="STRING" size="256"/>
  648. <Column id="rsrvdd" type="STRING" size="256"/>
  649. <Column id="rsrvno" type="STRING" size="256"/>
  650. <Column id="chnghistseqno" type="STRING" size="256"/>
  651. </ColumnInfo>
  652. <Rows>
  653. <Row>
  654. <Col id="healexamflag"/>
  655. <Col id="healexamdetlflag"/>
  656. <Col id="pid"/>
  657. <Col id="rsrvdd"/>
  658. <Col id="rsrvno"/>
  659. <Col id="chnghistseqno"/>
  660. </Row>
  661. </Rows>
  662. </Dataset>
  663. <Dataset id="ds_send_chngsave" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  664. <ColumnInfo>
  665. <Column id="rsrvpsnnocnt" type="STRING" size="256" sumtext="예약등록인원"/>
  666. <Column id="rsrvtm" type="STRING" size="256" sumtext="예약시간"/>
  667. <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
  668. <Column id="hngnm" type="STRING" size="256" sumtext="한글명"/>
  669. <Column id="hopedd" type="STRING" size="256" sumtext="접수일자"/>
  670. <Column id="healexamflag" type="STRING" size="256" sumtext="건진구분"/>
  671. <Column id="rsrvdd" type="STRING" size="256" sumtext="예약일자"/>
  672. <Column id="rsrvno" type="INT" size="256" sumtext="예약번호"/>
  673. <Column id="healexamdetlflag" type="STRING" size="256" sumtext="건진상세구분"/>
  674. <Column id="rsltcnstseqno" type="INT" size="256" sumtext="결과상담일련번호"/>
  675. <Column id="outexamyn" type="STRING" size="256" sumtext="외래진료여부"/>
  676. <Column id="rsltcnstflag" type="STRING" size="256" sumtext="결과상담구분"/>
  677. <Column id="rsltcnstdd" type="STRING" size="256" sumtext="결과상담일자"/>
  678. <Column id="rsltcnstrsrvstarttm" type="STRING" size="256" sumtext="결과상담예약시작시간"/>
  679. <Column id="rsltcnstrsrvendtm" type="STRING" size="256" sumtext="결과상담예약끝시간"/>
  680. <Column id="ownyn" type="STRING" size="256" sumtext="본인여부"/>
  681. <Column id="visitor" type="STRING" size="256" sumtext="내원자"/>
  682. <Column id="rsltcnstdr" type="STRING" size="256" sumtext="결과상담의사"/>
  683. <Column id="visitdd" type="STRING" size="256" sumtext="방문일자"/>
  684. <Column id="visittm" type="STRING" size="256" sumtext="방문시간"/>
  685. <Column id="pkgnm" type="STRING" size="256" sumtext="패키지명"/>
  686. <Column id="rsltcnststarttm" type="STRING" size="256" sumtext="결과상담시작시간"/>
  687. <Column id="rsltcnstendtm" type="STRING" size="256" sumtext="결과상담완료시간"/>
  688. <Column id="rsltcnstendyn" type="STRING" size="256" sumtext="결과상담완료여부"/>
  689. <Column id="rsltcnsthistcd" type="STRING" size="256" sumtext="결과상담이력코드"/>
  690. <Column id="rsltcnstremcnts" type="STRING" size="256" sumtext="결과상담비고"/>
  691. <Column id="spcffact" type="STRING" size="256" sumtext="특이사항"/>
  692. <Column id="chnghistseqno" type="INT" size="256" sumtext="변경이력일련번호"/>
  693. <Column id="remcnts" type="STRING" size="256" sumtext="예약접수 전달사항"/>
  694. <!-- 2010.01.14 mykim 모바일 전화번호 추가 -->
  695. <Column id="mtel" type="STRING" size="256" sumtext="모바일 전화번호"/>
  696. </ColumnInfo>
  697. </Dataset>
  698. <Dataset id="ds_main_rsltcnstchnglst_after" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  699. <Dataset id="ds_main_rsltcnstchng_before" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  700. <Dataset id="ds_hidden" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  701. <ColumnInfo>
  702. <Column id="okflag" type="STRING" size="256"/>
  703. </ColumnInfo>
  704. <Rows>
  705. <Row/>
  706. </Rows>
  707. </Dataset>
  708. <Dataset id="ds_tmp_printinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  709. <ColumnInfo>
  710. <Column id="chkyn" type="STRING" size="256" sumtext=""/>
  711. <Column id="rsltcnsttm" type="STRING" size="256" sumtext="결과상담예약시간"/>
  712. <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
  713. <Column id="hngnm" type="STRING" size="256" sumtext="한글명"/>
  714. <Column id="hopedd" type="STRING" size="256" sumtext="접수일자"/>
  715. <Column id="healexamflag" type="STRING" size="256" sumtext="건진구분"/>
  716. <Column id="rsrvdd" type="STRING" size="256" sumtext="예약일자"/>
  717. <Column id="rsrvno" type="INT" size="256" sumtext="예약번호"/>
  718. <Column id="healexamdetlflag" type="STRING" size="256" sumtext="건진상세구분"/>
  719. <Column id="rsltcnstseqno" type="INT" size="256" sumtext="결과상담일련번호"/>
  720. <Column id="outexamyn" type="STRING" size="256" sumtext="외래진료여부"/>
  721. <Column id="rsltcnstflag" type="STRING" size="256" sumtext="결과상담구분"/>
  722. <Column id="rsltcnstdd" type="STRING" size="256" sumtext="결과상담일자"/>
  723. <Column id="rsltcnstrsrvstarttm" type="STRING" size="256" sumtext="결과상담예약시작시간"/>
  724. <Column id="rsltcnstrsrvendtm" type="STRING" size="256" sumtext="결과상담예약끝시간"/>
  725. <Column id="ownyn" type="STRING" size="256" sumtext="본인여부"/>
  726. <Column id="visitor" type="STRING" size="256" sumtext="내원자"/>
  727. <Column id="rsltcnstdr" type="STRING" size="256" sumtext="결과상담의사"/>
  728. <Column id="visitdd" type="STRING" size="256" sumtext="방문일자"/>
  729. <Column id="visittm" type="STRING" size="256" sumtext="방문시간"/>
  730. <Column id="pkgnm" type="STRING" size="256" sumtext="패키지명"/>
  731. <Column id="rsltcnststarttm" type="STRING" size="256" sumtext="결과상담시작시간"/>
  732. <Column id="rsltcnstendtm" type="STRING" size="256" sumtext="결과상담완료시간"/>
  733. <Column id="rsltcnstendyn" type="STRING" size="256" sumtext="결과상담완료여부"/>
  734. <Column id="rsltcnsthistcd" type="STRING" size="256" sumtext="결과상담이력코드"/>
  735. <Column id="rsltcnstremcnts" type="STRING" size="256" sumtext="결과상담비고"/>
  736. <Column id="spcffact" type="STRING" size="256" sumtext="특이사항"/>
  737. <Column id="chnghistseqno" type="INT" size="256" sumtext="변경이력일련번호"/>
  738. <Column id="remcnts" type="STRING" size="256" sumtext="예약접수 전달사항"/>
  739. <Column id="mtel" type="STRING" size="256" sumtext="모바일 전화번호"/>
  740. </ColumnInfo>
  741. </Dataset>
  742. <Dataset id="ds_main_prntpatlist_list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  743. <ColumnInfo>
  744. <Column id="rsrvpsnnocnt" type="STRING" size="256" sumtext="예약등록인원"/>
  745. <Column id="rsrvtm" type="STRING" size="256" sumtext="예약시간"/>
  746. <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
  747. <Column id="hngnm" type="STRING" size="256" sumtext="한글명"/>
  748. <Column id="hopedd" type="STRING" size="256" sumtext="접수일자"/>
  749. <Column id="healexamflag" type="STRING" size="256" sumtext="건진구분"/>
  750. <Column id="rsrvdd" type="STRING" size="256" sumtext="예약일자"/>
  751. <Column id="rsrvno" type="INT" size="256" sumtext="예약번호"/>
  752. <Column id="healexamdetlflag" type="STRING" size="256" sumtext="건진상세구분"/>
  753. <Column id="rsltcnstseqno" type="INT" size="256" sumtext="결과상담일련번호"/>
  754. <Column id="outexamyn" type="STRING" size="256" sumtext="외래진료여부"/>
  755. <Column id="rsltcnstflag" type="STRING" size="256" sumtext="결과상담구분"/>
  756. <Column id="rsltcnstdd" type="STRING" size="256" sumtext="결과상담일자"/>
  757. <Column id="rsltcnstrsrvstarttm" type="STRING" size="256" sumtext="결과상담예약시작시간"/>
  758. <Column id="rsltcnstrsrvendtm" type="STRING" size="256" sumtext="결과상담예약끝시간"/>
  759. <Column id="ownyn" type="STRING" size="256" sumtext="본인여부"/>
  760. <Column id="visitor" type="STRING" size="256" sumtext="내원자"/>
  761. <Column id="rsltcnstdr" type="STRING" size="256" sumtext="결과상담의사"/>
  762. <Column id="visitdd" type="STRING" size="256" sumtext="방문일자"/>
  763. <Column id="visittm" type="STRING" size="256" sumtext="방문시간"/>
  764. <Column id="pkgnm" type="STRING" size="256" sumtext="패키지명"/>
  765. <Column id="rsltcnststarttm" type="STRING" size="256" sumtext="결과상담시작시간"/>
  766. <Column id="rsltcnstendtm" type="STRING" size="256" sumtext="결과상담완료시간"/>
  767. <Column id="rsltcnstendyn" type="STRING" size="256" sumtext="결과상담완료여부"/>
  768. <Column id="rsltcnsthistcd" type="STRING" size="256" sumtext="결과상담이력코드"/>
  769. <Column id="rsltcnstremcnts" type="STRING" size="256" sumtext="결과상담비고"/>
  770. <Column id="spcffact" type="STRING" size="256" sumtext="특이사항"/>
  771. <Column id="chnghistseqno" type="INT" size="256" sumtext="변경이력일련번호"/>
  772. <Column id="remcnts" type="STRING" size="256" sumtext="예약접수 전달사항"/>
  773. <!-- 2010.01.14 mykim 모바일 전화번호 추가 -->
  774. <Column id="mtel" type="STRING" size="256" sumtext="모바일 전화번호"/>
  775. </ColumnInfo>
  776. </Dataset>
  777. <Dataset id="ds_tmp_drinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  778. <Dataset id="ds_send_savecnst" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  779. </Objects>
  780. <Bind>
  781. <BindItem id="item0" compid="radio1" propid="value" datasetid="ds_send" columnid="srchhealexamflag"/>
  782. <BindItem id="item1" compid="grp_calendar.opt_year" propid="value" datasetid="ds_temp_calendar" columnid="year"/>
  783. <BindItem id="item2" compid="grp_calendar.opt_month" propid="value" datasetid="ds_temp_calendar" columnid="month"/>
  784. <BindItem id="item3" compid="switch1.case_hist.group6.input19" propid="value" datasetid="ds_main_patinfo" columnid="pid"/>
  785. <BindItem id="item4" compid="switch1.case_hist.group6.output2" propid="value" datasetid="ds_send_hist" columnid="pid"/>
  786. <BindItem id="item5" compid="switch1.case_hist.group6.output1" propid="value" datasetid="ds_send_hist" columnid="age"/>
  787. <BindItem id="item6" compid="switch1.case_hist.group6.output3" propid="value" datasetid="ds_send_hist" columnid="hngnm"/>
  788. <BindItem id="item7" compid="chk_lookaheadyn" propid="value" datasetid="ds_temp" columnid="lookaheadyn"/>
  789. </Bind>
  790. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  791. * System Name :
  792. * Job Name :
  793. * Creator :
  794. * Make Date : 2015-11-13
  795. * Description :
  796. *---------------------------------------------------------------------------------------
  797. * Modify Date Modifier Modify Description
  798. *---------------------------------------------------------------------------------------
  799. * 2015-11-13 Live Converter TF->XP
  800. *
  801. *---------------------------------------------------------------------------------------
  802. ****************************************************************************************/
  803. include "com_commonxp::comm_main.xjs";
  804. include "ast_healexamxp::AHA001.xjs";
  805. include "ast_healthexambasexp::healcombolist.xjs";
  806. var m_vHealexamflag = "";
  807. var m_vHealexamdetlflag = "";
  808. function SMAHA00900_oninit(obj:Form, e:InitEventInfo)
  809. {
  810. frmf_initForm(obj);
  811. }
  812. function SMAHA00900_onload(obj:Form, e:LoadEventInfo)
  813. {
  814. grdf_initGrid(grd_rsrvdrlst);
  815. grdf_initGrid(switch1.case_rsltrsrvdetl.grd_rsrvacptlst);
  816. grdf_setRowTypeIcon(switch1.case_rsltrsrvdetl.grd_rsrvacptlst, 0);
  817. grdf_initGrid(switch1.case_hist.grd_cnsthistlst);
  818. grdf_initGrid(switch1.case_hist.grd_chngcnstlst);
  819. grdf_setToolTipBind(switch1.case_rsltrsrvdetl.grd_rsrvacptlst);
  820. grdf_setToolTipBind(switch1.case_hist.grd_cnsthistlst);
  821. var instcd = sysf_getUserInfo("dutplceinstcd");
  822. fInitCtrl(); //초기화 작업
  823. if(frmf_checkOpener())
  824. {
  825. ds_main_patinfo.setColumn(0, "pid", opener.frmf_getParameter("SMAHR00900_PARAM3"));
  826. if(!utlf_isNull(ds_main_patinfo.getColumn(0, "pid")))
  827. {
  828. switch1.tabindex = 1;
  829. switch1.case_hist.group6.btn_search.click();
  830. }
  831. }
  832. chk_lookaheadyn.value = "Y";
  833. }
  834. function fInitCtrl()
  835. {
  836. ds_main_rsrvacptlst_item.clearData();
  837. switch1.tabindex = 0;
  838. var sFlag = "";
  839. if(utlf_isNull(m_vHealexamflag))
  840. {
  841. if(frmf_isPopup())
  842. {
  843. sFlag = opener.frmf_getParameter("SMAHR00900_PARAM2");
  844. if(utlf_isNull(sFlag))
  845. {
  846. sFlag = frmf_getMenuParam();
  847. }
  848. }
  849. else
  850. {
  851. sFlag = frmf_getMenuParam();
  852. }
  853. if(utlf_isNull(sFlag))
  854. {
  855. m_vHealexamflag = "C";
  856. m_vHealexamdetlflag = "C01";
  857. }
  858. else
  859. {
  860. m_vHealexamflag = String(sFlag).substr(0, 1);
  861. m_vHealexamdetlflag = sFlag;
  862. }
  863. }
  864. ds_send.setColumn(0, "srchhealexamflag" , m_vHealexamflag);
  865. ds_send.setColumn(0, "srchhealexamdetlflag" , m_vHealexamdetlflag);
  866. var sRsrvDate = utlf_getCurrentDate();
  867. var curDate = null;
  868. if(!utlf_isNull(sRsrvDate))
  869. {
  870. curDate = sRsrvDate.toDate();
  871. }
  872. else
  873. {
  874. curDate = utlf_getCurrentDate().toDate();
  875. }
  876. ds_temp_calendar.setColumn(0, "year", curDate.getDateFormat('YYYY'));
  877. ds_temp_calendar.setColumn(0, "month", curDate.getDateFormat('MM'));
  878. ds_send.setColumn(0, "srchrsrvdd", "C");
  879. dsf_makeValue(ds_main_rsltcnstchng,"chngyn","string", "N");
  880. fGetBaseInfo();
  881. setCalendar(curDate);
  882. }
  883. function fGetBaseInfo()
  884. {
  885. var arrParam = [{dsNm: "ds_init_baseinfo_rsltcnstflaglst_S080", cdGrpId: "S080"}];
  886. healGetCodeList(arrParam);
  887. ds_send.setColumn(0, "srchcond" , "C");
  888. var oParam = {};
  889. oParam.id = "TRAHB01504";
  890. oParam.service = "healexambaseapp.ComCode";
  891. oParam.method = "reqGetHealExamDrList";
  892. oParam.inds = "req=ds_send";
  893. oParam.outds = "ds_init_cnst_drlst_itemdr=item";
  894. oParam.async = false;
  895. //oParam.callback = "cf_TRAHB01504";
  896. tranf_submit(oParam);
  897. }
  898. function grd_rsrvdrlst_oncelldblclick(obj:Grid, e:GridClickEventInfo)
  899. {
  900. ds_send.setColumn(0, "srchcnstdrid", ds_init_cnst_drlst_itemdr.getColumn(ds_init_cnst_drlst_itemdr.rowposition, "drid"));
  901. fGetRsrvSchList(2);
  902. ds_main_rsrvacptlst_item.clearData();
  903. }
  904. function fGetRsrvSchList(vMode)
  905. {
  906. var sRsrvMon = ds_temp_calendar.getColumn(0, "year") + ds_temp_calendar.getColumn(0, "month");
  907. ds_send.setColumn(0, "srchrsrvmon" , sRsrvMon);
  908. if(vMode == 1)
  909. {
  910. ds_send.setColumn(0, "srchrsrvmon", "" );
  911. ds_send.setColumn(0, "srchrsrvdd", fGetCalendarDate(grd_calendar));
  912. }
  913. else if( vMode == 2 )
  914. {
  915. ds_send.setColumn(0, "srchrsrvdd", "" );
  916. }
  917. var firstDay = Number((sRsrvMon+ "01").toDate().getDay());
  918. var lastDay = Number(fGetCalendarDate(grd_calendar).toDate().getMonthDay());
  919. for(var i = firstDay; i <= lastDay; i++)
  920. {
  921. iRow = Math.ceil( ( firstDay + i ) / 7 );
  922. iCol = ( sRsrvMon + i ).toDate().getDay();
  923. ds_temp_calendar_weeklist_list.setColumn(iRow , iCol + 7, "");
  924. }
  925. var oParam = {};
  926. oParam.id = "TRAHB01503";
  927. oParam.service = "healexambaseapp.ScheduleCode";
  928. oParam.method = "reqGetRsrvScheduleList";
  929. oParam.inds = "req=ds_send";
  930. oParam.outds = "ds_temp_templst_rsrvddlst=ddlst ds_=tmlst";
  931. oParam.async = false;
  932. //oParam.callback = "cf_TRAHB01503";
  933. tranf_submit(oParam);
  934. var sNode = null;
  935. if((vMode == 0 ) || (vMode == 2))
  936. {
  937. sNode = ds_temp_templst_rsrvddlst.rowcount;
  938. if( sNode != 0 )
  939. {
  940. var dd = null ;
  941. var iCol = null;
  942. var iRow = null;
  943. var firstDay = (sRsrvMon+ "01").toDate().getDay();
  944. for(var i = 0; i < ds_temp_templst_rsrvddlst.rowcount; i++)
  945. {
  946. dd = ds_temp_templst_rsrvddlst.getColumn(i, "rsrvdd");
  947. iCol = ( sRsrvMon + dd).toDate().getDay();
  948. iRow = Math.ceil( ( firstDay + Number(dd) ) / 7 )-1;
  949. ds_temp_calendar_weeklist_list.setColumn(iRow , parseInt(iCol+7), ds_temp_templst_rsrvddlst.getColumn(i, "psnnocnt"));
  950. }
  951. }
  952. }
  953. }
  954. function grd_calendar_oncellclick(obj:Grid, e:GridClickEventInfo)
  955. {
  956. switch1.tabindex = 0;
  957. btn_save.enable = true;
  958. var vFlag = ds_temp.getColumn(0, "flag");
  959. fGetRsrvPatList();
  960. }
  961. function fGetRsrvPatList(sNode)
  962. {
  963. ds_send.setColumn(0, "srchhealexamflag", m_vHealexamflag);
  964. ds_send.setColumn(0, "srchhealexamdetlflag", m_vHealexamdetlflag);
  965. var sRsrvDate = fGetCalendarDate(grd_calendar);
  966. ds_send.setColumn(0, "srchrsrvdd", sRsrvDate);
  967. var sSrchcnstdrid = ds_send.getColumn(0, "srchcnstdrid");
  968. var oParam = {};
  969. oParam.id = "TRAHA00901";
  970. oParam.service = "healexamrsltjudgapp.InqrInpt";
  971. oParam.method = "reqGetCnstRsrvPatList";
  972. oParam.inds = "req=ds_send";
  973. oParam.outds = "ds_main_rsrvacptlst_item=item";
  974. oParam.async = false;
  975. oParam.callback = "cf_TRAHA00901";
  976. tranf_submit(oParam);
  977. }
  978. function cf_TRAHA00901(sSvcId, nErrorCode, sErrorMsg)
  979. {
  980. if(nErrorCode < 0) return;
  981. else
  982. {
  983. fSetMerge();
  984. }
  985. }
  986. function fSetMerge()
  987. {
  988. var start = new Array();
  989. var end = new Array();
  990. var mergeCnt = 0;
  991. var chk = true;
  992. for(var i = 0; i < ds_main_rsrvacptlst_item.rowcount; i++)
  993. {
  994. var rsrvPsnnoCnt = ds_main_rsrvacptlst_item.getColumn(i , "rsrvpsnnocnt");
  995. var srcHealExamFg = ds_main_rsrvacptlst_item.getColumn(i , "healexamflag");
  996. var srcRsrvDD = ds_main_rsrvacptlst_item.getColumn(i , "rsrvdd");
  997. var srcRsrvNO = ds_main_rsrvacptlst_item.getColumn(i , "rsrvno");
  998. var srcRsltCnstSeqNo = ds_main_rsrvacptlst_item.getColumn(i , "rsltcnstseqno");
  999. if(rsrvPsnnoCnt == "1")
  1000. {
  1001. for(var j = 0; j < ds_main_rsrvacptlst_item.rowcount; j++)
  1002. {
  1003. var desHealExamFg = ds_main_rsrvacptlst_item.getColumn(j, "healexamflag");
  1004. var desRsrvDD = ds_main_rsrvacptlst_item.getColumn(j, "rsrvdd");
  1005. var desRsrvNO = ds_main_rsrvacptlst_item.getColumn(j, "rsrvno");
  1006. var desRsltCnstSeqNo = ds_main_rsrvacptlst_item.getColumn(j, "rsltcnstseqno");
  1007. if(srcHealExamFg == desHealExamFg && srcRsrvDD == desRsrvDD && srcRsrvNO == desRsrvNO && srcRsltCnstSeqNo == desRsltCnstSeqNo)
  1008. {
  1009. if(chk)
  1010. {
  1011. start[mergeCnt] = j;
  1012. chk = false;
  1013. }
  1014. }
  1015. if(srcHealExamFg != desHealExamFg || srcRsrvDD != desRsrvDD || srcRsrvNO != desRsrvNO || srcRsltCnstSeqNo != desRsltCnstSeqNo)
  1016. {
  1017. if(!chk)
  1018. {
  1019. end[mergeCnt] = j - 1;
  1020. chk= true;
  1021. mergeCnt++;
  1022. }
  1023. }
  1024. }
  1025. }
  1026. }
  1027. }
  1028. function btn_clear_onclick(obj:Button, e:ClickEventInfo)
  1029. {
  1030. fInitInfo();
  1031. }
  1032. function fInitInfo()
  1033. {
  1034. ds_send.setColumn(0, "srchcnstdrid","");
  1035. ds_temp_templst_rsrvddlst.clearData();
  1036. ds_temp_calendar_weeklist_list.setColumn(0, "sun_memo", "");
  1037. ds_temp_calendar_weeklist_list.setColumn(0, "mon_memo", "");
  1038. ds_temp_calendar_weeklist_list.setColumn(0, "tue_memo", "");
  1039. ds_temp_calendar_weeklist_list.setColumn(0, "wed_memo", "");
  1040. ds_temp_calendar_weeklist_list.setColumn(0, "thu_memo", "");
  1041. ds_temp_calendar_weeklist_list.setColumn(0, "fri_memo", "");
  1042. ds_temp_calendar_weeklist_list.setColumn(0, "sat_memo", "");
  1043. ds_main_rsrvacptlst_item.clearData();
  1044. var curDate = null;
  1045. curDate = utlf_getCurrentDate().toDate();
  1046. setCalendar(curDate);
  1047. }
  1048. function grp_calendar_btn_preyear_onclick(obj:Button, e:ClickEventInfo)
  1049. {
  1050. fHRefreshCalender("Y", -1);
  1051. fGetRsrvSchList(2);
  1052. }
  1053. function radio1_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
  1054. {
  1055. m_vHealexamflag = ds_send.getColumn(0, "srchhealexamflag");
  1056. m_vHealexamdetlflag = ds_send.getColumn(0, "srchhealexamflag") + "01";
  1057. ds_send.setColumn(0, "srchhealexamdetlflag", ds_send.getColumn(0, "srchhealexamflag") + "01");
  1058. var sRsrvDate = utlf_getCurrentDate();
  1059. var curDate = null;
  1060. if(!utlf_isNull(sRsrvDate))
  1061. {
  1062. curDate = sRsrvDate.toDate();
  1063. }
  1064. else
  1065. {
  1066. curDate = utlf_getCurrentDate().toDate();
  1067. }
  1068. ds_temp_calendar.setColumn(0, "year", curDate.getDateFormat('YYYY'));
  1069. ds_temp_calendar.setColumn(0, "month", curDate.getDateFormat('MM'));
  1070. ds_send.setColumn(0, "srchrsrvdd", "C");
  1071. dsf_makeValue(ds_main_rsltcnstchng, "chngyn", "string", "N");
  1072. fGetBaseInfo();
  1073. setCalendar(curDate);
  1074. }
  1075. function grp_calendar_btn_premonth_onclick(obj:Button, e:ClickEventInfo)
  1076. {
  1077. fHRefreshCalender("M", -1);
  1078. fGetRsrvSchList(2);
  1079. }
  1080. function grp_calendar_btn_nextmonth_onclick(obj:Button, e:ClickEventInfo)
  1081. {
  1082. fHRefreshCalender("M", 1);
  1083. fGetRsrvSchList(2);
  1084. }
  1085. function grp_calendar_btn_nextyear_onclick(obj:Button, e:ClickEventInfo)
  1086. {
  1087. fHRefreshCalender("Y", 1);
  1088. fGetRsrvSchList(2);
  1089. }
  1090. function ds_main_rsrvacptlst_item_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
  1091. {
  1092. if(e.columnid == "outexamyn")
  1093. {
  1094. obj.setColumn(e.row, "outexamyn", (e.newvalue == "Y" || e.newvalue == 1) ? "Y" : "N");
  1095. }
  1096. if(e.columnid == "ownyn")
  1097. {
  1098. obj.setColumn(e.row, "ownyn", (e.newvalue == "Y" || e.newvalue == 1) ? "Y" : "N");
  1099. if(e.newvalue == "1")
  1100. {
  1101. obj.setColumn(e.row, "visitor", obj.getColumn(e.row, "hngnm"));
  1102. }
  1103. else
  1104. {
  1105. obj.setColumn(e.row, "visitor", "");
  1106. }
  1107. }
  1108. if(e.columnid == "rsltcnstendyn")
  1109. {
  1110. obj.setColumn(e.row, "rsltcnstendyn", (e.newvalue == "Y" || e.newvalue == 1) ? "Y" : "N");
  1111. }
  1112. fSetSyncData();
  1113. }
  1114. function fSetSyncData()
  1115. {
  1116. var srcHealExamFg = ds_main_rsrvacptlst_item.getColumn(ds_main_rsrvacptlst_item.rowposition, "healexamflag");
  1117. var srcRsrvDD = ds_main_rsrvacptlst_item.getColumn(ds_main_rsrvacptlst_item.rowposition, "rsrvdd");
  1118. var srcRsrvNO = ds_main_rsrvacptlst_item.getColumn(ds_main_rsrvacptlst_item.rowposition, "rsrvno");
  1119. var srcRsltCnstSeqNo = ds_main_rsrvacptlst_item.getColumn(ds_main_rsrvacptlst_item.rowposition, "rsltcnstseqno");
  1120. var chngVal = ds_main_rsrvacptlst_item.getColumn(ds_main_rsrvacptlst_item.rowposition, switch1.case_rsltrsrvdetl.grd_rsrvacptlst.currentcol);
  1121. for(var i = 0; i < ds_main_rsrvacptlst_item.rowcount; i++)
  1122. {
  1123. if("none" == switch1.case_rsltrsrvdetl.grd_rsrvacptlst.getCellProperty("Body", switch1.case_rsltrsrvdetl.grd_rsrvacptlst.getBindCellIndex("Body", "rsrvpsnnocnt"), "edittype"))
  1124. {
  1125. var desHealExamFg = ds_main_rsrvacptlst_item.getColumn(i, "healexamflag");
  1126. var desRsrvDD = ds_main_rsrvacptlst_item.getColumn(i, "rsrvdd");
  1127. var desRsrvNO = ds_main_rsrvacptlst_item.getColumn(i, "rsrvno");
  1128. var desRsltCnstSeqNo = ds_main_rsrvacptlst_item.getColumn(i, "rsltcnstseqno");
  1129. if(srcHealExamFg == desHealExamFg && srcRsrvDD == desRsrvDD && srcRsrvNO == desRsrvNO && srcRsltCnstSeqNo == desRsltCnstSeqNo)
  1130. {
  1131. ds_main_rsrvacptlst_item.setColumn(i , switch1.case_rsltrsrvdetl.grd_rsrvacptlst.currentcol, chngVal);
  1132. }
  1133. }
  1134. }
  1135. }
  1136. function switch1_case_rsltrsrvdetl_grd_rsrvacptlst_oncelldblclick(obj:Grid, e:GridClickEventInfo)
  1137. {
  1138. ds_send_hist.setColumn(0, "healexamflag", ds_main_rsrvacptlst_item.getColumn(ds_main_rsrvacptlst_item.rowposition, "healexamflag"));
  1139. ds_send_hist.setColumn(0, "healexamdetlflag", m_vHealexamdetlflag);
  1140. ds_send_hist.setColumn(0, "pid", ds_main_rsrvacptlst_item.getColumn(ds_main_rsrvacptlst_item.rowposition, "pid"));
  1141. ds_send_hist.setColumn(0, "rsrvdd", ds_main_rsrvacptlst_item.getColumn(ds_main_rsrvacptlst_item.rowposition, "rsrvdd"));
  1142. ds_send_hist.setColumn(0, "rsrvno", ds_main_rsrvacptlst_item.getColumn(ds_main_rsrvacptlst_item.rowposition, "rsrvno"));
  1143. ds_main_patinfo.setColumn(0, "pid", ds_main_rsrvacptlst_item.getColumn(ds_main_rsrvacptlst_item.rowposition, "pid"));
  1144. var oParam = {};
  1145. oParam.id = "TRAHA00902";
  1146. oParam.service = "healexamrsltjudgapp.InqrInpt";
  1147. oParam.method = "reqGetCnstRsrvHistPatList";
  1148. oParam.inds = "req=ds_send_hist";
  1149. oParam.outds = "ds_main_rsltrsrvhistlst_item=item";
  1150. oParam.async = false;
  1151. oParam.callback = "cf_TRAHA00902";
  1152. tranf_submit(oParam);
  1153. }
  1154. function cf_TRAHA00902(sSvcId, nErrorCode, sErrorMsg)
  1155. {
  1156. if(nErrorCode < 0) return;
  1157. else
  1158. {
  1159. switch1.tabindex = 1;
  1160. ds_main_rsltcnstchnglst_item.clearData();
  1161. btn_save.enable = false;
  1162. }
  1163. }
  1164. function pmn_menu1_onmenuclick(obj:PopupMenu, e:MenuClickEventInfo)
  1165. {
  1166. eval(e.id +"();");
  1167. }
  1168. function switch1_case_rsltrsrvdetl_grd_rsrvacptlst_onrbuttondown(obj:Grid, e:GridMouseEventInfo)
  1169. {
  1170. ds_main_rsrvacptlst_item.rowposition = e.row;
  1171. pmn_menu1.trackPopup(e.screenX,e.screenY);
  1172. }
  1173. function switch1_case_rsltrsrvdetl_btn_refresh_onclick(obj:Button, e:ClickEventInfo)
  1174. {
  1175. fGetRsrvSchList(2);
  1176. fGetRsrvPatList();
  1177. }
  1178. function switch1_case_rsltrsrvdetl_btn_totrsrvdt_onclick(obj:Button, e:ClickEventInfo)
  1179. {
  1180. grdf_exportExcel(switch1.case_rsltrsrvdetl.grd_rsrvacptlst, "excel", "SheetName", "true", "", "");
  1181. }
  1182. function ds_main_rsltrsrvhistlst_item_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
  1183. {
  1184. if(e.columnid == "chkyn")
  1185. {
  1186. obj.setColumn(e.row, "chkyn", (e.newvalue == "Y" || e.newvalue == 1) ? "Y" : "N");
  1187. }
  1188. if(e.columnid == "outexamyn")
  1189. {
  1190. obj.setColumn(e.row, "outexamyn", (e.newvalue == "Y" || e.newvalue == 1) ? "Y" : "N");
  1191. }
  1192. if(e.columnid == "ownyn")
  1193. {
  1194. obj.setColumn(e.row, "ownyn", (e.newvalue == "Y" || e.newvalue == 1) ? "Y" : "N");
  1195. }
  1196. if(e.columnid == "rsltcnstendyn")
  1197. {
  1198. obj.setColumn(e.row, "rsltcnstendyn", (e.newvalue == "Y" || e.newvalue == 1) ? "Y" : "N");
  1199. }
  1200. }
  1201. function switch1_onchanged(obj:Tab, e:TabIndexChangeEventInfo)
  1202. {
  1203. if(obj.tabindex == 0)
  1204. {
  1205. btn_save.enable = true;
  1206. }
  1207. else
  1208. {
  1209. btn_save.enable = false;
  1210. }
  1211. }
  1212. function switch1_case_hist_group6_input19_onkeyup(obj:Edit, e:KeyEventInfo)
  1213. {
  1214. if(e.keycode == 13)
  1215. {
  1216. obj.updateToDataset();
  1217. switch1.case_hist.group6.btn_srchpat.click();
  1218. }
  1219. }
  1220. function switch1_case_hist_group6_btn_srchpat_onclick(obj:Button, e:ClickEventInfo)
  1221. {
  1222. fSearchPatInfo("SMAHA00900", "pid", switch1.case_hist.group6.input19.value, "N", "ds_send_hist" ,"pid", "hngnm");
  1223. // ds_main_patinfo.setColumn(0, "pid", ds_send_hist.getColumn(0, "pid"));
  1224. if(!utlf_isNull(ds_send_hist.getColumn(0, "pid")))
  1225. {
  1226. switch1.case_hist.group6.btn_search.click();
  1227. }
  1228. }
  1229. function switch1_case_hist_group6_btn_search_onclick(obj:Button, e:ClickEventInfo)
  1230. {
  1231. var srchpid = ds_main_patinfo.getColumn(0, "pid");
  1232. if(utlf_isNull(srchpid))
  1233. {
  1234. sysf_messageBox("등록번호를 ", "C001");
  1235. switch1.case_hist.group6.input19.setFocus();
  1236. return;
  1237. }
  1238. ds_send_hist.setColumn(0, "healexamflag", m_vHealexamflag);
  1239. ds_send_hist.setColumn(0, "healexamdetlflag", m_vHealexamdetlflag);
  1240. ds_send_hist.setColumn(0, "pid", srchpid);
  1241. ds_send_hist.setColumn(0, "rsrvdd", "");
  1242. ds_send_hist.setColumn(0, "rsrvno", "");
  1243. var oParam = {};
  1244. oParam.id = "TRAHA00902";
  1245. oParam.service = "healexamrsltjudgapp.InqrInpt";
  1246. oParam.method = "reqGetCnstRsrvHistPatList";
  1247. oParam.inds = "req=ds_send_hist";
  1248. oParam.outds = "ds_main_rsltrsrvhistlst_item=item";
  1249. oParam.async = false;
  1250. //oParam.callback = "cf_TRAHA00902";
  1251. tranf_submit(oParam);
  1252. ds_send_chng.setColumn(0, "healexamflag", ds_main_rsltrsrvhistlst_item.getColumn(0, "healexamflag"));
  1253. ds_send_chng.setColumn(0, "healexamdetlflag", ds_main_rsltrsrvhistlst_item.getColumn(0, "healexamdetlflag"));
  1254. ds_send_chng.setColumn(0, "pid", ds_main_rsltrsrvhistlst_item.getColumn(0, "pid"));
  1255. ds_send_chng.setColumn(0, "rsrvdd", ds_main_rsltrsrvhistlst_item.getColumn(0, "rsrvdd"));
  1256. ds_send_chng.setColumn(0, "rsrvno", ds_main_rsltrsrvhistlst_item.getColumn(0, "rsrvno"));
  1257. ds_send_chng.setColumn(0, "chnghistseqno", ds_main_rsltrsrvhistlst_item.getColumn(0, "chnghistseqno"));
  1258. var oParam = {};
  1259. oParam.id = "TRAHA00903";
  1260. oParam.service = "healexamrsltjudgapp.InqrInpt";
  1261. oParam.method = "reqGetCnstRsrvCHngHistList";
  1262. oParam.inds = "req=ds_send_chng";
  1263. oParam.outds = "ds_main_rsltcnstchnglst_item=item";
  1264. oParam.async = false;
  1265. //oParam.callback = "cf_TRAHA00903";
  1266. tranf_submit(oParam);
  1267. }
  1268. function switch1_case_hist_grd_cnsthistlst_oncelldblclick(obj:Grid, e:GridClickEventInfo)
  1269. {
  1270. var row = ds_main_rsltrsrvhistlst_item.rowposition
  1271. ds_send_chng.setColumn(0, "healexamflag", ds_main_rsltrsrvhistlst_item.getColumn(row, "healexamflag"));
  1272. ds_send_chng.setColumn(0, "healexamdetlflag", ds_main_rsltrsrvhistlst_item.getColumn(row, "healexamdetlflag"));
  1273. ds_send_chng.setColumn(0, "pid", ds_main_rsltrsrvhistlst_item.getColumn(row, "pid"));
  1274. ds_send_chng.setColumn(0, "rsrvdd", ds_main_rsltrsrvhistlst_item.getColumn(row, "rsrvdd"));
  1275. ds_send_chng.setColumn(0, "rsrvno", ds_main_rsltrsrvhistlst_item.getColumn(row, "rsrvno"));
  1276. ds_send_chng.setColumn(0, "chnghistseqno", ds_main_rsltrsrvhistlst_item.getColumn(row, "chnghistseqno"));
  1277. var oParam = {};
  1278. oParam.id = "TRAHA00903";
  1279. oParam.service = "healexamrsltjudgapp.InqrInpt";
  1280. oParam.method = "reqGetCnstRsrvCHngHistList";
  1281. oParam.inds = "req=ds_send_chng";
  1282. oParam.outds = "ds_main_rsltcnstchnglst_item=item";
  1283. oParam.async = false;
  1284. //oParam.callback = "cf_TRAHA00903";
  1285. tranf_submit(oParam);
  1286. }
  1287. function button1_onclick(obj:Button, e:ClickEventInfo)
  1288. {
  1289. fGridWidthcontrol("Y");
  1290. }
  1291. function button2_onclick(obj:Button, e:ClickEventInfo)
  1292. {
  1293. fGridWidthcontrol("N");
  1294. }
  1295. function fGridWidthcontrol(sStatus)
  1296. {
  1297. if(sStatus == "Y")
  1298. {
  1299. switch1.position.left = 0;
  1300. switch1.position.right = 1195;
  1301. switch1.case_rsltrsrvdetl.caption2.position.left = 0;
  1302. switch1.case_rsltrsrvdetl.line2.position.left = 0;
  1303. switch1.case_rsltrsrvdetl.line2.position.right = 1195;
  1304. switch1.case_rsltrsrvdetl.grd_rsrvacptlst.position.left = 0;
  1305. switch1.case_rsltrsrvdetl.grd_rsrvacptlst.position.right = 1195;
  1306. //상담리스트
  1307. caption11.visible = false;
  1308. line9.visible = false;
  1309. radio1.visible = false;
  1310. grd_rsrvdrlst.visible = false;
  1311. //결과상담예약내역
  1312. caption1.visible = false;
  1313. line1.visible = false;
  1314. grp_calendar.visible = false;
  1315. grd_calendar.visible = false;
  1316. btn_clear.visible = false;
  1317. }
  1318. if(sStatus == "N")
  1319. {
  1320. switch1.position.left = 405;
  1321. switch1.position.right = 1195;
  1322. //상담리스트
  1323. caption11.visible = true;
  1324. line9.visible = true;
  1325. radio1.visible = true;
  1326. grd_rsrvdrlst.visible = true;
  1327. //결과상담예약내역
  1328. caption1.visible = true;
  1329. line1.visible = true;
  1330. grp_calendar.visible = true;
  1331. grd_calendar.visible = true;
  1332. btn_clear.visible = true;
  1333. }
  1334. }
  1335. function fSetColJudg()
  1336. {
  1337. frmf_clearParameter("SMAHR00500_PARAM1");
  1338. frmf_clearParameter("SMAHR00500_PARAM2");
  1339. frmf_setParameter ("SMAHR00500_PARAM1", ds_main_rsrvacptlst_item.getColumn(ds_main_rsrvacptlst_item.rowposition, "healexamflag"));
  1340. frmf_setParameter ("SMAHR00500_PARAM2", ds_main_rsrvacptlst_item.getColumn(ds_main_rsrvacptlst_item.rowposition, "pid"));
  1341. frmf_modal("SMAHR00500", "SMAHR00500", "", "", "", "", "", "", "", "", "", "", "M");
  1342. }
  1343. function fSetChngRsltCnst()
  1344. {
  1345. var sIdx = ds_main_rsrvacptlst_item.rowposition;
  1346. var sHealExamFg = ds_main_rsrvacptlst_item.getColumn(sIdx , "healexamflag");
  1347. var sHealExamDetlFg = ds_main_rsrvacptlst_item.getColumn(sIdx , "healexamdetlflag");
  1348. var sRsrvDD = ds_main_rsrvacptlst_item.getColumn(sIdx , "rsrvdd");
  1349. var sRsrvNO = ds_main_rsrvacptlst_item.getColumn(sIdx , "rsrvno");
  1350. var sRsltCnstSeq = ds_main_rsrvacptlst_item.getColumn(sIdx , "rsltcnstseqno");
  1351. var sRsltcnstremcnts = ds_main_rsrvacptlst_item.getColumn(sIdx , "rsltcnstremcnts");
  1352. var sRsltCnstEndYN = ds_main_rsrvacptlst_item.getColumn(sIdx , "rsltcnstendyn");
  1353. if(utlf_isNull(sHealExamFg) || utlf_isNull(sRsrvDD) || utlf_isNull(sRsrvNO) || utlf_isNull(sRsltCnstSeq))
  1354. {
  1355. sysf_messageBox("변경 할 예약을","C002");
  1356. return;
  1357. }
  1358. if(sRsltCnstEndYN == "Y")
  1359. {
  1360. sysf_messageBox("이미 상담이", "I002");
  1361. return;
  1362. }
  1363. ds_send_chngsave.clearData();
  1364. ds_send_chngsave.addRow();
  1365. ds_send_chngsave.copyRow(0, ds_main_rsrvacptlst_item, sIdx);
  1366. ds_main_rsltcnstchnglst_after.clearData();
  1367. //model.removeNodeset("/root/main/rsltcnstchng/after[0]");
  1368. frmf_setParameter ("SPAHA00110_PARAM1", sHealExamFg);
  1369. frmf_setParameter ("SPAHA00110_PARAM2", sHealExamDetlFg);
  1370. frmf_setParameter ("SPAHA00110_PARAM3", "ds_main_rsltcnstchng_before");
  1371. frmf_setParameter ("SPAHA00110_PARAM4", "ds_main_rsltcnstchnglst_after");
  1372. frmf_setParameter ("SPAHA00110_PARAM5", sRsltcnstremcnts);
  1373. frmf_modal("SPAHA00110", "SPAHA00110", "", "", "", "", "", "", "", "", "", "", "M");
  1374. if(ds_hidden.getColumn(0, "okflag") == "ok")
  1375. {
  1376. dsf_makeValue(ds_main_rsltcnstchng, "chngyn", "string", "Y");
  1377. dsf_makeValue(ds_send_chngsave, "chngrsltcnstdr", "string", ds_main_rsltcnstchnglst_after.getColumn(0, "rsltcnstdr"));
  1378. dsf_makeValue(ds_send_chngsave, "chngrsltcnstdd", "string", ds_main_rsltcnstchnglst_after.getColumn(0, "rsltcnstdd"));
  1379. dsf_makeValue(ds_send_chngsave, "chngrsltcnstrsrvstarttm", "string", ds_main_rsltcnstchnglst_after.getColumn(0, "rsltcnstrsrvstarttm"));
  1380. dsf_makeValue(ds_send_chngsave, "chngrsltcnstrsrvendtm", "string", ds_main_rsltcnstchnglst_after.getColumn(0, "rsltcnstrsrvendtm"));
  1381. dsf_makeValue(ds_send_chngsave, "chngrsltcnstremcnts", "string", ds_main_rsltcnstchnglst_after.getColumn(0, "rsltcnstremcnts"));
  1382. }
  1383. }
  1384. function fSetRsltCnstCncl()
  1385. {
  1386. var sIdx = ds_main_rsrvacptlst_item.rowposition;
  1387. var sHealExamFg = ds_main_rsrvacptlst_item.getColumn(sIdx , "healexamflag");
  1388. var sHealExamDetlFg = ds_main_rsrvacptlst_item.getColumn(sIdx , "healexamdetlflag");
  1389. var sRsrvDD = ds_main_rsrvacptlst_item.getColumn(sIdx , "rsrvdd");
  1390. var sRsrvNO = ds_main_rsrvacptlst_item.getColumn(sIdx , "rsrvno");
  1391. var sRsltCnstSeq = ds_main_rsrvacptlst_item.getColumn(sIdx , "rsltcnstseqno");
  1392. var sRsltCnstEndYN = ds_main_rsrvacptlst_item.getColumn(sIdx , "rsltcnstendyn");
  1393. ds_main_rsrvacptlst_item.updatecontrol = false;
  1394. ds_main_rsrvacptlst_item.setRowType(sIdx, "d");
  1395. ds_main_rsrvacptlst_item.updatecontrol = true;
  1396. }
  1397. function btn_rsrv_onclick(obj:Button, e:ClickEventInfo)
  1398. {
  1399. var instcd = sysf_getUserInfo("dutplceinstcd");
  1400. if (instcd == "032")
  1401. {
  1402. var ckdd = ds_main_rsltrsrvhistlst_item.getColumn(0, "rsltcnstdd");
  1403. dsf_makeValue(ds_main_rsltrsrvhistlst_item, "logourl", "BLOB", getImgURL("newlogo"+sysf_getUserInfo("dutplceinstcd"), "jpg"));
  1404. dsf_makeValue(ds_main_rsltrsrvhistlst_item, "day","string", Cekday(ckdd));
  1405. var cnt = ds_main_rsltrsrvhistlst_item.rowcount;
  1406. for(var i = 0; i < cnt; i++)
  1407. {
  1408. if(ds_main_rsltrsrvhistlst_item.getColumn(i, "chkyn") == "Y")
  1409. {
  1410. ds_tmp_printinfo.clearData();
  1411. var addRow = ds_tmp_printinfo.addRow();
  1412. ds_tmp_printinfo.copyRow(addRow, ds_main_rsltrsrvhistlst_item, i);
  1413. var objDOM = rptf_createDOM();
  1414. rptf_setNodeListToDOM(objDOM, "/root/tmp/printinfo", ds_tmp_printinfo);
  1415. var objParam = new Object();
  1416. objParam.xml_data_XML1 = objDOM.documentElement.source;
  1417. var option = "";
  1418. rptf_exeReportPreview30(["RPAHA00408"],[objParam], option);
  1419. }
  1420. else
  1421. {
  1422. continue;
  1423. }
  1424. }
  1425. }
  1426. else if(instcd == "031")
  1427. {
  1428. var ckdd = ds_main_rsltrsrvhistlst_item.getColumn(0, "rsltcnstdd");
  1429. dsf_makeValue(ds_main_rsltrsrvhistlst_item, "logourl", "BLOB", getImgURL("logo"+sysf_getUserInfo("dutplceinstcd")+"gunjin", "jpg"));
  1430. dsf_makeValue(ds_main_rsltrsrvhistlst_item, "day", "string", Cekday(ckdd));
  1431. var cnt = ds_main_rsltrsrvhistlst_item.rowcount;
  1432. for(var i = 0; i < cnt; i++)
  1433. {
  1434. if(ds_main_rsltrsrvhistlst_item.getColumn(i, "chkyn") == "Y")
  1435. {
  1436. ds_tmp_printinfo.clearData();
  1437. var addRow = ds_tmp_printinfo.addRow();
  1438. ds_tmp_printinfo.copyRow(addRow, ds_main_rsltrsrvhistlst_item, i);
  1439. var objDOM = rptf_createDOM();
  1440. rptf_setNodeListToDOM(objDOM, "/root/tmp/printinfo", ds_tmp_printinfo);
  1441. var objParam = new Object();
  1442. objParam.xml_data_XML1 = objDOM.documentElement.source;
  1443. var option = "";
  1444. rptf_exeReportPreview30(["RPAHA00420"],[objParam], option);
  1445. }
  1446. else
  1447. {
  1448. continue;
  1449. }
  1450. }
  1451. }
  1452. }
  1453. function Cekday(ckdd)
  1454. {
  1455. var d, ckday, x;
  1456. var x = new Array("일요일", "월요일", "화요일");
  1457. var x = x.concat("수요일","목요일", "금요일");
  1458. var x = x.concat("토요일");
  1459. d = new Date(ckdd.substr(0,4),ckdd.substr(4,2)-1,ckdd.substr(6,2));
  1460. ckday = d.getDay();
  1461. return( x[ckday]);
  1462. }
  1463. function chk_lookaheadyn_onclick(obj:CheckBox, e:ClickEventInfo)
  1464. {
  1465. if(obj.value == "Y")
  1466. {
  1467. }
  1468. else
  1469. {
  1470. ds_temp.setColumn(0, "lookaheadyn", "");
  1471. }
  1472. }
  1473. function getImgURL(imgcd, type)
  1474. {
  1475. if (utlf_isNull(type) || type == "")
  1476. {
  1477. type = "gif";
  1478. }
  1479. return sysf_getURLprefix()+"/himed/webapps/com/commonweb/images/"+imgcd+"." + type;
  1480. }
  1481. function btn_prntlist_onclick(obj:Button, e:ClickEventInfo)
  1482. {
  1483. fRsltPatListPrnt();
  1484. }
  1485. function fRsltPatListPrnt()
  1486. {
  1487. var nodeList = ds_main_rsrvacptlst_item.findRow("rsrvpsnnocnt", "1");
  1488. if(nodeList < 0)
  1489. {
  1490. sysf_messageBox("출력할 내역이 ", "I004");
  1491. return ;
  1492. }
  1493. ds_main_prntpatlist_list.clearData();
  1494. for(var i = 0; i < ds_main_rsrvacptlst_item.rowcount; i++)
  1495. {
  1496. if(ds_main_rsrvacptlst_item.getColumn(i, "rsrvpsnnocnt") == "1")
  1497. {
  1498. var addRow = ds_main_prntpatlist_list.addRow();
  1499. ds_main_prntpatlist_list.copyRow(addRow, ds_main_rsrvacptlst_item, i);
  1500. }
  1501. }
  1502. dsf_makeValue(ds_tmp_drinfo, "orddrid", "string", ds_init_cnst_drlst_itemdr.getColumn(ds_init_cnst_drlst_itemdr.rowposition, "drid"));
  1503. dsf_makeValue(ds_tmp_drinfo, "orddrnm", "string", ds_init_cnst_drlst_itemdr.getColumn(ds_init_cnst_drlst_itemdr.rowposition, "drnm"));
  1504. if(chk_lookaheadyn.value == "Y")
  1505. {
  1506. var objDOM = rptf_createDOM();
  1507. rptf_setNodeListToDOM(objDOM, "/root/tmp/drinfo", ds_tmp_drinfo);
  1508. rptf_setNodeListToDOM(objDOM, "/root/main/prntpatlist/list", ds_main_prntpatlist_list);
  1509. var objParam = new Object();
  1510. objParam.xml_data_XML1 = objDOM.documentElement.source;
  1511. var option = "";
  1512. rptf_exeReportPreview30(["RPAHA00407"],[objParam], option);
  1513. }
  1514. else
  1515. {
  1516. var objDOM = rptf_createDOM();
  1517. rptf_setNodeListToDOM(objDOM, "/root/tmp/drinfo", ds_tmp_drinfo);
  1518. rptf_setNodeListToDOM(objDOM, "/root/main/prntpatlist/list", ds_main_prntpatlist_list);
  1519. var objParam = new Object();
  1520. objParam.xml_data_XML1 = objDOM.documentElement.source;
  1521. var option = "directprint=1;print=1";
  1522. rptf_exeReportPreview30(["RPAHA00407"],[objParam], option);
  1523. }
  1524. }
  1525. function btn_save_onclick(obj:Button, e:ClickEventInfo)
  1526. {
  1527. if(ds_main_rsltcnstchng.getColumn(0, "chngyn") == "Y")
  1528. {
  1529. var oParam = {};
  1530. oParam.id = "TXAHA00902";
  1531. oParam.service = "healexamrsltjudgapp.InqrInpt";
  1532. oParam.method = "reqExeChngRsltCnstRsrv";
  1533. oParam.inds = "req=ds_send_chngsave";
  1534. oParam.outds = "ds_=item";
  1535. oParam.async = false;
  1536. oParam.callback = "cf_TXAHA00903";
  1537. tranf_submit(oParam);
  1538. }
  1539. if(ds_main_rsltcnstchng.getColumn(0, "chngyn") == "N")
  1540. {
  1541. if(sysf_messageBox("", "Q002") == 6)
  1542. {
  1543. var savedata = grdf_getGridUpdateData(switch1.case_rsltrsrvdetl.grd_rsrvacptlst);
  1544. ds_send_savecnst.copyData(savedata);
  1545. var oParam = {};
  1546. oParam.id = "TXAHA00901";
  1547. oParam.service = "healexamrsltjudgapp.InqrInpt";
  1548. oParam.method = "reqExeRsrvScheCheck";
  1549. oParam.inds = "req=ds_main_rsrvacptlst_item:u";
  1550. oParam.typeStr = "m";
  1551. oParam.outds = "";
  1552. oParam.async = false;
  1553. oParam.callback = "cf_TXAHA00901_1";
  1554. tranf_submit(oParam);
  1555. }
  1556. }
  1557. }
  1558. function cf_TXAHA00903(sSvcId, nErrorCode, sErrorMsg)
  1559. {
  1560. if(nErrorCode < 0) return;
  1561. else
  1562. {
  1563. ds_main_rsltcnstchng.setColumn(0, "chngyn", "N");
  1564. }
  1565. }
  1566. function cf_TXAHA00901_1(sSvcId, nErrorCode, sErrorMsg)
  1567. {
  1568. if(nErrorCode < 0) return;
  1569. else
  1570. {
  1571. switch1.case_rsltrsrvdetl.btn_refresh.click();
  1572. }
  1573. }
  1574. function pmn_menu1_onlbuttonup(obj:PopupMenu, e:MenuMouseEventInfo)
  1575. {
  1576. pmn_menu1.closePopup();
  1577. }
  1578. ]]></Script>
  1579. </Form>
  1580. </FDL>