소스 정리

master
mjkhan21 4 weeks ago
parent b82849f24d
commit 144d0abad7

@ -262,6 +262,7 @@ var FIM010 = new CommonCodes(${FIM010});
var FIM022 = new CommonCodes(${FIM022});
var FIM026 = new CommonCodes(${FIM026});
var FIM034 = new CommonCodes(${FIM034});
pageObject["${pageName}"] = newDoctxFinder("${pageName}");
$(document).ready(function(){
@ -642,5 +643,6 @@ $(document).ready(function(){
th.addEventListener('dblclick', () => $P.sortCrdnList(th));
});
});
//# sourceURL=crdn06010-main.jsp
</script>

@ -8,51 +8,37 @@
<div class="row g-1">
<div class="col-md-12">
<label is="name-label" for="eqpCd" class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end">
장비코드
</label>
<label is="name-label" for="eqpCd" class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end">장비코드</label>
<input type="text" is="id-input" name="eqpCd" data-map="EQP_CD"
class="form-control w-px-300" data-maxlengthb="1000" maxlength="3"/>
</div>
<div class="col-md-12">
<label is="name-label" for="plcNm" class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end">
단속장소명
</label>
<label is="name-label" for="plcNm" class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end">단속장소명</label>
<input type="text" is="id-input" name="plcNm" data-map="PLC_NM"
class="form-control w-px-300" data-maxlengthb="1000" maxlength="100"/>
</div>
<div class="col-md-12">
<label is="name-label" for="stdgNm" class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end">
법정동
</label>
<label is="name-label" for="stdgNm" class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end">법정동</label>
<input type="text" is="id-input" name="stdgNm" data-map="STDG_NM"
class="form-control w-px-300" data-maxlengthb="1000" maxlength="30"/>
</div>
<div class="col-md-12">
<label is="name-label" for="roadNm" class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end">
도로명
</label>
<label is="name-label" for="roadNm" class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end">도로명</label>
<input type="text" is="id-input" name="roadNm" data-map="ROAD_NM"
class="form-control w-px-300" data-maxlengthb="1000" maxlength="50"/>
</div>
<div class="col-md-12">
<label is="name-label" for="plc" class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end">
단속장소
</label>
<label is="name-label" for="plc" class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end">단속장소</label>
<input type="text" is="id-input" name="plc" data-map="PLC"
class="form-control w-px-300" data-maxlengthb="1000" maxlength="100"/>
</div>
<div class="col-md-12">
<label is="name-label" for="laneNo" class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end">
차선번호
</label>
<label is="name-label" for="laneNo" class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end">차선번호</label>
<input type="text" is="id-input" name="laneNo" data-map="LANE_NO"
class="form-control w-px-300" data-maxlengthb="1000" maxlength="2"/>
</div>
<div class="col-md-12">
<label is="name-label" for="drctn" class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end me-3">
차선방향
</label>
<label is="name-label" for="drctn" class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end me-3">차선방향</label>
<label class="form-label me-3">
<input type="radio" name="drctn" value="0" class="form-check-input" checked> 상행
</label>
@ -61,23 +47,18 @@
</label>
</div>
<div class="col-md-12">
<label is="name-label" for="etcInfo" class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end">
비고
</label>
<label is="name-label" for="etcInfo" class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end">비고</label>
<input type="text" is="id-input" name="etcInfo" data-map="ETC_INFO"
class="form-control w-px-300" data-maxlengthb="1000" maxlength="60"/>
</div>
</div>
<div class="row mt-4 justify-content-end mb-3">
<div class="row justify-content-end">
<div class="col-sm-3">
<button type="button" name="btnSave" class="btn btn-primary">저장</button>
</div>
</div>
</div>
</form>
</div>
@ -97,7 +78,6 @@ pageObject.childReq.push({
});
$(document).ready(function(){
var $P = pageObject["${pageName}"];
if(pageObject.parentRes.length > 0){
@ -121,7 +101,6 @@ $(document).ready(function(){
}
$P.fnSave = async() => {
if(!AppSupport.customValidate($P.$findn("frmEdit").find("input"))) return;
if(await confirm2("단속장비장소 정보를 저장하시겠습니까?")){
@ -141,7 +120,6 @@ $(document).ready(function(){
}
});
}
};
$P.saveCallback = (resp) => {

@ -1,13 +1,9 @@
<%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8" isELIgnored="false" session="false"%>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" isELIgnored="false" session="false"%>
<%@ include file="/WEB-INF/jsp/include/taglib.jsp"%>
<c:set var="prefixName" scope="request">단속장비 관리</c:set>
<div class="content-wrapper" data-doctx="${pageName}">
<!-- Page Body -->
<div id="DataTables_Table_0_wrapper"
class="dataTables_wrapper dt-bootstrap5 no-footer">
<div id="DataTables_Table_0_wrapper" class="dataTables_wrapper dt-bootstrap5 no-footer">
<div class="d-flex flex-row justify-content-between p-3">
<div class="d-flex flex-grow-1 me-5">
<div class="input-group me-3 w-px-400">
@ -24,15 +20,12 @@
<button type="button" name="btnSearch" class="btn btn-search w-px-120" title="검색">검색</button>
<button type="button" name="btnInsert" class="btn btn-primary w-px-120" title="추가">추가</button>
<button type="button" name="btnRemove" class="btn btn-primary w-px-120" title="삭제">삭제</button>
</div>
</div>
<div name="table-responsive" class="table-responsive">
<table
class="datatables-ajax table table-bordered dataTable no-footer">
<table class="datatables-ajax table table-bordered dataTable no-footer">
<thead name="eqplcThead">
<tr>
<th class="sorting" style="width: 70px;">ID</th>
<tr><th class="sorting" style="width: 70px;">ID</th>
<th class="sorting" style="width: 70px;">업체코드</th>
<th class="sorting" style="width: 70px;">장비코드</th>
<th class="sorting" style="width: 120px;">단속장소명</th>
@ -47,8 +40,8 @@
</tr>
</thead>
<tbody name="eqplcTbody"></tbody>
<template is="curly-brackets" name=eqplcRow>
<tr data-index="DATA-INDEX">
<template is="curly-brackets" name="eqplcRow">
<tr data-index="DATA-INDEX">
<td onclick ondblclick class="text-center">{EQPLC_CD}</td>
<td onclick ondblclick class="text-center">{CMPNY_CD}</td>
<td onclick ondblclick class="text-center">{EQP_CD}</td>
@ -62,16 +55,14 @@
<td onclick ondblclick class="text-center">{REG_DT}</td>
<td onclick ondblclick class="text-center">{RGTR_NM}</td>
</tr>
</template>
<template name="eqplcNotFound">
<tr><td valign="top" colspan="12" class="dataTables_empty text-center">${prefixName} 정보를 찾지 못했습니다.</td>
</tr>
</template>
</template>
<template name="eqplcNotFound">
<tr><td valign="top" colspan="12" class="dataTables_empty text-center">${prefixName} 정보를 찾지 못했습니다.</td></tr>
</template>
</table>
</div>
<div class="d-flex flex-row p-3 justify-content-between">
<label name="eqplcPagingInfo" class="dataTables_info"
role="status" aria-live="polite"></label>
<label name="eqplcPagingInfo" class="dataTables_info" role="status" aria-live="polite"></label>
<ul name="eqplcPaging" class="pagination pagination-primary">
</ul>
</div>
@ -87,7 +78,6 @@ LoadScript("eqplcScript",wctx.url("/resources/js/fims/eqplc/eqplc.js?${ver}"));
pageObject["${pageName}"] = newDoctxFinder("${pageName}");
$(document).ready(function(){
var $P = pageObject["${pageName}"];
/**************************************************************************
@ -160,7 +150,6 @@ $(document).ready(function(){
};
ctrl.load(1);
}
$P.scrollEqplcList = () => {
@ -251,7 +240,6 @@ $(document).ready(function(){
};
$P.fnRemove = () => {
dialog.alert({
content:"선택한 ${prefixName} 정보를 제거하시겠습니까?",
onOK:() => {
@ -279,9 +267,6 @@ $(document).ready(function(){
}
});
};
$P.provide = {

Loading…
Cancel
Save