123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SPRSD20002" position="absolute 0 0 840 800" titletext="소모품청구 도움말" onload="SPRSD20002_onload">
- <Layouts>
- <Layout>
- <Div position="absolute 0 56 840 768" id="group2" scrollbars="autoboth">
- <Layouts>
- <Layout>
- <ImageViewer position="absolute 126 0 700 804" id="img1" image="URL('IMG::mis/con_help01.png')" anchor="default" imagealign="center top"/>
- <ImageViewer position="absolute 126 804 700 1668" id="img2" image="URL('IMG::mis/con_help02.png')" anchor="default" imagealign="center top"/>
- <ImageViewer position="absolute 126 1660 700 2541" id="img3" image="URL('IMG::mis/con_help03.png')" anchor="default" imagealign="center top"/>
- <ImageViewer position="absolute 126 2542 700 3439" id="img5" image="URL('IMG::mis/con_help04.png')" anchor="default" imagealign="center top"/>
- <ImageViewer position="absolute 126 3440 700 4243" id="img6" image="URL('IMG::mis/con_help05.png')" anchor="default" imagealign="center top"/>
- </Layout>
- </Layouts>
- </Div>
- <Div position="absolute 0 23 805 48" id="grp_btn" scrollbars="autoboth">
- <Layouts>
- <Layout>
- <Button position="absolute 17 2 137 24" id="btn_help" class="btn1" text="도움말다운로드" anchor="default" onclick="grp_btn_btn_help_onclick"/>
- </Layout>
- </Layouts>
- </Div>
- <Static id="caption6" text="소모품청구 도움말" class="tit_3" position="absolute 0 0 142 25"/>
- <Button id="button3" taborder="1" text="확인" class="btn4" position="absolute 768 773 824 795" onclick="button3_onclick"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_file_attachfile" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- </Objects>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2017-06-19
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2017-06-19 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- //=======================================================================================
- // Lib Include
- //---------------------------------------------------------------------------------------
- include "com_commonxp::comm_main.xjs";
- //=======================================================================================
- // Event
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Components : Form
- * Description : 화면 처음 초기화시 폼초기화
- ****************************************************************************************/
- function SPRSD20002_onload(obj:Form, e:LoadEventInfo)
- {
- frmf_initForm(obj);
- }
- /****************************************************************************************
- * Components : Button
- * Description : 도움말다운로드
- ****************************************************************************************/
- function grp_btn_btn_help_onclick(obj:Button, e:ClickEventInfo)
- {
- var filepath = "mis/rpv/req//20130104/20130104103314836666_MIS";
-
- dsf_createDsRow("ds_req", [
- {col:"filepath", type:"STRING", size:256, val:filepath}
- ]);
- var oParam = {};
- oParam.id = "TRRWC03003";
- oParam.service = "paybaseinfomngtapp.PayBaseInfoMngt";
- oParam.method = "reqGetManualAtt";
- oParam.inds = "req=ds_req";
- oParam.outds = "ds_file_attachfile=attachfile";
- oParam.async = false;
- oParam.callback = "cf_TRRWC03003";
- tranf_submit(oParam);
- }
- function cf_TRRWC03003(sSvcId, nErrorCode, sErrorMsg) {
- if(nErrorCode < 0) return;
-
- var filenm = "소모품청구 도움말.hwp";
- var fd = new FileDialog;
- var objVFile = fd.open("FileSave", FileDialog.SAVE, "%MYDOCUMENT%", filenm); // 단일 파일 선택
- if (objVFile != null)
- {
- var temp = dsf_readFileFromDs(objVFile.fullpath, ds_file_attachfile, 0, "filedata"); // 파일저장
- sleep(1000);
- if( !utlf_isNull(temp) )
- {
- var rtn = sysf_messageBox("파일을", "Q004");
- if( rtn == 6 )
- {
- var text = new String(objVFile.fullpath);
- var replaceText = text.replace(" ", "");
- if( text.length != replaceText.length )
- {
- sysf_messageBox("공백이 포함된 [파일명/폴더]는 자동열기가 실행되지 않습니다.", "E999", "");
- return;
- }
- else
- {
- // system.execShell(objVFile.fullpath);
- var path = objVFile.fullpath;
- var sArg = "";
- var objExtCommon = new ExtCommon();
- objExtCommon.executeProcess(path, sArg);
- }
- }
- }
- }
- }
- /****************************************************************************************
- * Components : Button
- * Description : 확인
- ****************************************************************************************/
- function button3_onclick(obj:Button, e:ClickEventInfo)
- {
- this.close();
- }
- ]]></Script>
- </Form>
- </FDL>
|