소스 정리

main
이범준 9 months ago
parent 2676268ee6
commit bc2f7b84d9

@ -392,9 +392,11 @@ $(document).ready(function(){
**************************************************************************/
//단속사진검사 datasetControl 인스턴스
$P.photoInspectionControl = new DatasetControl({
urls : { load : "", getInfo : "" },
dataGetter : obj => obj["List"], appendData:true,
keymapper : info => info ? info.CRDN_ID : "",
urls : {
load : ""
},
formats: {
CRDN_YMD_TM : datetimeFormat,
CRDN_INPT_SE_CD : FIM003,
@ -410,9 +412,11 @@ $(document).ready(function(){
//동일차량검사 datasetControl 인스턴스
$P.sameVehicleMainControl = new DatasetControl({
urls : { load : "", getInfo : "" },
dataGetter : obj => obj["List"], appendData:true,
keymapper : info => info ? info.CRDN_ID_LIST : "",
urls : {
load : ""
},
formats: {
CRDN_CNT : numberFormat,
FFNLG_CRDN_AMT : numberFormat
@ -423,9 +427,11 @@ $(document).ready(function(){
$P.sameVehicleMainControl.beforeCurrent = null;
$P.sameVehicleSubControl = new DatasetControl({
urls : { load : "", getInfo : "" },
dataGetter : obj => obj["List"],
keymapper : info => info ? info.CRDN_ID : "",
urls : {
load : ""
},
formats: {
CRDN_YMD_TM : datetimeFormat,
CRDN_INPT_SE_CD : FIM003,
@ -524,11 +530,8 @@ $(document).ready(function(){
$P.fnResetAndChangeBiz = (taskSeCd) => {
$P.fnReset();
$P.photoInspectionControl.urls.load = wctx.url("/"+taskSeCd+"/crdn/crdn02/020/list.do");
$P.photoInspectionControl.urls.getInfo = "";
$P.sameVehicleMainControl.urls.load = wctx.url("/"+taskSeCd+"/crdn/crdn02/020/list.do");
$P.sameVehicleMainControl.urls.getInfo = "";
$P.sameVehicleSubControl.urls.load = wctx.url("/"+taskSeCd+"/crdn/crdn02/020/list.do");
$P.sameVehicleSubControl.urls.getInfo = "";
var clsForTask = taskSeCd.toLowerCase();
//업무별 조회조건

@ -48,11 +48,11 @@ $(document).ready(function(){
$P.formFields = new FimsFormFields("#frmEdit--${pageName}");
$P.crdnControl = new DatasetControl({
dataGetter : obj => obj.crdnInfo,
keymapper : info => info ? info.CRDN_ID : "",
urls : {
update : wctx.url("/PVS/crdn/crdn02/050/update.do")
},
keymapper : info => info ? info.CRDN_ID : "",
dataGetter : obj => obj.crdnInfo,
formats: {}
});

@ -140,13 +140,13 @@ $(document).ready(function(){
* DatasetControl
**************************************************************************/
$P.crdnControl = new DatasetControl({
dataGetter : obj => obj["List"], appendData:true,
keymapper : info => info ? info.CRDN_ID : "",
urls : {
load : wctx.url("/DPV/crdn/crdn03/030/list.do"),
getInfo : wctx.url("/DPV/sprt/sprt02/010/main.do"),
update: wctx.url("/DPV/crdn/crdn03/030/update.do")
},
dataGetter : obj => obj["List"], appendData:true,
keymapper : info => info ? info.CRDN_ID : "",
formats: {
CRDN_INPT_SE_CD : FIM003,
CRDN_YMD_TM : datetimeFormat,

@ -123,9 +123,11 @@ $(document).ready(function(){
* DatasetControl
**************************************************************************/
$P.crdnControl = new DatasetControl({
urls : { load : "" },
dataGetter : obj => obj["List"], appendData:true,
keymapper : info => info ? info.CRDN_ID : "",
urls : {
load : ""
},
formats: {
CRDN_INPT_SE_CD : FIM003,
CRDN_REG_SE_CD : FIM026,

@ -177,9 +177,9 @@ $(document).ready(function(){
* DatasetControl
**************************************************************************/
$P.parsedInfoControl = new DatasetControl({
urls : { },
keymapper : info => info ? info.FILE_NAME : "",
dataGetter : obj => obj["List"],
keymapper : info => info ? info.FILE_NAME : "",
urls : { },
formats: {
CRDN_YMD : dateFormat,
CRDN_TM : timeFormat,

@ -382,12 +382,11 @@ $(document).ready(function(){
$P.uploadSet = uploadSupport("#inputUploadSet--${pageName}");
$P.crdnControl = new DatasetControl({
dataGetter : obj => obj["List"], appendData : true,
keymapper : info => info ? info.CRDN_ID : "",
urls : {
load : "",
create : wctx.url("/${taskSeCd}/crdn/crdn05/030/create.do")
},
keymapper : info => info ? info.CRDN_ID : "",
dataGetter : obj => obj["List"], appendData : true,
formats: {
}

@ -287,12 +287,12 @@ $(document).ready(function(){
* DatasetControl
**************************************************************************/
$P.crdnControl = new DatasetControl({
dataGetter : obj => obj["List"], appendData:true,
keymapper : info => info ? info.CRDN_ID : "",
urls : {
load : "",
getInfo : ""
},
dataGetter : obj => obj["List"], appendData:true,
keymapper : info => info ? info.CRDN_ID : "",
formats: {
CRDN_INPT_SE_CD: FIM003,
CRDN_YMD_TM : datetimeFormat,

@ -258,13 +258,13 @@ $(document).ready(function(){
* DatasetControl
**************************************************************************/
$P.useTeamControl = new DatasetControl({
dataGetter : obj => obj["List"], appendData:false,
keymapper : info => info ? info.TEAM_ID : "",
urls : {
load : "",
remove : "",
save : ""
},
dataGetter : obj => obj["List"], appendData:false,
keymapper : info => info ? info.TEAM_ID : "",
formats: {
OGDP_SE_CD : FIM071,
CRDN_SE_CD : FIM002,
@ -275,9 +275,9 @@ $(document).ready(function(){
});
$P.delTeamControl = new DatasetControl({
urls : { },
dataGetter : obj => obj["List"], appendData: false,
keymapper : info => info ? info.TEAM_ID : "",
urls : { },
formats: {
OGDP_SE_CD : FIM071,
CRDN_SE_CD : FIM002,

@ -160,14 +160,14 @@ $(document).ready(function(){
* DatasetControl
**************************************************************************/
$P.exmptnVhclControl = new DatasetControl({
dataGetter : obj => obj["List"], appendData:true,
keymapper : info => info ? info.EXMPTN_VHCL_ID : "",
urls : {
load : wctx.url("/BPV/crdn/crdn08/010/list.do"),
remove : wctx.url("/BPV/crdn/crdn08/010/remove.do"),
newInfo : wctx.url("/BPV/crdn/crdn08/020/info.do"),
getInfo : wctx.url("/BPV/crdn/crdn08/020/info.do")
},
dataGetter : obj => obj["List"], appendData:true,
keymapper : info => info ? info.EXMPTN_VHCL_ID : "",
formats: {
EXMPTN_BGNG_YMD : dateFormat,
EXMPTN_END_YMD : dateFormat,

@ -95,13 +95,12 @@ $(document).ready(function(){
$P.formFields = new FimsFormFields("#frmEdit--${pageName}");
$P.exmptnVhclControl = new DatasetControl({
dataGetter : obj => obj.exmptnVhclInfo,
keymapper : info => info ? info.EXMPTN_VHCL_ID : "",
urls : {
load : "",
create : wctx.url("/BPV/crdn/crdn08/020/create.do"),
update : wctx.url("/BPV/crdn/crdn08/020/update.do")
},
keymapper : info => info ? info.EXMPTN_VHCL_ID : "",
dataGetter : obj => obj.exmptnVhclInfo,
formats : {
}

@ -78,9 +78,9 @@ $(document).ready(function(){
* DatasetControl
**************************************************************************/
$P.exmptnVhclControl = new DatasetControl({
urls : { },
dataGetter : obj => obj, appendData:false,
keymapper : info => info ? info.HSTRY_SN : "",
urls : { },
formats: {
EXMPTN_BGNG_YMD : dateFormat,
EXMPTN_END_YMD : dateFormat,

@ -233,9 +233,13 @@ $(document).ready(function(){
* DatasetControl
**************************************************************************/
$P.crdnControl = new DatasetControl({
urls : { load : "", getInfo : "", remove : "" },
dataGetter : obj => obj["List"], appendData:true,
keymapper : info => info ? info.CRDN_ID : "",
urls : {
load : "",
getInfo : "",
remove : ""
},
formats : {
CRDN_REG_SE_CD : FIM026,
CVLCPT_RCPT_YMD : dateFormat,

@ -422,15 +422,14 @@ $(document).ready(function(){
$P.formFields = new FimsFormFields("#frmEdit--${pageName}");
$P.crdnControl = new DatasetControl({
dataGetter:obj => obj.crdnInfo,
keymapper:info => info ? info.CRDN_ID : "",
urls : {
load : "",
getInfo : wctx.url("/${taskSeCd}/cvlc/cvlc01/020/info.do"),
update : wctx.url("/${taskSeCd}/cvlc/cvlc01/020/update.do"),
create : wctx.url("/${taskSeCd}/cvlc/cvlc01/020/create.do"),
remove : wctx.url("/${taskSeCd}/cvlc/cvlc01/020/remove.do")
},
keymapper:info => info ? info.CRDN_ID : "",
dataGetter:obj => obj.crdnInfo,
formats: {
}

@ -120,9 +120,11 @@ $(document).ready(function() {
$P.formFields = new FimsFormFields("#frmEdit--${pageName}");
$P.cvlcptControl = new DatasetControl({
urls : { load : "", getInfo : wctx.url("/"+$P.taskSeCd+"/cvlc/cvlc01/050/info.do") },
keymapper:info => info ? info.CRDN_ID : "",
dataGetter:obj => obj.cvlcptInfo,
keymapper:info => info ? info.CRDN_ID : "",
urls : {
getInfo : wctx.url("/"+$P.taskSeCd+"/cvlc/cvlc01/050/info.do")
},
formats: {
CVLCPT_RCPT_YMD : dateFormat,
CVLCPT_PRCS_PRNMNT_DT : dateFormat

@ -238,9 +238,13 @@ $(document).ready(function(){
* DatasetControl
**************************************************************************/
$P.crdnControl = new DatasetControl({
urls : { load : "", getInfo : "", update : "" },
dataGetter : obj => obj["List"], appendData:true,
keymapper : info => info ? info.CRDN_ID : "",
urls : {
load : "",
getInfo : "",
update : ""
},
formats : {
CRDN_REG_SE_CD : FIM026,
CVLCPT_RCPT_YMD : dateFormat,

@ -87,13 +87,12 @@ $(document).ready(function() {
$P.formFields = new FimsFormFields("#frmEdit--${pageName}");
$P.cvlcptControl = new DatasetControl({
dataGetter:obj => obj.cvlcptInfo,
keymapper:info => info ? info.CRDN_ID : "",
urls : {
load : "",
getInfo : wctx.url("/"+$P.taskSeCd+"/cvlc/cvlc02/060/info.do"),
update : wctx.url("/"+$P.taskSeCd+"/cvlc/cvlc02/060/update.do")
},
keymapper:info => info ? info.CRDN_ID : "",
dataGetter:obj => obj.cvlcptInfo,
formats: {
CVLCPT_RCPT_YMD : dateFormat,
CVLCPT_PRCS_PRNMNT_DT : dateFormat

@ -229,9 +229,13 @@ $(document).ready(function(){
* DatasetControl
**************************************************************************/
$P.crdnControl = new DatasetControl({
urls : { load : "", getInfo : "", remove : "" },
dataGetter : obj => obj["List"], appendData:true,
keymapper : info => info ? info.CRDN_ID : "",
urls : {
load : "",
getInfo : "",
remove : ""
},
formats : {
CRDN_REG_SE_CD : FIM026,
CVLCPT_RCPT_YMD : dateFormat,

@ -181,9 +181,13 @@ $(document).ready(function(){
* DatasetControl
**************************************************************************/
$P.dmndControl = new DatasetControl({
urls : { load : "", create : "", remove : "" },
dataGetter : obj => obj["List"], appendData:true,
keymapper : info => info ? info.INDIV_ID : "",
urls : {
load : "",
create : "",
remove : ""
},
formats : {
DMND_YMD : dateFormat,
RCPT_YMD : dateFormat,

@ -147,9 +147,9 @@ $(document).ready(function(){
**************************************************************************/
$P.warningWordsControl = new DatasetControl({
dataGetter : obj => obj["List"],
keymapper : info => info ? info.LEVY_EXCL_RSN_CD : "",
urls : {},
formats : {},
keymapper : info => info ? info.LEVY_EXCL_RSN_CD : ""
formats : {}
});
/**************************************************************************

@ -152,12 +152,12 @@ $(document).ready(function(){
* DatasetControl
**************************************************************************/
$P.deptControl = new DatasetControl({
dataGetter : obj => obj["List"], appendData:true,
keymapper : info => info ? info.DEPT_CD : "",
urls : {
load : wctx.url("/mngt/mngt04/010/list.do"),
getInfo : wctx.url("/mngt/mngt04/020/info.do")
},
dataGetter : obj => obj["List"], appendData:true,
keymapper : info => info ? info.DEPT_CD : "",
formats: {
REG_DT : datetimeFormat,
MDFCN_DT : datetimeFormat

@ -1,8 +1,6 @@
<%@ 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>
<c:set var="pageKorName" scope="request">통합조회</c:set>
<div class="content-wrapper">
<div class="container-xxl flex-grow-1 px-0">
<div class="card wrapper-list">
@ -54,15 +52,12 @@ $(document).ready(function() {
* DatasetControl
**************************************************************************/
$P.integrationSearchControl = new IntegrationSearchControl({
prefix : "integrationSearch", prefixName : "통합조회"
, infoSize : "lg"
, appendData : false
, keymapper : data => data ? data.CRDN_ID : ""
, dataGetter : obj => Array.isArray(obj) ? obj : []
, urls : {
dataGetter : obj => Array.isArray(obj) ? obj : [], appendData : false,
keymapper : data => data ? data.CRDN_ID : "",
urls : {
load : wctx.url("/sprt/sprt01/010/list.do") // 검색
}
, formats : {
},
formats : {
CRDN_YMD_TM : datetimeFormat
, REG_DT : datetimeFormat
, MDFCN_DT : datetimeFormat

@ -1,6 +1,6 @@
<%@ 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>
<c:set var="pageKorName" scope="request">통합조회 조회조건</c:set>
<span class="mb-1">
<!-- 상단 버튼 -->

@ -1,6 +1,6 @@
<%@ 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>
<c:set var="pageKorName" scope="request">통합조회 상단그리드</c:set>
<span class="my-1">
<!-- 건수 표시 -->
<div>

@ -1,6 +1,6 @@
<%@ 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>
<c:set var="pageKorName" scope="request">통합조회 하단그리드</c:set>
<span class="my-1">
<!-- 건수 표시 -->
<div>

@ -1,7 +1,7 @@
<%@ 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>
<c:set var="pageKorName" scope="request">통합조회 그리드 템플릿(제목)</c:set>
<template id="cols--${pageName}">

@ -1,7 +1,7 @@
<%@ 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>
<c:set var="pageKorName" scope="request">통합조회 그리드 템플릿(내용)</c:set>
<template id="row--${pageName}">
<tr data-key="{CRDN_ID}">

@ -1,5 +1,5 @@
<%@ 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>
<c:set var="pageKorName" scope="request">특기사항관리</c:set>

@ -1,7 +1,7 @@
<%@ 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>
<c:set var="pageKorName" scope="request">특기사항입력-일괄</c:set>
<div class="d-flex flex-row justify-content-evenly">
<div class="card p-3">

@ -1,7 +1,7 @@
<%@ 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>
<c:set var="pageKorName" scope="request">출력대상-단속내역서/단속확인서</c:set>
<div class="d-flex flex-row justify-content-evenly">
<div class="card p-3">

@ -1,7 +1,7 @@
<%@ 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>
<c:set var="pageKorName" scope="request">출력대상-교부청구서,채권신고서</c:set>
<div class="d-flex flex-row justify-content-evenly">
<div class="card p-3">

@ -1,7 +1,7 @@
<%@ 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>
<c:set var="pageKorName" scope="request">출력대상-사전통지서</c:set>
<div class="d-flex flex-row justify-content-evenly">
<div class="card p-3">

@ -1,7 +1,7 @@
<%@ 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>
<c:set var="pageKorName" scope="request">출력대상-고지서</c:set>
<div class="d-flex flex-row justify-content-evenly">
<div class="card p-3">

@ -1,7 +1,7 @@
<%@ 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>
<c:set var="pageKorName" scope="request">출력설정</c:set>
<div class="d-flex flex-row justify-content-evenly">
<div class="card p-3">

@ -1,7 +1,6 @@
<%@ 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>
<c:set var="pageKorName" scope="request">통계 공통</c:set>
<div class="content-wrapper">
<div class="container-xxl flex-grow-1 px-0">
@ -190,10 +189,9 @@ $(document).ready(function(){
* datasetControl
**************************************************************************/
$P.detailGridControl = new DatasetControl({
urls : { },
dataGetter : obj => Array.isArray(obj) ? obj : [],
appendData:false,
dataGetter : obj => Array.isArray(obj) ? obj : [], appendData:false,
keymapper : info => info ? info.DATA_ID : "",
urls : { },
formats : {
CVLCPT_PRCS_PRNMNT_DT : dateFormat,
CVLCPT_RCPT_YMD : dateFormat,

@ -1,7 +1,7 @@
<%@ 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>
<c:set var="pageKorName" scope="request">단속 통계</c:set>
<jsp:include page="/WEB-INF/jsp/fims/stat/stat-main.jsp" />
<input type="hidden" id="defaultStatDomain--${pageName}" value="sprt" />

@ -1,7 +1,7 @@
<%@ 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>
<c:set var="pageKorName" scope="request">단속 통계</c:set>
<jsp:include page="/WEB-INF/jsp/fims/stat/stat-main.jsp" />
<input type="hidden" id="defaultStatDomain--${pageName}" value="crdn" />

@ -1,7 +1,7 @@
<%@ 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>
<c:set var="pageKorName" scope="request">부과 통계</c:set>
<jsp:include page="/WEB-INF/jsp/fims/stat/stat-main.jsp" />
<input type="hidden" id="defaultStatDomain--${pageName}" value="levy" />

@ -1,7 +1,7 @@
<%@ 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>
<c:set var="pageKorName" scope="request">발송 통계</c:set>
<jsp:include page="/WEB-INF/jsp/fims/stat/stat-main.jsp" />
<input type="hidden" id="defaultStatDomain--${pageName}" value="sndb" />

@ -1,7 +1,7 @@
<%@ 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>
<c:set var="pageKorName" scope="request">부과 통계</c:set>
<jsp:include page="/WEB-INF/jsp/fims/stat/stat-main.jsp" />
<input type="hidden" id="defaultStatDomain--${pageName}" value="rcvm" />

Loading…
Cancel
Save