SMCIT00300_만족도설문지관리.xrw 40 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * Name : SMCIT00300_만족도설문지관리
  4. * Summary : 설문지 관리
  5. * Programmer : 황현석
  6. * Date Written : 2010.06.24.
  7. * History :
  8. * Remark :
  9. -->
  10. <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
  11. <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
  12. <xhtml:head>
  13. <xhtml:title>만족도 설문지 관리</xhtml:title>
  14. <model id="model1">
  15. <instance id="instance1">
  16. <root xmlns="">
  17. <main>
  18. <satsfctqestlist>
  19. <qpaprtitlcnts/>
  20. <qpaprgoalcd/>
  21. <itemgrupkindcd/>
  22. <stinqestcnt/>
  23. <wrtestatcd/>
  24. <rgstdeptcd/>
  25. <rgstid/>
  26. <wrteenddd/>
  27. <qpaprseqno/>
  28. <qpaprdesccnts/>
  29. <startgidewrdncnts/>
  30. <hstndeptcnts/>
  31. <endgidewrndcnts/>
  32. <rgstdeptnm/>
  33. <rgstnm/>
  34. <count/>
  35. </satsfctqestlist>
  36. <qestbasesetup>
  37. <qpaprtitlcnts/>
  38. <qpaprgoalcd/>
  39. <qpaprdesccnts/>
  40. <startgidewrdncnts/>
  41. <hstndeptcnts/>
  42. <endgidewrndcnts/>
  43. <wrtestatcd/>
  44. <wrteenddd/>
  45. <rgstdeptcd/>
  46. <rgstid/>
  47. <savemode>I</savemode>
  48. <rgstdeptnm/>
  49. <rgstnm/>
  50. <qpaprseqno/>
  51. <qestitemgrupseqno/>
  52. <qestcomps>
  53. <qestitemgrupcnt/>
  54. <humtrafactposcd/>
  55. <qestgruplist>
  56. <qestitemgrupnm/>
  57. <qestitemcnt/>
  58. <qpaprseqno/>
  59. <qestitemgrupseqno/>
  60. </qestgruplist>
  61. <stinqestcnt/>
  62. </qestcomps>
  63. <count/>
  64. </qestbasesetup>
  65. </main>
  66. <send>
  67. <srch>
  68. <rgstfromdd/>
  69. <rgsttodd/>
  70. <qpaprtitlcnts/>
  71. <wrtestatcd/>
  72. <qpaprgoalcd/>
  73. </srch>
  74. <qestattr>
  75. <qpaprseqno/>
  76. </qestattr>
  77. </send>
  78. <init>
  79. <C0107list>
  80. <C0107>
  81. <cdnm>전체</cdnm>
  82. <cdid/>
  83. </C0107>
  84. </C0107list>
  85. <C0106list/>
  86. <C0108list/>
  87. </init>
  88. <hidden>
  89. <qpaprmngt>U</qpaprmngt>
  90. </hidden>
  91. </root>
  92. </instance>
  93. <submission id="TRCIT00301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/srch" resultref="/root/main/satsfctqestlist"/>
  94. <submission id="TRCIT00302" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/qestattr" resultref="/root/main/qestbasesetup/qestcomps/qestgruplist"/>
  95. <submission id="TXCIT00301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/qestbasesetup"/>
  96. </model>
  97. <script type="javascript" src="../../../crm/crmweb/js/CCZ001.js"/>
  98. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  99. <script type="javascript" src="../../../com/commonweb/js/rexpert30.js"/>
  100. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  101. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  102. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  103. <script type="javascript" ev:event="xforms-ready">
  104. <![CDATA[
  105. // 공통코드 C0107 : 작성상태, C0106 : 설문목적, C0108 : 기초설문위치
  106. zbcfGetCodeList( new Array("C0107", "C0106", "C0108"), new Array("/root/init/C0107list", "/root/init/C0106list", "/root/init/C0108list"));
  107. //현재 그리드가 선택된 Row
  108. var gRow = 0;
  109. //사용자 부서 설정
  110. var dutplcenm = getUserInfo("dutplcenm");
  111. model.setValue("/root/main/qestbasesetup/rgstdeptnm", dutplcenm);
  112. var dutplcecd = getUserInfo("dutplcecd");
  113. model.setValue("/root/main/qestbasesetup/rgstdeptcd", dutplcecd);
  114. //사용자 설정
  115. var usernm = getUserInfo("usernm");
  116. model.setValue("/root/main/qestbasesetup/rgstnm", usernm);
  117. var userid = getUserInfo("userid");
  118. model.setValue("/root/main/qestbasesetup/rgstid", userid);
  119. // 시작 화면에 오늘 날짜 & 1년 전 보여주기
  120. model.setValue("/root/send/srch/rgstfromdd", getCurrentDate().toDate().getAddDate(-1,"Y").getDateFormat());
  121. model.setValue("/root/send/srch/rgsttodd", getCurrentDate());
  122. // 시작시 작성상태 & 설문지 목적을 기본 '전체' 로 표시하기
  123. model.setValue("/root/send/srch/wrtestatcd","");
  124. model.setValue("/root/send/srch/qpaprgoalcd","");
  125. model.removeNodeset("/root/main/qestbasesetup/qestcomps/qestgruplist");
  126. model.removeNodeset("/root/main/satsfctqestlist");
  127. model.setValue("/root/main/qestbasesetup/wrtestatcd", "2");
  128. model.setValue("/root/main/qestbasesetup/qestcomps/qestitemgrupcnt", 0)
  129. model.setValue("/root/main/qestbasesetup/qestcomps/humtrafactposcd", "1");
  130. model.setValue("/root/main/qestbasesetup/qestcomps/stinqestcnt", 0);
  131. addComboItemAll("cmb_srch_qpaprgoalcd");
  132. fSetButtons();
  133. model.refresh();
  134. ]]>
  135. </script>
  136. <script type="javascript">
  137. <![CDATA[
  138. var gTextFocus = "";
  139. // 설문 내용의 초기화
  140. function fNewMsg() {
  141. model.setValue("/root/main/qestbasesetup/qpaprtitlcnts","");
  142. model.setValue("/root/main/qestbasesetup/qpaprgoalcd","");
  143. model.setValue("/root/main/qestbasesetup/qpaprdesccnts","");
  144. model.setValue("/root/main/qestbasesetup/startgidewrdncnts","");
  145. model.setValue("/root/main/qestbasesetup/hstndeptcnts","");
  146. model.setValue("/root/main/qestbasesetup/endgidewrndcnts","");
  147. model.setValue("/root/main/qestbasesetup/wrtestatcd","");
  148. model.setValue("/root/main/qestbasesetup/qpaprseqno","");
  149. model.setValue("/root/main/qestbasesetup/qestcomps/qestitemgrupcnt","");
  150. model.setValue("/root/main/qestbasesetup/qestcomps/humtrafactposcd","");
  151. model.removeNodeset("/root/main/qestbasesetup/qestcomps/qestgruplist");
  152. //사용자 부서 설정
  153. var dutplcenm = getUserInfo("dutplcenm");
  154. model.setValue("/root/main/qestbasesetup/rgstdeptnm", dutplcenm);
  155. var dutplcecd = getUserInfo("dutplcecd");
  156. model.setValue("/root/main/qestbasesetup/rgstdeptcd", dutplcecd);
  157. //사용자 설정
  158. var usernm = getUserInfo("usernm");
  159. model.setValue("/root/main/qestbasesetup/rgstnm", usernm);
  160. var userid = getUserInfo("userid");
  161. model.setValue("/root/main/qestbasesetup/rgstid", userid);
  162. model.setValue("/root/main/qestbasesetup/savemode", "I");
  163. model.setValue("/root/main/qestbasesetup/wrtestatcd", "2");
  164. model.setValue("/root/main/qestbasesetup/qestcomps/qestitemgrupcnt", 0)
  165. model.setValue("/root/main/qestbasesetup/qestcomps/humtrafactposcd", "1");
  166. model.setValue("/root/main/qestbasesetup/qestcomps/stinqestcnt", 0);
  167. fSetButtons();
  168. model.refresh();
  169. }
  170. // 버튼의 활성화 유무
  171. function fSetButtons() {
  172. var savemode = model.getValue("/root/main/qestbasesetup/savemode");
  173. var wrtestatcd = model.getValue("/root/main/qestbasesetup/wrtestatcd");
  174. if (savemode == "I") {
  175. btn_qestprnt.disabled = true; // 설문지 출력
  176. btn_qestprvw.disabled = true; // 설문지 미리보기
  177. btn_del.disabled = true; // 삭제
  178. btn_wrteend.disabled = true; // 작성완료
  179. btn_qestcompsmngt.disabled = true; // 설문지구성관리
  180. btn_wrteend_cncl.disabled = true; // 작성완료 취소
  181. } else if (savemode == "U") {
  182. btn_qestprnt.disabled = false;
  183. btn_qestprvw.disabled = false;
  184. btn_del.disabled = false;
  185. btn_qestcompsmngt.disabled = false;
  186. // 작성상태에 따른 버튼 활성화
  187. if (wrtestatcd == "1") { // 작성완료
  188. btn_wrteend_cncl.disabled = false;
  189. btn_wrteend.disabled = true;
  190. } else {
  191. btn_wrteend_cncl.disabled = true;
  192. btn_wrteend.disabled = false;
  193. }
  194. }
  195. }
  196. // 조회부
  197. function fGetMsgTmplList() {
  198. // var ipt_srch_qestitemgrupnm = model.getValue("/root/send/srch/qestitemgrupnm");
  199. //
  200. // if (ipt_srch_qestitemgrupnm == ""){
  201. // messageBox("문항 그룹명이 입력 되지", "E007");
  202. // return false;
  203. // } else {
  204. submit("TRCIT00301");
  205. // }
  206. // 등록화면 초기화
  207. model.resetInstanceNode("/root/main/qestbasesetup");
  208. fNewMsg();
  209. fSetButtons();
  210. model.refresh();
  211. }
  212. //
  213. function fSetFocus(pfocus) {
  214. gTextFocus = pfocus;
  215. }
  216. // 설문지 목록 데이터 상세조회
  217. function fSetupBase(pRow) {
  218. if( pRow > 0 && grd_satsfctqestlist.fixedRows > 0 ){
  219. // 선택한 설문지 목록을 설문기 기본설정과 구성으로 넘겨준다.
  220. var qpaprtitlcnts = grd_satsfctqestlist.valueMatrix(pRow, grd_satsfctqestlist.colRef("qpaprtitlcnts"));
  221. var qpaprgoalcd = grd_satsfctqestlist.valueMatrix(pRow, grd_satsfctqestlist.colRef("qpaprgoalcd"));
  222. var itemgrupkindcd = grd_satsfctqestlist.valueMatrix(pRow, grd_satsfctqestlist.colRef("itemgrupkindcd"));
  223. var stinqestcnt = grd_satsfctqestlist.valueMatrix(pRow, grd_satsfctqestlist.colRef("stinqestcnt"));
  224. var wrtestatcd = grd_satsfctqestlist.valueMatrix(pRow, grd_satsfctqestlist.colRef("wrtestatcd"));
  225. var rgstdeptnm = grd_satsfctqestlist.valueMatrix(pRow, grd_satsfctqestlist.colRef("rgstdeptnm"));
  226. var rgstnm = grd_satsfctqestlist.valueMatrix(pRow, grd_satsfctqestlist.colRef("rgstnm"));
  227. var wrteenddd = grd_satsfctqestlist.valueMatrix(pRow, grd_satsfctqestlist.colRef("wrteenddd"));
  228. var rgstdeptcd = grd_satsfctqestlist.valueMatrix(pRow, grd_satsfctqestlist.colRef("rgstdeptcd"));
  229. var rgstid = grd_satsfctqestlist.valueMatrix(pRow, grd_satsfctqestlist.colRef("rgstid"));
  230. var qpaprseqno = grd_satsfctqestlist.valueMatrix(pRow, grd_satsfctqestlist.colRef("qpaprseqno"));
  231. var qpaprdesccnts = grd_satsfctqestlist.valueMatrix(pRow, grd_satsfctqestlist.colRef("qpaprdesccnts"));
  232. var startgidewrdncnts = grd_satsfctqestlist.valueMatrix(pRow, grd_satsfctqestlist.colRef("startgidewrdncnts"));
  233. var hstndeptcnts = grd_satsfctqestlist.valueMatrix(pRow, grd_satsfctqestlist.colRef("hstndeptcnts"));
  234. var endgidewrndcnts = grd_satsfctqestlist.valueMatrix(pRow, grd_satsfctqestlist.colRef("endgidewrndcnts"));
  235. var qestitemgrupcnt = grd_satsfctqestlist.valueMatrix(pRow, grd_satsfctqestlist.colRef("qestitemgrupcnt"));
  236. var humtrafactposcd = grd_satsfctqestlist.valueMatrix(pRow, grd_satsfctqestlist.colRef("humtrafactposcd"));
  237. var count = grd_satsfctqestlist.valueMatrix(pRow, grd_satsfctqestlist.colRef("count"));
  238. model.setValue("/root/main/qestbasesetup/qpaprtitlcnts",qpaprtitlcnts);
  239. model.setValue("/root/main/qestbasesetup/qpaprgoalcd",qpaprgoalcd);
  240. model.setValue("/root/main/qestbasesetup/qpaprdesccnts",qpaprdesccnts);
  241. model.setValue("/root/main/qestbasesetup/startgidewrdncnts",startgidewrdncnts);
  242. model.setValue("/root/main/qestbasesetup/hstndeptcnts",hstndeptcnts);
  243. model.setValue("/root/main/qestbasesetup/wrtestatcd",wrtestatcd);
  244. model.setValue("/root/main/qestbasesetup/wrteenddd",wrteenddd);
  245. model.setValue("/root/main/qestbasesetup/endgidewrndcnts",endgidewrndcnts);
  246. model.setValue("/root/main/qestbasesetup/rgstdeptnm",rgstdeptnm);
  247. model.setValue("/root/main/qestbasesetup/rgstnm",rgstnm);
  248. model.setValue("/root/main/qestbasesetup/rgstdeptcd",rgstdeptcd);
  249. model.setValue("/root/main/qestbasesetup/rgstid",rgstid);
  250. model.setValue("/root/main/qestbasesetup/qpaprseqno",qpaprseqno);
  251. model.setValue("/root/main/qestbasesetup/count",count);
  252. // 설문지 구성 그리드
  253. model.setValue("/root/main/qestbasesetup/qestcomps/qestitemgrupcnt",qestitemgrupcnt);
  254. model.setValue("/root/main/qestbasesetup/qestcomps/humtrafactposcd",humtrafactposcd);
  255. model.setValue("/root/main/qestbasesetup/qestcomps/stinqestcnt",stinqestcnt);
  256. model.setValue("/root/main/qestbasesetup/savemode","U");
  257. // 설문지 구성에대한 값을 조회한다.
  258. model.setValue("/root/send/qestattr/qpaprseqno",qpaprseqno);
  259. submit("TRCIT00302");
  260. // 설문지정렬순서의 변경을 위해 필요로 불러왔다.
  261. model.setValue("/root/main/qestbasesetup/qestitemgrupseqno", model.getValue("/root/main/qestbasesetup/qestcomps/qestgruplist/qestitemgrupseqno"));
  262. // 설문지가 없을때 보여주는 메시지
  263. var qestitemgrupcnt = model.getValue("/root/main/qestbasesetup/qestcomps/qestitemgrupcnt");
  264. if (qestitemgrupcnt == 0) {
  265. alert("등록된 설문지가 없습니다.");
  266. }
  267. // 버튼의 활성화 유무를 확인
  268. fSetButtons();
  269. model.refresh();
  270. }
  271. }
  272. ]]>
  273. </script>
  274. </xhtml:head>
  275. <xhtml:body pagewidth="1195" pageheight="784" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  276. <caption id="caption1" class="tit_1" style="left:5px; top:0px; width:150; height:13px; ">만족도 설문지 관리</caption>
  277. <group id="group1" style="left:0; top:23; width:1195; height:35; ">
  278. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1194px; height:35px; "/>
  279. <caption id="caption2" class="search_name" style="left:15; top:9; width:80; height:17; ">등록기간</caption>
  280. <input id="ipt_rgstfromdd" ref="/root/send/srch/rgstfromdd" class="input_search" inputtype="date" style="left:98; top:8; width:100; height:19; "/>
  281. <caption id="caption3" style="left:203; top:8; width:12; height:19; ">~</caption>
  282. <input id="ipt_rgsttodd" ref="/root/send/srch/rgsttodd" class="input_search" inputtype="date" style="left:220; top:8; width:100; height:19px; "/>
  283. <caption id="caption4" class="search_name" style="left:332; top:9; width:100px; height:17; ">설문지 제목</caption>
  284. <input id="ipt_srch_qpaprtitlcnts" ref="/root/send/srch/qpaprtitlcnts" class="input_search" maxlength="30" style="left:437; top:8; width:200; height:19; ">
  285. <script type="javascript" ev:event="onkeyup">
  286. <![CDATA[
  287. inputEnterKey("btn_search", "DOMActivate");
  288. ]]>
  289. </script>
  290. </input>
  291. <caption id="caption5" class="search_name" style="left:649; top:9; width:80; height:17; ">작성상태</caption>
  292. <select1 id="cmb_srch_wrtestatcd" ref="/root/send/srch/wrtestatcd" class="combo_search" appearance="minimal" style="left:734; top:8; width:100px; height:19px; ">
  293. <choices>
  294. <itemset nodeset="/root/init/C0107list/C0107">
  295. <label ref="cdnm"/>
  296. <value ref="cdid"/>
  297. </itemset>
  298. </choices>
  299. </select1>
  300. <caption id="caption6" class="search_name" style="left:846; top:9; width:100px; height:17; ">설문지 목적</caption>
  301. <select1 id="cmb_srch_qpaprgoalcd" ref="/root/send/srch/qpaprgoalcd" class="combo_search" appearance="minimal" style="left:951; top:8; width:100px; height:19; ">
  302. <choices>
  303. <itemset nodeset="/root/init/C0106list/C0106">
  304. <label ref="cdnm"/>
  305. <value ref="cdid"/>
  306. </itemset>
  307. </choices>
  308. </select1>
  309. <line id="line1" class="line_4" style="x1:1112px; y1:7px; x2:1112px; y2:29px; "/>
  310. <button id="btn_search" class="btn1_letter2" style="left:1127; top:7; width:56px; height:22px; ">
  311. <caption>조회</caption>
  312. <script type="javascript" ev:event="DOMActivate">
  313. <![CDATA[
  314. var search_condition = model.getValue("/root/send/srch/qpaprtitlcnts");
  315. fGetMsgTmplList();
  316. /*
  317. if (ipt_srch_qpaprtitlcnts.value.length < 2) {
  318. messageBox("설문지 제목은 최소 2글자 이상 ", "C001");
  319. model.setFocus("ipt_srch_qpaprtitlcnts");
  320. } else {
  321. //fGetMsgTmplList();
  322. } */
  323. ]]>
  324. </script>
  325. </button>
  326. </group>
  327. <line id="line21" class="line_1" style="x1:0px; y1:83px; x2:1194px; y2:83px; "/>
  328. <caption id="caption7" class="tit_2" style="left:0; top:68; width:140; height:13; ">만족도 설문지 목록</caption>
  329. <button id="btn_saveexcel" class="btn2_letter4" style="left:1130px; top:62px; width:64px; height:19px; ">
  330. <caption>엑셀저장</caption>
  331. <script type="javascript" ev:event="DOMActivate">
  332. <![CDATA[
  333. var fileName = window.fileDialog("save", ",", false, "문항그룹명", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
  334. if (fileName != "") {
  335. grd_satsfctqestlist.saveExcel(fileName);
  336. }
  337. ]]>
  338. </script>
  339. </button>
  340. <datagrid id="grd_satsfctqestlist" nodeset="/root/main/satsfctqestlist" caption="설문지 제목^설문지 목적^설문지 구성^설문 총 문항수^작성상태^등록부서^등록자^작성완료일자^^^^^^^" colsep="^" colwidth="390, 150, 150, 100, 80, 120, 100, 100, 0, 0, 0, 0, 0, 0, 0, 0, 0" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:88px; width:1194px; height:276px; ">
  341. <col ref="qpaprtitlcnts"/>
  342. <col disabled="true" ref="qpaprgoalcd" type="combo">
  343. <choices>
  344. <itemset nodeset="/root/init/C0106list/C0106">
  345. <label ref="cdnm"/>
  346. <value ref="cdid"/>
  347. </itemset>
  348. </choices>
  349. </col>
  350. <col ref="itemgrupkindcd"/>
  351. <col ref="stinqestcnt"/>
  352. <col disabled="true" ref="wrtestatcd" type="combo">
  353. <choices>
  354. <itemset nodeset="/root/init/C0107list/C0107">
  355. <label ref="cdnm"/>
  356. <value ref="cdid"/>
  357. </itemset>
  358. </choices>
  359. </col>
  360. <col ref="rgstdeptnm"/>
  361. <col ref="rgstnm" style="text-align:center; "/>
  362. <col ref="wrteenddd" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
  363. <col ref="rgstdeptcd" visibility="hidden"/>
  364. <col ref="rgstid" visibility="hidden"/>
  365. <col ref="qpaprseqno" visibility="hidden"/>
  366. <col ref="qpaprdesccnts" visibility="hidden"/>
  367. <col ref="startgidewrdncnts" visibility="hidden"/>
  368. <col ref="hstndeptcnts" visibility="hidden"/>
  369. <col ref="endgidewrndcnts" visibility="hidden"/>
  370. <col ref="qestitemgrupcnt" visibility="hidden"/>
  371. <col ref="humtrafactposcd" visibility="hidden"/>
  372. <col ref="count" visibility="hidden"/>
  373. <script type="javascript" ev:event="ondblclick">
  374. <![CDATA[
  375. fNewMsg(); // 문항보기 내용 초기화
  376. model.removeNodeset("/root/main/qestcntattr/qestitemchoilist");
  377. model.removeNodeset("/root/main/qestbasesetup/qestcomps/qestgruplist");
  378. gRow = grd_satsfctqestlist.row;
  379. fSetupBase(gRow);
  380. ]]>
  381. </script>
  382. </datagrid>
  383. <line id="line2" class="line_3" style="x1:0px; y1:390px; x2:1194px; y2:390px; "/>
  384. <button id="btn_qestprnt" class="btn2_letter5" style="left:728px; top:369px; width:75px; height:19px; ">
  385. <caption>설문지 출력</caption>
  386. <script type="javascript" ev:event="DOMActivate">
  387. <![CDATA[
  388. // 설문지 일련번호 만족도일련번호 셋팅하기
  389. var qpaprseqno = model.getValue("/root/main/qestbasesetup/qpaprseqno");
  390. var stinseqno = 0;
  391. if (qpaprseqno != "" && stinseqno == 0){
  392. var obj = new Object();
  393. var option = "open=0;save=1;directprint=0;printdailog=0;print=1;stop=1;excel=1;zoomin=1;zoomout=1;moveprev=1;movenext=1;combo=1;movefirst=1;movelast=1;help=1";
  394. obj.instcd = getUserInfo("dutplceinstcd");
  395. obj.stinseqno = stinseqno;
  396. obj.qpaprseqno = qpaprseqno;
  397. obj.view_chart_yn = "Y";
  398. obj.instnm = getUserInfo("dutplceinstnm");
  399. exeReportPreview30("RPCIT00300",obj, option);
  400. }
  401. ]]>
  402. </script>
  403. </button>
  404. <button id="btn_qestprvw" class="btn2_letter7" style="left:806px; top:369px; width:97px; height:19px; ">
  405. <caption>설문지 미리보기</caption>
  406. <script type="javascript" ev:event="DOMActivate">
  407. <![CDATA[
  408. var qpaprseqno = model.getValue("/root/main/qestbasesetup/qpaprseqno");
  409. setParameter("qpaprseqno", qpaprseqno);
  410. modal("SPCIT00400");
  411. clearParameter("qpaprseqno");
  412. model.refresh();
  413. ]]>
  414. </script>
  415. </button>
  416. <button id="btn_new" class="btn2_letter2" style="left:906px; top:369px; width:42px; height:19px; ">
  417. <caption>신규</caption>
  418. <script type="javascript" ev:event="DOMActivate">
  419. <![CDATA[
  420. fNewMsg();
  421. ]]>
  422. </script>
  423. </button>
  424. <button id="btn_save" class="btn5_letter2" style="left:951px; top:369px; width:42px; height:19px; ">
  425. <caption>저장</caption>
  426. <script type="javascript" ev:event="DOMActivate">
  427. <![CDATA[
  428. var ipt_qpaprtitlcnts = model.getValue("/root/main/qestbasesetup/qpaprtitlcnts");
  429. var cmb_qpaprgoalcd = model.getValue("/root/main/qestbasesetup/qpaprgoalcd");
  430. var tar_startgidewrdncnts = model.getValue("/root/main/qestbasesetup/startgidewrdncnts");
  431. var tar_hstndeptcnts = model.getValue("/root/main/qestbasesetup/hstndeptcnts");
  432. var tar_endgidewrndcnts = model.getValue("/root/main/qestbasesetup/endgidewrndcnts");
  433. if (ipt_qpaprtitlcnts == "" ) {
  434. messageBox("설문지 제목을", "C001");
  435. model.setFocus("ipt_qpaprtitlcnts");
  436. } else if (cmb_qpaprgoalcd == "") {
  437. messageBox("설문지 목적을", "C002");
  438. model.setFocus("cmb_qpaprgoalcd");
  439. } else if (tar_startgidewrdncnts == "") {
  440. messageBox("설문시작 안내문구를", "C001");
  441. model.setFocus("tar_startgidewrdncnts");
  442. } else if (tar_hstndeptcnts == "") {
  443. messageBox("주최부서 내용을", "C001");
  444. model.setFocus("tar_hstndeptcnts");
  445. } else if (tar_endgidewrndcnts == "") {
  446. messageBox("설문종료 안내문구를", "C001");
  447. model.setFocus("tar_endgidewrndcnts");
  448. } else {
  449. if (submit("TXCIT00301")) {
  450. messageBox("설문 내용 저장이", "I002", "");
  451. fNewMsg();
  452. fGetMsgTmplList();
  453. } else {
  454. messageBox("설문 내용 저장에", " E009", "");
  455. }
  456. }
  457. ]]>
  458. </script>
  459. </button>
  460. <button id="btn_del" class="btn5_letter2" style="left:996px; top:369px; width:42px; height:19px; ">
  461. <caption>삭제</caption>
  462. <script type="javascript" ev:event="DOMActivate">
  463. <![CDATA[
  464. var wrtestatcd = model.getValue("/root/main/qestbasesetup/wrtestatcd");
  465. if (wrtestatcd != "1") {
  466. var rtn = messageBox("설문 내용을", "Q001", "");
  467. model.setValue("/root/main/qestbasesetup/savemode","D");
  468. if (rtn == 6) {
  469. submit("TXCIT00301");
  470. fNewMsg();
  471. submit("TRCIT00301");
  472. }
  473. model.refresh();
  474. } else {
  475. messageBox("작성완료인 설문지는 삭제", "E001");
  476. }
  477. ]]>
  478. </script>
  479. </button>
  480. <button id="btn_wrteend" class="btn5_letter4" style="left:1041px; top:369px; width:64px; height:19px; ">
  481. <caption>작성완료</caption>
  482. <script type="javascript" ev:event="DOMActivate">
  483. <![CDATA[
  484. var qestitemgrupcnt = model.getValue("/root/main/qestbasesetup/qestcomps/qestitemgrupcnt");
  485. var saveCount = 0;
  486. if (qestitemgrupcnt > 0) {
  487. var humCount = model.getValue("/root/main/qestbasesetup/qestcomps/qestgruplist/qestitemcnt");
  488. if (humCount == 0) {
  489. messageBox("기초설문의 설문문항을 1건이상", "C001");
  490. } else {
  491. saveCount++;
  492. }
  493. for (var i = 0; i <= qestitemgrupcnt; i++) {
  494. var k = i + 1;
  495. var Count = model.getValue("/root/main/qestbasesetup/qestcomps/qestgruplist["+ k +"]/qestitemcnt");
  496. if (i != 0) {
  497. if (Count == 0) {
  498. messageBox(""+ (i + 1) +" 번째 그룹의 설문문항을 1건이상", "C001");
  499. } else {
  500. saveCount++;
  501. }
  502. }
  503. }
  504. if (saveCount > qestitemgrupcnt) {
  505. model.setValue("/root/main/qestbasesetup/wrteenddd", getCurrentDate());
  506. model.setValue("/root/main/qestbasesetup/wrtestatcd", "1");
  507. model.setValue("/root/main/qestbasesetup/savemode", "U");
  508. if (submit("TXCIT00301")) {
  509. messageBox("설문 내용이 작성완료", "I002", "");
  510. fGetMsgTmplList();
  511. fNewMsg();
  512. } else {
  513. messageBox("설문 내용 저장에", " E009", "");
  514. }
  515. }
  516. } else {
  517. messageBox("문항 그룹이 존재하지 않아 작성완료를", "E001");
  518. }
  519. ]]>
  520. </script>
  521. </button>
  522. <button id="btn_wrteend_cncl" class="btn5_letter6" style="left:1108px; top:369px; width:86px; height:19px; ">
  523. <caption>작성완료 취소</caption>
  524. <script type="javascript" ev:event="DOMActivate">
  525. <![CDATA[
  526. model.setValue("/root/main/qestbasesetup/wrteenddd", "");
  527. model.setValue("/root/main/qestbasesetup/wrtestatcd", "2");
  528. model.setValue("/root/main/qestbasesetup/savemode", "U");
  529. var count = model.getValue("/root/main/qestbasesetup/count");
  530. if (count == 0) {
  531. if (submit("TXCIT00301")) {
  532. messageBox("설문 내용 작성을 취소", "I002", "");
  533. fGetMsgTmplList();
  534. fNewMsg();
  535. }
  536. } else {
  537. messageBox("설문이 실행중인 설문지는 삭제 ", "E001");
  538. }
  539. ]]>
  540. </script>
  541. </button>
  542. <line id="line3" class="line_1" style="x1:0px; y1:415px; x2:695px; y2:415px; "/>
  543. <caption id="caption8" class="tit_2" style="left:0px; top:400px; width:120px; height:13px; ">설문지 기본설정</caption>
  544. <button id="btn_spclchar" class="btn2_letter4" style="left:631px; top:395px; width:64px; height:19px; ">
  545. <caption>특수 문자</caption>
  546. <script type="javascript" ev:event="DOMActivate">
  547. <![CDATA[
  548. group4.visible = true;
  549. ]]>
  550. </script>
  551. </button>
  552. <line id="line4" class="line_2" style="x1:0px; y1:442px; x2:695px; y2:442px; "/>
  553. <caption id="caption9" class="cell_1" style="left:0px; top:420px; width:110px; height:23px; ">설문지 제목</caption>
  554. <input id="ipt_qpaprtitlcnts" ref="/root/main/qestbasesetup/qpaprtitlcnts" class="input_essential" style="left:113px; top:421px; width:582px; height:19px; "/>
  555. <line id="line5" class="line_2" style="x1:0px; y1:466px; x2:695px; y2:466px; "/>
  556. <caption id="caption10" class="cell_1" style="left:0px; top:444px; width:110px; height:23px; ">설문지 목적</caption>
  557. <select1 id="cmb_qpaprgoalcd" ref="/root/main/qestbasesetup/qpaprgoalcd" class="combo_essential" appearance="minimal" style="left:113px; top:445px; width:240px; height:19px; ">
  558. <choices>
  559. <itemset nodeset="/root/init/C0106list/C0106">
  560. <label ref="cdnm"/>
  561. <value ref="cdid"/>
  562. </itemset>
  563. </choices>
  564. </select1>
  565. <line id="line6" class="line_2" style="x1:0px; y1:527px; x2:695px; y2:527px; "/>
  566. <caption id="caption11" class="cell_1" style="left:0px; top:468px; width:110px; height:60; ">설문지 설명</caption>
  567. <textarea id="tar_qpaprdesccnts" ref="/root/main/qestbasesetup/qpaprdesccnts" style="left:113px; top:469px; width:582px; height:56; ">
  568. <script type="javascript" ev:event="DOMFocusIn">
  569. <![CDATA[
  570. var pfocus = "1";
  571. fSetFocus(pfocus);
  572. ]]>
  573. </script>
  574. </textarea>
  575. <line id="line7" class="line_2" style="x1:0px; y1:589px; x2:695px; y2:589px; "/>
  576. <caption id="caption12" class="cell_1" style="left:0px; top:530px; width:110px; height:60; ">설문시작 안내문구</caption>
  577. <textarea id="tar_startgidewrdncnts" ref="/root/main/qestbasesetup/startgidewrdncnts" class="input_essential" style="left:113px; top:531px; width:582px; height:56; ">
  578. <script type="javascript" ev:event="DOMFocusIn">
  579. <![CDATA[
  580. var pfocus = "2";
  581. fSetFocus(pfocus);
  582. ]]>
  583. </script>
  584. </textarea>
  585. <line id="line8" class="line_2" style="x1:0px; y1:650px; x2:695px; y2:650px; "/>
  586. <caption id="caption13" class="cell_1" style="left:0px; top:591px; width:110px; height:60px; ">주최부서내용</caption>
  587. <textarea id="tar_hstndeptcnts" ref="/root/main/qestbasesetup/hstndeptcnts" class="input_essential" style="left:113px; top:592px; width:582px; height:56px; ">
  588. <script type="javascript" ev:event="DOMFocusIn">
  589. <![CDATA[
  590. var pfocus = "3";
  591. fSetFocus(pfocus);
  592. ]]>
  593. </script>
  594. </textarea>
  595. <line id="line9" class="line_2" style="x1:0px; y1:711px; x2:695px; y2:711px; "/>
  596. <caption id="caption14" class="cell_1" style="left:0px; top:652px; width:110px; height:60px; ">설문종료 안내문구</caption>
  597. <textarea id="tar_endgidewrndcnts" ref="/root/main/qestbasesetup/endgidewrndcnts" class="input_essential" style="left:113px; top:653px; width:582px; height:56; ">
  598. <script type="javascript" ev:event="DOMFocusIn">
  599. <![CDATA[
  600. var pfocus = "4";
  601. fSetFocus(pfocus);
  602. ]]>
  603. </script>
  604. </textarea>
  605. <line id="line10" class="line_2" style="x1:0px; y1:735px; x2:695px; y2:735px; "/>
  606. <caption id="caption15" class="cell_1" style="left:0px; top:713px; width:110px; height:23px; ">작성상태</caption>
  607. <select1 id="cmb_wrtestatcd" ref="/root/main/qestbasesetup/wrtestatcd" disabled="true" appearance="minimal" style="left:113px; top:714px; width:240px; height:19px; ">
  608. <choices>
  609. <itemset nodeset="/root/init/C0107list/C0107">
  610. <label ref="cdnm"/>
  611. <value ref="cdid"/>
  612. </itemset>
  613. </choices>
  614. </select1>
  615. <caption id="caption16" class="cell_1" style="left:356px; top:713px; width:110px; height:23px; ">작성완료일자</caption>
  616. <input id="ipt_wrteenddd" ref="/root/main/qestbasesetup/wrteenddd" disabled="true" style="left:469px; top:714px; width:226px; height:19px; "/>
  617. <line id="line11" class="line_3" style="x1:0px; y1:759px; x2:695px; y2:759px; "/>
  618. <caption id="caption17" class="cell_1" style="left:0px; top:737px; width:110px; height:23px; ">등록부서</caption>
  619. <input id="ipt_rgstdeptcd" ref="/root/main/qestbasesetup/rgstdeptnm" disabled="true" style="left:113px; top:738px; width:200px; height:19px; "/>
  620. <button id="btn_deptsearch" class="icon_search" style="left:316px; top:738px; width:16px; height:16px; ">
  621. <caption/>
  622. <script type="javascript" ev:event="DOMActivate">
  623. <![CDATA[
  624. var search_condition = "deptnm";
  625. var search_term = model.getValue("/root/main/qestbasesetup/rgstdeptnm");
  626. var receive_deptcd_path = "/root/main/qestbasesetup/rgstdeptcd";
  627. var receive_deptnm_path = "/root/main/qestbasesetup/rgstdeptnm";
  628. cczfOpenSelectDept(search_condition, search_term, receive_deptcd_path, receive_deptnm_path);
  629. ]]>
  630. </script>
  631. </button>
  632. <caption id="caption18" class="cell_1" style="left:356px; top:737px; width:110px; height:23px; ">등록자</caption>
  633. <input id="ipt_rgstid" ref="/root/main/qestbasesetup/rgstnm" disabled="true" style="left:469px; top:738px; width:200px; height:19px; "/>
  634. <button id="btn_rgstrsearch" class="icon_search" style="left:672px; top:738px; width:16px; height:16px; ">
  635. <caption/>
  636. <script type="javascript" ev:event="DOMActivate">
  637. <![CDATA[
  638. var search_condition = "empnm";
  639. var search_term = model.getValue("/root/main/qestbasesetup/rgstnm");
  640. var receive_empid_path = "/root/main/qestbasesetup/rgstid";
  641. var receive_empnm_path = "/root/main/qestbasesetup/rgstnm";
  642. var receive_deptcd_path = "/root/main/qestbasesetup/rgstdeptcd";
  643. var receive_deptnm_path = "/root/main/qestbasesetup/rgstdeptnm";
  644. setParameter("search_condition", search_condition);
  645. setParameter("search_term", search_term);
  646. setParameter("receive_empid_path", receive_empid_path);
  647. setParameter("receive_empnm_path", receive_empnm_path);
  648. setParameter("receive_deptcd_path", receive_deptcd_path);
  649. setParameter("receive_deptnm_path", receive_deptnm_path);
  650. modal("SPCCM00400")
  651. clearParameter("search_condition");
  652. clearParameter("search_term");
  653. clearParameter("receive_empid_path");
  654. clearParameter("receive_empnm_path");
  655. clearParameter("receive_deptcd_path");
  656. clearParameter("receive_deptnm_path");
  657. ]]>
  658. </script>
  659. </button>
  660. <line id="line12" class="line_1" style="x1:705px; y1:415px; x2:1194px; y2:415px; "/>
  661. <caption id="caption19" class="tit_2" style="left:705px; top:400px; width:100px; height:13px; ">설문지 구성</caption>
  662. <button id="btn_qestcompsmngt" class="btn2_letter7" style="left:1097px; top:395px; width:97px; height:19px; ">
  663. <caption>설문지 구성관리</caption>
  664. <script type="javascript" ev:event="DOMActivate">
  665. <![CDATA[
  666. var qpaprseqno = model.getValue("/root/main/qestbasesetup/qpaprseqno");
  667. var humtrafactposcd = model.getValue("/root/main/qestbasesetup/qestcomps/humtrafactposcd");
  668. var qestitemgrupcnt = model.getValue("/root/main/qestbasesetup/qestcomps/qestitemgrupcnt");
  669. var stinqestcnt = model.getValue("/root/main/qestbasesetup/qestcomps/stinqestcnt");
  670. setParameter("qpaprseqno", qpaprseqno);
  671. setParameter("humtrafactposcd", humtrafactposcd);
  672. setParameter("qestitemgrupcnt", qestitemgrupcnt);
  673. setParameter("stinqestcnt", stinqestcnt);
  674. modal("SPCIT00500");
  675. fGetMsgTmplList();
  676. fSetupBase(gRow);
  677. // 선택했던 row 를 선택시킨다(포커스 이동은 안함)
  678. grd_satsfctqestlist.isselected(gRow) = true;
  679. clearParameter("qpaprseqno");
  680. clearParameter("humtrafactposcd");
  681. clearParameter("qestitemgrupcnt");
  682. clearParameter("stinqestcnt");
  683. model.refresh();
  684. ]]>
  685. </script>
  686. </button>
  687. <line id="line13" class="line_2" style="x1:705px; y1:442px; x2:1195px; y2:442px; "/>
  688. <caption id="caption20" class="cell_1" style="left:705px; top:420px; width:110px; height:23px; ">문항 그룹수</caption>
  689. <caption id="caption21" class="cell_1" style="left:951px; top:420px; width:110px; height:23px; ">기초설문 위치</caption>
  690. <select1 id="cmb_qestitemgrupcnt" ref="/root/main/qestbasesetup/qestcomps/qestitemgrupcnt" disabled="true" appearance="minimal" style="left:818px; top:421px; width:130px; height:19px; ">
  691. <choices>
  692. <item>
  693. <label>없음</label>
  694. <value>0</value>
  695. </item>
  696. <item>
  697. <label>1</label>
  698. <value>1</value>
  699. </item>
  700. <item>
  701. <label>2</label>
  702. <value>2</value>
  703. </item>
  704. <item>
  705. <label>3</label>
  706. <value>3</value>
  707. </item>
  708. <item>
  709. <label>4</label>
  710. <value>4</value>
  711. </item>
  712. <item>
  713. <label>5</label>
  714. <value>5</value>
  715. </item>
  716. <item>
  717. <label>6</label>
  718. <value>6</value>
  719. </item>
  720. <item>
  721. <label>7</label>
  722. <value>7</value>
  723. </item>
  724. <item>
  725. <label>8</label>
  726. <value>8</value>
  727. </item>
  728. <item>
  729. <label>9</label>
  730. <value>9</value>
  731. </item>
  732. <item>
  733. <label>10</label>
  734. <value>10</value>
  735. </item>
  736. </choices>
  737. </select1>
  738. <select1 id="cmb_humtrafactposcd" ref="/root/main/qestbasesetup/qestcomps/humtrafactposcd" disabled="true" appearance="minimal" style="left:1064px; top:421px; width:130px; height:19px; ">
  739. <choices>
  740. <itemset nodeset="/root/init/C0108list/C0108">
  741. <label ref="cdnm"/>
  742. <value ref="cdid"/>
  743. </itemset>
  744. </choices>
  745. </select1>
  746. <datagrid id="grd_qestgruplist" nodeset="/root/main/qestbasesetup/qestcomps/qestgruplist" allowuserresize="false" caption="그룹 명^설문 문항수^" colsep="^" colwidth="396, 70, 0, 0" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:705px; top:444px; width:489px; height:292px; ">
  747. <col ref="qestitemgrupnm"/>
  748. <col ref="qestitemcnt"/>
  749. <col ref="qpaprseqno" visibility="hidden"/>
  750. <col ref="qestitemgrupseqno" visibility="hidden"/>
  751. </datagrid>
  752. <line id="line14" class="line_3" style="x1:705px; y1:759px; x2:1195px; y2:759px; "/>
  753. <caption id="caption22" class="cell_1" style="left:705px; top:737px; width:110px; height:23px; ">설문 총 문항수</caption>
  754. <output id="opt_stinqestcnt" ref="/root/main/qestbasesetup/qestcomps/stinqestcnt" style="left:818px; top:738px; width:60px; height:19px; border-color:#c0c0c0; border-style:solid; "/>
  755. <caption id="caption23" style="left:881px; top:737px; width:15px; height:23px; ">건</caption>
  756. <group id="group4" visibility="hidden" style="left:285px; top:325px; width:340px; height:90px; ">
  757. <button id="caption40" class="btn_number" style="left:5px; top:68px; width:39px; height:19px; ">
  758. <caption>@</caption>
  759. </button>
  760. <button id="caption41" class="btn_number" style="left:47px; top:68px; width:39px; height:19px; ">
  761. <caption>♨</caption>
  762. </button>
  763. <button id="caption42" class="btn_number" style="left:89px; top:68px; width:39px; height:19px; ">
  764. <caption>☎</caption>
  765. </button>
  766. <button id="caption31" class="btn_number" style="left:299px; top:24px; width:39px; height:19px; ">
  767. <caption>♥</caption>
  768. </button>
  769. <button id="button2" class="btn_number" style="left:215px; top:2px; width:39px; height:19px; ">
  770. <caption>◎</caption>
  771. </button>
  772. <button id="caption43" class="btn_number" style="left:131px; top:68px; width:39px; height:19px; ">
  773. <caption>☜</caption>
  774. </button>
  775. <button id="caption32" class="btn_number" style="left:5px; top:46px; width:39px; height:19px; ">
  776. <caption>♧</caption>
  777. </button>
  778. <button id="button3" class="btn_number" style="left:257px; top:2px; width:39px; height:19px; ">
  779. <caption>◇</caption>
  780. </button>
  781. <button id="caption44" class="btn_number" style="left:173px; top:68px; width:39px; height:19px; ">
  782. <caption>☞</caption>
  783. </button>
  784. <button id="caption33" class="btn_number" style="left:47px; top:46px; width:39px; height:19px; ">
  785. <caption>♣</caption>
  786. </button>
  787. <button id="button4" class="btn_number" style="left:299px; top:2px; width:39px; height:19px; ">
  788. <caption>◆</caption>
  789. </button>
  790. <button id="caption45" class="btn_number" style="left:215px; top:68px; width:39px; height:19px; ">
  791. <caption>%</caption>
  792. </button>
  793. <button id="caption34" class="btn_number" style="left:89px; top:46px; width:39px; height:19px; ">
  794. <caption>◁</caption>
  795. </button>
  796. <button id="button5" class="btn_number" style="left:5px; top:24px; width:39px; height:19px; ">
  797. <caption>□</caption>
  798. </button>
  799. <button id="caption46" class="btn_number" style="left:257px; top:68px; width:39px; height:19px; ">
  800. <caption>☏</caption>
  801. </button>
  802. <button id="caption35" class="btn_number" style="left:131px; top:46px; width:39px; height:19px; ">
  803. <caption>◀</caption>
  804. </button>
  805. <button id="caption24" class="btn_number" style="left:47px; top:24px; width:39px; height:19px; ">
  806. <caption>■</caption>
  807. </button>
  808. <button id="caption47" class="btn_number" style="left:299px; top:68px; width:39px; height:19px; ">
  809. <caption>♪</caption>
  810. </button>
  811. <button id="caption36" class="btn_number" style="left:173px; top:46px; width:39px; height:19px; ">
  812. <caption>▷</caption>
  813. </button>
  814. <button id="caption25" class="btn_number" style="left:89px; top:24px; width:39px; height:19px; ">
  815. <caption>△</caption>
  816. </button>
  817. <button id="caption37" class="btn_number" style="left:215px; top:46px; width:39px; height:19px; ">
  818. <caption>▶</caption>
  819. </button>
  820. <button id="caption26" class="btn_number" style="left:131px; top:24px; width:39px; height:19px; ">
  821. <caption>▲</caption>
  822. </button>
  823. <button id="button6" class="btn_number" style="left:5px; top:2px; width:39px; height:19px; ">
  824. <caption>●</caption>
  825. </button>
  826. <button id="caption38" class="btn_number" style="left:257px; top:46px; width:39px; height:19px; ">
  827. <caption>♤</caption>
  828. </button>
  829. <button id="caption27" class="btn_number" style="left:173px; top:24px; width:39px; height:19px; ">
  830. <caption>▽</caption>
  831. </button>
  832. <button id="button7" class="btn_number" style="left:47px; top:2px; width:39px; height:19px; ">
  833. <caption>※</caption>
  834. </button>
  835. <button id="caption39" class="btn_number" style="left:299px; top:46px; width:39px; height:19px; ">
  836. <caption>♠</caption>
  837. </button>
  838. <button id="caption28" class="btn_number" style="left:215px; top:24px; width:39px; height:19px; ">
  839. <caption>▼</caption>
  840. </button>
  841. <button id="button8" class="btn_number" style="left:89px; top:2px; width:39px; height:19px; ">
  842. <caption>☆</caption>
  843. </button>
  844. <button id="caption29" class="btn_number" style="left:257px; top:24px; width:39px; height:19px; ">
  845. <caption>♡</caption>
  846. </button>
  847. <button id="button9" class="btn_number" style="left:131px; top:2px; width:39px; height:19px; ">
  848. <caption>★</caption>
  849. </button>
  850. <button id="button10" class="btn_number" style="left:173px; top:2px; width:39px; height:19px; ">
  851. <caption>○</caption>
  852. </button>
  853. <script type="javascript" ev:event="onclick">
  854. <![CDATA[
  855. var tar_path = "";
  856. if ( gTextFocus == "1") {
  857. tar_path = tar_qpaprdesccnts; // 설명
  858. model.setFocus("tar_qpaprdesccnts");
  859. } else if ( gTextFocus == "2") {
  860. tar_path = tar_startgidewrdncnts; // 시작
  861. model.setFocus("tar_startgidewrdncnts");
  862. } else if ( gTextFocus == "3") {
  863. tar_path = tar_hstndeptcnts; // 부서
  864. model.setFocus("tar_hstndeptcnts");
  865. } else if ( gTextFocus == "4") {
  866. tar_path = tar_endgidewrndcnts; // 종료
  867. model.setFocus("tar_endgidewrndcnts");
  868. } else {
  869. tar_path = tar_qpaprdesccnts; // 설명
  870. model.setFocus("tar_qpaprdesccnts");
  871. }
  872. var trgObj = document.controls.item(event.target);
  873. if( trgObj.elementName == "xforms:button" ) {
  874. var btnMark = trgObj.label;
  875. var txtSelPos = tar_path.selBegin;
  876. var curText = tar_path.currentText;
  877. var curTextBefore = curText.substr(0, txtSelPos);
  878. var curTextAfter = curText.substr(txtSelPos, curText.length);
  879. tar_path.currentText = curTextBefore + btnMark + curTextAfter;
  880. tar_path.selBegin = txtSelPos + 1;
  881. tar_path.dispatch("onkeyup");
  882. group4.visible = false;
  883. }
  884. ]]>
  885. </script>
  886. </group>
  887. </xhtml:body>
  888. </xhtml:html>