SPCIT00600_설문지문항관리.xrw 132 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * Name : SMCIT00300_설문지문항관리
  4. * Summary : 설문지 문항 관리
  5. * Programmer : 황현석
  6. * Date Written : 2010.06.28
  7. * History : TXCIT602 파일은 사용하지 않음 (2011.05.24 수정, 파일은 아직 삭제 하지 않음 )
  8. * Remark :
  9. -->
  10. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
  11. <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
  12. <xhtml:head>
  13. <xhtml:title>설문지 문항 관리</xhtml:title>
  14. <model id="model1">
  15. <instance id="instance1">
  16. <root xmlns="">
  17. <main>
  18. <masterlist>
  19. <qestitemlrgcd/>
  20. <qestitemlrgnm/>
  21. <qestitemmdlcd/>
  22. <qestitemmdlnm/>
  23. <qestrgstdeptcd/>
  24. <qestrgstdeptnm/>
  25. <qestrgstid/>
  26. <qestrgstnm/>
  27. <qestitemgrupnm/>
  28. <qestitemgrupseqno/>
  29. <qestsmmcnts/>
  30. <qestrgstdd/>
  31. <qestcnts/>
  32. <qestkindcd/>
  33. <qestseqno/>
  34. </masterlist>
  35. <qestcntslist>
  36. <qestitemgrupnm/>
  37. <qestsmmcnts/>
  38. <qestcnts/>
  39. <qestrgstdeptcd/>
  40. <qestrgstdeptnm/>
  41. <qestrgstid/>
  42. <qestrgstnm/>
  43. <qestrgstdd/>
  44. <itemkindcd/>
  45. <qestseqno/>
  46. <qestitemgrupseqno/>
  47. <qestitemanswcnt/>
  48. <qestitemanswchoicolcnt/>
  49. <essnanswcnt/>
  50. <qpaprseqno/>
  51. <itemcd/>
  52. </qestcntslist>
  53. <grdlist>
  54. <qestitemlist>
  55. <chk/>
  56. <qestitemgrupnm/>
  57. <qestcnts/>
  58. <qestkindcd/>
  59. <qestitemlrgcd/>
  60. <qestitemlrgnm/>
  61. <qestitemmdlcd/>
  62. <qestitemmdlnm/>
  63. <qestrgstdeptcd/>
  64. <qestrgstdeptnm/>
  65. <qestseqno/>
  66. <qestrgstid/>
  67. <qestrgstnm/>
  68. <qestsmmcnts/>
  69. <qestrgstdd/>
  70. <qestitemanswchoicnt/>
  71. <qestitemanswchoicolcnt/>
  72. <essnanswcnt/>
  73. </qestitemlist>
  74. <qestlist>
  75. <chk/>
  76. <qpaprsortseq/>
  77. <qestitemgrupnm/>
  78. <qestcnts/>
  79. <itemkindcd/>
  80. <qestseqno/>
  81. <qestitemanswcnt/>
  82. <qestitemanswchoicolcnt/>
  83. <essnanswcnt/>
  84. <qestsmmcnts/>
  85. <qestrgstdeptcd/>
  86. <qestrgstid/>
  87. <qestrgstdd/>
  88. <qestrgstdeptnm/>
  89. <qestrgstnm/>
  90. <qestitemgrupseqno/>
  91. <qpaprseqno/>
  92. </qestlist>
  93. <chkvalue1/>
  94. <chkvalue2/>
  95. <qestitemgrupseqno/>
  96. <qpaprseqno/>
  97. <sort_seq/>
  98. </grdlist>
  99. <itemchoilist>
  100. <qestitemanswchoicnt/>
  101. <qestitemanswchoicolcnt/>
  102. <qestchoicntslist>
  103. <qestitemanswchoicnts/>
  104. <descinptyn/>
  105. <answchoiseqno/>
  106. </qestchoicntslist>
  107. <essnanswcnt/>
  108. <case45>
  109. <answchoiaddcnts/>
  110. <qestitemanswchoicnts/>
  111. <addnoinptyn/>
  112. <addinptyn/>
  113. <noinptyn/>
  114. <essninptyn/>
  115. </case45>
  116. <qestanswchoi>
  117. <qestitemanswchoicnts1/>
  118. <qestitemanswchoicnts2/>
  119. <qestitemanswchoicnts3/>
  120. <qestitemanswchoicnts4/>
  121. <qestitemanswchoicnts5/>
  122. <qestitemanswchoicnts6/>
  123. <qestitemanswchoicnts7/>
  124. </qestanswchoi>
  125. <pnt>
  126. <divpnt1/>
  127. <divpnt2/>
  128. <divpnt3/>
  129. <divpnt4/>
  130. <divpnt5/>
  131. <divpnt6/>
  132. <divpnt7/>
  133. </pnt>
  134. <norpaddinptyn/>
  135. <qestitemchoi>
  136. <answchoiseqno/>
  137. <qestitemanswchoicnts/>
  138. <divpnt/>
  139. <norpaddinptyn/>
  140. <qestitemgrupseqno/>
  141. <qpaprseqno/>
  142. <qestseqno/>
  143. </qestitemchoi>
  144. <answchoiseqno>
  145. <answchoiseqno1/>
  146. <answchoiseqno2/>
  147. <answchoiseqno3/>
  148. <answchoiseqno4/>
  149. <answchoiseqno5/>
  150. <answchoiseqno6/>
  151. <answchoiseqno7/>
  152. </answchoiseqno>
  153. <case10>
  154. <qestanswchoi>
  155. <qestitemanswchoicnts1/>
  156. <qestitemanswchoicnts2/>
  157. <qestitemanswchoicnts3/>
  158. <qestitemanswchoicnts4/>
  159. <qestitemanswchoicnts5/>
  160. <qestitemanswchoicnts6/>
  161. <qestitemanswchoicnts7/>
  162. <qestitemanswchoicnts8/>
  163. <qestitemanswchoicnts9/>
  164. <qestitemanswchoicnts10/>
  165. <qestitemanswchoicnts11/>
  166. </qestanswchoi>
  167. <pnt>
  168. <divpnt1/>
  169. <divpnt2/>
  170. <divpnt3/>
  171. <divpnt4/>
  172. <divpnt5/>
  173. <divpnt6/>
  174. <divpnt7/>
  175. <divpnt8/>
  176. <divpnt9/>
  177. <divpnt10/>
  178. <divpnt11/>
  179. </pnt>
  180. <answchoiseqno>
  181. <answchoiseqno1/>
  182. <answchoiseqno2/>
  183. <answchoiseqno3/>
  184. <answchoiseqno4/>
  185. <answchoiseqno5/>
  186. <answchoiseqno6/>
  187. <answchoiseqno7/>
  188. <answchoiseqno8/>
  189. <answchoiseqno9/>
  190. <answchoiseqno10/>
  191. <answchoiseqno11/>
  192. </answchoiseqno>
  193. <qestseqno/>
  194. </case10>
  195. </itemchoilist>
  196. <newitemchoilist>
  197. <qestitemchoi>
  198. <answseqno/>
  199. <qestseqno/>
  200. <qestitemgrupseqno/>
  201. <qpaprseqno/>
  202. <divpnt/>
  203. <qestitemanswcnts/>
  204. <norpaddyn/>
  205. </qestitemchoi>
  206. <case123>
  207. <qestchoicntslist>
  208. <qestitemanswcnts/>
  209. <descinptyn/>
  210. <answseqno/>
  211. <qestseqno/>
  212. <qestitemgrupseqno/>
  213. <qpaprseqno/>
  214. </qestchoicntslist>
  215. </case123>
  216. <case45>
  217. <answaddcnts/>
  218. <qestitemanswcnts/>
  219. <addflgrinptyn/>
  220. <addinptyn/>
  221. <figrinptyn/>
  222. <essninptyn/>
  223. <answseqno/>
  224. <qpaprseqno/>
  225. <qestitemgrupseqno/>
  226. <qestseqno/>
  227. </case45>
  228. <case678>
  229. <qestanswchoi>
  230. <qestitemanswcnts1/>
  231. <qestitemanswcnts2/>
  232. <qestitemanswcnts3/>
  233. <qestitemanswcnts4/>
  234. <qestitemanswcnts5/>
  235. <qestitemanswcnts6/>
  236. <qestitemanswcnts7/>
  237. </qestanswchoi>
  238. <pnt>
  239. <divpnt1/>
  240. <divpnt2/>
  241. <divpnt3/>
  242. <divpnt4/>
  243. <divpnt5/>
  244. <divpnt6/>
  245. <divpnt7/>
  246. </pnt>
  247. <answchoiseqno>
  248. <answseqno1/>
  249. <answseqno2/>
  250. <answseqno3/>
  251. <answseqno4/>
  252. <answseqno5/>
  253. <answseqno6/>
  254. <answseqno7/>
  255. </answchoiseqno>
  256. <norpaddyn/>
  257. <qestitemgrupseqno/>
  258. <qpaprseqno/>
  259. <qestseqno/>
  260. </case678>
  261. <case9>
  262. <qestanswchoi>
  263. <qestitemanswchoicnts1/>
  264. <qestitemanswchoicnts2/>
  265. <qestitemanswchoicnts3/>
  266. <qestitemanswchoicnts4/>
  267. <qestitemanswchoicnts5/>
  268. <qestitemanswchoicnts6/>
  269. <qestitemanswchoicnts7/>
  270. <qestitemanswchoicnts8/>
  271. <qestitemanswchoicnts9/>
  272. <qestitemanswchoicnts10/>
  273. <qestitemanswchoicnts11/>
  274. </qestanswchoi>
  275. <pnt>
  276. <divpnt1/>
  277. <divpnt2/>
  278. <divpnt3/>
  279. <divpnt4/>
  280. <divpnt5/>
  281. <divpnt6/>
  282. <divpnt7/>
  283. <divpnt8/>
  284. <divpnt9/>
  285. <divpnt10/>
  286. <divpnt11/>
  287. </pnt>
  288. <answchoiseqno>
  289. <answchoiseqno1/>
  290. <answchoiseqno2/>
  291. <answchoiseqno3/>
  292. <answchoiseqno4/>
  293. <answchoiseqno5/>
  294. <answchoiseqno6/>
  295. <answchoiseqno7/>
  296. <answchoiseqno8/>
  297. <answchoiseqno9/>
  298. <answchoiseqno10/>
  299. <answchoiseqno11/>
  300. </answchoiseqno>
  301. <qestseqno/>
  302. <qpaprseqno/>
  303. <qestitemgrupseqno/>
  304. </case9>
  305. <itemkindcd>
  306. <itemkindcd/>
  307. <qestseqno/>
  308. <qpaprseqno/>
  309. <qestitemgrupseqno/>
  310. </itemkindcd>
  311. </newitemchoilist>
  312. </main>
  313. <send>
  314. <srch>
  315. <qestitemgrupnm/>
  316. <qestrgstdeptcd/>
  317. <qestrgstid/>
  318. <qestitemlrgcd/>
  319. <qestitemmdlcd/>
  320. <qestcnts/>
  321. </srch>
  322. <qestitemgrupnm/>
  323. </send>
  324. <init>
  325. <srchqestlist>
  326. <qestitemlrglist>
  327. <qestitemlrgcd/>
  328. <qestitemlrgnm>전체</qestitemlrgnm>
  329. </qestitemlrglist>
  330. <qestitemmdllist/>
  331. </srchqestlist>
  332. <answchoicntlist>
  333. <qestitemanswchoilist/>
  334. </answchoicntlist>
  335. <C0101list>
  336. </C0101list>
  337. </init>
  338. <temp>
  339. <count/>
  340. <answchoicnt/>
  341. <result/>
  342. </temp>
  343. </root>
  344. </instance>
  345. <submission id="TRCIT01401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/srch" resultref="/root/main/grdlist/qestitemlist"/>
  346. <submission id="TRCIT01403" mediatype="application/x-www-form-urlencoded" method="post" add="bottom" resultref="/root/init/srchqestlist/qestitemlrglist"/>
  347. <submission id="TRCIT01404" mediatype="application/x-www-form-urlencoded" method="post" ref="root/send/srch/qestitemlrgcd" resultref="/root/init/srchqestlist/qestitemmdllist"/>
  348. <submission id="TRCIT01405" mediatype="application/x-www-form-urlencoded" method="post" ref="root/main/masterlist" resultref="/root/main/itemchoilist/qestchoicntslist"/>
  349. <submission id="TRCIT01406" mediatype="application/x-www-form-urlencoded" method="post" ref="root/main/masterlist" resultref="/root/main/itemchoilist/case45"/>
  350. <submission id="TRCIT01407" mediatype="application/x-www-form-urlencoded" method="post" ref="root/main/masterlist" resultref="/root/main/itemchoilist/qestitemchoi"/>
  351. <submission id="TRCIT00601" mediatype="application/x-www-form-urlencoded" method="post" ref="root/main/grdlist" resultref="/root/main/grdlist/qestlist"/>
  352. <submission id="TRCIT00602" mediatype="application/x-www-form-urlencoded" method="post" ref="root/main/qestcntslist" resultref="/root/main/newitemchoilist/case123/qestchoicntslist"/>
  353. <submission id="TRCIT00603" mediatype="application/x-www-form-urlencoded" method="post" ref="root/main/qestcntslist" resultref="/root/main/newitemchoilist/case45"/>
  354. <submission id="TRCIT00604" mediatype="application/x-www-form-urlencoded" method="post" ref="root/main/qestcntslist" resultref="/root/main/itemchoilist/qestitemchoi"/>
  355. <submission id="TXCIT00601" mediatype="application/x-www-form-urlencoded" method="post" ref="root/main/grdlist/qestlist" resultref="/root/temp/result"/>
  356. <submission id="TXCIT00602" mediatype="application/x-www-form-urlencoded" method="post" ref="root/main/qestcntslist" resultref="/root/temp/result"/>
  357. <submission id="TXCIT00603" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata" resultref="/root/temp/result"/>
  358. </model>
  359. <script type="javascript" src="../../../crm/crmweb/js/CCZ001.js"/>
  360. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  361. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  362. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  363. <script type="javascript" ev:event="xforms-ready">
  364. <![CDATA[
  365. // 공통코드
  366. zbcfGetCodeList( new Array("C0101"), new Array("/root/init/C0101list"));
  367. model.removeNodeset("/root/main/grdlist/qestitemlist");
  368. model.removeNodeset("/root/main/grdlist/qestlist");
  369. // 부모창에서 넘겨준 값을 받는다
  370. var qpaprseqno = opener.window.javascript.getParameter("qpaprseqno");
  371. var qestitemgrupseqno = opener.window.javascript.getParameter("qestitemgrupseqno");
  372. var qestitemgrupnm = opener.window.javascript.getParameter("qestitemgrupnm");
  373. model.setValue("/root/main/grdlist/qpaprseqno", qpaprseqno);
  374. model.setValue("/root/main/qestcntslist/qpaprseqno", qpaprseqno);
  375. model.setValue("/root/main/grdlist/qestitemgrupseqno", qestitemgrupseqno);
  376. model.setValue("/root/send/qestitemgrupnm", qestitemgrupnm);
  377. model.setValue("/root/main/grdlist/sort_seq", "a");
  378. // 저장되어 있는 값을 조회 하여온다.
  379. submit("TRCIT00601");
  380. // 조회부 메시지 대그룹을 가져온다
  381. submit("TRCIT01403");
  382. // 보기 개수의 기본값을 설정
  383. model.removenode("/root/init/answchoicntlist/qestitemanswchoilist");
  384. for (var i=1; i<=39; i++) {
  385. k = i+1;
  386. model.makeValue("/root/init/answchoicntlist/qestitemanswchoilist["+i+"]/qestitemanswchoicntcd",k);
  387. model.makeValue("/root/init/answchoicntlist/qestitemanswchoilist["+i+"]/qestitemanswchoicntnm",k+"개");
  388. }
  389. // 문항정보 필수입력 개수의 기본값을 설정
  390. for (var i=1; i<=41; i++) {
  391. if (i == 1) {
  392. model.makeValue("/root/init/answchoicntlist/essnanswlist["+i+"]/essnanswcd","0");
  393. model.makeValue("/root/init/answchoicntlist/essnanswlist["+i+"]/essnanswnm","없음");
  394. } else {
  395. k = i-1;
  396. model.makeValue("/root/init/answchoicntlist/essnanswlist["+i+"]/essnanswcd",k);
  397. model.makeValue("/root/init/answchoicntlist/essnanswlist["+i+"]/essnanswnm",k+"개");
  398. }
  399. }
  400. // 화면 오픈시 마스터 내용 기본 선택
  401. btn_qestmastercnts.selected = true;
  402. model.toggle("case1");
  403. model.refresh();
  404. ]]>
  405. </script>
  406. <script type="javascript">
  407. <![CDATA[
  408. // 전역변수 선언
  409. var changeCnt = 0;
  410. // 설문지 문항을 조회한다.
  411. function fGetQestList() {
  412. model.removeNodeset("/root/main/grdlist/qestitemlist");
  413. submit("TRCIT01401");
  414. }
  415. // 조회부 설문 목적 중그룹조회
  416. function fGetSrchQestItemMdlCd() {
  417. var qestitemlrgcd = model.getValue("/root/send/srch/qestitemlrgcd");
  418. if (qestitemlrgcd != "") {
  419. submit("TRCIT01404");
  420. } else {
  421. model.removeNodeset("/root/init/srchqestlist/qestitemmdllist");
  422. model.setValue("/root/send/srch/qestitemmdlcd", "");
  423. model.refresh();
  424. }
  425. }
  426. // 문항 내용 초기화
  427. function fNewMsg() {
  428. // 마스터 내용 보기 초기화
  429. model.setValue("/root/main/masterlist/qestitemlrgcd","");
  430. model.setValue("/root/main/masterlist/qestitemmdlcd","");
  431. model.setValue("/root/main/masterlist/qestrgstdeptcd","");
  432. model.setValue("/root/main/masterlist/qestrgstid","");
  433. model.setValue("/root/main/masterlist/qestitemgrupnm","");
  434. model.setValue("/root/main/masterlist/qestsmmcnts","");
  435. model.setValue("/root/main/masterlist/qestrgstdd","");
  436. model.setValue("/root/main/masterlist/qestcnts","");
  437. model.setValue("/root/main/masterlist/qestkindcd","");
  438. // 설문 내용 보기 초기화
  439. model.setValue("/root/main/qestcntslist/qestitemgrupnm", "");
  440. model.setValue("/root/main/qestcntslist/qestsmmcnts", "");
  441. model.setValue("/root/main/qestcntslist/qestcnts", "");
  442. model.setValue("/root/main/qestcntslist/qestrgstdeptcd", "");
  443. model.setValue("/root/main/qestcntslist/qestrgstid", "");
  444. model.setValue("/root/main/qestcntslist/qestrgstdd", "");
  445. model.setValue("/root/main/qestcntslist/itemkindcd", "");
  446. model.setValue("/root/main/qestcntslist/qestitemanswcnt","");
  447. model.setValue("/root/main/qestcntslist/qestitemanswchoicolcnt",1);
  448. model.setValue("/root/main/qestcntslist/essnanswcnt","");
  449. model.setValue("/root/temp/count", 0);
  450. // 문항 보기정보 초기화
  451. model.setValue("/root/main/itemchoilist/qestitemanswchoicnt","");
  452. model.setValue("/root/main/itemchoilist/qestitemanswchoicolcnt","");
  453. model.removeNodeset("/root/main/itemchoilist/qestchoicntslist");
  454. model.setValue("/root/main/itemchoilist/essnanswcnt","");
  455. model.setValue("/root/main/itemchoilist/case45/answchoiaddcnts","");
  456. model.setValue("/root/main/itemchoilist/case45/qestitemanswchoicnts","");
  457. model.setValue("/root/main/itemchoilist/case45/addnoinptyn","");
  458. model.setValue("/root/main/itemchoilist/case45/addinptyn","");
  459. model.setValue("/root/main/itemchoilist/case45/noinptyn","");
  460. model.setValue("/root/main/itemchoilist/case45/essninptyn","");
  461. model.removeNodeset("/root/main/newitemchoilist/case123/qestchoicntslist");
  462. model.setValue("/root/main/newitemchoilist/case45/answaddcnts","");
  463. model.setValue("/root/main/newitemchoilist/case45/qestitemanswcnts","");
  464. model.setValue("/root/main/newitemchoilist/case45/addflgrinptyn","");
  465. model.setValue("/root/main/newitemchoilist/case45/addinptyn","");
  466. model.setValue("/root/main/newitemchoilist/case45/figrinptyn","");
  467. model.setValue("/root/main/newitemchoilist/case45/essninptyn","");
  468. model.setValue("/root/main/newitemchoilist/case45/answseqno","");
  469. for (var i=1; i<=7; i++) {
  470. model.setValue("/root/main/itemchoilist/qestanswchoi/qestitemanswchoicnts" + i, "");
  471. model.setValue("/root/main/itemchoilist/pnt/divpnt" + i, "");
  472. model.setValue("/root/main/itemchoilist/answchoiseqno/answchoiseqno" + i, "");
  473. model.setValue("/root/main/newitemchoilist/case678/qestanswchoi/qestitemanswcnts" + i, "");
  474. model.setValue("/root/main/newitemchoilist/case678/pnt/divpnt" + i, "");
  475. model.setValue("/root/main/newitemchoilist/case678/answchoiseqno/answseqno" + i, "");
  476. }
  477. model.setValue("/root/main/itemchoilist/norpaddinptyn", "");
  478. model.setValue("/root/main/newitemchoilist/case678/norpaddyn", "");
  479. model.removeNodeset("/root/main/itemchoilist/case678/qestitemchoi");
  480. }
  481. // 마스터 문항 종류에 따른 화면 전환
  482. function fSetQestMasterKind(kindcd) {
  483. if(kindcd == "1") {
  484. model.toggle("case2");
  485. } else if (kindcd == "2" ) {
  486. model.toggle("case3");
  487. } else if (kindcd == "3") {
  488. model.toggle("case4");
  489. } else if (kindcd == "4") {
  490. model.toggle("case5");
  491. } else if (kindcd == "5") {
  492. model.toggle("case6");
  493. } else if (kindcd == "8") {
  494. model.toggle("case7");
  495. } else if (kindcd == "6") {
  496. model.toggle("case8");
  497. } else if (kindcd == "7") {
  498. model.toggle("case9");
  499. } else if (kindcd == "10") {
  500. model.toggle("case10");
  501. }
  502. model.refresh();
  503. }
  504. // 설문 내용에 따른 화면 전환
  505. function fSetQestKind(kindcd, kindValue) {
  506. model.removeNodeset("/root/main/newitemchoilist/case123/qestchoicntslist");
  507. model.removeNodeset("/root/main/itemchoilist/qestitemchoi");
  508. if(kindcd == "1") {
  509. if (kindValue == "grdlist") {
  510. model.toggle("case12");
  511. fSetGrdItem();
  512. } else {
  513. model.setValue("/root/main/qestcntslist/qestitemanswcnt", "");
  514. model.setValue("/root/main/qestcntslist/qestitemanswchoicolcnt", 1);
  515. model.setValue("/root/temp/count", 0);
  516. model.toggle("case12");
  517. }
  518. } else if (kindcd == "2" ) {
  519. if (kindValue == "grdlist") {
  520. model.toggle("case13");
  521. fSetGrdItem();
  522. } else {
  523. model.setValue("/root/main/qestcntslist/qestitemanswcnt", "");
  524. model.setValue("/root/main/qestcntslist/qestitemanswchoicolcnt", 1);
  525. model.setValue("/root/temp/count", 0);
  526. model.toggle("case13");
  527. }
  528. } else if (kindcd == "3") {
  529. if (kindValue == "grdlist") {
  530. model.toggle("case14");
  531. fSetGrdItem();
  532. } else {
  533. model.setValue("/root/main/qestcntslist/qestitemanswcnt", "");
  534. model.setValue("/root/main/qestcntslist/qestitemanswchoicolcnt", 1);
  535. model.setValue("/root/main/qestcntslist/essnanswcnt", 0);
  536. model.setValue("/root/temp/count", 0);
  537. model.toggle("case14");
  538. }
  539. } else if (kindcd == "4") {
  540. if (kindValue == "grdlist") {
  541. model.toggle("case15");
  542. } else {
  543. model.toggle("case15");
  544. }
  545. } else if (kindcd == "5") {
  546. if (kindValue == "grdlist") {
  547. model.toggle("case16");
  548. } else {
  549. model.toggle("case16");
  550. }
  551. } else if (kindcd == "8") {
  552. model.setValue("/root/main/newitemchoilist/case678/qestanswchoi/qestitemanswcnts1", "항상");
  553. model.setValue("/root/main/newitemchoilist/case678/qestanswchoi/qestitemanswcnts2", "대체로");
  554. model.setValue("/root/main/newitemchoilist/case678/qestanswchoi/qestitemanswcnts3", "가끔");
  555. model.setValue("/root/main/newitemchoilist/case678/qestanswchoi/qestitemanswcnts4", "전혀");
  556. model.setValue("/root/main/newitemchoilist/case678/pnt/divpnt1", "100");
  557. model.setValue("/root/main/newitemchoilist/case678/pnt/divpnt2", "66.6");
  558. model.setValue("/root/main/newitemchoilist/case678/pnt/divpnt3", "33.3");
  559. model.setValue("/root/main/newitemchoilist/case678/pnt/divpnt4", "0");
  560. model.setValue("/root/main/newitemchoilist/case678/answchoiseqno/answseqno1", "1");
  561. model.setValue("/root/main/newitemchoilist/case678/answchoiseqno/answseqno2", "2");
  562. model.setValue("/root/main/newitemchoilist/case678/answchoiseqno/answseqno3", "3");
  563. model.setValue("/root/main/newitemchoilist/case678/answchoiseqno/answseqno4", "4");
  564. model.setValue("/root/main/newitemchoilist/case678/norpaddyn", "Y");
  565. model.toggle("case17");
  566. } else if (kindcd == "6") {
  567. model.setValue("/root/main/newitemchoilist/case678/qestanswchoi/qestitemanswcnts1", "매우그렇다");
  568. model.setValue("/root/main/newitemchoilist/case678/qestanswchoi/qestitemanswcnts2", "약간그렇다");
  569. model.setValue("/root/main/newitemchoilist/case678/qestanswchoi/qestitemanswcnts3", "보통이다");
  570. model.setValue("/root/main/newitemchoilist/case678/qestanswchoi/qestitemanswcnts4", "그렇지않다");
  571. model.setValue("/root/main/newitemchoilist/case678/qestanswchoi/qestitemanswcnts5", "전혀그렇지않다");
  572. model.setValue("/root/main/newitemchoilist/case678/pnt/divpnt1", "100");
  573. model.setValue("/root/main/newitemchoilist/case678/pnt/divpnt2", "75");
  574. model.setValue("/root/main/newitemchoilist/case678/pnt/divpnt3", "50");
  575. model.setValue("/root/main/newitemchoilist/case678/pnt/divpnt4", "25");
  576. model.setValue("/root/main/newitemchoilist/case678/pnt/divpnt5", "0");
  577. model.setValue("/root/main/newitemchoilist/case678/answchoiseqno/answseqno1", "1");
  578. model.setValue("/root/main/newitemchoilist/case678/answchoiseqno/answseqno2", "2");
  579. model.setValue("/root/main/newitemchoilist/case678/answchoiseqno/answseqno3", "3");
  580. model.setValue("/root/main/newitemchoilist/case678/answchoiseqno/answseqno4", "4");
  581. model.setValue("/root/main/newitemchoilist/case678/answchoiseqno/answseqno5", "5");
  582. model.setValue("/root/main/newitemchoilist/case678/norpaddyn", "Y");
  583. model.toggle("case18");
  584. } else if (kindcd == "7") {
  585. model.setValue("/root/main/newitemchoilist/case678/qestanswchoi/qestitemanswcnts1", "매우만족");
  586. model.setValue("/root/main/newitemchoilist/case678/qestanswchoi/qestitemanswcnts2", "만족");
  587. model.setValue("/root/main/newitemchoilist/case678/qestanswchoi/qestitemanswcnts3", "약간만족");
  588. model.setValue("/root/main/newitemchoilist/case678/qestanswchoi/qestitemanswcnts4", "보통");
  589. model.setValue("/root/main/newitemchoilist/case678/qestanswchoi/qestitemanswcnts5", "약간불만족");
  590. model.setValue("/root/main/newitemchoilist/case678/qestanswchoi/qestitemanswcnts6", "불만족");
  591. model.setValue("/root/main/newitemchoilist/case678/qestanswchoi/qestitemanswcnts7", "매우불만족");
  592. model.setValue("/root/main/newitemchoilist/case678/pnt/divpnt1", "100");
  593. model.setValue("/root/main/newitemchoilist/case678/pnt/divpnt2", "83.3");
  594. model.setValue("/root/main/newitemchoilist/case678/pnt/divpnt3", "66.6");
  595. model.setValue("/root/main/newitemchoilist/case678/pnt/divpnt4", "50");
  596. model.setValue("/root/main/newitemchoilist/case678/pnt/divpnt5", "33.3");
  597. model.setValue("/root/main/newitemchoilist/case678/pnt/divpnt6", "16.6");
  598. model.setValue("/root/main/newitemchoilist/case678/pnt/divpnt7", "0");
  599. model.setValue("/root/main/newitemchoilist/case678/answchoiseqno/answseqno1", "1");
  600. model.setValue("/root/main/newitemchoilist/case678/answchoiseqno/answseqno2", "2");
  601. model.setValue("/root/main/newitemchoilist/case678/answchoiseqno/answseqno3", "3");
  602. model.setValue("/root/main/newitemchoilist/case678/answchoiseqno/answseqno4", "4");
  603. model.setValue("/root/main/newitemchoilist/case678/answchoiseqno/answseqno5", "5");
  604. model.setValue("/root/main/newitemchoilist/case678/answchoiseqno/answseqno6", "6");
  605. model.setValue("/root/main/newitemchoilist/case678/answchoiseqno/answseqno7", "7");
  606. model.setValue("/root/main/newitemchoilist/case678/norpaddyn", "Y");
  607. model.toggle("case19");
  608. } else if (kindcd == "10") {
  609. for (var i = 0; i <= 10; i++) {
  610. var k = i + 1;
  611. model.setValue("/root/main/newitemchoilist/case9/pnt/divpnt"+k, "");
  612. }
  613. model.toggle("case20");
  614. }
  615. model.refresh();
  616. }
  617. // 설문 보기 개수에 따른 row 생성
  618. function fSetGrdItem() {
  619. var kindcd = model.getValue("/root/main/qestcntslist/itemkindcd");
  620. var answchoicnt = model.getValue("/root/main/qestcntslist/qestitemanswcnt");
  621. var count = model.getValue("/root/temp/count");
  622. model.setValue("/root/temp/count", answchoicnt);
  623. if (count != "") {
  624. var choicnt = answchoicnt - count;
  625. if (choicnt > 0 ) {
  626. var flag = "A";
  627. } else {
  628. var flag = "B";
  629. choicnt = count - answchoicnt;
  630. }
  631. } else {
  632. var choicnt = answchoicnt
  633. var flag = "A";
  634. }
  635. if (flag == "A" ) {
  636. for (var i=1; i<=choicnt; i++) {
  637. if (kindcd == "1") {
  638. grd_case11_qestchoicntslist.addRow(false);
  639. } else if (kindcd == "2") {
  640. grd_case12_qestchoicntslist.addRow(false);
  641. } else {
  642. grd_case13_qestchoicntslist.addRow(false);
  643. }
  644. for (var j = 1; j <= answchoicnt; j++) {
  645. if (kindcd == "1") {
  646. if (j == answchoicnt) {
  647. grd_case11_qestchoicntslist.isReadOnly(j,2) = false;
  648. } else {
  649. grd_case11_qestchoicntslist.valueMatrix(j, grd_case11_qestchoicntslist.colRef("descinptyn")) = "";
  650. grd_case11_qestchoicntslist.isReadOnly(j,2) = true;
  651. }
  652. } else if (kindcd == "2") {
  653. if (j == answchoicnt) {
  654. grd_case12_qestchoicntslist.isReadOnly(j,2) = false;
  655. } else {
  656. grd_case12_qestchoicntslist.valueMatrix(j, grd_case12_qestchoicntslist.colRef("descinptyn")) = "";
  657. grd_case12_qestchoicntslist.isReadOnly(j,2) = true;
  658. }
  659. } else if (kindcd == "3") {
  660. if (j == answchoicnt) {
  661. grd_case13_qestchoicntslist.isReadOnly(j,2) = false;
  662. } else {
  663. grd_case13_qestchoicntslist.valueMatrix(j, grd_case13_qestchoicntslist.colRef("descinptyn")) = "";
  664. grd_case13_qestchoicntslist.isReadOnly(j,2) = true;
  665. }
  666. }
  667. }
  668. }
  669. } else {
  670. for (var i=0; i<=choicnt-1; i++) {
  671. if (kindcd == "1") {
  672. var rowCount = choicnt - i
  673. grd_case11_qestchoicntslist.deleteRow(count - i, false);
  674. } else if (kindcd == "2") {
  675. grd_case12_qestchoicntslist.deleteRow(count - i, false);
  676. } else {
  677. grd_case13_qestchoicntslist.deleteRow(count - i, false);
  678. }
  679. for (var j=1; j<=answchoicnt; j++) {
  680. if (kindcd == "1") {
  681. if (j == answchoicnt) {
  682. grd_case11_qestchoicntslist.isReadOnly(j,2) = false;
  683. } else {
  684. grd_case11_qestchoicntslist.isReadOnly(j,2) = true;
  685. }
  686. } else if (kindcd == "2") {
  687. if (j == answchoicnt) {
  688. grd_case12_qestchoicntslist.isReadOnly(j,2) = false;
  689. } else {
  690. grd_case12_qestchoicntslist.isReadOnly(j,2) = true;
  691. }
  692. } else if (kindcd == "3") {
  693. if (j == answchoicnt) {
  694. grd_case13_qestchoicntslist.isReadOnly(j,2) = false;
  695. } else {
  696. grd_case13_qestchoicntslist.isReadOnly(j,2) = true;
  697. }
  698. }
  699. }
  700. }
  701. }
  702. model.refresh();
  703. }
  704. // 그리드 전체 행을 선택한다.
  705. function fGridAllRow(mode) {
  706. // 마스터 목록
  707. if (mode == "A") {
  708. var rows = grd_qestmasterlist.rows;
  709. var fRow = grd_qestmasterlist.fixedRows;
  710. var chk = grd_qestmasterlist.valueMatrix(1, grd_qestmasterlist.colRef("chk"));
  711. var boolchk = model.getValue("/root/main/grdlist/chkvalue1");
  712. if (boolchk == "Y") {
  713. for(var i=fRow; i<rows; i++) {
  714. grd_qestmasterlist.valueMatrix(i, grd_qestmasterlist.colRef("chk"))="Y";
  715. }
  716. } else {
  717. for(var i=fRow; i<rows; i++) {
  718. grd_qestmasterlist.valueMatrix(i, grd_qestmasterlist.colRef("chk"))="N";
  719. }
  720. }
  721. model.refresh();
  722. } else if (mode == "B") { // 설문 목록
  723. var rows = grd_qestlist.rows;
  724. var fRow = grd_qestlist.fixedRows;
  725. var chk = grd_qestlist.valueMatrix(1, grd_qestlist.colRef("chk"));
  726. var boolchk = model.getValue("/root/main/grdlist/chkvalue2");
  727. if (boolchk == "Y") {
  728. for(var i=fRow; i<rows; i++){
  729. grd_qestlist.valueMatrix(i, grd_qestlist.colRef("chk"))="Y";
  730. }
  731. } else {
  732. for(var i=fRow; i<rows; i++){
  733. grd_qestlist.valueMatrix(i, grd_qestlist.colRef("chk"))="N";
  734. }
  735. }
  736. model.refresh();
  737. } else if (mode == "C") { // 데이터 이동 후 마스터 목록 선택 해제
  738. var rows = grd_qestmasterlist.rows;
  739. var fRow = grd_qestmasterlist.fixedRows;
  740. var chk = grd_qestmasterlist.valueMatrix(1, grd_qestmasterlist.colRef("chk"));
  741. for(var i=fRow; i<rows; i++){
  742. grd_qestmasterlist.valueMatrix(i, grd_qestmasterlist.colRef("chk"))="N";
  743. }
  744. model.setValue("/root/main/grdlist/chkvalue1", "");
  745. }
  746. model.refresh();
  747. }
  748. // 그리드 데이터 이동 ( 좌 / 우)
  749. function fSetDateMove(move) {
  750. if (move == "right") {
  751. var checkCount = 0;
  752. var chk = "";
  753. var seqnoL = 0;
  754. var seqnoR = 0;
  755. var duplCount = 0; // 중복개수
  756. var insertBoo = true;
  757. for (var i = 1; i < grd_qestmasterlist.rows; i++) {
  758. chk = model.getValue("/root/main/grdlist/qestitemlist["+i+"]/chk");
  759. seqnoL = model.getValue("/root/main/grdlist/qestitemlist["+i+"]/qestseqno");
  760. insertBoo = true;
  761. if (chk == "Y") {
  762. checkCount++;
  763. for(var j = 1; j < grd_qestlist.rows; j++) {
  764. seqnoR = model.getValue("/root/main/grdlist/qestlist["+j+"]/qestseqno");
  765. if (seqnoL == seqnoR) {
  766. duplCount++;
  767. insertBoo = false;
  768. break;
  769. }
  770. }
  771. if (insertBoo == true) {
  772. grd_qestlist.addRow(false);
  773. model.setValue("/root/main/grdlist/qestlist["+ grd_qestlist.row +"]/qpaprsortseq" ,grd_qestlist.row);
  774. model.setValue("/root/main/grdlist/qestlist["+ grd_qestlist.row +"]/qestitemgrupnm" ,model.getValue("/root/send/qestitemgrupnm"));
  775. model.setValue("/root/main/grdlist/qestlist["+ grd_qestlist.row +"]/qestcnts" ,model.getValue("/root/main/grdlist/qestitemlist["+i+"]/qestcnts"));
  776. model.setValue("/root/main/grdlist/qestlist["+ grd_qestlist.row +"]/itemkindcd" ,model.getValue("/root/main/grdlist/qestitemlist["+i+"]/qestkindcd"));
  777. model.setValue("/root/main/grdlist/qestlist["+ grd_qestlist.row +"]/qestseqno" ,model.getValue("/root/main/grdlist/qestitemlist["+i+"]/qestseqno"));
  778. model.setValue("/root/main/grdlist/qestlist["+ grd_qestlist.row +"]/qestitemanswcnt" ,model.getValue("/root/main/grdlist/qestitemlist["+i+"]/qestitemanswchoicnt"));
  779. model.setValue("/root/main/grdlist/qestlist["+ grd_qestlist.row +"]/qestitemanswchoicolcnt",model.getValue("/root/main/grdlist/qestitemlist["+i+"]/qestitemanswchoicolcnt"));
  780. model.setValue("/root/main/grdlist/qestlist["+ grd_qestlist.row +"]/essnanswcnt" ,model.getValue("/root/main/grdlist/qestitemlist["+i+"]/essnanswcnt"));
  781. model.setValue("/root/main/grdlist/qestlist["+ grd_qestlist.row +"]/qestsmmcnts" ,model.getValue("/root/main/grdlist/qestitemlist["+i+"]/qestsmmcnts"));
  782. model.setValue("/root/main/grdlist/qestlist["+ grd_qestlist.row +"]/qestrgstdeptcd" ,model.getValue("/root/main/grdlist/qestitemlist["+i+"]/qestrgstdeptcd"));
  783. model.setValue("/root/main/grdlist/qestlist["+ grd_qestlist.row +"]/qestrgstid" ,model.getValue("/root/main/grdlist/qestitemlist["+i+"]/qestrgstid"));
  784. model.setValue("/root/main/grdlist/qestlist["+ grd_qestlist.row +"]/qestrgstdd" ,model.getValue("/root/main/grdlist/qestitemlist["+i+"]/qestrgstdd"));
  785. model.setValue("/root/main/grdlist/qestlist["+ grd_qestlist.row +"]/qestrgstdeptnm" ,model.getValue("/root/main/grdlist/qestitemlist["+i+"]/qestrgstdeptnm"));
  786. model.setValue("/root/main/grdlist/qestlist["+ grd_qestlist.row +"]/qestrgstnm" ,model.getValue("/root/main/grdlist/qestitemlist["+i+"]/qestrgstnm"));
  787. model.setValue("/root/main/grdlist/qestlist["+ grd_qestlist.row +"]/qestitemgrupseqno" ,model.getValue("/root/main/grdlist/qestitemgrupseqno"));
  788. model.setValue("/root/main/grdlist/qestlist["+ grd_qestlist.row +"]/qpaprseqno" ,model.getValue("/root/main/grdlist/qpaprseqno"));
  789. model.makeValue("/root/main/grdlist/qestlist["+ grd_qestlist.row +"]/status", "insert");
  790. }
  791. }
  792. }
  793. if (duplCount > 0 || checkCount > 0) {
  794. var rtn = messageBox(duplCount + "건이 중복되어 제거되고, " + (checkCount - duplCount) + "건이 입력됩니다", "Q003");
  795. if (rtn == "6") {
  796. if (submit("TXCIT00601")) {
  797. messageBox("설문지 저장이", "I002");
  798. }
  799. }
  800. submit("TRCIT00601");
  801. } else if (checkCount <= 0 ) {
  802. messageBox("문항이 선택되지", "E007");
  803. }
  804. // 데이터 이동 후 마스터 목록 선택 해제
  805. var mode = "C";
  806. fGridAllRow(mode);
  807. } else if (move == "left") {
  808. var qestlist = grd_qestlist.rows;
  809. var deletecount = 0;
  810. for (var i = 1; i < qestlist; i++) {
  811. // 괄호는 앞에가 문자니까 뒤에도 문자로 인식해서 1+2가 안되고 12가 되어서 체크박스값을 못가져온거임
  812. // i가 1부터 5까지 증가할때 전체 다 삭제하려고 한다면
  813. // i가 1일때 첫번째 로우를 삭제함. 결과: 2,3,4,5
  814. // i가 2일때 두번째 로우를 삭제함. (이미 첫번째 로우가 삭제된 상태라 결과적으로는 세번째순번이었던 거 삭제) 결과:2,4,5
  815. // i가 3일때 세번째 로우를 삭제함. (이미 첫번째, 세번째 로우가 삭제된 상태라 결과적으로는 다섯째순번이었던 거 삭제) 결과: 2,4
  816. var chk = model.getValue("/root/main/grdlist/qestlist["+ i +"]/chk");
  817. if (chk == "Y") {
  818. model.makeValue("/root/main/grdlist/qestlist["+ i +"]/status", "delete");
  819. deletecount++;
  820. } else {
  821. if(deletecount > 0){
  822. model.makeValue("/root/main/grdlist/qestlist["+ i +"]/status", "update1");
  823. }
  824. }
  825. }
  826. if (deletecount == "0") {
  827. messageBox("문항이 선택되지", "E007");
  828. } else {
  829. if (submit("TXCIT00601")) {
  830. messageBox("설문 내용 삭제가", "I002");
  831. }
  832. }
  833. submit("TRCIT00601");
  834. // 데이터 이동 후 마스터 목록 선택 해제
  835. var mode = "C";
  836. fGridAllRow(mode);
  837. }
  838. }
  839. // 설문지 데이터 이동 (상 / 하)
  840. function fSwapCodeSequence(src, dest){
  841. var src_chk = grd_qestlist.valueMatrix(src, grd_qestlist.colRef("chk"));
  842. var src_qestitemgrupnm = grd_qestlist.valueMatrix(src, grd_qestlist.colRef("qestitemgrupnm"));
  843. var src_qestcnts = grd_qestlist.valueMatrix(src, grd_qestlist.colRef("qestcnts"));
  844. var src_qestkindcd = grd_qestlist.valueMatrix(src, grd_qestlist.colRef("qestkindcd"));
  845. var src_qestseqno = grd_qestlist.valueMatrix(src, grd_qestlist.colRef("qestseqno"));
  846. var src_qestitemanswcnt = grd_qestlist.valueMatrix(src, grd_qestlist.colRef("qestitemanswcnt"));
  847. var src_qestitemanswchoicolcnt = grd_qestlist.valueMatrix(src, grd_qestlist.colRef("qestitemanswchoicolcnt"));
  848. var src_essnanswcnt = grd_qestlist.valueMatrix(src, grd_qestlist.colRef("essnanswcnt"));
  849. var src_qestsmmcnts = grd_qestlist.valueMatrix(src, grd_qestlist.colRef("qestsmmcnts"));
  850. var src_qestrgstdeptcd = grd_qestlist.valueMatrix(src, grd_qestlist.colRef("qestrgstdeptcd"));
  851. var src_qestrgstid = grd_qestlist.valueMatrix(src, grd_qestlist.colRef("qestrgstid"));
  852. var src_qestrgstdd = grd_qestlist.valueMatrix(src, grd_qestlist.colRef("qestrgstdd"));
  853. var src_qestrgstdeptnm = grd_qestlist.valueMatrix(src, grd_qestlist.colRef("qestrgstdeptnm"));
  854. var src_qestrgstnm = grd_qestlist.valueMatrix(src, grd_qestlist.colRef("qestrgstnm"));
  855. var dest_chk = grd_qestlist.valueMatrix(dest, grd_qestlist.colRef("chk"));
  856. var dest_qestitemgrupnm = grd_qestlist.valueMatrix(dest, grd_qestlist.colRef("qestitemgrupnm"));
  857. var dest_qestcnts = grd_qestlist.valueMatrix(dest, grd_qestlist.colRef("qestcnts"));
  858. var dest_qestkindcd = grd_qestlist.valueMatrix(dest, grd_qestlist.colRef("qestkindcd"));
  859. var dest_qestseqno = grd_qestlist.valueMatrix(dest, grd_qestlist.colRef("qestseqno"));
  860. var dest_qestitemanswcnt = grd_qestlist.valueMatrix(dest, grd_qestlist.colRef("qestitemanswcnt"));
  861. var dest_qestitemanswchoicolcnt = grd_qestlist.valueMatrix(dest, grd_qestlist.colRef("qestitemanswchoicolcnt"));
  862. var dest_essnanswcnt = grd_qestlist.valueMatrix(dest, grd_qestlist.colRef("essnanswcnt"));
  863. var dest_qestsmmcnts = grd_qestlist.valueMatrix(dest, grd_qestlist.colRef("qestsmmcnts"));
  864. var dest_qestrgstdeptcd = grd_qestlist.valueMatrix(dest, grd_qestlist.colRef("qestrgstdeptcd"));
  865. var dest_qestrgstid = grd_qestlist.valueMatrix(dest, grd_qestlist.colRef("qestrgstid"));
  866. var dest_qestrgstdd = grd_qestlist.valueMatrix(dest, grd_qestlist.colRef("qestrgstdd"));
  867. var dest_qestrgstdeptnm = grd_qestlist.valueMatrix(dest, grd_qestlist.colRef("qestrgstdeptnm"));
  868. var dest_qestrgstnm = grd_qestlist.valueMatrix(dest, grd_qestlist.colRef("qestrgstnm"));
  869. grd_qestlist.valueMatrix(src, grd_qestlist.colRef("chk")) = dest_chk;
  870. grd_qestlist.valueMatrix(src, grd_qestlist.colRef("qestitemgrupnm")) = dest_qestitemgrupnm;
  871. grd_qestlist.valueMatrix(src, grd_qestlist.colRef("qestcnts")) = dest_qestcnts;
  872. grd_qestlist.valueMatrix(src, grd_qestlist.colRef("qestkindcd")) = dest_qestkindcd;
  873. grd_qestlist.valueMatrix(src, grd_qestlist.colRef("qestseqno")) = dest_qestseqno;
  874. grd_qestlist.valueMatrix(src, grd_qestlist.colRef("qestitemanswcnt")) = dest_qestitemanswcnt;
  875. grd_qestlist.valueMatrix(src, grd_qestlist.colRef("qestitemanswchoicolcnt")) = dest_qestitemanswchoicolcnt;
  876. grd_qestlist.valueMatrix(src, grd_qestlist.colRef("essnanswcnt")) = dest_essnanswcnt;
  877. grd_qestlist.valueMatrix(src, grd_qestlist.colRef("qestsmmcnts")) = dest_qestsmmcnts;
  878. grd_qestlist.valueMatrix(src, grd_qestlist.colRef("qestrgstdeptcd")) = dest_qestrgstdeptcd;
  879. grd_qestlist.valueMatrix(src, grd_qestlist.colRef("qestrgstid")) = dest_qestrgstid;
  880. grd_qestlist.valueMatrix(src, grd_qestlist.colRef("qestrgstdd")) = dest_qestrgstdd;
  881. grd_qestlist.valueMatrix(src, grd_qestlist.colRef("qestrgstdeptnm")) = dest_qestrgstdeptnm;
  882. grd_qestlist.valueMatrix(src, grd_qestlist.colRef("qestrgstnm")) = dest_qestrgstnm;
  883. grd_qestlist.valueMatrix(dest, grd_qestlist.colRef("chk")) = src_chk;
  884. grd_qestlist.valueMatrix(dest, grd_qestlist.colRef("qestitemgrupnm")) = src_qestitemgrupnm;
  885. grd_qestlist.valueMatrix(dest, grd_qestlist.colRef("qestcnts")) = src_qestcnts;
  886. grd_qestlist.valueMatrix(dest, grd_qestlist.colRef("qestkindcd")) = src_qestkindcd;
  887. grd_qestlist.valueMatrix(dest, grd_qestlist.colRef("qestseqno")) = src_qestseqno;
  888. grd_qestlist.valueMatrix(dest, grd_qestlist.colRef("qestitemanswcnt")) = src_qestitemanswcnt;
  889. grd_qestlist.valueMatrix(dest, grd_qestlist.colRef("qestitemanswchoicolcnt")) = src_qestitemanswchoicolcnt;
  890. grd_qestlist.valueMatrix(dest, grd_qestlist.colRef("essnanswcnt")) = src_essnanswcnt;
  891. grd_qestlist.valueMatrix(dest, grd_qestlist.colRef("qestsmmcnts")) = src_qestsmmcnts;
  892. grd_qestlist.valueMatrix(dest, grd_qestlist.colRef("qestrgstdeptcd")) = src_qestrgstdeptcd;
  893. grd_qestlist.valueMatrix(dest, grd_qestlist.colRef("qestrgstid")) = src_qestrgstid;
  894. grd_qestlist.valueMatrix(dest, grd_qestlist.colRef("qestrgstdd")) = src_qestrgstdd;
  895. grd_qestlist.valueMatrix(dest, grd_qestlist.colRef("qestrgstdeptnm")) = src_qestrgstdeptnm;
  896. grd_qestlist.valueMatrix(dest, grd_qestlist.colRef("qestrgstnm")) = src_qestrgstnm;
  897. }
  898. ]]>
  899. </script>
  900. </xhtml:head>
  901. <xhtml:body pagewidth="980" pageheight="744" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  902. <group id="group1" style="left:0px; top:10px; width:960px; height:59px; ">
  903. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:960px; height:59px; "/>
  904. <caption id="caption1" class="search_name" style="left:15; top:9; width:100px; height:17; ">문항 그룹명</caption>
  905. <input id="ipt_qestitemgrupnm" ref="/root/send/srch/qestitemgrupnm" class="input_search" style="left:118px; top:8px; width:180px; height:19px; ">
  906. <script type="javascript" ev:event="onkeyup">
  907. <![CDATA[
  908. inputEnterKey("btn_qestsearch", "DOMActivate");
  909. ]]>
  910. </script>
  911. </input>
  912. <caption id="caption2" class="search_name" style="left:303px; top:10px; width:85px; height:17px; ">등록 부서</caption>
  913. <input id="ipt_srch_qestrgstdeptcd" ref="/root/send/srch/qestrgstdeptcd" class="input_search" disabled="true" style="left:393px; top:8px; width:130px; height:19px; "/>
  914. <button id="btn_qestrgstschr" class="icon_search" style="left:526px; top:8px; width:16px; height:16px; ">
  915. <caption/>
  916. <script type="javascript" ev:event="DOMActivate">
  917. <![CDATA[
  918. var search_condition = "deptnm";
  919. var search_term = model.getValue("/root/send/srch/qestrgstdeptnm");
  920. var receive_deptcd_path = "/root/send/srch/qestrgstdeptcd";
  921. var receive_deptnm_path = "/root/send/srch/qestrgstdeptnm";
  922. cczfOpenSelectDept(search_condition, search_term, receive_deptcd_path, receive_deptnm_path);
  923. ]]>
  924. </script>
  925. </button>
  926. <input id="ipt_srch_qestrgstid" ref="/root/send/srch/qestrgstid" class="input_search" disabled="true" style="left:545px; top:8px; width:105px; height:19px; "/>
  927. <caption id="caption3" class="search_name" style="left:15; top:33; width:115; height:17; ">설문 목적 분류</caption>
  928. <select1 id="cmb_srch_qestitemlrgcd" ref="/root/send/srch/qestitemlrgcd" class="combo_search" appearance="minimal" style="left:135px; top:33px; width:100px; height:19px; ">
  929. <choices>
  930. <itemset nodeset="/root/init/srchqestlist/qestitemlrglist">
  931. <label ref="qestitemlrgnm"/>
  932. <value ref="qestitemlrgcd"/>
  933. </itemset>
  934. </choices>
  935. <script type="javascript" ev:event="xforms-value-changed">
  936. <![CDATA[
  937. // 조회부 중분류를 초기화한다.
  938. model.removenodeset("/root/init/srchqestlist/qestitemmdllist");
  939. // 조회부 설문 목적 중그룹조회
  940. fGetSrchQestItemMdlCd();
  941. ]]>
  942. </script>
  943. </select1>
  944. <select1 id="cmb_srch_qestitemmdlcd" ref="/root/send/srch/qestitemmdlcd" class="combo_search" appearance="minimal" style="left:238px; top:33px; width:155px; height:19px; ">
  945. <choices>
  946. <choices>
  947. <itemset nodeset="/root/init/srchqestlist/qestitemmdllist">
  948. <label ref="qestitemmdlnm"/>
  949. <value ref="qestitemmdlcd"/>
  950. </itemset>
  951. </choices>
  952. </choices>
  953. </select1>
  954. <caption id="caption4" class="search_name" style="left:398px; top:33px; width:85px; height:17px; ">설문 내용</caption>
  955. <input id="ipt_srch_qestcnts" ref="/root/send/srch/qestcnts" class="input_search" style="left:486px; top:33px; width:165px; height:19px; ">
  956. <script type="javascript" ev:event="onkeyup">
  957. <![CDATA[
  958. inputEnterKey("btn_qestsearch", "DOMActivate");
  959. ]]>
  960. </script>
  961. </input>
  962. <line id="line1" class="line_4" style="x1:883; y1:7px; x2:883; y2:53px; "/>
  963. <button id="btn_qestsearch" class="btn1_letter2" style="left:897; top:17; width:56px; height:22px; ">
  964. <caption>조회</caption>
  965. <script type="javascript" ev:event="DOMActivate">
  966. <![CDATA[
  967. fGetQestList();
  968. ]]>
  969. </script>
  970. </button>
  971. <output id="output1" ref="/root/send/qestitemgrupnm" autoresize="false" ellipsis="true" style="left:763px; top:21px; width:100px; height:19px; color:#cc6600; "/>
  972. <caption id="caption148" style="left:660px; top:20px; width:100px; height:19px; color:#cc6600; ">* 현재 문항 그룹 :</caption>
  973. </group>
  974. <group id="group2" style="left:0px; top:69px; width:960px; height:257px; ">
  975. <line id="line21" class="line_1" style="x1:0px; y1:25px; x2:464px; y2:25px; "/>
  976. <caption id="caption6" class="tit_2" style="left:0; top:10; width:162; height:13; ">만족도 설문 마스터 목록</caption>
  977. <datagrid id="grd_qestmasterlist" nodeset="/root/main/grdlist/qestitemlist" caption="^문항 그룹명^설문 내용^문항종류^설문목적 대분류^설문목적 중분류^등록부서" colsep="^" colwidth="20, 200, 340, 86, 100, 120, 140, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0" ellipsis="true" explorerbar="sort" frozencols="1" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:30px; width:464px; height:218px; ">
  978. <col checkvalue="Y,N" ref="chk" type="checkbox" style="text-align:center; "/>
  979. <col ref="qestitemgrupnm"/>
  980. <col ref="qestcnts"/>
  981. <col disabled="true" ref="qestkindcd" type="combo">
  982. <choices>
  983. <itemset nodeset="/root/init/C0101list/C0101">
  984. <label ref="cdnm"/>
  985. <value ref="cdid"/>
  986. </itemset>
  987. </choices>
  988. </col>
  989. <col ref="qestitemlrgnm"/>
  990. <col ref="qestitemmdlnm"/>
  991. <col ref="qestrgstdeptnm"/>
  992. <col ref="qestitemmdlcd" visibility="hiddn"/>
  993. <col ref="qestrgstdeptcd" visibility="hiddn"/>
  994. <col ref="qestitemlrgcd" visibility="hidden"/>
  995. <col ref="qestseqno" visibility="hidden"/>
  996. <col ref="qestitemgrupseqno" visibility="hidden"/>
  997. <col ref="qestrgstid" visibility="hidden"/>
  998. <col ref="qestrgstnm" visibility="hidden"/>
  999. <col ref="qestsmmcnts" visibility="hidden"/>
  1000. <col ref="qestrgstdd" visibility="hidden" format="yyyy-mm-dd"/>
  1001. <col ref="qestitemanswchoicnt" visibility="hidden"/>
  1002. <col ref="qestitemanswchoicolcnt" visibility="hidden"/>
  1003. <col ref="essnanswcnt" visibility="hidden"/>
  1004. <script type="javascript" ev:event="ondblclick">
  1005. <![CDATA[
  1006. fNewMsg();
  1007. // 설문 마스터 내용 탭 선택
  1008. btn_qestmastercnts.selected = true;
  1009. model.toggle("case1");
  1010. // 선택한 설문문항 그룹 목록을 설문 마스터 내용에 표시한다.
  1011. if( grd_qestmasterlist.isCell(event.target) && grd_qestmasterlist.row >= grd_qestmasterlist.fixedRows ){
  1012. var row = grd_qestmasterlist.row;
  1013. model.setValue("/root/main/grdlist/qestitemlist["+ row +"]/chk", "Y");
  1014. var qestitemgrupnm = grd_qestmasterlist.valueMatrix(row, grd_qestmasterlist.colRef("qestitemgrupnm"));
  1015. var qestitemgrupseqno = grd_qestmasterlist.valueMatrix(row, grd_qestmasterlist.colRef("qestitemgrupseqno"));
  1016. var qestcnts = grd_qestmasterlist.valueMatrix(row, grd_qestmasterlist.colRef("qestcnts"));
  1017. var qestkindcd = grd_qestmasterlist.valueMatrix(row, grd_qestmasterlist.colRef("qestkindcd"));
  1018. var qestitemlrgcd = grd_qestmasterlist.valueMatrix(row, grd_qestmasterlist.colRef("qestitemlrgcd"));
  1019. var qestitemlrgnm = grd_qestmasterlist.valueMatrix(row, grd_qestmasterlist.colRef("qestitemlrgnm"));
  1020. var qestitemmdlcd = grd_qestmasterlist.valueMatrix(row, grd_qestmasterlist.colRef("qestitemmdlcd"));
  1021. var qestitemmdlnm = grd_qestmasterlist.valueMatrix(row, grd_qestmasterlist.colRef("qestitemmdlnm"));
  1022. var qestrgstdeptcd = grd_qestmasterlist.valueMatrix(row, grd_qestmasterlist.colRef("qestrgstdeptcd"));
  1023. var qestrgstdeptnm = grd_qestmasterlist.valueMatrix(row, grd_qestmasterlist.colRef("qestrgstdeptnm"));
  1024. var qestseqno = grd_qestmasterlist.valueMatrix(row, grd_qestmasterlist.colRef("qestseqno"));
  1025. var qestrgstid = grd_qestmasterlist.valueMatrix(row, grd_qestmasterlist.colRef("qestrgstid"));
  1026. var qestrgstnm = grd_qestmasterlist.valueMatrix(row, grd_qestmasterlist.colRef("qestrgstnm"));
  1027. var qestsmmcnts = grd_qestmasterlist.valueMatrix(row, grd_qestmasterlist.colRef("qestsmmcnts"));
  1028. var qestrgstdd = grd_qestmasterlist.valueMatrix(row, grd_qestmasterlist.colRef("qestrgstdd"));
  1029. var qestitemanswchoicnt = grd_qestmasterlist.valueMatrix(row, grd_qestmasterlist.colRef("qestitemanswchoicnt"));
  1030. var qestitemanswchoicolcnt = grd_qestmasterlist.valueMatrix(row, grd_qestmasterlist.colRef("qestitemanswchoicolcnt"));
  1031. var essnanswcnt = grd_qestmasterlist.valueMatrix(row, grd_qestmasterlist.colRef("essnanswcnt"));
  1032. // model.setValue("/root/main/grdlist/qestitemlist["+qestseqno+"]/chk", "Y");
  1033. model.setValue("/root/main/masterlist/qestitemgrupnm",qestitemgrupnm);
  1034. model.setValue("/root/main/masterlist/qestitemgrupseqno",qestitemgrupseqno);
  1035. model.setValue("/root/main/masterlist/qestcnts",qestcnts);
  1036. model.setValue("/root/main/masterlist/qestkindcd",qestkindcd);
  1037. model.setValue("/root/main/masterlist/qestitemlrgcd",qestitemlrgcd);
  1038. model.setValue("/root/main/masterlist/qestitemlrgnm",qestitemlrgnm);
  1039. model.setValue("/root/main/masterlist/qestitemmdlcd",qestitemmdlcd);
  1040. model.setValue("/root/main/masterlist/qestitemmdlnm",qestitemmdlnm);
  1041. model.setValue("/root/main/masterlist/qestrgstdeptcd",qestrgstdeptcd);
  1042. model.setValue("/root/main/masterlist/qestrgstdeptnm",qestrgstdeptnm);
  1043. model.setValue("/root/main/masterlist/qestseqno",qestseqno);
  1044. model.setValue("/root/main/masterlist/qestrgstid",qestrgstid);
  1045. model.setValue("/root/main/masterlist/qestrgstnm",qestrgstnm);
  1046. model.setValue("/root/main/masterlist/qestsmmcnts",qestsmmcnts);
  1047. model.setValue("/root/main/masterlist/qestrgstdd",qestrgstdd);
  1048. model.setValue("/root/main/itemchoilist/qestitemanswchoicnt",qestitemanswchoicnt);
  1049. model.setValue("/root/main/itemchoilist/qestitemanswchoicolcnt",qestitemanswchoicolcnt);
  1050. model.setValue("/root/main/itemchoilist/essnanswcnt",essnanswcnt);
  1051. // 마스터 목록에서 상세보기시 문항관리 코드에 맞춰 화면 전환
  1052. var kindcd = model.getValue("/root/main/masterlist/qestkindcd");
  1053. fSetQestMasterKind(kindcd);
  1054. // 데이터 상세보기 값이 단일 / 다중 / 순위 선택시
  1055. if (kindcd == "1" || kindcd == "2" || kindcd == "3") {
  1056. model.makeValue("/root/main/masterlist/itemcd", "A");
  1057. submit("TRCIT01405");
  1058. if (kindcd == "1") {
  1059. for (var i = 0; i < grd_qestchoicntslist.rows; i++ ) {
  1060. grd_qestchoicntslist.isReadOnly(i,2) = true;
  1061. }
  1062. } else if (kindcd == "2") {
  1063. for (var j = 0; j < grd_case2_qestchoicntslist.rows; j++ ){
  1064. grd_case2_qestchoicntslist.isReadOnly(j,2) = true;
  1065. }
  1066. } else if (kindcd == "3") {
  1067. for (var k = 0; k < grd_case3_qestchoicntslist.rows; k++ ) {
  1068. grd_case3_qestchoicntslist.isReadOnly(k,2) = true;
  1069. }
  1070. }
  1071. } else if (kindcd == "4" || kindcd == "5") {
  1072. model.makeValue("/root/main/masterlist/itemcd", "B");
  1073. submit("TRCIT01406");
  1074. } else if (kindcd == "8" || kindcd == "6" || kindcd == "7") {
  1075. model.makeValue("/root/main/masterlist/itemcd", "C");
  1076. submit("TRCIT01407");
  1077. for (i = 1; i < grd_qestkindlist.rows; i++) {
  1078. var answchoiseqno = model.getValue("/root/main/itemchoilist/qestitemchoi["+i+"]/answchoiseqno");
  1079. var qestitemanswchoicnts = model.getValue("/root/main/itemchoilist/qestitemchoi["+i+"]/qestitemanswchoicnts");
  1080. var divpnt = model.getValue("/root/main/itemchoilist/qestitemchoi["+i+"]/divpnt");
  1081. var norpaddinptyn = model.getValue("root/main/itemchoilist/qestitemchoi/norpaddinptyn");
  1082. model.setValue("/root/main/itemchoilist/answchoiseqno/answchoiseqno"+i,answchoiseqno);
  1083. model.setValue("/root/main/itemchoilist/qestanswchoi/qestitemanswchoicnts"+i,qestitemanswchoicnts);
  1084. model.setValue("/root/main/itemchoilist/pnt/divpnt"+i,divpnt);
  1085. model.setValue("/root/main/itemchoilist/norpaddinptyn", norpaddinptyn);
  1086. }
  1087. } else {
  1088. model.makeValue("/root/main/masterlist/itemcd" , "C");
  1089. submit("TRCIT01407");
  1090. for (i = 1; i <grd_qestkindlist.rows; i++) {
  1091. var answchoiseqno = model.getValue("/root/main/itemchoilist/qestitemchoi["+i+"]/answchoiseqno");
  1092. var qestitemanswchoicnts = model.getValue("/root/main/itemchoilist/qestitemchoi["+i+"]/qestitemanswchoicnts");
  1093. var divpnt = model.getValue("/root/main/itemchoilist/qestitemchoi["+i+"]/divpnt");
  1094. model.setValue("/root/main/itemchoilist/case10/answchoiseqno/answchoiseqno"+i,answchoiseqno);
  1095. model.setValue("/root/main/itemchoilist/case10/qestanswchoi/qestitemanswchoicnts"+i,qestitemanswchoicnts);
  1096. model.setValue("/root/main/itemchoilist/case10/pnt/divpnt"+i,divpnt);
  1097. }
  1098. }
  1099. }
  1100. model.refresh();
  1101. ]]>
  1102. </script>
  1103. </datagrid>
  1104. <bool id="bool8" checkvalue="Y,N" ref="/root/main/grdlist/chkvalue1" style="left:1px; top:35px; width:20px; height:15px; ">
  1105. <script type="javascript" ev:event="xforms-value-changed">
  1106. <![CDATA[
  1107. var mode = "A"
  1108. fGridAllRow(mode);
  1109. ]]>
  1110. </script>
  1111. </bool>
  1112. <button id="btn_qestlistrhgt" class="icon_right" style="left:467px; top:115; width:26px; height:19px; ">
  1113. <caption/>
  1114. <script type="javascript" ev:event="DOMActivate">
  1115. <![CDATA[
  1116. var move = "right";
  1117. fSetDateMove(move);
  1118. ]]>
  1119. </script>
  1120. </button>
  1121. <button id="btn_qestlistleft" class="icon_left" style="left:467px; top:139; width:26px; height:19px; ">
  1122. <caption/>
  1123. <script type="javascript" ev:event="DOMActivate">
  1124. <![CDATA[
  1125. var move = "left";
  1126. fSetDateMove(move);
  1127. ]]>
  1128. </script>
  1129. </button>
  1130. <line id="line2" class="line_1" style="x1:496px; y1:25px; x2:960px; y2:25px; "/>
  1131. <caption id="caption7" class="tit_2" style="left:496px; top:10px; width:119px; height:13px; ">만족도 설문 목록</caption>
  1132. <button id="btn_stagesup" class="icon_top" style="left:702px; top:5px; width:26px; height:19px; ">
  1133. <caption/>
  1134. <script type="javascript" ev:event="DOMActivate">
  1135. <![CDATA[
  1136. var selected_row = grd_qestlist.row;
  1137. var up_row = selected_row-1;
  1138. var chkCount = 0;
  1139. for (var i = 1; i < grd_qestlist.rows; i++) {
  1140. var chk = model.getValue("/root/main/grdlist/qestlist["+ i +"]/chk");
  1141. if (chk == "Y") {
  1142. chkCount++;
  1143. }
  1144. }
  1145. if (chkCount < 2) {
  1146. if(selected_row>0){
  1147. if(up_row>0){
  1148. fSwapCodeSequence(selected_row, up_row);
  1149. grd_qestlist.row = up_row;
  1150. changeCnt++;
  1151. }else{
  1152. messageBox("더이상 위로 이동할수 없습니다.", "C");
  1153. }
  1154. }else{
  1155. messageBox("선택된 행이 없습니다.", "C");
  1156. }
  1157. } else {
  1158. messageBox("순서변경시 설문은 1개만", "C002");
  1159. }
  1160. ]]>
  1161. </script>
  1162. </button>
  1163. <caption id="caption16" style="left:731px; top:7px; width:70px; height:17px; ">한단계 위로</caption>
  1164. <button id="btn_stageinf" class="icon_bottom" style="left:806px; top:5px; width:26px; height:19px; ">
  1165. <caption/>
  1166. <script type="javascript" ev:event="DOMActivate">
  1167. <![CDATA[
  1168. var selected_row = grd_qestlist.row;
  1169. var dn_row = selected_row +1;
  1170. var chkCount = 0;
  1171. for (var i = 1; i < grd_qestlist.rows; i++) {
  1172. var chk = model.getValue("/root/main/grdlist/qestlist["+ i +"]/chk");
  1173. if (chk == "Y") {
  1174. chkCount++;
  1175. }
  1176. }
  1177. if (chkCount < 2) {
  1178. if(selected_row>0){
  1179. if(dn_row<grd_qestlist.rows){
  1180. fSwapCodeSequence(selected_row, dn_row);
  1181. model.refresh();
  1182. grd_qestlist.row = dn_row;
  1183. changeCnt++;
  1184. }else{
  1185. messageBox("더이상 아래로 이동할수 없습니다.", "C");
  1186. }
  1187. }else{
  1188. messageBox("선택된 행이 없습니다.", "C");
  1189. }
  1190. } else {
  1191. messageBox("순서변경시 설문은 1개만", "C002");
  1192. }
  1193. ]]>
  1194. </script>
  1195. </button>
  1196. <caption id="caption24" style="left:835px; top:7px; width:80px; height:17px; ">한단계 아래로</caption>
  1197. <datagrid id="grd_qestlist" nodeset="/root/main/grdlist/qestlist" caption="^순서^문항 그룹명^설문 내용^문항종류" colsep="^" colwidth="20, 35, 178, 361, 100, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0," ellipsis="true" frozencols="1" mergecellsfixedrows="bycolrec" rowsep="|" style="left:496px; top:30px; width:464px; height:218px; ">
  1198. <col checkvalue="Y,N" ref="chk" type="checkbox" style="text-align:center; "/>
  1199. <col ref="qpaprsortseq"/>
  1200. <col ref="qestitemgrupnm"/>
  1201. <col ref="qestcnts"/>
  1202. <col disabled="true" ref="itemkindcd" type="combo">
  1203. <choices>
  1204. <itemset nodeset="/root/init/C0101list/C0101">
  1205. <label ref="cdnm"/>
  1206. <value ref="cdid"/>
  1207. </itemset>
  1208. </choices>
  1209. </col>
  1210. <col ref="qestseqno" visibility="hidden"/>
  1211. <col ref="qestitemanswcnt" visibility="hidden"/>
  1212. <col ref="qestitemanswchoicolcnt" visibility="hidden"/>
  1213. <col ref="essnanswcnt" visibility="hidden"/>
  1214. <col ref="qestsmmcnts" visibility="hidden"/>
  1215. <col ref="qestrgstdeptcd" visibility="hidden"/>
  1216. <col ref="qestrgstid" visibility="hidden"/>
  1217. <col ref="qestrgstdd" visibility="hidden"/>
  1218. <col ref="qestrgstdeptnm" visibility="hidden"/>
  1219. <col ref="qestrgstnm" visibility="hidden"/>
  1220. <col ref="qestitemgrupseqno" visibility="hidden"/>
  1221. <col ref="qpaprseqno" visibility="hidden"/>
  1222. <script type="javascript" ev:event="ondblclick">
  1223. <![CDATA[
  1224. // 상세보기 초기화
  1225. fNewMsg();
  1226. // 설문 내용 탭을 선택한다.
  1227. btn_qestcnts.selected = true;
  1228. model.toggle("case11");
  1229. // 선택한 설문문항 그룹 목록을 설문 내용에 표시한다.
  1230. if( grd_qestlist.isCell(event.target) && grd_qestlist.row >= grd_qestlist.fixedRows ){
  1231. var row = grd_qestlist.row;
  1232. var qestitemgrupnm = grd_qestlist.valueMatrix(row, grd_qestlist.colRef("qestitemgrupnm"));
  1233. var qestcnts = grd_qestlist.valueMatrix(row, grd_qestlist.colRef("qestcnts"));
  1234. var itemkindcd = grd_qestlist.valueMatrix(row, grd_qestlist.colRef("itemkindcd"));
  1235. var qestitemanswcnt = grd_qestlist.valueMatrix(row, grd_qestlist.colRef("qestitemanswcnt"));
  1236. var qestitemanswchoicolcnt = grd_qestlist.valueMatrix(row, grd_qestlist.colRef("qestitemanswchoicolcnt"));
  1237. var essnanswcnt = grd_qestlist.valueMatrix(row, grd_qestlist.colRef("essnanswcnt"));
  1238. var qestsmmcnts = grd_qestlist.valueMatrix(row, grd_qestlist.colRef("qestsmmcnts"));
  1239. var qestrgstdeptcd = grd_qestlist.valueMatrix(row, grd_qestlist.colRef("qestrgstdeptcd"));
  1240. var qestrgstid = grd_qestlist.valueMatrix(row, grd_qestlist.colRef("qestrgstid"));
  1241. var qestrgstdd = grd_qestlist.valueMatrix(row, grd_qestlist.colRef("qestrgstdd"));
  1242. var qestrgstdeptnm = grd_qestlist.valueMatrix(row, grd_qestlist.colRef("qestrgstdeptnm"));
  1243. var qestrgstnm = grd_qestlist.valueMatrix(row, grd_qestlist.colRef("qestrgstnm"));
  1244. var qestseqno = grd_qestlist.valueMatrix(row, grd_qestlist.colRef("qestseqno"));
  1245. var qestitemgrupseqno = grd_qestlist.valueMatrix(row, grd_qestlist.colRef("qestitemgrupseqno"));
  1246. model.setValue("/root/main/qestcntslist/qestitemgrupnm",qestitemgrupnm);
  1247. model.setValue("/root/main/qestcntslist/qestcnts",qestcnts);
  1248. model.setValue("/root/main/qestcntslist/itemkindcd",itemkindcd);
  1249. model.setValue("/root/main/qestcntslist/qestitemanswcnt",qestitemanswcnt);
  1250. model.setValue("/root/main/qestcntslist/qestitemanswchoicolcnt",qestitemanswchoicolcnt);
  1251. model.setValue("/root/main/qestcntslist/essnanswcnt",essnanswcnt);
  1252. model.setValue("/root/main/qestcntslist/qestsmmcnts",qestsmmcnts);
  1253. model.setValue("/root/main/qestcntslist/qestrgstdeptcd",qestrgstdeptcd);
  1254. model.setValue("/root/main/qestcntslist/qestrgstid",qestrgstid);
  1255. model.setValue("/root/main/qestcntslist/qestrgstdd",qestrgstdd);
  1256. model.setValue("/root/main/qestcntslist/qestrgstdeptnm",qestrgstdeptnm);
  1257. model.setValue("/root/main/qestcntslist/qestrgstnm",qestrgstnm);
  1258. model.setValue("/root/main/qestcntslist/qestseqno",qestseqno);
  1259. model.setValue("/root/main/qestcntslist/qestitemgrupseqno",qestitemgrupseqno);
  1260. // 설문 목록에서 상세보기시 문항관리 코드에 맞춰 화면 전환
  1261. var kindcd = model.getValue("/root/main/qestcntslist/itemkindcd");
  1262. var kindValue = "grdlist";
  1263. fSetQestKind(kindcd, kindValue);
  1264. // fSetGrdItem();
  1265. // 데이터 상세보기 값이 단일 / 다중 / 순위 선택시
  1266. if (kindcd == "1" || kindcd == "2" || kindcd == "3") {
  1267. model.makeValue("root/main/qestcntslist/itemcd", "A");
  1268. submit("TRCIT00602");
  1269. if (kindcd == "1") {
  1270. for (var j = 0; j <= grd_case11_qestchoicntslist.rows-1; j++) {
  1271. grd_case11_qestchoicntslist.isReadOnly(j,2) = true;
  1272. }
  1273. } else if (kindcd == "2") {
  1274. for (var j = 0; j <= grd_case12_qestchoicntslist.rows-1; j++) {
  1275. grd_case12_qestchoicntslist.isReadOnly(j,2) = true;
  1276. }
  1277. } else {
  1278. for (var j = 0; j <= grd_case13_qestchoicntslist.rows-1; j++) {
  1279. grd_case13_qestchoicntslist.isReadOnly(j,2) = true;
  1280. }
  1281. }
  1282. } else if (kindcd == "4" || kindcd == "5") {
  1283. model.makeValue("root/main/qestcntslist/itemcd", "B");
  1284. submit("TRCIT00603");
  1285. } else if (kindcd == "8" || kindcd == "6" || kindcd == "7") {
  1286. model.makeValue("root/main/qestcntslist/itemcd", "C");
  1287. submit("TRCIT00604");
  1288. for (i = 1; i < grd_qestkindlist.rows; i++) {
  1289. var qestitemgrupseqno = model.getValue("/root/main/itemchoilist/qestitemchoi/qestitemgrupseqno");
  1290. var qpaprseqno = model.getValue("/root/main/itemchoilist/qestitemchoi/qpaprseqno");
  1291. var qestseqno = model.getValue("/root/main/itemchoilist/qestitemchoi/qestseqno");
  1292. var answchoiseqno = model.getValue("/root/main/itemchoilist/qestitemchoi["+i+"]/answchoiseqno");
  1293. var qestitemanswchoicnts = model.getValue("/root/main/itemchoilist/qestitemchoi["+i+"]/qestitemanswchoicnts");
  1294. var divpnt = model.getValue("/root/main/itemchoilist/qestitemchoi["+i+"]/divpnt");
  1295. var norpaddyn = model.getValue("/root/main/itemchoilist/qestitemchoi/norpaddinptyn");
  1296. model.setValue("/root/main/newitemchoilist/case678/answchoiseqno/answseqno"+i,answchoiseqno);
  1297. model.setValue("/root/main/newitemchoilist/case678/qestanswchoi/qestitemanswcnts"+i,qestitemanswchoicnts);
  1298. model.setValue("/root/main/newitemchoilist/case678/pnt/divpnt"+i,divpnt);
  1299. model.setValue("/root/main/newitemchoilist/case678/qestitemgrupseqno", qestitemgrupseqno);
  1300. model.setValue("/root/main/newitemchoilist/case678/qpaprseqno", qpaprseqno);
  1301. model.setValue("/root/main/newitemchoilist/case678/qestseqno", qestseqno);
  1302. }
  1303. model.removeNodeset("/root/main/itemchoilist/qestitemchoi");
  1304. } else {
  1305. model.makeValue("root/main/qestcntslist/itemcd", "C");
  1306. submit("TRCIT00604");
  1307. for (i = 1; i < grd_qestkindlist.rows; i++) {
  1308. var qestitemgrupseqno = model.getValue("/root/main/itemchoilist/qestitemchoi/qestitemgrupseqno");
  1309. var qpaprseqno = model.getValue("/root/main/itemchoilist/qestitemchoi/qpaprseqno");
  1310. var qestseqno = model.getValue("/root/main/itemchoilist/qestitemchoi/qestseqno");
  1311. var answchoiseqno = model.getValue("/root/main/itemchoilist/qestitemchoi["+i+"]/answchoiseqno");
  1312. var qestitemanswchoicnts = model.getValue("/root/main/itemchoilist/qestitemchoi["+i+"]/qestitemanswchoicnts");
  1313. var divpnt = model.getValue("/root/main/itemchoilist/qestitemchoi["+i+"]/divpnt");
  1314. var norpaddyn = model.getValue("/root/main/itemchoilist/qestitemchoi/norpaddinptyn");
  1315. model.setValue("/root/main/newitemchoilist/case9/answchoiseqno/answchoiseqno"+i, answchoiseqno);
  1316. model.setValue("/root/main/newitemchoilist/case9/qestanswchoi/qestitemanswchoicnts"+i, qestitemanswchoicnts);
  1317. model.setValue("/root/main/newitemchoilist/case9/pnt/divpnt"+i, divpnt);
  1318. model.setValue("/root/main/newitemchoilist/case9/qestitemgrupseqno", qestitemgrupseqno);
  1319. model.setValue("/root/main/newitemchoilist/case9/qpaprseqno", qpaprseqno);
  1320. model.setValue("/root/main/newitemchoilist/case9/qestseqno", qestseqno);
  1321. }
  1322. model.removeNodeset("/root/main/itemchoilist/qestitemchoi");
  1323. }
  1324. model.refresh();
  1325. }
  1326. ]]>
  1327. </script>
  1328. </datagrid>
  1329. <bool id="bool9" checkvalue="Y,N" ref="/root/main/grdlist/chkvalue2" style="left:497px; top:35px; width:20px; height:15px; ">
  1330. <script type="javascript" ev:event="xforms-value-changed">
  1331. <![CDATA[
  1332. var mode = "B"
  1333. fGridAllRow(mode);
  1334. ]]>
  1335. </script>
  1336. </bool>
  1337. <datagrid id="grd_qestkindlist" nodeset="/root/main/itemchoilist/qestitemchoi" visibility="hidden" allowselection="false" autoresize="true" caption="답변보기일련번호^보기내용^배분점수^무응답" colsep="^" colwidth="60, 88, 76, 60" ellipsis="true" explorerbar="sortshowmove" extendlastcol="scroll" rowheader="seq" style="left:105px; top:45px; width:350px; height:150px; ">
  1338. <col ref="answchoiseqno"/>
  1339. <col ref="qestitemanswchoicnts"/>
  1340. <col ref="divpnt"/>
  1341. <col ref="norpaddinptyn"/>
  1342. <col ref="qestitemgrupseqno"/>
  1343. <col ref="qpaprseqno"/>
  1344. <col ref="qestseqno"/>
  1345. </datagrid>
  1346. <button id="button1" class="btn5_letter2" style="left:918px; top:5px; width:42px; height:19px; ">
  1347. <caption>저장</caption>
  1348. <script type="javascript" ev:event="DOMActivate">
  1349. <![CDATA[
  1350. var rows = grd_qestlist.rows;
  1351. for (var i = 1; i < rows; i++) {
  1352. model.makeValue("/root/main/grdlist/qestlist["+ i +"]/status", "update1");
  1353. }
  1354. if (submit("TXCIT00601")) {
  1355. submit("TRCIT00601");
  1356. }
  1357. model.refresh();
  1358. ]]>
  1359. </script>
  1360. </button>
  1361. <datagrid id="grd_qestkindlist2" nodeset="/root/main/newitemchoilist/qestitemchoi" visibility="hidden" allowselection="false" autoresize="true" caption="답변보기일련번호^보기내용^배분점수^무응답" colsep="^" colwidth="60, 88, 76, 60" ellipsis="true" explorerbar="sortshowmove" extendlastcol="scroll" rowheader="seq" style="left:570px; top:80px; width:350px; height:150px; ">
  1362. <col ref="answseqno"/>
  1363. <col ref="qestitemanswcnts"/>
  1364. <col ref="divpnt"/>
  1365. <col ref="norpaddyn"/>
  1366. <col ref="qestseqno"/>
  1367. <col ref="qestitemgrupseqno"/>
  1368. <col ref="qpaprseqno"/>
  1369. </datagrid>
  1370. </group>
  1371. <group id="group3" style="left:0px; top:322px; width:960px; height:375px; ">
  1372. <button id="btn_qestmastercnts" class="btn_sw" group="tab" style="left:0px; top:0px; width:480px; height:22px; ">
  1373. <caption>설문 마스터 내용</caption>
  1374. <script type="javascript" ev:event="DOMActivate">
  1375. <![CDATA[
  1376. model.toggle("case1");
  1377. ]]>
  1378. </script>
  1379. </button>
  1380. <button id="btn_qestcnts" class="btn_sw" group="tab" style="left:480px; top:0px; width:480px; height:22px; ">
  1381. <caption>설문 내용</caption>
  1382. <script type="javascript" ev:event="DOMActivate">
  1383. <![CDATA[
  1384. model.toggle("case10");
  1385. ]]>
  1386. </script>
  1387. </button>
  1388. <switch id="switch1" style="left:0px; top:21px; width:960px; height:353px; ">
  1389. <case id="case1" style="left:0px; top:0px; width:960px; height:353px; ">
  1390. <line id="line3" class="line_1" style="x1:5px; y1:31px; x2:955px; y2:31px; "/>
  1391. <button id="btn_prestqestcopy" class="btn2_letter9" style="left:836px; top:10px; width:119px; height:19px; ">
  1392. <caption>현재 설문으로 복사</caption>
  1393. <script type="javascript" ev:event="DOMActivate">
  1394. <![CDATA[
  1395. var move = "right";
  1396. fSetDateMove(move);
  1397. // fNewMsg();
  1398. ]]>
  1399. </script>
  1400. </button>
  1401. <line id="line4" class="line_2" style="x1:5px; y1:58px; x2:955px; y2:58px; "/>
  1402. <caption id="caption8" class="cell_1" style="left:5; top:36; width:90; height:23; ">설문 목적 분류</caption>
  1403. <input id="input" ref="/root/main/masterlist/qestitemlrgnm" disabled="true" style="left:98; top:37; width:130; height:19; "/>
  1404. <input id="input1" ref="/root/main/masterlist/qestitemmdlnm" disabled="true" style="left:231px; top:37px; width:150; height:19px; "/>
  1405. <caption id="caption9" class="cell_1" style="left:384; top:36; width:90; height:23; ">등록부서</caption>
  1406. <input id="ipt_qestrgstdeptcd" ref="/root/main/masterlist/qestrgstdeptnm" disabled="true" style="left:477; top:37; width:200; height:19; "/>
  1407. <caption id="caption10" class="cell_1" style="left:680; top:36; width:90; height:23; ">등록자</caption>
  1408. <input id="ipt_qestrgstid" ref="/root/main/masterlist/qestrgstnm" disabled="true" style="left:773px; top:37px; width:182px; height:19px; "/>
  1409. <line id="line5" class="line_2" style="x1:5px; y1:82px; x2:955px; y2:82px; "/>
  1410. <caption id="caption11" class="cell_1" style="left:5; top:60; width:90; height:23; ">문항그룹명</caption>
  1411. <input id="input2" ref="/root/main/masterlist/qestitemgrupnm" disabled="true" style="left:98; top:61; width:220; height:19px; "/>
  1412. <caption id="caption12" class="cell_1" style="left:384; top:60; width:90; height:23; ">설문 요약어</caption>
  1413. <input id="ipt_qestsmmcnts" ref="/root/main/masterlist/qestsmmcnts" disabled="true" style="left:477; top:61; width:200; height:19; "/>
  1414. <caption id="caption13" class="cell_1" style="left:680; top:60; width:90; height:23; ">등록일</caption>
  1415. <input id="ipt_qestrgstdd" ref="/root/main/masterlist/qestrgstdd" disabled="true" format="yyyy-mm-dd" style="left:773px; top:61px; width:182px; height:19px; "/>
  1416. <line id="line6" class="line_2" style="x1:5px; y1:133px; x2:955px; y2:133px; "/>
  1417. <caption id="caption14" class="cell_1" style="left:5; top:84; width:90; height:50; ">설문 내용</caption>
  1418. <textarea id="tar_qestcnts" ref="/root/main/masterlist/qestcnts" disabled="true" style="left:98px; top:85px; width:857px; height:47px; "/>
  1419. <line id="line7" class="line_3" style="x1:5px; y1:157px; x2:955px; y2:157px; "/>
  1420. <caption id="caption15" class="cell_1" style="left:5; top:135; width:90; height:23; ">설문문항 종류</caption>
  1421. <select1 id="rdo_qestkindcd" ref="/root/main/masterlist/qestkindcd" disabled="true" appearance="full" cols="9" overflow="visible" style="left:98px; top:138px; width:857px; height:13px; border-style:none; ">
  1422. <choices>
  1423. <itemset nodeset="/root/init/C0101list/C0101">
  1424. <label ref="cdnm"/>
  1425. <value ref="cdid"/>
  1426. </itemset>
  1427. </choices>
  1428. <script type="javascript" ev:event="onclick">
  1429. <![CDATA[
  1430. var kindcd = model.getValue("/root/main/masterlist/qestkindcd");
  1431. fSetQestMasterKind(kindcd);
  1432. // fNewQestCntMsg();
  1433. ]]>
  1434. </script>
  1435. </select1>
  1436. <switch id="switch2" style="left:0px; top:159px; width:960px; height:194px; ">
  1437. <case id="case2" selected="true" style="left:0px; top:0px; width:960px; height:203px; ">
  1438. <line id="line8" class="line_1" style="x1:5px; y1:26px; x2:955; y2:26px; "/>
  1439. <caption id="caption17" class="tit_2" style="left:5; top:10; width:74px; height:14px; ">단일 선택</caption>
  1440. <caption id="caption18" class="cell_1" style="left:5; top:31; width:90; height:23; ">보기 개수</caption>
  1441. <input id="input3" ref="/root/main/itemchoilist/qestitemanswchoicnt" disabled="true" style="left:98px; top:32px; width:113px; height:19px; "/>
  1442. <caption id="caption19" class="cell_1" style="left:214px; top:31px; width:90px; height:23px; ">보기 열 개수</caption>
  1443. <input id="input4" ref="/root/main/itemchoilist/qestitemanswchoicolcnt" disabled="true" style="left:307px; top:32px; width:113px; height:19px; "/>
  1444. <datagrid id="grd_qestchoicntslist" nodeset="/root/main/itemchoilist/qestchoicntslist" allowuserresize="false" caption="설문 문항 보기^서술입력 추가 여부" colsep="^" colwidth="772, 140, 0" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:5px; top:55px; width:950px; height:138px; ">
  1445. <col ref="qestitemanswchoicnts" type="output"/>
  1446. <col checkvalue="Y,N" ref="descinptyn" type="checkbox"/>
  1447. <col ref="answchoiseqno" visibility="hidden"/>
  1448. </datagrid>
  1449. </case>
  1450. <case id="case3" style="left:0px; top:0px; width:960px; height:203px; ">
  1451. <line id="line12" class="line_1" style="x1:5px; y1:26px; x2:955px; y2:26px; "/>
  1452. <caption id="caption26" class="tit_2" style="left:5; top:10; width:74px; height:14px; ">다중 선택</caption>
  1453. <line id="line13" class="line_2" style="x1:5px; y1:53px; x2:955px; y2:53px; "/>
  1454. <caption id="caption27" class="cell_1" style="left:5; top:31; width:90; height:23; ">보기 개수</caption>
  1455. <input id="input5" ref="/root/main/itemchoilist/qestitemanswchoicnt" disabled="true" style="left:98px; top:32px; width:113px; height:19px; "/>
  1456. <caption id="caption28" class="cell_1" style="left:214px; top:31px; width:90px; height:23px; ">보기 열 개수</caption>
  1457. <input id="input6" ref="/root/main/itemchoilist/qestitemanswchoicolcnt" disabled="true" style="left:307px; top:32px; width:113px; height:19px; "/>
  1458. <datagrid id="grd_case2_qestchoicntslist" nodeset="/root/main/itemchoilist/qestchoicntslist" allowuserresize="false" caption="설문 문항 보기^서술입력 추가 여부" colsep="^" colwidth="772, 140 ,0" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:5px; top:55px; width:950px; height:138px; ">
  1459. <col ref="qestitemanswchoicnts" type="output"/>
  1460. <col checkvalue="Y,N" ref="descinptyn" type="checkbox"/>
  1461. <col ref="answchoiseqno" visibility="hidden"/>
  1462. </datagrid>
  1463. </case>
  1464. <case id="case4" style="left:0px; top:0px; width:960px; height:203px; ">
  1465. <line id="line17" class="line_1" style="x1:5px; y1:26px; x2:955px; y2:26px; "/>
  1466. <caption id="caption32" class="tit_2" style="left:5px; top:10px; width:84px; height:14px; ">순위 선택</caption>
  1467. <caption id="caption33" class="cell_1" style="left:5; top:31; width:90; height:23; ">보기 개수</caption>
  1468. <input id="input7" ref="/root/main/itemchoilist/qestitemanswchoicnt" disabled="true" style="left:98px; top:32px; width:113px; height:19px; "/>
  1469. <caption id="caption34" class="cell_1" style="left:214px; top:31px; width:90px; height:23px; ">보기 열 개수</caption>
  1470. <input id="input8" ref="/root/main/itemchoilist/qestitemanswchoicolcnt" disabled="true" style="left:307px; top:32px; width:113px; height:19px; "/>
  1471. <caption id="caption36" class="cell_1" style="left:423; top:31; width:90; height:23; ">필수입력 개수</caption>
  1472. <input id="combo12" ref="/root/main/itemchoilist/essnanswcnt" disabled="true" style="left:516px; top:32px; width:113px; height:19px; "/>
  1473. <datagrid id="grd_case3_qestchoicntslist" nodeset="/root/main/itemchoilist/qestchoicntslist" allowuserresize="false" caption="설문 문항 보기^서술입력 추가 여부" colsep="^" colwidth="772, 140, 0" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:5px; top:55px; width:950px; height:138px; ">
  1474. <col ref="qestitemanswchoicnts" type="output"/>
  1475. <col checkvalue="Y,N" ref="descinptyn" type="checkbox"/>
  1476. <col ref="answchoiseqno" visibility="hidden"/>
  1477. </datagrid>
  1478. </case>
  1479. <case id="case5" style="left:0px; top:0px; width:960px; height:203px; ">
  1480. <line id="line23" class="line_1" style="x1:5px; y1:26px; x2:955px; y2:26px; "/>
  1481. <caption id="caption39" class="tit_2" style="left:5px; top:10px; width:74px; height:14px; ">단답 입력</caption>
  1482. <line id="line24" class="line_3" style="x1:5px; y1:53px; x2:955px; y2:53px; "/>
  1483. <caption id="caption40" class="cell_1" style="left:5; top:31; width:90; height:23; ">보기</caption>
  1484. <input id="input21" ref="/root/main/itemchoilist/case45/qestitemanswchoicnts" maxlength="20" style="left:98px; top:32px; width:178px; height:19px; "/>
  1485. <caption id="caption41" style="left:283px; top:35px; width:91px; height:13px; ">( 입력 받는 공간</caption>
  1486. <bool id="chk_noinptyn" checkvalue="Y,N" overflow="visible" appearance="full" ref="/root/main/itemchoilist/case45/noinptyn" style="left:378px; top:35px; width:13px; height:13px; border-style:none; "/>
  1487. <caption id="caption85" style="left:394px; top:35px; width:66px; height:13px; ">숫자만 입력</caption>
  1488. <input id="input22" ref="/root/main/itemchoilist/case45/answchoiaddcnts" maxlength="20" style="left:468px; top:32px; width:148px; height:19px; "/>
  1489. <caption id="caption42" style="left:621px; top:35px; width:10px; height:14px; ">(</caption>
  1490. <bool id="chk_addinptyn" checkvalue="Y,N" overflow="visible" appearance="full" ref="/root/main/itemchoilist/case45/addinptyn" style="left:633px; top:35px; width:13px; height:13px; border-style:none; "/>
  1491. <caption id="caption84" style="left:650px; top:35px; width:82px; height:14px; ">추가 입력 여부</caption>
  1492. <bool id="chk_addnoinptyn" checkvalue="Y,N" overflow="visible" appearance="full" ref="/root/main/itemchoilist/case45/addnoinptyn" style="left:735px; top:35px; width:13px; height:13px; border-style:none; "/>
  1493. <caption id="caption86" style="left:751px; top:35px; width:75px; height:13px; ">숫자만 입력 )</caption>
  1494. <caption id="caption43" style="left:98px; top:59px; width:149px; height:20px; ">예) 일주일 동안 ( )회 운동</caption>
  1495. </case>
  1496. <case id="case6">
  1497. <line id="line25" class="line_1" style="x1:5px; y1:26px; x2:955; y2:26px; "/>
  1498. <caption id="caption44" class="tit_2" style="left:5px; top:10px; width:74px; height:14px; ">서술 입력</caption>
  1499. <line id="line26" class="line_3" style="x1:5px; y1:53px; x2:955; y2:53px; "/>
  1500. <caption id="caption45" class="cell_1" style="left:5; top:31; width:90; height:23; ">필수입력여부</caption>
  1501. <bool id="chk_caes5_essninptyn" checkvalue="Y,N" overflow="visible" appearance="full" ref="/root/main/itemchoilist/case45/essninptyn" style="left:98px; top:35px; width:13px; height:13px; border-style:none; "/>
  1502. <caption id="caption87" style="left:114px; top:35px; width:54px; height:13px; ">필수 입력</caption>
  1503. </case>
  1504. <case id="case7">
  1505. <line id="line27" class="line_1" style="x1:5px; y1:26px; x2:950px; y2:26px; "/>
  1506. <caption id="caption46" class="tit_2" style="left:5px; top:10px; width:74px; height:14px; ">4점 척도</caption>
  1507. <line id="line28" class="line_2" style="x1:5px; y1:53px; x2:950px; y2:53px; "/>
  1508. <caption id="caption47" class="cell_1" style="left:5; top:31; width:90; height:23; ">보기 1</caption>
  1509. <input id="ipt_case6_qestitemanswchoicnts1" ref="/root/main/itemchoilist/qestanswchoi/qestitemanswchoicnts1" maxlength="30" style="left:98px; top:32px; width:310; height:19px; "/>
  1510. <caption id="caption48" style="left:411; top:34px; width:26px; height:17px; ">점수</caption>
  1511. <input id="ipt_case6_divpnt1" ref="/root/main/itemchoilist/pnt/divpnt1" maxlength="2" style="left:440; top:32px; width:40; height:19px; "/>
  1512. <caption id="caption49" class="cell_1" style="left:490; top:31; width:90; height:23; ">보기 3</caption>
  1513. <input id="ipt_case6_qestitemanswchoicnts3" ref="/root/main/itemchoilist/qestanswchoi/qestitemanswchoicnts3" maxlength="30" style="left:583px; top:32px; width:295px; height:19px; "/>
  1514. <caption id="caption50" style="left:881px; top:34px; width:26px; height:17px; ">점수</caption>
  1515. <input id="ipt_case6_divpnt3" ref="/root/main/itemchoilist/pnt/divpnt3" maxlength="2" style="left:910px; top:32px; width:40px; height:19px; "/>
  1516. <line id="line29" class="line_2" style="x1:5px; y1:77px; x2:950px; y2:77px; "/>
  1517. <caption id="caption51" class="cell_1" style="left:5; top:55; width:90; height:23; ">보기 2</caption>
  1518. <input id="ipt_case6_qestitemanswchoicnts2" ref="/root/main/itemchoilist/qestanswchoi/qestitemanswchoicnts2" maxlength="30" style="left:98px; top:56px; width:310; height:19px; "/>
  1519. <caption id="caption52" style="left:411; top:58px; width:26px; height:17px; ">점수</caption>
  1520. <input id="ipt_case6_divpnt2" ref="/root/main/itemchoilist/pnt/divpnt2" maxlength="2" style="left:440; top:56px; width:40; height:19px; "/>
  1521. <caption id="caption53" class="cell_1" style="left:490; top:55; width:90; height:23; ">보기 4</caption>
  1522. <input id="ipt_case6_qestitemanswchoicnts4" ref="/root/main/itemchoilist/qestanswchoi/qestitemanswchoicnts4" maxlength="30" style="left:583px; top:56px; width:295px; height:19px; "/>
  1523. <caption id="caption54" style="left:881px; top:58px; width:26px; height:17px; ">점수</caption>
  1524. <input id="ipt_case6_divpnt4" ref="/root/main/itemchoilist/pnt/divpnt4" maxlength="2" style="left:910px; top:56px; width:40px; height:19px; "/>
  1525. <line id="line30" class="line_3" style="x1:5px; y1:101px; x2:950px; y2:101px; "/>
  1526. <caption id="caption55" class="cell_1" style="left:5px; top:79px; width:90px; height:23px; ">무응답 추가</caption>
  1527. <bool id="chk_case6_norpaddinptyn" disabled="true" checkvalue="Y,N" overflow="visible" appearance="full" ref="/root/main/itemchoilist/norpaddinptyn" style="left:98px; top:83px; width:13; height:13; border-style:none; "/>
  1528. <caption id="caption88" style="left:114px; top:83px; width:54px; height:13px; ">해당 없음</caption>
  1529. </case>
  1530. <case id="case8">
  1531. <line id="line31" class="line_1" style="x1:5px; y1:26px; x2:950px; y2:26px; "/>
  1532. <caption id="caption56" class="tit_2" style="left:5px; top:10px; width:74px; height:14px; ">5점 척도</caption>
  1533. <line id="line32" class="line_2" style="x1:5px; y1:53px; x2:950px; y2:53px; "/>
  1534. <caption id="caption57" class="cell_1" style="left:5; top:31; width:90; height:23; ">보기 1</caption>
  1535. <input id="ipt_case7_qestitemanswchoicnts1" ref="/root/main/itemchoilist/qestanswchoi/qestitemanswchoicnts1" maxlength="30" style="left:98px; top:32px; width:310; height:19px; "/>
  1536. <caption id="caption58" style="left:411; top:34px; width:26px; height:17px; ">점수</caption>
  1537. <input id="ipt_case7_divpnt1" ref="/root/main/itemchoilist/pnt/divpnt1" maxlength="2" style="left:440; top:32px; width:40; height:19px; "/>
  1538. <caption id="caption59" class="cell_1" style="left:490; top:31; width:90; height:23; ">보기 4</caption>
  1539. <input id="ipt_case7_qestitemanswchoicnts4" ref="/root/main/itemchoilist/qestanswchoi/qestitemanswchoicnts4" maxlength="30" style="left:583px; top:32px; width:295px; height:19px; "/>
  1540. <caption id="caption60" style="left:881px; top:34px; width:26px; height:17px; ">점수</caption>
  1541. <input id="input9" ref="/root/main/itemchoilist/pnt/divpnt4" maxlength="2" style="left:910px; top:32px; width:40px; height:19px; "/>
  1542. <line id="line33" class="line_2" style="x1:5px; y1:77px; x2:950px; y2:77px; "/>
  1543. <caption id="caption61" class="cell_1" style="left:5; top:55; width:90; height:23; ">보기 2</caption>
  1544. <input id="ipt_case7_qestitemanswchoicnts2" ref="/root/main/itemchoilist/qestanswchoi/qestitemanswchoicnts2" maxlength="30" style="left:98px; top:56px; width:310; height:19px; "/>
  1545. <caption id="caption62" style="left:411; top:58px; width:26px; height:17px; ">점수</caption>
  1546. <input id="input10" ref="/root/main/itemchoilist/pnt/divpnt2" maxlength="2" style="left:440; top:56px; width:40; height:19px; "/>
  1547. <caption id="caption63" class="cell_1" style="left:490; top:55; width:90; height:23; ">보기 5</caption>
  1548. <input id="ipt_case7_qestitemanswchoicnts5" ref="/root/main/itemchoilist/qestanswchoi/qestitemanswchoicnts5" maxlength="30" style="left:583px; top:56px; width:295px; height:19px; "/>
  1549. <caption id="caption64" style="left:881px; top:58px; width:26px; height:17px; ">점수</caption>
  1550. <input id="input11" ref="/root/main/itemchoilist/pnt/divpnt5" maxlength="2" style="left:910px; top:56px; width:40px; height:19px; "/>
  1551. <line id="line34" class="line_3" style="x1:5px; y1:101px; x2:950px; y2:101px; "/>
  1552. <caption id="caption65" class="cell_1" style="left:5px; top:79px; width:90px; height:23px; ">보기 3</caption>
  1553. <input id="ipt_case7_qestitemanswchoicnts3" ref="/root/main/itemchoilist/qestanswchoi/qestitemanswchoicnts3" maxlength="30" style="left:98px; top:79px; width:310; height:19px; "/>
  1554. <caption id="caption66" style="left:411; top:81px; width:26px; height:17px; ">점수</caption>
  1555. <input id="input12" ref="/root/main/itemchoilist/pnt/divpnt3" maxlength="2" style="left:440; top:80; width:40; height:19px; "/>
  1556. <caption id="caption67" class="cell_1" style="left:490; top:79; width:90; height:23; ">무응답 추가</caption>
  1557. <bool id="chk_case7_norpaddinptyn" disabled="true" checkvalue="Y,N" overflow="visible" appearance="full" ref="/root/main/itemchoilist/norpaddinptyn" style="left:583; top:83px; width:13px; height:13px; border-style:none; "/>
  1558. <caption id="caption89" style="left:599px; top:83px; width:50px; height:13px; ">해당없음</caption>
  1559. </case>
  1560. <case id="case9">
  1561. <line id="line35" class="line_1" style="x1:5px; y1:26px; x2:950px; y2:26px; "/>
  1562. <caption id="caption68" class="tit_2" style="left:5px; top:10px; width:74px; height:14px; ">7점 척도</caption>
  1563. <line id="line36" class="line_2" style="x1:0px; y1:53px; x2:950px; y2:53px; "/>
  1564. <caption id="caption69" class="cell_1" style="left:5; top:31; width:90; height:23; ">보기 1</caption>
  1565. <input id="ipt_case8_qestitemanswchoicnts1" ref="/root/main/itemchoilist/qestanswchoi/qestitemanswchoicnts1" maxlength="30" style="left:98px; top:32px; width:310; height:19px; "/>
  1566. <caption id="caption70" style="left:411px; top:34px; width:26px; height:17px; ">점수</caption>
  1567. <input id="ipt_case8_divpnt1" ref="/root/main/itemchoilist/pnt/divpnt1" maxlength="2" style="left:440px; top:32px; width:40px; height:19px; "/>
  1568. <caption id="caption71" class="cell_1" style="left:490px; top:31px; width:90px; height:23px; ">보기 5</caption>
  1569. <input id="input13" ref="/root/main/itemchoilist/qestanswchoi/qestitemanswchoicnts5" maxlength="30" style="left:583px; top:32px; width:295px; height:19px; "/>
  1570. <caption id="caption72" style="left:881px; top:34px; width:26px; height:17px; ">점수</caption>
  1571. <input id="input14" ref="/root/main/itemchoilist/pnt/divpnt5" maxlength="2" style="left:910px; top:32px; width:40px; height:19px; "/>
  1572. <line id="line37" class="line_2" style="x1:5px; y1:77px; x2:950px; y2:77px; "/>
  1573. <caption id="caption73" class="cell_1" style="left:5; top:55; width:90; height:23; ">보기 2</caption>
  1574. <input id="input15" ref="/root/main/itemchoilist/qestanswchoi/qestitemanswchoicnts2" maxlength="30" style="left:98px; top:56px; width:310px; height:19px; "/>
  1575. <caption id="caption74" style="left:411px; top:58px; width:26px; height:17px; ">점수</caption>
  1576. <input id="input16" ref="/root/main/itemchoilist/pnt/divpnt2" maxlength="2" style="left:440px; top:56px; width:40px; height:19px; "/>
  1577. <caption id="caption75" class="cell_1" style="left:490px; top:55px; width:90px; height:23px; ">보기 6</caption>
  1578. <input id="input17" ref="/root/main/itemchoilist/qestanswchoi/qestitemanswchoicnts6" maxlength="30" style="left:583px; top:56px; width:295px; height:19px; "/>
  1579. <caption id="caption76" style="left:881px; top:58px; width:26px; height:17px; ">점수</caption>
  1580. <input id="input23" ref="/root/main/itemchoilist/pnt/divpnt6" maxlength="2" style="left:910px; top:56px; width:40px; height:19px; "/>
  1581. <line id="line38" class="line_2" style="x1:0px; y1:101; x2:945px; y2:101; "/>
  1582. <caption id="caption77" class="cell_1" style="left:5px; top:79px; width:90px; height:23px; ">보기 3</caption>
  1583. <input id="input24" ref="/root/main/itemchoilist/qestanswchoi/qestitemanswchoicnts3" maxlength="30" style="left:98px; top:79px; width:310px; height:19px; "/>
  1584. <caption id="caption78" style="left:411px; top:81px; width:26px; height:17px; ">점수</caption>
  1585. <input id="input25" ref="/root/main/itemchoilist/pnt/divpnt3" maxlength="2" style="left:440px; top:80px; width:40px; height:19px; "/>
  1586. <caption id="caption79" class="cell_1" style="left:490px; top:79px; width:90px; height:23px; ">보기 7</caption>
  1587. <input id="input26" ref="/root/main/itemchoilist/qestanswchoi/qestitemanswchoicnts7" maxlength="30" style="left:583px; top:80px; width:295px; height:19px; "/>
  1588. <caption id="caption80" style="left:881px; top:81px; width:26px; height:17px; ">점수</caption>
  1589. <input id="input27" ref="/root/main/itemchoilist/pnt/divpnt7" maxlength="2" style="left:910px; top:80px; width:40px; height:19px; "/>
  1590. <line id="line39" class="line_3" style="x1:5px; y1:125px; x2:950px; y2:125px; "/>
  1591. <caption id="caption81" class="cell_1" style="left:5; top:103; width:90; height:23; ">보기 4</caption>
  1592. <input id="input28" ref="/root/main/itemchoilist/qestanswchoi/qestitemanswchoicnts4" maxlength="30" style="left:98px; top:104px; width:310px; height:19px; "/>
  1593. <caption id="caption82" style="left:411px; top:106px; width:26px; height:17px; ">점수</caption>
  1594. <input id="input29" ref="/root/main/itemchoilist/pnt/divpnt4" maxlength="2" style="left:440px; top:104px; width:40px; height:19px; "/>
  1595. <caption id="caption83" class="cell_1" style="left:490px; top:103px; width:90px; height:23px; ">무응답 추가</caption>
  1596. <bool id="chk_case8_norpaddinptyn" disabled="true" checkvalue="Y,N" overflow="visible" appearance="full" ref="/root/main/itemchoilist/norpaddinptyn" style="left:583px; top:107px; width:13px; height:13px; border-style:none; "/>
  1597. <caption id="caption90" style="left:599; top:107; width:50px; height:13; ">해당없음</caption>
  1598. </case>
  1599. <case id="case10">
  1600. <line id="line9" style="x1:45px; y1:40px; x2:45px; y2:110px; "/>
  1601. <line id="line10" style="x1:910px; y1:40; x2:910px; y2:110; "/>
  1602. <line id="line11" style="x1:45px; y1:75px; x2:910px; y2:75px; "/>
  1603. <line id="line14" style="x1:131px; y1:55px; x2:131px; y2:100px; "/>
  1604. <line id="line15" style="x1:218px; y1:55px; x2:218px; y2:100px; "/>
  1605. <line id="line16" style="x1:303px; y1:55px; x2:303px; y2:100px; "/>
  1606. <line id="line18" style="x1:390px; y1:55px; x2:390px; y2:100px; "/>
  1607. <line id="line19" style="x1:475px; y1:55px; x2:475px; y2:100px; "/>
  1608. <line id="line20" style="x1:562px; y1:55px; x2:562px; y2:100px; "/>
  1609. <line id="line22" style="x1:647px; y1:55px; x2:647px; y2:100px; "/>
  1610. <line id="line40" style="x1:734px; y1:55px; x2:734px; y2:100px; "/>
  1611. <line id="line41" style="x1:819px; y1:55px; x2:819px; y2:100px; "/>
  1612. <select1 id="radio1" ref="/root/main/newitemchoilist/case9/pnt/divpnt1" appearance="full" overflow="visible" style="left:37px; top:67px; width:15px; height:20px; border-style:none; ">
  1613. <choices>
  1614. <item>
  1615. <label/>
  1616. <value>0.0</value>
  1617. </item>
  1618. </choices>
  1619. </select1>
  1620. <select1 id="radio2" ref="/root/main/newitemchoilist/case9/pnt/divpnt2" appearance="full" overflow="visible" style="left:123px; top:68px; width:15px; height:20px; border-style:none; ">
  1621. <choices>
  1622. <item>
  1623. <label/>
  1624. <value>1.0</value>
  1625. </item>
  1626. </choices>
  1627. </select1>
  1628. <select1 id="radio3" ref="/root/main/newitemchoilist/case9/pnt/divpnt3" appearance="full" overflow="visible" style="left:210px; top:67px; width:15px; height:20px; border-style:none; ">
  1629. <choices>
  1630. <item>
  1631. <label/>
  1632. <value>2.0</value>
  1633. </item>
  1634. </choices>
  1635. </select1>
  1636. <select1 id="radio4" ref="/root/main/newitemchoilist/case9/pnt/divpnt4" appearance="full" overflow="visible" style="left:295px; top:67px; width:15px; height:20px; border-style:none; ">
  1637. <choices>
  1638. <item>
  1639. <label/>
  1640. <value>3.0</value>
  1641. </item>
  1642. </choices>
  1643. </select1>
  1644. <select1 id="radio5" ref="/root/main/newitemchoilist/case9/pnt/divpnt5" appearance="full" overflow="visible" style="left:382px; top:67px; width:15px; height:20px; border-style:none; ">
  1645. <choices>
  1646. <item>
  1647. <label/>
  1648. <value>4.0</value>
  1649. </item>
  1650. </choices>
  1651. </select1>
  1652. <select1 id="radio6" ref="/root/main/newitemchoilist/case9/pnt/divpnt6" appearance="full" overflow="visible" style="left:468px; top:67px; width:15px; height:20px; border-style:none; ">
  1653. <choices>
  1654. <item>
  1655. <label/>
  1656. <value>5.0</value>
  1657. </item>
  1658. </choices>
  1659. </select1>
  1660. <select1 id="radio7" ref="/root/main/newitemchoilist/case9/pnt/divpnt7" appearance="full" overflow="visible" style="left:555px; top:67px; width:15px; height:20px; border-style:none; ">
  1661. <choices>
  1662. <item>
  1663. <label/>
  1664. <value>6.0</value>
  1665. </item>
  1666. </choices>
  1667. </select1>
  1668. <select1 id="radio8" ref="/root/main/newitemchoilist/case9/pnt/divpnt8" appearance="full" overflow="visible" style="left:640px; top:67px; width:15px; height:20px; border-style:none; ">
  1669. <choices>
  1670. <item>
  1671. <label/>
  1672. <value>7.0</value>
  1673. </item>
  1674. </choices>
  1675. </select1>
  1676. <select1 id="radio9" ref="/root/main/newitemchoilist/case9/pnt/divpnt9" appearance="full" overflow="visible" style="left:727px; top:67px; width:15px; height:20px; border-style:none; ">
  1677. <choices>
  1678. <item>
  1679. <label/>
  1680. <value>8.0</value>
  1681. </item>
  1682. </choices>
  1683. </select1>
  1684. <select1 id="radio10" ref="/root/main/newitemchoilist/case9/pnt/divpnt10" appearance="full" overflow="visible" style="left:812px; top:67px; width:15px; height:20px; border-style:none; ">
  1685. <choices>
  1686. <item>
  1687. <label/>
  1688. <value>9.0</value>
  1689. </item>
  1690. </choices>
  1691. </select1>
  1692. <select1 id="radio11" ref="/root/main/newitemchoilist/case9/pnt/divpnt11" appearance="full" overflow="visible" style="left:903px; top:67px; width:15px; height:20px; border-style:none; ">
  1693. <choices>
  1694. <item>
  1695. <label/>
  1696. <value>10.0</value>
  1697. </item>
  1698. </choices>
  1699. </select1>
  1700. <caption id="caption20" style="left:20px; top:115px; width:54px; height:28px; ">
  1701. <![CDATA[ 0
  1702. 가장 나쁨]]>
  1703. </caption>
  1704. <caption id="caption21" style="left:125px; top:115px; width:10px; height:20px; ">1</caption>
  1705. <caption id="caption22" style="left:214px; top:115px; width:10px; height:20px; ">2</caption>
  1706. <caption id="caption23" style="left:299px; top:115px; width:10px; height:20px; ">3</caption>
  1707. <caption id="caption5" style="left:385px; top:115px; width:10px; height:20px; ">4</caption>
  1708. <caption id="caption25" style="left:471px; top:115px; width:10px; height:20px; ">5</caption>
  1709. <caption id="caption29" style="left:557px; top:115px; width:10px; height:20px; ">6</caption>
  1710. <caption id="caption30" style="left:643px; top:115px; width:10px; height:20px; ">7</caption>
  1711. <caption id="caption31" style="left:729px; top:115px; width:10px; height:20px; ">8</caption>
  1712. <caption id="caption35" style="left:815px; top:115px; width:10px; height:20px; ">9</caption>
  1713. <caption id="caption37" style="left:883px; top:115px; width:55px; height:28px; ">
  1714. <![CDATA[ 10
  1715. 가장 좋음]]>
  1716. </caption>
  1717. </case>
  1718. </switch>
  1719. </case>
  1720. <case id="case11" selected="true" style="left:0px; top:0px; width:960px; height:353px; ">
  1721. <line id="line42" class="line_1" style="x1:5px; y1:31px; x2:955px; y2:31px; "/>
  1722. <button id="button10" class="btn5_letter4" style="left:891px; top:10px; width:64px; height:19px; ">
  1723. <caption>설문 저장</caption>
  1724. <script type="javascript" ev:event="DOMActivate">
  1725. <![CDATA[
  1726. var itemkindcd = model.getValue("/root/main/qestcntslist/itemkindcd");
  1727. // 저장하기 위한 데이터 전환 작업
  1728. if (itemkindcd == "1" || itemkindcd == "2" || itemkindcd == "3") {
  1729. model.makeNode("/root/send/savedata");
  1730. copyNodesetType("/root/send/savedata","/root/main/qestcntslist");
  1731. if (itemkindcd == "1") {
  1732. model.makeValue("/root/send/savedata/case123",grd_case11_qestchoicntslist.getUpdateDataAll("i"));
  1733. } else if (itemkindcd == "2") {
  1734. model.makeValue("/root/send/savedata/case123",grd_case12_qestchoicntslist.getUpdateDataAll("i"));
  1735. } else if (itemkindcd == "3") {
  1736. model.makeValue("/root/send/savedata/case123",grd_case13_qestchoicntslist.getUpdateDataAll("i"));
  1737. }
  1738. } else if (itemkindcd == "4" || itemkindcd == "5") {
  1739. var addinptyn = model.getValue("/root/main/newitemchoilist/case45/addinptyn");
  1740. // 보기개수 1개 일련번호 1
  1741. model.setValue("/root/main/qestcntslist/qestitemanswcnt", 1);
  1742. model.setValue("/root/main/newitemchoilist/case45/answseqno", 1);
  1743. model.makeNode("/root/send/savedata/qestcntslist");
  1744. model.makeNode("/root/send/savedata/case45");
  1745. copyNodesetType("/root/send/savedata/qestcntslist","/root/main/qestcntslist");
  1746. copyNodesetType("/root/send/savedata/case45","/root/main/newitemchoilist/case45");
  1747. } else if (itemkindcd == "8" || itemkindcd == "6" || itemkindcd == "7") {
  1748. var inptcount = 0;
  1749. if (itemkindcd == "8") {
  1750. inptcount = 4;
  1751. } else if (itemkindcd == "6") {
  1752. inptcount = 5;
  1753. } else if (itemkindcd == "7") {
  1754. inptcount = 7;
  1755. } else {
  1756. alert("오류");
  1757. }
  1758. model.setValue("/root/main/qestcntslist/qestitemanswcnt", inptcount);
  1759. model.resetInstanceNode("/root/main/newitemchoilist/qestitemchoi");
  1760. grd_qestkindlist2.refresh();
  1761. for (var i = 0; i < inptcount; i++) {
  1762. var k = i+1;
  1763. grd_qestkindlist2.addRow(false);
  1764. model.setValue("/root/main/newitemchoilist/qestitemchoi["+ grd_qestkindlist2.row +"]/answseqno", k);
  1765. model.setValue("/root/main/newitemchoilist/qestitemchoi["+ grd_qestkindlist2.row +"]/qestitemanswcnts" ,model.getValue("/root/main/newitemchoilist/case678/qestanswchoi/qestitemanswcnts"+k));
  1766. model.setValue("/root/main/newitemchoilist/qestitemchoi["+ grd_qestkindlist2.row +"]/divpnt" ,model.getValue("/root/main/newitemchoilist/case678/pnt/divpnt"+k));
  1767. model.setValue("/root/main/newitemchoilist/qestitemchoi["+ grd_qestkindlist2.row +"]/qestseqno" ,model.getValue("/root/main/newitemchoilist/case678/qestseqno"));
  1768. model.setValue("/root/main/newitemchoilist/qestitemchoi["+ grd_qestkindlist2.row +"]/qestitemgrupseqno" ,model.getValue("/root/main/newitemchoilist/case678/qestitemgrupseqno"));
  1769. model.setValue("/root/main/newitemchoilist/qestitemchoi["+ grd_qestkindlist2.row +"]/qpaprseqno" ,model.getValue("/root/main/newitemchoilist/case678/qpaprseqno"));
  1770. model.setValue("/root/main/newitemchoilist/qestitemchoi["+ grd_qestkindlist2.row +"]/norpaddyn", "");
  1771. }
  1772. model.makeNode("/root/send/savedata/qestcntslist");
  1773. model.makeNode("/root/send/savedata/qestitemchoi");
  1774. copyNodesetType("/root/send/savedata/qestcntslist", "/root/main/qestcntslist");
  1775. model.makeValue("/root/send/savedata/qpapritemlist", grd_qestkindlist2.getUpdateData());
  1776. } else if (itemkindcd == "10") {
  1777. model.setValue("/root/main/qestcntattr/qestitemanswcnt", 11);
  1778. model.resetInstanceNode("/root/main/newitemchoilist/qestitemchoi");
  1779. grd_qestkindlist2.refresh();
  1780. for (var i = 0; i <= 10; i++) {
  1781. var k = i+1;
  1782. model.setValue("/root/main/newitemchoilist/case9/qestanswchoi/qestitemanswchoicnts"+k, i+"점");
  1783. model.setValue("/root/main/newitemchoilist/case9/pnt/divpnt"+k, (i*10));
  1784. grd_qestkindlist2.addRow(false);
  1785. model.setValue("/root/main/newitemchoilist/qestitemchoi["+ grd_qestkindlist2.row +"]/answchoiseqno", i);
  1786. model.setValue("/root/main/newitemchoilist/qestitemchoi["+ grd_qestkindlist2.row +"]/qestitemanswcnts" , model.getValue("/root/main/newitemchoilist/case9/qestanswchoi/qestitemanswchoicnts"+k));
  1787. model.setValue("/root/main/newitemchoilist/qestitemchoi["+ grd_qestkindlist2.row +"]/divpnt" , model.getValue("/root/main/newitemchoilist/case9/pnt/divpnt"+k));
  1788. model.setValue("/root/main/newitemchoilist/qestitemchoi["+ grd_qestkindlist2.row +"]/qestseqno" , model.getValue("/root/main/newitemchoilist/case9/qestseqno"));
  1789. model.setValue("/root/main/newitemchoilist/qestitemchoi["+ grd_qestkindlist2.row +"]/qestitemgrupseqno" , model.getValue("/root/main/newitemchoilist/case678/qestitemgrupseqno"));
  1790. model.setValue("/root/main/newitemchoilist/qestitemchoi["+ grd_qestkindlist2.row +"]/qpaprseqno" , model.getValue("/root/main/newitemchoilist/case678/qpaprseqno"));
  1791. model.setValue("/root/main/newitemchoilist/qestitemchoi["+ grd_qestkindlist2.row +"]/norpaddyn", "");
  1792. }
  1793. model.makeNode("/root/send/savedata/qestcntslist");
  1794. model.makeNode("/root/send/savedata/case9");
  1795. copyNodesetType("/root/send/savedata/qestcntslist","/root/main/qestcntslist");
  1796. model.makeValue("/root/send/savedata/case9",grd_qestkindlist2.getUpdateData());
  1797. } else {
  1798. alert("오류");
  1799. }
  1800. if (submit("TXCIT00603")) {
  1801. messageBox("설문 내용 저장이", "I002");
  1802. }
  1803. return;
  1804. model.removenodeset("/root/send/savedata");
  1805. submit("TRCIT00601");
  1806. fNewMsg();
  1807. model.refresh();
  1808. ]]>
  1809. </script>
  1810. </button>
  1811. <line id="line43" class="line_2" style="x1:5px; y1:58px; x2:955px; y2:58px; "/>
  1812. <caption id="caption38" class="cell_1" style="left:5; top:36; width:90; height:23; ">문항그룹명</caption>
  1813. <input id="ipt_qestitemgrupseqno" ref="/root/main/qestcntslist/qestitemgrupnm" disabled="true" style="left:98; top:37; width:362; height:19; "/>
  1814. <caption id="caption91" class="cell_1" style="left:475; top:36; width:90; height:23; ">설문 요약어</caption>
  1815. <input id="ipt_case2_qestsmmcnts" ref="/root/main/qestcntslist/qestsmmcnts" style="left:568px; top:37px; width:387px; height:19px; "/>
  1816. <line id="line44" class="line_2" style="x1:5px; y1:109px; x2:955px; y2:109px; "/>
  1817. <caption id="caption92" class="cell_1" style="left:5; top:60; width:90; height:50; ">설문 내용</caption>
  1818. <textarea id="tar_case2_qestcnts" ref="/root/main/qestcntslist/qestcnts" style="left:98px; top:61px; width:857px; height:47px; "/>
  1819. <line id="line45" class="line_2" style="x1:5px; y1:133px; x2:955px; y2:133px; "/>
  1820. <caption id="caption93" class="cell_1" style="left:5; top:111; width:90; height:23; ">설문문항 종류</caption>
  1821. <select1 id="rdo_qestkindcd2" ref="/root/main/qestcntslist/itemkindcd" appearance="full" cols="10" overflow="visible" style="left:98px; top:114px; width:857px; height:13px; border-style:none; ">
  1822. <choices>
  1823. <itemset nodeset="/root/init/C0101list/C0101">
  1824. <label ref="cdnm"/>
  1825. <value ref="cdid"/>
  1826. </itemset>
  1827. </choices>
  1828. <script type="javascript" ev:event="xforms-value-changed">
  1829. <![CDATA[
  1830. // 설문 목록에서 상세보기시 문항관리 코드에 맞춰 화면 전환
  1831. var kindcd = model.getValue("/root/main/qestcntslist/itemkindcd");
  1832. fSetQestKind(kindcd);
  1833. ]]>
  1834. </script>
  1835. </select1>
  1836. <line id="line46" class="line_3" style="x1:5px; y1:157px; x2:955px; y2:157px; "/>
  1837. <caption id="caption94" class="cell_1" style="left:5; top:135; width:90; height:23; ">등록부서</caption>
  1838. <input id="ipt_case2_qestrgstdeptcd" ref="/root/main/qestcntslist/qestrgstdeptnm" disabled="true" style="left:98; top:136; width:200; height:19; "/>
  1839. <button id="button11" class="icon_search" style="left:301; top:136; width:15px; height:16px; ">
  1840. <caption/>
  1841. <script type="javascript" ev:event="DOMActivate">
  1842. <![CDATA[
  1843. var search_condition = "deptnm";
  1844. var search_term = model.getValue("/root/main/qestcntslist/qestrgstdeptnm");
  1845. var receive_deptcd_path = "/root/main/qestcntslist/qestrgstdeptcd";
  1846. var receive_deptnm_path = "/root/main/qestcntslist/qestrgstdeptnm";
  1847. cczfOpenSelectDept(search_condition, search_term, receive_deptcd_path, receive_deptnm_path);
  1848. ]]>
  1849. </script>
  1850. </button>
  1851. <caption id="caption95" class="cell_1" style="left:322; top:135; width:90; height:23; ">등록자</caption>
  1852. <input id="ipt_case2_qestrgstid" ref="/root/main/qestcntslist/qestrgstnm" disabled="true" style="left:415; top:136; width:200px; height:19px; "/>
  1853. <button id="button12" class="icon_search" style="left:618; top:136; width:16; height:16; ">
  1854. <caption/>
  1855. <script type="javascript" ev:event="DOMActivate">
  1856. <![CDATA[
  1857. var search_condition = "empnm";
  1858. var search_term = model.getValue("/root/main/qestcntslist/qestrgstnm");
  1859. var receive_empid_path = "/root/main/qestcntslist/qestrgstid";
  1860. var receive_empnm_path = "/root/main/qestcntslist/qestrgstnm";
  1861. var receive_deptcd_path = "/root/main/qestcntslist/qestrgstdeptcd";
  1862. var receive_deptnm_path = "/root/main/qestcntslist/qestrgstdeptnm";
  1863. setParameter("search_condition", search_condition);
  1864. setParameter("search_term", search_term);
  1865. setParameter("receive_empid_path", receive_empid_path);
  1866. setParameter("receive_empnm_path", receive_empnm_path);
  1867. setParameter("receive_deptcd_path", receive_deptcd_path);
  1868. setParameter("receive_deptnm_path", receive_deptnm_path);
  1869. modal("SPCCM00400")
  1870. clearParameter("search_condition");
  1871. clearParameter("search_term");
  1872. clearParameter("receive_empid_path");
  1873. clearParameter("receive_empnm_path");
  1874. clearParameter("receive_deptcd_path");
  1875. clearParameter("receive_deptnm_path");
  1876. ]]>
  1877. </script>
  1878. </button>
  1879. <caption id="caption96" class="cell_1" style="left:639; top:135; width:90; height:23; ">등록일</caption>
  1880. <input id="ipt_case2_qestrgstdd" ref="/root/main/qestcntslist/qestrgstdd" inputtype="date" style="left:732; top:136; width:120; height:19; "/>
  1881. <switch id="switch3" style="left:0px; top:159px; width:960px; height:194px; ">
  1882. <case id="case12" style="left:0px; top:0px; width:970px; height:203px; ">
  1883. <line id="line47" class="line_1" style="x1:5px; y1:26px; x2:955; y2:26px; "/>
  1884. <caption id="caption97" class="tit_2" style="left:5; top:10; width:74px; height:14px; ">단일 선택</caption>
  1885. <caption id="caption98" class="cell_1" style="left:5; top:31; width:90; height:23; ">보기 개수</caption>
  1886. <select1 id="cmb_qestitemanswcnt" ref="/root/main/qestcntslist/qestitemanswcnt" appearance="minimal" itemcount="19" style="left:98px; top:32px; width:113px; height:19px; ">
  1887. <choices>
  1888. <itemset nodeset="/root/init/answchoicntlist/qestitemanswchoilist">
  1889. <label ref="qestitemanswchoicntnm"/>
  1890. <value ref="qestitemanswchoicntcd"/>
  1891. </itemset>
  1892. </choices>
  1893. <script type="javascript" ev:event="xforms-value-changed">
  1894. <![CDATA[
  1895. fSetGrdItem();
  1896. ]]>
  1897. </script>
  1898. </select1>
  1899. <caption id="caption99" class="cell_1" style="left:214px; top:31px; width:90px; height:23px; ">보기 열 개수</caption>
  1900. <select1 id="combo2" ref="/root/main/qestcntslist/qestitemanswchoicolcnt" appearance="minimal" style="left:307px; top:32px; width:113px; height:19px; ">
  1901. <choices>
  1902. <item>
  1903. <label/>
  1904. <value>0</value>
  1905. </item>
  1906. <item>
  1907. <label>1개</label>
  1908. <value>1</value>
  1909. </item>
  1910. <item>
  1911. <label>2개</label>
  1912. <value>2</value>
  1913. </item>
  1914. <item>
  1915. <label>3개</label>
  1916. <value>3</value>
  1917. </item>
  1918. <item>
  1919. <label>4개</label>
  1920. <value>4</value>
  1921. </item>
  1922. <item>
  1923. <label>5개</label>
  1924. <value>5</value>
  1925. </item>
  1926. </choices>
  1927. </select1>
  1928. <datagrid id="grd_case11_qestchoicntslist" nodeset="/root/main/newitemchoilist/case123/qestchoicntslist" allowuserresize="false" caption="설문 문항 보기^서술입력 추가 여부" colsep="^" colwidth="772, 140, 0, 0, 0, 0, 0" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:5px; top:55px; width:950px; height:138px; ">
  1929. <col ref="qestitemanswcnts" type="input"/>
  1930. <col checkvalue="Y,N" ref="descinptyn" type="checkbox"/>
  1931. <col ref="answseqno" visibility="hidden"/>
  1932. <col ref="qestseqno" visibility="hidden"/>
  1933. <col ref="qestitemgrupseqno" visibility="hidden"/>
  1934. <col ref="qpaprseqno" visibility="hidden"/>
  1935. <col ref="kindcd" visibility="hidden"/>
  1936. </datagrid>
  1937. </case>
  1938. <case id="case13" style="left:0px; top:0px; width:970px; height:203px; ">
  1939. <line id="line48" class="line_1" style="x1:5px; y1:26px; x2:955px; y2:26px; "/>
  1940. <caption id="caption100" class="tit_2" style="left:5; top:10; width:74px; height:14px; ">다중 선택</caption>
  1941. <line id="line49" class="line_2" style="x1:5px; y1:53px; x2:955px; y2:53px; "/>
  1942. <caption id="caption101" class="cell_1" style="left:5; top:31; width:90; height:23; ">보기 개수</caption>
  1943. <select1 id="cmb_case12_qestitemanswcnt" ref="/root/main/qestcntslist/qestitemanswcnt" appearance="minimal" itemcount="19" style="left:98px; top:32px; width:113px; height:19px; ">
  1944. <choices>
  1945. <itemset nodeset="/root/init/answchoicntlist/qestitemanswchoilist">
  1946. <label ref="qestitemanswchoicntnm"/>
  1947. <value ref="qestitemanswchoicntcd"/>
  1948. </itemset>
  1949. </choices>
  1950. <script type="javascript" ev:event="xforms-value-changed">
  1951. <![CDATA[
  1952. fSetGrdItem();
  1953. ]]>
  1954. </script>
  1955. </select1>
  1956. <caption id="caption102" class="cell_1" style="left:214px; top:31px; width:90px; height:23px; ">보기 열 개수</caption>
  1957. <select1 id="combo4" ref="/root/main/qestcntslist/qestitemanswchoicolcnt" appearance="minimal" style="left:307px; top:32px; width:113px; height:19px; ">
  1958. <choices>
  1959. <item>
  1960. <label>1개</label>
  1961. <value>1</value>
  1962. </item>
  1963. <item>
  1964. <label>2개</label>
  1965. <value>2</value>
  1966. </item>
  1967. <item>
  1968. <label>3개</label>
  1969. <value>3</value>
  1970. </item>
  1971. <item>
  1972. <label>4개</label>
  1973. <value>4</value>
  1974. </item>
  1975. <item>
  1976. <label>5개</label>
  1977. <value>5</value>
  1978. </item>
  1979. </choices>
  1980. </select1>
  1981. <datagrid id="grd_case12_qestchoicntslist" nodeset="/root/main/newitemchoilist/case123/qestchoicntslist" allowuserresize="false" caption="설문 문항 보기^서술입력 추가 여부" colsep="^" colwidth="772, 140, 0" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:5px; top:55px; width:950px; height:138px; ">
  1982. <col ref="qestitemanswcnts" type="input"/>
  1983. <col checkvalue="Y,N" ref="descinptyn" type="checkbox"/>
  1984. <col ref="answseqno" visibility="hidden"/>
  1985. </datagrid>
  1986. </case>
  1987. <case id="case14" style="left:0px; top:0px; width:970px; height:203px; ">
  1988. <line id="line50" class="line_1" style="x1:5px; y1:26px; x2:955px; y2:26px; "/>
  1989. <caption id="caption103" class="tit_2" style="left:5px; top:10px; width:84px; height:14px; ">순위 선택</caption>
  1990. <caption id="caption104" class="cell_1" style="left:5; top:31; width:90; height:23; ">보기 개수</caption>
  1991. <select1 id="cmb_case13_qestitemanswcnt" ref="/root/main/qestcntslist/qestitemanswcnt" appearance="minimal" itemcount="19" style="left:98px; top:32px; width:113px; height:19px; ">
  1992. <choices>
  1993. <itemset nodeset="/root/init/answchoicntlist/qestitemanswchoilist">
  1994. <label ref="qestitemanswchoicntnm"/>
  1995. <value ref="qestitemanswchoicntcd"/>
  1996. </itemset>
  1997. </choices>
  1998. <script type="javascript" ev:event="xforms-value-changed">
  1999. <![CDATA[
  2000. fSetGrdItem();
  2001. ]]>
  2002. </script>
  2003. </select1>
  2004. <caption id="caption105" class="cell_1" style="left:214px; top:31px; width:90px; height:23px; ">보기 열 개수</caption>
  2005. <select1 id="combo6" ref="/root/main/qestcntslist/qestitemanswchoicolcnt" appearance="minimal" style="left:307px; top:32px; width:113px; height:19px; ">
  2006. <choices>
  2007. <item>
  2008. <label>1개</label>
  2009. <value>1</value>
  2010. </item>
  2011. <item>
  2012. <label>2개</label>
  2013. <value>2</value>
  2014. </item>
  2015. <item>
  2016. <label>3개</label>
  2017. <value>3</value>
  2018. </item>
  2019. <item>
  2020. <label>4개</label>
  2021. <value>4</value>
  2022. </item>
  2023. <item>
  2024. <label>5개</label>
  2025. <value>5</value>
  2026. </item>
  2027. </choices>
  2028. </select1>
  2029. <caption id="caption106" class="cell_1" style="left:423; top:31; width:90; height:23; ">필수입력 개수</caption>
  2030. <select1 id="combo7" ref="/root/main/qestcntslist/essnanswcnt" appearance="minimal" itemcount="15" style="left:516px; top:32px; width:113px; height:19px; ">
  2031. <choices>
  2032. <itemset nodeset="/root/init/answchoicntlist/essnanswlist">
  2033. <label ref="essnanswnm"/>
  2034. <value ref="essnanswcd"/>
  2035. </itemset>
  2036. </choices>
  2037. </select1>
  2038. <datagrid id="grd_case13_qestchoicntslist" nodeset="/root/main/newitemchoilist/case123/qestchoicntslist" allowuserresize="false" caption="설문 문항 보기^서술입력 추가 여부" colsep="^" colwidth="772, 140, 0" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:5px; top:55px; width:950px; height:138px; ">
  2039. <col ref="qestitemanswcnts" type="input"/>
  2040. <col checkvalue="Y,N" ref="descinptyn" type="checkbox"/>
  2041. <col ref="answseqno" visibility="hidden"/>
  2042. </datagrid>
  2043. </case>
  2044. <case id="case15" style="left:0px; top:0px; width:970px; height:203px; ">
  2045. <line id="line51" class="line_1" style="x1:5px; y1:26px; x2:955px; y2:26px; "/>
  2046. <caption id="caption107" class="tit_2" style="left:5px; top:10px; width:74px; height:14px; ">단답 입력</caption>
  2047. <line id="line52" class="line_3" style="x1:5px; y1:53px; x2:955px; y2:53px; "/>
  2048. <caption id="caption108" class="cell_1" style="left:5; top:31; width:90; height:23; ">보기</caption>
  2049. <input id="input30" ref="/root/main/newitemchoilist/case45/qestitemanswcnts" maxlength="20" style="left:98px; top:32px; width:178px; height:19px; "/>
  2050. <caption id="caption109" style="left:283px; top:35px; width:91px; height:13px; ">( 입력 받는 공간</caption>
  2051. <bool id="bool1" checkvalue="Y,N" overflow="visible" appearance="full" ref="/root/main/newitemchoilist/case45/figrinptyn" style="left:378px; top:35px; width:13px; height:13px; border-style:none; "/>
  2052. <caption id="caption110" style="left:394px; top:35px; width:66px; height:13px; ">숫자만 입력</caption>
  2053. <input id="input31" ref="/root/main/newitemchoilist/case45/answaddcnts" maxlength="20" style="left:468px; top:32px; width:148px; height:19px; "/>
  2054. <caption id="caption111" style="left:621px; top:35px; width:10px; height:14px; ">(</caption>
  2055. <bool id="bool2" checkvalue="Y,N" overflow="visible" appearance="full" ref="/root/main/newitemchoilist/case45/addinptyn" style="left:633px; top:35px; width:13px; height:13px; border-style:none; "/>
  2056. <caption id="caption112" style="left:650px; top:35px; width:82px; height:14px; ">추가 입력 여부</caption>
  2057. <bool id="bool3" checkvalue="Y,N" overflow="visible" appearance="full" ref="/root/main/newitemchoilist/case45/addflgrinptyn" style="left:735px; top:35px; width:13px; height:13px; border-style:none; "/>
  2058. <caption id="caption113" style="left:751px; top:35px; width:75px; height:13px; ">숫자만 입력 )</caption>
  2059. <caption id="caption114" style="left:98px; top:59px; width:149px; height:20px; ">예) 일주일 동안 ( )회 운동</caption>
  2060. </case>
  2061. <case id="case16">
  2062. <line id="line53" class="line_1" style="x1:5px; y1:26px; x2:955; y2:26px; "/>
  2063. <caption id="caption115" class="tit_2" style="left:5px; top:10px; width:74px; height:14px; ">서술 입력</caption>
  2064. <line id="line54" class="line_3" style="x1:5px; y1:53px; x2:955; y2:53px; "/>
  2065. <caption id="caption116" class="cell_1" style="left:5; top:31; width:90; height:23; ">필수입력여부</caption>
  2066. <bool id="bool4" checkvalue="Y,N" overflow="visible" appearance="full" ref="/root/main/newitemchoilist/case45/essninptyn" style="left:98px; top:35px; width:13px; height:13px; border-style:none; "/>
  2067. <caption id="caption117" style="left:114px; top:35px; width:54px; height:13px; ">필수 입력</caption>
  2068. </case>
  2069. <case id="case17" selected="true">
  2070. <line id="line55" class="line_1" style="x1:5px; y1:26px; x2:950px; y2:26px; "/>
  2071. <caption id="caption118" class="tit_2" style="left:5px; top:10px; width:74px; height:14px; ">4점 척도</caption>
  2072. <line id="line56" class="line_2" style="x1:5px; y1:53px; x2:950px; y2:53px; "/>
  2073. <caption id="caption119" class="cell_1" style="left:5; top:31; width:90; height:23; ">보기 1</caption>
  2074. <input id="input32" ref="/root/main/newitemchoilist/case678/qestanswchoi/qestitemanswcnts1" maxlength="30" style="left:98px; top:32px; width:310; height:19px; "/>
  2075. <caption id="caption120" style="left:411; top:34px; width:26px; height:17px; ">점수</caption>
  2076. <input id="input33" ref="/root/main/newitemchoilist/case678/pnt/divpnt1" maxlength="4" format="#" style="left:440; top:32px; width:40; height:19px; "/>
  2077. <caption id="caption121" class="cell_1" style="left:490; top:31; width:90; height:23; ">보기 3</caption>
  2078. <input id="input34" ref="/root/main/newitemchoilist/case678/qestanswchoi/qestitemanswcnts3" maxlength="30" style="left:583px; top:32px; width:295px; height:19px; "/>
  2079. <caption id="caption122" style="left:881px; top:34px; width:26px; height:17px; ">점수</caption>
  2080. <input id="input35" ref="/root/main/newitemchoilist/case678/pnt/divpnt3" maxlength="4" format="#.#" style="left:910px; top:32px; width:40px; height:19px; "/>
  2081. <line id="line57" class="line_2" style="x1:5px; y1:77px; x2:950px; y2:77px; "/>
  2082. <caption id="caption123" class="cell_1" style="left:5; top:55; width:90; height:23; ">보기 2</caption>
  2083. <input id="input36" ref="/root/main/newitemchoilist/case678/qestanswchoi/qestitemanswcnts2" maxlength="30" style="left:98px; top:56px; width:310; height:19px; "/>
  2084. <caption id="caption124" style="left:411; top:58px; width:26px; height:17px; ">점수</caption>
  2085. <input id="input37" ref="/root/main/newitemchoilist/case678/pnt/divpnt2" maxlength="4" format="#.#" style="left:440; top:56px; width:40; height:19px; "/>
  2086. <caption id="caption125" class="cell_1" style="left:490; top:55; width:90; height:23; ">보기 4</caption>
  2087. <input id="input38" ref="/root/main/newitemchoilist/case678/qestanswchoi/qestitemanswcnts4" maxlength="30" style="left:583px; top:56px; width:295px; height:19px; "/>
  2088. <caption id="caption126" style="left:881px; top:58px; width:26px; height:17px; ">점수</caption>
  2089. <input id="input39" ref="/root/main/newitemchoilist/case678/pnt/divpnt4" maxlength="4" format="#.#" style="left:910px; top:56px; width:40px; height:19px; "/>
  2090. <line id="line58" class="line_3" style="x1:5px; y1:101px; x2:950px; y2:101px; "/>
  2091. <caption id="caption127" class="cell_1" style="left:5px; top:79px; width:90px; height:23px; ">무응답 추가</caption>
  2092. <bool id="bool5" disabled="true" checkvalue="Y,N" overflow="visible" appearance="full" ref="/root/main/newitemchoilist/case678/norpaddyn" style="left:98px; top:83px; width:13; height:13; border-style:none; "/>
  2093. <caption id="caption128" style="left:114px; top:83px; width:54px; height:13px; ">해당 없음</caption>
  2094. </case>
  2095. <case id="case18">
  2096. <line id="line59" class="line_1" style="x1:5px; y1:26px; x2:950px; y2:26px; "/>
  2097. <caption id="caption129" class="tit_2" style="left:5px; top:10px; width:74px; height:14px; ">5점 척도</caption>
  2098. <line id="line60" class="line_2" style="x1:5px; y1:53px; x2:950px; y2:53px; "/>
  2099. <caption id="caption130" class="cell_1" style="left:5; top:31; width:90; height:23; ">보기 1</caption>
  2100. <input id="input40" ref="/root/main/newitemchoilist/case678/qestanswchoi/qestitemanswcnts1" maxlength="30" style="left:98px; top:32px; width:310; height:19px; "/>
  2101. <caption id="caption131" style="left:411; top:34px; width:26px; height:17px; ">점수</caption>
  2102. <input id="input41" ref="/root/main/newitemchoilist/case678/pnt/divpnt1" maxlength="4" format="#" style="left:440; top:32px; width:40; height:19px; "/>
  2103. <caption id="caption132" class="cell_1" style="left:490; top:31; width:90; height:23; ">보기 4</caption>
  2104. <input id="input42" ref="/root/main/newitemchoilist/case678/qestanswchoi/qestitemanswcnts4" maxlength="30" style="left:583px; top:32px; width:295px; height:19px; "/>
  2105. <caption id="caption133" style="left:881px; top:34px; width:26px; height:17px; ">점수</caption>
  2106. <input id="input43" ref="/root/main/newitemchoilist/case678/pnt/divpnt4" maxlength="4" format="#.#" style="left:910px; top:32px; width:40px; height:19px; "/>
  2107. <line id="line61" class="line_2" style="x1:5px; y1:77px; x2:950px; y2:77px; "/>
  2108. <caption id="caption134" class="cell_1" style="left:5; top:55; width:90; height:23; ">보기 2</caption>
  2109. <input id="input44" ref="/root/main/newitemchoilist/case678/qestanswchoi/qestitemanswcnts2" maxlength="30" style="left:98px; top:56px; width:310; height:19px; "/>
  2110. <caption id="caption135" style="left:411; top:58px; width:26px; height:17px; ">점수</caption>
  2111. <input id="input45" ref="/root/main/newitemchoilist/case678/pnt/divpnt2" maxlength="4" format="#.#" style="left:440; top:56px; width:40; height:19px; "/>
  2112. <caption id="caption136" class="cell_1" style="left:490; top:55; width:90; height:23; ">보기 5</caption>
  2113. <input id="input46" ref="/root/main/newitemchoilist/case678/qestanswchoi/qestitemanswcnts5" maxlength="30" style="left:583px; top:56px; width:295px; height:19px; "/>
  2114. <caption id="caption137" style="left:881px; top:58px; width:26px; height:17px; ">점수</caption>
  2115. <input id="input47" ref="/root/main/newitemchoilist/case678/pnt/divpnt5" maxlength="4" format="#.#" style="left:910px; top:56px; width:40px; height:19px; "/>
  2116. <line id="line62" class="line_3" style="x1:5px; y1:101px; x2:950px; y2:101px; "/>
  2117. <caption id="caption138" class="cell_1" style="left:5px; top:79px; width:90px; height:23px; ">보기 3</caption>
  2118. <input id="input48" ref="/root/main/newitemchoilist/case678/qestanswchoi/qestitemanswcnts3" maxlength="30" style="left:98px; top:79px; width:310; height:19px; "/>
  2119. <caption id="caption139" style="left:411; top:81px; width:26px; height:17px; ">점수</caption>
  2120. <input id="input49" ref="/root/main/newitemchoilist/case678/pnt/divpnt3" maxlength="4" format="#.#" style="left:440; top:80; width:40; height:19px; "/>
  2121. <caption id="caption140" class="cell_1" style="left:490; top:79; width:90; height:23; ">무응답 추가</caption>
  2122. <bool id="bool6" disabled="true" checkvalue="Y,N" overflow="visible" appearance="full" ref="/root/main/newitemchoilist/case678/norpaddyn" style="left:583; top:83px; width:13px; height:13px; border-style:none; "/>
  2123. <caption id="caption141" style="left:599px; top:83px; width:50px; height:13px; ">해당없음</caption>
  2124. </case>
  2125. <case id="case19">
  2126. <line id="line63" class="line_1" style="x1:5px; y1:26px; x2:950px; y2:26px; "/>
  2127. <caption id="caption142" class="tit_2" style="left:5px; top:10px; width:74px; height:14px; ">7점 척도</caption>
  2128. <line id="line64" class="line_2" style="x1:0px; y1:53px; x2:950px; y2:53px; "/>
  2129. <caption id="caption143" class="cell_1" style="left:5; top:31; width:90; height:23; ">보기 1</caption>
  2130. <input id="input50" ref="/root/main/newitemchoilist/case678/qestanswchoi/qestitemanswcnts1" maxlength="30" style="left:98px; top:32px; width:310; height:19px; "/>
  2131. <caption id="caption144" style="left:411px; top:34px; width:26px; height:17px; ">점수</caption>
  2132. <input id="input51" ref="/root/main/newitemchoilist/case678/pnt/divpnt1" maxlength="4" format="#" style="left:440px; top:32px; width:40px; height:19px; "/>
  2133. <caption id="caption145" class="cell_1" style="left:490px; top:31px; width:90px; height:23px; ">보기 5</caption>
  2134. <input id="input52" ref="/root/main/newitemchoilist/case678/qestanswchoi/qestitemanswcnts5" maxlength="30" style="left:583px; top:32px; width:295px; height:19px; "/>
  2135. <caption id="caption146" style="left:881px; top:34px; width:26px; height:17px; ">점수</caption>
  2136. <input id="input53" ref="/root/main/newitemchoilist/case678/pnt/divpnt5" maxlength="4" format="#.#" style="left:910px; top:32px; width:40px; height:19px; "/>
  2137. <line id="line65" class="line_2" style="x1:5px; y1:77px; x2:950px; y2:77px; "/>
  2138. <caption id="caption147" class="cell_1" style="left:5; top:55; width:90; height:23; ">보기 2</caption>
  2139. <input id="input54" ref="/root/main/newitemchoilist/case678/qestanswchoi/qestitemanswcnts2" maxlength="30" style="left:98px; top:56px; width:310px; height:19px; "/>
  2140. <caption id="caption149" style="left:411px; top:58px; width:26px; height:17px; ">점수</caption>
  2141. <input id="input55" ref="/root/main/newitemchoilist/case678/pnt/divpnt2" maxlength="4" format="#.#" style="left:440px; top:56px; width:40px; height:19px; "/>
  2142. <caption id="caption150" class="cell_1" style="left:490px; top:55px; width:90px; height:23px; ">보기 6</caption>
  2143. <input id="input56" ref="/root/main/newitemchoilist/case678/qestanswchoi/qestitemanswcnts6" maxlength="30" style="left:583px; top:56px; width:295px; height:19px; "/>
  2144. <caption id="caption151" style="left:881px; top:58px; width:26px; height:17px; ">점수</caption>
  2145. <input id="input57" ref="/root/main/newitemchoilist/case678/pnt/divpnt6" maxlength="4" format="#.#" style="left:910px; top:56px; width:40px; height:19px; "/>
  2146. <line id="line66" class="line_2" style="x1:5px; y1:101px; x2:950px; y2:101px; "/>
  2147. <caption id="caption152" class="cell_1" style="left:5px; top:79px; width:90px; height:23px; ">보기 3</caption>
  2148. <input id="input58" ref="/root/main/newitemchoilist/case678/qestanswchoi/qestitemanswcnts3" maxlength="30" style="left:98px; top:79px; width:310px; height:19px; "/>
  2149. <caption id="caption153" style="left:411px; top:81px; width:26px; height:17px; ">점수</caption>
  2150. <input id="input59" ref="/root/main/newitemchoilist/case678/pnt/divpnt3" maxlength="4" format="#.#" style="left:440px; top:80px; width:40px; height:19px; "/>
  2151. <caption id="caption154" class="cell_1" style="left:490px; top:79px; width:90px; height:23px; ">보기 7</caption>
  2152. <input id="input60" ref="/root/main/newitemchoilist/case678/qestanswchoi/qestitemanswcnts7" maxlength="30" style="left:583px; top:80px; width:295px; height:19px; "/>
  2153. <caption id="caption155" style="left:881px; top:81px; width:26px; height:17px; ">점수</caption>
  2154. <input id="input61" ref="/root/main/newitemchoilist/case678/pnt/divpnt7" maxlength="4" format="#.#" style="left:910px; top:80px; width:40px; height:19px; "/>
  2155. <line id="line67" class="line_3" style="x1:5px; y1:125px; x2:950px; y2:125px; "/>
  2156. <caption id="caption156" class="cell_1" style="left:5; top:103; width:90; height:23; ">보기 4</caption>
  2157. <input id="input62" ref="/root/main/newitemchoilist/case678/qestanswchoi/qestitemanswcnts4" maxlength="30" style="left:98px; top:104px; width:310px; height:19px; "/>
  2158. <caption id="caption157" style="left:411px; top:106px; width:26px; height:17px; ">점수</caption>
  2159. <input id="input63" ref="/root/main/newitemchoilist/case678/pnt/divpnt4" maxlength="4" format="#.#" style="left:440px; top:104px; width:40px; height:19px; "/>
  2160. <caption id="caption158" class="cell_1" style="left:490px; top:103px; width:90px; height:23px; ">무응답 추가</caption>
  2161. <bool id="bool7" disabled="true" checkvalue="Y,N" overflow="visible" appearance="full" ref="/root/main/newitemchoilist/case678/norpaddyn" style="left:583px; top:107px; width:13px; height:13px; border-style:none; "/>
  2162. <caption id="caption159" style="left:599; top:107; width:50px; height:13; ">해당없음</caption>
  2163. </case>
  2164. <case id="case20">
  2165. <line id="line68" style="x1:45px; y1:40px; x2:45px; y2:110px; "/>
  2166. <line id="line69" style="x1:910px; y1:40; x2:910px; y2:110; "/>
  2167. <line id="line70" style="x1:45px; y1:75px; x2:910px; y2:75px; "/>
  2168. <line id="line71" style="x1:131px; y1:55px; x2:131px; y2:100px; "/>
  2169. <line id="line72" style="x1:218px; y1:55px; x2:218px; y2:100px; "/>
  2170. <line id="line73" style="x1:303px; y1:55px; x2:303px; y2:100px; "/>
  2171. <line id="line74" style="x1:390px; y1:55px; x2:390px; y2:100px; "/>
  2172. <line id="line75" style="x1:475px; y1:55px; x2:475px; y2:100px; "/>
  2173. <line id="line76" style="x1:562px; y1:55px; x2:562px; y2:100px; "/>
  2174. <line id="line77" style="x1:647px; y1:55px; x2:647px; y2:100px; "/>
  2175. <line id="line78" style="x1:734px; y1:55px; x2:734px; y2:100px; "/>
  2176. <line id="line79" style="x1:819px; y1:55px; x2:819px; y2:100px; "/>
  2177. <select1 id="radio12" ref="/root/main/newitemchoilist/case9/pnt/divpnt1" appearance="full" overflow="visible" style="left:37px; top:67px; width:15px; height:20px; border-style:none; ">
  2178. <choices>
  2179. <item>
  2180. <label/>
  2181. <value>0.0</value>
  2182. </item>
  2183. </choices>
  2184. </select1>
  2185. <select1 id="radio13" ref="/root/main/newitemchoilist/case9/pnt/divpnt2" appearance="full" overflow="visible" style="left:123px; top:68px; width:15px; height:20px; border-style:none; ">
  2186. <choices>
  2187. <item>
  2188. <label/>
  2189. <value>1.0</value>
  2190. </item>
  2191. </choices>
  2192. </select1>
  2193. <select1 id="radio14" ref="/root/main/newitemchoilist/case9/pnt/divpnt3" appearance="full" overflow="visible" style="left:210px; top:67px; width:15px; height:20px; border-style:none; ">
  2194. <choices>
  2195. <item>
  2196. <label/>
  2197. <value>2.0</value>
  2198. </item>
  2199. </choices>
  2200. </select1>
  2201. <select1 id="radio15" ref="/root/main/newitemchoilist/case9/pnt/divpnt4" appearance="full" overflow="visible" style="left:295px; top:67px; width:15px; height:20px; border-style:none; ">
  2202. <choices>
  2203. <item>
  2204. <label/>
  2205. <value>3.0</value>
  2206. </item>
  2207. </choices>
  2208. </select1>
  2209. <select1 id="radio16" ref="/root/main/newitemchoilist/case9/pnt/divpnt5" appearance="full" overflow="visible" style="left:382px; top:67px; width:15px; height:20px; border-style:none; ">
  2210. <choices>
  2211. <item>
  2212. <label/>
  2213. <value>4.0</value>
  2214. </item>
  2215. </choices>
  2216. </select1>
  2217. <select1 id="radio17" ref="/root/main/newitemchoilist/case9/pnt/divpnt6" appearance="full" overflow="visible" style="left:468px; top:67px; width:15px; height:20px; border-style:none; ">
  2218. <choices>
  2219. <item>
  2220. <label/>
  2221. <value>5.0</value>
  2222. </item>
  2223. </choices>
  2224. </select1>
  2225. <select1 id="radio18" ref="/root/main/newitemchoilist/case9/pnt/divpnt7" appearance="full" overflow="visible" style="left:555px; top:67px; width:15px; height:20px; border-style:none; ">
  2226. <choices>
  2227. <item>
  2228. <label/>
  2229. <value>6.0</value>
  2230. </item>
  2231. </choices>
  2232. </select1>
  2233. <select1 id="radio19" ref="/root/main/newitemchoilist/case9/pnt/divpnt8" appearance="full" overflow="visible" style="left:640px; top:67px; width:15px; height:20px; border-style:none; ">
  2234. <choices>
  2235. <item>
  2236. <label/>
  2237. <value>7.0</value>
  2238. </item>
  2239. </choices>
  2240. </select1>
  2241. <select1 id="radio20" ref="/root/main/newitemchoilist/case9/pnt/divpnt9" appearance="full" overflow="visible" style="left:727px; top:67px; width:15px; height:20px; border-style:none; ">
  2242. <choices>
  2243. <item>
  2244. <label/>
  2245. <value>8.0</value>
  2246. </item>
  2247. </choices>
  2248. </select1>
  2249. <select1 id="radio21" ref="/root/main/newitemchoilist/case9/pnt/divpnt10" appearance="full" overflow="visible" style="left:812px; top:67px; width:15px; height:20px; border-style:none; ">
  2250. <choices>
  2251. <item>
  2252. <label/>
  2253. <value>9.0</value>
  2254. </item>
  2255. </choices>
  2256. </select1>
  2257. <select1 id="radio22" ref="/root/main/newitemchoilist/case9/pnt/divpnt11" appearance="full" overflow="visible" style="left:903px; top:67px; width:15px; height:20px; border-style:none; ">
  2258. <choices>
  2259. <item>
  2260. <label/>
  2261. <value>10.0</value>
  2262. </item>
  2263. </choices>
  2264. </select1>
  2265. <caption id="caption160" style="left:20px; top:115px; width:54px; height:28px; ">
  2266. <![CDATA[ 0
  2267. 가장 나쁨]]>
  2268. </caption>
  2269. <caption id="caption161" style="left:125px; top:115px; width:10px; height:20px; ">1</caption>
  2270. <caption id="caption162" style="left:214px; top:115px; width:10px; height:20px; ">2</caption>
  2271. <caption id="caption163" style="left:299px; top:115px; width:10px; height:20px; ">3</caption>
  2272. <caption id="caption164" style="left:385px; top:115px; width:10px; height:20px; ">4</caption>
  2273. <caption id="caption165" style="left:471px; top:115px; width:10px; height:20px; ">5</caption>
  2274. <caption id="caption166" style="left:557px; top:115px; width:10px; height:20px; ">6</caption>
  2275. <caption id="caption167" style="left:643px; top:115px; width:10px; height:20px; ">7</caption>
  2276. <caption id="caption168" style="left:729px; top:115px; width:10px; height:20px; ">8</caption>
  2277. <caption id="caption169" style="left:815px; top:115px; width:10px; height:20px; ">9</caption>
  2278. <caption id="caption170" style="left:883px; top:115px; width:55px; height:28px; ">
  2279. <![CDATA[ 10
  2280. 가장 좋음]]>
  2281. </caption>
  2282. </case>
  2283. </switch>
  2284. </case>
  2285. </switch>
  2286. </group>
  2287. <group id="group4" style="left:0px; top:697px; width:960px; height:27px; ">
  2288. <button id="button13" class="btn4_letter2" style="left:452; top:5; width:56px; height:22px; ">
  2289. <caption>닫기</caption>
  2290. <script type="javascript" ev:event="DOMActivate">
  2291. <![CDATA[
  2292. if (changeCnt > 0) {
  2293. var rtn = messageBox("변경된 설문 목록 순서를 ", "Q002");
  2294. if (rtn == 6) {
  2295. if (submit("TXCIT00601")) {
  2296. submit("TRCIT00601");
  2297. }
  2298. }
  2299. }
  2300. window.close();
  2301. ]]>
  2302. </script>
  2303. </button>
  2304. </group>
  2305. </xhtml:body>
  2306. </xhtml:html>