SMCIT00800_만족도실행목록.xrw 46 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * Name : SMCIT00800_만족도실행목록
  4. * Summary : 만족도 실행 목록
  5. * Programmer : 황현석
  6. * Date Written : 2010.06.29.
  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. <stininfo>
  19. <stinbaseinfo>
  20. <stintrgtdesccnts/>
  21. <stintrgtapntyn/>
  22. <stintrgtnopl/>
  23. <stintrgtflagcd/>
  24. <qpaprtitlcnts/>
  25. <stininnscnts/>
  26. <stintitlcnts/>
  27. <qestopenyn/>
  28. <stinexecstartdd/>
  29. <stinexecenddd/>
  30. <stinprcsstatcd/>
  31. <stininvsmthdcd/>
  32. <duplcnfmflagcd/>
  33. <execdeptcd/>
  34. <execid/>
  35. <execdeptnm/>
  36. <execnm/>
  37. <qpaprseqno/>
  38. <savemode>I</savemode>
  39. <stinseqno/>
  40. <execstopyn/>
  41. <answprsncnt/>
  42. </stinbaseinfo>
  43. <stintrgtlist>
  44. <qest_stintrgtflagcd/>
  45. <trgtmannm/>
  46. <tgps_id/>
  47. <trgtdeptnm/>
  48. <trgtjobkindcd/>
  49. <trgtjobrespcd/>
  50. <trgtjobgradcd/>
  51. <emailaddr/>
  52. <userid/>
  53. <pid/>
  54. <trgtdeptcd/>
  55. </stintrgtlist>
  56. </stininfo>
  57. <satsgrdlist>
  58. <satsfctexeclist>
  59. <stintitlcnts/>
  60. <stinexecperd/>
  61. <stinprcsstatcd/>
  62. <stintrgtflagcd/>
  63. <stininvsmthdcd/>
  64. <qpaprtitlcnts/>
  65. <execdeptnm/>
  66. <execdeptcd/>
  67. <execnm/>
  68. <execid/>
  69. <stinseqno/>
  70. <trgtmanseqno/>
  71. <stininnscnts/>
  72. <qpaprseqno/>
  73. <stintrgtnopl/>
  74. <stintrgtdesccnts/>
  75. <qestopenyn/>
  76. <stinexecstartdd/>
  77. <stinexecenddd/>
  78. <execstopyn/>
  79. <duplcnfmflagcd/>
  80. <answprsncnt/>
  81. </satsfctexeclist>
  82. </satsgrdlist>
  83. </main>
  84. <send>
  85. <stinexecstartdd/>
  86. <stinexecdnddd/>
  87. <stintitlcnts/>
  88. <stinprcsstatcd/>
  89. <execdeptcd/>
  90. <execdeptnm/>
  91. <qesttrgt>
  92. <stinseqno/>
  93. </qesttrgt>
  94. <screed_id/>
  95. </send>
  96. <init>
  97. <R0059list>
  98. <R0059>
  99. <cdid/>
  100. <cdnm/>
  101. </R0059>
  102. </R0059list>
  103. <R0061list>
  104. <R0061>
  105. <cdid/>
  106. <cdnm/>
  107. </R0061>
  108. </R0061list>
  109. <R0062list>
  110. <R0062>
  111. <cdid/>
  112. <cdnm/>
  113. </R0062>
  114. </R0062list>
  115. <C0109list/>
  116. <C0110list/>
  117. <C0111list/>
  118. <C0112list/>
  119. <basecdlist>
  120. <wardlist/>
  121. </basecdlist>
  122. </init>
  123. <hidden>
  124. <buttonmode>A</buttonmode>
  125. <kindcd>F</kindcd>
  126. </hidden>
  127. </root>
  128. </instance>
  129. <submission id="TRZSD00109" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
  130. <submission id="TRCIT00801" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/satsgrdlist/satsfctexeclist"/>
  131. <submission id="TRCIT00802" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/qesttrgt" resultref="/root/main/stininfo/stintrgtlist"/>
  132. <submission id="TXCIT00801" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata"/>
  133. </model>
  134. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  135. <script type="javascript" src="../../../com/commonweb/js/rexpert30.js"/>
  136. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  137. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  138. <script type="javascript" src="../../../crm/crmweb/js/CCZ001.js"/>
  139. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  140. <script type="javascript" src="../../../com/departmentcodeweb/js/ZSD001.js"/>
  141. <script type="javascript" ev:event="xforms-ready">
  142. <![CDATA[
  143. // 공통코드 R0059 : 직급 , R0061 : 직종, R0062 : 직책, C0109 : 만족도 대상구분, C0110 : 만족도 진행상태, C0111 : 만족도 조사방법, C0112 : 만족도 중복확인
  144. zbcfGetCodeList( new Array("R0059", "R0061", "R0062", "C0109", "C0110", "C0111", "C0112"),
  145. new Array("/root/init/R0059list", "/root/init/R0061list", "/root/init/R0062list" , "/root/init/C0109list", "/root/init/C0110list",
  146. "/root/init/C0111list", "/root/init/C0112list"));
  147. // 병동구분
  148. var instcd = getUserInfo("dutplceinstcd");
  149. var standard_yn = "orduseyn";
  150. var ord_deptflag = "W"; // 병동
  151. var rslt_ref = "/root/init/basecdlist/wardlist";
  152. zbcfGetDeptCodeList(instcd, standard_yn, ord_deptflag, rslt_ref);
  153. //사용자 부서 설정
  154. var dutplcenm = getUserInfo("dutplcenm");
  155. model.setValue("/root/send/execdeptnm", dutplcenm);
  156. model.setValue("/root/main/stininfo/stinbaseinfo/execdeptnm", dutplcenm);
  157. var dutplcecd = getUserInfo("dutplcecd");
  158. model.setValue("/root/send/execdeptcd", dutplcecd);
  159. model.setValue("/root/main/stininfo/stinbaseinfo/execdeptcd", dutplcecd);
  160. //사용자 설정
  161. var usernm = getUserInfo("usernm");
  162. model.setValue("/root/main/stininfo/stinbaseinfo/execnm", usernm);
  163. var userid = getUserInfo("userid");
  164. model.setValue("/root/main/stininfo/stinbaseinfo/execid", userid);
  165. // 시작 화면에 오늘 날짜 & 1년 전 보여주기
  166. model.setValue("/root/send/stinexecstartdd", getCurrentDate().toDate().getAddDate(-1,"Y").getDateFormat());
  167. model.setValue("/root/main/stininfo/stinbaseinfo/stinexecstartdd", getCurrentDate().toDate().getAddDate(-1,"Y").getDateFormat());
  168. model.setValue("/root/send/stinexecdnddd", getCurrentDate());
  169. model.setValue("/root/main/stininfo/stinbaseinfo/stinexecenddd", getCurrentDate());
  170. // 초기 버튼모드
  171. model.setValue("/root/hidden/buttonmode", "F");
  172. // 라디오박스 기본 셋팅
  173. rdo_stintrgtflagcd.select(0);
  174. rdo_qestopenyn.select(0);
  175. rdo_stininvsmthdcd.select(0);
  176. rdo_duplcnfmflagcd.select(5);
  177. cmb_stinprcsstatcd.select(3);
  178. model.removeNodeset("/root/main/satsgrdlist/satsfctexeclist");
  179. model.removeNodeset("/root/main/stininfo/stintrgtlist");
  180. addComboItemAll("cmb_srch_stinprcsstatcd");
  181. // fSetMode();
  182. fButtonChk();
  183. model.refresh();
  184. ]]>
  185. </script>
  186. <script type="javascript">
  187. <![CDATA[
  188. // 내용 초기화
  189. function fNewMsg() {
  190. model.setValue("/root/main/stininfo/stinbaseinfo/stintitlcnts", "");
  191. model.setValue("/root/main/stininfo/stinbaseinfo/stininnscnts", "");
  192. model.setValue("/root/main/stininfo/stinbaseinfo/qpaprtitlcnts", "");
  193. model.setValue("/root/main/stininfo/stinbaseinfo/stintrgtnopl", "");
  194. model.setValue("/root/main/stininfo/stinbaseinfo/stintrgtapntyn", "");
  195. model.setValue("/root/main/stininfo/stinbaseinfo/stintrgtdesccnts", "");
  196. // 콤보박스 기본 셋팅
  197. rdo_stintrgtflagcd.select(0);
  198. rdo_qestopenyn.select(0);
  199. cmb_stinprcsstatcd.select(4);
  200. rdo_stininvsmthdcd.select(0);
  201. rdo_duplcnfmflagcd.select(5);
  202. //사용자 부서 설정
  203. var dutplcenm = getUserInfo("dutplcenm");
  204. model.setValue("/root/main/stininfo/stinbaseinfo/execdeptnm", dutplcenm);
  205. var dutplcecd = getUserInfo("dutplcecd");
  206. model.setValue("/root/main/stininfo/stinbaseinfo/execdeptcd", dutplcecd);
  207. //사용자 설정
  208. var usernm = getUserInfo("usernm");
  209. model.setValue("/root/main/stininfo/stinbaseinfo/execnm", usernm);
  210. var userid = getUserInfo("userid");
  211. model.setValue("/root/main/stininfo/stinbaseinfo/execid", userid);
  212. // 시작 화면에 오늘 날짜 & 1년 전 보여주기
  213. model.setValue("/root/main/stininfo/stinbaseinfo/stinexecstartdd", getCurrentDate().toDate().getAddDate(-1,"Y").getDateFormat());
  214. model.setValue("/root/main/stininfo/stinbaseinfo/stinexecenddd", getCurrentDate());
  215. btn_qesttrgtschr.disabled = true;
  216. model.removeNodeset("/root/main/stininfo/stintrgtlist");
  217. model.refresh();
  218. }
  219. // 상세보기의 상태
  220. function fSetMode() {
  221. var MChk = model.getValue("/root/hidden/buttonmode");
  222. // 만족도 등록, 초기화
  223. if (MChk == "A" || MChk == "F") {
  224. ipt_stintitlcnts.disabled = false; // 만족도 제목
  225. tar_stininnscnts.disabled = false; // 조사내용
  226. btn_qestsrch.disabled = false; // 설문지 검색버튼
  227. rdo_stintrgtflagcd.disabled = false; // 설문대상 라디오
  228. ipt_stintrgtnopl.disabled = false; // 설문대상 인원
  229. chk_stintrgtapntyn.disabled = false; // 설문대상 지정여부
  230. tar_stintrgtdesccnts.disabled = false; // 설문대상 설명
  231. rdo_qestopenyn.disabled = false; // 공개여부
  232. ipt_stinexecstartdd.disabled = false; // 조사기간 앞
  233. ipt_stinexecenddd.disabled = false; // 조사기간 뒤
  234. rdo_stininvsmthdcd.disabled = false; // 조사방법
  235. rdo_duplcnfmflagcd.disabled = false; // 중복확인 체크
  236. btn_deptcdsrch.disabled = false; // 실행부서 검색버튼
  237. btn_execidscrh.disabled = false; // 실행자 검색버튼
  238. // 조사완료, 조사진행
  239. } else if (MChk == "B" || MChk == "C" || MChk == "D") {
  240. ipt_stintitlcnts.disabled = false; // 만족도 제목
  241. tar_stininnscnts.disabled = false; // 조사내용
  242. tar_stintrgtdesccnts.disabled = false; // 설문대상 설명
  243. rdo_stintrgtflagcd.disabled = false; // 설문대상 라디오
  244. ipt_stintrgtnopl.disabled = false; // 설문대상 인원
  245. chk_stintrgtapntyn.disabled = true; // 설문대상 지정여부
  246. btn_qestsrch.disabled = true; // 설문지 검색버튼
  247. rdo_qestopenyn.disabled = true; // 공개여부
  248. ipt_stinexecstartdd.disabled = true; // 조사기간 앞
  249. ipt_stinexecenddd.disabled = true; // 조사기간 뒤
  250. rdo_stininvsmthdcd.disabled = true; // 조사방법
  251. rdo_duplcnfmflagcd.disabled = true; // 중복확인 체크
  252. btn_deptcdsrch.disabled = true; // 실행부서 검색버튼
  253. btn_execidscrh.disabled = true; // 실행자 검색버튼
  254. // 계속 > 조사진행
  255. } else if (MChk == "E") {
  256. ipt_stintitlcnts.disabled = false; // 만족도 제목
  257. tar_stininnscnts.disabled = false; // 조사내용
  258. tar_stintrgtdesccnts.disabled = false; // 설문대상 설명
  259. rdo_stintrgtflagcd.disabled = false; // 설문대상 라디오
  260. ipt_stintrgtnopl.disabled = false; // 설문대상 인원
  261. chk_stintrgtapntyn.disabled = true; // 설문대상 지정여부
  262. btn_qestsrch.disabled = true; // 설문지 검색버튼
  263. rdo_qestopenyn.disabled = true; // 공개여부
  264. ipt_stinexecstartdd.disabled = true; // 조사기간 앞
  265. ipt_stinexecenddd.disabled = true; // 조사기간 뒤
  266. rdo_stininvsmthdcd.disabled = true; // 조사방법
  267. rdo_duplcnfmflagcd.disabled = true; // 중복확인 체크
  268. btn_deptcdsrch.disabled = true; // 실행부서 검색버튼
  269. btn_execidscrh.disabled = true; // 실행자 검색버튼
  270. }
  271. }
  272. // 조사방법에 따른 버튼 활성화
  273. function fButtonChk() {
  274. var BChk = model.getValue("/root/hidden/buttonmode");
  275. // 만족도 등록
  276. if (BChk == "A") {
  277. btn_new.disabled = false; // 신규
  278. btn_del.disabled = false; // 삭제
  279. btn_save.disabled = false; // 저장
  280. btn_srchstart.disabled = false; // 조사진행
  281. btn_qestend.disabled = true; // 조사완료
  282. btn_discontinu.disabled = true; // 일시중지
  283. btn_lnk.disabled = true; // 계속
  284. // 조사완료
  285. } else if (BChk == "B") {
  286. btn_new.disabled = false; // 신규
  287. btn_save.disabled = false; // 저장
  288. btn_del.disabled = true; // 삭제
  289. btn_srchstart.disabled = true; // 조사진행
  290. btn_qestend.disabled = true; // 조사완료
  291. btn_discontinu.disabled = true; // 일시중지
  292. btn_lnk.disabled = true; // 계속
  293. // 조사 진행
  294. } else if (BChk == "C") {
  295. btn_new.disabled = false; // 신규
  296. btn_discontinu.disabled = false; // 일시중지
  297. btn_qestend.disabled = false; // 조사완료
  298. btn_save.disabled = false; // 저장
  299. btn_del.disabled = true; // 삭제
  300. btn_srchstart.disabled = true; // 조사진행
  301. btn_lnk.disabled = true; // 계속
  302. // 일시 중지
  303. } else if (BChk == "D") {
  304. btn_new.disabled = false; // 신규
  305. btn_del.disabled = false; // 삭제
  306. btn_save.disabled = false; // 저장
  307. btn_lnk.disabled = false; // 계속
  308. btn_discontinu.disabled = true; // 일시중지
  309. btn_srchstart.disabled = true; // 조사진행
  310. btn_qestend.disabled = true; // 조사완료
  311. // 계속 > 조사진행
  312. } else if (BChk == "E") {
  313. btn_new.disabled = false; // 신규
  314. btn_discontinu.disabled = false; // 일시중지
  315. btn_qestend.disabled = false; // 조사완료
  316. btn_save.disabled = false; // 저장
  317. btn_del.disabled = true; // 삭제
  318. btn_srchstart.disabled = true; // 조사진행
  319. btn_lnk.disabled = true; // 계속
  320. } else {
  321. btn_new.disabled = false; // 신규
  322. btn_save.disabled = false; // 저장
  323. btn_discontinu.disabled = true; // 일시중지
  324. btn_qestend.disabled = true; // 조사완료
  325. btn_del.disabled = true; // 삭제
  326. btn_srchstart.disabled = true; // 조사진행
  327. btn_lnk.disabled = true; // 계속
  328. }
  329. }
  330. function fGetGoodInfo(getRCVS) {
  331. var count = 0;
  332. var params = getRCVS.split("▩");
  333. for(var i = 1; i <(params.length-1); i++){
  334. var stintrgtflagcd = params[i].split("▦")[1];
  335. var trgtmannm = params[i].split("▦")[2];
  336. var tgps_id = params[i].split("▦")[3];
  337. var depthngnm = params[i].split("▦")[4];
  338. var trgtjobgradcd = params[i].split("▦")[5];
  339. var trgtjobkindcd = params[i].split("▦")[6];
  340. var trgtjobrespcd = params[i].split("▦")[7];
  341. var emailaddr = params[i].split("▦")[8];
  342. var trgtdeptcd = params[i].split("▦")[9];
  343. // var homepgid = params[i].split("▦")[13];
  344. var userid = params[i].split("▦")[11];
  345. var pid = params[i].split("▦")[12];
  346. grd_qesttrgt.addRow(false);
  347. model.setValue("/root/main/stininfo/stintrgtlist["+ grd_qesttrgt.row +"]/qest_stintrgtflagcd", stintrgtflagcd);
  348. model.setValue("/root/main/stininfo/stintrgtlist["+ grd_qesttrgt.row +"]/trgtmannm", trgtmannm);
  349. model.setValue("/root/main/stininfo/stintrgtlist["+ grd_qesttrgt.row +"]/tgps_id", tgps_id);
  350. model.setValue("/root/main/stininfo/stintrgtlist["+ grd_qesttrgt.row +"]/trgtdeptnm", depthngnm);
  351. model.setValue("/root/main/stininfo/stintrgtlist["+ grd_qesttrgt.row +"]/trgtdeptcd", trgtdeptcd);
  352. model.setValue("/root/main/stininfo/stintrgtlist["+ grd_qesttrgt.row +"]/trgtjobkindcd", trgtjobkindcd);
  353. model.setValue("/root/main/stininfo/stintrgtlist["+ grd_qesttrgt.row +"]/trgtjobrespcd", trgtjobrespcd);
  354. model.setValue("/root/main/stininfo/stintrgtlist["+ grd_qesttrgt.row +"]/trgtjobgradcd", trgtjobgradcd);
  355. model.setValue("/root/main/stininfo/stintrgtlist["+ grd_qesttrgt.row +"]/emailaddr", emailaddr);
  356. // model.setValue("/root/main/stininfo/stintrgtlist["+ addRow +"]/homepgid", homepgid);
  357. model.setValue("/root/main/stininfo/stintrgtlist["+ grd_qesttrgt.row +"]/userid", userid);
  358. model.setValue("/root/main/stininfo/stintrgtlist["+ grd_qesttrgt.row +"]/pid", pid);
  359. count++;
  360. }
  361. model.setValue("/root/main/stininfo/stinbaseinfo/stintrgtnopl", count);
  362. model.refresh();
  363. }
  364. ]]>
  365. </script>
  366. </xhtml:head>
  367. <xhtml:body pagewidth="1195" pageheight="784" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  368. <caption id="caption1" class="tit_1" style="left:0px; top:0px; width:150px; height:14px; ">만족도 실행 목록</caption>
  369. <group id="group1" style="left:0; top:23; width:1195; height:35; ">
  370. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1194px; height:35px; "/>
  371. <caption id="caption2" class="search_name" style="left:15; top:9; width:80; height:17; ">조사기간</caption>
  372. <input id="ipt_srch_stinexecstartdd" ref="/root/send/stinexecstartdd" class="input_search" inputtype="date" style="left:98; top:8; width:90; height:19; "/>
  373. <caption id="caption3" style="left:193; top:8; width:12; height:19; ">~</caption>
  374. <input id="ipt_srch_stinexecdnddd" ref="/root/send/stinexecdnddd" class="input_search" inputtype="date" style="left:210; top:8; width:90; height:19px; "/>
  375. <caption id="caption4" class="search_name" style="left:310px; top:9px; width:100px; height:17px; ">만족도 제목</caption>
  376. <input id="ipt_srch_stintitlcnts" ref="/root/send/stintitlcnts" class="input_search" style="left:415px; top:8px; width:180px; height:19px; ">
  377. <script type="javascript" ev:event="onkeyup">
  378. <![CDATA[
  379. inputEnterKey("btn_search", "DOMActivate");
  380. ]]>
  381. </script>
  382. </input>
  383. <caption id="caption5" class="search_name" style="left:605px; top:9px; width:80px; height:17px; ">진행상태</caption>
  384. <select1 id="cmb_srch_stinprcsstatcd" ref="/root/send/stinprcsstatcd" class="combo_search" appearance="minimal" style="left:690px; top:8px; width:100px; height:19px; ">
  385. <choices>
  386. <itemset nodeset="/root/init/C0110list/C0110">
  387. <label ref="cdnm"/>
  388. <value ref="cdid"/>
  389. </itemset>
  390. </choices>
  391. </select1>
  392. <caption id="caption6" class="search_name" style="left:802px; top:9px; width:80px; height:17px; ">실행부서</caption>
  393. <input id="ipt_scrh_execdeptcd" ref="/root/send/execdeptnm" disabled="true" style="left:887px; top:8px; width:120; height:19px; "/>
  394. <button id="btn_execschr" class="icon_search" style="left:1010; top:8px; width:16; height:16px; ">
  395. <caption/>
  396. <script type="javascript" ev:event="DOMActivate">
  397. <![CDATA[
  398. var search_condition = "deptnm";
  399. var search_term = model.getValue("/root/send/execdeptnm");
  400. var receive_deptcd_path = "/root/send/execdeptcd";
  401. var receive_deptnm_path = "/root/send/execdeptnm";
  402. cczfOpenSelectDept(search_condition, search_term, receive_deptcd_path, receive_deptnm_path);
  403. ]]>
  404. </script>
  405. </button>
  406. <input id="ipt_scrh_execid" ref="/root/send/execdeptcd" disabled="true" style="left:1029; top:8px; width:70px; height:19px; "/>
  407. <line id="line1" class="line_4" style="x1:1112px; y1:7px; x2:1112px; y2:29px; "/>
  408. <button id="btn_search" class="btn1_letter2" style="left:1127; top:7; width:56px; height:22px; ">
  409. <caption>조회</caption>
  410. <script type="javascript" ev:event="DOMActivate">
  411. <![CDATA[
  412. // var stinexecstartdd = model.getValue("/root/main/send/stinexecstartdd");
  413. // var stinexecdnddd = model.getValue("/root/main/send/seinexecdnddd");
  414. // var stintitlcnts = model.getValue("/root/main/send/stintitlcnts");
  415. // var stinprcsstatcd = model.getValue("/root/main/send/stinprcsstatcd");
  416. // var execdeptcd = model.getValue("/root/main/send/execdeptcd");
  417. //
  418. // fNewMsg();
  419. model.setValue("/root/send/screed_id", "SMCIT00800");
  420. submit("TRCIT00801");
  421. ]]>
  422. </script>
  423. </button>
  424. </group>
  425. <caption id="caption7" class="tit_2" style="left:0px; top:68px; width:140px; height:14px; ">만족도 실행 목록</caption>
  426. <button id="btn_saveexcel" class="btn2_letter4" style="left:1129px; top:62px; width:64px; height:19px; ">
  427. <caption>엑셀저장</caption>
  428. <script type="javascript" ev:event="DOMActivate">
  429. <![CDATA[
  430. var fileName = window.fileDialog("save", ",", false, "만족도실행목록", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
  431. if (fileName != "") {
  432. grd_satsfctexeclist.saveExcel(fileName);
  433. }
  434. ]]>
  435. </script>
  436. </button>
  437. <line id="line21" class="line_1" style="x1:0; y1:83; x2:1195; y2:83; "/>
  438. <datagrid id="grd_satsfctexeclist" nodeset="/root/main/satsgrdlist/satsfctexeclist" caption="만족도 제목^조사기간^진행상태^조사대상^조사방법^설문지^실행부서^실행자" colsep="^" colwidth="255, 150, 90, 130, 130, 256, 90, 90, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0" ellipsis="true" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:88px; width:1194px; height:312px; ">
  439. <col ref="stintitlcnts"/>
  440. <col ref="stinexecperd" style="text-align:center; "/>
  441. <col disabled="true" ref="stinprcsstatcd" type="combo">
  442. <choices>
  443. <itemset nodeset="/root/init/C0110list/C0110">
  444. <label ref="cdnm"/>
  445. <value ref="cdid"/>
  446. </itemset>
  447. </choices>
  448. </col>
  449. <col disabled="true" ref="stintrgtflagcd" type="combo">
  450. <choices>
  451. <itemset nodeset="/root/init/C0109list/C0109">
  452. <label ref="cdnm"/>
  453. <value ref="cdid"/>
  454. </itemset>
  455. </choices>
  456. </col>
  457. <col disabled="true" ref="stininvsmthdcd" type="combo">
  458. <choices>
  459. <itemset nodeset="/root/init/C0111list/C0111">
  460. <label ref="cdnm"/>
  461. <value ref="cdid"/>
  462. </itemset>
  463. </choices>
  464. </col>
  465. <col ref="qpaprtitlcnts"/>
  466. <col ref="execdeptnm"/>
  467. <col ref="execnm" style="text-align:center; "/>
  468. <col ref="execdeptcd" visibility="hidden"/>
  469. <col ref="execid" visibility="hidden"/>
  470. <col ref="stinseqno" visibility="hidden"/>
  471. <col ref="stininnscnts" visibility="hidden"/>
  472. <col ref="qpaprseqno" visibility="hidden"/>
  473. <col ref="stintrgtnopl" visibility="hidden"/>
  474. <col ref="stintrgtapntyn" visibility="hidden"/>
  475. <col ref="stintrgtdesccnts" visibility="hidden"/>
  476. <col ref="qestopenyn" visibility="hidden"/>
  477. <col ref="stinexecstartdd" visibility="hidden"/>
  478. <col ref="stinexecenddd" visibility="hidden"/>
  479. <col ref="execstopyn" visibility="hidden"/>
  480. <col ref="duplcnfmflagcd" visibility="hidden"/>
  481. <col ref="answprsncnt" visibility="hidden"/>
  482. <script type="javascript" ev:event="ondblclick">
  483. <![CDATA[
  484. fNewMsg(); // 문항보기 내용 초기화
  485. if( grd_satsfctexeclist.isCell(event.target) && grd_satsfctexeclist.row >= grd_satsfctexeclist.fixedRows ){
  486. var row = grd_satsfctexeclist.row;
  487. // 선택한 설문문항 그룹 목록을 그룹 목록 보기로 념거준다
  488. var stintitlcnts = grd_satsfctexeclist.valueMatrix(row, grd_satsfctexeclist.colRef("stintitlcnts"));
  489. var stinprcsstatcd = grd_satsfctexeclist.valueMatrix(row, grd_satsfctexeclist.colRef("stinprcsstatcd"));
  490. var stintrgtflagcd = grd_satsfctexeclist.valueMatrix(row, grd_satsfctexeclist.colRef("stintrgtflagcd"));
  491. var stininvsmthdcd = grd_satsfctexeclist.valueMatrix(row, grd_satsfctexeclist.colRef("stininvsmthdcd"));
  492. var qpaprtitlcnts = grd_satsfctexeclist.valueMatrix(row, grd_satsfctexeclist.colRef("qpaprtitlcnts"));
  493. var execdeptnm = grd_satsfctexeclist.valueMatrix(row, grd_satsfctexeclist.colRef("execdeptnm"));
  494. var execnm = grd_satsfctexeclist.valueMatrix(row, grd_satsfctexeclist.colRef("execnm"));
  495. var execdeptcd = grd_satsfctexeclist.valueMatrix(row, grd_satsfctexeclist.colRef("execdeptcd"));
  496. var execid = grd_satsfctexeclist.valueMatrix(row, grd_satsfctexeclist.colRef("execid"));
  497. var stinseqno = grd_satsfctexeclist.valueMatrix(row, grd_satsfctexeclist.colRef("stinseqno"));
  498. var stininnscnts = grd_satsfctexeclist.valueMatrix(row, grd_satsfctexeclist.colRef("stininnscnts"));
  499. var qpaprseqno = grd_satsfctexeclist.valueMatrix(row, grd_satsfctexeclist.colRef("qpaprseqno"));
  500. var stintrgtnopl = grd_satsfctexeclist.valueMatrix(row, grd_satsfctexeclist.colRef("stintrgtnopl"));
  501. var stintrgtapntyn = grd_satsfctexeclist.valueMatrix(row, grd_satsfctexeclist.colRef("stintrgtapntyn"));
  502. var stintrgtdesccnts = grd_satsfctexeclist.valueMatrix(row, grd_satsfctexeclist.colRef("stintrgtdesccnts"));
  503. var qestopenyn = grd_satsfctexeclist.valueMatrix(row, grd_satsfctexeclist.colRef("qestopenyn"));
  504. var stinexecstartdd = grd_satsfctexeclist.valueMatrix(row, grd_satsfctexeclist.colRef("stinexecstartdd"));
  505. var stinexecenddd = grd_satsfctexeclist.valueMatrix(row, grd_satsfctexeclist.colRef("stinexecenddd"));
  506. var execstopyn = grd_satsfctexeclist.valueMatrix(row, grd_satsfctexeclist.colRef("execstopyn"));
  507. var duplcnfmflagcd = grd_satsfctexeclist.valueMatrix(row, grd_satsfctexeclist.colRef("duplcnfmflagcd"));
  508. var answprsncnt = grd_satsfctexeclist.valueMatrix(row, grd_satsfctexeclist.colRef("answprsncnt"));
  509. model.setValue("/root/main/stininfo/stinbaseinfo/stintitlcnts", stintitlcnts);
  510. model.setValue("/root/main/stininfo/stinbaseinfo/stinprcsstatcd", stinprcsstatcd);
  511. model.setValue("/root/main/stininfo/stinbaseinfo/stintrgtflagcd", stintrgtflagcd);
  512. model.setValue("/root/main/stininfo/stinbaseinfo/stininvsmthdcd", stininvsmthdcd);
  513. model.setValue("/root/main/stininfo/stinbaseinfo/qpaprtitlcnts", qpaprtitlcnts);
  514. model.setValue("/root/main/stininfo/stinbaseinfo/execdeptnm", execdeptnm);
  515. model.setValue("/root/main/stininfo/stinbaseinfo/execnm", execnm);
  516. model.setValue("/root/main/stininfo/stinbaseinfo/execdeptcd", execdeptcd);
  517. model.setValue("/root/main/stininfo/stinbaseinfo/execid", execid);
  518. model.setValue("/root/main/stininfo/stinbaseinfo/stinseqno", stinseqno);
  519. model.setValue("/root/main/stininfo/stinbaseinfo/stininnscnts", stininnscnts);
  520. model.setValue("/root/main/stininfo/stinbaseinfo/qpaprseqno", qpaprseqno);
  521. model.setValue("/root/main/stininfo/stinbaseinfo/stintrgtnopl", stintrgtnopl);
  522. model.setValue("/root/main/stininfo/stinbaseinfo/stintrgtapntyn", stintrgtapntyn);
  523. model.setValue("/root/main/stininfo/stinbaseinfo/stintrgtdesccnts", stintrgtdesccnts);
  524. model.setValue("/root/main/stininfo/stinbaseinfo/qestopenyn", qestopenyn);
  525. model.setValue("/root/main/stininfo/stinbaseinfo/stinexecstartdd", stinexecstartdd);
  526. model.setValue("/root/main/stininfo/stinbaseinfo/stinexecenddd", stinexecenddd);
  527. model.setValue("/root/main/stininfo/stinbaseinfo/execstopyn", execstopyn);
  528. model.setValue("/root/main/stininfo/stinbaseinfo/duplcnfmflagcd", duplcnfmflagcd);
  529. model.setValue("/root/main/stininfo/stinbaseinfo/answprsncnt", answprsncnt);
  530. model.setValue("/root/main/stininfo/stinbaseinfo/savemode","U");
  531. model.setValue("/root/send/qesttrgt/stinseqno", stinseqno);
  532. var stinprcsstatcd = model.getValue("/root/main/stininfo/stinbaseinfo/stinprcsstatcd");
  533. if (stinprcsstatcd == "0") { // 만족도 등록
  534. model.setValue("/root/hidden/buttonmode","A");
  535. } else if (stinprcsstatcd == "1") { // 조사완료
  536. model.setValue("/root/hidden/buttonmode","B");
  537. } else if (stinprcsstatcd == "2") { // 조사시작
  538. model.setValue("/root/hidden/buttonmode","C");
  539. } else if (stinprcsstatcd == "3") { // 일지중지
  540. model.setValue("/root/hidden/buttonmode", "D");
  541. }
  542. submit("TRCIT00802");
  543. }
  544. fSetMode();
  545. fButtonChk();
  546. model.refresh();
  547. ]]>
  548. </script>
  549. </datagrid>
  550. <button id="btn_lnk" class="btn5_letter2" style="left:816px; top:405px; width:42px; height:19px; ">
  551. <caption>계속</caption>
  552. <script type="javascript" ev:event="DOMActivate">
  553. <![CDATA[
  554. model.setValue("/root/main/stininfo/stinbaseinfo/stinprcsstatcd", "2");
  555. model.setValue("/root/main/stininfo/stinbaseinfo/savemode", "U");
  556. model.makeNode("/root/send/savedata");
  557. copyNodesetType("/root/send/savedata","/root/main/stininfo/stinbaseinfo","replace");
  558. model.makeValue("/root/send/savedata/stintrgtlist",grd_qesttrgt.getUpdateData());
  559. model.setValue("/root/hidden/buttonmode", "E");
  560. if (submit("TXCIT00801")) {
  561. model.removeNodeset("/root/send/savedata");
  562. submit("TRCIT00801")
  563. }
  564. fSetMode();
  565. fButtonChk();
  566. ]]>
  567. </script>
  568. </button>
  569. <button id="btn_discontinu" class="btn5_letter4" style="left:861px; top:405px; width:64px; height:19px; ">
  570. <caption>일시중지</caption>
  571. <script type="javascript" ev:event="DOMActivate">
  572. <![CDATA[
  573. model.setValue("/root/main/stininfo/stinbaseinfo/stinprcsstatcd", "3");
  574. model.makeNode("/root/send/savedata");
  575. copyNodesetType("/root/send/savedata","/root/main/stininfo/stinbaseinfo","replace");
  576. model.makeValue("/root/send/savedata/stintrgtlist",grd_qesttrgt.getUpdateData());
  577. model.setValue("/root/hidden/buttonmode", "D");
  578. if (submit("TXCIT00801")) {
  579. model.removeNodeset("/root/send/savedata");
  580. submit("TRCIT00801")
  581. }
  582. fSetMode();
  583. fButtonChk();
  584. ]]>
  585. </script>
  586. </button>
  587. <button id="btn_qestend" class="btn5_letter4" style="left:928px; top:405px; width:64px; height:19px; ">
  588. <caption>조사완료</caption>
  589. <script type="javascript" ev:event="DOMActivate">
  590. <![CDATA[
  591. model.setValue("/root/main/stininfo/stinbaseinfo/stinprcsstatcd", "1");
  592. model.makeNode("/root/send/savedata");
  593. copyNodesetType("/root/send/savedata","/root/main/stininfo/stinbaseinfo","replace");
  594. model.makeValue("/root/send/savedata/stintrgtlist",grd_qesttrgt.getUpdateData());
  595. model.setValue("/root/hidden/buttonmode", "B");
  596. if (submit("TXCIT00801")) {
  597. model.removeNodeset("/root/send/savedata");
  598. submit("TRCIT00801")
  599. }
  600. fSetMode();
  601. fButtonChk();
  602. ]]>
  603. </script>
  604. </button>
  605. <button id="btn_srchstart" class="btn5_letter4" style="left:995px; top:405px; width:64px; height:19px; ">
  606. <caption>조사진행</caption>
  607. <script type="javascript" ev:event="DOMActivate">
  608. <![CDATA[
  609. model.setValue("/root/main/stininfo/stinbaseinfo/stinprcsstatcd", "2");
  610. model.setValue("/root/main/stininfo/stinbaseinfo/savemode", "U");
  611. model.makeNode("/root/send/savedata");
  612. copyNodesetType("/root/send/savedata","/root/main/stininfo/stinbaseinfo","replace");
  613. model.makeValue("/root/send/savedata/stintrgtlist",grd_qesttrgt.getUpdateData());
  614. model.setValue("/root/hidden/buttonmode", "C");
  615. if (submit("TXCIT00801")) {
  616. model.removeNodeset("/root/send/savedata");
  617. submit("TRCIT00801");
  618. }
  619. fSetMode();
  620. fButtonChk();
  621. ]]>
  622. </script>
  623. </button>
  624. <button id="btn_new" class="btn2_letter2" style="left:1152px; top:405px; width:42px; height:19px; ">
  625. <caption>신규</caption>
  626. <script type="javascript" ev:event="DOMActivate">
  627. <![CDATA[
  628. model.setValue("/root/hidden/buttonmode", "F");
  629. model.setValue("/root/main/stininfo/stinbaseinfo/savemode", "I");
  630. fSetMode();
  631. fButtonChk();
  632. fNewMsg();
  633. ]]>
  634. </script>
  635. </button>
  636. <button id="btn_save" class="btn5_letter2" style="left:1062px; top:405px; width:42px; height:19px; ">
  637. <caption>저장</caption>
  638. <script type="javascript" ev:event="DOMActivate">
  639. <![CDATA[
  640. var stintitlcnts = model.getValue("/root/main/stininfo/stinbaseinfo/stintitlcnts");
  641. var qpaprtitlcnts = model.getValue("/root/main/stininfo/stinbaseinfo/qpaprtitlcnts");
  642. var stintrgtnopl = model.getValue("/root/main/stininfo/stinbaseinfo/stintrgtnopl");
  643. var stinexecstartdd = model.getValue("/root/main/stininfo/stinbaseinfo/stinexecstartdd");
  644. var stinexecenddd = model.getValue("/root/main/stininfo/stinbaseinfo/stinexecenddd");
  645. var savemode = model.getValue("/root/main/stininfo/stinbaseinfo/savemode");
  646. if (stintitlcnts == "") {
  647. messageBox("만족도 제목","C001");
  648. model.setFocus("/root/main/stininfo/stinbaseinfo/stintitlcnts");
  649. } else if (qpaprtitlcnts == "") {
  650. messageBox("설문지를","C002");
  651. model.setFocus("/root/main/stininfo/stinbaseinfo/qpaprtitlcnts");
  652. } else if (stintrgtnopl == "") {
  653. messageBox("설문대상 인원 수 를","C001");
  654. model.setFocus("/root/main/stininfo/stinbaseinfo/stintrgtnopl");
  655. } else if (stinexecstartdd == "") {
  656. messageBox("조사기간중 시작일을","C001");
  657. model.setFocus("/root/main/stininfo/stinbaseinfo/stinexecstartdd");
  658. } else if (stinexecenddd == "") {
  659. messageBox("조사기간중 종료일을","C001");
  660. model.setFocus("/root/main/stininfo/stinbaseinfo/stinexecenddd");
  661. } else {
  662. model.makeNode("/root/send/savedata");
  663. copyNodesetType("/root/send/savedata","/root/main/stininfo/stinbaseinfo","replace");
  664. model.makeValue("/root/send/savedata/stintrgtlist",grd_qesttrgt.getUpdateData());
  665. if (submit("TXCIT00801")) {
  666. model.removeNodeset("/root/send/savedata");
  667. if (savemode == "I") {
  668. messageBox("기본정보가 저장이","I002");
  669. submit("TRCIT00801");
  670. } else {
  671. messageBox("기본정보 수정이","I002");
  672. submit("TRCIT00801");
  673. }
  674. model.setValue("/root/hidden/buttonmode","E");
  675. fSetMode();
  676. fButtonChk();
  677. fNewMsg();
  678. }
  679. }
  680. ]]>
  681. </script>
  682. </button>
  683. <button id="btn_del" class="btn5_letter2" style="left:1107px; top:405px; width:42px; height:19px; ">
  684. <caption>삭제</caption>
  685. <script type="javascript" ev:event="DOMActivate">
  686. <![CDATA[
  687. var answcount = model.getValue("/root/main/stininfo/stinbaseinfo/answprsncnt");
  688. if (answcount == 0) {
  689. model.setValue("/root/hidden/buttonmode", "E");
  690. model.setValue("/root/main/stininfo/stinbaseinfo/savemode", "D");
  691. model.makeNode("/root/send/savedata");
  692. copyNodesetType("/root/send/savedata","/root/main/stininfo/stinbaseinfo","replace");
  693. model.makeValue("/root/send/savedata/stintrgtlist",grd_qesttrgt.getUpdateData());
  694. if (submit("TXCIT00801")) {
  695. messageBox("기본정보 삭제가","I002");
  696. model.removeNodeset("/root/send/savedata");
  697. submit("TRCIT00801");
  698. fNewMsg();
  699. }
  700. } else {
  701. messageBox("답변이 1개라도 입력된 설문은 삭제","E001");
  702. }
  703. fSetMode();
  704. fButtonChk();
  705. model.refresh();
  706. ]]>
  707. </script>
  708. </button>
  709. <line id="line3" class="line_1" style="x1:0px; y1:425px; x2:1194px; y2:425px; "/>
  710. <caption id="caption8" class="tit_2" style="left:0px; top:410px; width:144px; height:13px; ">만족도 조사 기본정보</caption>
  711. <line id="line4" class="line_2" style="x1:0px; y1:452px; x2:690px; y2:452px; "/>
  712. <caption id="caption9" class="cell_1" style="left:0px; top:430px; width:90px; height:23px; ">만족도 제목</caption>
  713. <input id="ipt_stintitlcnts" ref="/root/main/stininfo/stinbaseinfo/stintitlcnts" class="input_essential" style="left:93px; top:431px; width:597px; height:19px; "/>
  714. <line id="line2" class="line_2" style="x1:0px; y1:503px; x2:690px; y2:503px; "/>
  715. <caption id="caption10" class="cell_1" style="left:0px; top:454px; width:90px; height:50px; ">조사내용</caption>
  716. <textarea id="tar_stininnscnts" ref="/root/main/stininfo/stinbaseinfo/stininnscnts" style="left:93px; top:455px; width:597px; height:47px; "/>
  717. <line id="line5" class="line_2" style="x1:0px; y1:527px; x2:690px; y2:527px; "/>
  718. <caption id="caption11" class="cell_1" style="left:0px; top:505px; width:90px; height:23px; ">설문지</caption>
  719. <input id="ipt_qpaprtitlcnts" ref="/root/main/stininfo/stinbaseinfo/qpaprtitlcnts" class="input_essential" disabled="true" style="left:93px; top:506px; width:415px; height:19px; "/>
  720. <button id="btn_qestsrch" class="icon_search" style="left:511px; top:506px; width:16px; height:16px; ">
  721. <caption/>
  722. <script type="javascript" ev:event="DOMActivate">
  723. <![CDATA[
  724. var receive_qpaprtitlcnts_path = "/root/main/stininfo/stinbaseinfo/qpaprtitlcnts";
  725. var receive_qpaprseqno_path = "/root/main/stininfo/stinbaseinfo/qpaprseqno";
  726. var kindcd = model.getValue("/root/hidden/kindcd");
  727. setParameter("receive_qpaprtitlcnts_path", receive_qpaprtitlcnts_path);
  728. setParameter("receive_qpaprseqno_path", receive_qpaprseqno_path);
  729. setParameter("kindcd", kindcd);
  730. modal("SPCIT00700");
  731. clearParameter("receive_qpaprtitlcnts_path");
  732. clearParameter("receive_qpaprseqno_path");
  733. clearParameter("kindcd");
  734. ]]>
  735. </script>
  736. </button>
  737. <line id="line6" class="line_2" style="x1:0px; y1:708px; x2:690px; y2:708px; "/>
  738. <caption id="caption12" class="cell_1" style="left:0px; top:529px; width:90px; height:180px; ">설문대상</caption>
  739. <select1 id="rdo_stintrgtflagcd" ref="/root/main/stininfo/stinbaseinfo/stintrgtflagcd" appearance="full" cols="9" rows="2" overflow="visible" style="left:93px; top:534px; width:597px; height:32px; border-style:none; ">
  740. <choices>
  741. <itemset nodeset="/root/init/C0109list/C0109">
  742. <label ref="cdnm"/>
  743. <value ref="cdid"/>
  744. </itemset>
  745. </choices>
  746. </select1>
  747. <caption id="caption13" style="left:93px; top:570px; width:106px; height:19px; ">설문대상 인원 수 :</caption>
  748. <input id="ipt_stintrgtnopl" ref="/root/main/stininfo/stinbaseinfo/stintrgtnopl" class="input_essential" style="left:202px; top:569px; width:80px; height:19px; "/>
  749. <caption id="caption14" style="left:285px; top:570px; width:25px; height:19px; ">(명)</caption>
  750. <select id="chk_stintrgtapntyn" ref="/root/main/stininfo/stinbaseinfo/stintrgtapntyn" overflow="visible" appearance="full" style="left:368; top:573px; width:100px; height:13px; border-style:none; ">
  751. <choices>
  752. <item>
  753. <label>대상 지정 여부</label>
  754. <value>Y</value>
  755. </item>
  756. </choices>
  757. <script type="javascript" ev:event="onclick">
  758. <![CDATA[
  759. var stintrgtapntyn = model.getValue("/root/main/stininfo/stinbaseinfo/stintrgtapntyn");
  760. if (stintrgtapntyn == "Y") {
  761. btn_qesttrgtschr.disabled = false;
  762. } else {
  763. btn_qesttrgtschr.disabled = true;
  764. }
  765. ]]>
  766. </script>
  767. </select>
  768. <button id="button2" class="btn2_letter8" style="left:471; top:570px; width:108px; height:19px; ">
  769. <caption>대상자 전체 삭제</caption>
  770. <script type="javascript" ev:event="DOMActivate">
  771. <![CDATA[
  772. model.setValue("/root/main/stininfo/stinbaseinfo/stintrgtnopl", "");
  773. model.removeNodeset("/root/main/stininfo/stintrgtlist");
  774. model.refresh();
  775. ]]>
  776. </script>
  777. </button>
  778. <button id="btn_qesttrgtschr" class="btn2_letter8" style="left:582px; top:570px; width:108px; height:19px; ">
  779. <caption>설문 대상자 조회</caption>
  780. <script type="javascript" ev:event="DOMActivate">
  781. <![CDATA[
  782. modal("SPCIT00900");
  783. ]]>
  784. </script>
  785. </button>
  786. <datagrid id="grd_qesttrgt" nodeset="/root/main/stininfo/stintrgtlist" caption="구분^이름^등록번호/사용자ID^부서^직종^직책^직급^이메일" colsep="^" colwidth="50, 80, 110, 90, 80, 80, 80, 150, 0, 0, 0, 0, 0" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:93px; top:591px; width:597px; height:116px; ">
  787. <col disabled="true" ref="qest_stintrgtflagcd" type="combo" style="text-align:center; ">
  788. <choices>
  789. <item>
  790. <label>직원</label>
  791. <value>1</value>
  792. </item>
  793. <item>
  794. <label>환자</label>
  795. <value>2</value>
  796. </item>
  797. </choices>
  798. </col>
  799. <col ref="trgtmannm" style="text-align:center; "/>
  800. <col ref="tgps_id" style="text-align:center; "/>
  801. <col ref="trgtdeptnm" style="text-align:center; "/>
  802. <col disabled="true" ref="trgtjobkindcd" type="combo" style="text-align:center; ">
  803. <choices>
  804. <choices>
  805. <itemset nodeset="/root/init/R0061list/R0061">
  806. <label ref="cdnm"/>
  807. <value ref="cdid"/>
  808. </itemset>
  809. </choices>
  810. </choices>
  811. </col>
  812. <col disabled="true" ref="trgtjobrespcd" type="combo" style="text-align:center; ">
  813. <choices>
  814. <itemset nodeset="/root/init/R0062list/R0062">
  815. <label ref="cdnm"/>
  816. <value ref="cdid"/>
  817. </itemset>
  818. </choices>
  819. </col>
  820. <col disabled="true" ref="trgtjobgradcd" type="combo" style="text-align:center; ">
  821. <choices>
  822. <itemset nodeset="/root/init/R0059list/R0059">
  823. <label ref="cdnm"/>
  824. <value ref="cdid"/>
  825. </itemset>
  826. </choices>
  827. </col>
  828. <col ref="emailaddr" style="text-align:center; "/>
  829. <col ref="stinseqno" visibility="hidden"/>
  830. <col ref="trgtmanseqno" visibility="hidden"/>
  831. <col ref="pid" visibility="hidden"/>
  832. <col ref="userid" visibility="hidden"/>
  833. <col ref="trgtdeptcd" visibility="hidden"/>
  834. </datagrid>
  835. <line id="line7" class="line_3" style="x1:0px; y1:759px; x2:690px; y2:759px; "/>
  836. <caption id="caption15" class="cell_1" style="left:0px; top:710px; width:90px; height:50px; ">설문대상 설명</caption>
  837. <textarea id="tar_stintrgtdesccnts" ref="/root/main/stininfo/stinbaseinfo/stintrgtdesccnts" style="left:93px; top:711px; width:597px; height:47px; "/>
  838. <line id="line8" class="line_2" style="x1:700px; y1:452px; x2:1194px; y2:452px; "/>
  839. <caption id="caption16" class="cell_1" style="left:700px; top:430px; width:90px; height:23px; ">공개여부</caption>
  840. <select1 id="rdo_qestopenyn" ref="/root/main/stininfo/stinbaseinfo/qestopenyn" appearance="full" cols="2" overflow="visible" style="left:793px; top:434px; width:100px; height:13px; border-style:none; ">
  841. <choices>
  842. <item>
  843. <label>비공개</label>
  844. <value>Y</value>
  845. </item>
  846. <item>
  847. <label>공개</label>
  848. <value>N</value>
  849. </item>
  850. </choices>
  851. </select1>
  852. <line id="line9" class="line_2" style="x1:700px; y1:476px; x2:1194px; y2:476px; "/>
  853. <caption id="caption17" class="cell_1" style="left:700px; top:454px; width:90px; height:23px; ">조사기간</caption>
  854. <input id="ipt_stinexecstartdd" ref="/root/main/stininfo/stinbaseinfo/stinexecstartdd" inputtype="date" style="left:793px; top:455px; width:100px; height:19px; "/>
  855. <caption id="caption18" style="left:898px; top:454px; width:14px; height:19px; ">~</caption>
  856. <input id="ipt_stinexecenddd" ref="/root/main/stininfo/stinbaseinfo/stinexecenddd" inputtype="date" style="left:917px; top:455px; width:100px; height:19px; "/>
  857. <line id="line10" class="line_2" style="x1:700px; y1:501px; x2:1194px; y2:501px; "/>
  858. <caption id="caption19" class="cell_1" style="left:700px; top:479px; width:90px; height:23px; ">진행상태</caption>
  859. <select1 id="cmb_stinprcsstatcd" ref="/root/main/stininfo/stinbaseinfo/stinprcsstatcd" disabled="true" appearance="minimal" style="left:793px; top:480px; width:224px; height:19px; ">
  860. <choices>
  861. <itemset nodeset="/root/init/C0110list/C0110">
  862. <label ref="cdnm"/>
  863. <value ref="cdid"/>
  864. </itemset>
  865. </choices>
  866. </select1>
  867. <line id="line11" class="line_2" style="x1:700px; y1:622px; x2:1194px; y2:622px; "/>
  868. <caption id="caption20" class="cell_1" style="left:700px; top:503px; width:90px; height:120px; ">조사방법</caption>
  869. <select1 id="rdo_stininvsmthdcd" ref="/root/main/stininfo/stinbaseinfo/stininvsmthdcd" appearance="full" rows="5" overflow="visible" style="left:793px; top:508px; width:232px; height:86px; border-style:none; ">
  870. <choices>
  871. <itemset nodeset="/root/init/C0111list/C0111">
  872. <label ref="cdnm"/>
  873. <value ref="cdid"/>
  874. </itemset>
  875. </choices>
  876. <script type="javascript" ev:event="onclick">
  877. <![CDATA[
  878. fButtonChk();
  879. ]]>
  880. </script>
  881. </select1>
  882. <button id="btn_qestprnt" class="btn2_letter5" style="left:793px; top:598px; width:75px; height:19px; ">
  883. <caption>설문지 출력</caption>
  884. <script type="javascript" ev:event="DOMActivate">
  885. <![CDATA[
  886. var qpaprseqno = model.getValue("/root/main/stininfo/stinbaseinfo/qpaprseqno");
  887. var stinseqno = model.getValue("/root/main/stininfo/stinbaseinfo/stinseqno");
  888. if (qpaprseqno != "" && stinseqno != ""){
  889. var obj = new Object();
  890. 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";
  891. obj.instcd = getUserInfo("dutplceinstcd");
  892. obj.stinseqno = stinseqno;
  893. obj.qpaprseqno = qpaprseqno;
  894. obj.view_chart_yn = "Y";
  895. // obj.logo_pic = "";
  896. exeReportPreview30("RPCIT00300",obj, option);
  897. }
  898. ]]>
  899. </script>
  900. </button>
  901. <button id="btn_qestprvw" class="btn2_letter7" style="left:871px; top:598px; width:97px; height:19px; ">
  902. <caption>설문지 미리보기</caption>
  903. <script type="javascript" ev:event="DOMActivate">
  904. <![CDATA[
  905. var qpaprseqno = model.getValue("/root/main/stininfo/stinbaseinfo/qpaprseqno");
  906. setParameter("qpaprseqno", qpaprseqno);
  907. modal("SPCIT00400");
  908. clearParameter("qpaprseqno");
  909. model.refresh();
  910. ]]>
  911. </script>
  912. </button>
  913. <button id="btn_emailprvw" class="btn2_letter7" style="left:971px; top:598px; width:97px; height:19px; ">
  914. <caption>이메일 미리보기</caption>
  915. <script type="javascript" ev:event="DOMActivate">
  916. <![CDATA[
  917. ]]>
  918. </script>
  919. </button>
  920. <line id="line12" class="line_2" style="x1:700px; y1:673px; x2:1194px; y2:673px; "/>
  921. <caption id="caption21" class="cell_1" style="left:700px; top:624px; width:90px; height:50px; ">중복확인 체크</caption>
  922. <select1 id="rdo_duplcnfmflagcd" ref="/root/main/stininfo/stinbaseinfo/duplcnfmflagcd" appearance="full" cols="4" rows="2" overflow="visible" style="left:793px; top:631px; width:387px; height:38px; border-style:none; ">
  923. <choices>
  924. <itemset nodeset="/root/init/C0112list/C0112">
  925. <label ref="cdnm"/>
  926. <value ref="cdid"/>
  927. </itemset>
  928. </choices>
  929. </select1>
  930. <line id="line13" class="line_3" style="x1:700px; y1:697px; x2:1194px; y2:697px; "/>
  931. <caption id="caption22" class="cell_1" style="left:700px; top:675px; width:90px; height:23px; ">실행부서</caption>
  932. <input id="input1" ref="/root/main/stininfo/stinbaseinfo/execdeptnm" disabled="true" style="left:793px; top:676px; width:130px; height:19px; "/>
  933. <button id="btn_deptcdsrch" class="icon_search" style="left:926px; top:676px; width:16px; height:16px; ">
  934. <caption/>
  935. <script type="javascript" ev:event="DOMActivate">
  936. <![CDATA[
  937. var search_condition = "deptnm";
  938. var search_term = model.getValue("/root/main/stininfo/stinbaseinfo/execdeptnm");
  939. var receive_deptcd_path = "/root/main/stininfo/stinbaseinfo/execdeptcd";
  940. var receive_deptnm_path = "/root/main/stininfo/stinbaseinfo/execdeptnm";
  941. cczfOpenSelectDept(search_condition, search_term, receive_deptcd_path, receive_deptnm_path);
  942. ]]>
  943. </script>
  944. </button>
  945. <caption id="caption23" class="cell_1" style="left:945px; top:675px; width:90px; height:23px; ">실행자</caption>
  946. <input id="input2" ref="/root/main/stininfo/stinbaseinfo/execnm" disabled="true" style="left:1038px; top:676px; width:100px; height:19px; "/>
  947. <button id="btn_execidscrh" class="icon_search" style="left:1141px; top:676px; width:16px; height:16px; ">
  948. <caption/>
  949. <script type="javascript" ev:event="DOMActivate">
  950. <![CDATA[
  951. var search_condition = "empnm";
  952. var search_term = model.getValue("/root/main/stininfo/stinbaseinfo/execnm");
  953. var receive_empid_path = "/root/main/stininfo/stinbaseinfo/execid";
  954. var receive_empnm_path = "/root/main/stininfo/stinbaseinfo/execnm";
  955. var receive_deptcd_path = "/root/main/stininfo/stinbaseinfo/execdeptcd";
  956. var receive_deptnm_path = "/root/main/stininfo/stinbaseinfo/execdeptnm";
  957. setParameter("search_condition", search_condition);
  958. setParameter("search_term", search_term);
  959. setParameter("receive_empid_path", receive_empid_path);
  960. setParameter("receive_empnm_path", receive_empnm_path);
  961. setParameter("receive_deptcd_path", receive_deptcd_path);
  962. setParameter("receive_deptnm_path", receive_deptnm_path);
  963. modal("SPCCM00400")
  964. clearParameter("search_condition");
  965. clearParameter("search_term");
  966. clearParameter("receive_empid_path");
  967. clearParameter("receive_empnm_path");
  968. clearParameter("receive_deptcd_path");
  969. clearParameter("receive_deptnm_path");
  970. ]]>
  971. </script>
  972. </button>
  973. </xhtml:body>
  974. </xhtml:html>