SMAAA00100_자원봉사자신상등록관리.xrw 158 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
  3. <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">
  4. <xhtml:head>
  5. <xhtml:title>자원봉사자신상등록관리</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <send>
  10. <savedata/>
  11. <chkdata/>
  12. <reqdata/>
  13. </send>
  14. <main>
  15. <grdlist>
  16. <itemlist>
  17. <voluntrnm/>
  18. <baptnm/>
  19. <actdeptcd/>
  20. <actdeptdetlnm/>
  21. <voluntractdwcd/>
  22. <voluntractteamcd/>
  23. <actfromdd/>
  24. <acttodd/>
  25. <actrgstseqno/>
  26. <mpphontel/>
  27. </itemlist>
  28. </grdlist>
  29. <voluntrinfo>
  30. <baseinfo>
  31. <itemlist>
  32. <voluntrid/>
  33. <instcd/>
  34. <voluntrflag/>
  35. <actstatflag/>
  36. <voluntrnm/>
  37. <rrgstno1/>
  38. <rrgstno2/>
  39. <rrgstno/>
  40. <brthdd/>
  41. <solarlunarflag/>
  42. <sex/>
  43. <baptnm/>
  44. <bapyy/>
  45. <festivdd/>
  46. <marflag/>
  47. <zipcd2/>
  48. <zipcdseq/>
  49. <addr/>
  50. <detladdr/>
  51. <hometel/>
  52. <mpphontel/>
  53. <religncd/>
  54. <parichflag/>
  55. <parichchrchnm/>
  56. <emailid/>
  57. <emailaddr/>
  58. <etcemailaddr/>
  59. <jobnm/>
  60. <svcactcarer/>
  61. <spcvoluntrfild/>
  62. <hoby/>
  63. <skil/>
  64. <actrem/>
  65. <actappdd/>
  66. <joinorgdd/>
  67. <baseeduccmpltyn/>
  68. <age/>
  69. <zipcd1/>
  70. <status/>
  71. <joinorgseqno/>
  72. <quitorgdd/>
  73. <voluntridyy/>
  74. <actstatflag2/>
  75. <photimg/>
  76. <fstjoinorgdd/>
  77. <actdata/>
  78. <famydata/>
  79. <photflag/>
  80. <smsrecvyn/>
  81. </itemlist>
  82. <prescondlist>
  83. <actstatflag/>
  84. <servtm/>
  85. <attdabsnflag01/>
  86. <attdabsnflag02/>
  87. <attdabsnflag03/>
  88. <attdabsnflag04/>
  89. <attdabsnflag05/>
  90. <voluntrid/>
  91. <entrydd/>
  92. </prescondlist>
  93. </baseinfo>
  94. <famylist>
  95. <infolist>
  96. <famynm/>
  97. <famyrel/>
  98. <famyage/>
  99. <famyjobnm/>
  100. <religncd/>
  101. <famybaptnm/>
  102. <voluntrid/>
  103. <famyseqno/>
  104. </infolist>
  105. </famylist>
  106. </voluntrinfo>
  107. <voluntractprescond>
  108. <actlist>
  109. <servkind/>
  110. <actdeptcd/>
  111. <actdeptdetlnm/>
  112. <voluntractdwcd/>
  113. <voluntractteamcd/>
  114. <actfromdd/>
  115. <acttodd/>
  116. <voluntrid/>
  117. <actrgstseqno/>
  118. <status/>
  119. </actlist>
  120. <joinlist>
  121. <actdeptcd/>
  122. <actdeptdetlnm/>
  123. <voluntractdwcd/>
  124. <voluntractteamcd/>
  125. <joinflag/>
  126. <joinorgdd/>
  127. <rejoinorgdd/>
  128. <actappdd/>
  129. <quitorgdd/>
  130. <quitorgresn/>
  131. <voluntrid/>
  132. <joinorgseqno/>
  133. </joinlist>
  134. <condlist>
  135. <servkind/>
  136. <actdeptcd/>
  137. <actdeptdetlnm/>
  138. <voluntractdwcd/>
  139. <voluntractteamcd/>
  140. <specactteam/>
  141. <servdd/>
  142. <servtm/>
  143. <attdrem/>
  144. <voluntrid/>
  145. <servseqno/>
  146. </condlist>
  147. <edulist>
  148. <actdeptcd/>
  149. <actdeptdetlnm/>
  150. <voluntractdwcd/>
  151. <voluntractteamcd/>
  152. <educfestivcd/>
  153. <educfestivnm/>
  154. <entrydd/>
  155. <educrcogtm/>
  156. <servtmrcogflag/>
  157. <plcenm/>
  158. <chrgpsnnm/>
  159. <voluntrid/>
  160. <attdrem/>
  161. </edulist>
  162. <prizlist>
  163. <actdeptcd/>
  164. <actdeptdetlnm/>
  165. <voluntractdwcd/>
  166. <voluntractteamcd/>
  167. <prizflagcd/>
  168. <prizbenfdd/>
  169. <prizbenfrem/>
  170. <voluntrid/>
  171. <status/>
  172. </prizlist>
  173. <benflist>
  174. <actdeptcd/>
  175. <actdeptdetlnm/>
  176. <voluntractdwcd/>
  177. <voluntractteamcd/>
  178. <benfflagcd/>
  179. <prizbenfdd/>
  180. <prizbenfrem/>
  181. <voluntrid/>
  182. <status/>
  183. </benflist>
  184. <holilist>
  185. <actdeptcd/>
  186. <actdeptdetlnm/>
  187. <voluntractdwcd/>
  188. <voluntractteamcd/>
  189. <fromdd/>
  190. <todd/>
  191. <holicd/>
  192. <holijobrem/>
  193. <voluntrid/>
  194. <holijobrespflag/>
  195. <status/>
  196. </holilist>
  197. <jobresplist>
  198. <actdeptcd/>
  199. <actdeptdetlnm/>
  200. <voluntractdwcd/>
  201. <voluntractteamcd/>
  202. <jobrespcd/>
  203. <fromdd/>
  204. <todd/>
  205. <holijobrem/>
  206. <voluntrid/>
  207. <status/>
  208. </jobresplist>
  209. <specactteamlist>
  210. <servkind/>
  211. <specactteam/>
  212. <actfromdd/>
  213. <acttodd/>
  214. <status/>
  215. </specactteamlist>
  216. </voluntractprescond>
  217. <search>
  218. <servkind/>
  219. <fromdd/>
  220. <todd/>
  221. <voluntrid/>
  222. <termflag/>
  223. <searchflag/>
  224. <holijobrespflag/>
  225. <attdabsnflag/>
  226. </search>
  227. <reqpopup>
  228. <reqpopuplist/>
  229. </reqpopup>
  230. <aaa>
  231. <report>
  232. <stampflag>2</stampflag>
  233. <systeminstnm/>
  234. <voluntrflagnm/>
  235. <stampflagnm/>
  236. <issrem/>
  237. <isscnts/>
  238. <status/>
  239. <no/>
  240. </report>
  241. </aaa>
  242. <reportsql>
  243. <reportissseq>
  244. <issyy/>
  245. <issseqno/>
  246. </reportissseq>
  247. </reportsql>
  248. <reqfamypopup/>
  249. <returnsts>
  250. <statusinfo>
  251. <restatus/>
  252. <voluntrid/>
  253. <actstatflag/>
  254. <restatusdd/>
  255. </statusinfo>
  256. </returnsts>
  257. <barcdprntsetup/>
  258. </main>
  259. <actsource>
  260. <servkind/>
  261. <actdeptcd/>
  262. <actdeptdetlnm/>
  263. <voluntractdwcd/>
  264. <voluntractteamcd/>
  265. <actfromdd/>
  266. <acttodd/>
  267. <voluntrid/>
  268. <actrgstseqno/>
  269. <status/>
  270. <reflag/>
  271. </actsource>
  272. <source>
  273. <voluntrnm/>
  274. <rrgstno1/>
  275. <rrgstno2/>
  276. <popupflag/>
  277. <flag/>
  278. </source>
  279. <quitsource>
  280. <quitorgdd/>
  281. <quitorgresn/>
  282. <voluntrid/>
  283. <actstatflag/>
  284. <quitorgdd2/>
  285. </quitsource>
  286. <rejoinsource>
  287. <actstatflag/>
  288. <rejoinorgdd/>
  289. <joinorgdd/>
  290. <voluntrid/>
  291. <joinorgrem/>
  292. <joinflag/>
  293. <quitorgdd/>
  294. <quitorgdd2/>
  295. <status/>
  296. </rejoinsource>
  297. <holisource>
  298. <voluntrid/>
  299. <holijobrespflag/>
  300. <fromdd/>
  301. <todd/>
  302. <holicd/>
  303. <jobrespcd/>
  304. <holijobrem/>
  305. <status/>
  306. </holisource>
  307. <jobsource>
  308. <voluntrid/>
  309. <holijobrespflag/>
  310. <fromdd/>
  311. <todd/>
  312. <holicd/>
  313. <jobrespcd/>
  314. <holijobrem/>
  315. <status/>
  316. </jobsource>
  317. <prizsource>
  318. <voluntrid/>
  319. <prizbenfflag/>
  320. <prizbenfdd/>
  321. <benfflagcd/>
  322. <prizflagcd/>
  323. <prizbenfrem/>
  324. <status/>
  325. </prizsource>
  326. <benfsource>
  327. <voluntrid/>
  328. <prizbenfflag/>
  329. <prizbenfdd/>
  330. <benfflagcd/>
  331. <prizflagcd/>
  332. <prizbenfrem/>
  333. <status/>
  334. </benfsource>
  335. <init>
  336. <comcd/>
  337. </init>
  338. <hidden>
  339. <init>
  340. <comcd>
  341. </comcd>
  342. <comcd1>
  343. </comcd1>
  344. <comcd2>
  345. </comcd2>
  346. <comcd3/>
  347. </init>
  348. </hidden>
  349. <issseq>
  350. <voluntrflag/>
  351. <issyy/>
  352. <issseqno/>
  353. <instcd/>
  354. <voluntrid/>
  355. <issdd/>
  356. <isspsn/>
  357. <reisstims/>
  358. <studappseqno/>
  359. <isscnts/>
  360. <issrem/>
  361. </issseq>
  362. <code/>
  363. </root>
  364. </instance>
  365. <script type="javascript" ev:event="xforms-ready">
  366. <![CDATA[
  367. fInit();
  368. ]]>
  369. </script>
  370. <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
  371. <submission id="TRZBC00102" mediatype="application/x-www-form-urlencoded" method="post"/>
  372. <submission id="TRZBP00102" mediatype="application/x-www-form-urlencoded" method="post"/>
  373. <submission id="TRAAA00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/voluntractprescond"/>
  374. <submission id="TXAAA00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata" resultref="/root/main/returnsts"/>
  375. <submission id="TRZBC00122" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
  376. <submission id="TRZBC00105" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
  377. <submission id="TRAAA00102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/voluntrinfo/baseinfo"/>
  378. <submission id="TRAAA00103" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/voluntrinfo/famylist"/>
  379. <submission id="TXAAA00102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata" resultref="/root"/>
  380. <submission id="TRAAA00104" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/reportsql"/>
  381. <submission id="TRAAA02401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/grdlist"/>
  382. <submission id="TRLLC90101" mediatype="application/x-www-form-urlencoded" method="post" ref="root/send" resultref="/root/main/barcdprntsetup"/>
  383. <submission id="TRMNW00001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/code/codelist"/>
  384. </model>
  385. </xhtml:head>
  386. <script src="../../../com/commonweb/js/common.js" type="javascript"/>
  387. <script src="../../../com/commonweb/js/utilHelper.js" type="javascript"/>
  388. <script src="../../../com/commonweb/js/tfHelper.js" type="javascript"/>
  389. <script src="../../../com/commonweb/js/stringHelper.js" type="javascript"/>
  390. <script src="../../../com/commonweb/js/dateHelper.js" type="javascript"/>
  391. <script src="../../../com/basiccodeweb/js/ZBC001.js" type="javascript"/>
  392. <script type="javascript" src="../../../com/zipcodeweb/js/ZBP001.js"/>
  393. <script src="../../../ast/soclworkweb/js/AWMCommon.js" type="javascript"/>
  394. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  395. <script type="javascript" src="../../../emr/carecomweb/js/CareCom.js"/>
  396. <!-- 바코드출력건으로 추가-kys-20100329 -->
  397. <script type="javascript" src="../../../lis/commonweb/js/LZZ001.js"/>
  398. <script type="javascript">
  399. <![CDATA[
  400. // 초기값
  401. function fInit()
  402. {
  403. fVoluntrBtnDisabled(); // 로그인한 사람의 근무지 부서에 따른 처리버튼 비활성화 처리하는 함수
  404. //grp_btn.disabled=true;
  405. zbcfGetCodeList( new Array("A0653","A0512","A0359","A0360","A0507","M0148","A0120","A0515","P0313","A0516","A0361","A0503","A0362","A0504","A0364","A0363", "A0654"),
  406. new Array("/root/hidden/init/comcd","/root/hidden/init/comcd","/root/hidden/init/comcd","/root/hidden/init/comcd","/root/hidden/init/comcd",
  407. "/root/hidden/init/comcd","/root/hidden/init/comcd","/root/hidden/init/comcd","/root/hidden/init/comcd",
  408. "/root/hidden/init/comcd","/root/hidden/init/comcd","/root/hidden/init/comcd","/root/hidden/init/comcd","/root/hidden/init/comcd","/root/hidden/init/comcd","/root/hidden/init/comcd","/root/hidden/init/comcd") ); // 관계코드 설정
  409. zbcfGetCodeList( new Array("A0503","A0359","A0360","A0507","A0524","A0506","A0506"),
  410. new Array("/root/hidden/init/comcd1","/root/hidden/init/comcd1","/root/hidden/init/comcd1/","/root/init/comcd","/root/hidden/init/comcd","/root/hidden/init/comcd","/root/hidden/init/comcd1") ); // 관계코드 설정
  411. //zbcfGetKindCodeList(new Array("A0018"), new Array("A0507"),new Array("/root/hidden/init/comcd3"),true,'','');
  412. //zbcfGetKindCodeList(new Array("A0020"), new Array("A0506"),new Array("/root/hidden/init/comcd"),true,'',''); // 휴가현황 구분( 휴가:04, 병가:05)
  413. model.setValue("/root/main/voluntrinfo/baseinfo/itemlist/status","i");
  414. model.removeNodeset("/root/main/voluntrinfo/famylist");
  415. model.removeNodeset("/root/main/voluntrinfo/actprescond");
  416. model.removeNodeset("/root/main/voluntractprescond");
  417. switch1.selectedIndex==0;
  418. //로딩시 입단이력 보이도록 셋팅
  419. //ipt_fromdd.disabled="true";
  420. //ipt_todd.disabled="true";
  421. model.makeValue("/root/main/search/fromdd","00000101");
  422. model.makeValue("/root/main/search/todd","99991231");
  423. addComboItem("cmb_voluntrflg", "","","above"); //봉사구분에 전체 추가
  424. addComboItem("cmb_parichflag", " ","","below"); // 교구에 빈 공백 추가
  425. addComboItem("cmb_emailaddr", " ","","below"); // EMAIL에 빈 공백 추가
  426. addComboItem("cmb_attdabsnflag","","","above"); //출석구분에 전체 추가
  427. var reqpopupflag=model.getValue("/root/main/reqpopup/reqpopuplist/reqpopupflag");
  428. //btn_set.disabled=true; //수정 버튼 비활성화
  429. model.setFocus("ipt_voluntrnm");
  430. btn_excel.visible=false;
  431. // 자원봉사자 현황 조회화면에서 호출한 경우
  432. if(reqpopupflag=='A')
  433. {
  434. fReqMainVoluntrInfo(); //자원봉사자 조회 하는 함수
  435. }
  436. // 간호하드코딩 테이블 조회_20090710-kys
  437. var pCode = "'077'"; // 조회할 CdGrupID 코드정보
  438. var pDate = getCurrentDate(); //조회기준일자
  439. fGetNursHardCdInfo(pCode, pDate);
  440. //============================================================
  441. if(model.getValue("/root/code/codeinfo/codelist[cdgrupid = '077' and supcdid = '01' and cdid = '"+ getUserInfo("dutplceinstcd") +"']/cdid")){ //서울성모에서만 보이게..20100330-kys
  442. btn_barcord.visible = true; //바코드출력버튼.
  443. btn_prntset.visible = true; //프린터설정버튼.
  444. }else{
  445. btn_barcord.visible = false;
  446. btn_prntset.visible = false;
  447. }
  448. model.refresh();
  449. }
  450. // 로그인한 사람의 근무지 부서에 따른 처리버튼 비활성화 처리하는 함수
  451. function fVoluntrBtnDisabled()
  452. {
  453. // SMAAA00100_param 2: 호스피스, 3: 원목실
  454. var SMAAA00100_param=getScreenMenuParameter();
  455. // if(SMAAA00100_param=='2'||SMAAA00100_param=='3')
  456. // {
  457. // //btn_actadd.visible=false;
  458. // //btn_actdel.visible=false;
  459. // btn_img.visible=false; //사진변경버튼
  460. // btn_famyadd.visible=false; //가족행추가버튼
  461. // btn_famydel.visible=false; // 가족행삭제버튼
  462. // btn_actrgst.visible=false; //활동현황등록
  463. // btn_specinforgst.visible=false; //특별활동등록
  464. // button24.visible=false;
  465. // button25.visible=false;
  466. // button3.visible=false;
  467. // button4.visible=false;
  468. // button7.visible=false;
  469. // button8.visible=false;
  470. // btn_save.visible=false;
  471. // btn_set.visible=false;
  472. // //btn_actreq.visible=false;
  473. //
  474. // if(SMAAA00100_param=='2')
  475. // { //호스피스로 로그인시 확인서 출력, 직인선택, 특별활동 등록 버튼 활성화
  476. // btn_print.visible=true;
  477. // btn_specinforgst.visible=true; //특별활동등록활성
  478. // rdo_stampflag.visible=true;
  479. // roundrect3.visible=true;
  480. // }
  481. // else if(SMAAA00100_param=='3')
  482. // {
  483. // btn_print.visible=false;
  484. // btn_actrgst.visible=false; //활동현황등록
  485. // btn_specinforgst.visible=false; //특별활동등록비활성
  486. // rdo_stampflag.visible=false;
  487. // roundrect3.visible=false;
  488. // }
  489. // }
  490. // else if(SMAAA00100_param=='1')
  491. // {
  492. // //button1.visible=false; // 특별활동등록은 호스피스 에서만 활성화
  493. // btn_specinforgst.visible=true;
  494. // }
  495. }
  496. //저장, 수정시 공통으로 필수 항목 입력 값 체크해주는 함수
  497. function fVoluntrComnSave()
  498. {
  499. if(model.getValue("/root/main/voluntrinfo/baseinfo/itemlist/voluntrnm")=="")
  500. {
  501. messageBox("성명은","I003");
  502. model.setFocus("ipt_voluntrnm");
  503. return false;
  504. }
  505. if(model.getValue("/root/main/voluntrinfo/baseinfo/itemlist/rrgstno1")==''||model.getValue("/root/main/voluntrinfo/baseinfo/itemlist/rrgstno2")=='')
  506. {
  507. messageBox("주민등록번호는","I003");
  508. model.setFocus("ipt_rrgstno1");
  509. return false;
  510. }
  511. if(model.getValue("/root/main/voluntrinfo/baseinfo/itemlist/actappdd")=='')
  512. {
  513. messageBox("신청일자는","I003");
  514. model.setFocus("ipt_voluntractfstappdd");
  515. return false;
  516. }
  517. if(model.getValue("/root/main/voluntrinfo/baseinfo/itemlist/joinorgdd")=='')
  518. {
  519. messageBox("입단일자는","I003");
  520. model.setFocus("ipt_joinorgdd");
  521. return false;
  522. }
  523. if(model.getValue("/root/main/voluntrinfo/baseinfo/itemlist/smsrecvyn")=='')
  524. {
  525. messageBox("SMS수신여부는","I003");
  526. model.setFocus("rdo_smsrecvyn");
  527. return false;
  528. }
  529. var idxRows=grd_famy.rows;
  530. if(idxRows>1)
  531. {//가족사항 행 추가 되었을 때
  532. for(i=1;i<idxRows;i++)
  533. { //저장할 가족현황 행의 갯수만큼 for문 반복 시켜서 성명,관계에 값이
  534. //들어갔는지 판별한다.
  535. var famynm=model.getValue("/root/main/voluntrinfo/famylist/infolist"+"["+i+"]/famynm");
  536. var famyrel=model.getValue("/root/main/voluntrinfo/famylist/infolist"+"["+i+"]/famyrel");
  537. if(famynm=='')
  538. {
  539. messageBox("가족성명은","I003");
  540. return false;
  541. }
  542. if(famyrel=='')
  543. {
  544. messageBox("가족관계는","I003");
  545. return false;
  546. }
  547. }
  548. }
  549. /*var idxRows=grd_actlist.rows; // 선택된 활동현황 그리드의 전체 행갯수
  550. var idxRow=grd_actlist.row; // 선택된 활동현황 그리드의 행 갯수
  551. if(idxRows>1)
  552. {
  553. for(i=1;i<idxRows;i++)
  554. {
  555. var rowstatus=grd_actlist.rowStatus(i); // 각로우의 상태 값 구함
  556. if(rowstatus!='4'&&rowstatus!='6') //상태가 delete또는 Update& Delete일 때
  557. {
  558. //저장할 활동현황 행의 갯수만큼 for문 반복 시켜서 봉사구분,활동부서,소속팀,특별활동,활동시작/종료일에 값이
  559. //들어갔는지 판별한다.
  560. var acttodd=model.getValue("/root/main/voluntrinfo/famylist/actlist"+"["+i+"]/acttodd");
  561. var actfromdd=model.getValue("/root/main/voluntrinfo/famylist/actlist"+"["+i+"]/actfromdd");
  562. var servkind=model.getValue("/root/main/voluntrinfo/famylist/actlist"+"["+i+"]/servkind");
  563. var specactteam=model.getValue("/root/main/voluntrinfo/famylist/actlist"+"["+i+"]/specactteam");
  564. var actdeptcd=model.getValue("/root/main/voluntrinfo/famylist/actlist"+"["+i+"]/actdeptcd");
  565. var actdeptdetlnm=model.getValue("/root/main/voluntrinfo/famylist/actlist"+"["+i+"]/actdeptdetlnm");
  566. var voluntractdwcd=model.getValue("/root/main/voluntrinfo/famylist/actlist"+"["+i+"]/voluntractdwcd");
  567. var voluntractteamcd=model.getValue("/root/main/voluntrinfo/famylist/actlist"+"["+i+"]/voluntractteamcd");
  568. // 봉사구분이 비어있을 때
  569. if(servkind=='')
  570. {
  571. messageBox("봉사구분은","I003");
  572. return false;
  573. }
  574. else
  575. {
  576. // 봉사구분에 값이 있을 때 활동부서, 소속팀, 특별활동의 값을 체크
  577. if(servkind=='3')
  578. {//특별소속일 때
  579. if(specactteam=='')
  580. {//특별 활동 내역 비어있으면
  581. messageBox("특별활동은 ","I003");
  582. return false;
  583. }
  584. }
  585. else
  586. {//원소속, 추가소속일때
  587. if(actdeptcd=='')
  588. {
  589. messageBox("활동부서는","I003");
  590. return false;
  591. }
  592. if(voluntractdwcd==''||voluntractteamcd=="")
  593. {
  594. messageBox("소속팀은","I003");
  595. return false;
  596. }
  597. //}
  598. }
  599. if(acttodd=='')
  600. {
  601. messageBox("활동종료일자는","I003");
  602. return false;
  603. }
  604. if(actfromdd=='')
  605. {
  606. messageBox("활동시작일자는","I003");
  607. return false;
  608. }
  609. if(actfromdd>acttodd) //for문을 돌면서 활동종료일보다 활동 시작일이 큰 데이터가 있는지 체크하여 메시지 처리한다.
  610. {
  611. messageBox("활동 시작일자는 활동종료일자보다 클 수","I004");
  612. return false;
  613. }
  614. for(j=i+1;j<idxRows;j++)
  615. {
  616. var rowstatus=grd_actlist.rowStatus(j); // 각로우의 상태 값 구함
  617. if(rowstatus!='4' && rowstatus!='6') //상태가 delete또는 Update& Delete일 때
  618. {
  619. var acttoddcom=model.getValue("/root/main/voluntrinfo/famylist/actlist"+"["+j+"]/acttodd");
  620. var servkindcom=model.getValue("/root/main/voluntrinfo/famylist/actlist"+"["+j+"]/servkind");
  621. if(actfromdd<acttoddcom)
  622. {
  623. if(servkind==servkindcom) // 봉사구분이 같으면서 겹치는 구간이 존재 할때
  624. {
  625. messageBox("활동시작일자와 활동 종료일자가 겹치는 구간이 존재합니다","I");
  626. return false;
  627. }
  628. }
  629. }
  630. }
  631. }
  632. }
  633. }
  634. else
  635. {
  636. messageBox("활동현황은","I003");
  637. return false;
  638. }
  639. */
  640. var joinorgdd=model.getValue("/root/main/voluntrinfo/baseinfo/itemlist/joinorgdd"); //입단일
  641. var actappdd=model.getValue("/root/main/voluntrinfo/baseinfo/itemlist/actappdd"); //신청일
  642. if(joinorgdd<actappdd)
  643. {
  644. messageBox("신청일이 입단일보다 클 수는","I004");
  645. model.setFocus("ipt_voluntractfstappdd");
  646. return false;
  647. }
  648. model.makeValue("/root/main/voluntrinfo/baseinfo/itemlist/voluntrflag","1"); //자원봉사자 구분 1:일반, 2:학생, 3:교직원, 4:교직원가족
  649. //model.makeValue("/root/main/voluntrinfo/baseinfo/itemlist/actstatflag","1"); //자원봉사자 활동상태 구분 1:활동중 2:탈단
  650. }
  651. // 자원봉사자 저장 함수
  652. function fVoluntrInfoSave()
  653. {
  654. if(fVoluntrComnSave() == false) return; // 필수 항목 입력 하지 않았을 경우 return 해줌
  655. model.makeValue("/root/main/voluntrinfo/baseinfo/itemlist/status","i"); //자원봉사자 인적 사항 status i로 셋팅
  656. model.makeValue("/root/main/voluntrinfo/baseinfo/itemlist/joinflag","N"); //자원봉사자 입단이력 N:신규입단 R:재입단
  657. model.makeValue("/root/main/voluntrinfo/baseinfo/itemlist/quitorgdd","99991231"); //탈단일자 "99991231"
  658. model.makeValue("/root/main/voluntrinfo/baseinfo/itemlist/zipcdseq",model.getValue("/root/main/voluntrinfo/baseinfo/itemlist/zipcdseq")); //우편번호 seq 저장
  659. var CurrentDate = getCurrentDate();
  660. var voluntridyy=CurrentDate.substr(2,2);
  661. //id 생성시 사용할 년도 뒷 자리 저장
  662. model.makeValue("/root/main/voluntrinfo/baseinfo/itemlist/voluntridyy",voluntridyy);
  663. //세례월일 mm-dd로 나오는 형태를 mm과 dd로 나누어 mm+dd를 합쳐 저장 및 수정 한다.
  664. var festivday=ipt_festivday.currentText;
  665. var festivdd1=festivday.substr(0,2);
  666. var festivdd2=festivday.substr(3,2);
  667. var festivdd=(festivdd1+festivdd2);
  668. model.setValue("/root/main/voluntrinfo/baseinfo/itemlist/festivdd",festivdd);
  669. model.removeNodeset("/root/send/savedata");
  670. model.makeNode("/root/send/savedata");
  671. model.makeValue("/root/main/voluntrinfo/baseinfo/itemlist/famydata",grd_famy.getUpdateData()); // 가족사항 업데이트 된것 famydata 에 저장
  672. //model.makeValue("/root/main/voluntrinfo/baseinfo/itemlist/actdata",grd_actlist.getUpdateData()); // 활동현황 업데이트 된것 actdata 에 저장
  673. // 저장할 인적정보
  674. if(isNull(model.getValue("/root/main/voluntrinfo/baseinfo/itemlist/photimg")))
  675. {
  676. model.makeValue("/root/main/voluntrinfo/baseinfo/itemlist/photflag","N"); //사진이 존재하지 않음을 알려주는 플래그 N
  677. }
  678. else
  679. {
  680. model.makeValue("/root/main/voluntrinfo/baseinfo/itemlist/photflag","Y"); //사진이 존재함을 알려주는 플래그 Y
  681. }
  682. model.copyNode("/root/send/savedata","/root/main/voluntrinfo/baseinfo/itemlist");
  683. if(submit("TXAAA00101")==true)
  684. {
  685. /*if(model.getValue("/root/main/returnsts/statusinfo/restatus")=="N")
  686. {
  687. messageBox("활동정보의 활동기간이","E006");
  688. return;
  689. }*/
  690. if(model.getValue("/root/main/returnsts/statusinfo/actstatflag")=="1")
  691. {//활동중이면서
  692. if(model.getValue("/root/main/returnsts/statusinfo/restatus")=='Y')
  693. {// 주민번호가 존재할때에
  694. messageBox("현재 활동중인 자원봉사자 입니다. 등록처리를 할 수","I004");
  695. return;
  696. }
  697. }
  698. else
  699. { // 탈단 중이면서
  700. if(model.getValue("/root/main/returnsts/statusinfo/restatus")=='Q')
  701. {// 탈단 중이면서 신규 등록 할때
  702. var nodeActCount=getNodesetCount("/root/main/voluntrinfo/famylist/actlist"); //활동현황 리스트 개수를 저장
  703. var actappdd=model.getValue("/root/main/voluntrinfo/baseinfo/itemlist/actappdd"); // 신규 저장할 신청일자
  704. var joinorgdd=model.getValue("/root/main/voluntrinfo/baseinfo/itemlist/joinorgdd"); // 신규 저장할 입단일자
  705. model.makeValue("/root/main/voluntrinfo/baseinfo/itemlist/actstatflag",model.getValue("/root/main/returnsts/statusinfo/actstatflag"));
  706. var btn=messageBox("탈단자입니다. 신규 등록 처리","S001");
  707. if(btn=='6')
  708. {
  709. model.setValue("/root/main/voluntrinfo/baseinfo/itemlist/actstatflag","1"); //탈단 상태에서 활동 상태로 바꾸어줌
  710. model.makeValue("/root/main/voluntrinfo/baseinfo/itemlist/status","Q"); // 탈단후 신규 저장임을 알리는 플래그 Q 저장
  711. var voluntrid=model.getValue("/root/main/voluntrinfo/baseinfo/itemlist/voluntrid");
  712. //var nodeFamyCount=getNodesetCount("/root/main/voluntrinfo/famylist/infolist"); //가족 내역리스트 개수를 저장
  713. btn_joinorg.dispatch("onclick"); // 입단이력 개수 세기 위한 클릭 이벤트 발생
  714. var nodeActCount=getNodesetCount("/root/main/voluntractprescond/joinlist");
  715. // 입단이력 조회된 갯수
  716. for(var i=1;i<=nodeActCount;i++)
  717. {
  718. var quitorgdd=model.getValue("/root/main/voluntractprescond/joinlist/quitorgdd");
  719. if(actappdd<=quitorgdd)
  720. {
  721. messageBox("최종 탈단 일보다 큰 신청일을 입력하십시요.","I");
  722. model.setFocus("ipt_voluntractfstappdd");
  723. return;
  724. }
  725. if(joinorgdd<=quitorgdd)
  726. {
  727. messageBox("최종 탈단 일보다 큰 입단일을 입력하십시요.","I");
  728. model.setFocus("ipt_joinorgdd");
  729. return;
  730. }
  731. model.makeValue("/root/main/voluntrinfo/famylist/actlist"+"["+i+"]/voluntrid",voluntrid);
  732. }
  733. /*btn_actreq.dispatch("onclick"); // 활동현황 갯수를 세기 위해 활동현황 조회 이벤트 발생
  734. var nodeActCount=getNodesetCount("/root/main/voluntractprescond/actlist"); //활동현황 리스트 개수를 저장
  735. for(var i=1;i<=nodeFamyCount;i++)
  736. {
  737. model.makeValue("/root/main/voluntrinfo/famylist/infolist"+"["+i+"]/voluntrid",voluntrid);
  738. }
  739. for(var i=1; i<=nodeActCount;i++)
  740. {
  741. var acttodd=model.getValue("/root/main/voluntractprescond/actlist"+"["+i+"]/acttodd");
  742. if(actappdd<=acttodd)
  743. {
  744. messageBox("마지막 활동일자보다 큰 신청일자를 입력하십시요.","I");
  745. return;
  746. }
  747. if(joinorgdd<=acttodd)
  748. {
  749. messageBox("마지막 활동일자보다 큰 입단일자를 입력하십시요.","I");
  750. return;
  751. }
  752. model.makeValue("/root/main/voluntrinfo/famylist/actlist"+"["+i+"]/voluntrid",voluntrid);
  753. }
  754. */
  755. model.removeNodeset("/root/send/savedata");
  756. model.makeNode("/root/send/savedata");
  757. //model.removeNodeset("/root/main/voluntrinfo/baseinfo");
  758. model.removeNodeset("/root/main/voluntrinfo/baseinfo/famydata");
  759. //model.removeNodeset("/root/main/voluntrinfo/baseinfo/actdata");
  760. model.makeValue("/root/main/voluntrinfo/baseinfo/famydata",grd_famy.getUpdateData());
  761. //model.makeValue("/root/main/voluntrinfo/baseinfo/actdata",grd_actlist.getUpdateData());
  762. model.copyNode("/root/send/savedata","/root/main/voluntrinfo/baseinfo");
  763. if(submit("TXAAA00101")==true)
  764. {
  765. messageBox("신규입단","I001");
  766. model.removeNodeset("/root/main/reqpopup/reqpopuplist/voluntrid");
  767. //해당 봉사자 id 값 셋팅
  768. model.makeValue("/root/main/reqpopup/reqpopuplist/voluntrid",voluntrid);
  769. fReqMainVoluntrInfo(); //메인 화면에서 자원봉사자 조회
  770. return;
  771. }
  772. }
  773. else
  774. {
  775. //model.makeValue("/root/main/voluntrinfo/baseinfo/itemlist/actstatflag","2");
  776. return;
  777. }
  778. }
  779. if(model.getValue("/root/main/returnsts/statusinfo/restatusdd")=="N")
  780. {// 활동 기간 중복 시
  781. messageBox("활동기간이 중복되었습니다.","I");
  782. return;
  783. }
  784. else
  785. {// 저장 완료시
  786. messageBox("저장이","I002");
  787. var voluntrid=model.getValue("/root/main/returnsts/statusinfo/voluntrid");
  788. model.removeNodeset("/root/main/reqpopup/reqpopuplist/voluntrid");
  789. //해당 봉사자 id 값 셋팅
  790. model.makeValue("/root/main/reqpopup/reqpopuplist/voluntrid",voluntrid);
  791. fReqMainVoluntrInfo(); //메인 화면에서 자원봉사자 조회
  792. }
  793. }
  794. }
  795. }
  796. //자원봉사자 수정 함수
  797. function fVoluntrInfoUpdate()
  798. {
  799. if(model.getValue("/root/main/voluntrinfo/baseinfo/itemlist/voluntrid")=="") //봉사자 사번이 널일 때는 수정을 할 수 없음
  800. {
  801. messageBox("수정 할 수","I004");
  802. return;
  803. }
  804. model.removeNodeset("/root/send/savedata");
  805. model.makeNode("/root/send/savedata");
  806. var voluntrid=model.getValue("/root/main/voluntrinfo/baseinfo/itemlist/voluntrid");
  807. if(model.getValue("/root/main/voluntrinfo/baseinfo/itemlist/actstatflag")=="1")
  808. { // 현재 활동 중일 때
  809. if(fVoluntrComnSave() == false) return;
  810. // 필수 항목 입력 하지 않았을 경우 return
  811. model.makeValue("/root/main/voluntrinfo/baseinfo/itemlist/status","u");
  812. //세례월일 mm-dd로 나오는 형태를 mm과 dd로 나누어 mm+dd를 합쳐 저장 및 수정 한다.
  813. var festivday=ipt_festivday.currentText;
  814. var festivdd1=festivday.substr(0,2);
  815. var festivdd2=festivday.substr(3,2);
  816. var festivdd=(festivdd1+festivdd2);
  817. model.setValue("/root/main/voluntrinfo/baseinfo/itemlist/festivdd",festivdd);
  818. model.setValue("/root/main/voluntrinfo/baseinfo/itemlist/actstatflag","1");
  819. var nodeFamyCount=getNodesetCount("/root/main/voluntrinfo/famylist/infolist");
  820. //var nodeActCount=getNodesetCount("/root/main/voluntrinfo/famylist/actlist");
  821. for(var i=1;i<=nodeFamyCount;i++)
  822. {
  823. model.makeValue("/root/main/voluntrinfo/famylist/infolist"+"["+i+"]/voluntrid",voluntrid);
  824. }
  825. /*for(var i=1; i<=nodeActCount;i++)
  826. {
  827. model.makeValue("/root/main/voluntrinfo/famylist/actlist"+"["+i+"]/voluntrid",voluntrid);
  828. }*/
  829. model.makeValue("/root/main/voluntrinfo/baseinfo/famydata",grd_famy.getUpdateData());
  830. //model.makeValue("/root/main/voluntrinfo/baseinfo/actdata",grd_actlist.getUpdateData());
  831. if(isNull(model.getValue("/root/main/voluntrinfo/baseinfo/itemlist/photimg")))
  832. {
  833. model.makeValue("/root/main/voluntrinfo/baseinfo/itemlist/photflag","N"); //사진이 존재하지 않음을 알려주는 플래그 N
  834. }
  835. else
  836. {
  837. model.makeValue("/root/main/voluntrinfo/baseinfo/itemlist/photflag","Y"); //사진이 존재함을 알려주는 플래그 Y
  838. }
  839. model.copyNode("/root/send/savedata","/root/main/voluntrinfo/baseinfo");
  840. }
  841. else if(model.getValue("/root/main/voluntrinfo/baseinfo/itemlist/actstatflag")=="2")
  842. {// 현재 탈단 중일 때
  843. var btn=messageBox("탈단한 자원봉사자는 세례명/성명/생일/참고사항/주소관련 정보만 수정됩니다.","Q003");
  844. if(btn=='6')
  845. {// 탈단 중일 때 수정할 정보는 성명, 세례명, 생일 및 주소관련 정보로 제한한다.
  846. model.makeValue("/root/send/savedata/itemlist/actstatflag",model.getValue("/root/main/voluntrinfo/baseinfo/itemlist/actstatflag"));
  847. model.makeValue("/root/send/savedata/itemlist/status","u"); //상태 플래그에 u 저장
  848. model.makeValue("/root/send/savedata/itemlist/voluntrid",model.getValue("/root/main/voluntrinfo/baseinfo/itemlist/voluntrid"));
  849. model.makeValue("/root/send/savedata/itemlist/voluntrnm",model.getValue("/root/main/voluntrinfo/baseinfo/itemlist/voluntrnm"));
  850. model.makeValue("/root/send/savedata/itemlist/baptnm",model.getValue("/root/main/voluntrinfo/baseinfo/itemlist/baptnm"));
  851. model.makeValue("/root/send/savedata/itemlist/brthdd",model.getValue("/root/main/voluntrinfo/baseinfo/itemlist/brthdd"));
  852. model.makeValue("/root/send/savedata/itemlist/zipcd2",model.getValue("/root/main/voluntrinfo/baseinfo/itemlist/zipcd2"));
  853. model.makeValue("/root/send/savedata/itemlist/zipcd1",model.getValue("/root/main/voluntrinfo/baseinfo/itemlist/zipcd1"));
  854. model.makeValue("/root/send/savedata/itemlist/zipcdseq",model.getValue("/root/main/voluntrinfo/baseinfo/itemlist/zipcdseq"));
  855. model.makeValue("/root/send/savedata/itemlist/addr",model.getValue("/root/main/voluntrinfo/baseinfo/itemlist/addr"));
  856. model.makeValue("/root/send/savedata/itemlist/detladdr",model.getValue("/root/main/voluntrinfo/baseinfo/itemlist/detladdr"));
  857. model.makeValue("/root/send/savedata/itemlist/hometel",model.getValue("/root/main/voluntrinfo/baseinfo/itemlist/hometel"));
  858. model.makeValue("/root/send/savedata/itemlist/mpphontel",model.getValue("/root/main/voluntrinfo/baseinfo/itemlist/mpphontel"));
  859. model.makeValue("/root/send/savedata/itemlist/emailid",model.getValue("/root/main/voluntrinfo/baseinfo/itemlist/emailid"));
  860. model.makeValue("/root/send/savedata/itemlist/emailaddr",model.getValue("/root/main/voluntrinfo/baseinfo/itemlist/emailaddr"));
  861. model.makeValue("/root/send/savedata/itemlist/etcemailaddr",model.getValue("/root/main/voluntrinfo/baseinfo/itemlist/etcemailaddr"));
  862. model.makeValue("/root/send/savedata/itemlist/actrem",model.getValue("/root/main/voluntrinfo/baseinfo/itemlist/actrem"));
  863. }
  864. else
  865. {
  866. return;
  867. }
  868. }
  869. if(submit("TXAAA00101")==true)
  870. {
  871. /*if(model.getValue("/root/main/returnsts/statusinfo/restatus")=="N")
  872. {
  873. messageBox("활동정보의 활동기간이","E006");
  874. return;
  875. }*/
  876. messageBox("수정이","I002");
  877. model.removeNodeset("/root/main/reqpopup/reqpopuplist/voluntrid");
  878. model.makeValue("/root/main/reqpopup/reqpopuplist/voluntrid",voluntrid); //해당 봉사자 id 값 셋팅
  879. fReqMainVoluntrInfo(); //메인 화면에서 자원봉사자 조회
  880. }
  881. }
  882. // 자원봉사자 조회 팝업 버튼 클릭시 띄우는 함수
  883. function fVoluntrPopup()
  884. {
  885. model.makeValue("/root/source/popupflag",'Y');
  886. model.makeNode("/root/source/voluntrnm");
  887. model.makeNode("/root/source/rrgstno1");
  888. model.makeNode("/root/source/rrgstno2");
  889. model.makeNode("/root/source/flag");
  890. //model.reset("/root/source/voluntrnm");
  891. fVoluntrSearch();
  892. //var brthDD=model.getValue("/root/main/voluntrinfo/baseinfo/itemlist/brthdd");
  893. //var currentAge=getFullAge(brthDD)+1;
  894. //생년월일을 이용, 현재 나이 셋팅
  895. //model.makeValue("/root/main/voluntrinfo/baseinfo/itemlist/age",currentAge);
  896. model.refresh();
  897. }
  898. //가족사항정보 그리드에서 행 추가
  899. function fFamyRowAdd()
  900. {
  901. grd_famy.addItem();
  902. model.refresh();
  903. }
  904. // 가족사항의 행 삭제
  905. function fGrdFamyRowDel(){
  906. var idxrow=grd_famy.row;
  907. // 삭제할 행
  908. if(idxrow>0)
  909. { // 삭제할 행의 가족 정보를 변수에 담는다
  910. var famynm=model.getValue("/root/main/voluntrinfo/famylist/infolist"+"["+idxrow+"]/famynm");
  911. var famyrel=model.getValue("/root/main/voluntrinfo/famylist/infolist"+"["+idxrow+"]/famyrel");
  912. var famyage=model.getValue("/root/main/voluntrinfo/famylist/infolist"+"["+idxrow+"]/famyage");
  913. var famyjobnm=model.getValue("/root/main/voluntrinfo/famylist/infolist"+"["+idxrow+"]/famyjobnm");
  914. var religncd=model.getValue("/root/main/voluntrinfo/famylist/infolist"+"["+idxrow+"]/religncd");
  915. var famybaptnm=model.getValue("/root/main/voluntrinfo/famylist/infolist"+"["+idxrow+"]/famybaptnm");
  916. var rowstatus=grd_famy.rowStatus(idxrow);
  917. if(rowstatus=='1'||rowstatus=='3')
  918. {
  919. // 클릭한 행이 공백일 때 행 삭제
  920. grd_famy.deleteItem(idxrow);
  921. }
  922. else
  923. {
  924. if(rowstatus=='4'||rowstatus=='6') //상태가 delete또는 Update& Delete일 때
  925. {
  926. grd_famy.removeStatus(idxrow,"delete"); //delete상태를 초기화 한다.
  927. }
  928. else
  929. {
  930. grd_famy.addStatus(idxrow,"delete");
  931. // 클릭한 행에 값이 있을 때에는 delete 로 상태 표시
  932. }
  933. }
  934. }
  935. else
  936. {
  937. messageBox("삭제할 행을 선택하십시요.", "I");
  938. }
  939. }
  940. // 활동상태 추가 버튼 클릭
  941. function fActNewDate()
  942. {
  943. var CurrentDate = getCurrentDate();
  944. model.resetInstanceNode("/root/main/voluntrinfo/statinfo");
  945. model.setValue("/root/main/voluntrinfo/statinfo/status", "i");
  946. model.setValue("/root/main/voluntrinfo/statinfo/actstatrgstdd", CurrentDate);
  947. model.refresh();
  948. }
  949. // 활동상태 삭제버튼 클릭
  950. function fActDeleteDate()
  951. {
  952. //var baststatus = model.getValue("/root/main/voluntrinfo/baseinfo/status");
  953. model.setValue("/root/main/voluntrinfo/statinfo/status", "d");
  954. model.refresh();
  955. }
  956. // 활동현황의 행추가 버튼 클릭
  957. /*function fGrdActRowAdd()
  958. {
  959. //grd_actlist.addItem();//행추가
  960. var idxrow=grd_actlist.row;
  961. var idxrows=grd_actlist.rows;
  962. //alert(idxrow+"row");
  963. //alert(idxrows+"rows");
  964. if(idxrows>1)
  965. { // 이미 활동현황 내역이 존재 할때 행추가 하며 가장 맨 위에 새로운 행을 추가한다.
  966. grd_actlist.insertItem(1,["above"]);
  967. model.makeValue("/root/main/voluntrinfo/famylist/actlist"+"["+1+"]/acttodd","99991231");
  968. //행추가 버튼 클릭시 제일 윗 로우 활동종료일자에 99991231셋팅
  969. }
  970. else
  971. { // 활동현황 최초로 저장시
  972. grd_actlist.addItem();
  973. // 행추가 버튼 클릭시 제일 윗 로우 활동종료일자에 99991231셋팅
  974. model.makeValue("/root/main/voluntrinfo/famylist/actlist"+"["+1+"]/acttodd","99991231");
  975. }
  976. model.refresh();
  977. }*/
  978. // 가족사항의 행추가 버튼 클릭
  979. function fGrdFamyRowAdd()
  980. {
  981. var addRowCnt = model.getValue('/root/hidden/addrowcnt');
  982. if(addRowCnt == '' || addRowCnt < 1)
  983. {
  984. addRowCnt = 1;
  985. }
  986. for(var i = 1; i <= addRowCnt ; i++)
  987. {
  988. grd_famy.addItem();//행추가
  989. }
  990. }
  991. // 활동현황의 행삭제 버튼 클릭
  992. /*function fGrdActRowDel()
  993. {
  994. var idxrow=grd_actlist.row;
  995. if(idxrow>0)
  996. {
  997. var servkind=model.getValue("/root/main/voluntrinfo/actprescond/actlist"+"["+idxrow+"]/servkind");
  998. var actdeptcd=model.getValue("/root/main/voluntrinfo/actprescond/actlist"+"["+idxrow+"]/actdeptcd");
  999. var actdeptdetlnm=model.getValue("/root/main/voluntrinfo/famylist/infolist"+"["+idxrow+"]/actdeptdetlnm");
  1000. var voluntractdwcd=model.getValue("/root/main/voluntrinfo/famylist/infolist"+"["+idxrow+"]/voluntractdwcd");
  1001. var voluntractteamcd=model.getValue("/root/main/voluntrinfo/famylist/infolist"+"["+idxrow+"]/voluntractteamcd");
  1002. var specactteam=model.getValue("/root/main/voluntrinfo/famylist/infolist"+"["+idxrow+"]/specactteam");
  1003. var actfromdd=model.getValue("/root/main/voluntrinfo/famylist/infolist"+"["+idxrow+"]/actfromdd");
  1004. var acttodd=model.getValue("/root/main/voluntrinfo/famylist/infolist"+"["+idxrow+"]/acttodd");
  1005. var voluntrid=model.getValue("/root/main/voluntrinfo/famylist/infolist"+"["+idxrow+"]/voluntrid");
  1006. var actrgstseqno=model.getValue("/root/main/voluntrinfo/famylist/infolist"+"["+idxrow+"]/actrgstseqno");
  1007. var rowstatus=grd_actlist.rowStatus(idxrow);
  1008. if(rowstatus=='1'||rowstatus=='3')
  1009. {
  1010. // 클릭한 행이 공백일 때 행 삭제
  1011. grd_actlist.deleteItem(idxrow);
  1012. }
  1013. else
  1014. {
  1015. if(rowstatus=='4'||rowstatus=='6') //상태가 delete또는 Update& Delete일 때
  1016. {
  1017. grd_actlist.removeStatus(idxrow,"delete"); //delete상태를 초기화 한다.
  1018. }
  1019. else
  1020. {
  1021. // 클릭한 행에 값이 있을 때에는 delete 로 상태 표시
  1022. grd_actlist.addStatus(idxrow,"delete");
  1023. }
  1024. }
  1025. }
  1026. else
  1027. {
  1028. messageBox("삭제할 행을", "C002");
  1029. }
  1030. }*/
  1031. // 현황 리스트 조회
  1032. function fListSearch()
  1033. {
  1034. var voluntrid=model.getValue("/root/main/voluntrinfo/baseinfo/itemlist/voluntrid");
  1035. if(model.getValue("/root/main/reqpopup/reqpopuplist/flag")=="Y"||model.getValue("/root/main/reqpopup/reqpopuplist/reqpopupflag")=='A'||voluntrid!='')
  1036. {
  1037. // 조회된 사람이 있거나 자원봉사자 현황 조회에서 호출했을 때
  1038. if(voluntrid=='')
  1039. {
  1040. messageBox("봉사자를 선택하십시요.","I");
  1041. return;
  1042. }
  1043. else
  1044. {
  1045. model.makeValue("/root/main/search/voluntrid",voluntrid);
  1046. model.removeNodeset("/root/send/reqdata");
  1047. model.makeNode("/root/send/reqdata");
  1048. model.copyNode("/root/send/reqdata","/root/main/search");
  1049. submit("TRAAA00101");
  1050. model.refresh();
  1051. }
  1052. }
  1053. }
  1054. function fAAA02500()
  1055. {
  1056. var voluntrid=model.getValue("/root/main/voluntrinfo/baseinfo/itemlist/voluntrid");
  1057. var joinorgdd=model.getValue("/root/main/voluntrinfo/baseinfo/itemlist/joinorgdd");
  1058. var actappdd=model.getValue("/root/main/voluntrinfo/baseinfo/itemlist/actappdd");
  1059. if(voluntrid=='')
  1060. {
  1061. messageBox("봉사자 조회 후 처리가능합니다.","I");
  1062. return;
  1063. }
  1064. else
  1065. {
  1066. model.makeValue("/root/rejoinsource/voluntrid",voluntrid);
  1067. model.makeValue("/root/rejoinsource/joinorgdd",joinorgdd);
  1068. model.makeValue("/root/rejoinsource/actappdd",actappdd);
  1069. model.makeValue("/root/rejoinsource/quitorgdd",'99991231');
  1070. model.makeValue("/root/rejoinsource/joinflag","R"); //재입단 표시
  1071. model.makeValue("/root/rejoinsource/actstatflag",1); //
  1072. //modal("SPAAA02500",null,null,null, "SPAAA02500", "/root/rejoinsource", "/root/main/rejoinsource","width:500px;height:200px");
  1073. modal("SPAAA02500", "1","150", "150", "SPAAA02500", "/root/rejoinsource", "/root/main/rejoinsource");
  1074. model.removeNodeset("/root/main/reqpopup/reqpopuplist/voluntrid");
  1075. model.makeValue("/root/main/reqpopup/reqpopuplist/voluntrid",voluntrid); //해당 봉사자 id 값 셋팅
  1076. fReqMainVoluntrInfo(); //메인 화면에서 자원봉사자 조회
  1077. }
  1078. model.refresh();
  1079. }
  1080. function fAAA02600()
  1081. {
  1082. var voluntrid=model.getValue("/root/main/voluntrinfo/baseinfo/itemlist/voluntrid");
  1083. //var joinorgseqno=model.getValue("/root/main/voluntrinfo/baseinfo/itemlist/joinorgseqno");
  1084. if(voluntrid=='')
  1085. {
  1086. messageBox("봉사자 조회 후 처리가능합니다.","I");
  1087. return;
  1088. }
  1089. else
  1090. {
  1091. model.makeValue("/root/quitsource/voluntrid",voluntrid);
  1092. model.makeNode("/root/quitsource/joinorgseqno");
  1093. model.makeValue("/root/quitsource/actstatflag",2); //탈단 중 상태값 표시
  1094. //model.makeValue("/root/quitsource/quitorgdd2",model.getValue("/root/main/voluntractprescond/joinlist["+1+"]/joinorgdd")); //조회한 입단일자 저장
  1095. //model.makeValue("/root/quitsource/rejoinorgdd",model.getValue("/root/main/voluntractprescond/joinlist["+1+"]/rejoinorgdd")); //조회한 재입단일자 저장
  1096. modal("SPAAA02600", "1","150", "150", "SPAAA02600", "/root/quitsource", "/root/main/quitorginfo");
  1097. //modal("SPAAA02600",null,null,null, "SPAAA02600", "/root/quitsource", "/root/main/quitorginfo","width:500px;height:200px");
  1098. if(model.getValue("/root/quitsource/reflag")=="c") //탈단 신청이 완료되었을 때만 조회를 태움
  1099. {
  1100. model.removeNodeset("/root/main/reqpopup/reqpopuplist/voluntrid");
  1101. model.makeValue("/root/main/reqpopup/reqpopuplist/voluntrid",voluntrid); //해당 봉사자 id 값 셋팅
  1102. fReqMainVoluntrInfo(); //메인 화면에서 자원봉사자 조회
  1103. }
  1104. }
  1105. model.refresh();
  1106. //model.makeValue("/root/main/voluntrinfo/baseinfo/itemlist/status",model.getValue("/root/main/reqpopup/reqpopuplist/status"));
  1107. }
  1108. function fAAA02700()
  1109. {
  1110. var voluntrid=model.getValue("/root/main/voluntrinfo/baseinfo/itemlist/voluntrid"); // 조회된 자원봉사자 ID저장
  1111. if(voluntrid=='')
  1112. {
  1113. messageBox("봉사자 조회 후 처리가능합니다.","I");
  1114. return;
  1115. }
  1116. else
  1117. {
  1118. model.removeNodeset("/root/holisource");
  1119. model.makeValue("/root/holisource/voluntrid",voluntrid); // 휴가등록 팝업창에 넘길 봉사자 id셋팀
  1120. model.makeValue("/root/holisource/holijobrespflag",1); // 휴가 직책 구분 1:휴가, 2:직책
  1121. model.makeValue("/root/holisource/status","i"); // 휴가 현황 저장 i 플래그
  1122. model.makeNode("/root/holisource/fromdd");
  1123. model.makeNode("/root/holisource/todd");
  1124. model.makeNode("/root/holisource/holicd");
  1125. model.makeNode("/root/holisource/holijobrem");
  1126. //modal("SPAAA02700",null,null,null, "SPAAA02700", "/root/holisource", "/root/main/holisource","width:500px;height:200px");
  1127. modal("SPAAA02700", "1","150", "150", "SPAAA02700", "/root/holisource", "/root/main/holisource");
  1128. //if(model.getValue("/root/holisource/status")=="u") //수정이 완료 되었으면
  1129. if(model.getValue("/root/holisource/reflag")=="c")
  1130. {
  1131. //fHoliListInfo();
  1132. // 휴가 현황 조회 함수
  1133. btn_HoliCond.dispatch("onclick"); // 휴가조회 강제 이벤트 발생
  1134. }
  1135. }
  1136. model.refresh();
  1137. }
  1138. function fAAA03100()
  1139. {
  1140. var voluntrid=model.getValue("/root/main/voluntrinfo/baseinfo/itemlist/voluntrid"); // 조회된 자원봉사자 ID저장
  1141. if(voluntrid=='')
  1142. {
  1143. messageBox("봉사자 조회 후 처리가능합니다.","I");
  1144. return;
  1145. }
  1146. else
  1147. {
  1148. model.removeNodeset("/root/jobsource");
  1149. model.makeValue("/root/jobsource/voluntrid",voluntrid); // 휴가등록 팝업창에 넘길 봉사자 id셋팀
  1150. model.makeValue("/root/jobsource/holijobrespflag",2); // 휴가 직책 구분 1:휴가, 2:직책
  1151. model.makeValue("/root/jobsource/status","i"); // 직책 현황 저장 i 플래그
  1152. model.makeNode("/root/jobsource/fromdd");
  1153. model.makeNode("/root/jobsource/todd");
  1154. model.makeNode("/root/jobsource/jobrespcd");
  1155. model.makeNode("/root/jobsource/holijobrem");
  1156. //modal("SPAAA03100",null,null,null, "SPAAA03100", "/root/jobsource", "/root/main/jobsource","width:500px;height:200px");
  1157. modal("SPAAA03100", "1","150", "150", "SPAAA03100", "/root/jobsource", "/root/main/jobsource");
  1158. //if(model.getValue("/root/jobsource/status")=="u") //수정이 완료 되었으면
  1159. if(model.getValue("/root/jobsource/reflag")=="c")
  1160. {
  1161. //fJobRespLilstInfo();
  1162. btn_jobrespcond.dispatch("onclick"); // 직책 현황 강제 이벤트 발생
  1163. }
  1164. /* else if(model.getValue("/root/jobsource/status")=="r") //취소 상태값인 r 일때
  1165. {
  1166. model.resetInstanceNode("/root/jobsource/status");
  1167. }*/
  1168. }
  1169. }
  1170. function fAAA03000()
  1171. {
  1172. var voluntrid=model.getValue("/root/main/voluntrinfo/baseinfo/itemlist/voluntrid"); // 조회된 자원봉사자 ID저장
  1173. if(voluntrid=='')
  1174. {
  1175. messageBox("봉사자 조회 후 처리가능합니다.","I");
  1176. return;
  1177. }
  1178. else
  1179. {
  1180. model.removeNodeset("/root/actsource");
  1181. model.makeValue("/root/actsource/voluntrid",voluntrid); // 휴가등록 팝업창에 넘길 봉사자 id셋팀
  1182. //model.makeValue("/root/holisource/holijobrespflag",1); // 휴가 직책 구분 1:휴가, 2:직책
  1183. model.makeValue("/root/actsource/status","i"); // 휴가 현황 저장 i 플래그
  1184. model.makeNode("/root/actsource/servkind");
  1185. model.makeNode("/root/actsource/actdeptcd");
  1186. model.makeNode("/root/actsource/actdeptdetlnm");
  1187. model.makeNode("/root/actsource/voluntractdwcd");
  1188. model.makeNode("/root/actsource/voluntractteamcd");
  1189. model.makeNode("/root/actsource/actfromdd");
  1190. model.makeNode("/root/actsource/acttodd");
  1191. model.makeNode("/root/actsource/actdivscd");
  1192. model.makeValue("/root/actsource/joinorgdd",model.getValue("/root/main/voluntrinfo/baseinfo/itemlist/joinorgdd"));
  1193. modal("SPAAA03000", "1","150", "150", "SPAAA03000", "/root/actsource", "/root/main/actsource");
  1194. //modal("SPAAA03000",null,null,null, "SPAAA03000", "/root/actsource", "/root/main/actsource","width:500px;height:200px");
  1195. if(model.getValue("/root/actsource/reflag")=="c")
  1196. // 처리가 완료되었다는 의미의 플래그 c반환 되면 활동현황조회 강제 이벤트 발생
  1197. {
  1198. btn_actreq.dispatch("onclick");
  1199. }
  1200. }
  1201. model.refresh();
  1202. }
  1203. function fAAA00600()
  1204. {
  1205. var voluntrid=model.getValue("/root/main/voluntrinfo/baseinfo/itemlist/voluntrid"); // 조회된 자원봉사자 ID저장
  1206. if(voluntrid=='')
  1207. {
  1208. messageBox("봉사자 조회 후 처리가능합니다.","I");
  1209. return;
  1210. }
  1211. else
  1212. {
  1213. model.removeNodeset("/root/prizsource");
  1214. model.makeValue("/root/prizsource/voluntrid",voluntrid); // 포상등록 팝업창에 넘길 봉사자 id셋팀
  1215. model.makeValue("/root/prizsource/prizbenfflag",1); // 포상 수혜 구분 1:포상, 2:수혜
  1216. model.makeValue("/root/prizsource/status","i"); // 포상 수혜 저장 i 플래그
  1217. model.makeNode("/root/prizsource/prizbenfdd"); // 포상 일자
  1218. model.makeNode("/root/prizsource/prizflagcd"); // 포상 코드
  1219. model.makeNode("/root/prizsource/prizbenfrem"); // 비고
  1220. //modal("SPAAA00600",null,null,null, "SPAAA00600", "/root/prizsource", "/root/main/prizsource","width:500px;height:200px");
  1221. modal("SPAAA00600", "1","150", "150", "SPAAA00600", "/root/prizsource", "/root/main/prizsource");
  1222. //if(model.getValue("/root/prizsource/status")=="u") //수정이 완료 되었으면
  1223. if(model.getValue("/root/prizsource/reflag")=="c")
  1224. {
  1225. //fPrizListInfo();
  1226. btn_prizcond.dispatch("onclick"); // 포상 현황 조회 강제 이벤트 발생
  1227. }
  1228. }
  1229. }
  1230. function fAAA00900()
  1231. {
  1232. var voluntrid=model.getValue("/root/main/voluntrinfo/baseinfo/itemlist/voluntrid"); // 조회된 자원봉사자 ID저장
  1233. if(voluntrid=='')
  1234. {
  1235. messageBox("봉사자 조회 후 처리가능합니다.","I");
  1236. return;
  1237. }
  1238. else
  1239. {
  1240. model.removeNodeset("/root/benfsource");
  1241. model.makeValue("/root/benfsource/voluntrid",voluntrid); // 수혜 처리 팝업에 넘길 자원봉사자 ID저장
  1242. model.makeValue("/root/benfsource/prizbenfflag",2); // 포상 :1, 수혜:2
  1243. model.makeValue("/root/benfsource/status","i"); // 포상 수혜 저장 i 플래그
  1244. model.makeNode("/root/benfsource/prizbenfdd"); // 수혜 날짜
  1245. model.makeNode("/root/benfsource/benfflagcd"); // 수혜구분 코드
  1246. model.makeNode("/root/benfsource/prizbenfrem"); // 비고
  1247. //modal("SPAAA00900",null,null,null, "SPAAA00900", "/root/benfsource", "/root/main/benfsource","width:500px;height:200px");
  1248. modal("SPAAA00900", "1","150", "150", "SPAAA00900", "/root/benfsource", "/root/main/benfsource");
  1249. //if(model.getValue("/root/benfsource/status")=="u") //수정이 완료 되었으면
  1250. if(model.getValue("/root/benfsource/reflag")=="c")
  1251. {
  1252. //fBenfListInfo();
  1253. btn_benfcond.dispatch("onclick"); // 수혜 현황 조회 강제 이벤트 발생 함수
  1254. }
  1255. }
  1256. model.refresh();
  1257. }
  1258. // 메인화면에서 자원봉사자 인적정보 조회하는 함수
  1259. function fReqMainVoluntrInfo()
  1260. {
  1261. if(model.getValue("/root/rejoinsource/status")=="r"||model.getValue("/root/quitorginfo/status")=="r")
  1262. { // 재입단 처리, 탈단 처리의 취소 버튼 눌렀을 때 리턴 시켜줌
  1263. model.removeNodeset("/root/rejoinsource/status");
  1264. model.removeNodeset("/root/quitorginfo/status");
  1265. model.refresh();
  1266. return;
  1267. }
  1268. model.makeValue("/root/send/reqdata/voluntrid",model.getValue("/root/main/reqpopup/reqpopuplist/voluntrid"));
  1269. //ID로 봉사자 인적 정보 및 누적 봉사활동 정보 찾아오는 submission 보냄
  1270. submit("TRAAA00102");
  1271. setImageRefInstance("/root/main/voluntrinfo/baseinfo/itemlist/photimg");
  1272. // 조회한 이미지를 변환해서 볼 수 있는 형태로 바꾸어 준다.
  1273. var brthDD=model.getValue("/root/main/voluntrinfo/baseinfo/itemlist/brthdd");
  1274. var currentAge=getFullAge(brthDD)+1;
  1275. //생년월일을 이용, 현재 나이 셋팅
  1276. model.makeValue("/root/main/voluntrinfo/baseinfo/itemlist/age",currentAge);
  1277. // SPAAA02400_자원봉사자 조회 화면에서 조회된 데이터를 신상등록 인적정보 화면에 셋팅 하는 로직
  1278. if ( !isNull(model.getValue("/root/main/reqpopup/reqpopuplist/voluntrid")) )
  1279. { //SPAAA02400_자원봉사자 조회 화면에서 받아온 ID가 존재 할때
  1280. model.removeNodeset("/root/send/reqdata");
  1281. model.makeNode("/root/send/reqdata");
  1282. model.makeValue("/root/send/reqdata/voluntrid",model.getValue("/root/main/reqpopup/reqpopuplist/voluntrid"));
  1283. submit("TRAAA00103");
  1284. //가족, 활동현황 가져오는 서브미션
  1285. }
  1286. //model.removeNodeset("/root/main/voluntractprescond");
  1287. //model.removeNodeset("/root/source");
  1288. if(model.getValue("/root/main/voluntrinfo/baseinfo/itemlist/actstatflag")=='1') // 활동상태 - 활동 중일때
  1289. {
  1290. btn_actrgst.disabled='false'; //활동현황등록 버튼 활성
  1291. button24.disabled='true'; // 재입단버튼 비활성
  1292. button25.disabled='false'; // 탈단신청버튼 활성
  1293. button3.disabled='false'; // 휴가등록버튼 활성
  1294. button4.disabled='false'; // 직책등록버튼 활성
  1295. button7.disabled='false'; // 포상등록버튼 활성
  1296. button8.disabled='false'; // 수혜등록버튼 활성
  1297. btn_save.disabled='true'; // 등록버튼 비활성
  1298. btn_set.disabled='false'; // 수정버튼 활성
  1299. }
  1300. else if(model.getValue("/root/main/voluntrinfo/baseinfo/itemlist/actstatflag")=='2') // 활동상태 - 탈단 중일때
  1301. {
  1302. btn_actrgst.disabled='true'; //활동현황등록 버튼 비활성
  1303. button24.disabled='false'; // 재입단버튼 활성
  1304. button25.disabled='true'; // 탈단신청버튼 비활성
  1305. button3.disabled='true'; // 휴가등록버튼 비활성
  1306. button4.disabled='true'; // 직책등록버튼 비활성
  1307. button7.disabled='true'; // 포상등록버튼 비활성
  1308. button8.disabled='true'; // 수혜등록버튼 비활성
  1309. btn_set.disabled='false'; // 수정버튼 활성
  1310. btn_save.disabled='false'; // 등록버튼 활성
  1311. }
  1312. //model.resetInstanceNode("/root/main/reqpopup/reqpopuplist");
  1313. if(model.getValue("/root/main/voluntrinfo/baseinfo/itemlist/voluntrflag")=='1')
  1314. { // 일반자원봉사자 일때 해당 값 셋팅
  1315. model.makeValue("/root/main/aaa/report/voluntrflagnm","일반");
  1316. }
  1317. else if(model.getValue("/root/main/voluntrinfo/baseinfo/itemlist/voluntrflag")=='3')
  1318. { // 교직원 자원봉사자 일때 해당 값 셋팅
  1319. model.makeValue("/root/main/aaa/report/voluntrflagnm","교직원");
  1320. }
  1321. var systeminstnm=getUserInfo("systeminstnm");
  1322. // 로그인한 기관 명 받아옴
  1323. model.makeValue("/root/main/aaa/report/systeminstnm",systeminstnm);
  1324. // 입단이력 강제 이벤트 발생
  1325. btn_actreq.dispatch("onclick"); //활동현황 조회
  1326. model.setFocus("caption1");
  1327. model.refresh();
  1328. }
  1329. // 자원봉사자 조회 팝업 창을 띄워 찾는 함수
  1330. function fVoluntrSearch()
  1331. {
  1332. //modal("SPAAA02400",null,null,null, "SPAAA02400", "/root/source", "/root/send/reqdata","width:800px;height:400px");
  1333. modal("SPAAA02400", "1","150", "150", "SPAAA02400", "/root/source"," /root/send/reqdata");
  1334. if(model.getValue("/root/main/reqpopup/reqpopuplist/flag")=='Y')
  1335. { //1명의 자원봉사자 정보 조회되어 들어왔을 경우
  1336. if(model.getValue("/root/main/reqpopup/reqpopuplist/voluntrid")!='')
  1337. {
  1338. //자원봉사자 조회 팝업 창에서 조회된 봉사자 ID가 있을 때
  1339. fReqMainVoluntrInfo();
  1340. // 메인화면에서 자원봉사자 인적정보 조회하는 함수 호출
  1341. }
  1342. }
  1343. else
  1344. {
  1345. model.setFocus("caption1");
  1346. return;
  1347. }
  1348. }
  1349. // 초기화 함수
  1350. function fAllClear()
  1351. {
  1352. var btn=messageBox("초기화를","Q004");
  1353. if(btn=='6')
  1354. {
  1355. model.resetInstanceNode("/root/main");
  1356. model.removeNodeset("/root/main/voluntrinfo/famylist");
  1357. model.removeNodeset("/root/main/voluntrinfo/actprescond");
  1358. model.removeNodeset("/root/main/voluntractprescond/joinlist");
  1359. model.removeNodeset("/root/main/voluntractprescond/actlist");
  1360. model.removeNodeset("/root/main/voluntractprescond/condlist");
  1361. model.removeNodeset("/root/main/voluntractprescond/edulist");
  1362. model.removeNodeset("/root/main/voluntractprescond/prizlist");
  1363. model.removeNodeset("/root/main/voluntractprescond/benflist");
  1364. model.removeNodeset("/root/main/voluntractprescond/holilist");
  1365. model.removeNodeset("/root/main/voluntractprescond/jobresplist");
  1366. model.removeNodeset("/root/main/voluntractprescond/specactteamlist");
  1367. button24.disabled="false";
  1368. button25.disabled="false";
  1369. button3.disabled="false";
  1370. button4.disabled="false";
  1371. button7.disabled="false";
  1372. button8.disabled="false";
  1373. btn_save.disabled="false";
  1374. btn_set.disabled="false";
  1375. model.setFocus("ipt_voluntrnm");
  1376. rdo_smsrecvyn.select(0); //DEFAULT로 수신여부 Y셋팅
  1377. model.refresh();
  1378. }
  1379. else
  1380. {
  1381. return;
  1382. }
  1383. }
  1384. // 사진 저장 함수
  1385. function fGetLocalImg()
  1386. {
  1387. var file = openImageFileDialog(1048576);
  1388. // 경로를 담아두는 변수 file.image 파일이 너무 크면 submit 시간이 매우 오래(5분이상) 걸리므로 가급적 사이즈를 작게 제한한다.
  1389. // 선택한 파일의 크기를 제한하고 싶으면 최대치 byte를 인자로 준다. 선택한 파일 경로를 반환한다.
  1390. if (file == "")
  1391. {
  1392. return;
  1393. }
  1394. //alert(file);
  1395. var pos = file.lastIndexOf("\\"); // 사진 경로의 마지막 \의 인덱스 값
  1396. var poss=file.lastIndexOf("\."); // .jpg, .bmp 앞의 인덱스 값
  1397. //alert(poss);
  1398. var localFileName= file.substring(poss+1, file.length); // jpb, bmp 판별하기 위한 값
  1399. if(localFileName=="bmp") //bmp일 경우 메시지 처리
  1400. {
  1401. messageBox("bmp 형식이 아닌 사진 파일을 선택하여 주십시요.","I");
  1402. return;
  1403. }
  1404. //var fileopen=window.fileDialog("open","|","false");
  1405. // image 위치를 fileopen에 저장
  1406. img_tmp.src='';
  1407. //파일 위치 초기화
  1408. img_tmp.src=file;
  1409. //파일의 경로를 img_tmp에 저장
  1410. var Idata=img_tmp.getBase64data();
  1411. // img_tmp에 저장한 img 컨트롤의 이미지 데이터를 BASE64로 encoding된 스트링으로 리턴하여 Idata 에 저장
  1412. model.makeValue("/root/main/voluntrinfo/baseinfo/itemlist/photimg",Idata);
  1413. // Idata에 저장한 사진을 해당 경로에 setting
  1414. setImageRefInstance("/root/main/voluntrinfo/baseinfo/itemlist/photimg");
  1415. // 이미지 컨트롤이 참조하는 ref 인스턴스 노드(xpath)의 type 속성을 "xsd:base64Binary"로 설정한다.
  1416. //model.makeValue("/root/send/file/filename",fileopen);
  1417. model.refresh();
  1418. }
  1419. function fPrizListInfo() // 포상현황 수정
  1420. {
  1421. cpt_voluntrflag.visible=false;
  1422. cmb_voluntrflg.visible=false;
  1423. //봉사구분 비활성화
  1424. cpt_attdabsnflag.visible=false;
  1425. cmb_attdabsnflag.visible=false;
  1426. // 출석구분 비활성화
  1427. ipt_fromdd.visible=true;
  1428. caption21.visible=true;
  1429. ipt_todd.visible=true;
  1430. // 기간 설정 활성화
  1431. btn_listsearch.visible=true;
  1432. cpt_reqdd.visible=true;
  1433. // 조회기관 캡션, 조회기간 버튼 활성화
  1434. btn_excel.visible=false;
  1435. model.makeValue("/root/main/search/searchflag",4);
  1436. //searchflag 가 4일 때는 포상현황 조회
  1437. model.makeNode("/root/main/search/servkind");
  1438. model.makeNode("/root/main/search/fromdd");
  1439. model.makeNode("/root/main/search/todd");
  1440. model.makeNode("/root/main/search/termflag");
  1441. model.makeNode("/root/main/search/holijobrespflag");
  1442. fListSearch();
  1443. model.refresh();
  1444. }
  1445. function fBenfListInfo() // 수혜현황 수정
  1446. {
  1447. cpt_voluntrflag.visible=false;
  1448. cmb_voluntrflg.visible=false;
  1449. //봉사구분 비활성화
  1450. //봉사구분 비활성화
  1451. cpt_attdabsnflag.visible=false;
  1452. cmb_attdabsnflag.visible=false;
  1453. // 출석구분 비활성화
  1454. ipt_fromdd.visible=true;
  1455. caption21.visible=true;
  1456. ipt_todd.visible=true;
  1457. // 기간 설정 활성화
  1458. btn_listsearch.visible=true;
  1459. cpt_reqdd.visible=true;
  1460. // 조회기관 캡션, 조회기간 버튼 활성화
  1461. btn_excel.visible=false;
  1462. model.makeValue("/root/main/search/searchflag",5);
  1463. //searchflag 가 5일 때는 수혜현황 조회
  1464. model.makeNode("/root/main/search/servkind");
  1465. model.makeNode("/root/main/search/fromdd");
  1466. model.makeNode("/root/main/search/todd");
  1467. model.makeNode("/root/main/search/termflag");
  1468. model.makeNode("/root/main/search/holijobrespflag");
  1469. fListSearch();
  1470. model.refresh();
  1471. }
  1472. function fHoliListInfo() //휴가 현황 수정
  1473. {
  1474. cpt_voluntrflag.visible=false;
  1475. cmb_voluntrflg.visible=false;
  1476. //봉사구분 비활성화
  1477. cpt_attdabsnflag.visible=false;
  1478. cmb_attdabsnflag.visible=false;
  1479. // 출석구분 비활성화
  1480. ipt_fromdd.visible=true;
  1481. caption21.visible=true;
  1482. ipt_todd.visible=true;
  1483. // 기간 설정 활성화
  1484. btn_listsearch.visible=true;
  1485. cpt_reqdd.visible=true;
  1486. // 조회기관 캡션, 조회기간 버튼 활성화
  1487. btn_excel.visible=false;
  1488. model.makeValue("/root/main/search/searchflag",6);
  1489. //searchflag 가 6일 때는 휴가현황 조회
  1490. model.makeValue("/root/main/search/holijobrespflag",1); //휴가
  1491. model.makeNode("/root/main/search/servkind");
  1492. model.makeNode("/root/main/search/fromdd");
  1493. model.makeNode("/root/main/search/todd");
  1494. model.makeNode("/root/main/search/termflag");
  1495. fListSearch();
  1496. model.refresh();
  1497. }
  1498. function fJobRespLilstInfo() //직책 현황 수정
  1499. {
  1500. cpt_voluntrflag.visible=false;
  1501. cmb_voluntrflg.visible=false;
  1502. //봉사구분 비활성화
  1503. cpt_attdabsnflag.visible=false;
  1504. cmb_attdabsnflag.visible=false;
  1505. // 출석구분 비활성화
  1506. ipt_fromdd.visible=true;
  1507. caption21.visible=true;
  1508. ipt_todd.visible=true;
  1509. // 기간 설정 활성화
  1510. btn_listsearch.visible=true;
  1511. cpt_reqdd.visible=true;
  1512. // 조회기관 캡션, 조회기간 버튼 활성화
  1513. btn_excel.visible=false;
  1514. model.makeValue("/root/main/search/searchflag",7);
  1515. //searchflag 가 7일 때는 직책 현황 조회
  1516. model.makeValue("/root/main/search/holijobrespflag",2); //직책
  1517. model.makeNode("/root/main/search/servkind");
  1518. model.makeNode("/root/main/search/fromdd");
  1519. model.makeNode("/root/main/search/todd");
  1520. model.makeNode("/root/main/search/termflag");
  1521. fListSearch();
  1522. model.refresh();
  1523. }
  1524. function fInsIssSeqNo()
  1525. {
  1526. // 발행번호 등록 및 비고 내용 저장
  1527. model.makeValue("/root/issseq/voluntrflag",1);
  1528. // 봉사자 구분 1 :일반 봉사자로 저장
  1529. model.makeValue("/root/issseq/voluntrid",model.getValue("/root/main/voluntrinfo/baseinfo/itemlist/voluntrid"));
  1530. // 해당 봉사자ID 값 저장
  1531. model.makeValue("/root/issseq/isscnts",model.getValue("/root/main/aaa/report/isscnts")); //확인서 테이블에 저장할 내용
  1532. model.makeValue("/root/issseq/issrem",model.getValue("/root/main/aaa/report/issrem")); //확인서 테이블에 저장할 비고
  1533. model.makeValue("/root/issseq/prtno",model.getValue("/root/main/aaa/report/no")); //확인서 테이블에 저장할 비고
  1534. model.removeNodeset("/root/send/savedata");
  1535. model.makeNode("/root/send/savedata");
  1536. model.copyNode("/root/send/savedata","/root/issseq");
  1537. submit("TXAAA00102")
  1538. model.refresh();
  1539. }
  1540. function fJoinOrgInfo() //입단이력 조회 함수
  1541. {
  1542. cpt_voluntrflag.visible=false;
  1543. cmb_voluntrflg.visible=false;
  1544. //봉사구분 비활성화
  1545. cpt_attdabsnflag.visible=false;
  1546. cmb_attdabsnflag.visible=false;
  1547. // 출석구분 비활성화
  1548. ipt_fromdd.visible=false;
  1549. caption21.visible=false;
  1550. ipt_todd.visible=false;
  1551. // 기간 설정 비활성화
  1552. btn_listsearch.visible=false;
  1553. cpt_reqdd.visible=false;
  1554. // 조회기관 캡션, 조회기간 버튼 비활성화
  1555. btn_excel.visible=false;
  1556. model.makeValue("/root/main/search/searchflag ",1);
  1557. //searchflag 가 1일 때는 입단이력 조회
  1558. model.makeNode("/root/main/search/servkind ");
  1559. model.makeNode("/root/main/search/fromdd");
  1560. model.makeNode("/root/main/search/todd");
  1561. model.makeNode("/root/main/search/termflag");
  1562. model.makeNode("/root/main/search/holijobrespflag");
  1563. fListSearch();
  1564. model.refresh();
  1565. }
  1566. function fCondInfo() //활동현황 조회
  1567. {
  1568. cpt_voluntrflag.visible=false;
  1569. cmb_voluntrflg.visible=false;
  1570. //봉사구분 비활성화
  1571. cpt_attdabsnflag.visible=false;
  1572. cmb_attdabsnflag.visible=false;
  1573. // 출석구분 비활성화
  1574. ipt_fromdd.visible=false;
  1575. caption21.visible=false;
  1576. ipt_todd.visible=false;
  1577. // 기간 설정 비활성화
  1578. cpt_reqdd.visible=false;
  1579. btn_listsearch.visible=false;
  1580. // 조회기간 캡션, 조회기간 버튼 비활성
  1581. btn_excel.visible=false;
  1582. model.makeValue("/root/main/search/searchflag",9);
  1583. //searchflag 가 1일 때는 입단이력 조회
  1584. model.makeNode("/root/main/search/servkind ");
  1585. model.makeNode("/root/main/search/fromdd");
  1586. model.makeNode("/root/main/search/todd");
  1587. model.makeNode("/root/main/search/termflag");
  1588. model.makeNode("/root/main/search/holijobrespflag");
  1589. fListSearch();
  1590. model.refresh();
  1591. }
  1592. /*function fReqVoluntrInfo() // 자원봉사자 조회
  1593. {
  1594. model.removeNodeset("/root/send/reqdata");
  1595. model.makeValue("/root/source/popupflag",'N'); // 넘겨줄 파라미터가 존재한다는 popupfalg N을 셋팅
  1596. model.makeValue("/root/source/voluntrnm",ipt_voluntrnm.currentText); // 봉사자 이름 셋팅
  1597. model.makeValue("/root/source/rrgstno1",ipt_rrgstno1.currentText); // 주민번호 셋팅
  1598. model.makeValue("/root/source/rrgstno2",ipt_rrgstno2.currentText);
  1599. model.makeNode("/root/source/flag");
  1600. fVoluntrSearch();
  1601. }*/
  1602. // 특별활동팀 등록 내역 조회
  1603. function fSpecActTeamLilstInfo()
  1604. {
  1605. cpt_voluntrflag.visible=false;
  1606. cmb_voluntrflg.visible=false;
  1607. //봉사구분 비활성화
  1608. cpt_attdabsnflag.visible=false;
  1609. cmb_attdabsnflag.visible=false;
  1610. // 출석구분 비활성화
  1611. ipt_fromdd.visible=false;
  1612. caption21.visible=false;
  1613. ipt_todd.visible=false;
  1614. // 기간 설정 비활성화
  1615. btn_listsearch.visible=false;
  1616. cpt_reqdd.visible=false;
  1617. // 조회기관 캡션, 조회기간 버튼 비활성화
  1618. btn_excel.visible=false;
  1619. model.makeValue("/root/main/search/searchflag",8);
  1620. //searchflag 가 8일 때는 특별활동 팀 현황 조회
  1621. model.makeValue("/root/main/search/servkind",3); //특별활동
  1622. model.makeNode("/root/main/search/specactteam");
  1623. model.makeNode("/root/main/search/actfromdd");
  1624. model.makeNode("/root/main/search/acttodd");
  1625. fListSearch();
  1626. model.refresh();
  1627. }
  1628. function fAAA02100()
  1629. {
  1630. var voluntrid=model.getValue("/root/main/voluntrinfo/baseinfo/itemlist/voluntrid"); // 조회된 자원봉사자 ID저장
  1631. if(voluntrid=='')
  1632. {
  1633. messageBox("봉사자 조회 후 처리가능합니다.","I");
  1634. return;
  1635. }
  1636. else
  1637. {
  1638. model.removeNodeset("/root/spcsource");
  1639. model.makeValue("/root/spcsource/voluntrid",voluntrid);
  1640. model.makeValue("/root/spcsource/servkind","3");
  1641. model.makeValue("/root/spcsource/status","i"); // 특별활동 저장 i 플래그
  1642. model.makeNode("/root/spcsource/specactteam");
  1643. model.makeNode("/root/spcsource/actfromdd");
  1644. model.makeNode("/root/spcsource/acttodd");
  1645. //modal("SPAAA02100", null,null, null, "SPAAA02100", "/root/spcsource", "/root/main/spcsource","width:500px;height:200px");
  1646. modal("SPAAA02100", "1","150", "150", "SPAAA02100", "/root/spcsource", "/root/main/spcsource");
  1647. //if(model.getValue("/root/spcsource/status")=="u") //수정이 완료 되었으면
  1648. if(model.getValue("/root/spcsource/reflag")=="c")
  1649. {
  1650. btn_specactteam.dispatch("onclick");
  1651. //처리가 완료되었다는 의미의 플래그 c반환 되면 특별활동 현황 강제 이벤트 발생
  1652. }
  1653. }
  1654. model.refresh();
  1655. }
  1656. // 엑셀 저장 함수
  1657. function fSaveExcel()
  1658. {
  1659. var fileName = window.fileDialog("save", ",", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  1660. if (fileName != "")
  1661. {
  1662. grd_voluntractprescond.saveExcel(fileName, "SheetName", false, false, "", "", false);
  1663. }
  1664. }
  1665. ]]>
  1666. </script>
  1667. <xhtml:body style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  1668. <group id="grp_biz" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
  1669. <group id="group1" visibility="hidden" style="left:0px; top:220px; width:505px; height:90px; ">
  1670. <select1 id="cmb_parichflag" ref="/root/main/voluntrinfo/baseinfo/itemlist/parichflag" class="combo_default" navindex="18" appearance="minimal" style="left:83px; top:27px; width:155px; height:19px; ">
  1671. <choices>
  1672. <itemset nodeset="/root/hidden/init/comcd/A0515">
  1673. <label ref="cdnm"/>
  1674. <value ref="cdid"/>
  1675. </itemset>
  1676. </choices>
  1677. </select1>
  1678. <caption id="caption30" class="cell_1" style="left:0px; top:0px; width:70px; height:23px; vertical-align:middle; ">세례년도</caption>
  1679. <caption id="caption45" class="cell_1" style="left:240px; top:26px; width:81px; height:23px; vertical-align:middle; ">본당</caption>
  1680. <caption id="caption46" class="cell_1" style="left:0px; top:25px; width:80px; height:23px; vertical-align:middle; ">교구</caption>
  1681. <caption id="caption24" class="cell_1" style="left:154px; top:-1px; width:81px; height:23px; vertical-align:middle; ">축일</caption>
  1682. <input id="ipt_parichchrchnm" ref="/root/main/voluntrinfo/baseinfo/itemlist/parichchrchnm" class="input_default" navindex="19" imemode="hangul" maxlength="20" style="left:324px; top:27px; width:170px; height:19px; "/>
  1683. <input id="input2" ref="/root/main/voluntrinfo/baseinfo/itemlist/bapyy" class="input_default" disabled="false" navindex="9" imemode="hangul" maxlength="4" format="####" style="left:71px; top:2px; width:80px; height:19px; "/>
  1684. <input id="ipt_festivday" ref="/root/main/voluntrinfo/baseinfo/itemlist/festivdd" class="input_default" navindex="10" inputtype="date" format="mm-dd" appearance="input" style="left:238px; top:2px; width:59px; height:19px; ">
  1685. <script type="javascript" ev:event="xforms-value-changed">
  1686. <![CDATA[
  1687. /*var festivday=ipt_festivday.currentText;
  1688. var festivdd1=festivday.substr(5,2);
  1689. var festivdd2=festivday.substr(8,2);
  1690. //var festivdd=(festivdd1+festivdd2);
  1691. //model.setValue("/root/main/voluntrinfo/baseinfo/itemlist/festivdd",festivdd1||"-"||festivdd2);
  1692. */
  1693. ]]>
  1694. </script>
  1695. </input>
  1696. <caption id="caption11" class="cell_1" visibility="hidden" style="left:0px; top:50px; width:80px; height:23px; vertical-align:middle; ">세례명</caption>
  1697. <input id="ipt_baptnm" ref="/root/main/voluntrinfo/baseinfo/itemlist/baptnm" class="input_default" navindex="5" visibility="hidden" imemode="hangul" maxlength="10" appearance="input" max="10" style="left:83px; top:51px; width:151px; height:19px; "/>
  1698. </group>
  1699. <caption id="caption1" class="tit_2" style="left:5px; top:10px; width:165px; height:14px; ">자원봉사자 신상등록</caption>
  1700. <line id="line1" class="line_1" style="x1:0px; y1:25px; x2:1193px; y2:25px; "/>
  1701. <line id="line32" class="line_2" style="x1:0px; y1:52px; x2:973px; y2:52px; "/>
  1702. <line id="line2" class="line_2" style="x1:0px; y1:76px; x2:973px; y2:76px; "/>
  1703. <line id="line7" class="line_2" style="x1:6px; y1:125px; x2:494px; y2:125px; "/>
  1704. <line id="line3" class="line_2" style="x1:480px; y1:124px; x2:975px; y2:124px; "/>
  1705. <line id="line8" class="line_2" style="x1:0px; y1:313px; x2:1194px; y2:313px; "/>
  1706. <switch id="switch1" style="left:0px; top:380px; width:1010px; height:356px; border-color:#c7a3cf; border-style:solid; ">
  1707. <case id="case1" selected="true" style="left:0px; top:0px; width:1008px; height:383px; ">
  1708. <datagrid id="grd_actlist" nodeset="/root/main/voluntractprescond/actlist" caption="봉사구분^소속분야^소속센터^소속센터^활동요일^활동시간대^활동시작일자^활동종료일자^voluntrid&#xA;^actrgstseqno&#xA;^voluntrid&#xA;^joinorgseqno" colsep="^" colwidth="80, 80, 120, 80, 62, 110, 105, 100, 55, 35, 8, 5" dataheight="25" explorerbar="sort" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" style="left:1px; top:1px; width:1006px; height:354px; ">
  1709. <col disabled="true" ref="servkind" type="combo" style="text-align:center; ">
  1710. <choices>
  1711. <itemset nodeset="/root/hidden/init/comcd/A0507">
  1712. <label ref="cdnm"/>
  1713. <value ref="cdid"/>
  1714. </itemset>
  1715. </choices>
  1716. </col>
  1717. <col disabled="true" ref="actdivscd" type="combo" style="text-align:center; ">
  1718. <choices>
  1719. <itemset nodeset="/root/hidden/init/comcd/A0654">
  1720. <label ref="cdnm"/>
  1721. <value ref="cdid"/>
  1722. </itemset>
  1723. </choices>
  1724. </col>
  1725. <col disabled="true" ref="actdeptcd" type="combo">
  1726. <choices>
  1727. <itemset nodeset="/root/hidden/init/comcd/A0503">
  1728. <label ref="cdnm"/>
  1729. <value ref="cdid"/>
  1730. </itemset>
  1731. </choices>
  1732. </col>
  1733. <col ref="actdeptdetlnm"/>
  1734. <col disabled="true" ref="voluntractdwcd" type="combo">
  1735. <choices>
  1736. <itemset nodeset="/root/hidden/init/comcd/A0359">
  1737. <label ref="cdnm"/>
  1738. <value ref="cdid"/>
  1739. </itemset>
  1740. </choices>
  1741. </col>
  1742. <col disabled="true" ref="voluntractteamcd" type="combo">
  1743. <choices>
  1744. <itemset nodeset="/root/hidden/init/comcd/A0360">
  1745. <label ref="cdnm"/>
  1746. <value ref="cdid"/>
  1747. </itemset>
  1748. </choices>
  1749. </col>
  1750. <col ref="actfromdd" format="yyyy-mm-dd" style="text-align:center; "/>
  1751. <col ref="acttodd" format="yyyy-mm-dd" style="text-align:center; "/>
  1752. <col ref="voluntrid" visibility="hidden" format="yyyy-mm-dd" style="text-align:center; "/>
  1753. <col ref="actrgstseqno" visibility="hidden" format="yyyy-mm-dd" style="text-align:center; "/>
  1754. <col ref="voluntrid" visibility="hidden"/>
  1755. <col ref="joinorgseqno" visibility="hidden"/>
  1756. <script type="javascript" ev:event="ondblclick">
  1757. <![CDATA[
  1758. var idxRow=grd_actlist.row //클릭한 행 저장
  1759. var SMAAA00100_param=getScreenMenuParameter();
  1760. // 메뉴파라미터 값 받아서 자원봉사자 센터가 아닌 호스피서, 원목실에서 로그인한 경우
  1761. // 팝업창 띄우지 않도록 처리
  1762. if(idxRow<=0) //조회된 행이 없을 경우
  1763. {
  1764. return; // do nothing
  1765. }
  1766. else
  1767. {
  1768. if(SMAAA00100_param!='2'&& SMAAA00100_param!='3') // 자원봉사 센터에서 로그인했을 때만 수행
  1769. {
  1770. model.removeNodeset("/root/actsource");
  1771. model.makeNode("/root/actsource");
  1772. model.makeValue("/root/main/voluntractprescond/actlist"+"["+idxRow+"]/status","u");
  1773. model.makeValue("/root/main/voluntractprescond/actlist"+"["+idxRow+"]/joinorgdd",model.getValue("/root/main/voluntrinfo/baseinfo/itemlist/joinorgdd"));
  1774. // 상태값에 u저장
  1775. model.copyNode("/root/actsource", "/root/main/voluntractprescond/actlist["+idxRow+"]");
  1776. // 클릭한 행의 모든 정보를 팝업으로 넘길 경로에 저장
  1777. //modal("SPAAA03000",null,null,null, "SPAAA03000", "/root/actsource", "/root/main/actsource","width:500px;height:200px");
  1778. // actsource 경로에 담긴 정보 팝업창의 root/main/actsource 노드로 보냄
  1779. modal("SPAAA03000", "1","150", "150", "SPAAA03000", "/root/actsource", "/root/main/actsource");
  1780. if(model.getValue("/root/actsource/reflag")=="c")
  1781. {
  1782. fCondInfo();
  1783. // 처리가 완료되었다는 의미의 플래그 c반환 되면 활동현황 조회 함수
  1784. }
  1785. else
  1786. {
  1787. return;
  1788. }
  1789. }
  1790. }
  1791. model.refresh();
  1792. ]]>
  1793. </script>
  1794. </datagrid>
  1795. </case>
  1796. <case id="case2" style="left:0px; top:0px; width:1008px; height:383px; ">
  1797. <datagrid id="grd_joinlist" nodeset="/root/main/voluntractprescond/joinlist" caption="소속분야^소속센터^소속센터^활동요일^활동시간대^구분^신청일^등록일^재등록일^활동정지일^사유^voluntrid&#xA;^joinorgseqno" colsep="^" colwidth="80, 120, 80, 55, 111, 73, 92, 92, 92, 92, 202, 8, 5" dataheight="25" explorerbar="sort" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" style="left:1px; top:1px; width:1006px; height:350px; ">
  1798. <col disabled="true" ref="actdivscd" type="combo" style="text-align:center; ">
  1799. <choices>
  1800. <itemset nodeset="/root/hidden/init/comcd/A0654">
  1801. <label ref="cdnm"/>
  1802. <value ref="cdid"/>
  1803. </itemset>
  1804. </choices>
  1805. </col>
  1806. <col disabled="true" ref="actdeptcd" type="combo">
  1807. <choices>
  1808. <itemset nodeset="/root/hidden/init/comcd/A0503">
  1809. <label ref="cdnm"/>
  1810. <value ref="cdid"/>
  1811. </itemset>
  1812. </choices>
  1813. </col>
  1814. <col ref="actdeptdetlnm"/>
  1815. <col disabled="true" ref="voluntractdwcd" type="combo">
  1816. <choices>
  1817. <itemset nodeset="/root/hidden/init/comcd/A0359">
  1818. <label ref="cdnm"/>
  1819. <value ref="cdid"/>
  1820. </itemset>
  1821. </choices>
  1822. </col>
  1823. <col disabled="true" ref="voluntractteamcd" type="combo">
  1824. <choices>
  1825. <itemset nodeset="/root/hidden/init/comcd/A0360">
  1826. <label ref="cdnm"/>
  1827. <value ref="cdid"/>
  1828. </itemset>
  1829. </choices>
  1830. </col>
  1831. <col disabled="true" ref="joinflag" type="combo" style="text-align:center; ">
  1832. <choices>
  1833. <itemset nodeset="/root/hidden/init/comcd/A0361">
  1834. <label ref="cdnm"/>
  1835. <value ref="cdid"/>
  1836. </itemset>
  1837. </choices>
  1838. </col>
  1839. <col ref="actappdd" format="yyyy-mm-dd" style="text-align:center; "/>
  1840. <col ref="joinorgdd" format="yyyy-mm-dd" style="text-align:center; "/>
  1841. <col ref="rejoinorgdd" format="yyyy-mm-dd" style="text-align:center; "/>
  1842. <col ref="quitorgdd" format="yyyy-mm-dd" style="text-align:center; "/>
  1843. <col ref="quitorgresn"/>
  1844. <col ref="voluntrid" visibility="hidden"/>
  1845. <col ref="joinorgseqno" visibility="hidden"/>
  1846. </datagrid>
  1847. </case>
  1848. <case id="case3" style="left:0px; top:0px; width:1008px; height:383px; ">
  1849. <datagrid id="grd_voluntractprescond" nodeset="/root/main/voluntractprescond/condlist" caption="봉사구분^소속분야^소속센터^소속센터^활동요일^활동시간대^특별활동^일자^활동시간^출석구분^내용^voluntrid&#xA;^servseqno" colsep="^" colwidth="0, 80, 120, 81, 61, 110, 134, 89, 64, 62, 109, 18, 19" dataheight="25" explorerbar="sort" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" style="left:1px; top:1px; width:1006px; height:349px; ">
  1850. <col disabled="true" ref="servkind" type="combo">
  1851. <choices>
  1852. <itemset nodeset="/root/hidden/init/comcd/A0507">
  1853. <label ref="cdnm"/>
  1854. <value ref="cdid"/>
  1855. </itemset>
  1856. </choices>
  1857. </col>
  1858. <col disabled="true" ref="actdivscd" type="combo" style="text-align:center; ">
  1859. <choices>
  1860. <itemset nodeset="/root/hidden/init/comcd/A0654">
  1861. <label ref="cdnm"/>
  1862. <value ref="cdid"/>
  1863. </itemset>
  1864. </choices>
  1865. </col>
  1866. <col disabled="true" ref="actdeptcd" type="combo">
  1867. <choices>
  1868. <itemset nodeset="/root/hidden/init/comcd/A0503">
  1869. <label ref="cdnm"/>
  1870. <value ref="cdid"/>
  1871. </itemset>
  1872. </choices>
  1873. </col>
  1874. <col disabled="true" ref="actdeptdetlnm" type="input">
  1875. <choices>
  1876. <itemset nodeset="/root/init/posteam2/A0360">
  1877. <label ref="cdnm"/>
  1878. <value ref="cdid"/>
  1879. </itemset>
  1880. </choices>
  1881. </col>
  1882. <col disabled="true" ref="voluntractdwcd" type="combo">
  1883. <choices>
  1884. <itemset nodeset="/root/hidden/init/comcd/A0359">
  1885. <label ref="cdnm"/>
  1886. <value ref="cdid"/>
  1887. </itemset>
  1888. </choices>
  1889. </col>
  1890. <col disabled="true" ref="voluntractteamcd" type="combo">
  1891. <choices>
  1892. <itemset nodeset="/root/hidden/init/comcd/A0360">
  1893. <label ref="cdnm"/>
  1894. <value ref="cdid"/>
  1895. </itemset>
  1896. </choices>
  1897. </col>
  1898. <col disabled="true" ref="specactteam" type="combo">
  1899. <choices>
  1900. <itemset nodeset="/root/hidden/init/comcd/A0516">
  1901. <label ref="cdnm"/>
  1902. <value ref="cdid"/>
  1903. </itemset>
  1904. </choices>
  1905. </col>
  1906. <col ref="servdd" format="yyyy-mm-dd" style="text-align:center; "/>
  1907. <col ref="servtm" format="#.9" style="text-align:center; "/>
  1908. <col disabled="true" ref="attdabsnflag" type="combo" style="text-align:center; ">
  1909. <choices>
  1910. <itemset nodeset="/root/hidden/init/comcd1/A0506">
  1911. <label ref="cdnm"/>
  1912. <value ref="cdid"/>
  1913. </itemset>
  1914. </choices>
  1915. </col>
  1916. <col ref="attdrem"/>
  1917. <col ref="voluntrid" visibility="hidden"/>
  1918. <col ref="servseqno" visibility="hidden"/>
  1919. </datagrid>
  1920. </case>
  1921. <case id="case4" style="left:0px; top:0px; width:1008px; height:383px; ">
  1922. <datagrid id="grd_educfestivprescond" nodeset="/root/main/voluntractprescond/edulist" caption="소속분야^소속센터^소속센터^활동요일^활동시간대^교육행사구분^교육행사명^일자^교육시간^봉사인정^내용^장소^담당자" colsep="^" colwidth="80, 119, 80, 58, 110, 90, 99, 78, 55, 54, 93, 111, 71" dataheight="25" explorerbar="sort" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" style="left:1px; top:1px; width:1006px; height:349px; ">
  1923. <col disabled="true" ref="actdivscd" type="combo" style="text-align:center; ">
  1924. <choices>
  1925. <itemset nodeset="/root/hidden/init/comcd/A0654">
  1926. <label ref="cdnm"/>
  1927. <value ref="cdid"/>
  1928. </itemset>
  1929. </choices>
  1930. </col>
  1931. <col disabled="true" ref="actdeptcd" type="combo">
  1932. <choices>
  1933. <itemset nodeset="/root/hidden/init/comcd/A0503">
  1934. <label ref="cdnm"/>
  1935. <value ref="cdid"/>
  1936. </itemset>
  1937. </choices>
  1938. </col>
  1939. <col ref="actdeptdetlnm" type="input">
  1940. <choices/>
  1941. </col>
  1942. <col disabled="true" ref="voluntractdwcd" type="combo">
  1943. <choices>
  1944. <itemset nodeset="/root/hidden/init/comcd/A0359">
  1945. <label ref="cdnm"/>
  1946. <value ref="cdid"/>
  1947. </itemset>
  1948. </choices>
  1949. </col>
  1950. <col disabled="true" ref="voluntractteamcd" type="combo">
  1951. <choices>
  1952. <itemset nodeset="/root/hidden/init/comcd/A0360">
  1953. <label ref="cdnm"/>
  1954. <value ref="cdid"/>
  1955. </itemset>
  1956. </choices>
  1957. </col>
  1958. <col disabled="true" ref="educfestivcd" type="combo" style="text-align:center; ">
  1959. <choices>
  1960. <itemset nodeset="/root/hidden/init/comcd/A0362">
  1961. <label ref="cdnm"/>
  1962. <value ref="cdid"/>
  1963. </itemset>
  1964. </choices>
  1965. </col>
  1966. <col ref="educfestivnm"/>
  1967. <col ref="entrydd" format="yyyy-mm-dd" style="text-align:center; "/>
  1968. <col ref="educrcogtm" format="#.9"/>
  1969. <col ref="servtmrcogflag"/>
  1970. <col ref="attdrem"/>
  1971. <col ref="plcenm"/>
  1972. <col ref="chrgpsnnm"/>
  1973. </datagrid>
  1974. </case>
  1975. <case id="case5" style="left:0px; top:0px; width:1008px; height:383px; ">
  1976. <datagrid id="grd_prizprescond" nodeset="/root/main/voluntractprescond/prizlist" caption="소속분야^소속센터^소속센터^활동요일^활동시간대^포상명^포상일^비고^prizrgstseqno&#xA;^actrgstseqno&#xA;^prizbenfflag" colsep="^" colwidth="80, 120, 80, 68, 110, 123, 97, 226, 16, 32, 26" dataheight="25" explorerbar="sort" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" style="left:1px; top:1px; width:1006px; height:349px; ">
  1977. <col disabled="true" ref="actdivscd" type="combo" style="text-align:center; ">
  1978. <choices>
  1979. <itemset nodeset="/root/hidden/init/comcd/A0654">
  1980. <label ref="cdnm"/>
  1981. <value ref="cdid"/>
  1982. </itemset>
  1983. </choices>
  1984. </col>
  1985. <col disabled="true" ref="actdeptcd" type="combo">
  1986. <choices>
  1987. <itemset nodeset="/root/hidden/init/comcd/A0503">
  1988. <label ref="cdnm"/>
  1989. <value ref="cdid"/>
  1990. </itemset>
  1991. </choices>
  1992. </col>
  1993. <col ref="actdeptdetlnm" type="input">
  1994. <choices/>
  1995. </col>
  1996. <col disabled="true" ref="voluntractdwcd" type="combo">
  1997. <choices>
  1998. <itemset nodeset="/root/hidden/init/comcd/A0359">
  1999. <label ref="cdnm"/>
  2000. <value ref="cdid"/>
  2001. </itemset>
  2002. </choices>
  2003. </col>
  2004. <col disabled="true" ref="voluntractteamcd" type="combo">
  2005. <choices>
  2006. <itemset nodeset="/root/hidden/init/comcd/A0360">
  2007. <label ref="cdnm"/>
  2008. <value ref="cdid"/>
  2009. </itemset>
  2010. </choices>
  2011. </col>
  2012. <col disabled="true" ref="prizflagcd" type="combo" style="text-align:center; ">
  2013. <choices>
  2014. <itemset nodeset="/root/hidden/init/comcd/A0363">
  2015. <label ref="cdnm"/>
  2016. <value ref="cdid"/>
  2017. </itemset>
  2018. </choices>
  2019. </col>
  2020. <col ref="prizbenfdd" format="yyyy-mm-dd" style="text-align:center; "/>
  2021. <col ref="prizbenfrem"/>
  2022. <col ref="prizrgstseqno" visibility="hidden"/>
  2023. <col ref="actrgstseqno" visibility="hidden"/>
  2024. <col ref="prizbenfflag" visibility="hidden"/>
  2025. <script type="javascript" ev:event="ondblclick">
  2026. <![CDATA[
  2027. var idxRow=grd_prizprescond.row //클릭한 행 저장
  2028. var SMAAA00100_param=getScreenMenuParameter();
  2029. // 메뉴파라미터 값 받아서 자원봉사자 센터가 아닌 호스피서, 원목실에서 로그인한 경우
  2030. // 팝업창 띄우지 않도록 처리
  2031. if(idxRow<=0) //조회된 행이 없을 경우
  2032. {
  2033. return; // do nothing
  2034. }
  2035. else
  2036. {
  2037. if(SMAAA00100_param!='2'&& SMAAA00100_param!='3')
  2038. {
  2039. model.removeNodeset("/root/prizsource");
  2040. model.makeNode("/root/prizsource");
  2041. model.makeValue("/root/main/voluntractprescond/prizlist["+idxRow+"]/status","u");
  2042. model.copyNode("/root/prizsource", "/root/main/voluntractprescond/prizlist["+idxRow+"]"); // 클릭한 행의 정보 경로에 저장
  2043. //model.makeValue("/root/prizsource/status","u"); // 상태값에 u저장
  2044. // modal("SPAAA00600",null,null,null, "SPAAA00600", "/root/prizsource", "/root/main/prizsource","width:500px;height:200px"); // prizsource 경로에 담긴 정보 팝업창의 root/main/prizsource 노드로 보냄
  2045. modal("SPAAA00600", "1","150", "150", "SPAAA00600", "/root/prizsource", "/root/main/prizsource");
  2046. //if(model.getValue("/root/prizsource/status")=="u") //수정이 완료 되었으면
  2047. if(model.getValue("/root/prizsource/reflag")=="c")
  2048. {
  2049. fPrizListInfo();
  2050. // 포상현황 조회 함수
  2051. }
  2052. else
  2053. {
  2054. return;
  2055. }
  2056. }
  2057. }
  2058. model.refresh();
  2059. //fAAA00600();
  2060. ]]>
  2061. </script>
  2062. </datagrid>
  2063. </case>
  2064. <case id="case6" style="left:0px; top:0px; width:1008px; height:383px; ">
  2065. <datagrid id="grd_benfprescond" nodeset="/root/main/voluntractprescond/benflist" caption="소속분야^소속센터^소속센터^활동요일^활동시간대^수혜명^수혜일^비고^prizrgstseqno^actrgstseqno^prizbenfflag" colsep="^" colwidth="79, 120, 80, 63, 110, 115, 98, 339, 16, 23, 21" dataheight="25" explorerbar="sort" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" style="left:1px; top:1px; width:1006px; height:349px; ">
  2066. <col disabled="true" ref="actdivscd" type="combo" style="text-align:center; ">
  2067. <choices>
  2068. <itemset nodeset="/root/hidden/init/comcd/A0654">
  2069. <label ref="cdnm"/>
  2070. <value ref="cdid"/>
  2071. </itemset>
  2072. </choices>
  2073. </col>
  2074. <col disabled="true" ref="actdeptcd" type="combo">
  2075. <choices>
  2076. <itemset nodeset="/root/hidden/init/comcd/A0503">
  2077. <label ref="cdnm"/>
  2078. <value ref="cdid"/>
  2079. </itemset>
  2080. </choices>
  2081. </col>
  2082. <col ref="actdeptdetlnm"/>
  2083. <col disabled="true" ref="voluntractdwcd" type="combo">
  2084. <choices>
  2085. <itemset nodeset="/root/hidden/init/comcd/A0359">
  2086. <label ref="cdnm"/>
  2087. <value ref="cdid"/>
  2088. </itemset>
  2089. </choices>
  2090. </col>
  2091. <col disabled="true" ref="voluntractteamcd" type="combo">
  2092. <choices>
  2093. <itemset nodeset="/root/hidden/init/comcd/A0360">
  2094. <label ref="cdnm"/>
  2095. <value ref="cdid"/>
  2096. </itemset>
  2097. </choices>
  2098. </col>
  2099. <col disabled="true" ref="benfflagcd" type="combo" style="text-align:center; ">
  2100. <choices>
  2101. <itemset nodeset="/root/hidden/init/comcd/A0364">
  2102. <label ref="cdnm"/>
  2103. <value ref="cdid"/>
  2104. </itemset>
  2105. </choices>
  2106. </col>
  2107. <col ref="prizbenfdd" format="yyyy-mm-dd" style="text-align:center; "/>
  2108. <col ref="prizbenfrem"/>
  2109. <col ref="prizrgstseqno" visibility="hidden"/>
  2110. <col ref="actrgstseqno" visibility="hidden"/>
  2111. <col ref="prizbenfflag" visibility="hidden"/>
  2112. <script type="javascript" ev:event="ondblclick">
  2113. <![CDATA[
  2114. var idxRow=grd_benfprescond.row //클릭한 행 저장
  2115. var SMAAA00100_param=getScreenMenuParameter();
  2116. // 메뉴파라미터 값 받아서 자원봉사자 센터가 아닌 호스피서, 원목실에서 로그인한 경우
  2117. // 팝업창 띄우지 않도록 처리
  2118. if(idxRow<=0) //조회된 행이 없을 경우
  2119. {
  2120. return; // do nothing
  2121. }
  2122. else
  2123. {
  2124. if(SMAAA00100_param!='2'&& SMAAA00100_param!='3')
  2125. {
  2126. var idxRow=grd_benfprescond.row;
  2127. var benfflagcd=model.getValue("/root/main/voluntractprescond/benflist"+"["+idxRow+"]/benfflagcd");
  2128. // 수혜명이 진료비 감면이 아닐경우에만 팝업 띄운다. ( 진료비 감면 처리는 교육행사 내역에서 할 수 있다)
  2129. if(benfflagcd!='02')
  2130. {
  2131. model.removeNodeset("/root/benfsource");
  2132. model.makeNode("/root/benfsource");
  2133. model.makeValue("/root/main/voluntractprescond/benflist["+idxRow+"]/status","u");
  2134. model.copyNode("/root/benfsource", "/root/main/voluntractprescond/benflist["+idxRow+"]");
  2135. //model.makeValue("/root/benfsource/status","u"); // 상태값에 u저장
  2136. // modal("SPAAA00900",null,null,null, "SPAAA00900", "/root/benfsource", "/root/main/benfsource","width:500px;height:200px");
  2137. modal("SPAAA00900", "1","150", "150", "SPAAA00900", "/root/benfsource", "/root/main/benfsource");
  2138. //if(model.getValue("/root/benfsource/status")=="u") //수정이 완료 되었으면
  2139. if(model.getValue("/root/benfsource/reflag")=="c")
  2140. {
  2141. fBenfListInfo();
  2142. // 수혜현황 조회 함수
  2143. model.removeNodeset("/root/benfsource");
  2144. }
  2145. else
  2146. {
  2147. return;
  2148. }
  2149. }
  2150. }
  2151. }
  2152. model.refresh();
  2153. ]]>
  2154. </script>
  2155. </datagrid>
  2156. </case>
  2157. <case id="case7" style="left:0px; top:0px; width:1008px; height:383px; ">
  2158. <datagrid id="grd_holiprescond" nodeset="/root/main/voluntractprescond/holilist" caption="소속분야^소속센터^소속센터^활동요일^활동시간대^휴가시작일^휴가종료일^구분^휴가사유^holijobrespflag^holirgstseqno^actrgstseqno^휴가사유" colsep="^" colwidth="80, 120, 81, 57, 110, 97, 105, 90, 315, 11, 13, 28" dataheight="25" explorerbar="sort" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" style="left:1px; top:1px; width:1006px; height:349px; ">
  2159. <col ref="actdivscd" type="combo" style="text-align:center; ">
  2160. <choices>
  2161. <itemset nodeset="/root/hidden/init/comcd/A0654">
  2162. <label ref="cdnm"/>
  2163. <value ref="cdid"/>
  2164. </itemset>
  2165. </choices>
  2166. </col>
  2167. <col disabled="true" ref="actdeptcd" type="combo">
  2168. <choices>
  2169. <itemset nodeset="/root/hidden/init/comcd/A0503">
  2170. <label ref="cdnm"/>
  2171. <value ref="cdid"/>
  2172. </itemset>
  2173. </choices>
  2174. </col>
  2175. <col ref="actdeptdetlnm"/>
  2176. <col disabled="true" ref="voluntractdwcd" type="combo">
  2177. <choices>
  2178. <itemset nodeset="/root/hidden/init/comcd/A0359">
  2179. <label ref="cdnm"/>
  2180. <value ref="cdid"/>
  2181. </itemset>
  2182. </choices>
  2183. </col>
  2184. <col disabled="true" ref="voluntractteamcd" type="combo">
  2185. <choices>
  2186. <itemset nodeset="/root/hidden/init/comcd/A0360">
  2187. <label ref="cdnm"/>
  2188. <value ref="cdid"/>
  2189. </itemset>
  2190. </choices>
  2191. </col>
  2192. <col ref="fromdd" format="yyyy-mm-dd" style="text-align:center; "/>
  2193. <col ref="todd" format="yyyy-mm-dd" style="text-align:center; "/>
  2194. <col disabled="true" ref="holicd" type="combo" style="text-align:center; ">
  2195. <choices>
  2196. <itemset nodeset="/root/hidden/init/comcd/A0020A0506">
  2197. <label ref="cdnm"/>
  2198. <value ref="cdid"/>
  2199. </itemset>
  2200. </choices>
  2201. </col>
  2202. <col ref="holijobrem"/>
  2203. <col ref="holijobrespflag" visibility="hidden"/>
  2204. <col ref="holirgstseqno" visibility="hidden"/>
  2205. <col ref="actrgstseqno" visibility="hidden"/>
  2206. <script type="javascript" ev:event="ondblclick">
  2207. <![CDATA[
  2208. var idxRow=grd_holiprescond.row //클릭한 행 저장
  2209. var SMAAA00100_param=getScreenMenuParameter();
  2210. // 메뉴파라미터 값 받아서 자원봉사자 센터가 아닌 호스피서, 원목실에서 로그인한 경우
  2211. // 팝업창 띄우지 않도록 처리
  2212. if(idxRow<=0) //조회된 행이 없을 경우
  2213. {
  2214. return; // do nothing
  2215. }
  2216. else
  2217. {
  2218. if(SMAAA00100_param!='2'&& SMAAA00100_param!='3')
  2219. {
  2220. model.removeNodeset("/root/holisource");
  2221. model.makeNode("/root/holisource");
  2222. model.makeValue("/root/main/voluntractprescond/holilist["+idxRow+"]/status","u"); // 상태값에 u저장
  2223. model.copyNode("/root/holisource", "/root/main/voluntractprescond/holilist["+idxRow+"]");
  2224. // modal("SPAAA02700",null,null,null, "SPAAA02700", "/root/holisource", "/root/main/holisource","width:500px;height:200px");
  2225. modal("SPAAA02700", "1","150", "150", "SPAAA02700", "/root/holisource", "/root/main/holisource");
  2226. //if(model.getValue("/root/holisource/status")=="u") //수정이 완료 되었으면
  2227. if(model.getValue("/root/holisource/reflag")=="c")
  2228. {
  2229. fHoliListInfo();
  2230. // 휴가 현황 조회 함수
  2231. model.removeNodeset("/root/holisource");
  2232. }
  2233. else
  2234. {
  2235. return;
  2236. }
  2237. }
  2238. }
  2239. model.refresh();
  2240. ]]>
  2241. </script>
  2242. </datagrid>
  2243. </case>
  2244. <case id="case8" style="left:0px; top:0px; width:1008px; height:383px; ">
  2245. <datagrid id="grd_jobrespprescond" nodeset="/root/main/voluntractprescond/jobresplist" caption="소속분야^소속센터^소속센터^활동요일^활동시간대^직책구분^직책임명일^직책해지일^비고^holijobrespflag^holirgstseqno^actrgstseqno" colsep="^" colwidth="81, 120, 80, 63, 111, 101, 103, 100, 239, 29, 30, 24" dataheight="25" explorerbar="sort" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" style="left:1px; top:1px; width:1006px; height:349px; ">
  2246. <col ref="actdivscd" type="combo" style="text-align:center; ">
  2247. <choices>
  2248. <itemset nodeset="/root/hidden/init/comcd/A0654">
  2249. <label ref="cdnm"/>
  2250. <value ref="cdid"/>
  2251. </itemset>
  2252. </choices>
  2253. </col>
  2254. <col disabled="true" ref="actdeptcd" type="combo">
  2255. <choices>
  2256. <itemset nodeset="/root/hidden/init/comcd/A0503">
  2257. <label ref="cdnm"/>
  2258. <value ref="cdid"/>
  2259. </itemset>
  2260. </choices>
  2261. </col>
  2262. <col ref="actdeptdetlnm"/>
  2263. <col disabled="true" ref="voluntractdwcd" type="combo">
  2264. <choices>
  2265. <itemset nodeset="/root/hidden/init/comcd/A0359">
  2266. <label ref="cdnm"/>
  2267. <value ref="cdid"/>
  2268. </itemset>
  2269. </choices>
  2270. </col>
  2271. <col disabled="true" ref="voluntractteamcd" type="combo">
  2272. <choices>
  2273. <itemset nodeset="/root/hidden/init/comcd/A0360">
  2274. <label ref="cdnm"/>
  2275. <value ref="cdid"/>
  2276. </itemset>
  2277. </choices>
  2278. </col>
  2279. <col disabled="true" ref="jobrespcd" type="combo" style="text-align:center; ">
  2280. <choices>
  2281. <itemset nodeset="/root/hidden/init/comcd/A0504">
  2282. <label ref="cdnm"/>
  2283. <value ref="cdid"/>
  2284. </itemset>
  2285. </choices>
  2286. </col>
  2287. <col ref="fromdd" format="yyyy-mm-dd" style="text-align:center; "/>
  2288. <col ref="todd" format="yyyy-mm-dd" style="text-align:center; "/>
  2289. <col ref="holijobrem"/>
  2290. <col ref="holijobrespflag" visibility="hidden"/>
  2291. <col ref="holirgstseqno" visibility="hidden"/>
  2292. <col ref="actrgstseqno" visibility="hidden"/>
  2293. <script type="javascript" ev:event="ondblclick">
  2294. <![CDATA[
  2295. var idxRow=grd_jobrespprescond.row //클릭한 행 저장
  2296. var SMAAA00100_param=getScreenMenuParameter();
  2297. // 메뉴파라미터 값 받아서 자원봉사자 센터가 아닌 호스피서, 원목실에서 로그인한 경우
  2298. // 팝업창 띄우지 않도록 처리
  2299. if(idxRow<=0) //조회된 행이 없을 경우
  2300. {
  2301. return; // do nothing
  2302. }
  2303. else
  2304. {
  2305. if(SMAAA00100_param!='2'&& SMAAA00100_param!='3')
  2306. {
  2307. model.removeNodeset("/root/jobsource");
  2308. model.makeNode("/root/jobsource");
  2309. model.makeValue("/root/main/voluntractprescond/jobresplist"+"["+idxRow+"]/status","u");
  2310. // 상태값에 u저장
  2311. model.copyNode("/root/jobsource", "/root/main/voluntractprescond/jobresplist["+idxRow+"]");
  2312. //클릭한 행 팝업 으로 보내줄 노드에 저장
  2313. // modal("SPAAA03100",null,null,null, "SPAAA03100", "/root/jobsource", "/root/main/jobsource","width:500px;height:200px");
  2314. // /root/jobsource 에 저장한 인스턴스를 팝업 화면의 /root/main/jobsource 노드에 복사
  2315. modal("SPAAA03100", "1","150", "150", "SPAAA03100", "/root/jobsource", "/root/main/jobsource");
  2316. // if(model.getValue("/root/jobsource/status")=="u") //수정이 완료 되었으면
  2317. if(model.getValue("/root/jobsource/reflag")=="c")
  2318. {
  2319. fJobRespLilstInfo();
  2320. // 직책현황 조회 함수
  2321. model.removeNodeset("/root/jobsource");
  2322. }
  2323. else
  2324. {
  2325. return;
  2326. }
  2327. }
  2328. }
  2329. model.refresh();
  2330. ]]>
  2331. </script>
  2332. </datagrid>
  2333. </case>
  2334. <case id="case9" style="left:0px; top:0px; width:1008px; height:383px; ">
  2335. <datagrid id="grd_specactteamlist" nodeset="/root/main/voluntractprescond/specactteamlist" caption="봉사구분^특별활동팀^활동시작일자^활동종료일자^holijobrespflag^holirgstseqno^actrgstseqno" colsep="^" colwidth="84, 124, 103, 100, 29, 30, 24" dataheight="25" explorerbar="sort" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" style="left:1px; top:1px; width:1006px; height:349px; ">
  2336. <col disabled="true" ref="servkind" type="combo">
  2337. <choices>
  2338. <item>
  2339. <label>특별활동</label>
  2340. <value>3</value>
  2341. </item>
  2342. </choices>
  2343. </col>
  2344. <col disabled="true" ref="specactteam" type="combo">
  2345. <choices>
  2346. <itemset nodeset="/root/hidden/init/comcd/A0516">
  2347. <label ref="cdnm"/>
  2348. <value ref="cdid"/>
  2349. </itemset>
  2350. </choices>
  2351. </col>
  2352. <col ref="actfromdd" format="yyyy-mm-dd" style="text-align:center; "/>
  2353. <col ref="acttodd" format="yyyy-mm-dd" style="text-align:center; "/>
  2354. <col ref="status" visibility="hidden"/>
  2355. <col ref="actrgstseqno" visibility="hidden"/>
  2356. <script type="javascript" ev:event="ondblclick">
  2357. <![CDATA[
  2358. var idxRow=grd_specactteamlist.row //클릭한 행 저장
  2359. var SMAAA00100_param=getScreenMenuParameter();
  2360. // 메뉴파라미터 값 받아서 호스피서가 아닌 , 자원봉사자 센터원목실에서 로그인한 경우
  2361. // 팝업창 띄우지 않도록 처리
  2362. if(idxRow<=0) //조회된 행이 없을 경우
  2363. {
  2364. return; // do nothing
  2365. }
  2366. else
  2367. {
  2368. if(SMAAA00100_param=='1')
  2369. {
  2370. model.removeNodeset("/root/spcsource");
  2371. model.makeNode("/root/spcsource");
  2372. model.makeValue("/root/main/voluntractprescond/specactteamlist"+"["+idxRow+"]/status","u");
  2373. // 상태값에 u저장
  2374. model.copyNode("/root/spcsource", "/root/main/voluntractprescond/specactteamlist["+idxRow+"]");
  2375. //클릭한 행 팝업 으로 보내줄 노드에 저장
  2376. //modal("SPAAA02100",null,null,null, "SPAAA02100", "/root/spcsource", "/root/main/spcsource","width:500px;height:200px");
  2377. // /root/spcsource 에 저장한 인스턴스를 팝업 화면의 /root/main/spcsource 노드에 복사
  2378. modal("SPAAA02100", "1","150", "150", "SPAAA02100", "/root/spcsource", "/root/main/spcsource");
  2379. // if(model.getValue("/root/spcsource/status")=="u") //수정이 완료 되었으면
  2380. if(model.getValue("/root/spcsource/reflag")=="c")
  2381. {
  2382. fSpecActTeamLilstInfo();
  2383. //처리가 완료되었다는 의미의 플래그 c반환 되면 특별활동 현황 조회 함수
  2384. model.removeNodeset("/root/spcsource");
  2385. }
  2386. else
  2387. {
  2388. return;
  2389. }
  2390. model.refresh();
  2391. }
  2392. }
  2393. ]]>
  2394. </script>
  2395. </datagrid>
  2396. </case>
  2397. </switch>
  2398. <button id="button15" class="btn_sw" group="tab" style="left:171px; top:356px; width:90px; height:22px; ">
  2399. <caption>봉사활동현황</caption>
  2400. <toggle case="case3" ev:event="onclick"/>
  2401. <script type="javascript" ev:event="onclick">
  2402. <![CDATA[
  2403. btn_excel.visible=true;
  2404. cpt_voluntrflag.visible=true;
  2405. cmb_voluntrflg.visible=true;
  2406. //봉사구분 활성화
  2407. cpt_attdabsnflag.visible=true;
  2408. cmb_attdabsnflag.visible=true;
  2409. // 출석구분 활성화
  2410. ipt_fromdd.visible=true;
  2411. caption21.visible=true;
  2412. ipt_todd.visible=true;
  2413. // 기간 설정 활성화
  2414. btn_listsearch.visible=true;
  2415. cpt_reqdd.visible=true;
  2416. // 조회기관 캡션, 조회기간 버튼 활성화
  2417. model.makeValue("/root/main/search/searchflag",2);
  2418. //searchflag 가 2일 때는 봉사활동 현황 조회
  2419. model.makeValue("/root/main/search/servkind","");
  2420. // 원소속 기준 봉사활동현황 조회
  2421. //model.makeValue("/root/main/search/attdabsnflag","01");
  2422. // 출석구분 기본 출결로 조회
  2423. model.makeNode("/root/main/search/fromdd");
  2424. model.makeNode("/root/main/search/todd");
  2425. model.makeNode("/root/main/search/termflag");
  2426. model.makeNode("/root/main/search/holijobrespflag");
  2427. fListSearch();
  2428. model.refresh();
  2429. ]]>
  2430. </script>
  2431. </button>
  2432. <button id="button16" class="btn_sw" group="tab" style="left:261px; top:356px; width:90px; height:22px; ">
  2433. <caption>교육행사현황</caption>
  2434. <toggle case="case4" ev:event="onclick"/>
  2435. <script type="javascript" ev:event="onclick">
  2436. <![CDATA[
  2437. cpt_voluntrflag.visible=false;
  2438. cmb_voluntrflg.visible=false;
  2439. //봉사구분 비활성화
  2440. cpt_attdabsnflag.visible=false;
  2441. cmb_attdabsnflag.visible=false;
  2442. // 출석구분 비활성화
  2443. ipt_fromdd.visible=true;
  2444. caption21.visible=true;
  2445. ipt_todd.visible=true;
  2446. // 기간 설정 활성화
  2447. btn_listsearch.visible=true;
  2448. cpt_reqdd.visible=true;
  2449. // 조회기관 캡션, 조회기간 버튼 활성화
  2450. btn_excel.visible=false;
  2451. model.makeValue("/root/main/search/searchflag",3);
  2452. //searchflag 가 3일 때는 교육행사 현황 조회
  2453. model.makeNode("/root/main/search/servkind");
  2454. model.makeNode("/root/main/search/fromdd");
  2455. model.makeNode("/root/main/search/todd");
  2456. model.makeNode("/root/main/search/termflag");
  2457. model.makeNode("/root/main/search/holijobrespflag");
  2458. fListSearch();
  2459. model.refresh();
  2460. ]]>
  2461. </script>
  2462. </button>
  2463. <button id="btn_prizcond" class="btn_sw" group="tab" style="left:351px; top:356px; width:84px; height:22px; ">
  2464. <caption>포상현황</caption>
  2465. <toggle case="case5" ev:event="onclick"/>
  2466. <script type="javascript" ev:event="onclick">
  2467. <![CDATA[
  2468. fPrizListInfo();
  2469. ]]>
  2470. </script>
  2471. </button>
  2472. <button id="btn_benfcond" class="btn_sw" group="tab" style="left:437px; top:356px; width:84px; height:22px; ">
  2473. <caption>수혜현황</caption>
  2474. <toggle case="case6" ev:event="onclick"/>
  2475. <script type="javascript" ev:event="onclick">
  2476. <![CDATA[
  2477. fBenfListInfo();
  2478. ]]>
  2479. </script>
  2480. </button>
  2481. <button id="btn_HoliCond" class="btn_sw" group="tab" style="left:521px; top:356px; width:84px; height:22px; ">
  2482. <caption>휴가현황</caption>
  2483. <toggle case="case7" ev:event="onclick"/>
  2484. <script type="javascript" ev:event="onclick">
  2485. <![CDATA[
  2486. fHoliListInfo();
  2487. ]]>
  2488. </script>
  2489. </button>
  2490. <button id="btn_jobrespcond" class="btn_sw" group="tab" style="left:605px; top:356px; width:84px; height:22px; ">
  2491. <caption>직책현황</caption>
  2492. <toggle case="case8" ev:event="onclick"/>
  2493. <script type="javascript" ev:event="onclick">
  2494. <![CDATA[
  2495. fJobRespLilstInfo();
  2496. ]]>
  2497. </script>
  2498. </button>
  2499. <caption id="caption10" class="cell_1" style="left:977px; top:30px; width:213px; height:250px; vertical-align:middle; "/>
  2500. <input id="ipt_fromdd" ref="/root/main/search/fromdd" class="input_search" inputtype="date" style="left:950px; top:330px; width:85px; height:19px; "/>
  2501. <input id="ipt_todd" ref="/root/main/search/todd" class="input_search" disabled="false" inputtype="date" style="left:1054px; top:330px; width:85px; height:19px; "/>
  2502. <caption id="caption21" class="search_no_b" style="left:1038px; top:330px; width:12px; height:17px; ">~</caption>
  2503. <line id="line11" class="line_2" style="x1:480px; y1:148px; x2:975px; y2:148px; "/>
  2504. <line id="line14" class="line_2" style="x1:478px; y1:288px; x2:1194px; y2:288px; "/>
  2505. <caption id="caption15" style="left:649px; top:31px; width:10px; height:20px; vertical-align:middle; ">-</caption>
  2506. <caption id="caption44" class="cell_1" style="left:478px; top:54px; width:91px; height:23px; vertical-align:middle; ">종교</caption>
  2507. <caption id="caption14" class="cell_1" style="left:734px; top:54px; width:70px; height:23px; vertical-align:middle; ">결혼여부</caption>
  2508. <caption id="caption16" class="cell_1" style="left:478px; top:30px; width:91px; height:23px; vertical-align:middle; ">주민번호</caption>
  2509. <caption id="caption37" class="cell_1" style="left:478px; top:290px; width:91px; height:23px; vertical-align:middle; ">신청일</caption>
  2510. <caption id="caption18" class="cell_1" style="left:0px; top:30px; width:80px; height:23px; font-family:돋움; font-weight:bold; vertical-align:middle; ">봉사자사번</caption>
  2511. <caption id="caption19" class="cell_1" style="left:734px; top:30px; width:70px; height:23px; vertical-align:middle; ">성별/나이</caption>
  2512. <caption id="caption26" class="cell_1" style="left:237px; top:54px; width:80px; height:23px; vertical-align:middle; ">생년월일</caption>
  2513. <caption id="caption35" class="cell_1" style="left:734px; top:78px; width:104px; height:23px; vertical-align:middle; ">기초교육수료여부</caption>
  2514. <input id="ipt_voluntrnm" ref="/root/main/voluntrinfo/baseinfo/itemlist/voluntrnm" class="input_essential" navindex="1" imemode="hangul" maxlength="13" max="6" style="left:83px; top:55px; width:155px; height:19px; ">
  2515. <script type="javascript" ev:event="onkeydown">
  2516. <![CDATA[
  2517. if(event.keyCode==13)
  2518. {
  2519. //fReqVoluntrInfo();
  2520. model.removeNodeset("/root/send/reqdata");
  2521. model.makeNode("/root/send/reqdata");
  2522. model.makeValue("/root/send/reqdata/voluntrnm",ipt_voluntrnm.currentText);
  2523. model.removeNodeset("/root/send/reqdata/rrgstno1");
  2524. model.makeValue("/root/send/reqdata/rrgstno1","%");
  2525. model.removeNodeset("/root/send/reqdata/rrgstno2");
  2526. model.makeValue("/root/send/reqdata/rrgstno2","%"); // 봉사자 활동상태 전체 찾는 %로 셋팅
  2527. model.makeValue("/root/send/reqdata/baptnm","%"); // 세례명 전체 찾는 %로 셋팅
  2528. model.makeValue("/root/send/reqdata/actstatflag","%");
  2529. submit("TRAAA02401");
  2530. //자원봉사자 조회
  2531. var reaNodesetCount=getNodesetCount("/root/main/grdlist/itemlist");
  2532. // 조회된 자원봉사자 정보의 개수를 셈
  2533. if(reaNodesetCount=="1")
  2534. {
  2535. //그리드에 1명만 조회될 때 id저장
  2536. var voluntrid=model.getValue("/root/main/grdlist/itemlist/voluntrid");
  2537. model.copyNode("/root/main/reqpopup/reqpopuplist","/root/main/grdlist/itemlist["+reaNodesetCount+"]");
  2538. fReqMainVoluntrInfo();
  2539. // 메인화면에서 자원봉사자 인적정보 조회하는 함수 호출
  2540. }
  2541. else
  2542. { // 1명이상 조회될 때 자원봉사자 조회 팝업 화면으로 넘길 값을 셋팅
  2543. model.makeValue("/root/source/popupflag",'N');
  2544. // 넘겨줄 파라미터가 존재한다는 popupfalg N을 셋팅
  2545. model.makeValue("/root/source/voluntrnm",model.getValue("/root/send/reqdata/voluntrnm"));
  2546. model.removenode("/root/source/rrgstno1");
  2547. model.makeNode("/root/source/rrgstno1");
  2548. model.removenode("/root/source/rrgstno2");
  2549. model.makeNode("/root/source/rrgstno2");
  2550. model.makeNode("/root/source/flag");
  2551. model.refresh();
  2552. fVoluntrSearch();
  2553. // 자원봉사자 조회 팝업 띄움
  2554. }
  2555. model.removeNodeset("/root/send/reqdata/voluntrnm");
  2556. }
  2557. ]]>
  2558. </script>
  2559. </input>
  2560. <input id="ipt_rrgstno1" ref="/root/main/voluntrinfo/baseinfo/itemlist/rrgstno1" class="input_essential" disabled="false" navindex="2" maxlength="6" format="######" max="6" style="left:572px; top:31px; width:72px; height:19px; ">
  2561. <script type="javascript" ev:event="onkeydown">
  2562. <![CDATA[
  2563. if(event.keyCode==13)
  2564. {
  2565. model.removeNodeset("/root/send/reqdata");
  2566. model.makeNode("/root/send/reqdata");
  2567. model.removeNodeset("/root/send/reqdata/voluntrnm");
  2568. model.makeValue("/root/send/reqdata/voluntrnm","%");
  2569. model.makeValue("/root/send/reqdata/rrgstno1",ipt_rrgstno1.currentText);
  2570. model.resetInstanceNode("/root/send/reqdata/rrgstno2");
  2571. model.makeValue("/root/send/reqdata/rrgstno2","%"); // 봉사자 활동상태 전체 찾는 %로 셋팅
  2572. model.makeValue("/root/send/reqdata/baptnm","%"); // 세례명 전체 찾는 %로 셋팅
  2573. model.makeValue("/root/send/reqdata/actstatflag","%");
  2574. submit("TRAAA02401");
  2575. //자원봉사자 조회
  2576. var reaNodesetCount=getNodesetCount("/root/main/grdlist/itemlist");
  2577. // 조회된 자원봉사자 정보의 개수를 셈
  2578. if(reaNodesetCount=="1")
  2579. {
  2580. //그리드에 1명만 조회될 때 id저장
  2581. var voluntrid=model.getValue("/root/main/grdlist/itemlist/voluntrid");
  2582. model.copyNode("/root/main/reqpopup/reqpopuplist","/root/main/grdlist/itemlist["+reaNodesetCount+"]");
  2583. fReqMainVoluntrInfo();
  2584. // 메인화면에서 자원봉사자 인적정보 조회하는 함수 호출
  2585. }
  2586. else
  2587. { // 1명이상 조회될 때 자원봉사자 조회 팝업 화면으로 넘길 값을 셋팅
  2588. model.makeValue("/root/source/popupflag",'N');
  2589. // 넘겨줄 파라미터가 존재한다는 popupfalg N을 셋팅
  2590. model.makeNode("/root/source/voluntrnm");
  2591. model.removenode("/root/source/rrgstno1");
  2592. model.makeValue("/root/source/rrgstno1",model.getValue("/root/send/reqdata/rrgstno1"));
  2593. model.removenode("/root/source/rrgstno2");
  2594. model.makeNode("/root/source/rrgstno2");
  2595. model.makeNode("/root/source/flag");
  2596. fVoluntrSearch();
  2597. // 자원봉사자 조회 팝업 띄움
  2598. }
  2599. model.removeNodeset("/root/send/reqdata/rrgstno1");
  2600. }
  2601. ]]>
  2602. </script>
  2603. </input>
  2604. <input id="ipt_rrgstno2" ref="/root/main/voluntrinfo/baseinfo/itemlist/rrgstno2" class="input_essential" disabled="false" navindex="3" maxlength="7" format="#######" appearance="input" max="7" style="left:661px; top:31px; width:70px; height:19px; ">
  2605. <script type="javascript" ev:event="onkeydown">
  2606. <![CDATA[
  2607. if(event.keyCode==13)
  2608. {
  2609. model.removeNodeset("/root/send/reqdata");
  2610. model.makeNode("/root/send/reqdata");
  2611. model.removeNodeset("/root/send/reqdata/voluntrnm");
  2612. model.makeValue("/root/send/reqdata/voluntrnm","%");
  2613. model.resetInstanceNode("/root/send/reqdata/rrgstno1");
  2614. model.makeValue("/root/send/reqdata/rrgstno1","%");
  2615. model.makeValue("/root/send/reqdata/rrgstno2",ipt_rrgstno2.currentText);
  2616. model.makeValue("/root/send/reqdata/baptnm","%"); // 세례명 전체 찾는 %로 셋팅
  2617. model.makeValue("/root/send/reqdata/actstatflag","%");// 봉사자 활동상태 전체 찾는 %로 셋팅
  2618. submit("TRAAA02401");
  2619. //자원봉사자 조회
  2620. var reaNodesetCount=getNodesetCount("/root/main/grdlist/itemlist");
  2621. // 조회된 자원봉사자 정보의 개수를 셈
  2622. if(reaNodesetCount=="1")
  2623. {
  2624. //그리드에 1명만 조회될 때 id저장
  2625. var voluntrid=model.getValue("/root/main/grdlist/itemlist/voluntrid");
  2626. model.copyNode("/root/main/reqpopup/reqpopuplist","/root/main/grdlist/itemlist["+reaNodesetCount+"]");
  2627. fReqMainVoluntrInfo();
  2628. // 메인화면에서 자원봉사자 인적정보 조회하는 함수 호출
  2629. }
  2630. else
  2631. { // 1명이상 조회될 때 자원봉사자 조회 팝업 화면으로 넘길 값을 셋팅
  2632. model.makeValue("/root/source/popupflag",'N');
  2633. // 넘겨줄 파라미터가 존재한다는 popupfalg N을 셋팅
  2634. model.makeNode("/root/source/voluntrnm");
  2635. model.removenode("/root/source/rrgstno1");
  2636. model.makeNode("/root/source/rrgstno1");
  2637. model.removenode("/root/source/rrgstno2");
  2638. model.makeValue("/root/source/rrgstno2",model.getValue("/root/send/reqdata/rrgstno2"));
  2639. model.makeNode("/root/source/flag");
  2640. fVoluntrSearch();
  2641. // 자원봉사자 조회 팝업 띄움
  2642. }
  2643. model.removeNodeset("/root/send/reqdata/rrgstno2");
  2644. }
  2645. ]]>
  2646. </script>
  2647. <script type="javascript" ev:event="DOMFocusOut">
  2648. <![CDATA[
  2649. var fstrrgstno=ipt_rrgstno2.currentText.substr(0,1);
  2650. // 주민등록 번호 뒷자리 입력 후 포커스 떠날 시점에 앞자리가 1로 시작하면 성별에 여자를, 2로 시작하면 성별에 남자를 자동 셋팅한다.
  2651. if(fstrrgstno=='1')
  2652. {
  2653. model.removeNodeset("/root/main/voluntrinfo/baseinfo/itemlist/sex");
  2654. model.makeValue("/root/main/voluntrinfo/baseinfo/itemlist/sex","M");
  2655. }
  2656. else if(fstrrgstno=='2')
  2657. {
  2658. model.removeNodeset("/root/main/voluntrinfo/baseinfo/itemlist/sex");
  2659. model.makeValue("/root/main/voluntrinfo/baseinfo/itemlist/sex","F");
  2660. }
  2661. model.refresh();
  2662. ]]>
  2663. </script>
  2664. </input>
  2665. <select1 id="cmb-sex" ref="/root/main/voluntrinfo/baseinfo/itemlist/sex" class="combo_default" disabled="true" navindex="4" appearance="minimal" style="left:806px; top:31px; width:81px; height:19px; ">
  2666. <choices>
  2667. <itemset nodeset="/root/hidden/init/comcd/P0313">
  2668. <label ref="cdnm"/>
  2669. <value ref="cdid"/>
  2670. </itemset>
  2671. </choices>
  2672. </select1>
  2673. <output id="opt_age" ref="/root/main/voluntrinfo/baseinfo/itemlist/age" class="output_fix" style="left:891px; top:31px; width:80px; height:19px; "/>
  2674. <input id="ipt_brthdatedd" ref="/root/main/voluntrinfo/baseinfo/itemlist/brthdd" class="input_default" navindex="6" inputtype="date" format="yyyy-mm-dd" appearance="input" style="left:320px; top:55px; width:84px; height:19px; ">
  2675. <script type="javascript" ev:event="DOMFocusOut">
  2676. <![CDATA[
  2677. var brthDD=model.getValue("/root/main/voluntrinfo/baseinfo/itemlist/brthdd");
  2678. var currentAge=getFullAge(brthDD)+1;
  2679. model.setValue("/root/main/voluntrinfo/baseinfo/itemlist/age",currentAge);
  2680. //생년월일을 이용, 현재 나이 셋팅
  2681. model.refresh();
  2682. ]]>
  2683. </script>
  2684. </input>
  2685. <select1 id="rdo_solarlunarflag" ref="/root/main/voluntrinfo/baseinfo/itemlist/solarlunarflag" navindex="7" appearance="full" cellspacing="5" cols="2" rows="1" overflow="visible" style="left:409px; top:56px; width:66px; height:20px; border-style:none; ">
  2686. <choices>
  2687. <item>
  2688. <label>양</label>
  2689. <value>1</value>
  2690. </item>
  2691. <item>
  2692. <label>음</label>
  2693. <value>2</value>
  2694. </item>
  2695. </choices>
  2696. </select1>
  2697. <select1 id="rdo_maryn" ref="/root/main/voluntrinfo/baseinfo/itemlist/marflag" navindex="21" appearance="full" cols="2" rows="1" overflow="visible" style="left:806px; top:58px; width:164px; height:13px; background-color:transparent; border-style:none; ">
  2698. <choices>
  2699. <itemset nodeset="/root/hidden/init/comcd/A0512">
  2700. <label ref="cdnm"/>
  2701. <value ref="cdid"/>
  2702. </itemset>
  2703. </choices>
  2704. </select1>
  2705. <input id="ipt_zipcd1" ref="/root/main/voluntrinfo/baseinfo/itemlist/zipcd1" class="input_default" disabled="true" style="left:83px; top:79px; width:60px; height:19px; "/>
  2706. <input id="ipt_zipcd2" ref="/root/main/voluntrinfo/baseinfo/itemlist/zipcd2" class="input_default" disabled="true" style="left:146px; top:79px; width:60px; height:19px; "/>
  2707. <output id="opt_addr" ref="/root/main/voluntrinfo/baseinfo/itemlist/addr" class="output_fix" appearance="output" style="left:236px; top:79px; width:239px; height:19px; "/>
  2708. <input id="ipt_detladdr" ref="/root/main/voluntrinfo/baseinfo/itemlist/detladdr" class="input_default" navindex="12" maxlength="66" style="left:83px; top:102px; width:393px; height:19px; "/>
  2709. <input id="ipt_hometel" ref="/root/main/voluntrinfo/baseinfo/itemlist/hometel" class="input_default" navindex="13" maxlength="13" appearance="input" style="left:83px; top:123px; width:151px; height:19px; "/>
  2710. <input id="ipt_mpphontel" ref="/root/main/voluntrinfo/baseinfo/itemlist/mpphontel" class="input_default" navindex="14" maxlength="13" appearance="input" style="left:320px; top:123px; width:155px; height:19px; "/>
  2711. <select1 id="cmb_religncd" ref="/root/main/voluntrinfo/baseinfo/itemlist/religncd" class="combo_default" navindex="8" appearance="minimal" style="left:572px; top:56px; width:72px; height:19px; ">
  2712. <choices>
  2713. <itemset nodeset="/root/hidden/init/comcd/M0148">
  2714. <label ref="cdnm"/>
  2715. <value ref="cdid"/>
  2716. </itemset>
  2717. </choices>
  2718. </select1>
  2719. <input id="ipt_emailaddr" ref="/root/main/voluntrinfo/baseinfo/itemlist/emailid" class="input_default" navindex="15" imemode="alpha" maxlength="30" appearance="input" style="left:83px; top:147px; width:151px; height:19px; "/>
  2720. <input id="ipt_svcactcarer" ref="/root/main/voluntrinfo/baseinfo/itemlist/svcactcarer" class="input_default" navindex="22" imemode="hangul" maxlength="20" appearance="input" style="left:572px; top:103px; width:400px; height:19px; "/>
  2721. <input id="ipt_skil" ref="/root/main/voluntrinfo/baseinfo/itemlist/skil" class="input_default" navindex="24" imemode="hangul" maxlength="20" style="left:572px; top:151px; width:400px; height:19px; "/>
  2722. <textarea id="tar_rem" ref="/root/main/voluntrinfo/baseinfo/itemlist/actrem" navindex="26" scroll="vertical" imemode="hangul" maxlength="200" style="left:572px; top:199px; width:400px; height:87px; "/>
  2723. <input id="ipt_voluntractfstappdd" ref="/root/main/voluntrinfo/baseinfo/itemlist/actappdd" class="input_essential" navindex="27" inputtype="date" maxlength="30" style="left:572px; top:291px; width:92px; height:19px; "/>
  2724. <select1 id="rdo_baseeduccmpltyn" ref="/root/main/voluntrinfo/baseinfo/itemlist/baseeduccmpltyn" navindex="29" appearance="full" cellspacing="15" cols="2" rows="1" overflow="visible" style="left:841px; top:80px; width:75px; height:15px; background-color:transparent; border-style:none; ">
  2725. <choices>
  2726. <item>
  2727. <label>Y</label>
  2728. <value>Y</value>
  2729. </item>
  2730. <item>
  2731. <label>N</label>
  2732. <value>N</value>
  2733. </item>
  2734. </choices>
  2735. </select1>
  2736. <datagrid id="grd_famy" nodeset="/root/main/voluntrinfo/famylist/infolist" scroll="vertical" caption="성명^관계^연령^직업^종교^세례명^famyseqno^voluntrid^status" colsep="^" colwidth="90, 58, 44, 130, 96, 1, 3, 2" dataheight="25" explorerbar="sort" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" style="left:2px; top:192px; width:473px; height:119px; ">
  2737. <col imemode="hangul" ref="famynm" type="input" maxlength="10"/>
  2738. <col imemode="hangul" ref="famyrel" type="input" maxlength="3"/>
  2739. <col ref="famyage" type="input" format="###" maxlength="4"/>
  2740. <col imemode="hangul" ref="famyjobnm" type="input" maxlength="10"/>
  2741. <col ref="religncd" type="combo">
  2742. <choices>
  2743. <itemset nodeset="/root/hidden/init/comcd/M0148">
  2744. <label ref="cdnm"/>
  2745. <value ref="cdid"/>
  2746. </itemset>
  2747. </choices>
  2748. </col>
  2749. <col imemode="hangul" ref="famybaptnm" type="input" visibility="hidden" maxlength="10"/>
  2750. <col ref="famyseqno" visibility="hidden"/>
  2751. <col ref="voluntrid" visibility="hidden"/>
  2752. </datagrid>
  2753. <button id="btn_img" class="btn2_letter10" style="left:1015px; top:256px; width:130px; height:19px; text-align:center; ">
  2754. <caption>사 진 변 경</caption>
  2755. <script type="javascript" ev:event="DOMActivate">
  2756. <![CDATA[
  2757. fGetLocalImg();
  2758. ]]>
  2759. </script>
  2760. </button>
  2761. <button id="btn_famyadd" class="btn2_letter3" style="left:366px; top:171px; width:53px; height:19px; ">
  2762. <caption>행추가</caption>
  2763. <script type="javascript" ev:event="DOMActivate">
  2764. <![CDATA[
  2765. fFamyRowAdd();
  2766. ]]>
  2767. </script>
  2768. </button>
  2769. <button id="btn_famydel" class="btn2_letter3" style="left:422px; top:171px; width:53px; height:19px; ">
  2770. <caption>행삭제</caption>
  2771. <script type="javascript" ev:event="DOMActivate">
  2772. <![CDATA[
  2773. fGrdFamyRowDel();
  2774. ]]>
  2775. </script>
  2776. </button>
  2777. <button id="btn_zipcd" class="icon_search" navindex="11" style="left:215px; top:80px; width:16px; height:16px; ">
  2778. <caption/>
  2779. <script type="javascript" ev:event="DOMActivate">
  2780. <![CDATA[
  2781. zbcfOpenZipCodeList('combination', '', "/root/main/voluntrinfo/baseinfo/itemlist/zipcd1", "/root/main/voluntrinfo/baseinfo/itemlist/zipcd2" , "/root/main/voluntrinfo/baseinfo/itemlist/zipcdseq", "/root/main/voluntrinfo/baseinfo/itemlist/addr", "hangul");
  2782. ]]>
  2783. </script>
  2784. </button>
  2785. <img id="img_photimg" ref="/root/main/voluntrinfo/baseinfo/itemlist/photimg" appearance="image" style="left:989px; top:38px; width:190px; height:210px; vertical-align:middle; background-stretch:stretch; "/>
  2786. <button id="btn_voluntr" class="icon_search" style="left:215px; top:32px; width:16px; height:21px; ">
  2787. <caption/>
  2788. <script type="javascript" ev:event="DOMActivate">
  2789. <![CDATA[
  2790. fVoluntrPopup();
  2791. ]]>
  2792. </script>
  2793. </button>
  2794. <button id="btn_listsearch" class="btn5_letter2" style="left:1145px; top:330px; width:42px; height:19px; ">
  2795. <caption>조회</caption>
  2796. <script type="javascript" ev:event="DOMActivate">
  2797. <![CDATA[
  2798. fListSearch();
  2799. ]]>
  2800. </script>
  2801. </button>
  2802. <button id="btn_joinorg" class="btn_sw" group="tab" selected="true" style="left:86px; top:356px; width:84px; height:22px; ">
  2803. <caption>등록이력</caption>
  2804. <toggle case="case2" ev:event="onclick"/>
  2805. <script type="javascript" ev:event="onclick">
  2806. <![CDATA[
  2807. fJoinOrgInfo();
  2808. ]]>
  2809. </script>
  2810. </button>
  2811. <button id="btn_actreq" class="btn_sw" group="tab" selected="true" style="left:1px; top:356px; width:84px; height:22px; ">
  2812. <caption>활동현황</caption>
  2813. <toggle case="case1" ev:event="onclick"/>
  2814. <script type="javascript" ev:event="onclick">
  2815. <![CDATA[
  2816. fCondInfo();
  2817. ]]>
  2818. </script>
  2819. </button>
  2820. <line id="line13" class="line_2" style="x1:480px; y1:172px; x2:975px; y2:172px; "/>
  2821. <input id="ipt_etcemailaddr" ref="/root/main/voluntrinfo/baseinfo/itemlist/etcemailaddr" class="input_default" navindex="17" imemode="alpha" maxlength="60" appearance="input" style="left:363px; top:147px; width:112px; height:19px; "/>
  2822. <select1 id="cmb_emailaddr" ref="/root/main/voluntrinfo/baseinfo/itemlist/emailaddr" class="combo_default" navindex="16" appearance="minimal" style="left:237px; top:147px; width:119px; height:19px; ">
  2823. <choices>
  2824. <itemset nodeset="/root/hidden/init/comcd/A0120">
  2825. <label ref="cdnm"/>
  2826. <value ref="cdid"/>
  2827. </itemset>
  2828. </choices>
  2829. <script type="javascript" ev:event="xforms-value-changed">
  2830. <![CDATA[
  2831. if(model.getValue("/root/main/voluntrinfo/baseinfo/itemlist/emailaddr")=="01")
  2832. {//직접입력 선택시
  2833. model.makeNode("/root/main/voluntrinfo/baseinfo/itemlist/etcemailaddr");
  2834. ipt_etcemailaddr.disabled=false; //비활성화 품
  2835. }
  2836. else
  2837. {// 메일주소 직접 선택시
  2838. model.removenode("/root/main/voluntrinfo/baseinfo/itemlist/etcemailaddr");
  2839. ipt_etcemailaddr.disabled=true; //비활성화
  2840. model.refresh();
  2841. }
  2842. ]]>
  2843. </script>
  2844. </select1>
  2845. <caption id="caption29" class="tit_2" style="left:0px; top:336px; width:105px; height:13px; ">근태사항관리</caption>
  2846. <line id="line17" class="line_1" style="x1:0px; y1:350px; x2:1190px; y2:350px; "/>
  2847. <caption id="caption33" class="cell_1" style="left:1027px; top:694px; width:74px; height:30px; font-family:돋움체; text-align:center; vertical-align:middle; ">휴가일수</caption>
  2848. <caption id="caption34" class="cell_1" style="left:1027px; top:655px; width:74px; height:30px; font-family:돋움체; text-align:center; vertical-align:middle; ">병가일수</caption>
  2849. <caption id="caption36" class="cell_1" style="left:667px; top:290px; width:111px; height:23px; vertical-align:middle; ">자원봉사자 등록일</caption>
  2850. <input id="ipt_joinorgdd" ref="/root/main/voluntrinfo/baseinfo/itemlist/joinorgdd" class="input_essential" navindex="28" inputtype="date" style="left:780px; top:291px; width:92px; height:19px; "/>
  2851. <output id="output2" ref="/root/main/voluntrinfo/baseinfo/prescondlist/servtm" class="output_fix" format="#,###.9" style="left:1107px; top:502px; width:67px; height:19px; text-align:right; "/>
  2852. <output id="output3" ref="/root/main/voluntrinfo/baseinfo/prescondlist/attdabsnflag02" class="output_fix" format="#,###" style="left:1107px; top:621px; width:67px; height:19px; text-align:right; "/>
  2853. <output id="output4" ref="/root/main/voluntrinfo/baseinfo/prescondlist/attdabsnflag03" class="output_fix" format="#,###" style="left:1107px; top:582px; width:67px; height:19px; text-align:right; "/>
  2854. <output id="output5" ref="/root/main/voluntrinfo/baseinfo/prescondlist/attdabsnflag04" class="output_fix" format="#,###" style="left:1107px; top:702px; width:67px; height:19px; text-align:right; "/>
  2855. <output id="output6" ref="/root/main/voluntrinfo/baseinfo/prescondlist/attdabsnflag05" class="output_fix" format="#,###" style="left:1107px; top:661px; width:67px; height:19px; text-align:right; "/>
  2856. <shape id="roundrect2" class="roundrect_example" appearance="roundrect" style="left:1015px; top:360px; width:175px; height:375px; "/>
  2857. <caption id="caption31" class="cell_1" style="left:1027px; top:577px; width:74px; height:30px; font-family:돋움체; text-align:center; vertical-align:middle; ">결석일수</caption>
  2858. <caption id="caption32" class="cell_1" style="left:1027px; top:614px; width:74px; height:32px; font-family:돋움체; text-align:center; vertical-align:middle; ">
  2859. <![CDATA[교육행사
  2860. 일수]]>
  2861. </caption>
  2862. <caption id="caption40" class="cell_1" style="left:1027px; top:499px; width:74px; height:30px; font-family:돋움체; text-align:center; vertical-align:middle; ">총봉사시간</caption>
  2863. <input id="ipt_jobnm" ref="/root/main/voluntrinfo/baseinfo/itemlist/jobnm" class="input_default" navindex="20" imemode="hangul" maxlength="20" style="left:572px; top:79px; width:160px; height:19px; "/>
  2864. <caption id="caption42" class="cell_1" style="left:1027px; top:421px; width:74px; height:30px; font-family:돋움체; text-align:center; vertical-align:middle; ">활동상태</caption>
  2865. <output id="output1" ref="/root/main/voluntrinfo/baseinfo/prescondlist/attdabsnflag01" class="output_fix" format="#,###" style="left:1107px; top:542px; width:67px; height:19px; text-align:right; "/>
  2866. <caption id="caption43" class="cell_1" style="left:1027px; top:538px; width:74px; height:30px; font-family:돋움체; text-align:center; vertical-align:middle; ">출석일수</caption>
  2867. <output id="opt_vvoluntrid" ref="/root/main/voluntrinfo/baseinfo/itemlist/voluntrid" class="output_fix" style="left:83px; top:31px; width:126px; height:19px; "/>
  2868. <input id="ipt_hoby" ref="/root/main/voluntrinfo/baseinfo/itemlist/hoby" class="input_default" navindex="25" imemode="hangul" maxlength="20" style="left:572px; top:175px; width:400px; height:19px; "/>
  2869. <input id="ipt_spcvoluntrfild" ref="/root/main/voluntrinfo/baseinfo/itemlist/spcvoluntrfild" class="input_default" navindex="23" imemode="hangul" maxlength="10" style="left:572px; top:127px; width:400px; height:19px; "/>
  2870. <line id="line6" class="line_3" style="x1:2px; y1:168px; x2:474px; y2:168px; "/>
  2871. <line id="line9" class="line_2" style="x1:2px; y1:144px; x2:474px; y2:144px; "/>
  2872. <line id="line12" class="line_2" style="x1:1px; y1:120px; x2:475px; y2:120px; "/>
  2873. <line id="line18" class="line_2" style="x1:480px; y1:100px; x2:975px; y2:100px; "/>
  2874. <caption id="caption48" class="tit_2" style="left:5px; top:177px; width:105px; height:13px; ">가족사항</caption>
  2875. <caption id="caption49" class="cell_1" style="left:478px; top:126px; width:91px; height:23px; vertical-align:middle; ">자격증소지현황</caption>
  2876. <select1 id="combo2" ref="/root/main/voluntrinfo/baseinfo/itemlist/actstatflag" class="combo_search" disabled="true" appearance="minimal" style="left:1107px; top:427px; width:67px; height:19px; ">
  2877. <choices>
  2878. <itemset nodeset="/root/hidden/init/comcd/A0524">
  2879. <label ref="cdnm"/>
  2880. <value ref="cdid"/>
  2881. </itemset>
  2882. </choices>
  2883. </select1>
  2884. <caption id="caption41" class="cell_1" style="left:1027px; top:460px; width:74px; height:32px; font-family:돋움체; text-align:center; ">
  2885. <![CDATA[자원봉사자
  2886. 등록일]]>
  2887. </caption>
  2888. <input id="input1" ref="/root/main/voluntrinfo/baseinfo/itemlist/fstjoinorgdd" class="input_default" disabled="true" navindex="28" format="yyyy-mm-dd" style="left:1107px; top:464px; width:67px; height:19px; "/>
  2889. <button id="btn_specactteam" class="btn_sw" group="tab" style="left:689px; top:356px; width:89px; height:22px; ">
  2890. <caption>특별활동</caption>
  2891. <toggle case="case9" ev:event="onclick"/>
  2892. <script type="javascript" ev:event="onclick">
  2893. <![CDATA[
  2894. fSpecActTeamLilstInfo();
  2895. ]]>
  2896. </script>
  2897. </button>
  2898. <caption id="caption51" class="cell_1" style="left:1020px; top:363px; width:165px; height:43px; font-weight:bold; text-align:center; vertical-align:middle; ">개인실적</caption>
  2899. <caption id="cpt_reqdd" class="cell_1" style="left:879px; top:329px; width:69px; height:20px; text-align:center; vertical-align:middle; ">조회기간</caption>
  2900. <line id="line10" class="line_2" style="x1:1029px; y1:455px; x2:1175px; y2:455px; "/>
  2901. <line id="line15" class="line_2" style="x1:1029px; y1:494px; x2:1175px; y2:494px; "/>
  2902. <line id="line20" class="line_2" style="x1:1029px; y1:533px; x2:1175px; y2:533px; "/>
  2903. <line id="line21" class="line_2" style="x1:1029px; y1:572px; x2:1175px; y2:572px; "/>
  2904. <line id="line22" class="line_2" style="x1:1029px; y1:610px; x2:1175px; y2:610px; "/>
  2905. <line id="line23" class="line_2" style="x1:1029px; y1:650px; x2:1175px; y2:650px; "/>
  2906. <line id="line24" class="line_2" style="x1:1029px; y1:689px; x2:1175px; y2:689px; "/>
  2907. <line id="line25" class="line_2" style="x1:1026px; y1:729px; x2:1172px; y2:729px; "/>
  2908. <line id="line26" class="line_6" style="x1:1019px; y1:411px; x2:1185px; y2:411px; "/>
  2909. <button id="btn_excel" class="btn2_letter4" visibility="hidden" style="left:942px; top:357px; width:64px; height:19px; ">
  2910. <caption>엑셀저장</caption>
  2911. <script type="javascript" ev:event="DOMActivate">
  2912. <![CDATA[
  2913. fSaveExcel();
  2914. ]]>
  2915. </script>
  2916. </button>
  2917. <caption id="caption2" class="cell_1" style="left:875px; top:290px; width:87px; height:23px; vertical-align:middle; ">SMS수신여부</caption>
  2918. <select1 id="rdo_smsrecvyn" ref="/root/main/voluntrinfo/baseinfo/itemlist/smsrecvyn" class="select_essential" navindex="30" appearance="full" cols="2" rows="1" overflow="visible" style="left:965px; top:290px; width:8px; height:20px; background-color:transparent; border-style:none; ">
  2919. <choices>
  2920. <item>
  2921. <label>Y</label>
  2922. <value>Y</value>
  2923. </item>
  2924. <item>
  2925. <label>N</label>
  2926. <value>N</value>
  2927. </item>
  2928. </choices>
  2929. </select1>
  2930. <button id="btn_barcord" class="btn5_letter5" visibility="hidden" style="left:1110px; top:4px; width:75px; height:19px; ">
  2931. <caption>바코드출력</caption>
  2932. <script type="javascript" ev:event="DOMActivate">
  2933. <![CDATA[
  2934. //바코드출력추가 -kys-20100330
  2935. var voluntrid = model.getValue("/root/main/voluntrinfo/baseinfo/itemlist/voluntrid");
  2936. var voluntrnm = model.getValue("/root/main/voluntrinfo/baseinfo/itemlist/voluntrnm");
  2937. var scrnid = "SMAAA00100";
  2938. if(voluntrid == ""){
  2939. messageBox("봉사자를 조회후 출력 가능합니다","E");
  2940. return;
  2941. }
  2942. model.removeNodeset("/root/main/barcdprntsetup");
  2943. fGetBarCodeInfo(scrnid); // 바코드환경설정값 가져옴. CareCom.js
  2944. //2. 바코드 라벨 환경설정
  2945. var barcdRef = "/root/main/barcdprntsetup/prntsetupinfo/setupinfo";
  2946. lzzfMakeBrcdPrntObjHanDo("CommAX", barcdRef); //LZZ001.js
  2947. var portOpenTF = fSetNursBarcdInfo(barcdRef); // CareCom.js 바코드프린터별 환경설정(Zebra,SATO)
  2948. //3. 환자바코드출력
  2949. var sSndMsg = "";
  2950. sSndMsg = "^XA^LH0,0^PRB"; //시작문자
  2951. sSndMsg += CommAX.PrtImgOut(160, 50, voluntrnm, 2, 2); // 환자명
  2952. sSndMsg += CommAX.HanImageData();
  2953. sSndMsg += "^BY2,1"; //바코드 출력
  2954. sSndMsg += "^FO"+110+","+120+"^BCN,100,Y,N,N^FD" + voluntrid + "^FS";
  2955. //sSndMsg += "^CFA99,44^FO"+iXPos+","+iYPos+"^FD" + model.getValue(pNode+"["+iRowNo+"]/isolabbrcd") + "^FS";
  2956. sSndMsg += "^PQ"+"1"+"^XZ"; //인쇄 매수
  2957. CommAX.SendMessage("^XZ"); //끝을 알리는 문자.
  2958. //CommAX.SendMessageToLPT(sSndMsg);
  2959. CommAX.SendMessage(sSndMsg);
  2960. CommAX.PortOpen("false");
  2961. ]]>
  2962. </script>
  2963. </button>
  2964. <button id="btn_prntset" class="btn5_letter5" visibility="hidden" style="left:1030px; top:4px; width:75px; height:19px; ">
  2965. <caption>프린트설정</caption>
  2966. <script type="javascript" ev:event="DOMActivate">
  2967. <![CDATA[
  2968. fOpenBrcdPrnt(); //LZZ001.js
  2969. ]]>
  2970. </script>
  2971. </button>
  2972. <caption id="caption12" class="cell_1" style="left:0px; top:54px; width:80px; height:23px; font-weight:bold; vertical-align:middle; ">성명</caption>
  2973. <caption id="caption38" class="cell_1" style="left:0px; top:78px; width:80px; height:43px; vertical-align:middle; ">주소</caption>
  2974. <caption id="caption20" class="cell_1" style="left:0px; top:122px; width:80px; height:23px; vertical-align:middle; ">전화[자택]</caption>
  2975. <caption id="caption17" class="cell_1" style="left:0px; top:146px; width:80px; height:22px; vertical-align:middle; ">이메일주소</caption>
  2976. <caption id="caption13" class="cell_1" style="left:237px; top:122px; width:81px; height:23px; vertical-align:middle; ">전화[휴대]</caption>
  2977. <select1 id="cmb_attdabsnflag" ref="/root/main/search/attdabsnflag" class="combo_default" visibility="hidden" appearance="minimal" style="left:798px; top:330px; width:77px; height:19px; ">
  2978. <choices>
  2979. <itemset nodeset="/root/hidden/init/comcd/A0506">
  2980. <label ref="cdnm"/>
  2981. <value ref="cdid"/>
  2982. </itemset>
  2983. </choices>
  2984. <script type="javascript" ev:event="xforms-select">
  2985. <![CDATA[
  2986. fListSearch();
  2987. ]]>
  2988. </script>
  2989. </select1>
  2990. <select1 id="cmb_voluntrflg" ref="/root/main/search/servkind" class="combo_default" visibility="hidden" appearance="minimal" style="left:647px; top:330px; width:77px; height:19px; ">
  2991. <choices>
  2992. <itemset nodeset="/root/init/comcd/A0507">
  2993. <label ref="cdnm"/>
  2994. <value ref="cdid"/>
  2995. </itemset>
  2996. </choices>
  2997. <script type="javascript" ev:event="xforms-select">
  2998. <![CDATA[
  2999. fListSearch();
  3000. ]]>
  3001. </script>
  3002. </select1>
  3003. <caption id="cpt_voluntrflag" class="cell_1" visibility="hidden" style="left:576px; top:329px; width:69px; height:20px; vertical-align:middle; ">봉사구분</caption>
  3004. <caption id="cpt_attdabsnflag" class="cell_1" visibility="hidden" style="left:727px; top:329px; width:69px; height:20px; vertical-align:middle; ">출석구분</caption>
  3005. <caption id="caption23" class="cell_1" style="left:478px; top:198px; width:91px; height:91px; vertical-align:middle; ">참고사항</caption>
  3006. <caption id="caption22" class="cell_1" style="left:478px; top:102px; width:91px; height:23px; vertical-align:middle; ">봉사경력</caption>
  3007. <caption id="caption47" class="cell_1" style="left:478px; top:78px; width:91px; height:23px; vertical-align:middle; ">직업</caption>
  3008. <caption id="caption27" class="cell_1" style="left:478px; top:150px; width:91px; height:23px; vertical-align:middle; ">특기</caption>
  3009. <line id="line19" class="line_2" style="x1:480px; y1:196px; x2:975px; y2:196px; "/>
  3010. <caption id="caption39" class="cell_1" style="left:478px; top:174px; width:91px; height:23px; vertical-align:middle; ">취미</caption>
  3011. <line id="line4" class="line_3" style="x1:3px; y1:312px; x2:1192px; y2:312px; "/>
  3012. </group>
  3013. <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
  3014. <caption id="caption50" class="tit_1" style="left:5px; top:0px; width:189px; height:13px; ">자원봉사자 신상등록관리</caption>
  3015. </group>
  3016. <group id="grp_btn" style="left:0px; top:754px; width:1195px; height:27px; ">
  3017. <button id="button12" class="btn4_letter3" style="left:1115px; top:3px; width:68px; height:22px; ">
  3018. <caption>초기화</caption>
  3019. <script type="javascript" ev:event="DOMActivate">
  3020. <![CDATA[
  3021. fAllClear();
  3022. ]]>
  3023. </script>
  3024. </button>
  3025. <line id="line16" class="line_6" style="x1:0px; y1:0px; x2:1194px; y2:0px; "/>
  3026. <button id="btn_print" class="btn3_letter5" style="left:0px; top:4px; width:92px; height:22px; ">
  3027. <caption>확인서출력</caption>
  3028. <script type="javascript" ev:event="DOMActivate">
  3029. <![CDATA[
  3030. // var srch = model.getValue("/root/main/aaa/printname");
  3031. var rid = "RPAAA00101"; // 레포트명
  3032. var dataType = "XMLSTR"; // 연계방법(XMLSTR/ XMLFILE/ XML)
  3033. var paramsXPath = "/root/main/aaa"; // 매개변수필드 XPath
  3034. var submitId = ""; // SubmitID
  3035. var print = ""; // 출력여부(true, false)
  3036. var printDialog = ""; // 인쇄 창 보임 여부(true, false)
  3037. var fileType = ""; // 저장타입(xls/ pdf/ hml/rtf/ html/ bmp/ txt/ xml )
  3038. var fileName = ""; // 파일명(c:\report\레포트명.저장타입)
  3039. var fileDialog = ""; // 파일 저장 창 보임여부(0 : 숨김[기본]/1 : 보임)
  3040. var closeYn = ""; // 미리보기창닫기여부(출력 후 true로 설정한 경우 미리보기 화면 닫기)
  3041. var monNo = ""; // 모니터 번호
  3042. var parentObjId = ""; // 부모객체명(미리 생성한 부모 객체명, 해당 부모 객체에 레포트 데이터를 생성한다.)
  3043. var printPaperBin = ""; // 트레이번호
  3044. var userService = ""; // 데이터 소스
  3045. var showButton = ""; // 툴바버튼보임여부(visible, hidden)
  3046. var printCount = ""; // 프린트장수(1, 2,..)
  3047. var zoomRate = ""; // 미리보기뷰어 비율(0, 50,...)
  3048. var printOption = ""; // 출력시 선택 옵션
  3049. var dataXPath = ""; // 데이터 XPath
  3050. var mainDataXPath = ""; // 메인리포트 반복XPath
  3051. var subDataXPath = ""; // 서브리포트1 반복Xpath
  3052. model.removeNodeset("/root/send/reqdata");
  3053. model.makeValue("/root/send/reqdata/voluntrflag",1);
  3054. submit("TRAAA00104"); // 입단번호 조회하는 서브미션
  3055. setParameter("reportprintyn", ""); //출력 여부 알려주는 reportprintyn 란 파라메터 셋팅
  3056. if(isNull(model.getValue("/root/main/voluntrinfo/baseinfo/itemlist/voluntrid")))
  3057. {
  3058. messageBox("봉사자 조회 후 처리가능합니다.","I");
  3059. return;
  3060. }
  3061. if(rdo_stampflag.value=='1')
  3062. { // 센터장 직인 일때는 해당 값 셋팅
  3063. model.resetInstanceNode("/root/main/aaa/report/stampflagnm");
  3064. model.makeNode("/root/main/aaa/report/stampflagnm");
  3065. model.setValue("/root/main/aaa/report/stampflagnm","자원봉사센터장");
  3066. model.refresh();
  3067. }
  3068. else if(rdo_stampflag.value=='2')
  3069. { //병원장 직인 일때 해당 값 셋팅
  3070. // model.removenode("/root/main/aaa/report/stampflag");
  3071. model.resetInstanceNode("/root/main/aaa/report/stampflagnm");
  3072. model.makeNode("/root/main/aaa/report/stampflagnm");
  3073. model.setValue("/root/main/aaa/report/stampflagnm","병원장");
  3074. model.refresh();
  3075. }
  3076. else if(rdo_stampflag.value=='')
  3077. { // 직인이 선택되지 않았을 때
  3078. messageBox("직인을 선택하십시요.","I");
  3079. return;
  3080. }
  3081. //modal("SPAAA02200",null,null,null, "SPAAA02200","","","width:500px;height:200px");
  3082. modal("SPAAA02200", "1","150", "150", "SPAAA02200");
  3083. if(model.getValue("/root/main/aaa/report/status")!='i')
  3084. { // 팝업창에서 취소 버튼 클릭시
  3085. model.removeNodeset("/root/main/aaa/report/issrem");
  3086. model.removeNodeset("/root/main/aaa/report/isscnts");
  3087. model.refresh();
  3088. }
  3089. else
  3090. { //팝업창에서 출력 버튼을 클릭시
  3091. model.makeValue("/root/main/aaa/report/voluntrnm",model.getValue("/root/main/voluntrinfo/baseinfo/itemlist/voluntrnm"));
  3092. model.makeValue("/root/main/aaa/report/rrgstno",model.getValue("/root/main/voluntrinfo/baseinfo/itemlist/rrgstno"));
  3093. model.makeValue("/root/main/aaa/report/hometel",model.getValue("/root/main/voluntrinfo/baseinfo/itemlist/hometel"));
  3094. model.makeValue("/root/main/aaa/report/mpphontel",model.getValue("/root/main/voluntrinfo/baseinfo/itemlist/mpphontel"));
  3095. model.makeValue("/root/main/aaa/report/servtm",model.getValue("/root/main/voluntrinfo/baseinfo/prescondlist/servtm"));
  3096. model.makeValue("/root/main/aaa/report/entrydd",model.getValue("/root/main/voluntrinfo/baseinfo/prescondlist/entrydd"));
  3097. model.makeValue("/root/main/aaa/report/issyy",model.getValue("/root/main/reportsql/reportissseq/issyy"));
  3098. model.makeValue("/root/main/aaa/report/issseqno",model.getValue("/root/main/reportsql/reportissseq/issseqno"));
  3099. model.makeValue("/root/main/aaa/report/currentyy",model.getValue("/root/main/voluntrinfo/baseinfo/itemlist/currentyy"));
  3100. model.makeValue("/root/main/aaa/report/currentmm",model.getValue("/root/main/voluntrinfo/baseinfo/itemlist/currentmm"));
  3101. model.makeValue("/root/main/aaa/report/currentdd",model.getValue("/root/main/voluntrinfo/baseinfo/itemlist/currentdd"));
  3102. model.makeValue("/root/main/aaa/report/curdd",getCurrentDate());
  3103. //model.makeValue("/root/main/aaa/report/detladdr",model.getValue("/root/main/voluntrinfo/baseinfo/itemlist/detladdr"));
  3104. model.makeValue("/root/main/aaa/report/detladdr",model.getValue("/root/main/voluntrinfo/baseinfo/itemlist/addr")+model.getValue("/root/main/voluntrinfo/baseinfo/itemlist/detladdr"));
  3105. exeReportPreview(rid, dataType, paramsXPath, submitId, print, printDialog, fileType, fileName, fileDialog, closeYn, monNo, parentObjId, printPaperBin, userService, showButton, printCount, zoomRate, printOption, dataXPath, mainDataXPath, subDataXPath);
  3106. //exeReportPreview(rid, "XMLSTR",paramsXPath, "", "false");
  3107. if (getParameter("reportprintyn") == "Y")
  3108. { // 프린트 출력이 되고 창이 닫혔을 때
  3109. fInsIssSeqNo();
  3110. // 발행번호 등록 및 확인서 내용 비고 저장
  3111. button15.dispatch("onclick");
  3112. exeReportPreview("RPAAA00102", "XMLSTR", "", "", "true");
  3113. }
  3114. }
  3115. model.removeNodeset("/root/main/aaa/report/status");
  3116. model.refresh();
  3117. ]]>
  3118. </script>
  3119. </button>
  3120. <line id="line37" class="line_6" style="x1:0px; y1:0px; x2:1194px; y2:0px; "/>
  3121. <button id="btn_save" class="btn4_letter2" style="left:997px; top:3px; width:56px; height:22px; ">
  3122. <caption>등록</caption>
  3123. <script type="javascript" ev:event="onclick">
  3124. <![CDATA[
  3125. //fVoluntrComnSave(); //저장, 수정시 공통으로 필수 항목 입력 값 체크해주는 함수
  3126. fVoluntrInfoSave();
  3127. model.refresh();
  3128. ]]>
  3129. </script>
  3130. </button>
  3131. <button id="btn_set" class="btn4_letter2" style="left:1056px; top:3px; width:56px; height:22px; ">
  3132. <caption>수정</caption>
  3133. <script type="javascript" ev:event="DOMActivate">
  3134. <![CDATA[
  3135. fVoluntrInfoUpdate();
  3136. ]]>
  3137. </script>
  3138. </button>
  3139. <button id="button24" class="btn3_letter3" style="left:457px; top:3px; width:68px; height:22px; ">
  3140. <caption>재등록</caption>
  3141. <script type="javascript" ev:event="DOMActivate">
  3142. <![CDATA[
  3143. fAAA02500();
  3144. ]]>
  3145. </script>
  3146. </button>
  3147. <button id="button25" class="btn3_letter6" style="left:532px; top:3px; width:80px; height:22px; ">
  3148. <caption>활동정지신청</caption>
  3149. <script type="javascript" ev:event="DOMActivate">
  3150. <![CDATA[
  3151. fAAA02600();
  3152. ]]>
  3153. </script>
  3154. </button>
  3155. <button id="button3" class="btn3_letter4" style="left:644px; top:3px; width:80px; height:22px; ">
  3156. <caption>휴가등록</caption>
  3157. <script type="javascript" ev:event="DOMActivate">
  3158. <![CDATA[
  3159. fAAA02700();
  3160. ]]>
  3161. </script>
  3162. </button>
  3163. <button id="button4" class="btn3_letter4" style="left:731px; top:3px; width:80px; height:22px; ">
  3164. <caption>직책등록</caption>
  3165. <script type="javascript" ev:event="DOMActivate">
  3166. <![CDATA[
  3167. fAAA03100();
  3168. ]]>
  3169. </script>
  3170. </button>
  3171. <button id="button7" class="btn3_letter4" style="left:818px; top:3px; width:80px; height:22px; ">
  3172. <caption>포상등록</caption>
  3173. <script type="javascript" ev:event="DOMActivate">
  3174. <![CDATA[
  3175. fAAA00600();
  3176. ]]>
  3177. </script>
  3178. </button>
  3179. <button id="button8" class="btn3_letter4" style="left:905px; top:3px; width:80px; height:22px; ">
  3180. <caption>수혜등록</caption>
  3181. <script type="javascript" ev:event="DOMActivate">
  3182. <![CDATA[
  3183. fAAA00900();
  3184. ]]>
  3185. </script>
  3186. </button>
  3187. <select1 id="rdo_stampflag" ref="/root/main/aaa/report/stampflag" appearance="full" cols="2" overflow="visible" style="left:100px; top:6px; width:80px; height:20px; border-style:none; ">
  3188. <choices>
  3189. <item>
  3190. <label>병원장직인</label>
  3191. <value>2</value>
  3192. </item>
  3193. </choices>
  3194. </select1>
  3195. <shape id="roundrect3" class="roundrect_example" appearance="roundrect" ellipsewidth="20" ellipseheight="20" style="left:99px; top:5px; width:80px; height:20px; "/>
  3196. <button id="btn_specinforgst" class="btn3_letter6" style="left:350px; top:2px; width:104px; height:22px; ">
  3197. <caption>특별활동등록</caption>
  3198. <script type="javascript" ev:event="DOMActivate">
  3199. <![CDATA[
  3200. fAAA02100();
  3201. ]]>
  3202. </script>
  3203. </button>
  3204. <button id="btn_actrgst" class="btn3_letter4" style="left:270px; top:3px; width:80px; height:22px; ">
  3205. <caption>활동등록</caption>
  3206. <script type="javascript" ev:event="DOMActivate">
  3207. <![CDATA[
  3208. fAAA03000();
  3209. ]]>
  3210. </script>
  3211. </button>
  3212. <button id="button1" class="btn3_letter4" style="left:185px; top:3px; width:80px; height:22px; ">
  3213. <caption>출력이력</caption>
  3214. <script type="javascript" ev:event="DOMActivate">
  3215. <![CDATA[
  3216. modal("SMAAA04200");
  3217. ]]>
  3218. </script>
  3219. </button>
  3220. </group>
  3221. <img id="img_tmp" visibility="hidden" style="left:980px; top:45px; width:65px; height:25px; background-stretch:stretch; "/>
  3222. <shape id="roundrect1" class="roundrect_example" appearance="roundrect" style="left:1019px; top:376px; width:167px; height:43px; "/>
  3223. </xhtml:body>
  3224. </xhtml:html>