77 lines
4.1 KiB
XML
77 lines
4.1 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<FDL version="2.0">
|
|
<Form id="frmUploadValidation" titletext="업로드/검증" width="1440" height="900" onload="this.form_onload();">
|
|
<Objects>
|
|
<Dataset id="dsUploadBatches">
|
|
<ColumnInfo>
|
|
<Column id="id" type="INT" size="256"/>
|
|
<Column id="templateCode" type="STRING" size="256"/>
|
|
<Column id="fiscalPeriod" type="STRING" size="256"/>
|
|
<Column id="statusCode" type="STRING" size="256"/>
|
|
<Column id="originalFilename" type="STRING" size="256"/>
|
|
<Column id="rowCount" type="INT" size="256"/>
|
|
<Column id="errorCount" type="INT" size="256"/>
|
|
<Column id="uploadedAt" type="STRING" size="256"/>
|
|
</ColumnInfo>
|
|
</Dataset>
|
|
<Dataset id="dsIssues">
|
|
<ColumnInfo>
|
|
<Column id="rowNumber" type="INT" size="256"/>
|
|
<Column id="issueCode" type="STRING" size="256"/>
|
|
<Column id="issueMessage" type="STRING" size="256"/>
|
|
<Column id="severityCode" type="STRING" size="256"/>
|
|
</ColumnInfo>
|
|
</Dataset>
|
|
</Objects>
|
|
<Layouts>
|
|
<Layout id="default" width="1440" height="900"/>
|
|
</Layouts>
|
|
<Script><![CDATA[
|
|
this.gfnApiBase = function()
|
|
{
|
|
return application.g_apiBase || "/api";
|
|
};
|
|
|
|
this.gfnBuildTransactionUrl = function(path)
|
|
{
|
|
return this.gfnApiBase() + path;
|
|
};
|
|
|
|
this.gfnShowMessage = function(message)
|
|
{
|
|
trace(message);
|
|
};
|
|
|
|
|
|
|
|
this.form_onload = function()
|
|
{
|
|
this.gfnShowMessage("업로드/검증 loaded");
|
|
};
|
|
|
|
this.txLoadUploadOverview = function()
|
|
{
|
|
this.gfnShowMessage("txLoadUploadOverview -> /api/tx/uploads/overview");
|
|
};
|
|
|
|
this.actUpload = function()
|
|
{
|
|
this.gfnShowMessage("파일 업로드");
|
|
};
|
|
]]></Script>
|
|
<Combo id="cboTemplate" left="36" top="108" width="220" height="38" displaynulltext="템플릿 구분" codecolumn="code" datacolumn="label"/>
|
|
<Edit id="edtFiscalPeriod" left="274" top="108" width="140" height="38" displaynulltext="회계기간 (YYYY-MM)"/>
|
|
<FileUpload id="fileUpload" left="432" top="108" width="480" height="38" displaynulltext="업로드 파일"/>
|
|
<Button id="btnUpload" left="930" top="108" width="140" height="38" text="파일 업로드"/>
|
|
<Button id="btnReloadUploads" left="1086" top="108" width="140" height="38" text="내역 새로고침"/>
|
|
<Static id="sta_grdUploadBatches" left="36" top="148" width="1368" height="24" text="업로드 이력"/>
|
|
<Grid id="grdUploadBatches" left="36" top="176" width="1368" height="270" binddataset="dsUploadBatches">
|
|
<Formats><Format id="default"><Columns><Column size="171"/><Column size="171"/><Column size="171"/><Column size="171"/><Column size="171"/><Column size="171"/><Column size="171"/><Column size="171"/></Columns><Rows><Row size="32" band="head"/><Row size="28"/></Rows><Band id="head"><Cell col="0" text="배치ID"/><Cell col="1" text="템플릿"/><Cell col="2" text="회계기간"/><Cell col="3" text="상태"/><Cell col="4" text="파일명"/><Cell col="5" text="건수"/><Cell col="6" text="오류건수"/><Cell col="7" text="업로드시각"/></Band><Band id="body"><Cell col="0" text="bind:id"/><Cell col="1" text="bind:templateCode"/><Cell col="2" text="bind:fiscalPeriod"/><Cell col="3" text="bind:statusCode"/><Cell col="4" text="bind:originalFilename"/><Cell col="5" text="bind:rowCount"/><Cell col="6" text="bind:errorCount"/><Cell col="7" text="bind:uploadedAt"/></Band></Format></Formats>
|
|
</Grid>
|
|
<Static id="sta_grdIssues" left="36" top="458" width="1368" height="24" text="오류내역"/>
|
|
<Grid id="grdIssues" left="36" top="486" width="1368" height="300" binddataset="dsIssues">
|
|
<Formats><Format id="default"><Columns><Column size="342"/><Column size="342"/><Column size="342"/><Column size="342"/></Columns><Rows><Row size="32" band="head"/><Row size="28"/></Rows><Band id="head"><Cell col="0" text="행번호"/><Cell col="1" text="오류코드"/><Cell col="2" text="오류메시지"/><Cell col="3" text="등급"/></Band><Band id="body"><Cell col="0" text="bind:rowNumber"/><Cell col="1" text="bind:issueCode"/><Cell col="2" text="bind:issueMessage"/><Cell col="3" text="bind:severityCode"/></Band></Format></Formats>
|
|
</Grid>
|
|
</Form>
|
|
</FDL>
|