SMMQZ00200_QI인증평가지침서(조회용).xrw 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
  3. <xhtml:html xmlns:ex="http://www.comsquare.co.kr/xforms/excel" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:ms="urn:schemas-microsoft-com:xslt" xmlns:my="http://www.comsquare.co.kr/example" 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" xmlns:cs="http://www.comsquare.co.kr/xforms">
  4. <xhtml:head>
  5. <xhtml:title>QI 인증평가 지침서</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <guideinfo/>
  11. <select>
  12. <setno/>
  13. <supsetno/>
  14. <setnm/>
  15. <status/>
  16. <depth/>
  17. <period/>
  18. </select>
  19. <guidedetlinfo/>
  20. </main>
  21. <send>
  22. <search>
  23. <term/>
  24. <period/>
  25. </search>
  26. <savefolder>
  27. <setnm/>
  28. <setno/>
  29. <supsetno/>
  30. <status/>
  31. </savefolder>
  32. <searchdetl>
  33. <period/>
  34. <setno/>
  35. </searchdetl>
  36. <savedetl>
  37. <period/>
  38. <setno/>
  39. <conts/>
  40. <contstxt/>
  41. <status/>
  42. </savedetl>
  43. </send>
  44. <init/>
  45. <hidden>
  46. <menus>
  47. <trvmenu1>
  48. <menu>
  49. <label>폴더추가</label>
  50. <func>fAddFolder1</func>
  51. </menu>
  52. <menu>
  53. <label>폴더수정</label>
  54. <func>fModFolder1</func>
  55. </menu>
  56. <menu>
  57. <label>폴더삭제</label>
  58. <func>fDelFolder1</func>
  59. </menu>
  60. </trvmenu1>
  61. <trvmenu2>
  62. <menu>
  63. <label>최상위폴더추가</label>
  64. <func>fAddRootFolder1</func>
  65. </menu>
  66. <menu>
  67. <label>폴더추가</label>
  68. <func>fAddFolder1</func>
  69. </menu>
  70. <menu>
  71. <label>폴더수정</label>
  72. <func>fModFolder1</func>
  73. </menu>
  74. <menu>
  75. <label>폴더삭제</label>
  76. <func>fDelFolder1</func>
  77. </menu>
  78. </trvmenu2>
  79. <trvmenu3>
  80. <menu>
  81. <label>최상위폴더추가</label>
  82. <func>fAddRootFolder2</func>
  83. </menu>
  84. </trvmenu3>
  85. </menus>
  86. <treevalue/>
  87. </hidden>
  88. <temp/>
  89. </root>
  90. </instance>
  91. <script type="javascript" ev:event="xforms-ready">
  92. <![CDATA[
  93. group1.attribute("height") = 0;
  94. /* hwp 세팅 */
  95. pHwpCtrl.SetToolBar(-1, "TOOLBAR_MENU");
  96. pHwpCtrl.SetToolBar(-1, "TOOLBAR_STANDARD");
  97. pHwpCtrl.SetToolBar(-1, "TOOLBAR_FORMAT");
  98. pHwpCtrl.SetToolBar(-1, "TOOLBAR_DRAW");
  99. pHwpCtrl.SetToolBar(-1, "-TOOLBAR_TABLE");
  100. pHwpCtrl.SetToolBar(-1, "-TOOLBAR_IMAGE");
  101. //pHwpCtrl.SetToolBar(-1, "-TOOLBAR_HEADERFOOTER");
  102. //pHwpCtrl.SetToolBar(0, "FilePreview, Print, Separator, Undo, Redo, Separator, Cut, Copy, Paste,"+"Separator, ParaNumberBullet, MultiColumn, SpellingCheck, HwpDic, Separator, PictureInsertDialog, MacroPlay1");
  103. //pHwpCtrl.SetToolBar(0, "Print, Separator, Undo, Redo, Separator, Cut, Copy, Paste,"+"Separator, ParaNumberBullet, MultiColumn, SpellingCheck, HwpDic, Separator, PictureInsertDialog, MacroPlay1");
  104. var dact = pHwpCtrl.CreateAction("CharShape");
  105. var dset = dact.CreateSet();
  106. dact.GetDefault(dset);
  107. //dset.SetItem("Height", 1300);
  108. dset.SetItem("FaceNameHangul", "굴림");
  109. dset.SetItem("FaceNameLatin", "굴림");
  110. dset.SetItem("FaceNameHanja", "굴림");
  111. dset.SetItem("FaceNameJapanese", "굴림");
  112. dset.SetItem("FaceNameOther", "굴림");
  113. dset.SetItem("FaceNameSymbol", "굴림");
  114. dset.SetItem("FaceNameUser", "굴림");
  115. //dset.SetItem("TextColor", 0xFF0000); // 글자 색을 파란색으로
  116. dact.Execute(dset); // 액션 실행
  117. ]]>
  118. </script>
  119. <submission id="TRMQZ00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/search" resultref="/root/main/guideinfo"/>
  120. <submission id="TRMQZ00102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/searchdetl" resultref="/root/main/guidedetlinfo"/>
  121. <submission id="TXMQZ00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savefolder" resultref="/root/main/guideinfo"/>
  122. <submission id="TXMQZ00102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedetl"/>
  123. </model>
  124. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  125. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  126. <script type="javascript">
  127. <![CDATA[
  128. var sLIST_PATH = "/root/main/guideinfo/guidelist";
  129. var sSELECT_PATH = "/root/main/select";
  130. var status = "";
  131. var hwpmenuviewflag = "N";
  132. function fSearch(){
  133. submit("TRMQZ00101",false);
  134. }
  135. /**
  136. * @desc : 마우스 오른쪽 버튼 팝업창
  137. * @
  138. * @param :
  139. * @return :
  140. * @---------------------------------------------------
  141. */
  142. function fMouseRghtBtnPopup(){
  143. if(event.button !=3) return;
  144. var rowpos = trv_work.mouseRow;
  145. trv_work.select(rowpos);
  146. var item = trv_work.item(trv_work.selectedIndex);
  147. var length = instance1.selectNodes(sLIST_PATH).length;
  148. if(length==0){
  149. setPopupMenu("group1", false, "/root/hidden/menus/trvmenu3/menu" , "label", "func");
  150. }else if(item.depth==0){
  151. setPopupMenu("trv_work", false, "/root/hidden/menus/trvmenu2/menu" , "label", "func");
  152. }else if(item.depth <= 3){
  153. setPopupMenu("trv_work", false, "/root/hidden/menus/trvmenu1/menu" , "label", "func");
  154. }else{
  155. initPopupMenu();
  156. }
  157. model.refresh();
  158. }
  159. function fSelect(){
  160. var item = trv_work.item(trv_work.selectedIndex);
  161. if(item == null){
  162. messageBox("항목을 ","C002");
  163. return;
  164. }
  165. if(item.depth<3){
  166. return;
  167. }
  168. /*
  169. model.setValue("/root/send/resultdata/setno",item.value);
  170. if(submit("TRZHA20302")){
  171. opener.javascript.setParameter("SPZHA20301_PARM_setno1",model.getValue("/root/main/selectedworkinfo/selectedworklist/setno1"));
  172. opener.javascript.setParameter("SPZHA20301_PARM_setno2",model.getValue("/root/main/selectedworkinfo/selectedworklist/setno2"));
  173. opener.javascript.setParameter("SPZHA20301_PARM_setno3",model.getValue("/root/main/selectedworkinfo/selectedworklist/setno3"));
  174. opener.javascript.setParameter("SPZHA20301_PARM_setnm1",model.getValue("/root/main/selectedworkinfo/selectedworklist/setnm1"));
  175. opener.javascript.setParameter("SPZHA20301_PARM_setnm2",model.getValue("/root/main/selectedworkinfo/selectedworklist/setnm2"));
  176. opener.javascript.setParameter("SPZHA20301_PARM_setnm3",model.getValue("/root/main/selectedworkinfo/selectedworklist/setnm3"));
  177. window.close();
  178. }
  179. */
  180. }
  181. function fAddRootFolder1(){
  182. var item = trv_work.item(trv_work.selectedIndex);
  183. if(item == null){return;}
  184. var currow = item.index + 1;
  185. model.setValue("/root/main/select/setnm", "");
  186. caption4.text="폴더명";
  187. if(fSetSelectedInfo(currow, "i",true)!=-1){
  188. fShowWndIptBox();
  189. }
  190. }
  191. function fAddRootFolder2(){
  192. model.resetInstanceNode(sSELECT_PATH);
  193. var period = model.getValue("/root/send/search/period");
  194. model.setValue(sSELECT_PATH + "/period", period);
  195. model.setValue(sSELECT_PATH + "/status", "i");
  196. fShowWndIptBox();
  197. }
  198. function fAddFolder1(){
  199. var item = trv_work.item(trv_work.selectedIndex);
  200. if(item == null){return;}
  201. var currow = item.index + 1;
  202. model.setValue("/root/main/select/setnm", "");
  203. caption4.text="폴더명";
  204. if(fSetSelectedInfo(currow, "i")!=-1){
  205. fShowWndIptBox();
  206. }
  207. }
  208. function fModFolder1(){
  209. var item = trv_work.item(trv_work.selectedIndex);
  210. if(item == null){return;}
  211. var currow = item.index + 1;
  212. model.setValue("/root/main/select/setnm", model.getValue(sLIST_PATH + "["+ currow + "]/setnm"));
  213. caption4.text="폴더명";
  214. if(fSetSelectedInfo(currow, "u")!=-1){
  215. fShowWndIptBox();
  216. }
  217. }
  218. function fDelFolder1(){
  219. var item = trv_work.item(trv_work.selectedIndex);
  220. if(item == null){return;}
  221. var currow = item.index + 1;
  222. if(fSetSelectedInfo(currow, "d")!=-1){
  223. fSaveFolder();
  224. }
  225. }
  226. function fSetSelectedInfo(rowpos, status, rootflag){
  227. var setnm = model.getValue(sLIST_PATH + "[" + rowpos + "]/setnm");
  228. if(status != "i" && status != "u" && status != "d") return -1;
  229. if(status == "d"){
  230. var rtnval = messageBox("[" + setnm + "]하위의 모든 업무가 지워집니다.\n" + "[" + setnm + "]업무를", "Q001");
  231. if(rtnval == 7){
  232. return -1;
  233. }
  234. }
  235. var depth = model.getValue(sLIST_PATH + "["+ rowpos + "]/depth");
  236. var supsetno = model.getValue(sLIST_PATH + "["+ rowpos + "]/supsetno");
  237. var setno = model.getValue(sLIST_PATH + "["+ rowpos + "]/setno");
  238. var period = model.getValue(sLIST_PATH + "["+ rowpos + "]/period");
  239. model.setValue(sSELECT_PATH + "/depth",depth);
  240. model.setValue(sSELECT_PATH + "/setno",setno);
  241. model.setValue(sSELECT_PATH + "/status", status);
  242. model.setValue(sSELECT_PATH + "/period", period);
  243. if(status == "i" && rootflag != true){
  244. model.setValue(sSELECT_PATH + "/supsetno",setno);
  245. }else{
  246. model.setValue(sSELECT_PATH + "/supsetno",supsetno);
  247. }
  248. }
  249. function fClkBtnCnfm(){
  250. group1.attribute("height") = 0;
  251. model.setFocus("trv_work");
  252. model.refresh();
  253. fSaveFolder();
  254. var item = trv_work.item(trv_work.selectedIndex);
  255. if(item == null){
  256. }else{
  257. var currow = item.index + 1;
  258. var indx = trv_work.selectedIndex;
  259. trv_work.select(currow);
  260. trv_work.expand(indx, true);
  261. trv_work.refresh();
  262. }
  263. }
  264. function fSaveFolder(){
  265. model.copyNode("/root/send/savefolder", sSELECT_PATH);
  266. if(submit("TXMQZ00101",false)){
  267. //model.setValue(trv_work.attribute("ref"), "");
  268. trv_work.rebuild();
  269. }
  270. }
  271. function fShowWndIptBox(){
  272. if(event.clientY >= 700){
  273. var ypos = 700;
  274. }else{
  275. var ypos = event.clientY;
  276. }
  277. group1.attribute("top") = ypos;
  278. group1.attribute("height") = 55;
  279. model.setFocus("ipt_setnm");
  280. model.refresh();
  281. }
  282. function fSearchDetl(period, setno){
  283. if(typeof(pHwpCtrl) == "undefined"){
  284. messageBox("한글이 설치되지 않았습니다.\n설치 후 진행 ","I006");
  285. return;
  286. }
  287. model.setValue("/root/send/searchdetl/setno",setno);
  288. model.setValue("/root/send/searchdetl/period",period);
  289. submit("TRMQZ00102",false);
  290. var length = instance1.selectNodes("/root/main/guidedetlinfo/guidedetl").length;
  291. if(length > 0){
  292. status = "u";
  293. pHwpCtrl.SetTextFile(model.getValue("/root/main/guidedetlinfo/guidedetl/conts"),"HWPML2X","");
  294. }else if(length==0){
  295. status = "i";
  296. pHwpCtrl.SetTextFile("","HWPML2X","");
  297. }
  298. }
  299. function fSaveDetl(){
  300. var period = model.getValue("/root/send/searchdetl/period");
  301. var setno = model.getValue("/root/send/searchdetl/setno");
  302. model.setValue("/root/send/savedetl/period",period);
  303. model.setValue("/root/send/savedetl/setno",setno);
  304. model.setValue("/root/send/savedetl/conts",pHwpCtrl.GetTextFile("HWPML2X", ""));
  305. model.setValue("/root/send/savedetl/contstxt",pHwpCtrl.GetTextFile("TEXT", ""));
  306. model.setValue("/root/send/savedetl/status",status);
  307. submit("TXMQZ00102",false);
  308. }
  309. ]]>
  310. </script>
  311. </xhtml:head>
  312. <xhtml:body pagewidth="1195px" pageheight="780px">
  313. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:144px; height:14px; ">QI 인증평가 지침서</caption>
  314. <group id="group2" style="left:0px; top:35px; width:380px; height:60px; vertical-align:top; ">
  315. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:380px; height:59px; background-color:#fffbf2; border-color:#ffd799; "/>
  316. <button id="button5" class="btn1_letter2" navindex="5" style="left:310px; top:34px; width:56px; height:22px; ">
  317. <caption>조회</caption>
  318. <script type="javascript" ev:event="DOMActivate">
  319. <![CDATA[
  320. fSearch();
  321. model.refresh();
  322. trv_work.rebuild();
  323. ]]>
  324. </script>
  325. </button>
  326. <caption id="caption20" class="search_name" style="left:5px; top:34px; width:74px; height:17px; ">내용</caption>
  327. <input id="ipt_s_term" ref="/root/send/search/term" style="left:70px; top:34px; width:235px; height:19px; "/>
  328. <caption id="caption2" class="search_name" style="left:5px; top:9px; width:74px; height:17px; ">주기</caption>
  329. <select1 id="combo1" ref="/root/send/search/period" appearance="minimal" style="left:70px; top:9px; width:110px; height:19px; ">
  330. <choices>
  331. <item>
  332. <label>2</label>
  333. <value>2</value>
  334. </item>
  335. </choices>
  336. </select1>
  337. </group>
  338. <treeview id="trv_work" ref="/root/hidden/treevalue" dragmode="true" dropmode="true" expanddepth="1" fullrowselect="false" itemsettype="depth" style="left:5px; top:100px; width:375px; height:670px; ">
  339. <itemset nodeset="/root/main/guideinfo/guidelist">
  340. <label ref="setnm"/>
  341. <value ref="setno"/>
  342. <depth ref="depth"/>
  343. </itemset>
  344. <script type="javascript" ev:event="ondblclick">
  345. <![CDATA[
  346. var item = trv_work.item(trv_work.selectedIndex);
  347. if(item == null){return;}
  348. var currow = item.index + 1;
  349. var depth = model.getValue(sLIST_PATH + "["+ currow + "]/depth");
  350. if(depth <3){
  351. grp_guidedetl.visible = false;
  352. }else{
  353. grp_guidedetl.visible = true;
  354. }
  355. var period = model.getValue(sLIST_PATH + "["+ currow + "]/period");
  356. var setno = model.getValue(sLIST_PATH + "["+ currow + "]/setno");
  357. var setnm = model.getValue(sLIST_PATH + "["+ currow + "]/setnm");
  358. model.setValue("/root/main/select/setno",setno);
  359. model.setValue("/root/main/select/period",period);
  360. model.setValue("/root/main/select/setnm",setnm);
  361. fSearchDetl(period, setno);
  362. model.refresh();
  363. ]]>
  364. </script>
  365. </treeview>
  366. <group id="group1" style="left:15px; top:575px; width:218px; height:55px; background-color:#99ccff; border-color:#3366ff; border-style:solid; ">
  367. <caption id="caption4" style="left:5px; top:5px; width:41px; height:20px; font-weight:bold; vertical-align:middle; ">폴더명</caption>
  368. <input id="ipt_setnm" ref="/root/main/select/setnm" class="input_default" style="left:55px; top:5px; width:154px; height:19px; border-color:#3366ff; border-style:solid; ">
  369. <script type="javascript" ev:event="onkeypress">
  370. <![CDATA[
  371. /*
  372. inputEnterKey("btn_cnfm", "DOMActivate");
  373. var keycode = event.keyCode;
  374. if(keycode == 27){
  375. group1.attribute("height") = 0;
  376. model.setFocus("trv_etcprmsprcpsetlist");
  377. return;
  378. }
  379. */
  380. ]]>
  381. </script>
  382. </input>
  383. <button id="btn_cnfm" class="btn2_letter2" style="left:122px; top:26px; width:42px; height:19px; ">
  384. <caption>확인</caption>
  385. <script type="javascript" ev:event="DOMActivate">
  386. <![CDATA[
  387. fClkBtnCnfm();
  388. ]]>
  389. </script>
  390. </button>
  391. <button id="button3" class="btn2_letter2" style="left:166px; top:26px; width:42px; height:19px; ">
  392. <caption>취소</caption>
  393. <script type="javascript" ev:event="DOMActivate">
  394. <![CDATA[
  395. group1.attribute("height") = 0;
  396. ]]>
  397. </script>
  398. </button>
  399. </group>
  400. <shape id="rectangle1" appearance="rectangle" style="left:385px; top:35px; width:805px; height:735px; background-color:#999999; "/>
  401. <group id="grp_guidedetl" visibility="hidden" style="left:385px; top:35px; width:805px; height:735px; ">
  402. <shape id="rectangle2" appearance="rectangle" style="left:0px; top:0px; width:805px; height:35px; background-color:#88bbff; "/>
  403. <object id="pHwpCtrl" clsid="{bd9c32de-3155-4691-8972-097d53b10052}" onError="activeX_hwp_err()" style="left:0px; top:35px; width:805px; height:700px; "/>
  404. <output id="output1" ref="/root/main/select/setnm" style="left:31px; top:8px; width:585px; height:19px; font-size:10pt; font-weight:bold; "/>
  405. <output id="output2" ref="/root/main/select/period" style="left:645px; top:8px; width:35px; height:19px; font-size:10pt; font-weight:bold; text-align:right; "/>
  406. <caption id="caption1" style="left:680px; top:7px; width:120px; height:20px; font-size:10pt; font-weight:bold; ">주기 인증평가</caption>
  407. </group>
  408. </xhtml:body>
  409. </xhtml:html>