SMMQO00100_교직원제안접수.xrw 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
  3. <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
  4. <xhtml:head>
  5. <xhtml:title>교직원제안접수</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <cond>
  11. <instcd/>
  12. <acptno/>
  13. <prcsstatcd>0</prcsstatcd>
  14. <suggempid/>
  15. <suggemphngnm/>
  16. <suggempdeptcd/>
  17. <suggempdeptnm/>
  18. <suggempcntctel/>
  19. <suggempemail/>
  20. <acptdd/>
  21. <suggkindcd/>
  22. <subj/>
  23. <prescond/>
  24. <suggplan/>
  25. <refcnt/>
  26. <replcnt/>
  27. <dcustretdd/>
  28. <dcusrsltcd/>
  29. <perexecid/>
  30. <perexechngnm/>
  31. <perexecdeptcd/>
  32. <dcusexecdeptnm/>
  33. <dcusexecchgremail/>
  34. <dcuscnts/>
  35. <exectretdd/>
  36. <execcnts/>
  37. <delyn/>
  38. <reqcnt/>
  39. <repcnt/>
  40. <rereqcnt/>
  41. <rerepcnt/>
  42. <dcustretdd/>
  43. <dcuscnts/>
  44. <exectretdd/>
  45. <perchgrhngnm/>
  46. </cond>
  47. </main>
  48. <init>
  49. <suggkind>
  50. <row>
  51. <cdid>01</cdid>
  52. <cdnm>고객서비스</cdnm>
  53. </row>
  54. <row>
  55. <cdid>02</cdid>
  56. <cdnm>기획 및 홍보</cdnm>
  57. </row>
  58. <row>
  59. <cdid>03</cdid>
  60. <cdnm>시설 및 환경</cdnm>
  61. </row>
  62. <row>
  63. <cdid>04</cdid>
  64. <cdnm>전산프로그램</cdnm>
  65. </row>
  66. <row>
  67. <cdid>05</cdid>
  68. <cdnm>프로세스 및 비용절감</cdnm>
  69. </row>
  70. <row>
  71. <cdid>06</cdid>
  72. <cdnm>기타</cdnm>
  73. </row>
  74. </suggkind>
  75. </init>
  76. <tmp>
  77. <userinfo/>
  78. <userid/>
  79. <cond/>
  80. <attach/>
  81. <acptno/>
  82. </tmp>
  83. <send>
  84. <cond>
  85. <attach>
  86. <attf>
  87. <file/>
  88. <attfilepath/>
  89. <seq/>
  90. </attf>
  91. </attach>
  92. <condition/>
  93. <temp>
  94. <tmp/>
  95. </temp>
  96. </cond>
  97. </send>
  98. </root>
  99. </instance>
  100. <script type="javascript" ev:event="xforms-ready">
  101. <![CDATA[
  102. fInitialize();
  103. ]]>
  104. </script>
  105. <submission id="TRMQK00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/tmp" resultref="/root/tmp/userinfo"/>
  106. <submission id="TXMQO00100" mediatype="multipart/form-data" method="form-data-post" ref="/root/send/cond" resultref="/root/main/cond"/>
  107. <submission id="TRMQO00100" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/cond" resultref="/root/tmp/cond"/>
  108. <submission id="TRMQO00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/cond/acptno" resultref="/root/tmp/acptno"/>
  109. </model>
  110. <script type="javascript" src="../../../emr/qiweb/js/SMMQR00000.js"/>
  111. <script type="javascript" src="../../../emr/qiweb/js/SMMQO00100.js"/>
  112. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  113. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  114. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  115. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  116. </xhtml:head>
  117. <xhtml:body style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  118. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  119. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:124px; height:14px; ">교직원제안접수</caption>
  120. </group>
  121. <group id="grp_propos" style="left:0px; top:20px; width:1195px; height:694px; ">
  122. <output id="output2" ref="/root/main/cond/acptdd" class="output_fix" format="yyyy-mm-dd" appearance="output" style="left:93px; top:131px; width:257px; height:19px; "/>
  123. <caption id="caption1" class="tit_2" style="left:5px; top:10px; width:111px; height:14px; ">제안기본정보</caption>
  124. <line id="line1" class="line_1" style="x1:0px; y1:25px; x2:1194px; y2:25px; "/>
  125. <line id="line2" class="line_2" style="x1:0px; y1:52px; x2:1194px; y2:52px; "/>
  126. <line id="line3" class="line_2" style="x1:0px; y1:76px; x2:1194px; y2:76px; "/>
  127. <output id="input41" ref="/root/main/cond/suggemphngnm" class="output_fix" appearance="output" style="left:93px; top:55px; width:160; height:19px; "/>
  128. <line id="line6" class="line_3" style="x1:0px; y1:101px; x2:1194px; y2:101px; "/>
  129. <output id="output24" ref="/root/main/cond/acptno" class="output_fix" appearance="output" style="left:93px; top:31px; width:160px; height:19px; "/>
  130. <caption id="caption12" class="tit_2" style="left:5px; top:110px; width:111px; height:14px; ">제안내용 등록</caption>
  131. <line id="line4" class="line_1" style="x1:0px; y1:125px; x2:1194px; y2:125px; "/>
  132. <line id="line5" class="line_2" style="x1:0px; y1:152px; x2:1194px; y2:152px; "/>
  133. <line id="line7" class="line_2" style="x1:0px; y1:176px; x2:1194px; y2:176px; "/>
  134. <line id="line8" class="line_2" style="x1:0px; y1:324px; x2:1194px; y2:324px; "/>
  135. <line id="line9" class="line_2" style="x1:0px; y1:476px; x2:1194px; y2:476px; "/>
  136. <caption id="caption15" class="cell_1" style="left:0px; top:479px; width:90px; height:213px; ">첨부파일</caption>
  137. <line id="line10" class="line_3" style="x1:0px; y1:692px; x2:1194px; y2:692px; "/>
  138. <output id="output4" ref="/root/main/cond/replcnt" class="output_fix" appearance="output" style="left:329px; top:31px; width:45px; height:19px; ">
  139. <script type="javascript" ev:event="onclick">
  140. <![CDATA[
  141. var acptno = model.getValue("/root/main/cond/acptno");
  142. setParameter("acptno", acptno);
  143. if (acptno != "") {
  144. modal("SMMQO00200", "1", "", "");
  145. model.removenode("/root/tmp/replcnt/replcnt");
  146. submit("TRMQO00101"); //댓글수 가져오는 submit
  147. model.setValue("/root/main/cond/replcnt", model.getValue("/root/tmp/replcnt/replcnt"));
  148. model.refresh();
  149. } else {
  150. return;
  151. }
  152. ]]>
  153. </script>
  154. </output>
  155. <caption id="caption16" class="cell_1" style="left:257px; top:30px; width:70; height:23px; ">
  156. <![CDATA[댓글수]]>
  157. <script type="javascript" ev:event="onclick">
  158. <![CDATA[
  159. var acptno = model.getValue("/root/main/cond/acptno");
  160. setParameter("acptno", acptno);
  161. if (acptno != "") {
  162. modal("SMMQO00200", "1", "", "");
  163. fInitialize();
  164. } else {
  165. return;
  166. }
  167. ]]>
  168. </script>
  169. </caption>
  170. <output id="output6" ref="/root/main/cond/reqcnt" class="output_fix" appearance="output" style="left:450px; top:31px; width:45px; height:19px; "/>
  171. <caption id="caption18" class="cell_1" style="left:378px; top:30px; width:70px; height:23px; ">의견요청</caption>
  172. <caption id="caption19" class="cell_1" style="left:498px; top:30px; width:70px; height:23px; ">회신</caption>
  173. <caption id="caption17" class="cell_1" style="left:618px; top:29px; width:70px; height:23px; ">의견재요청</caption>
  174. <output id="output5" ref="/root/main/cond/repcnt" class="output_fix" appearance="output" style="left:570px; top:31px; width:45px; height:19px; "/>
  175. <output id="output7" ref="/root/main/cond/exectretdd" class="output_fix" format="yyyy-mm-dd" appearance="output" style="left:1098px; top:31px; width:90px; height:19px; "/>
  176. <output id="output8" ref="/root/main/cond/rereqcnt" class="output_fix" appearance="output" style="left:690px; top:31px; width:47px; height:19px; "/>
  177. <output id="output9" ref="/root/main/cond/dcustretdd" class="output_fix" format="yyyy-mm-dd" appearance="output" style="left:932px; top:31px; width:90px; height:19px; "/>
  178. <output id="output10" ref="/root/main/cond/rerepcnt" class="output_fix" appearance="output" style="left:812px; top:31px; width:45px; height:19px; "/>
  179. <caption id="caption20" class="cell_1" style="left:1025px; top:30px; width:70px; height:23px; ">실행일자</caption>
  180. <caption id="caption21" class="cell_1" style="left:740px; top:30px; width:70px; height:23px; ">재회신</caption>
  181. <caption id="caption22" class="cell_1" style="left:860px; top:30px; width:70px; height:23px; ">심의일자</caption>
  182. <output id="output1" ref="/root/main/cond/suggempdeptnm" class="output_fix" appearance="output" style="left:257px; top:55px; width:480px; height:19px; "/>
  183. <button id="button4" class="btn5_letter2" navindex="9" style="left:605px; top:520px; width:42px; height:19px; ">
  184. <caption>다운</caption>
  185. <script type="javascript" ev:event="DOMActivate">
  186. <![CDATA[
  187. var filepath = model.getValue("/root/send/cond/attach/attf["+grd_attach.row+"]/attfilepath");
  188. var filenm = model.getValue("/root/send/cond/attach/attf["+grd_attach.row+"]/file");
  189. if(filepath != ""){
  190. var localfile = window.fileDialog("save","|",false,filenm,"","All Files(*.*)|*.*");
  191. if (localfile != "") {
  192. model.download(getActionURL("TRMQK00102")+"&filepath="+filepath,localfile);
  193. var rtn = messageBox("파일을", "Q004");
  194. if( rtn == 6 ) {
  195. window.exec(localfile);
  196. }
  197. }
  198. }
  199. ]]>
  200. </script>
  201. </button>
  202. <button id="button5" class="btn2_letter2" navindex="8" style="left:605px; top:500px; width:42px; height:19px; ">
  203. <caption>삭제</caption>
  204. <script type="javascript" ev:event="DOMActivate">
  205. <![CDATA[
  206. deleteSelectedRows(grd_attach, true);
  207. ]]>
  208. </script>
  209. </button>
  210. <button id="button6" class="btn2_letter2" navindex="7" style="left:605px; top:480px; width:42px; height:19px; ">
  211. <caption>찾기</caption>
  212. <script type="javascript" ev:event="DOMActivate">
  213. <![CDATA[
  214. var maxsize = upload1.attribute("filesize");
  215. files = window.fileDialog("open", "|", true);
  216. filelist = files.split("|");
  217. if(files != ""){
  218. for(var i = 0 ; i < filelist.length ; i++ ) {
  219. grd_attach.addRow(false);
  220. grd_attach.valueMatrix(grd_attach.rows-1, 1) = filelist[i];
  221. if (!checkFileSize(upload1)){
  222. grd_attach.removeItem();
  223. messageBox("파일 크기가 최대치("+maxsize+"Byte)를", "E003");
  224. }
  225. }
  226. }
  227. model.setValue("/root/send/cond/temp/tmp", getGridUpdateData(grd_attach));
  228. ]]>
  229. </script>
  230. </button>
  231. <caption id="caption2" class="cell_1" style="left:0px; top:130px; width:90px; height:23px; ">접수일자</caption>
  232. <caption id="caption11" class="cell_1" style="left:0px; top:54px; width:90px; height:23px; ">제안자</caption>
  233. <caption id="caption7" class="cell_1" style="left:0px; top:30px; width:90px; height:23px; ">접수번호</caption>
  234. <datagrid id="grd_attach" nodeset="/root/send/cond/attach/attf" caption="파일명^^seq" colwidth="525, 10, 100" defaultrows="0" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:93px; top:479px; width:507px; height:212px; ">
  235. <col ref="file"/>
  236. <col ref="attfilepath" visibility="hidden"/>
  237. <col ref="seq" visibility="hidden"/>
  238. <script type="javascript" ev:event="ondblclick">
  239. <![CDATA[
  240. if(grd_attach.row> 0){
  241. var filepath = model.getValue("/root/send/cond/attach/attf["+grd_attach.row+"]/attfilepath");
  242. var filenm = model.getValue("/root/send/cond/attach/attf["+grd_attach.row+"]/file");
  243. if(filepath != ""){
  244. var localfile = window.fileDialog("save","|",false,filenm,"","All Files(*.*)|*.*");
  245. if (localfile != "") {
  246. model.download(getActionURL("TRMQK00102")+"&filepath="+filepath,localfile);
  247. var rtn = messageBox("파일을", "Q004");
  248. if( rtn == 6 ) {
  249. window.exec(localfile);
  250. }
  251. }
  252. }
  253. }
  254. ]]>
  255. </script>
  256. </datagrid>
  257. <upload id="upload1" nodeset="/root/send/cond/attach/attf/file" ext="zip" filecount="5" filesize="10485760" validate="true" style="left:655px; top:480px; width:100px; height:20px; "/>
  258. <input id="ipt_suggempcntctel" ref="/root/main/cond/suggempcntctel" class="input_essential" navindex="1" maxlength="20" _required="true" style="left:93px; top:79px; width:160px; height:19px; "/>
  259. <caption id="cap_suggempcntctel" class="cell_1" style="left:0px; top:78px; width:90px; height:23px; ">연락처</caption>
  260. <input id="ipt_suggempemail" ref="/root/main/cond/suggempemail" class="input_essential" navindex="2" maxlength="50" _required="true" style="left:350px; top:79px; width:387px; height:19px; "/>
  261. <caption id="cap_suggempemail" class="cell_1" style="left:257px; top:78px; width:90px; height:23px; ">메일주소</caption>
  262. <select1 id="cmb_suggkindcd" ref="/root/main/cond/suggkindcd" class="combo_essential" navindex="3" appearance="minimal" _required="true" style="left:445px; top:131px; width:217px; height:19px; ">
  263. <choices>
  264. <itemset nodeset="/root/init/suggkind/row">
  265. <label ref="cdnm"/>
  266. <value ref="cdid"/>
  267. </itemset>
  268. </choices>
  269. </select1>
  270. <caption id="cap_suggkindcd" class="cell_1" style="left:353px; top:130px; width:90px; height:23px; ">제안유형</caption>
  271. <input id="ipt_subj" ref="/root/main/cond/subj" class="input_essential" navindex="4" maxlength="40" _required="true" style="left:93px; top:155px; width:1089px; height:19px; "/>
  272. <caption id="cap_subj" class="cell_1" style="left:0px; top:154px; width:90px; height:23px; ">제목</caption>
  273. <textarea id="tar_prescond" ref="/root/main/cond/prescond" class="input_essential" navindex="5" maxlength="1300" _required="true" style="left:93px; top:179px; width:1090px; height:142px; "/>
  274. <caption id="cap_prescond" class="cell_1" style="left:0px; top:178px; width:90px; height:147px; ">
  275. <![CDATA[제안내용
  276. 현황]]>
  277. </caption>
  278. <textarea id="tar_suggplan" ref="/root/main/cond/suggplan" class="input_essential" navindex="6" maxlength="1300" _required="true" style="left:93px; top:327px; width:1090px; height:147px; "/>
  279. <caption id="cap_suggplan" class="cell_1" style="left:0px; top:326px; width:90px; height:152px; ">
  280. <![CDATA[제안내용
  281. 대안]]>
  282. </caption>
  283. <textarea id="txt_dcuscnts" ref="/root/main/cond/dcuscnts" visibility="hidden" editable="false" style="left:93px; top:612px; width:507px; height:80px; "/>
  284. <caption id="cap_dcuscnts" class="cell_1" visibility="hidden" style="left:0px; top:610px; width:90px; height:82px; ">심의내용</caption>
  285. <group id="grp_exec" visibility="hidden" overflow="hidden" style="left:660px; top:480px; width:525px; height:205px; ">
  286. <caption id="caption3" class="cell_1" style="left:0px; top:0px; width:115px; height:35px; ">실행일자</caption>
  287. <caption id="caption4" class="cell_1" style="left:265px; top:0px; width:115px; height:35px; ">실행자</caption>
  288. <caption id="caption5" class="cell_1" style="left:0px; top:37px; width:115px; height:80px; ">실행내역</caption>
  289. <caption id="caption8" class="cell_1" style="left:0px; top:121px; width:115px; height:90px; ">
  290. <![CDATA[제안담당자
  291. 확인내역]]>
  292. </caption>
  293. <caption id="cap_checkcnts" style="left:120px; top:121px; width:390px; height:80px; border-color:#999999; border-width:1; border-style:solid; "/>
  294. <caption id="cap_execcnts" style="left:120px; top:37px; width:390px; height:80px; border-color:#999999; border-width:1; border-style:solid; "/>
  295. <caption id="cap_exectretdd" format="yyyy-mm-dd" style="left:120px; top:4px; width:140px; height:25px; border-color:#999999; border-width:1; border-style:solid; "/>
  296. <caption id="cap_perexechngnm" style="left:385px; top:4px; width:125px; height:25px; border-color:#999999; border-width:1; border-style:solid; "/>
  297. </group>
  298. </group>
  299. <button id="btn_save" class="btn4_letter2" disabled="false" navindex="11" visibility="visible" style="left:845px; top:715px; width:56px; height:22px; ">
  300. <caption>저장</caption>
  301. <script type="javascript" ev:event="DOMActivate">
  302. <![CDATA[
  303. if(messageBox("", "Q002") == "7"){
  304. return false;
  305. }
  306. model.setValue("/root/main/cond/prcsstatcd", "1"); //1 : 저장
  307. fSave();
  308. ]]>
  309. </script>
  310. </button>
  311. <button id="btn_repl" class="btn4_letter2" disabled="false" navindex="14" visibility="visible" style="left:1015px; top:715px; width:56px; height:22px; ">
  312. <caption>회신</caption>
  313. <script type="javascript" ev:event="DOMActivate">
  314. <![CDATA[
  315. var acptno = model.getValue("/root/main/cond/acptno");
  316. setParameter("ano", acptno);
  317. if (acptno != "") {
  318. modal("SMMQO00500", "1", "", "");
  319. } else {
  320. return;
  321. }
  322. ]]>
  323. </script>
  324. </button>
  325. <button id="btn_addrepl" class="btn4_letter2" disabled="false" navindex="13" visibility="visible" style="left:959px; top:715px; width:56px; height:22px; ">
  326. <caption>댓글</caption>
  327. <script type="javascript" ev:event="DOMActivate">
  328. <![CDATA[
  329. var acptno = model.getValue("/root/main/cond/acptno");
  330. setParameter("acptno", acptno);
  331. if(getUserId() == model.getValue("/root/main/cond/suggempid")){
  332. return;
  333. }
  334. else{
  335. if (acptno != "") {
  336. modal("SMMQO00200", "1", "", "");
  337. fInitialize();
  338. } else {
  339. return;
  340. }
  341. }
  342. ]]>
  343. </script>
  344. </button>
  345. <button id="btn_exec" class="btn4_letter2" disabled="false" navindex="15" visibility="visible" style="left:1072px; top:715px; width:56px; height:22px; ">
  346. <caption>실행</caption>
  347. <script type="javascript" ev:event="DOMActivate">
  348. <![CDATA[
  349. var acptno = model.getValue("/root/main/cond/acptno");
  350. setParameter("ano", acptno);
  351. if (acptno != "") {
  352. modal("SMMQO00500", "1", "", "");
  353. } else {
  354. return;
  355. }
  356. ]]>
  357. </script>
  358. </button>
  359. <button id="btn_del" class="btn4_letter2" disabled="false" navindex="12" visibility="visible" style="left:902px; top:715px; width:56px; height:22px; ">
  360. <caption>삭제</caption>
  361. <script type="javascript" ev:event="DOMActivate">
  362. <![CDATA[
  363. if(messageBox("", "Q001") == "7"){
  364. return false;
  365. }
  366. model.setValue("/root/main/cond/delyn", "Y"); //1 : 삭제
  367. fSave();
  368. messageBox("삭제 ", "I002");
  369. if(isPopup() == true){
  370. window.close();
  371. }
  372. else{
  373. window.reload();
  374. }
  375. ]]>
  376. </script>
  377. </button>
  378. <button id="btn_prnt" class="btn6_letter2" disabled="false" navindex="10" visibility="visible" disable.background-image="../../../com/commonweb/images/dis_btn6_letter2.gif" style="left:788px; top:715px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn6_letter2.gif; ">
  379. <caption>출력</caption>
  380. <script type="javascript" ev:event="DOMActivate">
  381. <![CDATA[
  382. SetRepDetlInfo(); // Rexpert 출력 함수
  383. ]]>
  384. </script>
  385. </button>
  386. <button id="btn_close" class="btn4_letter2" disabled="false" navindex="15" visibility="visible" style="left:1130px; top:715px; width:56px; height:22px; ">
  387. <caption>닫기</caption>
  388. <script type="javascript" ev:event="DOMActivate">
  389. <![CDATA[
  390. window.close();
  391. ]]>
  392. </script>
  393. </button>
  394. </xhtml:body>
  395. </xhtml:html>