SMAHA00800_발송관리.xfdl 76 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMAHA00800" position="absolute 0 0 1196 779" titletext="발송관리" oninit="SMAHA00800_oninit" onload="SMAHA00800_onload">
  5. <Layouts>
  6. <Layout>
  7. <Static id="caption11" text="발송관리" class="tit_1" position="absolute 0 0 106 25"/>
  8. <Div id="grp_sea" anchor="left top right" taborder="1" class="div_SA" position="absolute 0 25 1195 85">
  9. <Layouts>
  10. <Layout>
  11. <cp_checkboxList id="combo1" titletext="CheckBox List" taborder="16" scrollbars="none" position="absolute 110 33 478 54" style="background:transparent; " col="1" row="1" cellspacing="2" vcellspacing="0" itemWidth="100" itemHeight="20" overflow="visible"/>
  12. <Button id="btn_search" taborder="2" text="조회" class="btn1" position="absolute 1120 18 1176 40" anchor="top right" onclick="grp_sea_btn_search_onclick"/>
  13. <Shape id="line13" linetype="vertical" class="line_4" position="absolute 1097 8 1103 55" anchor="top right"/>
  14. <Button id="button5" taborder="3" class="icon_search" position="absolute 1012 10 1028 26" onclick="grp_sea_button5_onclick"/>
  15. <Static id="caption10" text="환자검색 :" class="search_name" position="absolute 870 10 949 27"/>
  16. <Combo id="cmb_sendflag" taborder="4" innerdataset="@ds_init_baseinfo_sendflag_A0121" codecolumn="cdid" datacolumn="cdnm" class="combo_search" position="absolute 92 9 212 28"/>
  17. <Static id="caption7" text="발송구분 :" class="search_name" position="absolute 6 10 97 27"/>
  18. <Edit id="ipt_healexampnm" taborder="5" readonly="true" position="absolute 1032 9 1082 28" class="output"/>
  19. <Edit id="ipt_healexampid" taborder="6" class="input_search" position="absolute 947 9 1007 28" autoselect="true" autoskip="true"/>
  20. <Static id="caption3" text="~" position="absolute 753 8 768 28"/>
  21. <Static id="caption4" text="예약/건진일자 :" class="search_name" position="absolute 554 10 679 27"/>
  22. <Calendar id="ipt_rsvfrdd" taborder="7" class="input_essential" position="absolute 661 9 751 28" autoselect="true" autoskip="true" dateformat="yyyy-MM-dd" value="null"/>
  23. <Calendar id="ipt_rsvtodd" taborder="8" class="input_essential" position="absolute 765 9 855 28" autoselect="true" autoskip="true" dateformat="yyyy-MM-dd"/>
  24. <Static id="caption5" text="결과상담구분 :" class="search_name" position="absolute 5 35 117 52"/>
  25. <Static id="caption31" text="상태구분 :" class="search_name" position="absolute 411 35 484 52"/>
  26. <Static id="caption8" text="건진구분 :" class="search_name" position="absolute 222 10 313 27"/>
  27. <Combo id="cmb_healexamflag" taborder="9" innerdataset="@ds_init_baseinfo_healexamdetlflag_A0069" codecolumn="cdid" datacolumn="cdnm" class="combo_search" enable="false" position="absolute 300 9 394 28"/>
  28. <Static id="caption19" text="국가구분 :" class="search_name" position="absolute 5 35 109 52"/>
  29. <Static id="caption12" text="장소 :" class="search_name" position="absolute 412 10 503 27"/>
  30. <Combo id="cmb_placeflag" taborder="12" innerdataset="@ds_init_baseinfo_healexamplacelst_S600" codecolumn="cdid" datacolumn="cdnm" class="combo_default" position="absolute 463 9 547 28"/>
  31. <Combo id="cmb_datelist" taborder="13" codecolumn="codecolumn" datacolumn="datacolumn" position="absolute 559 9 659 28" autoselect="true">
  32. <Dataset id="innerdataset">
  33. <ColumnInfo>
  34. <Column id="codecolumn"/>
  35. <Column id="datacolumn"/>
  36. </ColumnInfo>
  37. <Rows>
  38. <Row>
  39. <Col id="codecolumn">1</Col>
  40. <Col id="datacolumn">예약/건진일</Col>
  41. </Row>
  42. <Row>
  43. <Col id="codecolumn">2</Col>
  44. <Col id="datacolumn">발송일자</Col>
  45. </Row>
  46. </Rows>
  47. </Dataset>
  48. </Combo>
  49. <cp_checkboxList id="checkbox1" titletext="CheckBox List" taborder="14" scrollbars="none" position="absolute 492 33 1028 54" style="background:transparent; " col="1" row="1" cellspacing="2" vcellspacing="0" itemWidth="100" itemHeight="20" overflow="visible"/>
  50. <cp_checkboxList id="cmb_brthareacnts" titletext="CheckBox List" taborder="15" scrollbars="none" position="absolute 110 33 473 54" style="background:transparent; " col="1" row="1" cellspacing="2" vcellspacing="0" itemWidth="100" itemHeight="20" overflow="visible"/>
  51. </Layout>
  52. </Layouts>
  53. </Div>
  54. <Tab id="swt_send" taborder="2" tabindex="0" position="absolute 0 87 1195 755" anchor="all" onchanged="swt_send_onchanged">
  55. <Tabpages>
  56. <Tabpage id="case_T" text="발송대상">
  57. <Layouts>
  58. <Layout>
  59. <Static id="caption1" text="발송처리정보" class="tit_2" position="absolute 0 4 127 25"/>
  60. <Shape id="line1" linetype="horizontal" class="line_10" position="absolute 0 20 1195 26" anchor="left top right"/>
  61. <Calendar id="ipt_senddd" taborder="1" class="input_essential" position="absolute 84 27 192 46" autoselect="true" autoskip="true"/>
  62. <Radio id="rdo_sendyn" taborder="2" columncount="2" rowcount="1" codecolumn="codecolumn" datacolumn="datacolumn" position="absolute 290 26 353 46">
  63. <Dataset id="innerdataset">
  64. <ColumnInfo>
  65. <Column id="codecolumn"/>
  66. <Column id="datacolumn"/>
  67. </ColumnInfo>
  68. <Rows>
  69. <Row>
  70. <Col id="codecolumn">Y</Col>
  71. <Col id="datacolumn">Y</Col>
  72. </Row>
  73. <Row>
  74. <Col id="codecolumn">N</Col>
  75. <Col id="datacolumn">N</Col>
  76. </Row>
  77. </Rows>
  78. </Dataset>
  79. </Radio>
  80. <Static id="caption15" text="발송일자" class="cell_1" position="absolute 0 25 81 48"/>
  81. <Static id="caption17" text="발송처리Y/N" class="cell_1" position="absolute 195 25 284 48"/>
  82. <Grid id="grd_send" taborder="3" binddataset="ds_main_sendcdlst_item" useinputpanel="false" position="absolute 0 53 1195 634" autoenter="select" cellsizingtype="col" anchor="all" onrbuttondown="swt_send_case_T_grd_send_onrbuttondown" selecttype="multirow" autosizingtype="none" extendsizetype="none" onheadclick="swt_send_case_T_grd_send_onheadclick" onrbuttonup="swt_send_case_T_grd_send_onrbuttonup" cellclickbound="cell">
  83. <Formats>
  84. <Format id="default">
  85. <Columns>
  86. <Column size="24" band="left"/>
  87. <Column size="22"/>
  88. <Column size="19"/>
  89. <Column size="100"/>
  90. <Column size="0"/>
  91. <Column size="95"/>
  92. <Column size="0"/>
  93. <Column size="73"/>
  94. <Column size="75"/>
  95. <Column size="94"/>
  96. <Column size="96"/>
  97. <Column size="60"/>
  98. <Column size="160"/>
  99. <Column size="90"/>
  100. <Column size="56"/>
  101. <Column size="80"/>
  102. <Column size="80"/>
  103. <Column size="100"/>
  104. <Column size="35"/>
  105. <Column size="0"/>
  106. <Column size="0"/>
  107. <Column size="0"/>
  108. <Column size="0"/>
  109. <Column size="0"/>
  110. <Column size="0"/>
  111. <Column size="0"/>
  112. <Column size="0"/>
  113. <Column size="0"/>
  114. </Columns>
  115. <Rows>
  116. <Row size="24" band="head"/>
  117. <Row size="24" band="head"/>
  118. <Row size="24"/>
  119. </Rows>
  120. <Band id="head">
  121. <Cell rowspan="2" taborder="undefined" autosizerow="default"/>
  122. <Cell col="1" rowspan="2" displaytype="checkbox" edittype="checkbox" taborder="undefined" autosizerow="default"/>
  123. <Cell col="2" rowspan="2" text="선택" wordwrap="word" taborder="undefined" autosizerow="default"/>
  124. <Cell col="3" rowspan="2" text="발송구분" taborder="undefined" autosizerow="default"/>
  125. <Cell col="4" text="발송유무" autosizerow="default"/>
  126. <Cell col="5" rowspan="2" text="발송일자" taborder="undefined" autosizerow="default"/>
  127. <Cell col="6" text="발송지" autosizerow="default"/>
  128. <Cell col="7" rowspan="2" text="등록번호" taborder="undefined" autosizerow="default"/>
  129. <Cell col="8" rowspan="2" text="성명" taborder="undefined" autosizerow="default"/>
  130. <Cell col="9" rowspan="2" text="주민번호" taborder="undefined" autosizerow="default"/>
  131. <Cell col="10" rowspan="2" text="휴대폰번호" taborder="undefined" autosizerow="default"/>
  132. <Cell col="11" rowspan="2" text="우편번호" taborder="undefined" autosizerow="default"/>
  133. <Cell col="12" rowspan="2" text="주소" taborder="undefined" autosizerow="default"/>
  134. <Cell col="13" rowspan="2" text="사업체" taborder="undefined" autosizerow="default"/>
  135. <Cell col="14" rowspan="2" text="상태" taborder="undefined" autosizerow="default"/>
  136. <Cell col="15" rowspan="2" text="예약일자" taborder="undefined" autosizerow="default"/>
  137. <Cell col="16" rowspan="2" text="결과일자" taborder="undefined" autosizerow="default"/>
  138. <Cell col="17" rowspan="2" text="비고" taborder="undefined" autosizerow="default"/>
  139. <Cell col="18" rowspan="2" text="출력유무" wordwrap="word" taborder="undefined" autosizerow="default"/>
  140. <Cell col="19" text="건진구분"/>
  141. <Cell col="20" text="기관코드"/>
  142. <Cell col="21" text="testcd"/>
  143. <Cell col="22" text="pkgcd"/>
  144. <Cell col="23"/>
  145. <Cell col="24"/>
  146. <Cell col="25"/>
  147. <Cell col="26"/>
  148. <Cell col="27"/>
  149. <Cell row="1" col="4" text="발송유무" autosizerow="default"/>
  150. <Cell row="1" col="6" text="발송지" autosizerow="default"/>
  151. <Cell row="1" col="19" text="건진구분"/>
  152. <Cell row="1" col="20" text="기관코드"/>
  153. <Cell row="1" col="21" text="testcd"/>
  154. <Cell row="1" col="22" text="pkgcd"/>
  155. <Cell row="1" col="23"/>
  156. <Cell row="1" col="24"/>
  157. <Cell row="1" col="25"/>
  158. <Cell row="1" col="26"/>
  159. <Cell row="1" col="27"/>
  160. </Band>
  161. <Band id="body">
  162. <Cell celltype="head" expr="currow+1"/>
  163. <Cell col="1" colspan="2" displaytype="checkbox" edittype="checkbox" text="bind:sel" expr="expr:sel == 'Y' ? 1 : 0" taborder="undefined"/>
  164. <Cell col="3" displaytype="combo" edittype="combo" style="align:center middle;" text="bind:sendflag" combodataset="ds_init_baseinfo_sendflag_A0121" combocodecol="cdid" combodatacol="cdnm"/>
  165. <Cell col="4" displaytype="checkbox" edittype="checkbox" text="bind:sendyn"/>
  166. <Cell col="5" displaytype="date" edittype="date" text="bind:senddd" calendardisplaynulltype="nulltext"/>
  167. <Cell col="6" displaytype="combo" edittype="combo" text="bind:sendaddrflag"/>
  168. <Cell col="7" text="bind:pid"/>
  169. <Cell col="8" text="bind:hngnm"/>
  170. <Cell col="9" text="bind:rrgstno" mask="######-#######" maskchar=" "/>
  171. <Cell col="10" style="align:left top;padding:3 0 0 3;" text="bind:mpphontel" wordwrap="word"/>
  172. <Cell col="11" text="bind:zipcode" mask="###-###" maskchar=" "/>
  173. <Cell col="12" style="align:left top;padding:3 0 0 3;" text="bind:detladdr" wordwrap="word"/>
  174. <Cell col="13" text="bind:cmpycd"/>
  175. <Cell col="14" displaytype="combo" style="align:center middle;" text="bind:statflag" combodataset="ds_init_baseinfo_statlst_A0107" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
  176. <Cell col="15" displaytype="date" text="bind:hopedd" mask="yyyy-MM-dd" calendardisplaynulltype="nulltext"/>
  177. <Cell col="16" text="bind:judgdd"/>
  178. <Cell col="17" style="align:left top;padding:3 0 0 3;" text="bind:remcnts" wordwrap="word"/>
  179. <Cell col="18" displaytype="checkbox" edittype="checkbox" text="bind:prtyn" expr="expr:prtyn == 'Y' ? 1 : 0"/>
  180. <Cell col="19" text="bind:healexamflag"/>
  181. <Cell col="20" text="bind:instcd"/>
  182. <Cell col="21" text="bind:orddd"/>
  183. <Cell col="22" text="bind:rsrvno"/>
  184. <Cell col="23" text="bind:rsrvdd"/>
  185. <Cell col="24" text="bind:address"/>
  186. <Cell col="25" text="bind:sexage"/>
  187. <Cell col="26" text="bind:testcd"/>
  188. <Cell col="27" text="bind:pkgcd"/>
  189. </Band>
  190. </Format>
  191. </Formats>
  192. </Grid>
  193. <Radio id="rdo_sendaddr" taborder="4" columncount="2" rowcount="1" codecolumn="codecolumn" datacolumn="datacolumn" position="absolute 451 27 544 47">
  194. <Dataset id="innerdataset">
  195. <ColumnInfo>
  196. <Column id="codecolumn"/>
  197. <Column id="datacolumn"/>
  198. </ColumnInfo>
  199. <Rows>
  200. <Row>
  201. <Col id="codecolumn">1</Col>
  202. <Col id="datacolumn">자택</Col>
  203. </Row>
  204. <Row>
  205. <Col id="codecolumn">2</Col>
  206. <Col id="datacolumn">직장</Col>
  207. </Row>
  208. </Rows>
  209. </Dataset>
  210. </Radio>
  211. <Button id="btn_betsave" taborder="5" text="일괄적용" class="btn2" position="absolute 551 26 615 48" onclick="swt_send_case_T_btn_betsave_onclick"/>
  212. <Static id="caption2" text="발송주소구분" class="cell_1" position="absolute 358 25 447 48"/>
  213. <Shape id="line6" linetype="horizontal" class="line_10" position="absolute 0 48 1195 54" anchor="left top right"/>
  214. </Layout>
  215. </Layouts>
  216. </Tabpage>
  217. <Tabpage id="case_L" text="발송내역">
  218. <Layouts>
  219. <Layout>
  220. <Static id="caption9" text="발송내역정보" class="tit_2" position="absolute 0 7 103 28"/>
  221. <Grid id="datagrid1" taborder="1" binddataset="ds_main_sendcdlst_item2" useinputpanel="false" position="absolute 0 28 1195 638" autoenter="select" autofittype="none" cellsizingtype="col" anchor="all" selecttype="multirow" onrbuttondown="swt_send_case_L_datagrid1_onrbuttondown" onheadclick="swt_send_case_L_datagrid1_onheadclick" extendsizetype="none" onrbuttonup="swt_send_case_L_datagrid1_onrbuttonup" cellclickbound="cell">
  222. <Formats>
  223. <Format id="default">
  224. <Columns>
  225. <Column size="21" band="left"/>
  226. <Column size="30" band="left"/>
  227. <Column size="100" band="left"/>
  228. <Column size="0" band="left"/>
  229. <Column size="78" band="left"/>
  230. <Column size="61" band="left"/>
  231. <Column size="80" band="left"/>
  232. <Column size="100" band="left"/>
  233. <Column size="100" band="left"/>
  234. <Column size="60" band="left"/>
  235. <Column size="80" band="left"/>
  236. <Column size="80" band="left"/>
  237. <Column size="94" band="left"/>
  238. <Column size="60"/>
  239. <Column size="90"/>
  240. <Column size="110"/>
  241. <Column size="30"/>
  242. <Column size="0"/>
  243. <Column size="0"/>
  244. <Column size="0"/>
  245. <Column size="0"/>
  246. <Column size="0"/>
  247. <Column size="0"/>
  248. <Column size="0"/>
  249. </Columns>
  250. <Rows>
  251. <Row size="24" band="head"/>
  252. <Row size="24" band="head"/>
  253. <Row size="24"/>
  254. </Rows>
  255. <Band id="head">
  256. <Cell rowspan="2" taborder="undefined"/>
  257. <Cell col="1" rowspan="2" text="선택" taborder="undefined"/>
  258. <Cell col="2" rowspan="2" text="발송구분" taborder="undefined"/>
  259. <Cell col="3" text="발송유무"/>
  260. <Cell col="4" rowspan="2" text="발송일자" taborder="undefined"/>
  261. <Cell col="5" rowspan="2" text="등록번호" taborder="undefined"/>
  262. <Cell col="6" rowspan="2" text="성명" taborder="undefined"/>
  263. <Cell col="7" rowspan="2" text="주민번호" taborder="undefined"/>
  264. <Cell col="8" rowspan="2" text="사업체" taborder="undefined"/>
  265. <Cell col="9" rowspan="2" text="상태" taborder="undefined"/>
  266. <Cell col="10" rowspan="2" text="예약일자" taborder="undefined"/>
  267. <Cell col="11" rowspan="2" text="결과일자" taborder="undefined"/>
  268. <Cell col="12" rowspan="2" text="휴대폰번호" taborder="undefined"/>
  269. <Cell col="13" rowspan="2" text="우편번호" taborder="undefined"/>
  270. <Cell col="14" rowspan="2" text="주소" taborder="undefined"/>
  271. <Cell col="15" rowspan="2" text="비고" taborder="undefined"/>
  272. <Cell col="16" rowspan="2" text="출력유무" wordwrap="word" taborder="undefined"/>
  273. <Cell col="17" text="caption1"/>
  274. <Cell col="18" text="caption2"/>
  275. <Cell col="19" text="caption3"/>
  276. <Cell col="20"/>
  277. <Cell col="21"/>
  278. <Cell col="22"/>
  279. <Cell col="23"/>
  280. <Cell row="1" col="3" text="발송유무"/>
  281. <Cell row="1" col="17" text="caption1"/>
  282. <Cell row="1" col="18" text="caption2"/>
  283. <Cell row="1" col="19" text="caption3"/>
  284. <Cell row="1" col="20"/>
  285. <Cell row="1" col="21"/>
  286. <Cell row="1" col="22"/>
  287. <Cell row="1" col="23"/>
  288. </Band>
  289. <Band id="body">
  290. <Cell celltype="head" expr="currow+1"/>
  291. <Cell col="1" displaytype="checkbox" edittype="checkbox" text="bind:sel" expr="expr:sel == 'Y' ? 1 : 0"/>
  292. <Cell col="2" displaytype="combo" edittype="combo" style="align:center middle;" text="bind:sendflag" combodataset="ds_init_baseinfo_sendflag_A0121" combocodecol="cdid" combodatacol="cdnm"/>
  293. <Cell col="3" displaytype="checkbox" edittype="checkbox" text="bind:sendyn"/>
  294. <Cell col="4" displaytype="date" edittype="date" text="bind:senddd" calendardisplaynulltype="nulltext"/>
  295. <Cell col="5" text="bind:pid"/>
  296. <Cell col="6" text="bind:hngnm"/>
  297. <Cell col="7" text="bind:rrgstno"/>
  298. <Cell col="8" text="bind:cmpycd"/>
  299. <Cell col="9" displaytype="combo" style="align:center middle;" text="bind:statflag" combodataset="ds_init_baseinfo_statlst_A0107" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
  300. <Cell col="10" displaytype="date" text="bind:hopedd" calendardisplaynulltype="nulltext"/>
  301. <Cell col="11" displaytype="date" text="bind:judgdd" calendardisplaynulltype="nulltext"/>
  302. <Cell col="12" style="align:left top;padding:3 0 0 3;" text="bind:mpphontel" wordwrap="word"/>
  303. <Cell col="13" text="bind:zipcode" mask="###-###" maskchar=" "/>
  304. <Cell col="14" style="align:left top;padding:3 0 0 3;" text="bind:detladdr" wordwrap="word"/>
  305. <Cell col="15" style="align:left top;padding:3 0 0 3;" text="bind:remcnts" wordwrap="word"/>
  306. <Cell col="16" displaytype="checkbox" style="controlbackground:silver;controlborder:1 solid #708090cc ;" text="bind:prtyn" expr="expr:prtyn == 'Y' ? 1 : 0" enable="false"/>
  307. <Cell col="17" text="bind:rsrvno"/>
  308. <Cell col="18" text="bind:healexamflag"/>
  309. <Cell col="19" text="bind:instcd"/>
  310. <Cell col="20" text="bind:sendaddrflag"/>
  311. <Cell col="21" text="bind:rsrvdd"/>
  312. <Cell col="22" text="bind:address"/>
  313. <Cell col="23" text="bind:sexage"/>
  314. </Band>
  315. </Format>
  316. </Formats>
  317. </Grid>
  318. <Shape id="line3" linetype="horizontal" class="line_10" position="absolute 0 23 1195 29" anchor="left top right"/>
  319. </Layout>
  320. </Layouts>
  321. </Tabpage>
  322. <Tabpage id="case_V" text="반송내역">
  323. <Layouts>
  324. <Layout>
  325. <Static id="caption6" text="반송처리정보" class="tit_2" position="absolute 0 7 103 28"/>
  326. <Grid id="grd_return" taborder="1" binddataset="ds_main_sendcdlst_item3" autoenter="select" useinputpanel="false" cellsizingtype="col" position="absolute 0 28 1195 638" anchor="all" selecttype="multirow" onrbuttondown="swt_send_case_V_grd_return_onrbuttondown" onheadclick="swt_send_case_V_grd_return_onheadclick" onrbuttonup="swt_send_case_V_grd_return_onrbuttonup" cellclickbound="cell">
  327. <Formats>
  328. <Format id="default">
  329. <Columns>
  330. <Column size="25" band="left"/>
  331. <Column size="30"/>
  332. <Column size="90"/>
  333. <Column size="0"/>
  334. <Column size="85"/>
  335. <Column size="80"/>
  336. <Column size="80"/>
  337. <Column size="100"/>
  338. <Column size="80"/>
  339. <Column size="60"/>
  340. <Column size="80"/>
  341. <Column size="80"/>
  342. <Column size="300"/>
  343. <Column size="30"/>
  344. <Column size="0"/>
  345. <Column size="0"/>
  346. <Column size="0"/>
  347. <Column size="0"/>
  348. <Column size="0"/>
  349. <Column size="0"/>
  350. <Column size="0"/>
  351. <Column size="0"/>
  352. <Column size="0"/>
  353. </Columns>
  354. <Rows>
  355. <Row size="24" band="head"/>
  356. <Row size="24" band="head"/>
  357. <Row size="24"/>
  358. </Rows>
  359. <Band id="head">
  360. <Cell rowspan="2" taborder="undefined"/>
  361. <Cell col="1" rowspan="2" text="선택" taborder="undefined"/>
  362. <Cell col="2" rowspan="2" text="발송구분" taborder="undefined"/>
  363. <Cell col="3" text="발송유무"/>
  364. <Cell col="4" rowspan="2" text="발송일자" taborder="undefined"/>
  365. <Cell col="5" rowspan="2" text="등록번호" taborder="undefined"/>
  366. <Cell col="6" rowspan="2" text="성명" taborder="undefined"/>
  367. <Cell col="7" rowspan="2" text="주민번호" taborder="undefined"/>
  368. <Cell col="8" rowspan="2" text="사업체" taborder="undefined"/>
  369. <Cell col="9" rowspan="2" text="상태" taborder="undefined"/>
  370. <Cell col="10" rowspan="2" text="예약일자" taborder="undefined"/>
  371. <Cell col="11" rowspan="2" text="결과일자" taborder="undefined"/>
  372. <Cell col="12" rowspan="2" text="비고" taborder="undefined"/>
  373. <Cell col="13" rowspan="2" text="출력유무" wordwrap="word" taborder="undefined"/>
  374. <Cell col="14" text="caption1"/>
  375. <Cell col="15" text="caption2"/>
  376. <Cell col="16" text="caption3"/>
  377. <Cell col="17"/>
  378. <Cell col="18"/>
  379. <Cell col="19"/>
  380. <Cell col="20"/>
  381. <Cell col="21"/>
  382. <Cell col="22"/>
  383. <Cell row="1" col="3" text="발송유무"/>
  384. <Cell row="1" col="14" text="caption1"/>
  385. <Cell row="1" col="15" text="caption2"/>
  386. <Cell row="1" col="16" text="caption3"/>
  387. <Cell row="1" col="17"/>
  388. <Cell row="1" col="18"/>
  389. <Cell row="1" col="19"/>
  390. <Cell row="1" col="20"/>
  391. <Cell row="1" col="21"/>
  392. <Cell row="1" col="22"/>
  393. </Band>
  394. <Band id="body">
  395. <Cell celltype="head" expr="currow+1"/>
  396. <Cell col="1" displaytype="checkbox" edittype="checkbox" text="bind:sel" expr="expr:sel == 'Y' ? 1 : 0"/>
  397. <Cell col="2" displaytype="combo" edittype="combo" style="align:center middle;" text="bind:sendflag" combodataset="ds_init_baseinfo_sendflag_A0121" combocodecol="cdid" combodatacol="cdnm"/>
  398. <Cell col="3" displaytype="checkbox" edittype="checkbox" text="bind:sendyn"/>
  399. <Cell col="4" displaytype="date" edittype="date" text="bind:senddd" calendardisplaynulltype="nulltext"/>
  400. <Cell col="5" text="bind:pid"/>
  401. <Cell col="6" text="bind:hngnm"/>
  402. <Cell col="7" text="bind:rrgstno"/>
  403. <Cell col="8" text="bind:cmpycd"/>
  404. <Cell col="9" displaytype="combo" style="align:center middle;" text="bind:statflag" combodataset="ds_init_baseinfo_statlst_A0107" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
  405. <Cell col="10" displaytype="date" text="bind:hopedd" calendardisplaynulltype="nulltext"/>
  406. <Cell col="11" displaytype="date" text="bind:judgdd" calendardisplaynulltype="nulltext"/>
  407. <Cell col="12" style="align:left top;padding:3 0 0 3;" text="bind:remcnts" wordwrap="word"/>
  408. <Cell col="13" displaytype="checkbox" style="controlbackground:silver;controlborder:1 solid #708090cc ;" text="bind:prtyn" expr="expr:prtyn == 'Y' ? 1 : 0" enable="false"/>
  409. <Cell col="14" text="bind:rsrvno"/>
  410. <Cell col="15" text="bind:healexamflag"/>
  411. <Cell col="16" text="bind:instcd"/>
  412. <Cell col="17" text="bind:sendaddrflag"/>
  413. <Cell col="18" text="bind:rsrvdd"/>
  414. <Cell col="19" text="bind:detladdr"/>
  415. <Cell col="20" text="bind:address"/>
  416. <Cell col="21" text="bind:zipcode"/>
  417. <Cell col="22" text="bind:sexage"/>
  418. </Band>
  419. </Format>
  420. </Formats>
  421. </Grid>
  422. <Shape id="line2" class="line_10" position="absolute 0 23 1195 29" anchor="left top right"/>
  423. </Layout>
  424. </Layouts>
  425. </Tabpage>
  426. </Tabpages>
  427. </Tab>
  428. <Button id="button2" taborder="3" text="주소출력" class="btn6" position="absolute 82 753 162 775" anchor="left bottom" onclick="button2_onclick"/>
  429. <Button id="button91" taborder="4" text="라벨출력" class="btn6" position="absolute 0 753 80 775" anchor="left bottom" onclick="button91_onclick"/>
  430. <Combo id="combo2" taborder="5" codecolumn="codecolumn" datacolumn="datacolumn" position="absolute 175 753 275 772" anchor="left bottom">
  431. <Dataset id="innerdataset">
  432. <ColumnInfo>
  433. <Column id="codecolumn"/>
  434. <Column id="datacolumn"/>
  435. </ColumnInfo>
  436. <Rows>
  437. <Row>
  438. <Col id="codecolumn">01</Col>
  439. <Col id="datacolumn">2x5</Col>
  440. </Row>
  441. <Row>
  442. <Col id="codecolumn">02</Col>
  443. <Col id="datacolumn">2x8</Col>
  444. </Row>
  445. </Rows>
  446. </Dataset>
  447. </Combo>
  448. <Button id="button1" taborder="6" text="엑셀저장" class="btn7" position="absolute 895 753 975 775" anchor="right bottom" onclick="button1_onclick"/>
  449. <Button id="button15" taborder="7" text="반송처리" class="btn4" position="absolute 980 753 1060 775" anchor="right bottom" onclick="button15_onclick" enable="false"/>
  450. <Button id="button16" taborder="8" text="재발송" class="btn4" position="absolute 1065 753 1133 775" anchor="right bottom" onclick="button16_onclick" enable="false"/>
  451. <Button id="button9" taborder="9" text="취소" class="btn4" visible="false" position="absolute 1135 753 1191 775" anchor="right bottom"/>
  452. <Button id="button11" taborder="10" text="저장" class="btn4" position="absolute 1135 753 1191 775" anchor="right bottom" onclick="button11_onclick"/>
  453. <PopupMenu id="pmn_menu1" position="absolute 1225 99 1298 141" innerdataset="@ds_menu" idcolumn="func" captioncolumn="label" levelcolumn="level" onmenuclick="pmn_menu1_onmenuclick" onlbuttondown="pmn_menu1_onlbuttondown"/>
  454. </Layout>
  455. </Layouts>
  456. <Objects>
  457. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  458. <ColumnInfo>
  459. <Column id="srchdatelist" type="STRING" size="256"/>
  460. <Column id="srcsendflag" type="STRING" size="256"/>
  461. <Column id="sendfrdd" type="STRING" size="256"/>
  462. <Column id="sendtodd" type="STRING" size="256"/>
  463. <Column id="rsvfrdd" type="STRING" size="256"/>
  464. <Column id="rsvtodd" type="STRING" size="256"/>
  465. <Column id="healexampid" type="STRING" size="256"/>
  466. <Column id="shrchealexamflag" type="STRING" size="256"/>
  467. <Column id="rsltcnstflag" type="STRING" size="256"/>
  468. <Column id="ipt_pnm" type="STRING" size="256"/>
  469. <Column id="statflag" type="STRING" size="256"/>
  470. <Column id="srchhealexamdetlflag" type="STRING" size="256"/>
  471. <Column id="healexamflag" type="STRING" size="256"/>
  472. <Column id="brthareacnts" type="STRING" size="256"/>
  473. <Column id="printformat" type="STRING" size="256"/>
  474. <Column id="srchhealexamplacecd" type="STRING" size="256"/>
  475. </ColumnInfo>
  476. <Rows>
  477. <Row>
  478. <Col id="srchdatelist"/>
  479. <Col id="srcsendflag"/>
  480. <Col id="sendfrdd"/>
  481. <Col id="sendtodd"/>
  482. <Col id="rsvfrdd"/>
  483. <Col id="rsvtodd"/>
  484. <Col id="healexampid"/>
  485. <Col id="shrchealexamflag"/>
  486. <Col id="rsltcnstflag"/>
  487. <Col id="ipt_pnm"/>
  488. <Col id="statflag"/>
  489. <Col id="srchhealexamdetlflag"/>
  490. <Col id="printformat">01</Col>
  491. </Row>
  492. </Rows>
  493. </Dataset>
  494. <Dataset id="ds_send_batchset" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  495. <ColumnInfo>
  496. <Column id="senddd" type="STRING" size="256"/>
  497. <Column id="sendaddrflag" type="STRING" size="256"/>
  498. <Column id="sendyn" type="STRING" size="256"/>
  499. </ColumnInfo>
  500. <Rows>
  501. <Row>
  502. <Col id="senddd"/>
  503. <Col id="sendaddrflag">1</Col>
  504. <Col id="sendyn"/>
  505. </Row>
  506. </Rows>
  507. </Dataset>
  508. <Dataset id="ds_main_sendcdlst_item" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_main_sendcdlst_item_oncolumnchanged">
  509. <ColumnInfo>
  510. <Column id="sel" type="STRING" size="256" sumtext="선택"/>
  511. <Column id="sendflag" type="STRING" size="256" sumtext="발송구분"/>
  512. <Column id="sendyn" type="STRING" size="256" sumtext="발송유무"/>
  513. <Column id="senddd" type="STRING" size="256" sumtext="발송일자"/>
  514. <Column id="sendaddrflag" type="STRING" size="256" sumtext="발송지구분"/>
  515. <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
  516. <Column id="hngnm" type="STRING" size="256" sumtext="성명"/>
  517. <Column id="rrgstno" type="STRING" size="256" sumtext="주민번호"/>
  518. <Column id="mpphontel" type="STRING" size="256" sumtext="휴대폰번호"/>
  519. <Column id="zipcode" type="STRING" size="256" sumtext="우편주소"/>
  520. <Column id="detladdr" type="STRING" size="256" sumtext="주소"/>
  521. <Column id="cmpycd" type="STRING" size="256" sumtext="사업체"/>
  522. <Column id="statflag" type="STRING" size="256" sumtext="상태구분"/>
  523. <Column id="hopedd" type="STRING" size="256" sumtext="예약일자"/>
  524. <Column id="judgdd" type="STRING" size="256" sumtext="결과일자"/>
  525. <Column id="remcnts" type="STRING" size="256" sumtext="비고"/>
  526. <Column id="prtyn" type="STRING" size="256" sumtext="출력유무"/>
  527. <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
  528. <Column id="healexamflag" type="STRING" size="256" sumtext="건진구분"/>
  529. <Column id="rsrvdd" type="STRING" size="256" sumtext="예약일자"/>
  530. <Column id="rsrvno" type="INT" size="256" sumtext="예약번호"/>
  531. <Column id="orddd" type="STRING" size="256" sumtext="진료일자"/>
  532. <Column id="sexage" type="STRING" size="256" sumtext="성별/나이"/>
  533. <Column id="zipcd21" type="STRING" size="256" sumtext="우편번호"/>
  534. <Column id="zipcd22" type="STRING" size="256" sumtext="우편번호"/>
  535. <Column id="zipcdseq2" type="STRING" size="256" sumtext="우편일련번호"/>
  536. <Column id="addr2" type="STRING" size="256" sumtext="상위주소"/>
  537. <Column id="detladdr2" type="STRING" size="256" sumtext="하위주소"/>
  538. <Column id="address" type="STRING" size="256" sumtext="전체주소"/>
  539. <Column id="testcd" type="STRING" size="256" sumtext="추가검사"/>
  540. <Column id="pkgcd" type="STRING" size="256" sumtext="패키지코드"/>
  541. <Column id="rsrvflag" type="STRING" size="256"/>
  542. <Column id="disccd" type="STRING" size="256"/>
  543. <Column id="telno" type="STRING" size="256"/>
  544. <Column id="mpphon" type="STRING" size="256"/>
  545. <Column id="cmpynm" type="STRING" size="256"/>
  546. <Column id="healexamdetlflag" type="STRING" size="256"/>
  547. </ColumnInfo>
  548. </Dataset>
  549. <Dataset id="ds_init_baseinfo_sendflag_A0121" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  550. <Dataset id="ds_init_baseinfo_statlst_A0107" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  551. <Dataset id="ds_init_baseinfo_healexamdetlflag_A0069" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  552. <Dataset id="ds_init_baseinfo_healexamplacelst_S600" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  553. <Dataset id="ds_init_baseinfo_rsltcnstflaglst_S080" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  554. <Dataset id="ds_init_baseinfo_nationlst_A0465" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  555. <Dataset id="ds_init_baseinfo_healexamdetlflag_A0070" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  556. <Dataset id="ds_main_sendcdlst_item3" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_main_sendcdlst_item3_oncolumnchanged">
  557. <ColumnInfo>
  558. <Column id="sel" type="STRING" size="256" sumtext="선택"/>
  559. <Column id="sendflag" type="STRING" size="256" sumtext="발송구분"/>
  560. <Column id="sendyn" type="STRING" size="256" sumtext="발송유무"/>
  561. <Column id="senddd" type="STRING" size="256" sumtext="발송일자"/>
  562. <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
  563. <Column id="hngnm" type="STRING" size="256" sumtext="성명"/>
  564. <Column id="rrgstno" type="STRING" size="256" sumtext="주민번호"/>
  565. <Column id="cmpycd" type="STRING" size="256" sumtext="사업체"/>
  566. <Column id="statflag" type="STRING" size="256" sumtext="상태구분"/>
  567. <Column id="hopedd" type="STRING" size="256" sumtext="예약일자"/>
  568. <Column id="judgdd" type="STRING" size="256" sumtext="결과일자"/>
  569. <Column id="remcnts" type="STRING" size="256" sumtext="비고"/>
  570. <Column id="prtyn" type="STRING" size="256" sumtext="출력유무"/>
  571. <Column id="zipcode" type="STRING" size="256" sumtext="우편주소"/>
  572. <Column id="detladdr" type="STRING" size="256" sumtext="주소"/>
  573. <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
  574. <Column id="healexamflag" type="STRING" size="256" sumtext="건진구분"/>
  575. <Column id="rsrvdd" type="STRING" size="256" sumtext="예약일자"/>
  576. <Column id="rsrvno" type="INT" size="256" sumtext="예약번호"/>
  577. <Column id="orddd" type="STRING" size="256" sumtext="진료일자"/>
  578. <Column id="sendaddrflag" type="STRING" size="256" sumtext="발송지구분"/>
  579. <Column id="sexage" type="STRING" size="256" sumtext="성별/나이"/>
  580. <Column id="zipcd21" type="STRING" size="256" sumtext="우편번호"/>
  581. <Column id="zipcd22" type="STRING" size="256" sumtext="우편번호"/>
  582. <Column id="zipcdseq2" type="STRING" size="256" sumtext="우편일련번호"/>
  583. <Column id="addr2" type="STRING" size="256" sumtext="우편번호 주소"/>
  584. <Column id="detladdr2" type="STRING" size="256" sumtext="상세주소"/>
  585. <Column id="address" type="STRING" size="256" sumtext="전체주소"/>
  586. </ColumnInfo>
  587. </Dataset>
  588. <Dataset id="ds_main_sendcdlst_item2" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_main_sendcdlst_item2_oncolumnchanged">
  589. <ColumnInfo>
  590. <Column id="sel" type="STRING" size="256" sumtext="선택"/>
  591. <Column id="sendflag" type="STRING" size="256" sumtext="발송구분"/>
  592. <Column id="sendyn" type="STRING" size="256" sumtext="발송유무"/>
  593. <Column id="senddd" type="STRING" size="256" sumtext="발송일자"/>
  594. <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
  595. <Column id="hngnm" type="STRING" size="256" sumtext="성명"/>
  596. <Column id="rrgstno" type="STRING" size="256" sumtext="주민번호"/>
  597. <Column id="cmpycd" type="STRING" size="256" sumtext="사업체"/>
  598. <Column id="statflag" type="STRING" size="256" sumtext="상태구분"/>
  599. <Column id="hopedd" type="STRING" size="256" sumtext="예약일자"/>
  600. <Column id="judgdd" type="STRING" size="256" sumtext="결과일자"/>
  601. <Column id="mpphontel" type="STRING" size="256" sumtext="휴대폰번호"/>
  602. <Column id="zipcode" type="STRING" size="256" sumtext="우편번호"/>
  603. <Column id="detladdr" type="STRING" size="256" sumtext="주소"/>
  604. <Column id="remcnts" type="STRING" size="256" sumtext="비고"/>
  605. <Column id="prtyn" type="STRING" size="256" sumtext="출력유무"/>
  606. <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
  607. <Column id="healexamflag" type="STRING" size="256" sumtext="건진구분"/>
  608. <Column id="rsrvdd" type="STRING" size="256" sumtext="예약일자"/>
  609. <Column id="rsrvno" type="INT" size="256" sumtext="예약번호"/>
  610. <Column id="orddd" type="STRING" size="256" sumtext="진료일자"/>
  611. <Column id="sendaddrflag" type="STRING" size="256" sumtext="발송지구분"/>
  612. <Column id="sexage" type="STRING" size="256" sumtext="성별/나이"/>
  613. <Column id="zipcd21" type="STRING" size="256" sumtext="우편번호"/>
  614. <Column id="zipcd22" type="STRING" size="256" sumtext="우편번호"/>
  615. <Column id="zipcdseq2" type="STRING" size="256" sumtext="우편일련번호"/>
  616. <Column id="addr2" type="STRING" size="256" sumtext="상위주소"/>
  617. <Column id="detladdr2" type="STRING" size="256" sumtext="하위주소"/>
  618. <Column id="address" type="STRING" size="256" sumtext="전체주소"/>
  619. </ColumnInfo>
  620. </Dataset>
  621. <Dataset id="ds_menu" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  622. <ColumnInfo>
  623. <Column id="label" type="STRING" size="256"/>
  624. <Column id="func" type="STRING" size="256"/>
  625. <Column id="level" type="STRING" size="256"/>
  626. </ColumnInfo>
  627. <Rows>
  628. <Row>
  629. <Col id="label">선택</Col>
  630. <Col id="func">fCheck</Col>
  631. </Row>
  632. <Row>
  633. <Col id="label">선택취소</Col>
  634. <Col id="func">fUnCheck</Col>
  635. </Row>
  636. </Rows>
  637. </Dataset>
  638. <Dataset id="ds_main_seqprntdata_labelname" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  639. <ColumnInfo>
  640. <Column id="sel" type="STRING" size="256" sumtext="선택"/>
  641. <Column id="sendflag" type="STRING" size="256" sumtext="발송구분"/>
  642. <Column id="sendyn" type="STRING" size="256" sumtext="발송유무"/>
  643. <Column id="senddd" type="STRING" size="256" sumtext="발송일자"/>
  644. <Column id="sendaddrflag" type="STRING" size="256" sumtext="발송지구분"/>
  645. <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
  646. <Column id="hngnm" type="STRING" size="256" sumtext="성명"/>
  647. <Column id="rrgstno" type="STRING" size="256" sumtext="주민번호"/>
  648. <Column id="mpphontel" type="STRING" size="256" sumtext="휴대폰번호"/>
  649. <Column id="zipcode" type="STRING" size="256" sumtext="우편주소"/>
  650. <Column id="detladdr" type="STRING" size="256" sumtext="주소"/>
  651. <Column id="cmpycd" type="STRING" size="256" sumtext="사업체"/>
  652. <Column id="statflag" type="STRING" size="256" sumtext="상태구분"/>
  653. <Column id="hopedd" type="STRING" size="256" sumtext="예약일자"/>
  654. <Column id="judgdd" type="STRING" size="256" sumtext="결과일자"/>
  655. <Column id="remcnts" type="STRING" size="256" sumtext="비고"/>
  656. <Column id="prtyn" type="STRING" size="256" sumtext="출력유무"/>
  657. <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
  658. <Column id="healexamflag" type="STRING" size="256" sumtext="건진구분"/>
  659. <Column id="rsrvdd" type="STRING" size="256" sumtext="예약일자"/>
  660. <Column id="rsrvno" type="INT" size="256" sumtext="예약번호"/>
  661. <Column id="orddd" type="STRING" size="256" sumtext="진료일자"/>
  662. <Column id="sexage" type="STRING" size="256" sumtext="성별/나이"/>
  663. <Column id="zipcd21" type="STRING" size="256" sumtext="우편번호"/>
  664. <Column id="zipcd22" type="STRING" size="256" sumtext="우편번호"/>
  665. <Column id="zipcdseq2" type="STRING" size="256" sumtext="우편일련번호"/>
  666. <Column id="addr2" type="STRING" size="256" sumtext="상위주소"/>
  667. <Column id="detladdr2" type="STRING" size="256" sumtext="하위주소"/>
  668. <Column id="address" type="STRING" size="256" sumtext="전체주소"/>
  669. <Column id="testcd" type="STRING" size="256" sumtext="추가검사"/>
  670. <Column id="pkgcd" type="STRING" size="256" sumtext="패키지코드"/>
  671. </ColumnInfo>
  672. </Dataset>
  673. <Dataset id="ds_main_seqprntdata_labelname_list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  674. <Dataset id="ds_send_save_senddata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  675. <Dataset id="ds_main_appprntdata_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  676. <Dataset id="ds_main_appprntdata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  677. </Objects>
  678. <Bind>
  679. <BindItem id="item0" compid="grp_sea.cmb_sendflag" propid="value" datasetid="ds_send" columnid="srcsendflag"/>
  680. <BindItem id="item1" compid="grp_sea.cmb_healexamflag" propid="value" datasetid="ds_send" columnid="srchhealexamdetlflag"/>
  681. <BindItem id="item2" compid="grp_sea.cmb_placeflag" propid="value" datasetid="ds_send" columnid="srchhealexamplacecd"/>
  682. <BindItem id="item3" compid="grp_sea.cmb_datelist" propid="value" datasetid="ds_send" columnid="srchdatelist"/>
  683. <BindItem id="item4" compid="grp_sea.ipt_rsvfrdd" propid="value" datasetid="ds_send" columnid="rsvfrdd"/>
  684. <BindItem id="item5" compid="grp_sea.ipt_rsvtodd" propid="value" datasetid="ds_send" columnid="rsvtodd"/>
  685. <BindItem id="item6" compid="grp_sea.ipt_healexampid" propid="value" datasetid="ds_send" columnid="healexampid"/>
  686. <BindItem id="item7" compid="grp_sea.ipt_healexampnm" propid="value" datasetid="ds_send" columnid="ipt_pnm"/>
  687. <BindItem id="item8" compid="combo2" propid="value" datasetid="ds_send" columnid="printformat"/>
  688. <BindItem id="item9" compid="swt_send.case_T.ipt_senddd" propid="value" datasetid="ds_send_batchset" columnid="senddd"/>
  689. <BindItem id="item10" compid="swt_send.case_T.rdo_sendyn" propid="value" datasetid="ds_send_batchset" columnid="sendyn"/>
  690. <BindItem id="item11" compid="swt_send.case_T.rdo_sendaddr" propid="value" datasetid="ds_send_batchset" columnid="sendaddrflag"/>
  691. </Bind>
  692. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  693. * System Name :
  694. * Job Name :
  695. * Creator :
  696. * Make Date : 2015-11-13
  697. * Description :
  698. *---------------------------------------------------------------------------------------
  699. * Modify Date Modifier Modify Description
  700. *---------------------------------------------------------------------------------------
  701. * 2015-11-13 Live Converter TF->XP
  702. *
  703. *---------------------------------------------------------------------------------------
  704. ****************************************************************************************/
  705. include "com_commonxp::comm_main.xjs";
  706. include "ast_healexamxp::AHA001.xjs";
  707. include "ast_healthexambasexp::healcombolist.xjs";
  708. var arErrorCode = new HashArray();
  709. function SMAHA00800_oninit(obj:Form, e:InitEventInfo)
  710. {
  711. frmf_initForm(obj);
  712. }
  713. function SMAHA00800_onload(obj:Form, e:LoadEventInfo)
  714. {
  715. grdf_initGrid(swt_send.case_L.datagrid1);
  716. grdf_initGrid(swt_send.case_T.grd_send);
  717. grdf_initGrid(swt_send.case_V.grd_return);
  718. grdf_setToolTipBind(swt_send.case_L.datagrid1);
  719. grdf_setToolTipBind(swt_send.case_T.grd_send);
  720. grdf_setToolTipBind(swt_send.case_V.grd_return);
  721. var sFlag = frmf_getMenuParam();
  722. if(utlf_isNull(sFlag))
  723. {
  724. vHealexamflag = "C";
  725. vHealexamdetlflag = "C01";
  726. }
  727. else
  728. {
  729. vHealexamflag = sFlag.substr(0,1);
  730. vHealexamdetlflag = sFlag;
  731. }
  732. ds_send.setColumn(0, "shrchealexamflag", vHealexamflag);
  733. ds_send.setColumn(0, "srchhealexamdetlflag", vHealexamdetlflag);
  734. var arrParam = [{dsNm: "ds_init_baseinfo_rsltcnstflaglst_S080", cdGrpId: "S080"}];
  735. healGetCodeListSubmit(arrParam);
  736. ds_init_baseinfo_rsltcnstflaglst_S080.deleteRow(0);
  737. var arrParam = [{dsNm: "ds_init_baseinfo_healexamplacelst_S600", cdGrpId: "S600"}];
  738. healGetCodeList(arrParam);
  739. var arrParam = [{dsNm: "ds_init_baseinfo_sendflag_A0121", cdGrpId: "A0121"}
  740. ,{dsNm: "ds_init_baseinfo_rsltcnstflag_A0123", cdGrpId: "A0123"}
  741. ,{dsNm: "ds_init_baseinfo_healexamdetlflag_A0069", cdGrpId: "A0069"}
  742. ,{dsNm: "ds_init_baseinfo_chealexamdetlflag_A0070", cdGrpId: "A0070"}
  743. ,{dsNm: "ds_init_baseinfo_doctorlst_A0484", cdGrpId: "A0484"}
  744. ,{dsNm: "ds_init_baseinfo_doctordeptlst_A0485", cdGrpId: "A0485"}
  745. ,{dsNm: "ds_init_baseinfo_sendaddressflag_A0468", cdGrpId: "A0468"}
  746. ,{dsNm: "ds_init_baseinfo_nationlst_A0465", cdGrpId: "A0465"}
  747. ,{dsNm: "ds_init_baseinfo_statlst_A0107", cdGrpId: "A0107"}]
  748. appf_getCodeList(arrParam);
  749. var sProp="col=4,row=1,cellspacing=4,vcellspacing=0,itemWidth=-1,itemHeight=20,overflow='visible'";
  750. grp_sea.combo1.setInitComp(sProp, ds_init_baseinfo_rsltcnstflaglst_S080,"cdid","cdnm","fn_cmpEvent");
  751. var sProp="col=5,row=3,cellspacing=4,vcellspacing=0,itemWidth=-1,itemHeight=20,overflow='visible'";
  752. grp_sea.cmb_brthareacnts.setInitComp(sProp, ds_init_baseinfo_nationlst_A0465,"cdid","cdnm","fn_cmpEvent2");
  753. var sProp="col=9,row=1,cellspacing=4,vcellspacing=0,itemWidth=-1,itemHeight=20,overflow='visible'";
  754. grp_sea.checkbox1.setInitComp(sProp, ds_init_baseinfo_statlst_A0107,"cdid","cdnm","fn_cmpEvent3");
  755. var aData = new Array();
  756. aData[0] = "01";
  757. aData[1] = "02";
  758. aData[2] = "03";
  759. aData[3] = "04";
  760. grp_sea.combo1.setData(aData, "",false);
  761. var aData = new Array();
  762. aData[0] = "A";
  763. aData[1] = "B";
  764. aData[2] = "C";
  765. aData[3] = "D";
  766. aData[4] = "E";
  767. aData[5] = "F";
  768. aData[6] = "G";
  769. aData[7] = "H";
  770. aData[8] = "I";
  771. grp_sea.checkbox1.setData(aData, "",false);
  772. ds_send.setColumn(0, "rsltcnstflag", "01 02 03 04");
  773. ds_send.setColumn(0, "statflag", "A B C D E F G H I");
  774. fInitCtrl(true);
  775. if(vHealexamflag == 'C')
  776. {
  777. grp_sea.cmb_sendflag.index = 0;
  778. grp_sea.cmb_healexamflag.enable = true;
  779. grp_sea.caption5.visible = true;
  780. grp_sea.combo1.visible = true;
  781. grp_sea.caption19.visible = false;
  782. grp_sea.cmb_brthareacnts.visible = false;
  783. }
  784. if(vHealexamflag == 'G')
  785. {
  786. grp_sea.cmb_sendflag.index = 0;
  787. grp_sea.cmb_healexamflag.enable = true;
  788. grp_sea.caption5.visible=true;
  789. grp_sea.combo1.visible = true;
  790. grp_sea.caption19.visible = false;
  791. grp_sea.cmb_brthareacnts.visible = false;
  792. }
  793. ds_init_baseinfo_healexamdetlflag_A0070.deleteRow(0);
  794. ds_send.setColumn(0,"srchdatelist","2");
  795. }
  796. function fn_cmpEvent()
  797. {
  798. ds_send.setColumn(0, "rsltcnstflag", String(grp_sea.combo1.getData()).replace(",", " "));
  799. }
  800. function fn_cmpEvent2()
  801. {
  802. ds_send.setColumn(0, "brthareacnts", String(grp_sea.cmb_brthareacnts.getData()).replace(",", " "));
  803. }
  804. function fn_cmpEvent3()
  805. {
  806. ds_send.setColumn(0, "statflag", String(grp_sea.checkbox1.getData()).replace(",", " "));
  807. }
  808. function fInitCtrl(bAll)
  809. {
  810. if( bAll == true )
  811. {
  812. var curDt = utlf_getCurrentDate();
  813. grp_sea.ipt_rsvfrdd.value = curDt;
  814. grp_sea.ipt_rsvtodd.value = curDt;
  815. swt_send.case_T.ipt_senddd.value = curDt;
  816. grp_sea.cmb_datelist.visible = false;
  817. }
  818. var vHealExamDetlFg = fGetHealExamDetlFlag();
  819. if( vHealExamDetlFg == 'C01' )
  820. {
  821. grp_sea.cmb_placeflag.value='S';
  822. }
  823. else if (vHealExamDetlFg == 'C03')
  824. {
  825. grp_sea.cmb_placeflag.value='K';
  826. }
  827. swt_send.tabindex = 0;
  828. }
  829. function grp_sea_button5_onclick(obj:Button, e:ClickEventInfo)
  830. {
  831. //fSearchPatInfo("SMAHA00800", "pnm", ds_send.getColumn(0, "healexampid") , "N", "ds_send" ,grp_sea.ipt_healexampid, grp_sea.ipt_healexampnm);
  832. fSearchPatInfo("SMAHA00800", "pnm", ds_send.getColumn(0, "healexampid") , "N", "ds_send" ,"healexampid", "ipt_pnm");
  833. }
  834. function grp_sea_btn_search_onclick(obj:Button, e:ClickEventInfo)
  835. {
  836. fGetSendList();
  837. }
  838. function fGetSendList()
  839. {
  840. if(utlf_isNull(ds_send.getColumn(0, "rsltcnstflag")))
  841. {
  842. sysf_messageBox("결과상담구분을 하나이상 선택하셔야 합니다.", "E999");
  843. return false;
  844. }
  845. if(utlf_isNull(ds_send.getColumn(0, "statflag")))
  846. {
  847. sysf_messageBox("상태구분을 하나이상 선택하셔야 합니다.", "E999");
  848. return false;
  849. }
  850. ds_send.setColumn(0, "shrchealexamflag",vHealexamflag);
  851. var oParam = {};
  852. oParam.id = "TRAHA00801";
  853. oParam.service = "healexambaseapp.SendCode";
  854. oParam.method = "reqGetSendList";
  855. oParam.inds = "req=ds_send";
  856. oParam.outds = "ds_main_sendcdlst_item=item ds_main_sendcdlst_item2=item2 ds_main_sendcdlst_item3=item3";
  857. oParam.async = false;
  858. //oParam.callback = "cf_TRAHA00801";
  859. tranf_submit(oParam);
  860. }
  861. function ds_main_sendcdlst_item_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
  862. {
  863. if(e.columnid == "sel")
  864. {
  865. obj.setColumn(e.row, "sel", (e.newvalue == "Y" || e.newvalue == 1) ? "Y" : "N");
  866. }
  867. if(e.columnid == "prtyn")
  868. {
  869. obj.setColumn(e.row, "prtyn", (e.newvalue == "Y" || e.newvalue == 1) ? "Y" : "N");
  870. }
  871. }
  872. function ds_main_sendcdlst_item2_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
  873. {
  874. if(e.columnid == "sel")
  875. {
  876. obj.setColumn(e.row, "sel", (e.newvalue == "Y" || e.newvalue == 1) ? "Y" : "N");
  877. }
  878. if(e.columnid == "prtyn")
  879. {
  880. obj.setColumn(e.row, "prtyn", (e.newvalue == "Y" || e.newvalue == 1) ? "Y" : "N");
  881. }
  882. }
  883. function ds_main_sendcdlst_item3_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
  884. {
  885. if(e.columnid == "sel")
  886. {
  887. obj.setColumn(e.row, "sel", (e.newvalue == "Y" || e.newvalue == 1) ? "Y" : "N");
  888. }
  889. if(e.columnid == "prtyn")
  890. {
  891. obj.setColumn(e.row, "prtyn", (e.newvalue == "Y" || e.newvalue == 1) ? "Y" : "N");
  892. }
  893. }
  894. function swt_send_onchanged(obj:Tab, e:TabIndexChangeEventInfo)
  895. {
  896. if(obj.tabindex == 0)
  897. {
  898. button11.enable = true;
  899. button15.enable = false;
  900. button16.enable = false;
  901. grp_sea.cmb_datelist.visible = false;
  902. }
  903. else if(obj.tabindex == 1)
  904. {
  905. button11.enable = false;
  906. button15.enable = true;
  907. button16.enable = false;
  908. grp_sea.cmb_datelist.visible = true;
  909. grp_sea.cmb_datelist.value = '2'
  910. }
  911. else if(obj.tabindex == 2)
  912. {
  913. button11.enable = false;
  914. button15.enable = false;
  915. button16.enable = true;
  916. grp_sea.cmb_datelist.visible = false;
  917. }
  918. }
  919. function pmn_menu1_onmenuclick(obj:PopupMenu, e:MenuClickEventInfo)
  920. {
  921. eval(e.id +"();");
  922. }
  923. function swt_send_case_T_grd_send_onrbuttondown(obj:Grid, e:GridMouseEventInfo)
  924. {
  925. grdf_setSelectedCell(obj, e);
  926. pmn_menu1.trackPopup(e.screenX,e.screenY);
  927. }
  928. function fCheck()
  929. {
  930. var vGrd = null;
  931. if(swt_send.tabindex == 0)
  932. {
  933. vGrd = swt_send.case_T.grd_send;
  934. }
  935. else if(swt_send.tabindex == 2)
  936. {
  937. vGrd = swt_send.case_V.grd_return;
  938. }
  939. else if(swt_send.tabindex == 1)
  940. {
  941. vGrd = swt_send.case_L.datagrid1;
  942. }
  943. var rows = grdf_getSelectedRows(vGrd);
  944. for( var i = 0 ; i < rows.length; i++)
  945. {
  946. var m_row = rows[i];
  947. this.objects[vGrd.binddataset].setColumn(m_row, "sel", "Y");
  948. }
  949. }
  950. function fUnCheck()
  951. {
  952. var vGrd = null;
  953. if(swt_send.tabindex == 0)
  954. {
  955. vGrd = swt_send.case_T.grd_send;
  956. }
  957. else if(swt_send.tabindex == 2)
  958. {
  959. vGrd = swt_send.case_V.grd_return;
  960. }
  961. else if(swt_send.tabindex == 1)
  962. {
  963. vGrd = swt_send.case_L.datagrid1;
  964. }
  965. var rows = grdf_getSelectedRows(vGrd);
  966. for( var i = 0 ; i < rows.length; i++)
  967. {
  968. var m_row = rows[i];
  969. this.objects[vGrd.binddataset].setColumn(m_row, "sel", "N");
  970. }
  971. }
  972. function swt_send_case_T_btn_betsave_onclick(obj:Button, e:ClickEventInfo)
  973. {
  974. fBatchSet();
  975. }
  976. function fBatchSet()
  977. {
  978. var senddd = ds_send_batchset.getColumn(0, "senddd");
  979. if(ds_send_batchset.getColumn(0, "sendyn") == "Y")
  980. {
  981. var cnt = ds_main_sendcdlst_item.rowcount;
  982. for (var i = 0; i < cnt; i++)
  983. {
  984. ds_main_sendcdlst_item.setColumn(i, "sel","Y");
  985. if(!utlf_isNull(senddd))
  986. {
  987. ds_main_sendcdlst_item.setColumn(i, "senddd",senddd);
  988. }
  989. ds_main_sendcdlst_item.setColumn(i, "sendaddrflag",ds_send_batchset.getColumn(0, "sendaddrflag"));
  990. }
  991. }
  992. else
  993. {
  994. var cnt = ds_main_sendcdlst_item.rowcount;
  995. for (var i = 0; i < cnt; i++)
  996. {
  997. ds_main_sendcdlst_item.setColumn(i, "sel","N");
  998. }
  999. }
  1000. }
  1001. function swt_send_case_L_datagrid1_onrbuttondown(obj:Grid, e:GridMouseEventInfo)
  1002. {
  1003. grdf_setSelectedCell(obj, e);
  1004. pmn_menu1.trackPopup(e.screenX,e.screenY);
  1005. }
  1006. function swt_send_case_V_grd_return_onrbuttondown(obj:Grid, e:GridMouseEventInfo)
  1007. {
  1008. grdf_setSelectedCell(obj, e);
  1009. pmn_menu1.trackPopup(e.screenX,e.screenY);
  1010. }
  1011. function button91_onclick(obj:Button, e:ClickEventInfo)
  1012. {
  1013. fGetLabelName();
  1014. }
  1015. function fGetLabelName()
  1016. {
  1017. var nodeList = null;
  1018. if(swt_send.tabindex == 0)
  1019. {
  1020. nodeList = ds_main_sendcdlst_item;
  1021. }
  1022. else if(swt_send.tabindex == 2)
  1023. {
  1024. nodeList = ds_main_sendcdlst_item3;
  1025. }
  1026. else if(swt_send.tabindex == 1)
  1027. {
  1028. nodeList = ds_main_sendcdlst_item2;
  1029. }
  1030. ds_main_seqprntdata_labelname.clearData();
  1031. ds_main_seqprntdata_labelname_list.clearData();
  1032. for(var i = 0; i < nodeList.rowcount; i++)
  1033. {
  1034. if(nodeList.getColumn(i, "sel") == "Y")
  1035. {
  1036. var addRow = ds_main_seqprntdata_labelname.addRow();
  1037. ds_main_seqprntdata_labelname.copyRow(addRow, nodeList, i);
  1038. }
  1039. }
  1040. dsf_makeValue(ds_main_seqprntdata_labelname_list, "pid", "string", "");
  1041. dsf_makeValue(ds_main_seqprntdata_labelname_list, "hngnm", "string", "");
  1042. dsf_makeValue(ds_main_seqprntdata_labelname_list, "sexage", "string", "");
  1043. dsf_makeValue(ds_main_seqprntdata_labelname_list, "hopedd", "string", "");
  1044. if(ds_main_seqprntdata_labelname.rowcount > 0)
  1045. {
  1046. var objDOM = rptf_createDOM();
  1047. rptf_setNodeListToDOM(objDOM, "/root/main/seqprntdata/labelname/list", ds_main_seqprntdata_labelname);
  1048. var objParam = new Object();
  1049. objParam.xml_data_XML1 = objDOM.documentElement.source;
  1050. var option = "";
  1051. rptf_exeReportPreview30(["RPAHA00403"],[objParam], option);
  1052. }
  1053. }
  1054. function button2_onclick(obj:Button, e:ClickEventInfo)
  1055. {
  1056. fGetLabeladdr();
  1057. if(swt_send.tabindex == 0)
  1058. {
  1059. if(fSaveSendList())
  1060. {
  1061. fGetSendList();
  1062. }
  1063. }
  1064. }
  1065. function fGetLabeladdr()
  1066. {
  1067. var nodeList = null;
  1068. var vGrd = null;
  1069. var printFormat = ds_send.getColumn(0, "printformat");
  1070. if(swt_send.tabindex == 0)
  1071. {
  1072. nodeList = ds_main_sendcdlst_item;
  1073. vGrd = swt_send.case_T.grd_send;
  1074. }
  1075. else if(swt_send.tabindex == 2)
  1076. {
  1077. nodeList = ds_main_sendcdlst_item3;
  1078. vGrd = swt_send.case_V.grd_return;
  1079. }
  1080. else if(swt_send.tabindex == 1)
  1081. {
  1082. nodeList = ds_main_sendcdlst_item2;
  1083. vGrd = swt_send.case_L.datagrid1;
  1084. }
  1085. ds_main_seqprntdata_labelname.clearData();
  1086. ds_main_seqprntdata_labelname_list.clearData();
  1087. for(var i = 0; i < nodeList.rowcount; i++)
  1088. {
  1089. if(nodeList.getColumn(i, "sel") == "Y")
  1090. {
  1091. var addRow = ds_main_seqprntdata_labelname.addRow();
  1092. ds_main_seqprntdata_labelname.copyRow(addRow, nodeList, i);
  1093. }
  1094. }
  1095. dsf_makeValue(ds_main_seqprntdata_labelname_list, "pid", "string", "");
  1096. dsf_makeValue(ds_main_seqprntdata_labelname_list, "hngnm", "string", "");
  1097. dsf_makeValue(ds_main_seqprntdata_labelname_list, "sexage", "string", "");
  1098. dsf_makeValue(ds_main_seqprntdata_labelname_list, "orddd", "string", "");
  1099. frmf_setParameter("reportprintyn", "");
  1100. if(ds_main_seqprntdata_labelname.rowcount > 0)
  1101. {
  1102. if(printFormat == "01")
  1103. {
  1104. var objDOM = rptf_createDOM();
  1105. rptf_setNodeListToDOM(objDOM, "/root/main/seqprntdata/labelname/list", ds_main_seqprntdata_labelname);
  1106. var objParam = new Object();
  1107. objParam.xml_data_XML1 = objDOM.documentElement.source;
  1108. var option = "";
  1109. rptf_exeReportPreview30(["RPAHA00410"],[objParam], option);
  1110. }
  1111. else if(printFormat == "02")
  1112. {
  1113. var objDOM = rptf_createDOM();
  1114. rptf_setNodeListToDOM(objDOM, "/root/main/seqprntdata/labelname/list", ds_main_seqprntdata_labelname);
  1115. var objParam = new Object();
  1116. objParam.xml_data_XML1 = objDOM.documentElement.source;
  1117. var option = "";
  1118. rptf_exeReportPreview30(["RPAHA00411"],[objParam], option);
  1119. }
  1120. }
  1121. if (frmf_getParameter("reportprintyn") == "Y")
  1122. {
  1123. for(var i = 0; i < nodeList.rowcount; i++)
  1124. {
  1125. if(nodeList.getColumn(i, "sel") == "Y" )
  1126. {
  1127. nodeList.setColumn(i, "prtyn", "Y");
  1128. }
  1129. }
  1130. }
  1131. if(sysf_getUserInfo("dutplceinstcd") == "031") {
  1132. lfPrntapp();
  1133. }
  1134. }
  1135. function fSaveSendList()
  1136. {
  1137. var ret = false ;
  1138. if(sysf_messageBox("발송대상정보를","Q002") == 6 )
  1139. {
  1140. var vSendDD = ds_send_batchset.getColumn(0, "senddd");
  1141. var vSendAddrFlag = ds_send_batchset.getColumn(0, "sendaddrflag");
  1142. var cnt = ds_main_sendcdlst_item.rowcount;
  1143. var sendChk = "1";
  1144. for(var i = 0 ; i < cnt; i++)
  1145. {
  1146. if(ds_main_sendcdlst_item.getColumn(i , "sel")=="Y")
  1147. {
  1148. ds_main_sendcdlst_item.updatecontrol = false;
  1149. ds_main_sendcdlst_item.setRowType(i, "u");
  1150. ds_main_sendcdlst_item.updatecontrol = true;
  1151. ds_main_sendcdlst_item.setColumn(i, "senddd", vSendDD);
  1152. sendChk = "2";
  1153. }
  1154. }
  1155. if(sendChk=="1")
  1156. {
  1157. sysf_messageBox("등록할인원을", "C001");
  1158. return;
  1159. }
  1160. else
  1161. {
  1162. ds_send_save_senddata.copyData(grdf_getGridUpdateData(swt_send.case_T.grd_send));
  1163. var oParam = {};
  1164. oParam.id = "TRAHA00803";
  1165. oParam.service = "healexambaseapp.SendCode";
  1166. oParam.method = "reqSendListSave";
  1167. oParam.inds = "req=ds_send_save_senddata";
  1168. oParam.outds = "ds_=save";
  1169. oParam.async = false;
  1170. oParam.callback = "cf_submit";
  1171. tranf_submit(oParam);
  1172. if(arErrorCode.pop("TRAHA00803") > -1)
  1173. {
  1174. ret = true;
  1175. }
  1176. }
  1177. }
  1178. return ret ;
  1179. }
  1180. function cf_submit(sSvcId, nErrorCode, sErrorMsg)
  1181. {
  1182. arErrorCode.push(sSvcId, nErrorCode);
  1183. if(nErrorCode < 0) return;
  1184. }
  1185. function button1_onclick(obj:Button, e:ClickEventInfo)
  1186. {
  1187. if(swt_send.tabindex == 0)
  1188. {
  1189. grdf_exportExcel(swt_send.case_T.grd_send, "excel", "SheetName", "true", "", "");
  1190. }
  1191. else if(swt_send.tabindex == 1)
  1192. {
  1193. grdf_exportExcel(swt_send.case_L.datagrid1, "excel", "SheetName", "true", "", "");
  1194. }
  1195. else if(swt_send.tabindex == 2)
  1196. {
  1197. grdf_exportExcel(swt_send.case_V.grd_return, "excel", "SheetName", "true", "", "");
  1198. }
  1199. }
  1200. function button15_onclick(obj:Button, e:ClickEventInfo)
  1201. {
  1202. if(fSaveSendRetList())
  1203. {
  1204. fGetSendList();
  1205. }
  1206. }
  1207. function fSaveSendRetList()
  1208. {
  1209. var ret = false ;
  1210. if(sysf_messageBox("반송대상정보를","Q002")==6 )
  1211. {
  1212. var vSendDD = ds_send_batchset.getColumn(0, "senddd");
  1213. var vSendAddrFlag = ds_send_batchset.getColumn(0, "sendaddrflag");
  1214. var cnt = ds_main_sendcdlst_item2.rowcount;
  1215. var sendChk = "1";
  1216. for(var i = 0; i < cnt; i++)
  1217. {
  1218. if(ds_main_sendcdlst_item2.getColumn(i , "sel")=="Y")
  1219. {
  1220. ds_main_sendcdlst_item2.updatecontrol = false;
  1221. ds_main_sendcdlst_item2.setRowType(i, "u");
  1222. ds_main_sendcdlst_item2.updatecontrol = true;
  1223. sendChk = "2";
  1224. }
  1225. }
  1226. if(sendChk=="1")
  1227. {
  1228. sysf_messageBox("등록할인원을", "C001");
  1229. return;
  1230. }
  1231. else
  1232. {
  1233. ds_send_save_senddata.clear();
  1234. ds_send_save_senddata.copyData(grdf_getGridUpdateData(swt_send.case_L.datagrid1));
  1235. var oParam = {};
  1236. oParam.id = "TRAHA00804";
  1237. oParam.service = "healexambaseapp.SendCode";
  1238. oParam.method = "reqSendRetListSave";
  1239. oParam.inds = "req=ds_send_save_senddata";
  1240. oParam.outds = "ds_=save";
  1241. oParam.async = false;
  1242. oParam.callback = "cf_submit";
  1243. tranf_submit(oParam);
  1244. if(arErrorCode.pop("TRAHA00804") > -1)
  1245. {
  1246. ret = true;
  1247. }
  1248. }
  1249. }
  1250. return ret ;
  1251. }
  1252. function button16_onclick(obj:Button, e:ClickEventInfo)
  1253. {
  1254. if(fSaveReSendList())
  1255. {
  1256. fGetSendList();
  1257. }
  1258. }
  1259. function fSaveReSendList()
  1260. {
  1261. var ret = false ;
  1262. if( sysf_messageBox("재발송대상정보를","Q002")==6 )
  1263. {
  1264. var vSendDD = ds_send_batchset.getColumn(0, "senddd");
  1265. var vSendAddrFlag = ds_send_batchset.getColumn(0, "sendaddrflag");
  1266. var cnt = ds_main_sendcdlst_item3.rowcount;
  1267. var sendChk = "1";
  1268. for(var i = 0; i < cnt;i++)
  1269. {
  1270. if(ds_main_sendcdlst_item3.getColumn(i , "sel") == "Y")
  1271. {
  1272. ds_main_sendcdlst_item3.updatecontrol = false;
  1273. ds_main_sendcdlst_item3.setRowType(i, "u");
  1274. ds_main_sendcdlst_item3.updatecontrol = true;
  1275. sendChk = "2";
  1276. }
  1277. }
  1278. if(sendChk=="1")
  1279. {
  1280. sysf_messageBox("등록할인원을", "C001");
  1281. return;
  1282. }
  1283. else
  1284. {
  1285. ds_send_save_senddata.clear();
  1286. ds_send_save_senddata.copyData(grdf_getGridUpdateData(swt_send.case_V.grd_return));
  1287. var oParam = {};
  1288. oParam.id = "TRAHA00805";
  1289. oParam.service = "healexambaseapp.SendCode";
  1290. oParam.method = "reqReSendListSave";
  1291. oParam.inds = "req=ds_send_save_senddata";
  1292. oParam.outds = "ds_=save";
  1293. oParam.async = false;
  1294. oParam.callback = "cf_submit";
  1295. tranf_submit(oParam);
  1296. if(arErrorCode.pop("TRAHA00805") > -1)
  1297. {
  1298. ret = true;
  1299. }
  1300. }
  1301. }
  1302. return ret ;
  1303. }
  1304. function button11_onclick(obj:Button, e:ClickEventInfo)
  1305. {
  1306. if(fSaveSendList())
  1307. {
  1308. fGetSendList();
  1309. }
  1310. }
  1311. function fSaveSendList()
  1312. {
  1313. var ret = false ;
  1314. if(sysf_messageBox("발송대상정보를","Q002") == 6 )
  1315. {
  1316. var vSendDD = ds_send_batchset.getColumn(0, "senddd");
  1317. var vSendAddrFlag = ds_send_batchset.getColumn(0, "sendaddrflag");
  1318. var cnt = ds_main_sendcdlst_item.rowcount;
  1319. var sendChk = "1";
  1320. for(var i = 0 ; i < cnt; i++)
  1321. {
  1322. if(ds_main_sendcdlst_item.getColumn(i, "sel") == "Y")
  1323. {
  1324. ds_main_sendcdlst_item.updatecontrol = false;
  1325. ds_main_sendcdlst_item.setRowType(i, "u");
  1326. ds_main_sendcdlst_item.updatecontrol = true;
  1327. ds_main_sendcdlst_item.setColumn(i, "senddd", vSendDD);
  1328. sendChk = "2";
  1329. }
  1330. }
  1331. if(sendChk=="1")
  1332. {
  1333. sysf_messageBox("등록할인원을", "C001");
  1334. return;
  1335. }
  1336. else
  1337. {
  1338. ds_send_save_senddata.clear();
  1339. ds_send_save_senddata.copyData(grdf_getGridUpdateData(swt_send.case_T.grd_send));
  1340. var oParam = {};
  1341. oParam.id = "TRAHA00803";
  1342. oParam.service = "healexambaseapp.SendCode";
  1343. oParam.method = "reqSendListSave";
  1344. oParam.inds = "req=ds_send_save_senddata";
  1345. oParam.outds = "ds_=save";
  1346. oParam.async = false;
  1347. oParam.callback = "cf_submit";
  1348. tranf_submit(oParam);
  1349. if(arErrorCode.pop("TRAHA00803") > -1)
  1350. {
  1351. ret = true;
  1352. }
  1353. }
  1354. }
  1355. return ret ;
  1356. }
  1357. function swt_send_case_T_grd_send_onheadclick(obj:Grid, e:GridClickEventInfo)
  1358. {
  1359. if (e.col != e.oldcol) grdf_clearSort(obj);
  1360. grdf_gridSort(swt_send.case_T.grd_send,e);
  1361. }
  1362. function swt_send_case_L_datagrid1_onheadclick(obj:Grid, e:GridClickEventInfo)
  1363. {
  1364. if (e.col != e.oldcol) grdf_clearSort(obj);
  1365. grdf_gridSort(swt_send.case_L.datagrid1,e);
  1366. }
  1367. function swt_send_case_V_grd_return_onheadclick(obj:Grid, e:GridClickEventInfo)
  1368. {
  1369. if (e.col != e.oldcol) grdf_clearSort(obj);
  1370. grdf_gridSort(swt_send.case_V.grd_return,e);
  1371. }
  1372. function swt_send_case_T_grd_send_onrbuttonup(obj:Grid, e:GridMouseEventInfo)
  1373. {
  1374. grdf_setSelectedCell(obj, e);
  1375. }
  1376. function swt_send_case_L_datagrid1_onrbuttonup(obj:Grid, e:GridMouseEventInfo)
  1377. {
  1378. grdf_setSelectedCell(obj, e);
  1379. }
  1380. function swt_send_case_V_grd_return_onrbuttonup(obj:Grid, e:GridMouseEventInfo)
  1381. {
  1382. grdf_setSelectedCell(obj, e);
  1383. }
  1384. function lfPrntapp()
  1385. {
  1386. dsf_createDs("ds_temp_list");
  1387. ds_main_sendcdlst_item.filter("sel=='Y'");
  1388. ds_temp_list.copyData(ds_main_sendcdlst_item, true);
  1389. ds_main_sendcdlst_item.filter("");
  1390. for(var i = 0 ; i < ds_temp_list.rowcount ; i++) {
  1391. if(ds_temp_list.getColumn(i, "sendflag") != "02") continue;
  1392. var vRsrvdd = ds_temp_list.getColumn(i, "rsrvdd");
  1393. var vRsrvno = ds_temp_list.getColumn(i, "rsrvno");
  1394. var vhealexamflag = ds_temp_list.getColumn(i, "healexamflag");
  1395. lfGetRsrvAcpDetltInfo(vRsrvdd, vRsrvno, vhealexamflag);
  1396. ds_main_appprntdata_item.clear();
  1397. ds_main_appprntdata.clear();
  1398. dsf_copyColInfo(ds_main_appprntdata_item, ds_temp_info_addlst);
  1399. dsf_createDsRow("ds_TRAHB00301", [
  1400. {col:"srchinstcd", type:"STRING", size:256, val:ds_temp_list.getColumn(i, "instcd")}
  1401. , {col:"srchhealexamflag", type:"STRING", size:256, val:ds_temp_list.getColumn(i, "healexamflag")}
  1402. , {col:"srchhealexamdetlflag", type:"STRING", size:256, val:ds_temp_list.getColumn(i, "healexamdetlflag")}
  1403. , {col:"srchpkgcd", type:"STRING", size:256, val:ds_temp_list.getColumn(i, "pkgcd")}
  1404. , {col:"srchpkgnm", type:"STRING", size:256, val:""}
  1405. , {col:"srchpkgflag", type:"STRING", size:256, val:""}
  1406. , {col:"srchinetyn", type:"STRING", size:256, val:""}
  1407. , {col:"srchuseyn", type:"STRING", size:256, val:""}
  1408. ]);
  1409. call_TRAHB00301();
  1410. var nodeList = ds_temp_info_addlst.rowcount;
  1411. if(nodeList > 0)
  1412. {
  1413. for(var j = 0 ; j < ds_temp_info_addlst.rowcount; j++)
  1414. {
  1415. var addRow = ds_main_appprntdata_item.addRow();
  1416. ds_main_appprntdata_item.copyRow(addRow, ds_temp_info_addlst, j);
  1417. if(!utlf_isNull(ds_temp_info_addlst.getColumn(j, "testdesc"))) {
  1418. var testnm = ds_temp_info_addlst.getColumn(j, "testnm") + "\n : " + ds_temp_info_addlst.getColumn(j, "testdesc");
  1419. ds_main_appprntdata_item.setColumn(j, "testnm", testnm);
  1420. }
  1421. }
  1422. var nRow = ds_main_appprntdata_item.addRow();
  1423. dsf_makeValue(ds_main_appprntdata_item, "testnm", "string", ds_temp_info_rsrvacptinfo.getColumn(0, "pkgnm"), nRow);
  1424. }
  1425. else
  1426. {
  1427. dsf_makeValue(ds_main_appprntdata_item, "testnm", "string", ds_temp_info_rsrvacptinfo.getColumn(0, "pkgnm"));
  1428. }
  1429. dsf_makeValue(ds_main_appprntdata, "hngnm", "string", ds_temp_list.getColumn(i, "hngnm"));
  1430. dsf_makeValue(ds_main_appprntdata, "rrgstno", "string", ds_temp_list.getColumn(i, "rrgstno"));
  1431. dsf_makeValue(ds_main_appprntdata, "address", "string", ds_temp_list.getColumn(i, "detladdr"));
  1432. dsf_makeValue(ds_main_appprntdata, "telno", "string", ds_temp_list.getColumn(i, "telno"));
  1433. dsf_makeValue(ds_main_appprntdata, "rsrvdd", "string", ds_temp_list.getColumn(i, "rsrvdd"));
  1434. dsf_makeValue(ds_main_appprntdata, "disc", "string", ds_temp_list.getColumn(i, "disccd"));
  1435. dsf_makeValue(ds_main_appprntdata, "rsrvflag", "string", ds_temp_list.getColumn(i, "rsrvflag"));
  1436. dsf_makeValue(ds_main_appprntdata, "pid", "string", ds_temp_list.getColumn(i, "pid"));
  1437. dsf_makeValue(ds_main_appprntdata, "mpphone", "string", ds_temp_list.getColumn(i, "mpphon"));
  1438. dsf_makeValue(ds_main_appprntdata, "hopedd", "string", ds_temp_list.getColumn(i, "hopedd"));
  1439. dsf_makeValue(ds_main_appprntdata, "cmcpynm", "string", ds_temp_list.getColumn(i, "cmpynm"));
  1440. if(!utlf_isNull(this.objects["ds_temp_pkgcd"]) && !utlf_isNull(ds_temp_pkgcd.getColumn(0, "pkgdesc"))) {
  1441. dsf_makeValue(ds_main_appprntdata, "pkgdesc", "string", "【"+ds_temp_pkgcd.getColumn(0, "pkgcd")+"】 패키지설명 : \n"+ds_temp_pkgcd.getColumn(0, "pkgdesc"));
  1442. }
  1443. var objDOM = rptf_createDOM();
  1444. rptf_setNodeListToDOM(objDOM, "/root/main/appprntdata", ds_main_appprntdata);
  1445. rptf_setNodeListToDOM(objDOM, "/root/main/appprntdata/item", ds_main_appprntdata_item);
  1446. var objParam = new Object();
  1447. objParam.xml_data_XML1 = objDOM.documentElement.source;
  1448. var option = "directprint=1;printdialog=0;";
  1449. rptf_exeReportPreview30(["RPAHA00413"],[objParam], option);
  1450. }
  1451. }
  1452. function lfGetRsrvAcpDetltInfo(vRsrvdd, vRsrvno, vhealexamflag) {
  1453. if (utlf_isNull(vRsrvdd) || utlf_isNull(vRsrvno)) {
  1454. return;
  1455. }
  1456. dsf_createDs("ds_temp_send");
  1457. dsf_createDs("ds_temp_info_rsrvacptinfo");
  1458. dsf_createDs("ds_temp_info_addlst");
  1459. var vhf = "";
  1460. if (utlf_isNull(vhealexamflag)) {
  1461. vhf = fGetHealExamFlag();
  1462. } else {
  1463. vhf = vhealexamflag;
  1464. }
  1465. dsf_makeValue(ds_temp_send, "srchhealexamflag", 'string', vhf);
  1466. dsf_makeValue(ds_temp_send, "srchrsrvdd", 'string', vRsrvdd);
  1467. dsf_makeValue(ds_temp_send, "srchrsrvno", 'string', vRsrvno);
  1468. dsf_makeValue(ds_temp_send, "srchinstcd", 'string', sysf_getUserInfo("dutplceinstcd"));
  1469. dsf_makeValue(ds_temp_send, "scrnnm", 'string', '');
  1470. var oParam = {};
  1471. oParam.id = "TRAHA00102";
  1472. oParam.service = "healexamrsrvacptapp.RsrvAcpt";
  1473. oParam.method = "reqGetRsrvAcptInfo";
  1474. oParam.inds = "req=ds_temp_send";
  1475. oParam.outds = "ds_temp_info_rsrvacptinfo=rsrvacptinfo ds_temp_info_addlst=addlst"
  1476. oParam.async = false;
  1477. //oParam.callback = "cf_TRAHA00102";
  1478. tranf_submit(oParam);
  1479. }
  1480. /*-**************************************************************************************
  1481. * Argument : N/A
  1482. * Description : 신청서 출력시 패키지 설명 추가
  1483. ****************************************************************************************/
  1484. function call_TRAHB00301() {
  1485. dsf_createDs("ds_temp_pkgcd");
  1486. var oParam = {};
  1487. oParam.id = "TRAHB00301";
  1488. oParam.service = "healexambaseapp.PkgCode";
  1489. oParam.method = "reqGetPkgList";
  1490. oParam.inds = "req=ds_TRAHB00301";
  1491. oParam.outds = "ds_temp_pkgcd=item";
  1492. oParam.async = false;
  1493. oParam.callback = "cf_TRAHB00301";
  1494. tranf_submit(oParam);
  1495. }
  1496. function cf_TRAHB00301(sSvcId, nErrorCode, sErrorMsg) {
  1497. arErrorCode.push(sSvcId, nErrorCode);
  1498. //ds_temp_pkgcd.filter("pkgcd == '"+ds_main_info_rsrvacptinfo_item.getColumn(0, "pkgcd")+"'");
  1499. }]]></Script>
  1500. </Form>
  1501. </FDL>