SMCIT01400_만족도설문문항관리.xrw 86 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * Name : SMCIT01400_만족도설문문항관리
  4. * Summary : 설문 문항 관리
  5. * Programmer : 황현석
  6. * Date Written : 2010.07.06
  7. * History :
  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. <qestitemlist>
  19. <qestitemgrupseqno/>
  20. <qestcnts/>
  21. <qestrgstdeptnm/>
  22. <qestrgstnm/>
  23. <qestrgstdd/>
  24. <qestseqno/>
  25. <qestkindcd/>
  26. <qestitemlrgcd/>
  27. <qestitemmdlcd/>
  28. <qestrgstdeptcd/>
  29. <qestrgstid/>
  30. <qestitemlrgnm/>
  31. <qestitemmdlnm/>
  32. <qestsmmcnts/>
  33. <qestitemanswchoicnt/>
  34. <qestitemanswchoicolcnt/>
  35. <essnanswcnt/>
  36. <qestitemgrupnm/>
  37. <usecnt/>
  38. </qestitemlist>
  39. <qestcntattr>
  40. <qestitemlrgcd/>
  41. <qestitemmdlcd/>
  42. <qestrgstdeptcd/>
  43. <qestrgstid/>
  44. <qestitemgrupseqno/>
  45. <qestsmmcnts/>
  46. <qestrgstdd/>
  47. <qestcnts/>
  48. <qestkindcd/>
  49. <savemode>I</savemode>
  50. <qestrgstdeptnm/>
  51. <qestrgstnm/>
  52. <qestseqno/>
  53. <qestupdtresn/>
  54. <qestitemanswchoicnt/>
  55. <qestitemanswchoicolcnt/>
  56. <essnanswcnt/>
  57. <qestitemgrupnm/>
  58. <setPoint>R</setPoint>
  59. <contqestyn>N</contqestyn>
  60. </qestcntattr>
  61. <newitemchoilist>
  62. <case123>
  63. <qestchoicntslist>
  64. <qestitemanswchoicnts/>
  65. <descinptyn/>
  66. <qestseqno/>
  67. <answchoiseqno/>
  68. <norpaddinptyn/>
  69. </qestchoicntslist>
  70. </case123>
  71. <case45>
  72. <answchoiaddcnts/>
  73. <qestitemanswchoicnts/>
  74. <addnoinptyn/>
  75. <addinptyn/>
  76. <noinptyn/>
  77. <essninptyn/>
  78. <qestseqno/>
  79. <answchoiseqno/>
  80. <norpaddinptyn/>
  81. </case45>
  82. <case678>
  83. <qestanswchoi>
  84. <qestitemanswchoicnts1/>
  85. <qestitemanswchoicnts2/>
  86. <qestitemanswchoicnts3/>
  87. <qestitemanswchoicnts4/>
  88. <qestitemanswchoicnts5/>
  89. <qestitemanswchoicnts6/>
  90. <qestitemanswchoicnts7/>
  91. </qestanswchoi>
  92. <pnt>
  93. <divpnt1/>
  94. <divpnt2/>
  95. <divpnt3/>
  96. <divpnt4/>
  97. <divpnt5/>
  98. <divpnt6/>
  99. <divpnt7/>
  100. </pnt>
  101. <answchoiseqno>
  102. <answchoiseqno1/>
  103. <answchoiseqno2/>
  104. <answchoiseqno3/>
  105. <answchoiseqno4/>
  106. <answchoiseqno5/>
  107. <answchoiseqno6/>
  108. <answchoiseqno7/>
  109. </answchoiseqno>
  110. <norpaddinptyn/>
  111. <qestseqno/>
  112. </case678>
  113. <case9>
  114. <qestanswchoi>
  115. <qestitemanswchoicnts1/>
  116. <qestitemanswchoicnts2/>
  117. <qestitemanswchoicnts3/>
  118. <qestitemanswchoicnts4/>
  119. <qestitemanswchoicnts5/>
  120. <qestitemanswchoicnts6/>
  121. <qestitemanswchoicnts7/>
  122. <qestitemanswchoicnts8/>
  123. <qestitemanswchoicnts9/>
  124. <qestitemanswchoicnts10/>
  125. <qestitemanswchoicnts11/>
  126. </qestanswchoi>
  127. <pnt>
  128. <divpnt1/>
  129. <divpnt2/>
  130. <divpnt3/>
  131. <divpnt4/>
  132. <divpnt5/>
  133. <divpnt6/>
  134. <divpnt7/>
  135. <divpnt8/>
  136. <divpnt9/>
  137. <divpnt10/>
  138. <divpnt11/>
  139. </pnt>
  140. <answchoiseqno>
  141. <answchoiseqno1/>
  142. <answchoiseqno2/>
  143. <answchoiseqno3/>
  144. <answchoiseqno4/>
  145. <answchoiseqno5/>
  146. <answchoiseqno6/>
  147. <answchoiseqno7/>
  148. <answchoiseqno8/>
  149. <answchoiseqno9/>
  150. <answchoiseqno10/>
  151. <answchoiseqno11/>
  152. </answchoiseqno>
  153. <qestseqno/>
  154. </case9>
  155. <qestkindcd/>
  156. </newitemchoilist>
  157. <qestgridlist>
  158. <qestitemchoi>
  159. <qestseqno/>
  160. <answchoiseqno/>
  161. <qestitemanswchoicnts/>
  162. <divpnt/>
  163. <norpaddinptyn/>
  164. </qestitemchoi>
  165. </qestgridlist>
  166. </main>
  167. <send>
  168. <info>
  169. <qestitemlrgcd/>
  170. <qestitemmdlcd/>
  171. <srch>
  172. <qestitemlrgcd/>
  173. <qestitemmdlcd/>
  174. </srch>
  175. </info>
  176. <srch>
  177. <qestitemgrupnm/>
  178. <qestrgstdeptcd/>
  179. <qestitemlrgcd/>
  180. <qestitemmdlcd/>
  181. <qestcnts/>
  182. <qestrgstdeptnm/>
  183. <qestitemgrupseqno/>
  184. <setPoint/>
  185. </srch>
  186. <attr>
  187. <qestseqno/>
  188. <qestkindcd/>
  189. </attr>
  190. </send>
  191. <init>
  192. <qestitemgrupnm/>
  193. <qestitemlrglist/>
  194. <qestitemlrgcd/>
  195. <qestitemmdlcd/>
  196. <qestitemmdllist/>
  197. <qestitemgruplist/>
  198. <srch>
  199. <qestitemlrglist/>
  200. <qestitemmdllist/>
  201. </srch>
  202. <C0101list>
  203. </C0101list>
  204. </init>
  205. <temp>
  206. <result>
  207. <qestitemlrgcd/>
  208. <qestitemmdlcd/>
  209. <qestitemgrupnm/>
  210. <setPoint>R</setPoint>
  211. </result>
  212. <answchoicnt/>
  213. </temp>
  214. <hidden>
  215. <scrnflag>L</scrnflag>
  216. </hidden>
  217. </root>
  218. </instance>
  219. <submission id="TRCIT01401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/srch" resultref="/root/main/qestitemlist"/>
  220. <submission id="TRCIT01402" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/info" resultref="/root/init/qestitemgruplist"/>
  221. <submission id="TRCIT01403" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/info/srch" resultref="/root/init/srch/qestitemlrglist/qestitemlrglist"/>
  222. <submission id="TRCIT01404" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/info/srch" resultref="/root/init/srch/qestitemmdllist/qestitemmdllist"/>
  223. <submission id="TRCIT01405" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/attr" resultref="/root/main/newitemchoilist/case123/qestchoicntslist"/>
  224. <submission id="TRCIT01406" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/attr" resultref="/root/main/newitemchoilist/case45"/>
  225. <submission id="TRCIT01407" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/attr" resultref="/root/main/qestgridlist/qestitemchoi"/>
  226. <submission id="TRCIT00102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/info" resultref="/root/init/qestitemlrglist/qestitemlrggrup"/>
  227. <submission id="TRCIT00103" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/info" resultref="/root/init/qestitemmdllist/qestitemmdlgrup"/>
  228. <submission id="TXCIT01401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata"/>
  229. </model>
  230. <script type="javascript" src="../../../crm/crmweb/js/CCZ001.js"/>
  231. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  232. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  233. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  234. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  235. <script type="javascript" ev:event="xforms-ready">
  236. <![CDATA[
  237. // 공통코드
  238. zbcfGetCodeList( new Array("C0101"), new Array("/root/init/C0101list"));
  239. var setPoint = model.getValue("/root/send/srch/setPoint");
  240. // 사용자 부서 설정
  241. var dutplcenm = getUserInfo("dutplcenm");
  242. model.setValue("/root/main/qestcntattr/qestrgstdeptnm", dutplcenm);
  243. var dutplcecd = getUserInfo("dutplcecd");
  244. model.setValue("/root/main/qestcntattr/qestrgstdeptcd", dutplcecd);
  245. // 사용자 설정
  246. var usernm = getUserInfo("usernm");
  247. model.setValue("/root/main/qestcntattr/qestrgstnm", usernm);
  248. var userid = getUserInfo("userid");
  249. model.setValue("/root/main/qestcntattr/qestrgstid", userid);
  250. // 메시지 대그룹을 가져온다
  251. submit("TRCIT00102");
  252. // 조회부 메시지 대그룹을 가져온다
  253. submit("TRCIT01403");
  254. model.removenodeset("/root/main/qestgridlist/qestitemchoi"); // 보기정보 임시리스트
  255. model.removenodeset("/root/main/newitemchoilist/case123/qestchoicntslist"); // 보기정보 단일 다중 순위 리스트
  256. // 시작 화면에 오늘 날짜 보여주기
  257. var ord_dd = getCurrentDate();
  258. model.setValue("/root/main/qestcntattr/qestrgstdd", ord_dd);
  259. // 문항정보 보기 열 개수 기본값을 설정
  260. model.setValue("/root/main/qestcntattr/qestitemanswchoicolcnt", 1);
  261. // 문항정보에 따른 화면 전환
  262. model.setValue("/root/main/qestcntattr/qestkindcd", "1");
  263. var kindcd = model.getValue("/root/main/qestcntattr/qestkindcd");
  264. fSetQestKind(kindcd);
  265. model.removenode("/root/init/qestitemanswchoilist");
  266. for (var i=1; i<=49; i++) {
  267. k = i+1;
  268. model.makeValue("/root/init/qestitemanswchoilist["+i+"]/qestitemanswchoicntcd",k);
  269. model.makeValue("/root/init/qestitemanswchoilist["+i+"]/qestitemanswchoicntnm",k+"개");
  270. }
  271. // 문항정보 필수입력 개수의 기본값을 설정
  272. for (var i=1; i<=41; i++) {
  273. if (i == 1) {
  274. model.makeValue("/root/init/essnanswlist["+i+"]/essnanswcd","0");
  275. model.makeValue("/root/init/essnanswlist["+i+"]/essnanswnm","없음");
  276. } else {
  277. k = i-1;
  278. model.makeValue("/root/init/essnanswlist["+i+"]/essnanswcd",k);
  279. model.makeValue("/root/init/essnanswlist["+i+"]/essnanswnm",k+"개");
  280. }
  281. }
  282. if (setPoint == "A") {
  283. model.removenodeset("/root/main/qestitemlist"); // 설문문항 리스트
  284. model.removenodeset("/root/main/qestgridlist/qestitemchoi"); // 보기정보 임시리스트
  285. model.removenodeset("/root/main/newitemchoilist/case123/qestchoicntslist"); // 보기정보 단일 다중 순위 리스트
  286. fGetSrchQestItemMdlCd();
  287. submit("TRCIT01401");
  288. } else {
  289. // 그리드의 col을 초기화 시켜준다.
  290. model.removenodeset("/root/main/qestitemlist"); // 설문문항 리스트
  291. model.removenodeset("/root/main/qestgridlist/qestitemchoi"); // 보기정보 임시리스트
  292. model.removenodeset("/root/main/newitemchoilist/case123/qestchoicntslist"); // 보기정보 단일 다중 순위 리스트
  293. }
  294. addComboItemAll("cmb_srch_qestitemlrgcd");
  295. fSetButtons(); // 버튼의 활성화 유무를 확인
  296. model.refresh();
  297. ]]>
  298. </script>
  299. <script type="javascript">
  300. <![CDATA[
  301. // 설문 문항 입력, 수정
  302. function fSaveMsg() {
  303. var savemode = model.getValue("/root/main/qestcntattr/savemode");
  304. var qestkindcd = model.getValue("/root/main/qestcntattr/qestkindcd");
  305. // 체크박스 최초 미 체크시의 저장 값 설정.
  306. var noinptyn = model.getValue("/root/main/newitemchoilist/case45/noinptyn");
  307. if (noinptyn == "") {
  308. model.setValue("/root/main/newitemchoilist/case45/noinptyn", "N");
  309. }
  310. var essnanswcnt = model.getValue("/root/main/qestcntattr/essnanswcnt");
  311. if (essnanswcnt == "") {
  312. model.setValue("/root/main/qestcntattr/essnanswcnt", 0);
  313. }
  314. var addinptyn = model.getValue("/root/main/newitemchoilist/case45/addinptyn");
  315. if (addinptyn == "") {
  316. model.setValue("/root/main/newitemchoilist/case45/addinptyn","N");
  317. }
  318. var addnoinptyn = model.getValue("/root/main/newitemchoilist/case45/addnoinptyn");
  319. if (addnoinptyn == "") {
  320. model.setValue("/root/main/newitemchoilist/case45/addnoinptyn","N");
  321. }
  322. var essninptyn = model.getValue("/root/main/newitemchoilist/case45/essninptyn");
  323. if (essninptyn == "") {
  324. model.setValue("/root/main/newitemchoilist/case45/essninptyn","N");
  325. }
  326. var norpaddinptyn = model.getValue("/root/main/newitemchoilist/case678/norpaddinptyn");
  327. if (norpaddinptyn == "") {
  328. model.setValue("/root/main/newitemchoilist/case678/norpaddinptyn", "N");
  329. }
  330. // 저장하기 위한 데이터 전환 작업
  331. if (qestkindcd == "1" || qestkindcd == "2" || qestkindcd == "3") {
  332. model.makeNode("/root/send/savedata");
  333. copyNodesetType("/root/send/savedata","/root/main/qestcntattr");
  334. if (qestkindcd == "1") {
  335. model.makeValue("/root/send/savedata/qestchoicntslist",grd_qestchoicntslist.getUpdateDataAll("i"));
  336. } else if (qestkindcd == "2") {
  337. model.makeValue("/root/send/savedata/qestchoicntslist",grd_case2_qestchoicntslist.getUpdateDataAll("i"));
  338. } else if (qestkindcd == "3") {
  339. model.makeValue("/root/send/savedata/qestchoicntslist",grd_case3_qestchoicntslist.getUpdateDataAll("i"));
  340. } else {
  341. alert("오류");
  342. }
  343. } else if (qestkindcd == "4" || qestkindcd == "5") {
  344. var addinptyn = model.getValue("/root/main/newitemchoilist/case45/addinptyn");
  345. // 보기개수 1개 일련번호 1
  346. model.setValue("/root/main/qestcntattr/qestitemanswchoicnt", 1);
  347. model.setValue("/root/main/newitemchoilist/case45/answchoiseqno", 1);
  348. model.makeNode("/root/send/savedata/qestcntattr");
  349. model.makeNode("/root/send/savedata/case45");
  350. copyNodesetType("/root/send/savedata/qestcntattr","/root/main/qestcntattr");
  351. copyNodesetType("/root/send/savedata/case45","/root/main/newitemchoilist/case45");
  352. } else if (qestkindcd == "8" || qestkindcd == "6" || qestkindcd == "7") {
  353. var inptcount = 0;
  354. if (qestkindcd == "8") {
  355. inptcount = 4;
  356. } else if (qestkindcd == "6") {
  357. inptcount = 5;
  358. } else if (qestkindcd == "7") {
  359. inptcount = 7;
  360. } else {
  361. alert("오류");
  362. }
  363. model.setValue("/root/main/qestcntattr/qestitemanswchoicnt", inptcount);
  364. for (var i = 0; i < inptcount; i++) {
  365. var k = i+1;
  366. grd_qestkindlist.addRow(false);
  367. model.setValue("/root/main/qestgridlist/qestitemchoi["+ grd_qestkindlist.row +"]/answchoiseqno", k);
  368. model.setValue("/root/main/qestgridlist/qestitemchoi["+ grd_qestkindlist.row +"]/qestitemanswchoicnts" ,model.getValue("/root/main/newitemchoilist/case678/qestanswchoi/qestitemanswchoicnts"+k));
  369. model.setValue("/root/main/qestgridlist/qestitemchoi["+ grd_qestkindlist.row +"]/divpnt" ,model.getValue("/root/main/newitemchoilist/case678/pnt/divpnt"+k));
  370. model.setValue("/root/main/qestgridlist/qestitemchoi["+ grd_qestkindlist.row +"]/qestseqno" ,model.getValue("/root/main/newitemchoilist/case678/qestseqno"));
  371. model.setValue("/root/main/qestgridlist/qestitemchoi["+ grd_qestkindlist.row +"]/norpaddinptyn", "");
  372. }
  373. model.makeNode("/root/send/savedata/qestcntattr");
  374. model.makeNode("/root/send/savedata/qestitemchoi");
  375. copyNodesetType("/root/send/savedata/qestcntattr","/root/main/qestcntattr");
  376. model.makeValue("/root/send/savedata/qestitemchoi",grd_qestkindlist.getUpdateData());
  377. } else if (qestkindcd == "10") {
  378. model.setValue("/root/main/qestcntattr/qestitemanswchoicnt", 11);
  379. for (var i = 0; i <= 10; i++) {
  380. var k = i+1;
  381. model.setValue("/root/main/newitemchoilist/case9/qestanswchoi/qestitemanswchoicnts"+k, i+"점");
  382. model.setValue("/root/main/newitemchoilist/case9/pnt/divpnt"+k, (i*10));
  383. grd_qestkindlist.addRow(false);
  384. model.setValue("/root/main/qestgridlist/qestitemchoi["+ grd_qestkindlist.row +"]/answchoiseqno", i);
  385. model.setValue("/root/main/qestgridlist/qestitemchoi["+ grd_qestkindlist.row +"]/qestitemanswchoicnts" ,model.getValue("/root/main/newitemchoilist/case9/qestanswchoi/qestitemanswchoicnts"+k));
  386. model.setValue("/root/main/qestgridlist/qestitemchoi["+ grd_qestkindlist.row +"]/divpnt" ,model.getValue("/root/main/newitemchoilist/case9/pnt/divpnt"+k));
  387. model.setValue("/root/main/qestgridlist/qestitemchoi["+ grd_qestkindlist.row +"]/qestseqno" ,model.getValue("/root/main/newitemchoilist/case9/qestseqno"));
  388. model.setValue("/root/main/qestgridlist/qestitemchoi["+ grd_qestkindlist.row +"]/norpaddinptyn", "");
  389. }
  390. model.makeNode("/root/send/savedata/qestcntattr");
  391. model.makeNode("/root/send/savedata/case9");
  392. copyNodesetType("/root/send/savedata","/root/main/qestcntattr");
  393. model.makeValue("/root/send/savedata/case9",grd_qestkindlist.getUpdateData());
  394. } else {
  395. alert("오류");
  396. }
  397. if (submit("TXCIT01401")) {
  398. if (savemode == "I") {
  399. messageBox("설문 내용 저장이", "I002");
  400. }
  401. }
  402. // 저장후 다시 목록 조회
  403. model.removeNodeset("/root/main/qestitemlist");
  404. submit("TRCIT01401");
  405. fNewMsg();
  406. model.refresh();
  407. }
  408. // 저장시 정합성 체크
  409. function fMsgValid(){
  410. var cmb_qestitemlrgcd = model.getValue("/root/main/qestcntattr/qestitemlrgcd");
  411. var cmb_qestitemmdlcd = model.getValue("/root/main/qestcntattr/qestitemmdlcd");
  412. var cmb_qestitemgrupseqno = model.getValue("/root/main/qestcntattr/qestitemgrupseqno");
  413. if(cmb_qestitemlrgcd == ""){
  414. messageBox("설문 목적 분류의 대그룹이 선택 되지", "E007");
  415. return false;
  416. }
  417. if(cmb_qestitemmdlcd == ""){
  418. messageBox("설문 목적 분류의 중그룹이 선택 되지", "E007");
  419. return false;
  420. }
  421. if(cmb_qestitemgrupseqno == ""){
  422. messageBox("문항 그룹이 선택 되지", "E007");
  423. return false;
  424. }
  425. return true;
  426. }
  427. // 설문 목적 중그룹조회
  428. function fGetQestItemMdlCd() {
  429. var qestitemlrgcd = model.getValue("/root/main/qestcntattr/qestitemlrgcd");
  430. model.setValue("/root/send/info/qestitemlrgcd",qestitemlrgcd);
  431. submit("TRCIT00103");
  432. }
  433. // 문항그룹 조회
  434. function fGetQestItemGrupNm() {
  435. var qestitemmdlcd = model.getValue("/root/main/qestcntattr/qestitemmdlcd");
  436. model.setValue("/root/send/info/qestitemmdlcd",qestitemmdlcd);
  437. submit("TRCIT01402");
  438. }
  439. // 조회부 설문 목적 중그룹조회
  440. function fGetSrchQestItemMdlCd() {
  441. var qestitemlrgcd = model.getValue("/root/send/srch/qestitemlrgcd");
  442. model.setValue("/root/send/info/srch/qestitemlrgcd",qestitemlrgcd);
  443. submit("TRCIT01404");
  444. }
  445. // 문항관리 조회부
  446. function fGetMsgTmplList() {
  447. /*
  448. if (cmb_srch_qestitemlrgcd.value == "") {
  449. messageBox("목적 분류 대그룹을", "C002");
  450. model.setFocus("cmb_srch_qestitemlrgcd");
  451. } else if (cmb_srch_qestitemmdlcd.value == "") {
  452. messageBox("목적 분류 중그룹을", "C002");
  453. model.setFocus("cmb_srch_qestitemmdlcd");
  454. } else {*/
  455. model.removeNodeset("/root/main/qestitemlist");
  456. submit("TRCIT01401");
  457. // }
  458. }
  459. // 설문 내용의 초기화
  460. function fNewMsg() {
  461. model.setValue("/root/main/qestcntattr/qestitemlrgcd","");
  462. model.removenodeset("/root/init/qestitemmdllist/qestitemmdllist");
  463. model.setValue("/root/main/qestcntattr/qestitemmdlcd","");
  464. model.setValue("/root/main/qestcntattr/qestitemgrupseqno","");
  465. model.setValue("/root/main/qestcntattr/qestsmmcnts","");
  466. model.setValue("/root/main/qestcntattr/qestcnts","");
  467. model.setValue("/root/main/qestcntattr/qestkindcd","1");
  468. model.setValue("/root/main/qestcntattr/qestseqno","");
  469. model.setValue("/root/main/qestcntattr/qestitemanswchoicnt","");
  470. model.setValue("/root/main/qestcntattr/qestitemanswchoicolcnt", 1);
  471. model.setValue("/root/main/qestcntattr/essnanswcnt", 0);
  472. model.setValue("/root/main/qestcntattr/savemode","I");
  473. model.setValue("/root/temp/answchoicnt", 0);
  474. // 문항보기 초기화
  475. model.setValue("/root/main/newitemchoilist/case45/qestitemanswchoicnts","");
  476. model.setValue("/root/main/newitemchoilist/case45/noinptyn","");
  477. model.setValue("/root/main/newitemchoilist/case45/answchoiaddcnts","");
  478. model.setValue("/root/main/newitemchoilist/case45/addnoinptyn","");
  479. model.setValue("/root/main/newitemchoilist/case45/addinptyn","");
  480. model.setValue("/root/main/newitemchoilist/case45/essninptyn","");
  481. model.setValue("/root/main/newitemchoilist/case45/qestseqno","");
  482. model.setValue("/root/main/newitemchoilist/case45/answchoiseqno","");
  483. model.setValue("/root/main/newitemchoilist/case678/qestanswchoi/qestitemanswchoicnts1","");
  484. model.setValue("/root/main/newitemchoilist/case678/qestanswchoi/qestitemanswchoicnts2","");
  485. model.setValue("/root/main/newitemchoilist/case678/qestanswchoi/qestitemanswchoicnts3","");
  486. model.setValue("/root/main/newitemchoilist/case678/qestanswchoi/qestitemanswchoicnts4","");
  487. model.setValue("/root/main/newitemchoilist/case678/qestanswchoi/qestitemanswchoicnts5","");
  488. model.setValue("/root/main/newitemchoilist/case678/qestanswchoi/qestitemanswchoicnts6","");
  489. model.setValue("/root/main/newitemchoilist/case678/qestanswchoi/qestitemanswchoicnts7","");
  490. model.setValue("/root/main/newitemchoilist/case678/pnt/divpnt1","");
  491. model.setValue("/root/main/newitemchoilist/case678/pnt/divpnt2","");
  492. model.setValue("/root/main/newitemchoilist/case678/pnt/divpnt3","");
  493. model.setValue("/root/main/newitemchoilist/case678/pnt/divpnt4","");
  494. model.setValue("/root/main/newitemchoilist/case678/pnt/divpnt5","");
  495. model.setValue("/root/main/newitemchoilist/case678/pnt/divpnt6","");
  496. model.setValue("/root/main/newitemchoilist/case678/pnt/divpnt7","");
  497. model.setValue("/root/main/newitemchoilist/case678/answchoiseqno/answchoiseqno1","");
  498. model.setValue("/root/main/newitemchoilist/case678/answchoiseqno/answchoiseqno2","");
  499. model.setValue("/root/main/newitemchoilist/case678/answchoiseqno/answchoiseqno3","");
  500. model.setValue("/root/main/newitemchoilist/case678/answchoiseqno/answchoiseqno4","");
  501. model.setValue("/root/main/newitemchoilist/case678/answchoiseqno/answchoiseqno5","");
  502. model.setValue("/root/main/newitemchoilist/case678/answchoiseqno/answchoiseqno6","");
  503. model.setValue("/root/main/newitemchoilist/case678/answchoiseqno/answchoiseqno7","");
  504. model.setValue("/root/main/newitemchoilist/case678/norpaddinptyn","");
  505. model.removeNodeset("/root/main/newitemchoilist/case123/qestchoicntslist");
  506. model.removeNodeset("/root/main/qestgridlist/qestitemchoi");
  507. model.removeNodeset("/root/send/savedata");
  508. model.removeNodeset("/root/send/savedata/qestchoicntslist");
  509. model.removeNodeset("/root/send/savedata/qestitemchoil");
  510. // 시작 화면에 오늘 날짜 보여주기
  511. var ord_dd = getCurrentDate();
  512. model.setValue("/root/main/qestcntattr/qestrgstdd", ord_dd);
  513. // 사용자 부서 설정
  514. var dutplcenm = getUserInfo("dutplcenm");
  515. model.setValue("/root/main/qestcntattr/qestrgstdeptnm", dutplcenm);
  516. var dutplcecd = getUserInfo("dutplcecd");
  517. model.setValue("/root/main/qestcntattr/qestrgstdeptcd", dutplcecd);
  518. // 사용자 설정
  519. var usernm = getUserInfo("usernm");
  520. model.setValue("/root/main/qestcntattr/qestrgstnm", usernm);
  521. var userid = getUserInfo("userid");
  522. model.setValue("/root/main/qestcntattr/qestrgstid", userid);
  523. var kindcd = model.getValue("/root/main/qestcntattr/qestkindcd");
  524. fSetButtons();
  525. fSetQestKind(kindcd);
  526. model.refresh();
  527. }
  528. function fNewQestCntMsg(){
  529. // 문항보기 초기화
  530. model.setValue("/root/main/newitemchoilist/case45/qestitemanswchoicnts","");
  531. model.setValue("/root/main/newitemchoilist/case45/noinptyn","");
  532. model.setValue("/root/main/newitemchoilist/case45/answchoiaddcnts","");
  533. model.setValue("/root/main/newitemchoilist/case45/addnoinptyn","");
  534. model.setValue("/root/main/newitemchoilist/case45/addinptyn","");
  535. model.setValue("/root/main/newitemchoilist/case45/essninptyn","");
  536. model.setValue("/root/main/newitemchoilist/case45/qestseqno","");
  537. model.setValue("/root/main/newitemchoilist/case45/answchoiseqno","");
  538. model.setValue("/root/main/qestcntattr/qestitemanswchoicnt","");
  539. model.setValue("/root/main/newitemchoilist/case678/qestanswchoi/qestitemanswchoicnts1","");
  540. model.setValue("/root/main/newitemchoilist/case678/qestanswchoi/qestitemanswchoicnts2","");
  541. model.setValue("/root/main/newitemchoilist/case678/qestanswchoi/qestitemanswchoicnts3","");
  542. model.setValue("/root/main/newitemchoilist/case678/qestanswchoi/qestitemanswchoicnts4","");
  543. model.setValue("/root/main/newitemchoilist/case678/qestanswchoi/qestitemanswchoicnts5","");
  544. model.setValue("/root/main/newitemchoilist/case678/qestanswchoi/qestitemanswchoicnts6","");
  545. model.setValue("/root/main/newitemchoilist/case678/qestanswchoi/qestitemanswchoicnts7","");
  546. model.setValue("/root/main/newitemchoilist/case678/pnt/divpnt1","");
  547. model.setValue("/root/main/newitemchoilist/case678/pnt/divpnt2","");
  548. model.setValue("/root/main/newitemchoilist/case678/pnt/divpnt3","");
  549. model.setValue("/root/main/newitemchoilist/case678/pnt/divpnt4","");
  550. model.setValue("/root/main/newitemchoilist/case678/pnt/divpnt5","");
  551. model.setValue("/root/main/newitemchoilist/case678/pnt/divpnt6","");
  552. model.setValue("/root/main/newitemchoilist/case678/pnt/divpnt7","");
  553. model.setValue("/root/main/newitemchoilist/case678/answchoiseqno/answchoiseqno1","");
  554. model.setValue("/root/main/newitemchoilist/case678/answchoiseqno/answchoiseqno2","");
  555. model.setValue("/root/main/newitemchoilist/case678/answchoiseqno/answchoiseqno3","");
  556. model.setValue("/root/main/newitemchoilist/case678/answchoiseqno/answchoiseqno4","");
  557. model.setValue("/root/main/newitemchoilist/case678/answchoiseqno/answchoiseqno5","");
  558. model.setValue("/root/main/newitemchoilist/case678/answchoiseqno/answchoiseqno6","");
  559. model.setValue("/root/main/newitemchoilist/case678/answchoiseqno/answchoiseqno7","");
  560. model.setValue("/root/main/newitemchoilist/case678/norpaddinptyn","");
  561. model.removenodeset("/root/main/newitemchoilist/case123/qestchoicntslist");
  562. model.removeNodeset("/root/main/qestgridlist/qestitemchoi");
  563. model.removeNodeset("/root/send/savedata");
  564. model.removeNodeset("/root/send/savedata/qestchoicntslist");
  565. model.removeNodeset("/root/send/savedata/qestitemchoil");
  566. fSetButtons();
  567. model.refresh();
  568. }
  569. // 설문내용 삭제
  570. function fDelMsg() {
  571. var usecnt = model.getValue("/root/main/qestcntattr/usecnt");
  572. model.setValue("/root/main/qestcntattr/savemode", "D");
  573. model.makeNode("/root/send/savedata");
  574. copyNodesetType("/root/send/savedata","/root/main/qestcntattr");
  575. if (usecnt > 0) {
  576. messageBox("설문지에 사용된 문항은 삭제", "E001");
  577. } else {
  578. if (submit("TXCIT01401")) {
  579. messageBox("설문 내용 삭제가", "I002");
  580. model.removeNodeset("/root/main/qestitemlist");
  581. submit("TRCIT01401");
  582. }
  583. fNewMsg();
  584. }
  585. }
  586. // 버튼의 활성화 유무
  587. function fSetButtons() {
  588. var savemode = model.getValue("/root/main/qestcntattr/savemode");
  589. if (savemode == "I") {
  590. btn_qestprvw.disabled = true;
  591. btn_qestsaveas.disabled = true;
  592. btn_updt.disabled = true;
  593. btn_save.disabled = false;
  594. btn_del.disabled = true;
  595. cmb_qestitemlrgcd.disabled = false;
  596. cmb_qestitemmdlcd.disabled = false;
  597. cmb_qestitemgrupseqno.disabled = false;
  598. } else if (savemode == "U") {
  599. btn_qestprvw.disabled = false;
  600. btn_qestsaveas.disabled = false;
  601. btn_updt.disabled = false;
  602. btn_save.disabled = true;
  603. btn_del.disabled = false;
  604. cmb_qestitemlrgcd.disabled = true;
  605. cmb_qestitemmdlcd.disabled = true;
  606. cmb_qestitemgrupseqno.disabled = true;
  607. }
  608. }
  609. function fSetQestKind(kindcd, kindValue) {
  610. model.removeNodeset("/root/main/newitemchoilist/case123/qestchoicntslist");
  611. model.removeNodeset("/root/main/qestgridlist/qestitemchoi");
  612. model.removeNodeset("/root/send/savedata");
  613. model.removeNodeset("/root/send/savedata/qestchoicntslist");
  614. model.removeNodeset("/root/send/savedata/qestitemchoi");
  615. if (kindcd == "1" ) {
  616. if (kindValue == "grdlist") {
  617. model.toggle("case1");
  618. fSetGrdItem();
  619. } else {
  620. model.setValue("/root/main/qestcntattr/qestitemanswchoicnt", "");
  621. model.setValue("/root/main/qestcntattr/qestitemanswchoicolcnt", 1);
  622. model.setValue("/root/temp/answchoicnt", 0);
  623. model.toggle("case1");
  624. }
  625. } else if (kindcd == "2" ) {
  626. if (kindValue == "grdlist") {
  627. model.toggle("case2");
  628. fSetGrdItem();
  629. } else {
  630. model.setValue("/root/main/qestcntattr/qestitemanswchoicnt", "");
  631. model.setValue("/root/main/qestcntattr/qestitemanswchoicolcnt", 1);
  632. model.setValue("/root/temp/answchoicnt", 0);
  633. model.toggle("case2");
  634. }
  635. } else if (kindcd == "3") {
  636. if (kindValue == "grdlist") {
  637. model.toggle("case3");
  638. fSetGrdItem();
  639. } else {
  640. model.setValue("/root/main/qestcntattr/qestitemanswchoicnt", "");
  641. model.setValue("/root/main/qestcntattr/qestitemanswchoicolcnt", 1);
  642. model.setValue("/root/main/qestcntattr/essnanswcnt", 0);
  643. model.setValue("/root/temp/answchoicnt", 0);
  644. model.toggle("case3");
  645. }
  646. } else if (kindcd == "4") {
  647. model.toggle("case4");
  648. } else if (kindcd == "5") {
  649. model.toggle("case5");
  650. } else if (kindcd == "8") {
  651. model.setValue("/root/main/newitemchoilist/case678/qestanswchoi/qestitemanswchoicnts1", "항상");
  652. model.setValue("/root/main/newitemchoilist/case678/qestanswchoi/qestitemanswchoicnts2", "대체로");
  653. model.setValue("/root/main/newitemchoilist/case678/qestanswchoi/qestitemanswchoicnts3", "가끔");
  654. model.setValue("/root/main/newitemchoilist/case678/qestanswchoi/qestitemanswchoicnts4", "전혀");
  655. model.setValue("/root/main/newitemchoilist/case678/pnt/divpnt1", "100");
  656. model.setValue("/root/main/newitemchoilist/case678/pnt/divpnt2", "66.7");
  657. model.setValue("/root/main/newitemchoilist/case678/pnt/divpnt3", "33.3");
  658. model.setValue("/root/main/newitemchoilist/case678/pnt/divpnt4", "0");
  659. model.setValue("/root/main/newitemchoilist/case678/norpaddinptyn", "Y");
  660. model.toggle("case6");
  661. } else if (kindcd == "6") {
  662. model.setValue("/root/main/newitemchoilist/case678/qestanswchoi/qestitemanswchoicnts1", "매우그렇다");
  663. model.setValue("/root/main/newitemchoilist/case678/qestanswchoi/qestitemanswchoicnts2", "약간그렇다");
  664. model.setValue("/root/main/newitemchoilist/case678/qestanswchoi/qestitemanswchoicnts3", "보통이다");
  665. model.setValue("/root/main/newitemchoilist/case678/qestanswchoi/qestitemanswchoicnts4", "그렇지않다");
  666. model.setValue("/root/main/newitemchoilist/case678/qestanswchoi/qestitemanswchoicnts5", "전혀그렇지않다");
  667. model.setValue("/root/main/newitemchoilist/case678/pnt/divpnt1", "100");
  668. model.setValue("/root/main/newitemchoilist/case678/pnt/divpnt2", "75");
  669. model.setValue("/root/main/newitemchoilist/case678/pnt/divpnt3", "50");
  670. model.setValue("/root/main/newitemchoilist/case678/pnt/divpnt4", "25");
  671. model.setValue("/root/main/newitemchoilist/case678/pnt/divpnt5", "0");
  672. model.setValue("/root/main/newitemchoilist/case678/norpaddinptyn", "Y");
  673. model.toggle("case7");
  674. } else if (kindcd == "7") {
  675. model.setValue("/root/main/newitemchoilist/case678/qestanswchoi/qestitemanswchoicnts1", "매우만족");
  676. model.setValue("/root/main/newitemchoilist/case678/qestanswchoi/qestitemanswchoicnts2", "만족");
  677. model.setValue("/root/main/newitemchoilist/case678/qestanswchoi/qestitemanswchoicnts3", "약간만족");
  678. model.setValue("/root/main/newitemchoilist/case678/qestanswchoi/qestitemanswchoicnts4", "보통");
  679. model.setValue("/root/main/newitemchoilist/case678/qestanswchoi/qestitemanswchoicnts5", "약간불만족");
  680. model.setValue("/root/main/newitemchoilist/case678/qestanswchoi/qestitemanswchoicnts6", "불만족");
  681. model.setValue("/root/main/newitemchoilist/case678/qestanswchoi/qestitemanswchoicnts7", "매우불만족");
  682. model.setValue("/root/main/newitemchoilist/case678/pnt/divpnt1", "100");
  683. model.setValue("/root/main/newitemchoilist/case678/pnt/divpnt2", "83.3");
  684. model.setValue("/root/main/newitemchoilist/case678/pnt/divpnt3", "66.6");
  685. model.setValue("/root/main/newitemchoilist/case678/pnt/divpnt4", "50");
  686. model.setValue("/root/main/newitemchoilist/case678/pnt/divpnt5", "33.3");
  687. model.setValue("/root/main/newitemchoilist/case678/pnt/divpnt6", "16.6");
  688. model.setValue("/root/main/newitemchoilist/case678/pnt/divpnt7", "0");
  689. model.setValue("/root/main/newitemchoilist/case678/norpaddinptyn", "Y");
  690. model.toggle("case8");
  691. } else if (kindcd == "10") {
  692. for (var i = 0; i <= 10; i++) {
  693. var k = i + 1;
  694. model.setValue("/root/main/newitemchoilist/case9/pnt/divpnt"+k, "");
  695. }
  696. model.toggle("case9");
  697. }
  698. model.refresh();
  699. }
  700. // 보기 개수에 따른 그리그의 row 생성
  701. function fSetGrdItem() {
  702. var qestitemanswchoicntcd = model.getValue("/root/main/qestcntattr/qestitemanswchoicnt");
  703. var answchoicnt = model.getValue("/root/temp/answchoicnt");
  704. var kindcd = model.getValue("/root/main/qestcntattr/qestkindcd");
  705. model.setValue("/root/temp/answchoicnt", qestitemanswchoicntcd);
  706. if (answchoicnt != "") {
  707. var choicnt = qestitemanswchoicntcd - answchoicnt;
  708. if (choicnt > 0 ) {
  709. var flag = "A";
  710. } else {
  711. var flag = "B";
  712. choicnt = answchoicnt - qestitemanswchoicntcd;
  713. }
  714. } else {
  715. var choicnt = qestitemanswchoicntcd
  716. var flag = "A";
  717. }
  718. if (flag == "A" ) {
  719. for (var i=1; i<=choicnt; i++) {
  720. if (kindcd == "1") {
  721. grd_qestchoicntslist.addRow(false);
  722. } else if (kindcd == "2") {
  723. grd_case2_qestchoicntslist.addRow(false);
  724. } else {
  725. grd_case3_qestchoicntslist.addRow(false);
  726. }
  727. for (var j = 1; j <= qestitemanswchoicntcd; j++) {
  728. if (kindcd == "1") {
  729. if (j == qestitemanswchoicntcd) {
  730. grd_qestchoicntslist.isReadOnly(j,2) = false;
  731. } else {
  732. grd_qestchoicntslist.valueMatrix(j, grd_qestchoicntslist.colRef("descinptyn")) = "";
  733. grd_qestchoicntslist.isReadOnly(j,2) = true;
  734. }
  735. } else if (kindcd == "2") {
  736. if (j == qestitemanswchoicntcd) {
  737. grd_case2_qestchoicntslist.isReadOnly(j,2) = false;
  738. } else {
  739. grd_case2_qestchoicntslist.valueMatrix(j, grd_case2_qestchoicntslist.colRef("descinptyn")) = "";
  740. grd_case2_qestchoicntslist.isReadOnly(j,2) = true;
  741. }
  742. } else if (kindcd == "3") {
  743. if (j == qestitemanswchoicntcd) {
  744. grd_case3_qestchoicntslist.isReadOnly(j,2) = false;
  745. } else {
  746. grd_case3_qestchoicntslist.valueMatrix(j, grd_case3_qestchoicntslist.colRef("descinptyn")) = "";
  747. grd_case3_qestchoicntslist.isReadOnly(j,2) = true;
  748. }
  749. }
  750. }
  751. }
  752. } else {
  753. for (var i=0; i<=choicnt-1; i++) {
  754. if (kindcd == "1") {
  755. var rowCount = choicnt - i
  756. grd_qestchoicntslist.deleteRow(answchoicnt - i, false);
  757. } else if (kindcd == "2") {
  758. grd_case2_qestchoicntslist.deleteRow(answchoicnt - i, false);
  759. } else {
  760. grd_case3_qestchoicntslist.deleteRow(answchoicnt - i, false);
  761. }
  762. for (var j=1; j<=qestitemanswchoicntcd; j++) {
  763. if (kindcd == "1") {
  764. if (j == qestitemanswchoicntcd) {
  765. grd_qestchoicntslist.isReadOnly(j,2) = false;
  766. } else {
  767. grd_qestchoicntslist.isReadOnly(j,2) = true;
  768. }
  769. } else if (kindcd == "2") {
  770. if (j == qestitemanswchoicntcd) {
  771. grd_case2_qestchoicntslist.isReadOnly(j,2) = false;
  772. } else {
  773. grd_case2_qestchoicntslist.isReadOnly(j,2) = true;
  774. }
  775. } else if (kindcd == "3") {
  776. if (j == qestitemanswchoicntcd) {
  777. grd_case3_qestchoicntslist.isReadOnly(j,2) = false;
  778. } else {
  779. grd_case3_qestchoicntslist.isReadOnly(j,2) = true;
  780. }
  781. }
  782. }
  783. }
  784. }
  785. model.refresh();
  786. }
  787. ]]>
  788. </script>
  789. </xhtml:head>
  790. <xhtml:body pagewidth="1195" pageheight="784" guideline="1,1199;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  791. <caption id="caption1" class="tit_1" style="left:0; top:0; width:215; height:13; ">만족도 목적 분류</caption>
  792. <group id="group1" style="left:0; top:23; width:215; height:757; ">
  793. <import id="import1" src="SSCIT01600_만족도그룹트리.xrw" style="left:0px; top:13px; width:215px; height:744; "/>
  794. </group>
  795. <group id="group2" style="left:225; top:0; width:970; height:780; ">
  796. <caption id="caption2" class="tit_1" style="left:0px; top:0px; width:970px; height:14px; ">만족도 설문 문항 관리</caption>
  797. <group id="group3" style="left:0px; top:23px; width:970px; height:59px; ">
  798. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:5px; top:0px; width:960px; height:59px; "/>
  799. <caption id="caption3" class="search_name" style="left:15; top:9; width:94px; height:17px; ">문항 그룹명</caption>
  800. <input id="ipt_srch_qestitemgrupnm" ref="/root/send/srch/qestitemgrupnm" class="input_search" maxlength="30" style="left:112; top:8; width:291; height:19; ">
  801. <script type="javascript" ev:event="onkeyup">
  802. <![CDATA[
  803. inputEnterKey("btn_srch", "DOMActivate");
  804. ]]>
  805. </script>
  806. </input>
  807. <caption id="caption4" class="search_name" style="left:408px; top:9px; width:81px; height:17px; ">등록 부서</caption>
  808. <input id="ipt_srch_qestrgstdeptnm" ref="/root/send/srch/qestrgstdeptnm" class="input_search" disabled="true" style="left:492px; top:8px; width:130px; height:19px; ">
  809. <script type="javascript" ev:event="onkeyup">
  810. <![CDATA[
  811. inputEnterKey("btn_deptsrch", "DOMActivate");
  812. ]]>
  813. </script>
  814. </input>
  815. <button id="btn_deptsrch" class="icon_search" style="left:625px; top:8px; width:16px; height:16px; ">
  816. <caption/>
  817. <script type="javascript" ev:event="DOMActivate">
  818. <![CDATA[
  819. var search_condition = "deptnm";
  820. var search_term = model.getValue("/root/send/srch/qestrgstdeptnm");
  821. var receive_deptcd_path = "/root/send/srch/qestrgstdeptcd";
  822. var receive_deptnm_path = "/root/send/srch/qestrgstdeptnm";
  823. cczfOpenSelectDept(search_condition, search_term, receive_deptcd_path, receive_deptnm_path);
  824. ]]>
  825. </script>
  826. </button>
  827. <input id="ipt_srch_qestrgstnm" ref="/root/send/srch/qestrgstdeptcd" class="input_search" disabled="true" maxlength="8" style="left:644px; top:8px; width:80px; height:19px; "/>
  828. <caption id="caption5" class="search_name" style="left:15; top:33; width:112px; height:17px; ">설문 목적 분류</caption>
  829. <select1 id="cmb_srch_qestitemlrgcd" ref="/root/send/srch/qestitemlrgcd" class="combo_search" appearance="minimal" style="left:130px; top:32px; width:130px; height:19px; ">
  830. <choices>
  831. <itemset nodeset="/root/init/srch/qestitemlrglist/qestitemlrglist">
  832. <label ref="qestitemlrgnm"/>
  833. <value ref="qestitemlrgcd"/>
  834. </itemset>
  835. </choices>
  836. <script type="javascript" ev:event="xforms-value-changed">
  837. <![CDATA[
  838. // 조회부 설문 목적 중그룹조회
  839. fGetSrchQestItemMdlCd();
  840. ]]>
  841. </script>
  842. </select1>
  843. <select1 id="cmb_srch_qestitemmdlcd" ref="/root/send/srch/qestitemmdlcd" class="combo_search" appearance="minimal" style="left:263px; top:32px; width:140px; height:19px; ">
  844. <choices>
  845. <itemset nodeset="/root/init/srch/qestitemmdllist/qestitemmdllist">
  846. <label ref="qestitemmdlnm"/>
  847. <value ref="qestitemmdlcd"/>
  848. </itemset>
  849. </choices>
  850. </select1>
  851. <caption id="caption6" class="search_name" style="left:408px; top:33px; width:81px; height:17px; ">설문 내용</caption>
  852. <input id="ipt_srch_qestcnts" ref="/root/send/srch/qestcnts" class="input_search" maxlength="20" style="left:492px; top:32px; width:180px; height:19px; "/>
  853. <line id="line1" class="line_4" style="x1:879px; y1:7px; x2:879px; y2:53px; "/>
  854. <button id="btn_srch" class="btn1_letter2" style="left:894px; top:18; width:56px; height:22px; ">
  855. <caption>조회</caption>
  856. <script type="javascript" ev:event="DOMActivate">
  857. <![CDATA[
  858. fGetMsgTmplList();
  859. // 등록화면 초기화
  860. // model.resetInstanceNode("/root/main/qestcntattr");
  861. model.setValue("/root/main/qestcntattr/savemode", "I");
  862. // fNewMsg();
  863. fSetButtons();
  864. model.refresh();
  865. ]]>
  866. </script>
  867. </button>
  868. </group>
  869. <line id="line21" class="line_1" style="x1:5px; y1:108px; x2:965px; y2:108px; "/>
  870. <caption id="caption7" class="tit_2" style="left:5px; top:92px; width:149px; height:13px; ">만족도 설문 문항 목록</caption>
  871. <button id="btn_excelsave" class="btn2_letter4" style="left:901px; top:87px; width:64px; height:19px; ">
  872. <caption>엑셀 저장</caption>
  873. <script type="javascript" ev:event="DOMActivate">
  874. <![CDATA[
  875. var fileName = window.fileDialog("save", ",", false, "", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
  876. if (fileName != "")
  877. {
  878. grd_patlist.saveExcel(fileName);
  879. }
  880. ]]>
  881. </script>
  882. </button>
  883. <datagrid id="grd_qestitemlist" nodeset="/root/main/qestitemlist" caption="문항 그룹명^설문내용^문항종류^사용개수^설문목적 대분류^설문목적 중분류^등록부서^등록자^등록일^^^^^^^^^^" colsep="^" colwidth="200, 300, 90, 55, 120, 120, 100, 90, 100, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0" ellipsis="true" mergecellsfixedrows="bycolrec" rowsep="|" style="left:5px; top:113px; width:960px; height:300px; ">
  884. <col ref="qestitemgrupnm"/>
  885. <col ref="qestcnts"/>
  886. <col disabled="true" ref="qestkindcd" type="combo">
  887. <choices>
  888. <itemset nodeset="/root/init/C0101list/C0101">
  889. <label ref="cdnm"/>
  890. <value ref="cdid"/>
  891. </itemset>
  892. </choices>
  893. </col>
  894. <col ref="usecnt"/>
  895. <col ref="qestitemlrgnm"/>
  896. <col ref="qestitemmdlnm"/>
  897. <col ref="qestrgstdeptnm"/>
  898. <col ref="qestrgstnm" style="text-align:center; "/>
  899. <col ref="qestrgstdd" format="yyyy-mm-dd" style="text-align:center; "/>
  900. <col ref="qestitemlrgcd" visibility="hiddn"/>
  901. <col ref="qestitemmdlcd" visibility="hidden"/>
  902. <col ref="qestseqno" visibility="hidden"/>
  903. <col ref="qestitemgrupseqno" visibility="hidden"/>
  904. <col ref="qestrgstdeptcd" visibility="hidden"/>
  905. <col ref="qestrgstid" visibility="hidden"/>
  906. <col ref="qestsmmcnts" visibility="hidden"/>
  907. <col ref="qestitemanswchoicnt" visibility="hidden"/>
  908. <col ref="qestitemanswchoicolcnt" visibility="hidden"/>
  909. <col ref="essnanswcnt" visibility="hidden"/>
  910. <script type="javascript" ev:event="ondblclick">
  911. <![CDATA[
  912. fNewMsg(); // 문항보기 내용 초기화
  913. model.removeNodeset("/root/main/newitemchoilist/case123/qestchoicntslist");
  914. if( grd_qestitemlist.isCell(event.target) && grd_qestitemlist.row >= grd_qestitemlist.fixedRows ){
  915. var row = grd_qestitemlist.row;
  916. // 선택한 설문문항 그룹 목록을 그룹 목록 보기로 념거준다
  917. var qestitemgrupseqno = grd_qestitemlist.valueMatrix(row, grd_qestitemlist.colRef("qestitemgrupseqno"));
  918. var qestitemgrupnm = grd_qestitemlist.valueMatrix(row, grd_qestitemlist.colRef("qestitemgrupnm"));
  919. var qestcnts = grd_qestitemlist.valueMatrix(row, grd_qestitemlist.colRef("qestcnts"));
  920. var qestsmmcnts = grd_qestitemlist.valueMatrix(row, grd_qestitemlist.colRef("qestsmmcnts"));
  921. var qestkindcd = grd_qestitemlist.valueMatrix(row, grd_qestitemlist.colRef("qestkindcd"));
  922. var qestitemlrgcd = grd_qestitemlist.valueMatrix(row, grd_qestitemlist.colRef("qestitemlrgcd"));
  923. var qestitemmdlcd = grd_qestitemlist.valueMatrix(row, grd_qestitemlist.colRef("qestitemmdlcd"));
  924. var qestrgstdeptnm = grd_qestitemlist.valueMatrix(row, grd_qestitemlist.colRef("qestrgstdeptnm"));
  925. var qestrgstdeptcd = grd_qestitemlist.valueMatrix(row, grd_qestitemlist.colRef("qestrgstdeptcd"));
  926. var qestrgstnm = grd_qestitemlist.valueMatrix(row, grd_qestitemlist.colRef("qestrgstnm"));
  927. var qestrgstid = grd_qestitemlist.valueMatrix(row, grd_qestitemlist.colRef("qestrgstid"));
  928. var qestrgstdd = grd_qestitemlist.valueMatrix(row, grd_qestitemlist.colRef("qestrgstdd"));
  929. var qestseqno = grd_qestitemlist.valueMatrix(row, grd_qestitemlist.colRef("qestseqno"));
  930. var qestitemanswchoicnt = grd_qestitemlist.valueMatrix(row, grd_qestitemlist.colRef("qestitemanswchoicnt"));
  931. var qestitemanswchoicolcnt = grd_qestitemlist.valueMatrix(row, grd_qestitemlist.colRef("qestitemanswchoicolcnt"));
  932. var essnanswcnt = grd_qestitemlist.valueMatrix(row, grd_qestitemlist.colRef("essnanswcnt"));
  933. var usecnt = grd_qestitemlist.valueMatrix(row, grd_qestitemlist.colRef("usecnt"));
  934. model.setValue("/root/main/qestcntattr/qestitemgrupseqno",qestitemgrupseqno);
  935. model.setValue("/root/main/qestcntattr/qestitemgrupnm",qestitemgrupnm);
  936. model.setValue("/root/main/qestcntattr/qestcnts",qestcnts);
  937. model.setValue("/root/main/qestcntattr/qestsmmcnts",qestsmmcnts);
  938. model.setValue("/root/main/qestcntattr/qestkindcd",qestkindcd);
  939. model.setValue("/root/main/qestcntattr/qestitemlrgcd",qestitemlrgcd);
  940. model.setValue("/root/main/qestcntattr/qestitemmdlcd",qestitemmdlcd);
  941. model.setValue("/root/main/qestcntattr/qestrgstdeptnm",qestrgstdeptnm);
  942. model.setValue("/root/main/qestcntattr/qestrgstdeptcd",qestrgstdeptcd);
  943. model.setValue("/root/main/qestcntattr/qestrgstnm",qestrgstnm);
  944. model.setValue("/root/main/qestcntattr/qestrgstid",qestrgstid);
  945. model.setValue("/root/main/qestcntattr/qestrgstdd",qestrgstdd);
  946. model.setValue("/root/main/qestcntattr/qestitemanswchoicnt",qestitemanswchoicnt);
  947. model.setValue("/root/main/qestcntattr/qestitemanswchoicolcnt",qestitemanswchoicolcnt);
  948. model.setValue("/root/main/qestcntattr/essnanswcnt",essnanswcnt);
  949. model.makeValue("/root/main/qestcntattr/usecnt",usecnt);
  950. model.setValue("/root/main/qestcntattr/qestseqno",qestseqno);
  951. model.setValue("/root/main/qestcntattr/savemode","U");
  952. model.makeValue("/root/send/attr/qestseqno",qestseqno);
  953. fSetButtons(); // 버튼의 활성화 유무를 확인
  954. fGetQestItemMdlCd(); // 설문 목적 분류 중분류를 조회
  955. fGetQestItemGrupNm(); // 문항 그룹을 조회
  956. // 문항 정보에 다른 화면 전환
  957. var kindcd = model.getValue("/root/main/qestcntattr/qestkindcd");
  958. var kindValue = "grdlist";
  959. fSetQestKind(kindcd, kindValue);
  960. fSetGrdItem();
  961. if (kindcd == "1" || kindcd == "2" || kindcd == "3") {
  962. model.makeValue("/root/send/attr/itemcd" , "A");
  963. submit("TRCIT01405");
  964. if (kindcd == "1") {
  965. for (var i = 0; i < grd_qestchoicntslist.rows-1; i++ ) {
  966. grd_qestchoicntslist.isReadOnly(i,2) = true;
  967. }
  968. } else if (kindcd == "2") {
  969. for (var j = 0; j < grd_case2_qestchoicntslist.rows-1; j++ ){
  970. grd_case2_qestchoicntslist.isReadOnly(j,2) = true;
  971. }
  972. } else if (kindcd == "3") {
  973. for (var k = 0; k < grd_case3_qestchoicntslist.rows-1; k++ ) {
  974. grd_case3_qestchoicntslist.isReadOnly(k,2) = true;
  975. }
  976. }
  977. } else if (kindcd == "4" || kindcd == "5") {
  978. model.makeValue("/root/send/attr/itemcd" , "B");
  979. submit("TRCIT01406");
  980. } else if (kindcd == "8" || kindcd == "6" || kindcd == "7") {
  981. model.makeValue("/root/send/attr/itemcd" , "C");
  982. submit("TRCIT01407");
  983. for (i = 1; i < grd_qestkindlist.rows; i++) {
  984. var answchoiseqno = model.getValue("/root/main/qestgridlist/qestitemchoi["+i+"]/answchoiseqno");
  985. var qestitemanswchoicnts = model.getValue("/root/main/qestgridlist/qestitemchoi["+i+"]/qestitemanswchoicnts");
  986. var divpnt = model.getValue("/root/main/qestgridlist/qestitemchoi["+i+"]/divpnt");
  987. var qestseqno = model.getValue("/root/main/qestgridlist/qestitemchoi/qestseqno");
  988. model.setValue("/root/main/newitemchoilist/case678/answchoiseqno/answchoiseqno"+i,answchoiseqno);
  989. model.setValue("/root/main/newitemchoilist/case678/qestanswchoi/qestitemanswchoicnts"+i,qestitemanswchoicnts);
  990. model.setValue("/root/main/newitemchoilist/case678/pnt/divpnt"+i,divpnt);
  991. model.setValue("/root/main/newitemchoilist/case678/qestseqno",qestseqno);
  992. }
  993. model.removenodeset("/root/main/qestgridlist/qestitemchoi"); // 보기정보 임시리스트
  994. } else {
  995. model.makeValue("/root/send/attr/itemcd" , "C");
  996. submit("TRCIT01407");
  997. for (i = 1; i <grd_qestkindlist.rows; i++) {
  998. var answchoiseqno = model.getValue("/root/main/qestgridlist/qestitemchoi["+i+"]/answchoiseqno");
  999. var qestitemanswchoicnts = model.getValue("/root/main/qestgridlist/qestitemchoi["+i+"]/qestitemanswchoicnts");
  1000. var divpnt = model.getValue("/root/main/qestgridlist/qestitemchoi["+i+"]/divpnt");
  1001. var qestseqno = model.getValue("/root/main/qestgridlist/qestitemchoi/qestseqno");
  1002. model.setValue("/root/main/newitemchoilist/case9/answchoiseqno/answchoiseqno"+i,answchoiseqno);
  1003. model.setValue("/root/main/newitemchoilist/case9/qestanswchoi/qestitemanswchoicnts"+i,qestitemanswchoicnts);
  1004. model.setValue("/root/main/newitemchoilist/case9/pnt/divpnt"+i,divpnt);
  1005. model.setValue("/root/main/newitemchoilist/case9/qestseqno",qestseqno);
  1006. }
  1007. }
  1008. model.refresh();
  1009. }
  1010. ]]>
  1011. </script>
  1012. </datagrid>
  1013. <line id="line2" class="line_1" style="x1:5px; y1:439px; x2:965px; y2:439px; "/>
  1014. <caption id="caption8" class="tit_2" style="left:5px; top:423px; width:74px; height:13px; ">설문 내용</caption>
  1015. <button id="btn_qestgrup" class="btn2_letter6" style="left:499px; top:418px; width:86px; height:19px; ">
  1016. <caption>문항 그룹으로</caption>
  1017. <script type="javascript" ev:event="DOMActivate">
  1018. <![CDATA[
  1019. model.setValue("/root/temp/result/qestitemlrgcd", model.getValue("/root/send/srch/qestitemlrgcd"));
  1020. model.setValue("/root/temp/result/qestitemmdlcd", model.getValue("/root/send/srch/qestitemmdlcd"));
  1021. model.setValue("/root/temp/result/qestitemgrupnm", "");
  1022. model.setValue("/root/temp/result/setPoint", "R");
  1023. navigate("SMCIT00100", "", "", "", "SMCIT00100", "/root/temp/result", "/root/send/qestsrch");
  1024. ]]>
  1025. </script>
  1026. </button>
  1027. <button id="btn_qestprvw" class="btn2_letter6" style="left:588px; top:418px; width:86px; height:19px; ">
  1028. <caption>설문 미리보기</caption>
  1029. <script type="javascript" ev:event="DOMActivate">
  1030. <![CDATA[
  1031. var qestseqno = model.getValue("/root/main/qestcntattr/qestseqno");
  1032. var qestitemgrupseqno = model.getValue("/root/main/qestcntattr/qestitemgrupseqno");
  1033. var qestitemlrgcd = model.getValue("/root/main/qestcntattr/qestitemlrgcd");
  1034. var qestitemmdlcd = model.getValue("/root/main/qestcntattr/qestitemmdlcd");
  1035. setParameter("qestseqno", qestseqno);
  1036. setParameter("qestitemgrupseqno", qestitemgrupseqno);
  1037. setParameter("qestitemlrgcd", qestitemlrgcd);
  1038. setParameter("qestitemmdlcd", qestitemmdlcd);
  1039. modal("SPCIT00200");
  1040. clearParameter("qestseqno");
  1041. clearParameter("qestitemgrupseqno");
  1042. clearParameter("qestitemlrgcd");
  1043. clearParameter("qestitemmdlcd");
  1044. model.refresh();
  1045. ]]>
  1046. </script>
  1047. </button>
  1048. <button id="btn_new" class="btn2_letter2" style="left:677px; top:418px; width:42px; height:19px; ">
  1049. <caption>신규</caption>
  1050. <script type="javascript" ev:event="DOMActivate">
  1051. <![CDATA[
  1052. fNewMsg();
  1053. ]]>
  1054. </script>
  1055. </button>
  1056. <button id="btn_qestsaveas" class="btn5_letter8" style="left:722px; top:418px; width:108px; height:19px; ">
  1057. <caption>다른이름으로저장</caption>
  1058. <script type="javascript" ev:event="DOMActivate">
  1059. <![CDATA[
  1060. if(fMsgValid()){
  1061. var savemode = model.setValue("/root/main/qestcntattr/savemode","I");
  1062. fSaveMsg(); //문항그룹 속성 저장(I:등록, U:수정)
  1063. }
  1064. ]]>
  1065. </script>
  1066. </button>
  1067. <button id="btn_updt" class="btn5_letter2" style="left:833px; top:418px; width:42px; height:19px; ">
  1068. <caption>수정</caption>
  1069. <script type="javascript" ev:event="DOMActivate">
  1070. <![CDATA[
  1071. if(fMsgValid()){
  1072. var receive_qestupdtresn_path = "/root/main/qestcntattr/qestupdtresn";
  1073. var receive_savemode_result = "/root/main/qestcntattr/savemode";
  1074. setParameter("receive_qestupdtresn_path", receive_qestupdtresn_path);
  1075. setParameter("receive_savemode_result", receive_savemode_result);
  1076. modal("SPCIT01700");
  1077. clearParameter("receive_qestupdtresn_path");
  1078. clearParameter("receive_savemode_result");
  1079. }
  1080. ]]>
  1081. </script>
  1082. </button>
  1083. <button id="btn_save" class="btn5_letter2" style="left:878px; top:418px; width:42px; height:19px; ">
  1084. <caption>저장</caption>
  1085. <script type="javascript" ev:event="DOMActivate">
  1086. <![CDATA[
  1087. if(fMsgValid()){
  1088. fSaveMsg();
  1089. }
  1090. ]]>
  1091. </script>
  1092. </button>
  1093. <button id="btn_del" class="btn5_letter2" style="left:923px; top:418px; width:42px; height:19px; ">
  1094. <caption>삭제</caption>
  1095. <script type="javascript" ev:event="DOMActivate">
  1096. <![CDATA[
  1097. fDelMsg();
  1098. ]]>
  1099. </script>
  1100. </button>
  1101. <line id="line3" class="line_2" style="x1:5px; y1:466px; x2:965px; y2:466px; "/>
  1102. <caption id="caption9" class="cell_1" style="left:5px; top:444px; width:90px; height:23px; ">설문 목적 분류</caption>
  1103. <select1 id="cmb_qestitemlrgcd" ref="/root/main/qestcntattr/qestitemlrgcd" class="combo_essential" appearance="minimal" style="left:98px; top:445px; width:120px; height:19px; ">
  1104. <choices>
  1105. <itemset nodeset="/root/init/qestitemlrglist/qestitemlrglist">
  1106. <label ref="qestitemlrgnm"/>
  1107. <value ref="qestitemlrgcd"/>
  1108. </itemset>
  1109. </choices>
  1110. <script type="javascript" ev:event="xforms-value-changed">
  1111. <![CDATA[
  1112. // 기존에 선택된 중분류를 초기화한다.
  1113. model.removenodeset("/root/init/qestitemmdllist/qestitemmdllist");
  1114. // 선택한 만족도관리 대분류에 따른 만족도관리 중분류를 가져온다.
  1115. fGetQestItemMdlCd();
  1116. ]]>
  1117. </script>
  1118. </select1>
  1119. <select1 id="cmb_qestitemmdlcd" ref="/root/main/qestcntattr/qestitemmdlcd" class="combo_essential" appearance="minimal" style="left:221px; top:445px; width:170px; height:19px; ">
  1120. <choices>
  1121. <itemset nodeset="/root/init/qestitemmdllist/qestitemmdllist">
  1122. <label ref="qestitemmdlnm"/>
  1123. <value ref="qestitemmdlcd"/>
  1124. </itemset>
  1125. </choices>
  1126. <script type="javascript" ev:event="xforms-value-changed">
  1127. <![CDATA[
  1128. // 선택한 중분류에 대한 문항을 가져온다.
  1129. fGetQestItemGrupNm();
  1130. ]]>
  1131. </script>
  1132. </select1>
  1133. <caption id="caption10" class="cell_1" style="left:394px; top:444px; width:90px; height:23px; ">등록부서</caption>
  1134. <input id="ipt_qestrgstdeptnm" ref="/root/main/qestcntattr/qestrgstdeptnm" disabled="true" style="left:487px; top:445px; width:130px; height:19px; "/>
  1135. <button id="btn_deptcdsrch" class="icon_search" style="left:620px; top:446px; width:16px; height:16px; ">
  1136. <caption/>
  1137. <script type="javascript" ev:event="DOMActivate">
  1138. <![CDATA[
  1139. var search_condition = "deptnm";
  1140. var search_term = model.getValue("/root/main/qestcntattr/qestrgstdeptnm");
  1141. var receive_deptcd_path = "/root/main/qestcntattr/qestrgstdeptcd";
  1142. var receive_deptnm_path = "/root/main/qestcntattr/qestrgstdeptnm";
  1143. cczfOpenSelectDept(search_condition, search_term, receive_deptcd_path, receive_deptnm_path);
  1144. ]]>
  1145. </script>
  1146. </button>
  1147. <caption id="caption11" class="cell_1" style="left:645px; top:444px; width:90px; height:23px; ">등록자</caption>
  1148. <input id="ipt_qestrgstid" ref="/root/main/qestcntattr/qestrgstnm" disabled="true" style="left:738px; top:445px; width:132px; height:19px; "/>
  1149. <button id="btn_usersrch" class="icon_search" style="left:873px; top:446px; width:16px; height:16px; ">
  1150. <caption/>
  1151. <script type="javascript" ev:event="DOMActivate">
  1152. <![CDATA[
  1153. var search_condition = "empnm";
  1154. var search_term = model.getValue("/root/main/qestcntattr/qestrgstnm");
  1155. var receive_empid_path = "/root/main/qestcntattr/qestrgstid";
  1156. var receive_empnm_path = "/root/main/qestcntattr/qestrgstnm";
  1157. var receive_deptcd_path = "/root/main/qestcntattr/qestrgstdeptcd";
  1158. var receive_deptnm_path = "/root/main/qestcntattr/qestrgstdeptnm";
  1159. setParameter("search_condition", search_condition);
  1160. setParameter("search_term", search_term);
  1161. setParameter("receive_empid_path", receive_empid_path);
  1162. setParameter("receive_empnm_path", receive_empnm_path);
  1163. setParameter("receive_deptcd_path", receive_deptcd_path);
  1164. setParameter("receive_deptnm_path", receive_deptnm_path);
  1165. modal("SPCCM00400")
  1166. clearParameter("search_condition");
  1167. clearParameter("search_term");
  1168. clearParameter("receive_empid_path");
  1169. clearParameter("receive_empnm_path");
  1170. clearParameter("receive_deptcd_path");
  1171. clearParameter("receive_deptnm_path");
  1172. ]]>
  1173. </script>
  1174. </button>
  1175. <line id="line4" class="line_2" style="x1:5px; y1:490px; x2:965px; y2:490px; "/>
  1176. <caption id="caption12" class="cell_1" style="left:5px; top:468px; width:90px; height:23px; ">문항그룹 선택</caption>
  1177. <select1 id="cmb_qestitemgrupseqno" ref="/root/main/qestcntattr/qestitemgrupseqno" class="combo_essential" appearance="minimal" style="left:98px; top:469px; width:293px; height:19px; ">
  1178. <choices>
  1179. <itemset nodeset="/root/init/qestitemgruplist">
  1180. <label ref="qestitemgrupnm"/>
  1181. <value ref="qestitemgrupseqno"/>
  1182. </itemset>
  1183. </choices>
  1184. </select1>
  1185. <caption id="caption13" class="cell_1" style="left:394px; top:468px; width:90px; height:23px; ">설문 요약어</caption>
  1186. <input id="ipt_qestsmmcnts" ref="/root/main/qestcntattr/qestsmmcnts" class="input_essential" maxlength="10" style="left:487px; top:469px; width:149px; height:19px; "/>
  1187. <caption id="caption14" class="cell_1" style="left:645px; top:468px; width:90px; height:23px; ">등록일</caption>
  1188. <input id="ipt_qestrgstdd" ref="/root/main/qestcntattr/qestrgstdd" class="input_search" inputtype="date" style="left:738px; top:469px; width:90px; height:19px; "/>
  1189. <line id="line5" class="line_2" style="x1:5px; y1:541px; x2:965px; y2:541px; "/>
  1190. <caption id="caption15" class="cell_1" style="left:5px; top:492px; width:90px; height:50px; ">설문 내용</caption>
  1191. <textarea id="tar_qestcnts" ref="/root/main/qestcntattr/qestcnts" style="left:98px; top:493px; width:747px; height:47px; "/>
  1192. <line id="line6" class="line_3" style="x1:5px; y1:565px; x2:965px; y2:565px; "/>
  1193. <caption id="caption16" class="cell_1" style="left:5px; top:543px; width:90px; height:23px; ">설문문항 정보</caption>
  1194. <select1 id="rdo_qestkindcd" ref="/root/main/qestcntattr/qestkindcd" appearance="full" cols="9" overflow="visible" style="left:98px; top:546px; width:862px; height:15px; border-style:none; ">
  1195. <choices>
  1196. <itemset nodeset="/root/init/C0101list/C0101">
  1197. <label ref="cdnm"/>
  1198. <value ref="cdid"/>
  1199. </itemset>
  1200. </choices>
  1201. <script type="javascript" ev:event="onclick">
  1202. <![CDATA[
  1203. var kindcd = model.getValue("/root/main/qestcntattr/qestkindcd");
  1204. fNewQestCntMsg();
  1205. fSetQestKind(kindcd);
  1206. ]]>
  1207. </script>
  1208. </select1>
  1209. <datagrid id="grd_qestkindlist" nodeset="/root/main/qestgridlist/qestitemchoi" visibility="hidden" allowselection="false" autoresize="true" caption="답변보기일련번호^보기내용^배분점수^무응답" colwidth="60, 88, 76, 60" ellipsis="true" explorerbar="sortshowmove" extendlastcol="scroll" rowheader="seq" style="left:355px; top:130px; width:330px; height:190px; ">
  1210. <col ref="qestseqno"/>
  1211. <col ref="answchoiseqno"/>
  1212. <col ref="qestitemanswchoicnts"/>
  1213. <col ref="divpnt"/>
  1214. <col ref="norpaddinptyn"/>
  1215. </datagrid>
  1216. <switch id="switch1" style="left:5px; top:567px; width:960px; height:203px; ">
  1217. <case id="case1" selected="true" style="left:0px; top:0px; width:970px; height:203px; ">
  1218. <line id="line7" class="line_1" style="x1:5px; y1:26px; x2:955; y2:26px; "/>
  1219. <caption id="caption17" class="tit_2" style="left:5; top:10; width:74px; height:14px; ">단일 선택</caption>
  1220. <caption id="caption18" class="cell_1" style="left:5; top:31; width:90; height:23; ">보기 개수</caption>
  1221. <select1 id="cmb_qestitemanswchoicnt" ref="/root/main/qestcntattr/qestitemanswchoicnt" appearance="minimal" itemcount="19" style="left:98px; top:32px; width:113px; height:19px; ">
  1222. <choices>
  1223. <itemset nodeset="/root/init/qestitemanswchoilist">
  1224. <label ref="qestitemanswchoicntnm"/>
  1225. <value ref="qestitemanswchoicntcd"/>
  1226. </itemset>
  1227. </choices>
  1228. <script type="javascript" ev:event="xforms-value-changed">
  1229. <![CDATA[
  1230. fSetGrdItem();
  1231. ]]>
  1232. </script>
  1233. </select1>
  1234. <caption id="caption19" class="cell_1" style="left:214px; top:31px; width:90px; height:23px; ">보기 열 개수</caption>
  1235. <select1 id="cmb_qestitemanswchoicolcnt" ref="/root/main/qestcntattr/qestitemanswchoicolcnt" appearance="minimal" style="left:307px; top:32px; width:113px; height:19px; ">
  1236. <choices>
  1237. <item>
  1238. <label>1개</label>
  1239. <value>1</value>
  1240. </item>
  1241. <item>
  1242. <label>2개</label>
  1243. <value>2</value>
  1244. </item>
  1245. <item>
  1246. <label>3개</label>
  1247. <value>3</value>
  1248. </item>
  1249. <item>
  1250. <label>4개</label>
  1251. <value>4</value>
  1252. </item>
  1253. <item>
  1254. <label>5개</label>
  1255. <value>5</value>
  1256. </item>
  1257. </choices>
  1258. </select1>
  1259. <datagrid id="grd_qestchoicntslist" nodeset="/root/main/newitemchoilist/case123/qestchoicntslist" allowuserresize="false" caption="설문 문항 보기^서술입력 추가 여부" colsep="^" colwidth="772, 140, 0, 0, 0, 0" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:5px; top:55px; width:950px; height:138px; ">
  1260. <col ref="qestitemanswchoicnts" type="input"/>
  1261. <col checkvalue="Y,N" ref="descinptyn" type="checkbox"/>
  1262. <col ref="qestseqno" visibility="hidden"/>
  1263. <col ref="answchoiseqno" visibility="hidden"/>
  1264. <col ref="norpaddinptyn" visibility="hidden"/>
  1265. <col ref="qestitemanswchoicnts" visibility="hidden"/>
  1266. </datagrid>
  1267. </case>
  1268. <case id="case2" style="left:0px; top:0px; width:970px; height:203px; ">
  1269. <line id="line12" class="line_1" style="x1:5px; y1:26px; x2:955px; y2:26px; "/>
  1270. <caption id="caption26" class="tit_2" style="left:5; top:10; width:74px; height:14px; ">다중 선택</caption>
  1271. <line id="line13" class="line_2" style="x1:5px; y1:53px; x2:955px; y2:53px; "/>
  1272. <caption id="caption27" class="cell_1" style="left:5; top:31; width:90; height:23; ">보기 개수</caption>
  1273. <select1 id="cmb_case2_qestitemanswchoicnt" ref="/root/main/qestcntattr/qestitemanswchoicnt" appearance="minimal" itemcount="19" style="left:98px; top:32px; width:113px; height:19px; ">
  1274. <choices>
  1275. <itemset nodeset="/root/init/qestitemanswchoilist">
  1276. <label ref="qestitemanswchoicntnm"/>
  1277. <value ref="qestitemanswchoicntcd"/>
  1278. </itemset>
  1279. </choices>
  1280. <script type="javascript" ev:event="xforms-value-changed">
  1281. <![CDATA[
  1282. fSetGrdItem();
  1283. ]]>
  1284. </script>
  1285. </select1>
  1286. <caption id="caption28" class="cell_1" style="left:214px; top:31px; width:90px; height:23px; ">보기 열 개수</caption>
  1287. <select1 id="cmb_case2_qestitemanswchoicolcnt" ref="/root/main/qestcntattr/qestitemanswchoicolcnt" appearance="minimal" style="left:307px; top:32px; width:113px; height:19px; ">
  1288. <choices>
  1289. <item>
  1290. <label>1개</label>
  1291. <value>1</value>
  1292. </item>
  1293. <item>
  1294. <label>2개</label>
  1295. <value>2</value>
  1296. </item>
  1297. <item>
  1298. <label>3개</label>
  1299. <value>3</value>
  1300. </item>
  1301. <item>
  1302. <label>4개</label>
  1303. <value>4</value>
  1304. </item>
  1305. <item>
  1306. <label>5개</label>
  1307. <value>5</value>
  1308. </item>
  1309. </choices>
  1310. </select1>
  1311. <datagrid id="grd_case2_qestchoicntslist" nodeset="/root/main/newitemchoilist/case123/qestchoicntslist" allowuserresize="false" caption="설문 문항 보기^서술입력 추가 여부" colsep="^" colwidth="772, 140, 0, 0" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:5px; top:55px; width:950px; height:138px; ">
  1312. <col ref="qestitemanswchoicnts" type="input"/>
  1313. <col checkvalue="Y,N" ref="descinptyn" type="checkbox"/>
  1314. <col ref="qestseqno" visibility="hidden"/>
  1315. <col ref="answchoiseqno" visibility="hidden"/>
  1316. </datagrid>
  1317. </case>
  1318. <case id="case3" style="left:0px; top:0px; width:970px; height:203px; ">
  1319. <line id="line17" class="line_1" style="x1:5px; y1:26px; x2:955px; y2:26px; "/>
  1320. <caption id="caption32" class="tit_2" style="left:5px; top:10px; width:84px; height:14px; ">순위 선택</caption>
  1321. <caption id="caption33" class="cell_1" style="left:5; top:31; width:90; height:23; ">보기 개수</caption>
  1322. <select1 id="cmb_case3_qestitemanswchoicnt" ref="/root/main/qestcntattr/qestitemanswchoicnt" appearance="minimal" itemcount="19" style="left:98px; top:32px; width:113px; height:19px; ">
  1323. <choices>
  1324. <itemset nodeset="/root/init/qestitemanswchoilist">
  1325. <label ref="qestitemanswchoicntnm"/>
  1326. <value ref="qestitemanswchoicntcd"/>
  1327. </itemset>
  1328. </choices>
  1329. <script type="javascript" ev:event="xforms-value-changed">
  1330. <![CDATA[
  1331. fSetGrdItem();
  1332. ]]>
  1333. </script>
  1334. </select1>
  1335. <caption id="caption34" class="cell_1" style="left:214px; top:31px; width:90px; height:23px; ">보기 열 개수</caption>
  1336. <select1 id="cmb_case3_qestitemanswchoicolcnt" ref="/root/main/qestcntattr/qestitemanswchoicolcnt" appearance="minimal" style="left:307px; top:32px; width:113px; height:19px; ">
  1337. <choices>
  1338. <item>
  1339. <label>1개</label>
  1340. <value>1</value>
  1341. </item>
  1342. <item>
  1343. <label>2개</label>
  1344. <value>2</value>
  1345. </item>
  1346. <item>
  1347. <label>3개</label>
  1348. <value>3</value>
  1349. </item>
  1350. <item>
  1351. <label>4개</label>
  1352. <value>4</value>
  1353. </item>
  1354. <item>
  1355. <label>5개</label>
  1356. <value>5</value>
  1357. </item>
  1358. </choices>
  1359. </select1>
  1360. <caption id="caption36" class="cell_1" style="left:423; top:31; width:90; height:23; ">필수입력 개수</caption>
  1361. <select1 id="combo12" ref="/root/main/qestcntattr/essnanswcnt" appearance="minimal" itemcount="15" style="left:516px; top:32px; width:113px; height:19px; ">
  1362. <choices>
  1363. <itemset nodeset="/root/init/essnanswlist">
  1364. <label ref="essnanswnm"/>
  1365. <value ref="essnanswcd"/>
  1366. </itemset>
  1367. </choices>
  1368. </select1>
  1369. <datagrid id="grd_case3_qestchoicntslist" nodeset="/root/main/newitemchoilist/case123/qestchoicntslist" allowuserresize="false" caption="설문 문항 보기^서술입력 추가 여부" colsep="^" colwidth="772, 140, 0, 0" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:5px; top:55px; width:950px; height:138px; ">
  1370. <col ref="qestitemanswchoicnts" type="input"/>
  1371. <col checkvalue="Y,N" ref="descinptyn" type="checkbox"/>
  1372. <col ref="qestseqno" visibility="hidden"/>
  1373. <col ref="answchoiseqno" visibility="hidden"/>
  1374. </datagrid>
  1375. </case>
  1376. <case id="case4" style="left:0px; top:0px; width:970px; height:203px; ">
  1377. <line id="line23" class="line_1" style="x1:5px; y1:26px; x2:955px; y2:26px; "/>
  1378. <caption id="caption39" class="tit_2" style="left:5px; top:10px; width:74px; height:14px; ">단답 입력</caption>
  1379. <line id="line24" class="line_3" style="x1:5px; y1:53px; x2:955px; y2:53px; "/>
  1380. <caption id="caption40" class="cell_1" style="left:5; top:31; width:90; height:23; ">보기</caption>
  1381. <input id="input21" ref="/root/main/newitemchoilist/case45/qestitemanswchoicnts" maxlength="20" style="left:98px; top:32px; width:178px; height:19px; "/>
  1382. <caption id="caption41" style="left:283px; top:35px; width:91px; height:13px; ">( 입력 받는 공간</caption>
  1383. <bool id="chk_noinptyn" checkvalue="Y,N" overflow="visible" appearance="full" ref="/root/main/newitemchoilist/case45/noinptyn" style="left:378px; top:35px; width:13px; height:13px; border-style:none; "/>
  1384. <caption id="caption85" style="left:394px; top:35px; width:66px; height:13px; ">숫자만 입력</caption>
  1385. <input id="input22" ref="/root/main/newitemchoilist/case45/answchoiaddcnts" maxlength="20" style="left:468px; top:32px; width:148px; height:19px; "/>
  1386. <caption id="caption42" style="left:621px; top:35px; width:10px; height:14px; ">)</caption>
  1387. <bool id="chk_addinptyn" 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; "/>
  1388. <caption id="caption84" style="left:650px; top:35px; width:82px; height:14px; ">추가 입력 여부</caption>
  1389. <bool id="chk_addnoinptyn" checkvalue="Y,N" overflow="visible" appearance="full" ref="/root/main/newitemchoilist/case45/addnoinptyn" style="left:735px; top:35px; width:13px; height:13px; border-style:none; "/>
  1390. <caption id="caption86" style="left:751px; top:35px; width:70px; height:13px; ">숫자만 입력</caption>
  1391. <caption id="caption43" style="left:98px; top:59px; width:149px; height:20px; ">예) 일주일 동안 ( )회 운동</caption>
  1392. </case>
  1393. <case id="case5">
  1394. <line id="line25" class="line_1" style="x1:5px; y1:26px; x2:955; y2:26px; "/>
  1395. <caption id="caption44" class="tit_2" style="left:5px; top:10px; width:74px; height:14px; ">서술 입력</caption>
  1396. <line id="line26" class="line_3" style="x1:5px; y1:53px; x2:955; y2:53px; "/>
  1397. <caption id="caption45" class="cell_1" style="left:5; top:31; width:90; height:23; ">필수입력여부</caption>
  1398. <bool id="chk_caes5_essninptyn" 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; "/>
  1399. <caption id="caption87" style="left:114px; top:35px; width:54px; height:13px; ">필수 입력</caption>
  1400. </case>
  1401. <case id="case6">
  1402. <line id="line27" class="line_1" style="x1:5px; y1:26px; x2:955px; y2:26px; "/>
  1403. <caption id="caption46" class="tit_2" style="left:5px; top:10px; width:74px; height:14px; ">4점 척도</caption>
  1404. <line id="line28" class="line_2" style="x1:5px; y1:53px; x2:955px; y2:53px; "/>
  1405. <caption id="caption47" class="cell_1" style="left:5; top:31; width:90; height:23; ">보기 1</caption>
  1406. <input id="ipt_case6_qestitemanswchoicnts1" ref="/root/main/newitemchoilist/case678/qestanswchoi/qestitemanswchoicnts1" maxlength="30" style="left:98px; top:32px; width:310; height:19px; "/>
  1407. <caption id="caption48" style="left:411; top:34px; width:26px; height:17px; ">점수</caption>
  1408. <input id="ipt_case6_divpnt1" ref="/root/main/newitemchoilist/case678/pnt/divpnt1" maxlength="4" format="#" style="left:440; top:32px; width:40; height:19px; "/>
  1409. <caption id="caption49" class="cell_1" style="left:490; top:31; width:90; height:23; ">보기 3</caption>
  1410. <input id="ipt_case6_qestitemanswchoicnts3" ref="/root/main/newitemchoilist/case678/qestanswchoi/qestitemanswchoicnts3" maxlength="30" style="left:583; top:32px; width:300; height:19px; "/>
  1411. <caption id="caption50" style="left:886; top:34px; width:26px; height:17px; ">점수</caption>
  1412. <input id="ipt_case6_divpnt3" ref="/root/main/newitemchoilist/case678/pnt/divpnt3" maxlength="4" format="#.#" style="left:915; top:32px; width:40; height:19px; "/>
  1413. <line id="line29" class="line_2" style="x1:5px; y1:77px; x2:955px; y2:77px; "/>
  1414. <caption id="caption51" class="cell_1" style="left:5; top:55; width:90; height:23; ">보기 2</caption>
  1415. <input id="ipt_case6_qestitemanswchoicnts2" ref="/root/main/newitemchoilist/case678/qestanswchoi/qestitemanswchoicnts2" maxlength="30" style="left:98px; top:56px; width:310; height:19px; "/>
  1416. <caption id="caption52" style="left:411; top:58px; width:26px; height:17px; ">점수</caption>
  1417. <input id="ipt_case6_divpnt2" ref="/root/main/newitemchoilist/case678/pnt/divpnt2" maxlength="4" format="#.#" style="left:440; top:56px; width:40; height:19px; "/>
  1418. <caption id="caption53" class="cell_1" style="left:490; top:55; width:90; height:23; ">보기 4</caption>
  1419. <input id="ipt_case6_qestitemanswchoicnts4" ref="/root/main/newitemchoilist/case678/qestanswchoi/qestitemanswchoicnts4" maxlength="30" style="left:583; top:56; width:300; height:19; "/>
  1420. <caption id="caption54" style="left:886; top:58px; width:26px; height:17px; ">점수</caption>
  1421. <input id="ipt_case6_divpnt4" ref="/root/main/newitemchoilist/case678/pnt/divpnt4" maxlength="4" format="#.#" style="left:915; top:56px; width:40; height:19px; "/>
  1422. <line id="line30" class="line_3" style="x1:5px; y1:101px; x2:955px; y2:101px; "/>
  1423. <caption id="caption55" class="cell_1" style="left:5px; top:79px; width:90px; height:23px; ">무응답 추가</caption>
  1424. <bool id="chk_case6_norpaddinptyn" disabled="true" checkvalue="Y,N" overflow="visible" appearance="full" ref="/root/main/newitemchoilist/case678/norpaddinptyn" style="left:98px; top:83px; width:13; height:13; border-style:none; "/>
  1425. <caption id="caption88" style="left:114px; top:83px; width:54px; height:14px; ">무응답</caption>
  1426. </case>
  1427. <case id="case7">
  1428. <line id="line31" class="line_1" style="x1:5px; y1:26px; x2:955px; y2:26px; "/>
  1429. <caption id="caption56" class="tit_2" style="left:5px; top:10px; width:74px; height:14px; ">5점 척도</caption>
  1430. <line id="line32" class="line_2" style="x1:5px; y1:53px; x2:955px; y2:53px; "/>
  1431. <caption id="caption57" class="cell_1" style="left:5; top:31; width:90; height:23; ">보기 1</caption>
  1432. <input id="ipt_case7_qestitemanswchoicnts1" ref="/root/main/newitemchoilist/case678/qestanswchoi/qestitemanswchoicnts1" maxlength="30" style="left:98px; top:32px; width:310; height:19px; "/>
  1433. <caption id="caption58" style="left:411; top:34px; width:26px; height:17px; ">점수</caption>
  1434. <input id="ipt_case7_divpnt1" ref="/root/main/newitemchoilist/case678/pnt/divpnt1" maxlength="4" format="#" style="left:440; top:32px; width:40; height:19px; "/>
  1435. <caption id="caption59" class="cell_1" style="left:490; top:31; width:90; height:23; ">보기 4</caption>
  1436. <input id="ipt_case7_qestitemanswchoicnts4" ref="/root/main/newitemchoilist/case678/qestanswchoi/qestitemanswchoicnts4" maxlength="30" style="left:583; top:32px; width:300; height:19px; "/>
  1437. <caption id="caption60" style="left:886; top:34px; width:26px; height:17px; ">점수</caption>
  1438. <input id="input1" ref="/root/main/newitemchoilist/case678/pnt/divpnt4" maxlength="4" format="#.#" style="left:915; top:32px; width:40; height:19px; "/>
  1439. <line id="line33" class="line_2" style="x1:5px; y1:77px; x2:955px; y2:77px; "/>
  1440. <caption id="caption61" class="cell_1" style="left:5; top:55; width:90; height:23; ">보기 2</caption>
  1441. <input id="ipt_case7_qestitemanswchoicnts2" ref="/root/main/newitemchoilist/case678/qestanswchoi/qestitemanswchoicnts2" maxlength="30" style="left:98px; top:56px; width:310; height:19px; "/>
  1442. <caption id="caption62" style="left:411; top:58px; width:26px; height:17px; ">점수</caption>
  1443. <input id="input2" ref="/root/main/newitemchoilist/case678/pnt/divpnt2" maxlength="4" format="#.#" style="left:440; top:56px; width:40; height:19px; "/>
  1444. <caption id="caption63" class="cell_1" style="left:490; top:55; width:90; height:23; ">보기 5</caption>
  1445. <input id="ipt_case7_qestitemanswchoicnts5" ref="/root/main/newitemchoilist/case678/qestanswchoi/qestitemanswchoicnts5" maxlength="30" style="left:583; top:56; width:300; height:19; "/>
  1446. <caption id="caption64" style="left:886; top:58px; width:26px; height:17px; ">점수</caption>
  1447. <input id="input3" ref="/root/main/newitemchoilist/case678/pnt/divpnt5" maxlength="4" format="#.#" style="left:915; top:56px; width:40; height:19px; "/>
  1448. <line id="line34" class="line_3" style="x1:5px; y1:101px; x2:955px; y2:101px; "/>
  1449. <caption id="caption65" class="cell_1" style="left:5px; top:79px; width:90px; height:23px; ">보기 3</caption>
  1450. <input id="ipt_case7_qestitemanswchoicnts3" ref="/root/main/newitemchoilist/case678/qestanswchoi/qestitemanswchoicnts3" maxlength="30" style="left:98px; top:79px; width:310; height:19px; "/>
  1451. <caption id="caption66" style="left:411; top:81px; width:26px; height:17px; ">점수</caption>
  1452. <input id="input4" ref="/root/main/newitemchoilist/case678/pnt/divpnt3" maxlength="4" format="#.#" style="left:440; top:80; width:40; height:19px; "/>
  1453. <caption id="caption67" class="cell_1" style="left:490; top:79; width:90; height:23; ">무응답 추가</caption>
  1454. <bool id="chk_case7_norpaddinptyn" disabled="true" checkvalue="Y,N" overflow="visible" appearance="full" ref="/root/main/newitemchoilist/case678/norpaddinptyn" style="left:583; top:83px; width:13px; height:13px; border-style:none; "/>
  1455. <caption id="caption89" style="left:599px; top:83px; width:50px; height:14px; ">무응답</caption>
  1456. </case>
  1457. <case id="case8">
  1458. <line id="line35" class="line_1" style="x1:5px; y1:26px; x2:955px; y2:26px; "/>
  1459. <caption id="caption68" class="tit_2" style="left:5px; top:10px; width:74px; height:14px; ">7점 척도</caption>
  1460. <line id="line36" class="line_2" style="x1:0px; y1:53px; x2:955px; y2:53px; "/>
  1461. <caption id="caption69" class="cell_1" style="left:5; top:31; width:90; height:23; ">보기 1</caption>
  1462. <input id="ipt_case8_qestitemanswchoicnts1" ref="/root/main/newitemchoilist/case678/qestanswchoi/qestitemanswchoicnts1" maxlength="30" style="left:98px; top:32px; width:310; height:19px; "/>
  1463. <caption id="caption70" style="left:411px; top:34px; width:26px; height:17px; ">점수</caption>
  1464. <input id="ipt_case8_divpnt1" ref="/root/main/newitemchoilist/case678/pnt/divpnt1" maxlength="4" format="#" style="left:440px; top:32px; width:40px; height:19px; "/>
  1465. <caption id="caption71" class="cell_1" style="left:490px; top:31px; width:90px; height:23px; ">보기 5</caption>
  1466. <input id="input5" ref="/root/main/newitemchoilist/case678/qestanswchoi/qestitemanswchoicnts5" maxlength="30" style="left:583px; top:32px; width:300px; height:19px; "/>
  1467. <caption id="caption72" style="left:886px; top:34px; width:26px; height:17px; ">점수</caption>
  1468. <input id="input6" ref="/root/main/newitemchoilist/case678/pnt/divpnt5" maxlength="4" format="#" style="left:915px; top:32px; width:40px; height:19px; "/>
  1469. <line id="line37" class="line_2" style="x1:5px; y1:77px; x2:955px; y2:77px; "/>
  1470. <caption id="caption73" class="cell_1" style="left:5; top:55; width:90; height:23; ">보기 2</caption>
  1471. <input id="input7" ref="/root/main/newitemchoilist/case678/qestanswchoi/qestitemanswchoicnts2" maxlength="30" style="left:98px; top:56px; width:310px; height:19px; "/>
  1472. <caption id="caption74" style="left:411px; top:58px; width:26px; height:17px; ">점수</caption>
  1473. <input id="input8" ref="/root/main/newitemchoilist/case678/pnt/divpnt2" maxlength="4" format="#.#" style="left:440px; top:56px; width:40px; height:19px; "/>
  1474. <caption id="caption75" class="cell_1" style="left:490px; top:55px; width:90px; height:23px; ">보기 6</caption>
  1475. <input id="input9" ref="/root/main/newitemchoilist/case678/qestanswchoi/qestitemanswchoicnts6" maxlength="30" style="left:583px; top:56px; width:300px; height:19px; "/>
  1476. <caption id="caption76" style="left:886px; top:58px; width:26px; height:17px; ">점수</caption>
  1477. <input id="input23" ref="/root/main/newitemchoilist/case678/pnt/divpnt6" maxlength="4" format="#.#" style="left:915px; top:56px; width:40px; height:19px; "/>
  1478. <line id="line38" class="line_2" style="x1:5px; y1:101px; x2:955px; y2:101px; "/>
  1479. <caption id="caption77" class="cell_1" style="left:5px; top:79px; width:90px; height:23px; ">보기 3</caption>
  1480. <input id="input24" ref="/root/main/newitemchoilist/case678/qestanswchoi/qestitemanswchoicnts3" maxlength="30" style="left:98px; top:79px; width:310px; height:19px; "/>
  1481. <caption id="caption78" style="left:411px; top:81px; width:26px; height:17px; ">점수</caption>
  1482. <input id="input25" ref="/root/main/newitemchoilist/case678/pnt/divpnt3" maxlength="4" format="#.#" style="left:440px; top:80px; width:40px; height:19px; "/>
  1483. <caption id="caption79" class="cell_1" style="left:490px; top:79px; width:90px; height:23px; ">보기 7</caption>
  1484. <input id="input26" ref="/root/main/newitemchoilist/case678/qestanswchoi/qestitemanswchoicnts7" maxlength="30" style="left:583px; top:80px; width:300px; height:19px; "/>
  1485. <caption id="caption80" style="left:886px; top:81px; width:26px; height:17px; ">점수</caption>
  1486. <input id="input27" ref="/root/main/newitemchoilist/case678/pnt/divpnt7" maxlength="4" format="#.#" style="left:915px; top:80px; width:40px; height:19px; "/>
  1487. <line id="line39" class="line_3" style="x1:5px; y1:125px; x2:955px; y2:125px; "/>
  1488. <caption id="caption81" class="cell_1" style="left:5; top:103; width:90; height:23; ">보기 4</caption>
  1489. <input id="input28" ref="/root/main/newitemchoilist/case678/qestanswchoi/qestitemanswchoicnts4" maxlength="30" style="left:98px; top:104px; width:310px; height:19px; "/>
  1490. <caption id="caption82" style="left:411px; top:106px; width:26px; height:17px; ">점수</caption>
  1491. <input id="input29" ref="/root/main/newitemchoilist/case678/pnt/divpnt4" maxlength="4" format="#.#" style="left:440px; top:104px; width:40px; height:19px; "/>
  1492. <caption id="caption83" class="cell_1" style="left:490px; top:103px; width:90px; height:23px; ">무응답 추가</caption>
  1493. <bool id="chk_case8_norpaddinptyn" disabled="true" checkvalue="Y,N" overflow="visible" appearance="full" ref="/root/main/newitemchoilist/case678/norpaddinptyn" style="left:583px; top:107px; width:13px; height:13px; border-style:none; "/>
  1494. <caption id="caption90" style="left:599px; top:107px; width:50px; height:14px; ">무응답</caption>
  1495. </case>
  1496. <case id="case9">
  1497. <line id="line8" style="x1:45px; y1:40px; x2:45px; y2:110px; "/>
  1498. <line id="line9" style="x1:910px; y1:40; x2:910px; y2:110; "/>
  1499. <line id="line10" style="x1:45px; y1:75px; x2:910px; y2:75px; "/>
  1500. <line id="line11" style="x1:131px; y1:55px; x2:131px; y2:100px; "/>
  1501. <line id="line14" style="x1:218px; y1:55px; x2:218px; y2:100px; "/>
  1502. <line id="line15" style="x1:303px; y1:55px; x2:303px; y2:100px; "/>
  1503. <line id="line16" style="x1:390px; y1:55px; x2:390px; y2:100px; "/>
  1504. <line id="line18" style="x1:475px; y1:55px; x2:475px; y2:100px; "/>
  1505. <line id="line19" style="x1:562px; y1:55px; x2:562px; y2:100px; "/>
  1506. <line id="line20" style="x1:647px; y1:55px; x2:647px; y2:100px; "/>
  1507. <line id="line22" style="x1:734px; y1:55px; x2:734px; y2:100px; "/>
  1508. <line id="line40" style="x1:819px; y1:55px; x2:819px; y2:100px; "/>
  1509. <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; ">
  1510. <choices>
  1511. <item>
  1512. <label/>
  1513. <value>0.0</value>
  1514. </item>
  1515. </choices>
  1516. </select1>
  1517. <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; ">
  1518. <choices>
  1519. <item>
  1520. <label/>
  1521. <value>1.0</value>
  1522. </item>
  1523. </choices>
  1524. </select1>
  1525. <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; ">
  1526. <choices>
  1527. <item>
  1528. <label/>
  1529. <value>2.0</value>
  1530. </item>
  1531. </choices>
  1532. </select1>
  1533. <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; ">
  1534. <choices>
  1535. <item>
  1536. <label/>
  1537. <value>3.0</value>
  1538. </item>
  1539. </choices>
  1540. </select1>
  1541. <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; ">
  1542. <choices>
  1543. <item>
  1544. <label/>
  1545. <value>4.0</value>
  1546. </item>
  1547. </choices>
  1548. </select1>
  1549. <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; ">
  1550. <choices>
  1551. <item>
  1552. <label/>
  1553. <value>5.0</value>
  1554. </item>
  1555. </choices>
  1556. </select1>
  1557. <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; ">
  1558. <choices>
  1559. <item>
  1560. <label/>
  1561. <value>6.0</value>
  1562. </item>
  1563. </choices>
  1564. </select1>
  1565. <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; ">
  1566. <choices>
  1567. <item>
  1568. <label/>
  1569. <value>7.0</value>
  1570. </item>
  1571. </choices>
  1572. </select1>
  1573. <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; ">
  1574. <choices>
  1575. <item>
  1576. <label/>
  1577. <value>8.0</value>
  1578. </item>
  1579. </choices>
  1580. </select1>
  1581. <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; ">
  1582. <choices>
  1583. <item>
  1584. <label/>
  1585. <value>9.0</value>
  1586. </item>
  1587. </choices>
  1588. </select1>
  1589. <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; ">
  1590. <choices>
  1591. <item>
  1592. <label/>
  1593. <value>10.0</value>
  1594. </item>
  1595. </choices>
  1596. </select1>
  1597. <caption id="caption20" style="left:20px; top:115px; width:54px; height:28px; ">
  1598. <![CDATA[ 0
  1599. 가장 나쁨]]>
  1600. </caption>
  1601. <caption id="caption21" style="left:125px; top:115px; width:10px; height:20px; ">1</caption>
  1602. <caption id="caption22" style="left:214px; top:115px; width:10px; height:20px; ">2</caption>
  1603. <caption id="caption23" style="left:299px; top:115px; width:10px; height:20px; ">3</caption>
  1604. <caption id="caption24" style="left:385px; top:115px; width:10px; height:20px; ">4</caption>
  1605. <caption id="caption25" style="left:471px; top:115px; width:10px; height:20px; ">5</caption>
  1606. <caption id="caption29" style="left:557px; top:115px; width:10px; height:20px; ">6</caption>
  1607. <caption id="caption30" style="left:643px; top:115px; width:10px; height:20px; ">7</caption>
  1608. <caption id="caption31" style="left:729px; top:115px; width:10px; height:20px; ">8</caption>
  1609. <caption id="caption35" style="left:815px; top:115px; width:10px; height:20px; ">9</caption>
  1610. <caption id="caption37" style="left:883px; top:115px; width:55px; height:28px; ">
  1611. <![CDATA[ 10
  1612. 가장 좋음]]>
  1613. </caption>
  1614. </case>
  1615. </switch>
  1616. </group>
  1617. </xhtml:body>
  1618. </xhtml:html>