SMCHT00100_건진데이터마이닝관리.xrw 94 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * Name : SMCHT00100_건진데이터마이닝관리
  4. * Summary : 건진데이터마이닝 관리
  5. * Programmer : 최정환
  6. * Date Written : 2007.06.20
  7. * History : 2007.06.20 차재훈 수정 2008.08.20
  8. * Remark :
  9. -->
  10. <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
  11. <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
  12. <xhtml:head>
  13. <xhtml:title>건진데이터마이닝 관리</xhtml:title>
  14. <model id="model1">
  15. <instance id="instance1">
  16. <root xmlns="">
  17. <main>
  18. <healexam>
  19. <tmpldefine>
  20. <healexamdtmnkey/>
  21. <healexamdtmnlrgcd/>
  22. <healexamdtmnmdlcd/>
  23. <healexamdtmnsmlcd/>
  24. <healexamdtmntitl/>
  25. <healexamdtmnattruseyn/>
  26. <humtrainfouseyn>Y</humtrainfouseyn>
  27. <healexaminfouseyn/>
  28. <rsltinfouseyn/>
  29. <judginfouseyn/>
  30. <autexecflag/>
  31. <execdt/>
  32. <clintdupltretmthd/>
  33. <appbasedd/>
  34. <spcldd/>
  35. <execbaseddflag/>
  36. <execbasemm/>
  37. <execbasedd/>
  38. <execbasedayno/>
  39. <dataextrbfdayno/>
  40. <savemode/>
  41. <lnkinfocond/>
  42. </tmpldefine>
  43. <humtrainfo>
  44. <pid/>
  45. <hngnm/>
  46. <sex/>
  47. <btype/>
  48. <rh/>
  49. <healexamvipgrde/>
  50. </humtrainfo>
  51. <area/>
  52. <agelist/>
  53. <healexaminfo>
  54. <infofromdd/>
  55. <infotodd/>
  56. <infohealexamflag/>
  57. <cmpycd/>
  58. <cmpynm/>
  59. <totamtfrom/>
  60. <totamtto/>
  61. <scndhptstrgtyn/>
  62. <livcncrtrgtyn/>
  63. <oraltestyn/>
  64. <freecncrtrgtyn/>
  65. <stmccncrflagyn/>
  66. <stmccncrflag/>
  67. <largeintescncrflagyn/>
  68. <largeintescncrflag/>
  69. <livcncrflagyn/>
  70. <livcncrflag/>
  71. <mamcncrflagyn/>
  72. <mamcncrflag/>
  73. <cervcncrflagyn/>
  74. <cervcncrflag/>
  75. </healexaminfo>
  76. <healexaminfopkg/>
  77. <healexaminfotest/>
  78. <healexamrslttest/>
  79. <healexamrslt>
  80. <rsltfromdd/>
  81. <rslttodd/>
  82. <rslthealexamflag/>
  83. </healexamrslt>
  84. <healexamjudg>
  85. <judgfromdd/>
  86. <judgtodd/>
  87. <judghealexamflag/>
  88. </healexamjudg>
  89. <colgjudgsick/>
  90. <gnrljudg/>
  91. <spcljudg/>
  92. <cmpnlnk>
  93. <cmpnlrgcd/>
  94. <cmpnmdlcd/>
  95. <cmpnsmlcd/>
  96. <cmpnnm/>
  97. <cmpncd/>
  98. </cmpnlnk>
  99. </healexam>
  100. <info>
  101. <cmpnlist>
  102. <cmpnsmlnm/>
  103. <cmpncd/>
  104. <cmpnnm/>
  105. </cmpnlist>
  106. </info>
  107. <list>
  108. <healexamdtmnexeclist>
  109. <hngnm/>
  110. <pid/>
  111. <sex/>
  112. <age/>
  113. <mpphontel/>
  114. <email/>
  115. <zipcd/>
  116. <address/>
  117. </healexamdtmnexeclist>
  118. </list>
  119. <agelist>
  120. <agefrom/>
  121. <ageto/>
  122. </agelist>
  123. <healexaminfopkg>
  124. <pkgnm/>
  125. <pkgcd/>
  126. </healexaminfopkg>
  127. <healexaminfotest>
  128. <testnm/>
  129. <testcd/>
  130. </healexaminfotest>
  131. <healexamrslttest>
  132. <testcd/>
  133. <testnm/>
  134. <rsltflag/>
  135. <testrsltval/>
  136. <testnvalminval/>
  137. <testnvalmaxval/>
  138. <judgcd/>
  139. <judgnm/>
  140. </healexamrslttest>
  141. <colgjudgsick>
  142. <cmpycd/>
  143. <cmpynm/>
  144. <sickcd/>
  145. <sicknm/>
  146. <judgflag/>
  147. </colgjudgsick>
  148. <gnrljudg>
  149. <clscd/>
  150. <etccd/>
  151. <etcdetlcd/>
  152. <etcdetlnm/>
  153. </gnrljudg>
  154. <spcljudg>
  155. <spcljudgcd/>
  156. <spcljudgnm/>
  157. </spcljudg>
  158. <area>
  159. <citycd>
  160. </citycd>
  161. <city/>
  162. <citycntyareacd/>
  163. <citycntyarea/>
  164. <blokcd/>
  165. <blok/>
  166. </area>
  167. </main>
  168. <send>
  169. <healexamdtmnlrgcd/>
  170. <healexamdtmnmdlcd/>
  171. <citycd/>
  172. <citycntyareacd/>
  173. <cmpnlrgcd/>
  174. <cmpnmdlcd/>
  175. <cmpnsmlcd/>
  176. </send>
  177. <init>
  178. <A0066list>
  179. <cdid/>
  180. <cdnm/>
  181. </A0066list>
  182. <A0068list>
  183. <cdid/>
  184. <cdnm/>
  185. </A0068list>
  186. <A0118list>
  187. <cdid/>
  188. <cdnm/>
  189. </A0118list>
  190. <P0013list>
  191. <cdid/>
  192. <cdnm/>
  193. </P0013list>
  194. <P0014list>
  195. <cdid/>
  196. <cdnm/>
  197. </P0014list>
  198. <P0313list>
  199. <cdid/>
  200. <cdnm/>
  201. </P0313list>
  202. <C0032list>
  203. <cdid/>
  204. <cdnm/>
  205. </C0032list>
  206. <C0034list>
  207. <cdid/>
  208. <cdnm/>
  209. </C0034list>
  210. <C0037list>
  211. <cdid/>
  212. <cdnm/>
  213. </C0037list>
  214. <C0039list>
  215. <cdid/>
  216. <cdnm/>
  217. </C0039list>
  218. <healexamdtmnlrg>
  219. <healexamdtmnlrggrup>
  220. <healexamdtmnlrgtitl/>
  221. <healexamdtmnlrgcd/>
  222. </healexamdtmnlrggrup>
  223. </healexamdtmnlrg>
  224. <healexamdtmnmdl>
  225. <healexamdtmnmdlgrup>
  226. <healexamdtmnmdltitl/>
  227. <healexamdtmnmdlcd/>
  228. </healexamdtmnmdlgrup>
  229. </healexamdtmnmdl>
  230. <healexamdtmnsml>
  231. <healexamdtmnsmlgrup>
  232. <healexamdtmnsmltitl/>
  233. <healexamdtmnsmlcd/>
  234. </healexamdtmnsmlgrup>
  235. </healexamdtmnsml>
  236. <areacity>
  237. <city>
  238. <citynm/>
  239. <citycd/>
  240. </city>
  241. </areacity>
  242. <areacitycnty>
  243. <citycntyarea>
  244. <citycntyareanm/>
  245. <citycntyareacd/>
  246. </citycntyarea>
  247. </areacitycnty>
  248. <areablok>
  249. <blok>
  250. <bloknm/>
  251. <blokcd/>
  252. </blok>
  253. </areablok>
  254. <cmpnlrg>
  255. <cmpnlrggrup>
  256. <cmpnlrgnm/>
  257. <cmpnlrgcd/>
  258. </cmpnlrggrup>
  259. </cmpnlrg>
  260. <cmpnmdl>
  261. <cmpnmdlgrup>
  262. <cmpnmdlnm/>
  263. <cmpnmdlcd/>
  264. </cmpnmdlgrup>
  265. </cmpnmdl>
  266. <cmpnsml>
  267. <cmpnsmlgrup>
  268. <cmpnsmlnm/>
  269. <cmpnsmlcd/>
  270. </cmpnsmlgrup>
  271. </cmpnsml>
  272. <diagdetlvw>P</diagdetlvw>
  273. <diagdetlvw1>P</diagdetlvw1>
  274. </init>
  275. <temp>
  276. <areagrup>
  277. <citycd>
  278. </citycd>
  279. <city/>
  280. <citycntyareacd/>
  281. <citycntyarea/>
  282. <blokcd/>
  283. <blok/>
  284. </areagrup>
  285. <age>
  286. <agefrom/>
  287. <ageto/>
  288. </age>
  289. <healexaminfopkg>
  290. <pkgcd/>
  291. <pkgnm/>
  292. </healexaminfopkg>
  293. <healexaminfotest>
  294. <addtestcd/>
  295. <addtestnm/>
  296. <rsltflag/>
  297. </healexaminfotest>
  298. <healexamrslttest>
  299. <testcd/>
  300. <testnm/>
  301. <rsltflag/>
  302. <testrsltval/>
  303. <testnvalminval/>
  304. <testnvalmaxval/>
  305. <judgcd/>
  306. <judgnm/>
  307. </healexamrslttest>
  308. <colgjudgsick>
  309. <cmpycd/>
  310. <cmpynm/>
  311. <sickcd/>
  312. <sicknm/>
  313. </colgjudgsick>
  314. <gnrljudg>
  315. <clscd/>
  316. <etccd/>
  317. <etcdetlcd/>
  318. <etcdetlnm/>
  319. </gnrljudg>
  320. <spcljudg>
  321. <spcljudgcd/>
  322. <spcljudgnm/>
  323. </spcljudg>
  324. <ref>
  325. <data>
  326. <rgstfromdd/>
  327. <rgsttodd/>
  328. <dtmnnm/>
  329. <rgstnm/>
  330. <autexecflag/>
  331. <cmpnlnkyn/>
  332. </data>
  333. <key>
  334. <healexamdtmnkey/>
  335. </key>
  336. <refmode/>
  337. </ref>
  338. <countnode/>
  339. </temp>
  340. </root>
  341. </instance>
  342. <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
  343. <submission id="TRZBC00102" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
  344. <submission id="TRCDT00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/areacity"/>
  345. <submission id="TRCDT00102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/areacitycnty"/>
  346. <submission id="TRCDT00103" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/areablok"/>
  347. <submission id="TRCDT00107" mediatype="application/x-www-form-urlencoded" method="post" replace="instance" resultref="/root/init/cmpnlrg/cmpnlrggrup"/>
  348. <submission id="TRCDT00108" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/cmpnmdl/cmpnmdlgrup"/>
  349. <submission id="TRCDT00109" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/cmpnsml/cmpnsmlgrup"/>
  350. <submission id="TRCDT00110" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/info/cmnpnlist"/>
  351. <submission id="TRCHT00101" mediatype="application/x-www-form-urlencoded" method="post" replace="instance" resultref="/root/init/healexamdtmnlrg/healexamdtmnlrggrup"/>
  352. <submission id="TRCHT00102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/healexamdtmnmdl/healexamdtmnmdlgrup"/>
  353. <submission id="TRCHT00103" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/healexamdtmnsml/healexamdtmnsmlgrup"/>
  354. <submission id="TRCHT00104" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/temp/ref/key" replace="instance" resultref="/root/main/healexam"/>
  355. <submission id="TRCHT00105" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/healexam" replace="instance" resultref="/root/main/list"/>
  356. <submission id="TXCHT00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/healexam" resultref="/root/temp/ref/key"/>
  357. </model>
  358. <script type="javascript" src="../../../crm/crmweb/js/CCZ001.js"/>
  359. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  360. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  361. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  362. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  363. <script type="javascript" ev:event="xforms-ready">
  364. <![CDATA[
  365. // 그리드의 초기화
  366. fGridInit();
  367. // 초기화면은 캠페인 연결로 보여준다.
  368. //model.toggle("case4");
  369. //btn_cmpn.selected = true;
  370. // 공통코드를 호출하여 자료(혈액형ABO, 혈액형RH, 건진구분1, 종합건진고객등급, 결과구분)를 가져온다
  371. zbcfGetCodeList( new Array("P0013","P0014","P0313","A0068","A0118","A0066","C0032","C0034","C0037","C0039"), new Array("/root/init/P0013list","/root/init/P0014list","/root/init/P0313list","/root/init/A0068list","/root/init/A0118list","/root/init/A0066list","/root/init/C0032list","/root/init/C0034list","/root/init/C0037list","/root/init/C0039list"), true );
  372. // 지역의 시도구분을 가져온다.
  373. submit("TRCDT00101");
  374. // 캠페인 대그룹을 가져온다
  375. submit("TRCDT00107");
  376. // 건진데이터마이닝 대그룹을 가져온다
  377. submit("TRCHT00101");
  378. // 기본값 셋팅
  379. model.setValue("/root/main/healexam/tmpldefine/healexamdtmnattruseyn", "Y") // 사용여부
  380. model.setValue("/root/main/healexam/healexaminfo/scndhptstrgtyn", "N") // 2차간염
  381. model.setValue("/root/main/healexam/healexaminfo/livcncrtrgtyn", "N") // 간암검사
  382. model.setValue("/root/main/healexam/healexaminfo/oraltestyn", "N") // 구강검사
  383. model.setValue("/root/main/healexam/healexaminfo/freecncrtrgtyn", "N") // 무료암검사
  384. // 실행기준일 셋팅
  385. // model.setValue("/root/main/healexam/tmpldefine/execbaseddflag", "1");
  386. // fSetBaseDD();
  387. // 건진정보의 건진구분 선택에 따른 활성화
  388. fSetInfoHealExamflag();
  389. // 검사결과값 입력셋팅
  390. fSetTestRsltValFlag();
  391. // 조회 (데이터마이닝 목록조회에서 넘어온 dtmnkey값으로 내용을 조회)
  392. var healexamdtmnkey = model.getValue("/root/temp/ref/key/healexamdtmnkey");
  393. var refmode = model.getValue("/root/temp/ref/refmode");
  394. if ( healexamdtmnkey != "" ){
  395. submit("TRCHT00104");
  396. // 수정모드로 표시
  397. model.setValue("/root/main/healexam/tmpldefine/savemode","U");
  398. // 조회 페이지로 이동시 기존 검색조건 셋팅을 위하여 조회모드를 변경
  399. model.setValue("/root/temp/ref/refmode","C");
  400. // 데이터마이닝 중분류 및 소분류 세팅(초기화 버튼, 대/중분류 콤보 선택)
  401. fGetHealExamDtmnMdlCd();
  402. fGetHealExamDtmnSmlCd();
  403. // 캠페인 중분류 및 소분류, 캠페인리스트 세팅(초기화 버튼, 대/중/소분류 콤보 선택)
  404. fGetCmpnMdlCd();
  405. fGetCmpnSmlCd();
  406. fGetCmpnList();
  407. // 연결정보중 N 을 공백으로 변경한다.
  408. var humtrainfouseyn = model.getValue("/root/main/healexam/tmpldefine/humtrainfouseyn");
  409. var healexaminfouseyn = model.getValue("/root/main/healexam/tmpldefine/healexaminfouseyn");
  410. var rsltinfouseyn = model.getValue("/root/main/healexam/tmpldefine/rsltinfouseyn");
  411. var judginfouseyn = model.getValue("/root/main/healexam/tmpldefine/judginfouseyn");
  412. if (humtrainfouseyn == "N") {
  413. model.setValue("/root/main/healexam/tmpldefine/humtrainfouseyn", "");
  414. }
  415. if (healexaminfouseyn == "N") {
  416. model.setValue("/root/main/healexam/tmpldefine/healexaminfouseyn", "");
  417. }
  418. if (rsltinfouseyn == "N") {
  419. model.setValue("/root/main/healexam/tmpldefine/rsltinfouseyn", "");
  420. }
  421. if (judginfouseyn == "N") {
  422. model.setValue("/root/main/healexam/tmpldefine/judginfouseyn", "");
  423. }
  424. // 인스턴스 생성 (이미 존재하는 Node 생성 안함.)
  425. // 인적정보
  426. model.makeNode( "/root/main/healexam/humtrainfo/sex" );
  427. model.makeNode( "/root/main/healexam/humtrainfo/btype" );
  428. model.makeNode( "/root/main/healexam/humtrainfo/rh" );
  429. // 건진정보
  430. model.makeNode( "/root/main/healexam/healexaminfo/infofromdd" );
  431. model.makeNode( "/root/main/healexam/healexaminfo/infotodd" );
  432. model.makeNode( "/root/main/healexam/healexaminfo/infohealexamflag" );
  433. model.makeNode( "/root/main/healexam/healexaminfo/cmpycd" );
  434. model.makeNode( "/root/main/healexam/healexaminfo/cmpynm" );
  435. model.makeNode( "/root/main/healexam/healexaminfo/totamtfrom" );
  436. model.makeNode( "/root/main/healexam/healexaminfo/totamtto" );
  437. model.makeNode( "/root/main/healexam/healexaminfo/scndhptstrgtyn" );
  438. model.makeNode( "/root/main/healexam/healexaminfo/livcncrtrgtyn" );
  439. model.makeNode( "/root/main/healexam/healexaminfo/oraltestyn" );
  440. model.makeNode( "/root/main/healexam/healexaminfo/freecncrtrgtyn" );
  441. model.makeNode( "/root/main/healexam/healexaminfo/stmccncrflagyn" );
  442. model.makeNode( "/root/main/healexam/healexaminfo/stmccncrflag" );
  443. model.makeNode( "/root/main/healexam/healexaminfo/largeintescncrflagyn" );
  444. model.makeNode( "/root/main/healexam/healexaminfo/largeintescncrflag" );
  445. model.makeNode( "/root/main/healexam/healexaminfo/livcncrflagyn" );
  446. model.makeNode( "/root/main/healexam/healexaminfo/livcncrflag" );
  447. model.makeNode( "/root/main/healexam/healexaminfo/mamcncrflagyn" );
  448. model.makeNode( "/root/main/healexam/healexaminfo/mamcncrflag" );
  449. model.makeNode( "/root/main/healexam/healexaminfo/cervcncrflagyn" );
  450. model.makeNode( "/root/main/healexam/healexaminfo/cervcncrflag" );
  451. // 결과정보
  452. model.makeNode( "/root/main/healexam/healexamrslt/rsltfromdd" );
  453. model.makeNode( "/root/main/healexam/healexamrslt/rslttodd" );
  454. model.makeNode( "/root/main/healexam/healexamrslt/rslthealexamflag" );
  455. // 판정정보
  456. model.makeNode( "/root/main/healexam/healexamjudg/judgfromdd" );
  457. model.makeNode( "/root/main/healexam/healexamjudg/judgtodd" );
  458. model.makeNode( "/root/main/healexam/healexamjudg/judghealexamflag" );
  459. //캠페인연결정보
  460. model.makeNode( "/root/main/healexam/cmpnlnk/cmpnlrgcd" );
  461. model.makeNode( "/root/main/healexam/cmpnlnk/cmpnmdlcd" );
  462. model.makeNode( "/root/main/healexam/cmpnlnk/cmpnsmlcd" );
  463. model.makeNode( "/root/main/healexam/cmpnlnk/cmpnnm" );
  464. model.makeNode( "/root/main/healexam/cmpnlnk/cmpncd" );
  465. } else {
  466. // 입력모드로 표시
  467. model.setValue("/root/main/healexam/tmpldefine/savemode","I");
  468. }
  469. ]]>
  470. </script>
  471. <script type="javascript">
  472. <![CDATA[
  473. //=======================//
  474. //행삭제 //
  475. //=======================//
  476. function fDelRow(grid) {
  477. var srcGrid = grid;
  478. var fRow = srcGrid.fixedRows - 1;
  479. var sRow = srcGrid.selectedRow(0);
  480. if ( sRow > fRow ) {
  481. if( srcGrid.rowStatus(sRow) == 1){
  482. srcGrid.deleteRow(sRow);
  483. }else{
  484. srcGrid.addStatus(sRow, "delete");
  485. }
  486. }else{
  487. messageBox("삭제할 행이 선택되지", "E007");
  488. return;
  489. }
  490. model.refresh();
  491. }
  492. // 그리드의 초기화
  493. function fGridInit() {
  494. // 인적정보중 그리드의 col을 초기화 시켜준다.
  495. model.removenodeset("/root/main/area"); // 지역
  496. model.removenodeset("/root/main/agelist"); // 연령
  497. // 건진정보중 건진패키지 그리드의 col을 초기화 시켜준다.
  498. model.removenodeset("/root/main/healexaminfopkg"); // 건진패키지정보
  499. // 건진정보중 추가검사 그리드의 col을 초기화 시켜준다.
  500. model.removenodeset("/root/main/healexaminfotest"); // 추가검사
  501. // 결과정보중 그리드의 col을 초기화 시켜준다.
  502. model.removenodeset("/root/main/healexamrslttest"); // 건진검사결과정보
  503. // 판정정보중 그리드의 col을 초기화 시켜준다.
  504. model.removenodeset("/root/main/colgjudgsick"); // 판정질환(종검)
  505. model.removenodeset("/root/main/gnrljudg"); // 판정코드(일검)
  506. // 캠폐인연결정보중 그리드의 col을 초기화 시켜준다.
  507. model.removenodeset("/root/main/info/cmpnlist"); // 캠폐인리스트
  508. // 대상자(수동실행)리스트 그리드의 col을 초기화 시켜준다.
  509. model.removenodeset("/root/main/list/healexamdtmnexeclist"); // 대상자(수동실행)리스트
  510. model.refresh();
  511. }
  512. // 선택한 건진데이터마이닝 대분류에 따른 건진데이터마이닝 중분류를 가져온다.
  513. function fGetHealExamDtmnMdlCd() {
  514. var healexamdtmnlrgcd = model.getValue("/root/main/healexam/tmpldefine/healexamdtmnlrgcd");
  515. model.setValue("/root/send/healexamdtmnlrgcd",healexamdtmnlrgcd);
  516. submit("TRCHT00102");
  517. }
  518. // 선택한 데이터마이닝 중분류에 따른 데이터마이닝 소분류를 가져온다.
  519. function fGetHealExamDtmnSmlCd() {
  520. var healexamdtmnlrgcd = model.getValue("/root/main/healexam/tmpldefine/healexamdtmnlrgcd");
  521. var healexamdtmnmdlcd = model.getValue("/root/main/healexam/tmpldefine/healexamdtmnmdlcd");
  522. model.setValue("/root/send/healexamdtmnlrgcd",healexamdtmnlrgcd);
  523. model.setValue("/root/send/healexamdtmnmdlcd",healexamdtmnmdlcd);
  524. submit("TRCHT00103");
  525. }
  526. // 선택한 캠페인 대분류에 따른 캠페인 중분류를 가져온다.
  527. function fGetCmpnMdlCd() {
  528. var cmpnlrgcd = model.getValue("/root/main/healexam/cmpnlnk/cmpnlrgcd");
  529. if (cmpnlrgcd != "") {
  530. model.setValue("/root/send/cmpnlrgcd",cmpnlrgcd);
  531. submit("TRCDT00108");
  532. }
  533. }
  534. // 선택한 캠페인 중분류에 따른 캠페인 소분류를 가져온다.
  535. function fGetCmpnSmlCd() {
  536. var cmpnmdlcd = model.getValue("/root/main/healexam/cmpnlnk/cmpnmdlcd");
  537. if (cmpnmdlcd != "") {
  538. model.setValue("/root/send/cmpnmdlcd",cmpnmdlcd);
  539. submit("TRCDT00109");
  540. }
  541. }
  542. // 선택한 캠페인 소분류에 따른 캠페인 리스트를 가져온다.
  543. function fGetCmpnList() {
  544. var cmpnsmlcd = model.getValue("/root/main/healexam/cmpnlnk/cmpnsmlcd");
  545. if (cmpnsmlcd != "") {
  546. model.setValue("/root/send/cmpnsmlcd",cmpnsmlcd);
  547. submit("TRCDT00110");
  548. }
  549. }
  550. // 패키지검색 팝업창 호출
  551. function fPkgCodeList(receive_pkgcd_path, receive_pkgnm_path){
  552. setParameter("receive_pkgcd_path", receive_pkgcd_path);
  553. setParameter("receive_pkgnm_path", receive_pkgnm_path);
  554. modal("SPCHT00500");
  555. clearParameter("receive_pkgcd_path");
  556. clearParameter("receive_pkgnm_path");
  557. }
  558. // 검사검색 팝업창 호출
  559. function fTestCodeList(standard, search_term, receive_testcd_path, receive_testnm_path, receive_rsltflag_path){
  560. setParameter("standard", standard);
  561. setParameter("search_term", search_term);
  562. setParameter("receive_testcd_path", receive_testcd_path);
  563. setParameter("receive_testnm_path", receive_testnm_path);
  564. setParameter("receive_rsltflag_path", receive_rsltflag_path);
  565. modal("SPCHT00600");
  566. clearParameter("standard");
  567. clearParameter("search_term");
  568. clearParameter("receive_testcd_path");
  569. clearParameter("receive_testnm_path");
  570. clearParameter("receive_rsltflag_path");
  571. fSetTestRsltValFlag();
  572. }
  573. // 판정검색 팝업창 호출
  574. function fJudgCodeList(rsltflag, search_term, receive_judgcd_path, receive_judgnm_path){
  575. setParameter("rsltflag", rsltflag);
  576. setParameter("search_term", search_term);
  577. setParameter("receive_judgcd_path", receive_judgcd_path);
  578. setParameter("receive_judgnm_path", receive_judgnm_path);
  579. modal("SPCHT00800");
  580. clearParameter("rsltflag");
  581. clearParameter("search_term");
  582. clearParameter("receive_judgcd_path");
  583. clearParameter("receive_judgnm_path");
  584. }
  585. // 판정검색 팝업창 호출4개코드값
  586. function fClsCodeList(receive_clscd_path, receive_etccd_path, receive_etcdetlcd_path, receive_etcdetlnm_path){
  587. var rsltflag = "4code";
  588. setParameter("rsltflag", rsltflag);
  589. setParameter("receive_clscd_path", receive_clscd_path);
  590. setParameter("receive_etccd_path", receive_etccd_path);
  591. setParameter("receive_etcdetlcd_path", receive_etcdetlcd_path);
  592. setParameter("receive_etcdetlnm_path", receive_etcdetlnm_path);
  593. modal("SPCHT00800");
  594. clearParameter("rsltflag");
  595. clearParameter("receive_clscd_path");
  596. clearParameter("receive_etccd_path");
  597. clearParameter("receive_etcdetlcd_path");
  598. clearParameter("receive_etcdetlnm_path");
  599. }
  600. // 사업장검색 팝업창 호출
  601. function fCmpyCodeList(receive_cmpycd_path, receive_cmpynm_path){
  602. setParameter("receive_cmpycd_path", receive_cmpycd_path);
  603. setParameter("receive_cmpynm_path", receive_cmpynm_path);
  604. modal("SPCHI00200");
  605. clearParameter("receive_cmpycd_path");
  606. clearParameter("receive_cmpynm_path");
  607. }
  608. // 판정질환검색 팝업창 호출
  609. function fSickCodeList( receive_sickcd_path, receive_sicknm_path){
  610. setParameter("receive_sickcd_path", receive_sickcd_path);
  611. setParameter("receive_sicknm_path", receive_sicknm_path);
  612. modal("SPCHT00700");
  613. clearParameter("receive_sickcd_path");
  614. clearParameter("receive_sicknm_path");
  615. }
  616. // 건진데이터마이닝 그룹관리의 변경된 내용을 새로 적용시켜준다.
  617. function fHealExamDtmnLrg() {
  618. model.removenodeset("/root/init/healexamdtmnlrg/healexamdtmnlrggrup");
  619. model.removenodeset("/root/init/healexamdtmnmdl/healexamdtmnmdlgrup");
  620. model.removenodeset("/root/init/healexamdtmnsml/healexamdtmnsmlgrup");
  621. model.resetInstanceNode("/root/main/healexam/tmpldefine/healexamdtmnlrgcd");
  622. model.resetInstanceNode("/root/main/healexam/tmpldefine/healexamdtmnmdlcd");
  623. model.resetInstanceNode("/root/main/healexam/tmpldefine/healexamdtmnsmlcd");
  624. submit("TRCHT00101");
  625. }
  626. // 실행기준일 선택에 따른 입력 컨트롤 제한
  627. function fSetBaseDD() {
  628. var base_flag = "";
  629. base_flag = model.getValue("/root/main/healexam/tmpldefine/execbaseddflag");
  630. switch (base_flag) {
  631. case "1":
  632. ipt_execbasedayno.disabled = false;
  633. ipt_execbasemm.disabled = true;
  634. ipt_execbasedd.disabled = true;
  635. break;
  636. case "2":
  637. ipt_execbasedayno.disabled = true;
  638. ipt_execbasemm.disabled = false;
  639. ipt_execbasedd.disabled = false;
  640. break;
  641. default:
  642. ipt_execbasedayno.disabled = false;
  643. ipt_execbasemm.disabled = true;
  644. ipt_execbasedd.disabled = true;
  645. break;
  646. }
  647. }
  648. // 건진정보의 건진구분 선택에 따른 활성화
  649. function fSetInfoHealExamflag() {
  650. var base_flag = "";
  651. base_flag = model.getValue("/root/main/healexam/healexaminfo/infohealexamflag");
  652. switch (base_flag) {
  653. case "C":
  654. rdo_scndhptstrgtyn.disabled = true;
  655. rdo_livcncrtrgtyn.disabled = true;
  656. rdo_oraltestyn.disabled = true;
  657. rdo_freecncrtrgtyn.disabled = true;
  658. chk_stmccncrflagyn.disabled = true;
  659. cmb_stmccncrflag.disabled = true;
  660. chk_largeintescncrflagyn.disabled = true;
  661. cmb_largeintescncrflag.disabled = true;
  662. chk_livcncrflagyn.disabled = true;
  663. cmb_livcncrflag.disabled = true;
  664. chk_mamcncrflagyn.disabled = true;
  665. cmb_mamcncrflag.disabled = true;
  666. chk_cervcncrflagyn.disabled = true;
  667. cmb_cervcncrflag.disabled = true;
  668. break;
  669. case "G":
  670. rdo_scndhptstrgtyn.disabled = false;
  671. rdo_livcncrtrgtyn.disabled = false;
  672. rdo_oraltestyn.disabled = false;
  673. rdo_freecncrtrgtyn.disabled = false;
  674. chk_stmccncrflagyn.disabled = false;
  675. cmb_stmccncrflag.disabled = false;
  676. chk_largeintescncrflagyn.disabled = false;
  677. cmb_largeintescncrflag.disabled = false;
  678. chk_livcncrflagyn.disabled = false;
  679. cmb_livcncrflag.disabled = false;
  680. chk_mamcncrflagyn.disabled = false;
  681. cmb_mamcncrflag.disabled = false;
  682. chk_cervcncrflagyn.disabled = false;
  683. cmb_cervcncrflag.disabled = false;
  684. break;
  685. default:
  686. rdo_scndhptstrgtyn.disabled = true;
  687. rdo_livcncrtrgtyn.disabled = true;
  688. rdo_oraltestyn.disabled = true;
  689. rdo_freecncrtrgtyn.disabled = true;
  690. chk_stmccncrflagyn.disabled = true;
  691. cmb_stmccncrflag.disabled = true;
  692. chk_largeintescncrflagyn.disabled = true;
  693. cmb_largeintescncrflag.disabled = true;
  694. chk_livcncrflagyn.disabled = true;
  695. cmb_livcncrflag.disabled = true;
  696. chk_mamcncrflagyn.disabled = true;
  697. cmb_mamcncrflag.disabled = true;
  698. chk_cervcncrflagyn.disabled = true;
  699. cmb_cervcncrflag.disabled = true;
  700. break;
  701. }
  702. }
  703. function fSetTestRsltValFlag() {
  704. var base_flag = "";
  705. base_flag = model.getValue("/root/temp/healexamrslttest/rsltflag");
  706. switch (base_flag) {
  707. case "O":
  708. ipt_testrsltval.disabled = false;
  709. ipt_testnvalminval.disabled = true;
  710. ipt_testnvalmaxval.disabled = true;
  711. btn_clscd.disabled = false;
  712. break;
  713. case "N":
  714. ipt_testrsltval.disabled = true;
  715. ipt_testnvalminval.disabled = false;
  716. ipt_testnvalmaxval.disabled = false;
  717. btn_clscd.disabled = true;
  718. break;
  719. default:
  720. ipt_testrsltval.disabled = true;
  721. ipt_testnvalminval.disabled = true;
  722. ipt_testnvalmaxval.disabled = true;
  723. btn_clscd.disabled = true;
  724. break;
  725. }
  726. }
  727. function fJudgHealExamFlagChoi() {
  728. var judghealexamflag = model.getValue("/root/main/healexam/healexamjudg/judghealexamflag");
  729. //alert(judghealexamflag);
  730. if (judghealexamflag == "C1") {
  731. model.toggle("case11");
  732. } else if(judghealexamflag == "S1") {
  733. model.toggle("case13");
  734. } else {
  735. model.toggle("case12");
  736. }
  737. }
  738. function fCheckHealExam() {
  739. var healexaminfouseyn = model.getValue("/root/main/healexam/tmpldefine/healexaminfouseyn");
  740. var rsltinfouseyn = model.getValue("/root/main/healexam/tmpldefine/rsltinfouseyn");
  741. var judginfouseyn = model.getValue("/root/main/healexam/tmpldefine/judginfouseyn");
  742. var lnkinfocond = "";
  743. if (healexaminfouseyn == "Y" && rsltinfouseyn != "Y" && judginfouseyn != "Y") { // 인적+건진정보
  744. lnkinfocond = "1"
  745. } else if (healexaminfouseyn != "Y" && rsltinfouseyn == "Y" && judginfouseyn != "Y") { // 인적+결과정보
  746. lnkinfocond = "2"
  747. } else if (healexaminfouseyn != "Y" && rsltinfouseyn != "Y" && judginfouseyn == "Y") { // 인적+판정정보
  748. lnkinfocond = "3"
  749. } else {
  750. lnkinfocond = "0"
  751. }
  752. if (lnkinfocond == "0") {
  753. messageBox("건진데이터마이닝 결합조건이 ","E004");
  754. } else {
  755. model.makeValue("/root/main/healexam/tmpldefine/lnkinfocond",lnkinfocond);
  756. var infofromdd = model.getValue("/root/main/healexam/healexaminfo/infofromdd");
  757. var infotodd = model.getValue("/root/main/healexam/healexaminfo/infotodd");
  758. var infohealexamflag = model.getValue("/root/main/healexam/healexaminfo/infohealexamflag");
  759. var rsltinfodd = model.getValue("/root/main/healexam/healexamrslt/rsltfromdd");
  760. var rslttodd = model.getValue("/root/main/healexam/healexamrslt/rslttodd");
  761. var rslthealexamflag = model.getValue("/root/main/healexam/healexamrslt/rslthealexamflag");
  762. var judgfromdd = model.getValue("/root/main/healexam/healexamjudg/judgfromdd");
  763. var judgtodd = model.getValue("/root/main/healexam/healexamjudg/judgtodd");
  764. var judghealexamflag = model.getValue("/root/main/healexam/healexamjudg/judghealexamflag");
  765. if (lnkinfocond == "1") {
  766. if (infofromdd.length < "8") {
  767. messageBox("건진일자(시작)를 ","C001");
  768. } else if (infotodd.length < "8") {
  769. messageBox("건진일자(끝)를 ","C001");
  770. } else if(infofromdd > infotodd){
  771. messageBox("건진일자(시작)와 건진일자(끝)를 올바르게", "C001");
  772. } else if (infohealexamflag == "") {
  773. messageBox("건진구분을","C002");
  774. } else {
  775. return true;
  776. }
  777. } else if (lnkinfocond == "2") {
  778. if (rsltinfodd.length < "8") {
  779. messageBox("건진일자(시작)를 ","C001");
  780. } else if (rslttodd.length < "8") {
  781. messageBox("건진일자(끝)를 ","C001");
  782. } else if(rsltinfodd > rslttodd){
  783. messageBox("건진일자(시작)와 건진일자(끝)를 올바르게", "C001");
  784. } else if (rslthealexamflag == "") {
  785. messageBox("건진구분을","C002");
  786. } else {
  787. return true;
  788. }
  789. } else if (judgfromdd == "3") {
  790. if (chosfromdd.length < "8") {
  791. messageBox("건진일자(시작)를 ","C001");
  792. } else if (chostodd.length < "8") {
  793. messageBox("건진일자(끝)를 ","C001");
  794. } else if(judgfromdd > chostodd){
  795. messageBox("건진일자(시작)와 건진일자(끝)를 올바르게", "C001");
  796. } else if (judghealexamflag == "") {
  797. messageBox("건진구분을","C002");
  798. } else {
  799. return true;
  800. }
  801. } else {
  802. return true;
  803. }
  804. }
  805. }
  806. function fSaveHealExam(savemode) {
  807. // 필수입력 체크
  808. if (!fCheckHealExam()) return;
  809. if(isRequiredControls("ipt_healexamdtmntitl", "cmb_healexamdtmnsmlcd")) {
  810. messageBox("모든 필수값이 입력이","I002");
  811. //} else {
  812. // 저장시 그리드값을 인스턴스로 생성
  813. model.makeValue("/root/main/healexam/area", grd_area.getUpdateData()); // 지역
  814. model.makeValue("/root/main/healexam/agelist", grd_age.getUpdateData()); // 연령
  815. model.makeValue("/root/main/healexam/healexaminfopkg", grd_healexaminfopkg.getUpdateData()); // 패키지정보(건진정보)
  816. model.makeValue("/root/main/healexam/healexaminfotest", grd_healexaminfotest.getUpdateData()); // 추가검사(건진정보)
  817. model.makeValue("/root/main/healexam/healexamrslttest", grd_healexamrslttest.getUpdateData()); // 건진결과정보
  818. model.makeValue("/root/main/healexam/colgjudgsick", grd_colgjudgsick.getUpdateData()); // 판정질환정보(종검)
  819. model.makeValue("/root/main/healexam/gnrljudg", grd_gnrljudg.getUpdateData()); // 판정코드(일검)
  820. if(submit("TXCHT00101") == true){
  821. // submit() 성공하면 그리드의 i,u,d 상태 제거
  822. grd_area.clearStatus();
  823. grd_age.clearStatus();
  824. grd_healexaminfopkg.clearStatus();
  825. grd_healexaminfotest.clearStatus();
  826. grd_healexamrslttest.clearStatus();
  827. grd_colgjudgsick.clearStatus();
  828. grd_gnrljudg.clearStatus();
  829. messageBox("건진탬플릿 저장이", "I002", "");
  830. // 입력모드면 템플릿 저장후 수정모드로 변경과 dtmnkey값을 설정해준다.
  831. if (savemode == "I") {
  832. model.setValue("/root/main/healexam/tmpldefine/savemode","U");
  833. var healexamdtmnkey = model.getValue("/root/temp/ref/key/healexamdtmnkey");
  834. model.makeValue("/root/main/healexam/tmpldefine/healexamdtmnkey", healexamdtmnkey);
  835. }
  836. }
  837. }
  838. }
  839. function fHealExamDtMnExec() {
  840. // 필수입력 체크
  841. if (!fCheckHealExam()) return;
  842. // 그리드값을 인스턴스로 생성
  843. model.makeValue("/root/main/healexam/area", grd_area.getUpdateDataAll("i")); // 지역
  844. model.makeValue("/root/main/healexam/agelist", grd_age.getUpdateDataAll("i")); // 연령
  845. model.makeValue("/root/main/healexam/healexaminfopkg", grd_healexaminfopkg.getUpdateDataAll("i")); // 건진패키지(건진정보)
  846. model.makeValue("/root/main/healexam/healexaminfotest", grd_healexaminfotest.getUpdateDataAll("i")); // 추가검사(건진정보)
  847. model.makeValue("/root/main/healexam/healexamrslttest", grd_healexamrslttest.getUpdateDataAll("i")); // 개별건진검사결과정보
  848. model.makeValue("/root/main/healexam/colgjudgsick", grd_colgjudgsick.getUpdateDataAll("i")); // 판정질환(종검)
  849. model.makeValue("/root/main/healexam/gnrljudg", grd_gnrljudg.getUpdateDataAll("i")); // 판정코드(일검)
  850. submit("TRCHT00105");
  851. model.SetFocus("grd_healexamdtmnexeclist");
  852. var grid_rows = grd_healexamdtmnexeclist.rows-1;
  853. model.setvalue("/root/temp/countnode" , grid_rows);
  854. // 수동실행을 위하여 그리드값을 인스턴스로 생성한걸 지워준다.
  855. // model.resetInstanceNode("/root/main/healexam/area");
  856. // model.resetInstanceNode("/root/main/healexam/agelist");
  857. // model.resetInstanceNode("/root/main/healexam/healexaminfopkg");
  858. // model.resetInstanceNode("/root/main/healexam/healexaminfotest");
  859. // model.resetInstanceNode("/root/main/healexam/healexamrslttest");
  860. // model.resetInstanceNode("/root/main/healexam/colgjudgsick");
  861. // model.resetInstanceNode("/root/main/healexam/gnrljudg");
  862. // model.resetInstanceNode("/root/main/healexam/testlist");
  863. model.refresh();
  864. }
  865. ]]>
  866. </script>
  867. </xhtml:head>
  868. <xhtml:body guideline="1,693;">
  869. <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
  870. <caption id="caption1" class="tit_1" style="left:0px; top:0px; width:165px; height:14px; ">건진정보마이닝 등록</caption>
  871. </group>
  872. <group id="group2" style="left:224px; top:13px; width:970px; height:204px; ">
  873. <caption id="caption9" class="tit_2" style="left:5px; top:10px; width:111px; height:13px; ">탬플릿 정의</caption>
  874. <button id="btn_healexamdtmnlist" class="btn5_letter2" style="left:794px; top:5px; width:42px; height:19px; ">
  875. <caption>목록</caption>
  876. <script type="javascript" ev:event="DOMActivate">
  877. <![CDATA[
  878. navigate("SMCHT00200", "", "", "", "SMCHT00200", "/root/temp/ref", "/root/send");
  879. ]]>
  880. </script>
  881. </button>
  882. <button id="btn_healexamdtmnreset" class="btn5_letter3" style="left:839px; top:5px; width:53px; height:19px; ">
  883. <caption>초기화</caption>
  884. <script type="javascript" ev:event="DOMActivate">
  885. <![CDATA[
  886. model.resetInstanceNode("/root/main/healexam/tmpldefine");
  887. model.resetInstanceNode("/root/main/healexam/humtrainfo");
  888. model.resetInstanceNode("/root/main/healexam/area");
  889. model.resetInstanceNode("/root/main/healexam/agelist");
  890. model.resetInstanceNode("/root/main/healexam/healexaminfo");
  891. model.resetInstanceNode("/root/main/healexam/healexaminfopkg");
  892. model.resetInstanceNode("/root/main/healexam/healexaminfotest");
  893. model.resetInstanceNode("/root/main/healexam/healexamrslttest");
  894. model.resetInstanceNode("/root/main/healexam/healexamrslt");
  895. model.resetInstanceNode("/root/main/healexam/healexamjudg");
  896. model.resetInstanceNode("/root/main/healexam/colgjudgsick");
  897. model.resetInstanceNode("/root/main/healexam/gnrljudg");
  898. model.resetInstanceNode("/root/main/healexam/cmpnlnk");
  899. model.removeNodeset("/root/init/P0013list/P0013");
  900. model.removeNodeset("/root/init/P0114list/P0114");
  901. model.removeNodeset("/root/init/P0313list/P0313");
  902. model.removeNodeset("/root/init/A0068list/A0068");
  903. model.removeNodeset("/root/init/A0118list/A0118");
  904. model.removeNodeset("/root/init/A0066list/A0066");
  905. model.removeNodeset("/root/init/C0034list/C0034");
  906. model.removeNodeset("/root/init/C0037list/C0037");
  907. model.removeNodeset("/root/init/C0039list/C0039");
  908. model.dispatch("xforms-ready");
  909. ]]>
  910. </script>
  911. </button>
  912. <button id="btn_healexamdtmnsave" class="btn5_letter5" style="left:895px; top:5px; width:75px; height:19px; ">
  913. <caption>템플릿저장</caption>
  914. <script type="javascript" ev:event="DOMActivate">
  915. <![CDATA[
  916. var savemode = model.getValue("/root/main/healexamtmpl/tmpldefine/savemode");
  917. fSaveHealExam(savemode); //캠페인 속성 저장(I:등록, U:수정)
  918. ]]>
  919. </script>
  920. </button>
  921. <line id="line2" class="line_1" style="x1:0px; y1:25px; x2:970px; y2:25px; "/>
  922. <line id="line3" class="line_2" style="x1:0px; y1:53px; x2:970px; y2:53px; "/>
  923. <caption id="cap_healexamdtmntitl" class="cell_1" style="left:0px; top:30px; width:105px; height:23px; text-align:center; vertical-align:middle; ">탬플릿명</caption>
  924. <input id="ipt_healexamdtmntitl" ref="/root/main/healexam/tmpldefine/healexamdtmntitl" class="input_default" style="left:108px; top:31px; width:209px; height:19px; "/>
  925. <caption id="cap_healexamdtmnsmlcd" class="cell_1" style="left:320px; top:30px; width:105px; height:23px; text-align:center; vertical-align:middle; ">소속그룹</caption>
  926. <select1 id="cmb_healexamdtmnlrgcd" ref="/root/main/healexam/tmpldefine/healexamdtmnlrgcd" class="combo_default" appearance="minimal" style="left:428px; top:31px; width:150px; height:19px; ">
  927. <choices>
  928. <itemset nodeset="/root/init/healexamdtmnlrg/healexamdtmnlrggrup">
  929. <label ref="healexamdtmnlrgtitl"/>
  930. <value ref="healexamdtmnlrgcd"/>
  931. </itemset>
  932. </choices>
  933. <script type="javascript" ev:event="xforms-select">
  934. <![CDATA[
  935. // 기존에 선택된 중분류, 소분류를 초기화한다.
  936. model.removenodeset("/root/init/healexamdtmnmdl/healexamdtmnmdlgrup");
  937. model.removenodeset("/root/init/healexamdtmnsml/healexamdtmnsmlgrup");
  938. model.resetInstanceNode("/root/main/healexam/tmpldefine/healexamdtmnmdlcd");
  939. model.resetInstanceNode("/root/main/healexam/tmpldefine/healexamdtmnsmlcd");
  940. // 선택한 건진데이터마이닝 대분류에 따른 건진데이터마아닝 중분류를 가져온다.
  941. fGetHealExamDtmnMdlCd();
  942. model.setFocus("cmb_healexamdtmnmdlcd");
  943. ]]>
  944. </script>
  945. </select1>
  946. <select1 id="cmb_healexamdtmnmdlcd" ref="/root/main/healexam/tmpldefine/healexamdtmnmdlcd" class="combo_default" appearance="minimal" style="left:581px; top:31px; width:150px; height:19px; ">
  947. <choices>
  948. <itemset nodeset="/root/init/healexamdtmnmdl/healexamdtmnmdlgrup">
  949. <label ref="healexamdtmnmdltitl"/>
  950. <value ref="healexamdtmnmdlcd"/>
  951. </itemset>
  952. </choices>
  953. <script type="javascript" ev:event="xforms-select">
  954. <![CDATA[
  955. // 선택한 건진데이터마이닝 중분류에 따른 건진데이터마아닝 소분류를 가져온다.
  956. fGetHealExamDtmnSmlCd();
  957. model.setFocus("cmb_healexamdtmnsmlcd");
  958. ]]>
  959. </script>
  960. </select1>
  961. <select1 id="cmb_healexamdtmnsmlcd" ref="/root/main/healexam/tmpldefine/healexamdtmnsmlcd" class="combo_default" appearance="minimal" style="left:734px; top:31px; width:150px; height:19px; ">
  962. <choices>
  963. <itemset nodeset="/root/init/healexamdtmnsml/healexamdtmnsmlgrup">
  964. <label ref="healexamdtmnsmltitl"/>
  965. <value ref="healexamdtmnsmlcd"/>
  966. </itemset>
  967. </choices>
  968. </select1>
  969. <line id="line5" class="line_2" style="x1:0px; y1:78px; x2:970px; y2:78px; "/>
  970. <caption id="caption21" class="cell_1" style="left:0px; top:55px; width:105px; height:23px; text-align:center; vertical-align:middle; ">사용여부</caption>
  971. <select1 id="rdo_useyn" ref="/root/main/healexam/tmpldefine/healexamdtmnattruseyn" appearance="full" cellspacing="15" cols="2" overflow="visible" style="left:108px; top:56px; width:130px; height:19px; background-color:transparent; border-style:none; ">
  972. <choices>
  973. <itemset nodeset="/root/init/C0039list/C0039">
  974. <label ref="cdnm"/>
  975. <value ref="cdid"/>
  976. </itemset>
  977. </choices>
  978. </select1>
  979. <caption id="caption5" class="cell_1" style="left:320px; top:55px; width:105px; height:23px; text-align:center; vertical-align:middle; ">연결정보</caption>
  980. <select id="chk_humtrainfouseyn" ref="/root/main/healexam/tmpldefine/humtrainfouseyn" disabled="true" overflow="visible" appearance="full" cellspacing="15" cols="2" style="left:428px; top:57px; width:100px; height:19px; background-color:transparent; border-style:none; ">
  981. <choices>
  982. <item>
  983. <label>인적정보</label>
  984. <value>Y</value>
  985. </item>
  986. </choices>
  987. </select>
  988. <select id="chk_healexaminfouseyn" ref="/root/main/healexam/tmpldefine/healexaminfouseyn" overflow="visible" appearance="full" cellspacing="15" cols="2" style="left:531px; top:57px; width:100px; height:19px; background-color:transparent; border-style:none; ">
  989. <choices>
  990. <item>
  991. <label>건진정보</label>
  992. <value>Y</value>
  993. </item>
  994. </choices>
  995. </select>
  996. <select id="chk_rsltinfouseyn" ref="/root/main/healexam/tmpldefine/rsltinfouseyn" overflow="visible" appearance="full" cellspacing="15" cols="2" style="left:634px; top:57px; width:100px; height:19px; background-color:transparent; border-style:none; ">
  997. <choices>
  998. <item>
  999. <label>결과정보</label>
  1000. <value>Y</value>
  1001. </item>
  1002. </choices>
  1003. </select>
  1004. <select id="chk_judginfouseyn" ref="/root/main/healexam/tmpldefine/judginfouseyn" overflow="visible" appearance="full" cellspacing="15" cols="2" style="left:737px; top:57px; width:100px; height:19px; background-color:transparent; border-style:none; ">
  1005. <choices>
  1006. <item>
  1007. <label>판정정보</label>
  1008. <value>Y</value>
  1009. </item>
  1010. </choices>
  1011. </select>
  1012. <line id="line1" class="line_2" style="x1:0px; y1:153px; x2:970px; y2:153px; "/>
  1013. <caption id="caption4" class="cell_1" style="left:0px; top:80px; width:105px; height:23px; text-align:center; vertical-align:middle; ">건진고객등급</caption>
  1014. <select1 id="cmb_healexamvipgrde" ref="/root/main/healexam/humtrainfo/healexamvipgrde" class="combo_default" appearance="minimal" style="left:108px; top:81px; width:150px; height:19px; ">
  1015. <choices>
  1016. <itemset nodeset="/root/init/A0118list/A0118">
  1017. <label ref="cdnm"/>
  1018. <value ref="cdid"/>
  1019. </itemset>
  1020. </choices>
  1021. </select1>
  1022. <caption id="caption6" class="cell_1" style="left:320px; top:80px; width:105px; height:23px; text-align:center; vertical-align:middle; ">등록번호</caption>
  1023. <input id="ipt_pid" ref="/root/main/healexam/humtrainfo/pid" maxlength="10" style="left:428px; top:81px; width:110px; height:19px; ">
  1024. <script type="javascript" ev:event="onkeyup">
  1025. <![CDATA[
  1026. inputEnterKey("btn_pidsrch", "DOMActivate");
  1027. ]]>
  1028. </script>
  1029. </input>
  1030. <button id="btn_pidsrch" class="icon_search" style="left:541px; top:81px; width:16px; height:16px; ">
  1031. <caption/>
  1032. <script type="javascript" ev:event="DOMActivate">
  1033. <![CDATA[
  1034. // 등록번호 검색
  1035. var search_condition = "pid";
  1036. var search_term = model.getValue("/root/main/healexam/humtrainfo/pid");
  1037. var receive_pid_path = "/root/main/healexam/humtrainfo/pid";
  1038. var receive_patnm_path = "/root/main/healexam/humtrainfo/hngnm";
  1039. var receive_mpphontel_path = "";
  1040. var receive_email_path = "";
  1041. cczfOpenSelectClnt(search_condition, search_term, receive_pid_path, receive_patnm_path, receive_mpphontel_path, receive_email_path);
  1042. ]]>
  1043. </script>
  1044. </button>
  1045. <input id="ipt_trgtnm" ref="/root/main/healexam/humtrainfo/hngnm" disabled="true" maxlength="30" style="left:560px; top:81px; width:200px; height:19px; "/>
  1046. <line id="line7" class="line_2" style="x1:0px; y1:128px; x2:320px; y2:128px; "/>
  1047. <caption id="caption7" class="cell_1" style="left:0px; top:105px; width:105px; height:23px; text-align:center; vertical-align:middle; ">혈액형</caption>
  1048. <caption id="caption22" style="left:110px; top:108px; width:37px; height:17px; ">(ABO)</caption>
  1049. <select1 id="cmb_btype" ref="/root/main/healexam/humtrainfo/btype" class="combo_default" appearance="minimal" style="left:150px; top:106px; width:54px; height:19px; ">
  1050. <choices>
  1051. <itemset nodeset="/root/init/P0013list/P0013">
  1052. <label ref="cdnm"/>
  1053. <value ref="cdid"/>
  1054. </itemset>
  1055. </choices>
  1056. </select1>
  1057. <caption id="caption23" style="left:207px; top:108px; width:40px; height:17px; ">/(RH)</caption>
  1058. <select1 id="cmb_rh" ref="/root/main/healexam/humtrainfo/rh" class="combo_default" appearance="minimal" style="left:247px; top:106px; width:40px; height:19px; ">
  1059. <choices>
  1060. <itemset nodeset="/root/init/P0014list/P0014">
  1061. <label ref="cdnm"/>
  1062. <value ref="cdid"/>
  1063. </itemset>
  1064. </choices>
  1065. </select1>
  1066. <caption id="cap_sex" class="cell_1" style="left:0px; top:130px; width:105px; height:23px; text-align:center; vertical-align:middle; ">성별</caption>
  1067. <select1 id="rdo_sex" ref="/root/main/healexam/humtrainfo/sex" appearance="full" cellspacing="15" cols="3" overflow="visible" style="left:108px; top:131px; width:138px; height:19px; background-color:transparent; border-style:none; ">
  1068. <choices>
  1069. <itemset nodeset="/root/init/P0313list/P0313">
  1070. <label ref="cdnm"/>
  1071. <value ref="cdid"/>
  1072. </itemset>
  1073. </choices>
  1074. </select1>
  1075. <caption id="caption10" class="cell_1" style="left:320px; top:105px; width:105px; height:48px; text-align:center; vertical-align:middle; ">연령</caption>
  1076. <input id="ipt_agefrom" ref="/root/temp/age/agefrom" class="input_default" format="999" appearance="output" style="left:661px; top:106px; width:50px; height:19px; "/>
  1077. <caption id="caption12" style="left:714px; top:106px; width:35px; height:17px; ">세 ~</caption>
  1078. <input id="ipt_ageto" ref="/root/temp/age/ageto" class="input_default" format="999" appearance="output" style="left:752px; top:106px; width:50px; height:19px; ">
  1079. <script type="javascript" ev:event="onkeyup">
  1080. <![CDATA[
  1081. inputEnterKey("btn_age_ins", "DOMActivate");
  1082. ]]>
  1083. </script>
  1084. </input>
  1085. <caption id="caption13" style="left:805px; top:106px; width:20px; height:17px; ">세</caption>
  1086. <button id="btn_age_ins" class="btn2_letter2" style="left:661px; top:133px; width:42px; height:19px; ">
  1087. <caption>추가</caption>
  1088. <script type="javascript" ev:event="DOMActivate">
  1089. <![CDATA[
  1090. // 입력한 연령을 연령그리드에 넣어준다.
  1091. var agefrom = model.getValue("/root/temp/age/agefrom");
  1092. var ageto = model.getValue("/root/temp/age/ageto");
  1093. if(agefrom == ""){
  1094. var rtn = messageBox("시작연령 ", "C001");
  1095. return;
  1096. } else if(ageto == "") {
  1097. var rtn = messageBox("끝연령 ", "C001");
  1098. return;
  1099. } else {
  1100. if(agefrom > ageto){
  1101. var rtn = messageBox("시작연령과 끝연령을 올바르게", "C001");
  1102. } else {
  1103. grd_age.addRow();
  1104. model.copyNode("/root/main/agelist[" + grd_age.row + " ]", "/root/temp/age");
  1105. model.resetInstanceNode("/root/temp/age");
  1106. model.refresh();
  1107. grd_age.attribute ( "height" ) = ( grd_age.rows ) * 23;
  1108. model.setValue( "/root/init/diagdetlvw", "M" );
  1109. }
  1110. }
  1111. ]]>
  1112. </script>
  1113. </button>
  1114. <button id="btn_age_del" class="btn2_letter2" style="left:706px; top:133px; width:42px; height:19px; ">
  1115. <caption>삭제</caption>
  1116. <script type="javascript" ev:event="DOMActivate">
  1117. <![CDATA[
  1118. // 선택한 연령그리드를 삭제한다.
  1119. if ((grd_age.row > 0) && (grd_age.col > 1)){
  1120. grd_age.deleteRow(grd_age.row);
  1121. grd_age.refresh();
  1122. grd_age.attribute ( "height" ) = ( grd_age.rows ) * 23;
  1123. model.setValue( "/root/init/diagdetlvw", "M" );
  1124. } else {
  1125. messageBox("삭제할 행이 없거나 선택하지 ","E007");
  1126. }
  1127. ]]>
  1128. </script>
  1129. </button>
  1130. <line id="line9" class="line_3" style="x1:0px; y1:203px; x2:970px; y2:203px; "/>
  1131. <caption id="caption17" class="cell_1" style="left:0px; top:155px; width:105px; height:48px; text-align:center; vertical-align:middle; ">지역</caption>
  1132. <datagrid id="grd_area" nodeset="/root/main/area" class="datagrid0" scroll="auto" caption="^시도^시도코드^시군구^시군구코드^읍면동^읍면동코드" colwidth="0, 100, 0, 100, 0, 210, 0" dataheight="23" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="23" style="left:108px; top:155px; width:450px; height:47px; ">
  1133. <col ref="seq" visibility="hidden"/>
  1134. <col ref="city"/>
  1135. <col ref="citycd" visibility="hidden"/>
  1136. <col ref="citycntyarea"/>
  1137. <col ref="citycntyareacd" visibility="hidden"/>
  1138. <col ref="blok"/>
  1139. <col ref="blokcd" visibility="hidden"/>
  1140. </datagrid>
  1141. <select1 id="cmb_city" ref="/root/temp/areagrup/citycd" class="combo_default" appearance="minimal" style="left:561px; top:156px; width:90px; height:19px; ">
  1142. <choices>
  1143. <itemset nodeset="/root/init/areacity/city">
  1144. <label ref="citynm"/>
  1145. <value ref="citycd"/>
  1146. </itemset>
  1147. </choices>
  1148. <script type="javascript" ev:event="xforms-select">
  1149. <![CDATA[
  1150. // 선택한 시도에 따른 시군구를 가져온다.
  1151. // 선택한 시도의 lable값을 인스턴스에 심어준다.
  1152. var citycd = model.getValue("/root/temp/areagrup/citycd");
  1153. var citynm = cmb_city.label;
  1154. model.setValue("/root/send/citycd",citycd);
  1155. model.setValue("/root/temp/areagrup/city", citynm);
  1156. model.removenodeset("/root/init/areacitycnty/citycntyarea");
  1157. model.removenodeset("/root/init/areablok/blok");
  1158. model.resetInstanceNode("/root/temp/areagrup/citycntyareacd");
  1159. model.resetInstanceNode("/root/temp/areagrup/blokcd");
  1160. submit("TRCDT00102");
  1161. model.refresh();
  1162. ]]>
  1163. </script>
  1164. </select1>
  1165. <select1 id="cmb_citycntyarea" ref="/root/temp/areagrup/citycntyareacd" class="combo_default" appearance="minimal" style="left:654px; top:156px; width:130px; height:19px; ">
  1166. <choices>
  1167. <itemset nodeset="/root/init/areacitycnty/citycntyarea">
  1168. <label ref="citycntyareanm"/>
  1169. <value ref="citycntyareacd"/>
  1170. </itemset>
  1171. </choices>
  1172. <script type="javascript" ev:event="xforms-select">
  1173. <![CDATA[
  1174. // 선택한 시군구에 대한 읍면동을 가져온다.
  1175. // 선택한 시군구의 lable값을 인스턴스에 심어준다.
  1176. var citycntyareacd = model.getValue("/root/temp/areagrup/citycntyareacd");
  1177. var citycntyareanm = cmb_citycntyarea.label;
  1178. model.setValue("/root/send/citycntyareacd",citycntyareacd);
  1179. model.setValue("/root/temp/areagrup/citycntyarea", citycntyareanm);
  1180. submit("TRCDT00103");
  1181. model.refresh();
  1182. ]]>
  1183. </script>
  1184. </select1>
  1185. <select1 id="cmb_blok" ref="/root/temp/areagrup/blokcd" class="combo_default" appearance="minimal" style="left:787px; top:156px; width:180px; height:19px; ">
  1186. <choices>
  1187. <itemset nodeset="/root/init/areablok/blok">
  1188. <label ref="bloknm"/>
  1189. <value ref="blokcd"/>
  1190. </itemset>
  1191. </choices>
  1192. <script type="javascript" ev:event="xforms-select">
  1193. <![CDATA[
  1194. // 선택한 읍면동의 lable값을 인스턴스에 심어준다.
  1195. var bloknm = cmb_blok.label;
  1196. model.setValue("/root/temp/areagrup/blok", bloknm);
  1197. ]]>
  1198. </script>
  1199. </select1>
  1200. <button id="btn_area_ins" class="btn2_letter2" style="left:561px; top:180px; width:42px; height:19px; ">
  1201. <caption>추가</caption>
  1202. <script type="javascript" ev:event="DOMActivate">
  1203. <![CDATA[
  1204. // 선택한 지역을 지역그리드에 넣어준다.
  1205. var citycd = model.getValue("/root/temp/areagrup/citycd");
  1206. var city = model.getValue("/root/temp/areagrup/city");
  1207. var citycntyareacd = model.getValue("/root/temp/areagrup/citycntyareacd");
  1208. var citycntyarea = model.getValue("/root/temp/areagrup/citycntyarea");
  1209. var blokcd = model.getValue("/root/temp/areagrup/blokcd");
  1210. var blok = model.getValue("/root/temp/areagrup/blok");
  1211. if(citycd == ""){
  1212. var rtn = messageBox("시도를 ", "C002");
  1213. return;
  1214. } else {
  1215. grd_area.additem();
  1216. model.copyNode("/root/main/area[" + grd_area.row + " ]", "/root/temp/areagrup");
  1217. //model.resetInstanceNode("/root/temp/citycd");
  1218. model.resetInstanceNode("/root/temp/areagrup");
  1219. model.refresh();
  1220. }
  1221. ]]>
  1222. </script>
  1223. </button>
  1224. <button id="btn_area_del" class="btn2_letter2" style="left:606px; top:180px; width:42px; height:19px; ">
  1225. <caption>삭제</caption>
  1226. <script type="javascript" ev:event="DOMActivate">
  1227. <![CDATA[
  1228. // 선택한 지역그리드를 삭제한다.
  1229. deleteSelectedRows(grd_area, false); // 지역 선택행 삭제
  1230. //grd_area.deleteRow(grd_area.row);
  1231. //grd_area.refresh();
  1232. ]]>
  1233. </script>
  1234. </button>
  1235. <datagrid id="grd_age" nodeset="/root/main/agelist" class="datagrid" scroll="autovscroll" caption="^연령시작^연령끝" colwidth="0, 97, 97" dataheight="22" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="23" style="left:428px; top:105px; width:230px; height:48px; ">
  1236. <col ref="seq" visibility="hidden"/>
  1237. <col ref="agefrom"/>
  1238. <col ref="ageto"/>
  1239. <script type="javascript" ev:event="ondblclick">
  1240. <![CDATA[
  1241. if ( model.getValue( "/root/init/diagdetlvw" ) == "P" && grd_age.rows > 2) {
  1242. grd_age.attribute ( "height" ) = ( grd_age.rows ) * 23;
  1243. model.setValue( "/root/init/diagdetlvw", "M" );
  1244. } else if ( model.getValue( "/root/init/diagdetlvw" ) == "M" && grd_age.rows > 2) {
  1245. grd_age.attribute ( "height" ) = "45";
  1246. model.setValue( "/root/init/diagdetlvw", "P" );
  1247. }
  1248. ]]>
  1249. </script>
  1250. </datagrid>
  1251. </group>
  1252. <switch id="switch2" style="left:225px; top:245px; width:970px; height:210px; border-color:#c7a3cf; border-style:solid; ">
  1253. <case id="case1">
  1254. <line id="line10" class="line_2" style="x1:5px; y1:33px; x2:965px; y2:33px; "/>
  1255. <caption id="caption26" class="cell_1" style="left:5px; top:10px; width:105px; height:23px; text-align:center; vertical-align:middle; ">건진일자</caption>
  1256. <input id="ipt_infofromdd" ref="/root/main/healexam/healexaminfo/infofromdd" class="input_default" inputtype="date" style="left:113px; top:12px; width:93px; height:19px; "/>
  1257. <caption id="caption18" class="search_no_b" style="left:209px; top:10px; width:12px; height:17px; ">~</caption>
  1258. <input id="ipt_infotodd" ref="/root/main/healexam/healexaminfo/infotodd" class="input_default" inputtype="date" style="left:224px; top:12px; width:93px; height:19px; "/>
  1259. <caption id="caption28" class="cell_1" style="left:418px; top:10px; width:90px; height:23px; text-align:center; vertical-align:middle; ">건진구분</caption>
  1260. <select1 id="cmb_infohealexamflag" ref="/root/main/healexam/healexaminfo/infohealexamflag" class="combo_default" appearance="minimal" style="left:511px; top:12px; width:150px; height:19px; ">
  1261. <choices>
  1262. <itemset nodeset="/root/init/A0068list/A0068">
  1263. <label ref="cdnm"/>
  1264. <value ref="cdid"/>
  1265. </itemset>
  1266. </choices>
  1267. <script type="javascript" ev:event="xforms-select">
  1268. <![CDATA[
  1269. fSetInfoHealExamflag(); // 건진정보의 건진구분 선택에 따른 활성화
  1270. ]]>
  1271. </script>
  1272. </select1>
  1273. <line id="line11" class="line_2" style="x1:5px; y1:58px; x2:414px; y2:58px; "/>
  1274. <caption id="caption11" class="cell_1" style="left:5px; top:35px; width:105px; height:23px; text-align:center; vertical-align:middle; ">사업장</caption>
  1275. <output id="opt_cmpycd" ref="/root/main/healexam/healexaminfo/cmpycd" class="output_fix" style="left:113px; top:37px; width:80px; height:19px; "/>
  1276. <button id="btn_cmpysrch" class="icon_search" style="left:196px; top:37px; width:16px; height:16px; ">
  1277. <caption/>
  1278. <script type="javascript" ev:event="onclick">
  1279. <![CDATA[
  1280. // 사업장검색
  1281. var receive_cmpynm_path = "/root/main/healexam/healexaminfo/cmpynm";
  1282. var receive_cmpycd_path = "/root/main/healexam/healexaminfo/cmpycd";
  1283. fCmpyCodeList(receive_cmpycd_path, receive_cmpynm_path);
  1284. ]]>
  1285. </script>
  1286. </button>
  1287. <output id="opt_cmpynm" ref="/root/main/healexam/healexaminfo/cmpynm" class="output_fix" style="left:215px; top:37px; width:200px; height:19px; "/>
  1288. <line id="line13" class="line_2" style="x1:5px; y1:83px; x2:965px; y2:83px; "/>
  1289. <caption id="caption16" class="cell_1" style="left:5px; top:60px; width:105px; height:23px; text-align:center; vertical-align:middle; ">2차간염</caption>
  1290. <select1 id="rdo_scndhptstrgtyn" ref="/root/main/healexam/healexaminfo/scndhptstrgtyn" appearance="full" cols="2" rows="1" overflow="visible" style="left:113px; top:60px; width:100px; height:20px; border-style:none; ">
  1291. <choices>
  1292. <item>
  1293. <label>대상</label>
  1294. <value>Y</value>
  1295. </item>
  1296. <item>
  1297. <label>비대상</label>
  1298. <value>N</value>
  1299. </item>
  1300. </choices>
  1301. </select1>
  1302. <caption id="caption19" class="cell_1" style="left:216px; top:60px; width:90px; height:23px; text-align:center; vertical-align:middle; ">간암검사</caption>
  1303. <select1 id="rdo_livcncrtrgtyn" ref="/root/main/healexam/healexaminfo/livcncrtrgtyn" appearance="full" cols="2" rows="1" overflow="visible" style="left:309px; top:60px; width:105px; height:20px; border-style:none; ">
  1304. <choices>
  1305. <item>
  1306. <label>대상</label>
  1307. <value>Y</value>
  1308. </item>
  1309. <item>
  1310. <label>비대상</label>
  1311. <value>N</value>
  1312. </item>
  1313. </choices>
  1314. </select1>
  1315. <caption id="caption20" class="cell_1" style="left:5px; top:85px; width:105px; height:23px; text-align:center; vertical-align:middle; ">구강검사</caption>
  1316. <select1 id="rdo_oraltestyn" ref="/root/main/healexam/healexaminfo/oraltestyn" appearance="full" cols="2" rows="1" overflow="visible" style="left:113px; top:85px; width:100px; height:20px; border-style:none; ">
  1317. <choices>
  1318. <item>
  1319. <label>대상</label>
  1320. <value>Y</value>
  1321. </item>
  1322. <item>
  1323. <label>비대상</label>
  1324. <value>N</value>
  1325. </item>
  1326. </choices>
  1327. </select1>
  1328. <caption id="caption24" class="cell_1" style="left:216px; top:85px; width:90px; height:23px; text-align:center; vertical-align:middle; ">무료암검사</caption>
  1329. <select1 id="rdo_freecncrtrgtyn" ref="/root/main/healexam/healexaminfo/freecncrtrgtyn" appearance="full" cols="2" rows="1" overflow="visible" style="left:309px; top:85px; width:105px; height:20px; border-style:none; ">
  1330. <choices>
  1331. <item>
  1332. <label>대상</label>
  1333. <value>Y</value>
  1334. </item>
  1335. <item>
  1336. <label>비대상</label>
  1337. <value>N</value>
  1338. </item>
  1339. </choices>
  1340. </select1>
  1341. <line id="line12" class="line_2" style="x1:5px; y1:108px; x2:965px; y2:108px; "/>
  1342. <caption id="caption25" class="cell_1" style="left:418px; top:35px; width:90px; height:48px; text-align:center; vertical-align:middle; ">암검사 구분</caption>
  1343. <select id="chk_stmccncrflagyn" ref="/root/main/healexam/healexaminfo/stmccncrflagyn" overflow="visible" appearance="full" cols="1" style="left:511px; top:37px; width:43px; height:20px; border-style:none; ">
  1344. <choices>
  1345. <item>
  1346. <label>위</label>
  1347. <value>Y</value>
  1348. </item>
  1349. </choices>
  1350. </select>
  1351. <select1 id="cmb_stmccncrflag" ref="/root/main/healexam/healexaminfo/stmccncrflag" class="combo_essential" appearance="minimal" style="left:557px; top:37px; width:94px; height:19px; ">
  1352. <choices>
  1353. <itemset nodeset="/root/init/C0037list/C0037">
  1354. <label ref="cdnm"/>
  1355. <value ref="cdid"/>
  1356. </itemset>
  1357. </choices>
  1358. </select1>
  1359. <select id="chk_largeintescncrflagyn" ref="/root/main/healexam/healexaminfo/largeintescncrflagyn" overflow="visible" appearance="full" cols="1" style="left:654px; top:37px; width:43px; height:20px; border-style:none; ">
  1360. <choices>
  1361. <item>
  1362. <label>대장</label>
  1363. <value>Y</value>
  1364. </item>
  1365. </choices>
  1366. </select>
  1367. <select1 id="cmb_largeintescncrflag" ref="/root/main/healexam/healexaminfo/largeintescncrflag" class="combo_essential" appearance="minimal" style="left:725px; top:37px; width:94px; height:19px; ">
  1368. <choices>
  1369. <itemset nodeset="/root/init/C0037list/C0037">
  1370. <label ref="cdnm"/>
  1371. <value ref="cdid"/>
  1372. </itemset>
  1373. </choices>
  1374. </select1>
  1375. <select id="chk_livcncrflagyn" ref="/root/main/healexam/healexaminfo/livcncrflagyn" overflow="visible" appearance="full" cols="1" style="left:822px; top:37px; width:43px; height:20px; border-style:none; ">
  1376. <choices>
  1377. <item>
  1378. <label>간</label>
  1379. <value>Y</value>
  1380. </item>
  1381. </choices>
  1382. </select>
  1383. <select1 id="cmb_livcncrflag" ref="/root/main/healexam/healexaminfo/livcncrflag" class="combo_essential" appearance="minimal" style="left:868px; top:37px; width:94px; height:19px; ">
  1384. <choices>
  1385. <itemset nodeset="/root/init/C0037list/C0037">
  1386. <label ref="cdnm"/>
  1387. <value ref="cdid"/>
  1388. </itemset>
  1389. </choices>
  1390. </select1>
  1391. <select id="chk_mamcncrflagyn" ref="/root/main/healexam/healexaminfo/mamcncrflagyn" overflow="visible" appearance="full" cols="1" style="left:511px; top:62px; width:43px; height:20px; border-style:none; ">
  1392. <choices>
  1393. <item>
  1394. <label>유방</label>
  1395. <value>Y</value>
  1396. </item>
  1397. </choices>
  1398. </select>
  1399. <select1 id="cmb_mamcncrflag" ref="/root/main/healexam/healexaminfo/mamcncrflag" class="combo_essential" appearance="minimal" style="left:557px; top:62px; width:94px; height:19px; ">
  1400. <choices>
  1401. <itemset nodeset="/root/init/C0037list/C0037">
  1402. <label ref="cdnm"/>
  1403. <value ref="cdid"/>
  1404. </itemset>
  1405. </choices>
  1406. </select1>
  1407. <select id="chk_cervcncrflagyn" ref="/root/main/healexam/healexaminfo/cervcncrflagyn" overflow="visible" appearance="full" cols="1" style="left:654px; top:62px; width:68px; height:20px; border-style:none; ">
  1408. <choices>
  1409. <item>
  1410. <label>자궁경부</label>
  1411. <value>Y</value>
  1412. </item>
  1413. </choices>
  1414. </select>
  1415. <select1 id="cmb_cervcncrflag" ref="/root/main/healexam/healexaminfo/cervcncrflag" class="combo_essential" appearance="minimal" style="left:725px; top:62px; width:94px; height:19px; ">
  1416. <choices>
  1417. <itemset nodeset="/root/init/C0037list/C0037">
  1418. <label ref="cdnm"/>
  1419. <value ref="cdid"/>
  1420. </itemset>
  1421. </choices>
  1422. </select1>
  1423. <caption id="caption27" class="cell_1" style="left:5px; top:110px; width:105px; height:96px; text-align:center; vertical-align:middle; ">패키지</caption>
  1424. <datagrid id="grd_healexaminfopkg" nodeset="/root/main/healexaminfopkg" scroll="auto" caption="^패키지코드^명칭" colwidth="0, 100, 177" dataheight="23" ellipsis="true" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="23" tooltip="true" style="left:113px; top:110px; width:302px; height:73px; ">
  1425. <col ref="seq" visibility="hidden"/>
  1426. <col ref="pkgcd"/>
  1427. <col ref="pkgnm"/>
  1428. </datagrid>
  1429. <button id="btn_pkgsrch" class="icon_search" style="left:309px; top:185px; width:16px; height:16px; ">
  1430. <caption/>
  1431. <script type="javascript" ev:event="onclick">
  1432. <![CDATA[
  1433. // 건진정보패키지검색
  1434. var receive_pkgnm_path = "/root/temp/healexaminfopkg/pkgnm";
  1435. var receive_pkgcd_path = "/root/temp/healexaminfopkg/pkgcd";
  1436. fPkgCodeList(receive_pkgcd_path, receive_pkgnm_path);
  1437. ]]>
  1438. </script>
  1439. </button>
  1440. <output id="opt_pkgnm" ref="/root/temp/healexaminfopkg/pkgnm" class="output_fix" style="left:113px; top:185px; width:193px; height:19px; "/>
  1441. <button id="btn_pkg_ins" class="btn2_letter2" style="left:328px; top:185px; width:42px; height:19px; ">
  1442. <caption>추가</caption>
  1443. <script type="javascript" ev:event="DOMActivate">
  1444. <![CDATA[
  1445. // 입력한 연령을 연령그리드에 넣어준다.
  1446. var pkgcd = model.getValue("/root/temp/healexaminfopkg/pkgcd");
  1447. var pkgnm = model.getValue("/root/temp/healexaminfopkg/pkgnm");
  1448. if(pkgcd == "" || pkgnm == ""){
  1449. var rtn = messageBox("건진패키지를", "C001");
  1450. return;
  1451. } else {
  1452. grd_healexaminfopkg.addRow();
  1453. model.copyNode("/root/main/healexaminfopkg[" + grd_healexaminfopkg.row + " ]", "/root/temp/healexaminfopkg");
  1454. model.resetInstanceNode("/root/temp/healexaminfopkg");
  1455. model.refresh();
  1456. }
  1457. ]]>
  1458. </script>
  1459. </button>
  1460. <button id="btn_pkg_del" class="btn2_letter2" style="left:373px; top:185px; width:42px; height:19px; ">
  1461. <caption>삭제</caption>
  1462. <script type="javascript" ev:event="DOMActivate">
  1463. <![CDATA[
  1464. // 선택한 건진패키지를 삭제한다.
  1465. deleteSelectedRows(grd_healexaminfopkg, false);
  1466. ]]>
  1467. </script>
  1468. </button>
  1469. <caption id="caption29" class="cell_1" style="left:418px; top:85px; width:90px; height:121px; text-align:center; vertical-align:middle; ">추가검사</caption>
  1470. <datagrid id="grd_healexaminfotest" nodeset="/root/main/healexaminfotest" scroll="auto" caption="^검사코드^검사명" colwidth="0, 150, 271" dataheight="23" ellipsis="true" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="23" tooltip="true" style="left:511px; top:85px; width:451px; height:98px; ">
  1471. <col ref="seq" visibility="hidden"/>
  1472. <col ref="addtestcd"/>
  1473. <col ref="addtestnm"/>
  1474. </datagrid>
  1475. <output id="opt_addtestcd" ref="/root/temp/healexaminfotest/addtestcd" class="output_fix" style="left:511px; top:185px; width:100px; height:19px; "/>
  1476. <button id="btn_addtestsrch" class="icon_search" style="left:614px; top:185px; width:16px; height:16px; ">
  1477. <caption/>
  1478. <script type="javascript" ev:event="onclick">
  1479. <![CDATA[
  1480. // 검사검색
  1481. var standard = model.getValue("/root/temp/healexaminfotest/addtestnm");
  1482. var search_term = model.getValue("/root/temp/healexaminfotest/addtestcd");
  1483. var receive_testnm_path = "/root/temp/healexaminfotest/addtestnm";
  1484. var receive_testcd_path = "/root/temp/healexaminfotest/addtestcd";
  1485. var receive_rsltflag_path = "/root/temp/healexaminfotest/rsltflag";
  1486. fTestCodeList(standard, search_term, receive_testcd_path, receive_testnm_path, receive_rsltflag_path);
  1487. ]]>
  1488. </script>
  1489. </button>
  1490. <output id="opt_addtestnm" ref="/root/temp/healexaminfotest/addtestnm" class="output_fix" style="left:633px; top:185px; width:239px; height:19px; "/>
  1491. <button id="btn_addtest_ins" class="btn2_letter2" style="left:875px; top:185px; width:42px; height:19px; ">
  1492. <caption>추가</caption>
  1493. <script type="javascript" ev:event="DOMActivate">
  1494. <![CDATA[
  1495. // 입력한 추가검사를 추가검사그리드에 넣어준다.
  1496. var addtestcd = model.getValue("/root/temp/healexaminfotest/addtestcd");
  1497. var addtestnm = model.getValue("/root/temp/healexaminfotest/addtestnm");
  1498. if(addtestcd == "" || addtestnm == ""){
  1499. var rtn = messageBox("추가검사를", "C001");
  1500. return;
  1501. } else {
  1502. grd_healexaminfotest.addRow();
  1503. model.copyNode("/root/main/healexaminfotest[" + grd_healexaminfotest.row + " ]", "/root/temp/healexaminfotest");
  1504. model.resetInstanceNode("/root/temp/healexaminfotest");
  1505. model.refresh();
  1506. }
  1507. ]]>
  1508. </script>
  1509. </button>
  1510. <button id="btn_addtest_del" class="btn2_letter2" style="left:920px; top:185px; width:42px; height:19px; ">
  1511. <caption>삭제</caption>
  1512. <script type="javascript" ev:event="DOMActivate">
  1513. <![CDATA[
  1514. // 선택한 건진패키지를 삭제한다.
  1515. deleteSelectedRows(grd_healexaminfotest, false);
  1516. ]]>
  1517. </script>
  1518. </button>
  1519. </case>
  1520. <case id="case2">
  1521. <line id="line14" class="line_2" style="x1:5px; y1:33px; x2:317px; y2:33px; "/>
  1522. <caption id="caption30" class="cell_1" style="left:5px; top:10px; width:105px; height:23px; text-align:center; vertical-align:middle; ">건진일자</caption>
  1523. <input id="ipt_rsltfromdd" ref="/root/main/healexam/healexamrslt/rsltfromdd" class="input_default" inputtype="date" style="left:113px; top:12px; width:93px; height:19px; "/>
  1524. <caption id="caption31" class="search_no_b" style="left:209px; top:10px; width:12px; height:17px; ">~</caption>
  1525. <input id="ipt_rslttodd" ref="/root/main/healexam/healexamrslt/rslttodd" class="input_default" inputtype="date" style="left:224px; top:12px; width:93px; height:19px; "/>
  1526. <caption id="caption32" class="cell_1" style="left:320px; top:10px; width:105px; height:23px; text-align:center; vertical-align:middle; ">건진구분</caption>
  1527. <select1 id="cmb_rslthealexamflag" ref="/root/main/healexam/healexamrslt/rslthealexamflag" class="combo_default" appearance="minimal" style="left:428px; top:12px; width:150px; height:19px; ">
  1528. <choices>
  1529. <itemset nodeset="/root/init/A0068list/A0068">
  1530. <label ref="cdnm"/>
  1531. <value ref="cdid"/>
  1532. </itemset>
  1533. </choices>
  1534. <script type="javascript" ev:event="xforms-select">
  1535. <![CDATA[
  1536. var rslthealexamflag = model.getValue("/root/main/healexam/healexamrslt/rslthealexamflag");
  1537. if(rslthealexamflag == "G"){
  1538. btn_judgcode.disabled = false;
  1539. }else{
  1540. btn_judgcode.disabled = true;
  1541. }
  1542. ]]>
  1543. </script>
  1544. </select1>
  1545. <output id="opt_testcd" ref="/root/temp/healexamrslttest/testcd" class="output_fix" style="left:113px; top:134px; width:150px; height:19px; "/>
  1546. <output id="opt_testnm" ref="/root/temp/healexamrslttest/testnm" class="output_fix" style="left:266px; top:134px; width:300px; height:19px; "/>
  1547. <select1 id="cmb_rsltflag" ref="/root/temp/healexamrslttest/rsltflag" class="combo_default" disabled="true" appearance="minimal" style="left:569px; top:134px; width:67px; height:19px; ">
  1548. <choices>
  1549. <itemset nodeset="/root/init/A0066list/A0066">
  1550. <label ref="cdnm"/>
  1551. <value ref="cdid"/>
  1552. </itemset>
  1553. </choices>
  1554. </select1>
  1555. <button id="btn_testsrch" class="icon_search" style="left:639px; top:134px; width:16px; height:16px; ">
  1556. <caption/>
  1557. <script type="javascript" ev:event="onclick">
  1558. <![CDATA[
  1559. // 검사검색
  1560. var standard = model.getValue("/root/temp/healexamrslttest/testnm");
  1561. var search_term = model.getValue("/root/temp/healexamrslttest/testcd");
  1562. var receive_testnm_path = "/root/temp/healexamrslttest/testnm";
  1563. var receive_testcd_path = "/root/temp/healexamrslttest/testcd";
  1564. var receive_rsltflag_path = "/root/temp/healexamrslttest/rsltflag";
  1565. fTestCodeList(standard, search_term, receive_testcd_path, receive_testnm_path, receive_rsltflag_path);
  1566. ]]>
  1567. </script>
  1568. </button>
  1569. <input id="ipt_testrsltval" ref="/root/temp/healexamrslttest/testrsltval" class="input_default" editable="false" imemode="disabled" style="left:113px; top:159px; width:150px; height:19px; "/>
  1570. <input id="ipt_testnvalminval" ref="/root/temp/healexamrslttest/testnvalminval" class="input_default" imemode="disabled" style="left:296px; top:159px; width:50px; height:19px; "/>
  1571. <caption id="caption33" style="left:346px; top:159px; width:12px; height:17px; ">~</caption>
  1572. <input id="ipt_testnvalmaxval" ref="/root/temp/healexamrslttest/testnvalmaxval" class="input_default" imemode="disabled" style="left:358px; top:159px; width:50px; height:19px; "/>
  1573. <output id="opt_judgcd" ref="/root/temp/healexamrslttest/judgcd" class="output_fix" style="left:113px; top:184px; width:150px; height:19px; "/>
  1574. <output id="opt_judgnm" ref="/root/temp/healexamrslttest/judgnm" class="output_fix" style="left:266px; top:184px; width:300px; height:19px; "/>
  1575. <button id="btn_judgcode" class="icon_search" disabled="true" style="left:569px; top:184px; width:16px; height:16px; ">
  1576. <caption/>
  1577. <script type="javascript" ev:event="onclick">
  1578. <![CDATA[
  1579. // 판정검색
  1580. var rsltflag = "joincode";
  1581. var search_term = "";
  1582. var receive_judgnm_path = "/root/temp/healexamrslttest/judgnm";
  1583. var receive_judgcd_path = "/root/temp/healexamrslttest/judgcd";
  1584. fJudgCodeList(rsltflag, search_term, receive_judgcd_path, receive_judgnm_path);
  1585. ]]>
  1586. </script>
  1587. </button>
  1588. <button id="btn_test_ins" class="btn2_letter2" style="left:658px; top:133px; width:42px; height:19px; ">
  1589. <caption>추가</caption>
  1590. <script type="javascript" ev:event="DOMActivate">
  1591. <![CDATA[
  1592. // 검색한 검사결과정보를 그리드에 넣어준다.
  1593. var testnm = model.getValue("/root/temp/healexamrslttest/testnm");
  1594. var testcd = model.getValue("/root/temp/healexamrslttest/testcd");
  1595. if(testnm == "" || testcd ==""){
  1596. var rtn = messageBox("검사코드 ", "C001");
  1597. return;
  1598. } else {
  1599. grd_healexamrslttest.additem();
  1600. model.copyNode("/root/main/healexamrslttest[" + grd_healexamrslttest.row + " ]", "/root/temp/healexamrslttest");
  1601. model.resetInstanceNode("/root/temp/healexamrslttest");
  1602. model.refresh();
  1603. }
  1604. ]]>
  1605. </script>
  1606. </button>
  1607. <button id="btn_test_del" class="btn2_letter2" style="left:703px; top:133px; width:42px; height:19px; ">
  1608. <caption>삭제</caption>
  1609. <script type="javascript" ev:event="DOMActivate">
  1610. <![CDATA[
  1611. // 선택한 검사그리드를 삭제한다.
  1612. grd_healexamrslttest.deleteRow(grd_healexamrslttest.row);
  1613. grd_healexamrslttest.refresh();
  1614. ]]>
  1615. </script>
  1616. </button>
  1617. <datagrid id="grd_healexamrslttest" nodeset="/root/main/healexamrslttest" caption="^검사코드^검사명^결과구분^검사일반결과값^검사수치최소값^검사수치최대값^판정코드^판정명" colsep="^" colwidth="0, 80, 145, 70, 120, 90, 90, 80, 145" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="23" rowsep="|" style="left:113px; top:35px; width:849px; height:96px; ">
  1618. <col ref="seq" visibility="hidden"/>
  1619. <col ref="testcd"/>
  1620. <col ref="testnm"/>
  1621. <col ref="rsltflag"/>
  1622. <col ref="testrsltval"/>
  1623. <col ref="testnvalminval"/>
  1624. <col ref="testnvalmaxval"/>
  1625. <col ref="judgcd"/>
  1626. <col ref="judgnm"/>
  1627. </datagrid>
  1628. <caption id="caption34" class="cell_1" style="left:5px; top:35px; width:105px; height:96px; text-align:center; vertical-align:middle; ">개별건진검사결과</caption>
  1629. <caption id="caption35" class="cell_1" style="left:5px; top:131px; width:105px; height:25px; text-align:left; vertical-align:middle; ">1.검사코드</caption>
  1630. <caption id="caption36" class="cell_1" style="left:5px; top:156px; width:105px; height:25px; text-align:left; vertical-align:middle; ">2.검사결과값</caption>
  1631. <caption id="caption37" class="cell_1" style="left:5px; top:181px; width:105px; height:25px; text-align:left; vertical-align:middle; ">3.판정코드</caption>
  1632. <button id="btn_clscd" class="icon_search" style="left:268px; top:160px; width:16px; height:16px; ">
  1633. <caption/>
  1634. <script type="javascript" ev:event="onclick">
  1635. <![CDATA[
  1636. // 판정검색
  1637. var rsltflag = "O";
  1638. var search_term = "";
  1639. var receive_judgnm_path = "/root/temp/healexamrslttest/testrsltval";
  1640. var receive_judgcd_path = "";
  1641. fJudgCodeList(rsltflag, search_term, receive_judgcd_path, receive_judgnm_path);
  1642. ]]>
  1643. </script>
  1644. </button>
  1645. </case>
  1646. <case id="case3">
  1647. <line id="line16" class="line_2" style="x1:5px; y1:33px; x2:965px; y2:33px; "/>
  1648. <caption id="caption38" class="cell_1" style="left:5px; top:10px; width:105px; height:23px; text-align:center; vertical-align:middle; ">건진일자</caption>
  1649. <input id="ipt_judgfromdd" ref="/root/main/healexam/healexamjudg/judgfromdd" class="input_default" inputtype="date" style="left:113px; top:12px; width:93px; height:19px; "/>
  1650. <caption id="caption39" class="search_no_b" style="left:209px; top:10px; width:12px; height:17px; ">~</caption>
  1651. <input id="ipt_judgtodd" ref="/root/main/healexam/healexamjudg/judgtodd" class="input_default" inputtype="date" style="left:224px; top:12px; width:93px; height:19px; "/>
  1652. <caption id="caption40" class="cell_1" style="left:320px; top:10px; width:105px; height:23px; text-align:center; vertical-align:middle; ">건진구분</caption>
  1653. <select1 id="cmb_judghealexamflag" ref="/root/main/healexam/healexamjudg/judghealexamflag" class="combo_default" appearance="minimal" style="left:428px; top:12px; width:150px; height:19px; ">
  1654. <choices>
  1655. <itemset nodeset="/root/init/A0068list/A0068">
  1656. <label ref="cdnm"/>
  1657. <value ref="cdid"/>
  1658. </itemset>
  1659. </choices>
  1660. <!--<script type="javascript" ev:event="xforms-select">
  1661. <![CDATA[
  1662. fJudgHealExamFlagChoi();
  1663. ]]>
  1664. </script>-->
  1665. </select1>
  1666. <line id="line17" class="line_2" style="x1:5px; y1:118px; x2:965px; y2:118px; "/>
  1667. <caption id="caption41" class="cell_1" style="left:5px; top:35px; width:105px; height:83px; text-align:center; vertical-align:middle; ">판정질환(종검)</caption>
  1668. <datagrid id="grd_colgjudgsick" nodeset="/root/main/colgjudgsick" class="datagrid0" caption="^사업장코드^사업장명^질환코드^질환명^" colwidth="0, 60, 160, 60, 170" dataheight="23" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="23" style="left:112px; top:36px; width:480px; height:83px; ">
  1669. <col ref="seq" visibility="hidden"/>
  1670. <col ref="cmpycd"/>
  1671. <col ref="cmpynm"/>
  1672. <col ref="sickcd"/>
  1673. <col ref="sicknm"/>
  1674. </datagrid>
  1675. <output id="opt_cmpycd2" ref="/root/temp/colgjudgsick/cmpycd" class="output_fix" style="left:595px; top:36px; width:70px; height:19px; "/>
  1676. <button id="btn_cmpysrch2" class="icon_search" style="left:668px; top:36px; width:16px; height:16px; ">
  1677. <caption/>
  1678. <script type="javascript" ev:event="onclick">
  1679. <![CDATA[
  1680. // 사업장검색
  1681. var receive_cmpynm_path = "/root/temp/colgjudgsick/cmpynm";
  1682. var receive_cmpycd_path = "/root/temp/colgjudgsick/cmpycd";
  1683. fCmpyCodeList(receive_cmpycd_path, receive_cmpynm_path);
  1684. ]]>
  1685. </script>
  1686. </button>
  1687. <output id="opt_cmpynm2" ref="/root/temp/colgjudgsick/cmpynm" class="output_fix" style="left:687px; top:36px; width:220px; height:19px; "/>
  1688. <!--<output id="opt_sickcd" ref="/root/temp/colgjudgsick/sickcd" class="output_fix" style="left:595px; top:61px; width:70px; height:19px; "/>-->
  1689. <input id="ipt_sickcd" ref="/root/temp/colgjudgsick/sickcd" class="input_default" style="left:595px; top:61px; width:70px; height:19px; "/>
  1690. <button id="btn_sicksrch" class="icon_search" style="left:668px; top:61px; width:16px; height:16px; ">
  1691. <caption/>
  1692. <script type="javascript" ev:event="onclick">
  1693. <![CDATA[
  1694. // 판정질환검색
  1695. var receive_sicknm_path = "/root/temp/colgjudgsick/sicknm";
  1696. var receive_sickcd_path = "/root/temp/colgjudgsick/sickcd";
  1697. fSickCodeList(receive_sickcd_path, receive_sicknm_path);
  1698. ]]>
  1699. </script>
  1700. </button>
  1701. <!--<output id="opt_sicknm" ref="/root/temp/colgjudgsick/sicknm" class="output_fix" style="left:687px; top:61px; width:185px; height:19px; "/>-->
  1702. <input id="ipt_sicknm" ref="/root/temp/colgjudgsick/sicknm" class="input_default" style="left:687px; top:61px; width:220px; height:19px; "/>
  1703. <button id="btn_sick_ins" class="btn2_letter2" style="left:595px; top:85px; width:42px; height:19px; ">
  1704. <caption>추가</caption>
  1705. <script type="javascript" ev:event="DOMActivate">
  1706. <![CDATA[
  1707. // 검색한 판정질환(종검)정보를 그리드에 넣어준다.
  1708. var cmpycd = model.getValue("/root/temp/colgjudgsick/cmpycd");
  1709. var sickcd = model.getValue("/root/temp/colgjudgsick/sickcd");
  1710. if(sickcd ==""){
  1711. var rtn = messageBox("판정질환을 ", "C001");
  1712. return;
  1713. } else {
  1714. grd_colgjudgsick.additem();
  1715. model.copyNode("/root/main/colgjudgsick[" + grd_colgjudgsick.row + " ]", "/root/temp/colgjudgsick");
  1716. model.resetInstanceNode("/root/temp/colgjudgsick");
  1717. model.refresh();
  1718. }
  1719. ]]>
  1720. </script>
  1721. </button>
  1722. <button id="btn_sick_del" class="btn2_letter2" style="left:640px; top:85px; width:42px; height:19px; ">
  1723. <caption>삭제</caption>
  1724. <script type="javascript" ev:event="DOMActivate">
  1725. <![CDATA[
  1726. fDelRow(grd_colgjudgsick);
  1727. ]]>
  1728. </script>
  1729. </button>
  1730. <line id="line18" class="line_2" style="x1:5px; y1:203px; x2:965px; y2:203px; "/>
  1731. <caption id="caption42" class="cell_1" style="left:5px; top:120px; width:105px; height:83px; text-align:center; vertical-align:middle; ">판정코드(일검)</caption>
  1732. <datagrid id="grd_gnrljudg" nodeset="/root/main/gnrljudg" class="datagrid0" caption="^분류코드^하위코드^상세코드^상세코드명" colwidth="0, 80, 80, 80, 200" dataheight="23" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="23" style="left:112px; top:121px; width:480px; height:83px; ">
  1733. <col ref="seq" visibility="hidden"/>
  1734. <col ref="clscd"/>
  1735. <col ref="etccd"/>
  1736. <col ref="etcdetlcd"/>
  1737. <col ref="etcdetlnm"/>
  1738. </datagrid>
  1739. <output id="opt_gnrljudgcd" ref="/root/temp/gnrljudg/etcdetlcd" class="output_fix" style="left:595px; top:146px; width:100px; height:19px; "/>
  1740. <button id="btn_gnrljudgsrch" class="icon_search" style="left:810px; top:123px; width:16px; height:16px; ">
  1741. <caption/>
  1742. <script type="javascript" ev:event="onclick">
  1743. <![CDATA[
  1744. // 판정검색
  1745. var receive_clscd_path = "/root/temp/gnrljudg/clscd"
  1746. var receive_etccd_path = "/root/temp/gnrljudg/etccd"
  1747. var receive_etcdetlcd_path = "/root/temp/gnrljudg/etcdetlcd";
  1748. var receive_etcdetlnm_path = "/root/temp/gnrljudg/etcdetlnm";
  1749. fClsCodeList(receive_clscd_path, receive_etccd_path, receive_etcdetlcd_path, receive_etcdetlnm_path);
  1750. ]]>
  1751. </script>
  1752. </button>
  1753. <button id="btn_gnrljudg_ins" class="btn2_letter2" style="left:595px; top:171px; width:42px; height:19px; ">
  1754. <caption>추가</caption>
  1755. <script type="javascript" ev:event="DOMActivate">
  1756. <![CDATA[
  1757. var clscd = model.getValue("/root/temp/gnrljudg/clscd");
  1758. if(clscd == ""){
  1759. var rtn = messageBox("판정코드를 ", "C001");
  1760. return;
  1761. } else {
  1762. grd_gnrljudg.additem();
  1763. model.copyNode("/root/main/gnrljudg[" + grd_gnrljudg.row + " ]", "/root/temp/gnrljudg");
  1764. model.resetInstanceNode("/root/temp/gnrljudg");
  1765. model.refresh();
  1766. }
  1767. ]]>
  1768. </script>
  1769. </button>
  1770. <button id="btn_gnrljudg_del" class="btn2_letter2" style="left:640px; top:171px; width:42px; height:19px; ">
  1771. <caption>삭제</caption>
  1772. <script type="javascript" ev:event="DOMActivate">
  1773. <![CDATA[
  1774. fDelRow(grd_gnrljudg);
  1775. ]]>
  1776. </script>
  1777. </button>
  1778. <output id="output1" ref="/root/temp/gnrljudg/clscd" class="output_fix" style="left:595px; top:121px; width:100px; height:19px; "/>
  1779. <output id="output2" ref="/root/temp/gnrljudg/etcdetlnm" class="output_fix" style="left:702px; top:146px; width:205px; height:19px; "/>
  1780. <output id="output4" ref="/root/temp/gnrljudg/etccd" class="output_fix" style="left:702px; top:121px; width:100px; height:19px; "/>
  1781. </case>
  1782. <!--<case id="case4" selected="true">
  1783. <line id="line20" class="line_2" style="x1:5px; y1:58px; x2:450px; y2:58px; "/>
  1784. <caption id="caption60" class="cell_1" style="left:5px; top:10px; width:105px; height:48px; text-align:center; vertical-align:middle; ">캠페인</caption>
  1785. <select1 id="cmb_cmpnlrgcd" ref="/root/main/healexam/cmpnlnk/cmpnlrgcd" class="combo_default" appearance="minimal" style="left:113px; top:12px; width:108px; height:19px; ">
  1786. <choices>
  1787. <itemset nodeset="/root/init/cmpnlrg/cmpnlrggrup">
  1788. <label ref="cmpnlrgnm"/>
  1789. <value ref="cmpnlrgcd"/>
  1790. </itemset>
  1791. </choices>
  1792. <script type="javascript" ev:event="xforms-select">
  1793. <![CDATA[
  1794. model.removenodeset("/root/init/cmpnmdl/cmpnmdlgrup");
  1795. model.removenodeset("/root/init/cmpnsml/cmpnsmlgrup");
  1796. model.resetInstanceNode("/root/main/info/cmpnmdlcd");
  1797. model.resetInstanceNode("/root/main/info/cmpnsmlcd");
  1798. // 선택한 캠페인 대분류에 따른 캠페인 중분류를 가져온다.
  1799. fGetCmpnMdlCd();
  1800. model.setFocus("cmb_cmpnmdlcd");
  1801. ]]>
  1802. </script>
  1803. </select1>
  1804. <select1 id="cmb_cmpnmdlcd" ref="/root/main/healexam/cmpnlnk/cmpnmdlcd" class="combo_default" appearance="minimal" style="left:224px; top:12px; width:110px; height:19px; ">
  1805. <choices>
  1806. <itemset nodeset="/root/init/cmpnmdl/cmpnmdlgrup">
  1807. <label ref="cmpnmdlnm"/>
  1808. <value ref="cmpnmdlcd"/>
  1809. </itemset>
  1810. </choices>
  1811. <script type="javascript" ev:event="xforms-select">
  1812. <![CDATA[
  1813. // 선택한 캠페인 대분류에 따른 캠페인 중분류를 가져온다.
  1814. fGetCmpnSmlCd();
  1815. model.setFocus("cmb_cmpnsmlcd");
  1816. ]]>
  1817. </script>
  1818. </select1>
  1819. <select1 id="cmb_cmpnsmlcd" ref="/root/main/healexam/cmpnlnk/cmpnsmlcd" class="combo_default" appearance="minimal" style="left:337px; top:12px; width:110px; height:19px; ">
  1820. <choices>
  1821. <itemset nodeset="/root/init/cmpnsml/cmpnsmlgrup">
  1822. <label ref="cmpnsmlnm"/>
  1823. <value ref="cmpnsmlcd"/>
  1824. </itemset>
  1825. </choices>
  1826. <script type="javascript" ev:event="xforms-select">
  1827. <![CDATA[
  1828. // 선택한 캠페인 소분류에 따른 캠페인 리스트를 가져온다.
  1829. fGetCmpnList();
  1830. ]]>
  1831. </script>
  1832. </select1>
  1833. <input id="ipt_cmpnnm" ref="/root/main/healexam/cmpnlnk/cmpnnm" class="input_default" style="left:113px; top:35px; width:221px; height:19px; "/>
  1834. <line id="line21" class="line_2" style="x1:5px; y1:82px; x2:450px; y2:82px; "/>
  1835. <caption id="caption62" class="cell_1" style="left:5px; top:60px; width:105px; height:23px; text-align:center; vertical-align:middle; ">자동실행구분</caption>
  1836. <select1 id="cmb_autexecflag" ref="/root/main/healexam/tmpldefine/autexecflag" class="combo_default" appearance="minimal" style="left:113px; top:62px; width:100px; height:19px; ">
  1837. <choices>
  1838. <item>
  1839. <label>자동</label>
  1840. <value>A</value>
  1841. </item>
  1842. <item>
  1843. <label>수동</label>
  1844. <value>M</value>
  1845. </item>
  1846. </choices>
  1847. </select1>
  1848. <caption id="caption61" class="cell_1" style="left:220px; top:60px; width:105px; height:23px; text-align:center; vertical-align:middle; ">매일 실행 시각</caption>
  1849. <input id="ipt_execdt" ref="/root/main/healexam/tmpldefine/execdt" class="input_default" format="hh:nn" style="left:328px; top:60px; width:119px; height:19px; "/>
  1850. <script type="javascript" ev:event="DOMFocusOut">
  1851. <![CDATA[
  1852. var check_tm = model.getValue("/root/main/healexam/tmpldefine/daydd");
  1853. if (check_tm != "" && !isValidDateTime(check_tm,"hhmm")) {
  1854. messageBox("시간이 바르게 입력되지","E007");
  1855. model.resetInstanceNode("/root/main/healexam/tmpldefine/daydd");
  1856. model.refresh();
  1857. model.setFocus("ipt_daydd");
  1858. }
  1859. ]]>
  1860. </script>
  1861. <line id="line22" class="line_2" style="x1:5px; y1:106px; x2:965px; y2:106px; "/>
  1862. <caption id="caption64" class="cell_1" style="left:5px; top:84px; width:105px; height:23px; text-align:center; vertical-align:middle; ">고객존재시</caption>
  1863. <select1 id="rdo_clintdupltretmthd" ref="/root/main/healexam/tmpldefine/clintdupltretmthd" appearance="full" cellspacing="15" cols="3" overflow="visible" style="left:113px; top:86px; width:250px; height:19px; background-color:transparent; border-style:none; ">
  1864. <choices>
  1865. <item>
  1866. <label>변경됨</label>
  1867. <value>0</value>
  1868. </item>
  1869. <item>
  1870. <label>추가 등록됨</label>
  1871. <value>1</value>
  1872. </item>
  1873. <item>
  1874. <label>적용안함</label>
  1875. <value>2</value>
  1876. </item>
  1877. </choices>
  1878. </select1>
  1879. <datagrid id="grd_cmpnlist" nodeset="/root/main/info/cmpnlist" caption="소분류^캠페인 코드^캠페인명" colwidth="130, 90, 240" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:451px; top:10px; width:500px; height:95px; ">
  1880. <col ref="cmpnsmlnm"/>
  1881. <col ref="cmpncd"/>
  1882. <col ref="cmpnnm"/>
  1883. <script type="javascript" ev:event="ondblclick">
  1884. <![CDATA[
  1885. // 선택한 데이터마이닝 대그룹에 속한 데이터마이닝 중그룹을 가져온다.
  1886. var row = grd_cmpnlist.row;
  1887. var cmpncd = grd_cmpnlist.valueMatrix( row, grd_cmpnlist.colRef("cmpncd"));
  1888. var cmpnnm = grd_cmpnlist.valueMatrix( row, grd_cmpnlist.colRef("cmpnnm"));
  1889. model.setValue("/root/main/healexam/cmpnlnk/cmpncd", cmpncd);
  1890. model.setValue("/root/main/healexam/cmpnlnk/cmpnnm", cmpnnm);
  1891. model.refresh();
  1892. ]]>
  1893. </script>
  1894. </datagrid>
  1895. <line id="line23" class="line_2" style="x1:5px; y1:131px; x2:965px; y2:131px; "/>
  1896. <caption id="caption44" class="cell_1" style="left:5px; top:108px; width:105px; height:23px; text-align:center; vertical-align:middle; ">적용기준일</caption>
  1897. <select1 id="rdo_appbasedd" ref="/root/main/healexam/tmpldefine/appbasedd" appearance="full" cellspacing="15" cols="7" overflow="visible" style="left:113px; top:110px; width:330px; height:19px; background-color:transparent; border-style:none; ">
  1898. <choices>
  1899. <itemset nodeset="/root/init/C0032list/C0032">
  1900. <label ref="cdnm"/>
  1901. <value ref="cdid"/>
  1902. </itemset>
  1903. </choices>
  1904. </select1>
  1905. <input id="ipt_spcldd" ref="/root/main/healexam/tmpldefine/spcldd" class="input_search" inputtype="date" style="left:445px; top:110px; width:120px; height:19px; "/>
  1906. </case>-->
  1907. </switch>
  1908. <button id="btn_healexaminfo" class="btn_sw" group="tab" style="left:225px; top:225px; width:100px; height:22px; ">
  1909. <caption>건진정보</caption>
  1910. <script type="javascript" ev:event="DOMActivate">
  1911. <![CDATA[
  1912. var healexaminfouseyn = model.getvalue("/root/main/healexam/tmpldefine/healexaminfouseyn")
  1913. if (healexaminfouseyn == "Y") {
  1914. model.toggle("case1");
  1915. } else {
  1916. messageBox("연결정보중 건진정보가 선택되지","E007");
  1917. }
  1918. ]]>
  1919. </script>
  1920. </button>
  1921. <button id="btn_rsltinfo" class="btn_sw" group="tab" style="left:325px; top:225px; width:100px; height:22px; ">
  1922. <caption>결과정보</caption>
  1923. <script type="javascript" ev:event="DOMActivate">
  1924. <![CDATA[
  1925. var rsltinfouseyn = model.getvalue("/root/main/healexam/tmpldefine/rsltinfouseyn")
  1926. if (rsltinfouseyn == "Y") {
  1927. model.toggle("case2");
  1928. } else {
  1929. messageBox("연결정보중 결과정보가 선택되지","E007");
  1930. }
  1931. ]]>
  1932. </script>
  1933. </button>
  1934. <button id="btn_judginfo" class="btn_sw" group="tab" style="left:425px; top:225px; width:100px; height:22px; ">
  1935. <caption>판정정보</caption>
  1936. <script type="javascript" ev:event="DOMActivate">
  1937. <![CDATA[
  1938. var judginfouseyn = model.getvalue("/root/main/healexam/tmpldefine/judginfouseyn")
  1939. if (judginfouseyn == "Y") {
  1940. model.toggle("case3");
  1941. } else {
  1942. messageBox("연결정보중 판정정보가 선택되지","E007");
  1943. }
  1944. ]]>
  1945. </script>
  1946. </button>
  1947. <!--<button id="btn_cmpn" class="btn_sw" group="tab" style="left:525px; top:275px; width:100px; height:22px; ">
  1948. <caption>캠페인 연결</caption>
  1949. <script type="javascript" ev:event="DOMActivate">
  1950. <![CDATA[
  1951. model.toggle("case4");
  1952. ]]>
  1953. </script>
  1954. </button>-->
  1955. <group id="group4" style="left:225px; top:465px; width:970px; height:310px; ">
  1956. <caption id="caption45" class="tit_2" style="left:5px; top:0px; width:251px; height:13px; ">탬플릿 수동 실행 미리보기 결과</caption>
  1957. <button id="btn_sms" class="btn3_letter5" style="left:5px; top:16px; width:92px; height:22px; ">
  1958. <caption>SMS전송</caption>
  1959. <script type="javascript" ev:event="DOMActivate">
  1960. <![CDATA[
  1961. cczfSMSTrsmOpen("grid",grd_healexamdtmnexeclist,1,7,"","");
  1962. ]]>
  1963. </script>
  1964. </button>
  1965. <button id="btn_email" class="btn3_letter5" style="left:100px; top:16px; width:92px; height:22px; ">
  1966. <caption>이메일발송</caption>
  1967. <script type="javascript" ev:event="DOMActivate">
  1968. <![CDATA[
  1969. cczfEmailTrsmOpen("grid",grd_dtmnexec,8,"");
  1970. ]]>
  1971. </script>
  1972. </button>
  1973. <button id="btn_dm" class="btn3_letter4" style="left:195px; top:16px; width:80px; height:22px; ">
  1974. <caption>DM출력</caption>
  1975. <script type="javascript" ev:event="DOMActivate">
  1976. <![CDATA[
  1977. cczfDMTrsmOpen(grd_dtmnexec,1,9,10,2);
  1978. ]]>
  1979. </script>
  1980. </button>
  1981. <!--<button id="btn_cmpn_ins" class="btn3_letter5" style="left:278px; top:16px; width:92px; height:22px; ">
  1982. <caption>캠페인등록</caption>
  1983. <script type="javascript" ev:event="DOMActivate">
  1984. <![CDATA[
  1985. cczfOpenInsertCmpn(grd_dtmnexec,"03");
  1986. ]]>
  1987. </script>
  1988. </button>-->
  1989. <caption id="caption46" style="left:690px; top:16px; width:80px; height:17px; ">전체 인원수 :</caption>
  1990. <output id="opt_count" ref="/root/temp/countnode" appearance="output" style="left:773px; top:15px; width:30px; height:19px; text-align:right; "/>
  1991. <caption id="caption47" style="left:806px; top:16px; width:30px; height:17px; ">건</caption>
  1992. <button id="btn_saveexcel" class="btn2_letter4" style="left:839px; top:15px; width:64px; height:19px; ">
  1993. <caption>엑셀저장</caption>
  1994. <script type="javascript" ev:event="DOMActivate">
  1995. <![CDATA[
  1996. var file_nm = window.fileDialog("save", ",", false, "excel", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
  1997. if (file_nm != "") {
  1998. grd_healexamdtmnexeclist.saveExcel(file_nm, "SheetName", true, true, "", "", false);
  1999. }
  2000. ]]>
  2001. </script>
  2002. </button>
  2003. <button id="btn_manlexec" class="btn2_letter4" style="left:906px; top:15px; width:64px; height:19px; ">
  2004. <caption>수동실행</caption>
  2005. <script type="javascript" ev:event="DOMActivate">
  2006. <![CDATA[
  2007. fHealExamDtMnExec(); //건진데이터마이닝 수동실행
  2008. ]]>
  2009. </script>
  2010. </button>
  2011. <line id="line24" class="line_1" style="x1:0px; y1:41px; x2:970px; y2:41px; "/>
  2012. <datagrid id="grd_healexamdtmnexeclist" nodeset="/root/main/list/healexamdtmnexeclist" caption="이름^등록번호^성별^혈액형^RH^나이^휴대폰^이메일^우편번호^주소^최종내원일" colwidth="100, 100, 50, 50, 50, 50, 100, 150, 100, 295, 100" defaultrows="1" explorerbar="sortshowmove" rowheader="seq" style="left:0px; top:46px; width:970px; height:240px; ">
  2013. <col ref="hngnm"/>
  2014. <col ref="pid"/>
  2015. <col ref="sex"/>
  2016. <col ref="btype"/>
  2017. <col ref="rh"/>
  2018. <col ref="age"/>
  2019. <col ref="mpphontel"/>
  2020. <col ref="email"/>
  2021. <col ref="zipcd"/>
  2022. <col ref="address"/>
  2023. <col ref="lastchosdt"/>
  2024. </datagrid>
  2025. <button id="btn_select" class="btn2_letter4" style="left:0px; top:289px; width:64px; height:19px; ">
  2026. <caption>전체선택</caption>
  2027. <script type="javascript" ev:event="DOMActivate">
  2028. <![CDATA[
  2029. var grid = grd_healexamdtmnexeclist;
  2030. var grid_rows = grid.rows-1;
  2031. grid.selectionmode = "byrow";
  2032. grid.select(1, 1, grid_rows, 1) = true;
  2033. ]]>
  2034. </script>
  2035. </button>
  2036. <button id="btn_release" class="btn2_letter4" style="left:67px; top:289px; width:64px; height:19px; ">
  2037. <caption>전체해제</caption>
  2038. <script type="javascript" ev:event="DOMActivate">
  2039. <![CDATA[
  2040. var grid = grd_healexamdtmnexeclist;
  2041. var grid_rows = grid.rows-1;
  2042. grid.selectionmode = "byrow";
  2043. grid.select(1, 1, grid_rows, 1) = false;
  2044. ]]>
  2045. </script>
  2046. </button>
  2047. </group>
  2048. <group id="group1" style="left:0px; top:23px; width:215px; height:757px; ">
  2049. <caption id="caption48" class="tit_2" style="left:0px; top:0px; width:215px; height:14px; ">건진정보마이닝 템플릿</caption>
  2050. <import id="import1" src="./SSCHT00400_건진데이터마이닝그룹트리.xrw" style="left:0px; top:13px; width:215px; height:744px; "/>
  2051. </group>
  2052. </xhtml:body>
  2053. </xhtml:html>