외사방첩관리 권한 점검 및 오류수정.
parent
a85d179341
commit
5ea64b14ac
|
|
@ -2,10 +2,7 @@ package com.dbnt.faisp.main.counterIntelligence;
|
|||
|
||||
import com.dbnt.faisp.main.authMgt.service.AuthMgtService;
|
||||
import com.dbnt.faisp.main.codeMgt.service.CodeMgtService;
|
||||
import com.dbnt.faisp.main.counterIntelligence.model.CiWorkStatistics;
|
||||
import com.dbnt.faisp.main.counterIntelligence.model.CiaFile;
|
||||
import com.dbnt.faisp.main.counterIntelligence.model.CounterIntelligenceActivity;
|
||||
import com.dbnt.faisp.main.counterIntelligence.model.CounterIntelligenceWork;
|
||||
import com.dbnt.faisp.main.counterIntelligence.model.*;
|
||||
import com.dbnt.faisp.main.counterIntelligence.service.CounterIntelligenceService;
|
||||
import com.dbnt.faisp.main.equip.model.Equip;
|
||||
import com.dbnt.faisp.main.equip.model.EquipFile;
|
||||
|
|
@ -106,12 +103,20 @@ public class CounterIntelligenceController {
|
|||
}
|
||||
}
|
||||
@GetMapping("/CiWorkStatistics")
|
||||
public ModelAndView ciWorkStatistics(CiWorkStatistics ciWorkStatistics){
|
||||
public ModelAndView ciWorkStatistics(@AuthenticationPrincipal UserInfo loginUser, CiWorkStatistics ciWorkStatistics){
|
||||
if(ciWorkStatistics.getYear()==null){
|
||||
ciWorkStatistics.setYear(LocalDateTime.now().getYear());
|
||||
}
|
||||
ModelAndView mav = new ModelAndView("counterIntelligence/ciWork/ciWorkStatistics");
|
||||
mav.addObject("yearList", ciService.selectCiWorkYearList());
|
||||
|
||||
String accessAuth = authMgtService.selectAccessConfigList
|
||||
(loginUser.getUserSeq(), "/counterIntelligence/ciWorkList").get(0).getAccessAuth();
|
||||
if(accessAuth.equals("ACC003")) {
|
||||
ciWorkStatistics.setDownOrganCdList(loginUser.getDownOrganCdList());
|
||||
}else{
|
||||
ciWorkStatistics.setOgCd(loginUser.getOgCd());
|
||||
}
|
||||
mav.addObject("ciWorkStatisticsList", ciService.selectCiWorkStatisticsList(ciWorkStatistics));
|
||||
mav.addObject("searchParams", ciWorkStatistics);
|
||||
return mav;
|
||||
|
|
@ -141,8 +146,9 @@ public class CounterIntelligenceController {
|
|||
ModelAndView mav = new ModelAndView("counterIntelligence/ciaSaftyDemandEditModal");
|
||||
if(cia.getCiKey() != null) {
|
||||
cia = ciService.selectSaftyDemandInfo(cia);
|
||||
}else{
|
||||
cia.setSaftyDemandInfo(new SaftyDemandInfo());
|
||||
}
|
||||
|
||||
mav.addObject("cia", cia);
|
||||
return mav;
|
||||
}
|
||||
|
|
@ -215,6 +221,8 @@ public class CounterIntelligenceController {
|
|||
ModelAndView mav = new ModelAndView("counterIntelligence/ciaManageCompanyEditModal");
|
||||
if(cia.getCiKey() != null) {
|
||||
cia = ciService.selectManageCompanyInfo(cia);
|
||||
}else{
|
||||
cia.setManageCompanyInfo(new ManageCompanyInfo());
|
||||
}
|
||||
|
||||
mav.addObject("mgtOrganList", loginUser.getDownOrganCdList());
|
||||
|
|
@ -258,6 +266,8 @@ public class CounterIntelligenceController {
|
|||
ModelAndView mav = new ModelAndView("counterIntelligence/ciaForeignerEditModal");
|
||||
if(cia.getCiKey() != null) {
|
||||
cia = ciService.selectForeignerInfo(cia);
|
||||
}else{
|
||||
cia.setForeignerInfo(new ForeignerInfo());
|
||||
}
|
||||
|
||||
mav.addObject("mgtOrganList", loginUser.getDownOrganCdList());
|
||||
|
|
@ -301,6 +311,8 @@ public class CounterIntelligenceController {
|
|||
ModelAndView mav = new ModelAndView("counterIntelligence/ciaEduEditModal");
|
||||
if(cia.getCiKey() != null) {
|
||||
cia = ciService.selectEduInfo(cia);
|
||||
}else{
|
||||
cia.setEduInfo(new EduInfo());
|
||||
}
|
||||
|
||||
mav.addObject("mgtOrganList", loginUser.getDownOrganCdList());
|
||||
|
|
|
|||
|
|
@ -31,8 +31,9 @@ public class ActivityCaseController {
|
|||
|
||||
mav.addObject("ogCd", loginUser.getOgCd());
|
||||
if(accessAuth.equals("ACC003")){
|
||||
activityCase.setWrtOrgan(loginUser.getOgCd());
|
||||
activityCase.setDownOrganCdList(loginUser.getDownOrganCdList());
|
||||
}else{
|
||||
activityCase.setWrtOrgan(loginUser.getOgCd());
|
||||
}
|
||||
activityCase.setWrtUserSeq(loginUser.getUserSeq());
|
||||
activityCase.setQueryInfo();
|
||||
|
|
|
|||
|
|
@ -4,6 +4,8 @@ import lombok.Getter;
|
|||
import lombok.NoArgsConstructor;
|
||||
import lombok.Setter;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@Getter
|
||||
@Setter
|
||||
@NoArgsConstructor
|
||||
|
|
@ -17,4 +19,6 @@ public class CiWorkStatistics {
|
|||
private Integer thisYearWorkEndCnt=0;
|
||||
|
||||
private Integer year;
|
||||
private String ogCd;
|
||||
private List<String> downOrganCdList;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -6,14 +6,6 @@
|
|||
<mapper namespace="com.dbnt.faisp.main.counterIntelligence.activityCase.mapper.ActivityCaseMapper">
|
||||
<sql id="selectActivityCaseListWhere">
|
||||
<where>
|
||||
<if test='wrtUserSeq != null and wrtUserSeq != 0'>
|
||||
and (a.wrt_user_seq = #{wrtUserSeq}
|
||||
or a.receipt_key in (select a.receipt_key
|
||||
from activity_case_info a
|
||||
inner join activity_case_apprv b
|
||||
on a.case_key = b.case_key
|
||||
where b.user_seq = #{wrtUserSeq}))
|
||||
</if>
|
||||
<if test='receiptKey != null and receiptKey != ""'>
|
||||
and a.receipt_key = #{receiptKey}
|
||||
</if>
|
||||
|
|
@ -63,6 +55,15 @@
|
|||
</if>
|
||||
<if test='wrtOrgan != null and wrtOrgan != ""'>
|
||||
and a.wrt_organ = #{wrtOrgan}
|
||||
|
||||
<if test='wrtUserSeq != null and wrtUserSeq != 0'>
|
||||
and (a.wrt_user_seq = #{wrtUserSeq}
|
||||
or a.receipt_key in (select a.receipt_key
|
||||
from activity_case_info a
|
||||
inner join activity_case_apprv b
|
||||
on a.case_key = b.case_key
|
||||
where b.user_seq = #{wrtUserSeq}))
|
||||
</if>
|
||||
</if>
|
||||
<if test="downOrganCdList != null">
|
||||
and a.wrt_organ in
|
||||
|
|
|
|||
|
|
@ -123,6 +123,15 @@
|
|||
count(case when work_start_date >= (#{year}||'-01-01')::date and work_start_date <= (#{year}+1||'-01-01')::date and work_end_date >= (#{year}||'-01-01')::date and work_end_date < (#{year}+1||'-01-01')::date then 1 end) as thisYearWorkEndCnt
|
||||
from counter_intelligence_work a
|
||||
WHERE a.status = 'DST007'
|
||||
<if test='ogCd != null and ogCd != ""'>
|
||||
and a.wrt_organ = #{ogCd}
|
||||
</if>
|
||||
<if test="downOrganCdList != null">
|
||||
and a.wrt_organ in
|
||||
<foreach collection="downOrganCdList" item="organCd" separator="," open="(" close=")">
|
||||
#{organCd}
|
||||
</foreach>
|
||||
</if>
|
||||
group by work_rating
|
||||
order by work_rating
|
||||
</select>
|
||||
|
|
@ -275,8 +284,7 @@
|
|||
cia.wrt_user_seq,
|
||||
cia.wrt_user_nm,
|
||||
cia.wrt_dt
|
||||
from counter_intelligence_activity cia,
|
||||
manage_company_info mci
|
||||
from counter_intelligence_activity cia, manage_company_info mci
|
||||
where cia.ci_key = mci.ci_key
|
||||
and cia.content_status != 'DST008'
|
||||
and ((cia.wrt_user_seq = #{wrtUserSeq} and cia.content_status = 'DST001') or cia.content_status = 'DST007')
|
||||
|
|
@ -318,8 +326,7 @@
|
|||
cia.wrt_user_seq,
|
||||
cia.wrt_user_nm,
|
||||
cia.wrt_dt
|
||||
from counter_intelligence_activity cia,
|
||||
foreigner_info fi
|
||||
from counter_intelligence_activity cia, foreigner_info fi
|
||||
where cia.ci_key = fi.ci_key
|
||||
and cia.content_status != 'DST008'
|
||||
and ((cia.wrt_user_seq = #{wrtUserSeq} and cia.content_status = 'DST001') or cia.content_status = 'DST007')
|
||||
|
|
@ -373,8 +380,7 @@
|
|||
cia.wrt_user_seq,
|
||||
cia.wrt_user_nm,
|
||||
cia.wrt_dt
|
||||
from counter_intelligence_activity cia,
|
||||
foreigner_info fi
|
||||
from counter_intelligence_activity cia, foreigner_info fi
|
||||
where cia.ci_key = fi.ci_key
|
||||
and cia.content_status != 'DST008'
|
||||
and ((cia.wrt_user_seq = #{wrtUserSeq} and cia.content_status = 'DST001') or cia.content_status = 'DST007')
|
||||
|
|
@ -423,8 +429,7 @@
|
|||
cia.wrt_user_seq,
|
||||
cia.wrt_user_nm,
|
||||
cia.wrt_dt
|
||||
from counter_intelligence_activity cia,
|
||||
edu_info ei
|
||||
from counter_intelligence_activity cia, edu_info ei
|
||||
where cia.ci_key = ei.ci_key
|
||||
and cia.content_status != 'DST008'
|
||||
and ((cia.wrt_user_seq = #{wrtUserSeq} and cia.content_status = 'DST001') or cia.content_status = 'DST007')
|
||||
|
|
@ -472,8 +477,7 @@
|
|||
cia.wrt_user_seq,
|
||||
cia.wrt_user_nm,
|
||||
cia.wrt_dt
|
||||
from counter_intelligence_activity cia,
|
||||
edu_info ei
|
||||
from counter_intelligence_activity cia, edu_info ei
|
||||
where cia.ci_key = ei.ci_key
|
||||
and cia.content_status != 'DST008'
|
||||
and ((cia.wrt_user_seq = #{wrtUserSeq} and cia.content_status = 'DST001') or cia.content_status = 'DST007')
|
||||
|
|
|
|||
|
|
@ -24,6 +24,7 @@ function getCiaForeignerEditModal(ciKey){
|
|||
autoclose: true
|
||||
});
|
||||
setUploadDiv();
|
||||
setEditor("editor", 450);
|
||||
$("#ciaForeignerEditModal").modal('show');
|
||||
},
|
||||
error:function(e){
|
||||
|
|
@ -54,6 +55,7 @@ function save(contentStatus){
|
|||
formData.append('fileSeq', $(el).attr("data-fileseq"));
|
||||
})
|
||||
formData.append('contentStatus', contentStatus);
|
||||
formData.append("monitoringInfo", CrossEditor.GetBodyValue());
|
||||
$.ajax({
|
||||
type : 'POST',
|
||||
data : formData,
|
||||
|
|
|
|||
|
|
@ -16,48 +16,8 @@
|
|||
<input type="hidden" name="wrtUserGrd" th:value="${cia.wrtUserGrd}">
|
||||
<input type="hidden" name="wrtUserNm" th:value="${cia.wrtUserNm}">
|
||||
<input type="hidden" name="wrtDt" th:value="${#temporals.format(cia.wrtDt, 'yyyy-MM-dd HH:mm')}">
|
||||
<th:block th:if="${cia.ciKey eq null}">
|
||||
<div class="row mb-1">
|
||||
<label for="wrtNm" class="col-sm-1 col-form-label col-form-label-sm text-center">시행관서</label>
|
||||
<div class="col-sm-2">
|
||||
<select class="form-select" id="mgtOrgan" name="mgtOrgan">
|
||||
<option value="">선택</option>
|
||||
<th:block th:each="commonCode:${session.commonCode.get('OG')}">
|
||||
<th:block th:if="${#lists.contains(mgtOrganList, commonCode.itemCd)}">
|
||||
<option th:value="${commonCode.itemCd}" th:text="${commonCode.itemValue}"></option>
|
||||
</th:block>
|
||||
</th:block>
|
||||
</select>
|
||||
</div>
|
||||
<label for="wrtDt" class="col-sm-1 col-form-label col-form-label-sm text-center">시행일</label>
|
||||
<div class="col-sm-2">
|
||||
<input type="text" class="form-control form-control-sm" id="eduDate" name="eduDate" readonly>
|
||||
</div>
|
||||
<label for="wrtDt" class="col-sm-1 col-form-label col-form-label-sm text-center">작성일</label>
|
||||
<div class="col-sm-2">
|
||||
<input type="text" class="form-control form-control-sm" placeholder="작성일자동입력" readonly>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row mb-1">
|
||||
<label for="wrtNm" class="col-sm-1 col-form-label col-form-label-sm text-center">교육방식</label>
|
||||
<div class="col-sm-2">
|
||||
<input type="text" class="form-control form-control-sm" id="eduType" name="eduType">
|
||||
</div>
|
||||
<label for="wrtDt" class="col-sm-1 col-form-label col-form-label-sm text-center">교육인원</label>
|
||||
<div class="col-sm-2">
|
||||
<input type="number" class="form-control form-control-sm" id="peopleCnt" name="peopleCnt">
|
||||
</div>
|
||||
</div>
|
||||
<div class="row mb-1">
|
||||
<label for="contentInfoDiv" class="col-sm-1 col-form-label col-form-label-sm text-center">내용/<br>비고</label>
|
||||
<div class="col-sm-11" id="contentInfoDiv">
|
||||
<textarea class="form-control form-control-sm" rows="5" cols="30" name="description"></textarea>
|
||||
</div>
|
||||
</div>
|
||||
</th:block>
|
||||
<th:block th:unless="${cia.ciKey eq null}">
|
||||
<div class="row mb-1">
|
||||
<label for="wrtNm" class="col-sm-1 col-form-label col-form-label-sm text-center">시행관서</label>
|
||||
<label class="col-sm-1 col-form-label col-form-label-sm text-center">시행관서</label>
|
||||
<div class="col-sm-2">
|
||||
<select class="form-select" id="mgtOrgan" name="mgtOrgan">
|
||||
<option value="">선택</option>
|
||||
|
|
@ -68,21 +28,21 @@
|
|||
</th:block>
|
||||
</select>
|
||||
</div>
|
||||
<label for="wrtDt" class="col-sm-1 col-form-label col-form-label-sm text-center">시행일</label>
|
||||
<label class="col-sm-1 col-form-label col-form-label-sm text-center">시행일</label>
|
||||
<div class="col-sm-2">
|
||||
<input type="text" class="form-control form-control-sm" id="eduDate" name="eduDate" th:value="${cia.eduInfo.eduDate}" readonly>
|
||||
</div>
|
||||
<label for="wrtDt" class="col-sm-1 col-form-label col-form-label-sm text-center">작성일</label>
|
||||
<label class="col-sm-1 col-form-label col-form-label-sm text-center">작성일</label>
|
||||
<div class="col-sm-2">
|
||||
<input type="text" class="form-control form-control-sm" placeholder="작성일자동입력" readonly>
|
||||
<input type="text" class="form-control form-control-sm" placeholder="작성일자동입력" readonly th:value="${#temporals.format(cia.wrtDt, 'yyyy-MM-dd HH:mm')}">
|
||||
</div>
|
||||
</div>
|
||||
<div class="row mb-1">
|
||||
<label for="wrtNm" class="col-sm-1 col-form-label col-form-label-sm text-center">교육방식</label>
|
||||
<label class="col-sm-1 col-form-label col-form-label-sm text-center">교육방식</label>
|
||||
<div class="col-sm-2">
|
||||
<input type="text" class="form-control form-control-sm" id="eduType" name="eduType" th:value="${cia.eduInfo.eduType}">
|
||||
</div>
|
||||
<label for="wrtDt" class="col-sm-1 col-form-label col-form-label-sm text-center">교육인원</label>
|
||||
<label class="col-sm-1 col-form-label col-form-label-sm text-center">교육인원</label>
|
||||
<div class="col-sm-2">
|
||||
<input type="number" class="form-control form-control-sm" id="peopleCnt" name="peopleCnt" th:value="${cia.eduInfo.peopleCnt}">
|
||||
</div>
|
||||
|
|
@ -93,7 +53,6 @@
|
|||
<textarea class="form-control form-control-sm" rows="5" cols="30" name="description" th:utext="${cia.eduInfo.description}"></textarea>
|
||||
</div>
|
||||
</div>
|
||||
</th:block>
|
||||
<div class="row mb-1">
|
||||
<label for="fileInputer" class="col-sm-1 col-form-label col-form-label-sm text-center">첨부파일</label>
|
||||
<div class="col-sm-11" style="min-height: 70px;">
|
||||
|
|
@ -114,14 +73,14 @@
|
|||
</form>
|
||||
</div>
|
||||
<div class="modal-footer justify-content-between bg-light">
|
||||
<div class="col-auto">
|
||||
<!--
|
||||
<div class="col-auto">
|
||||
<!--
|
||||
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">닫기</button>
|
||||
-->
|
||||
</div>
|
||||
<div class="col-auto">
|
||||
-->
|
||||
</div>
|
||||
<div class="col-auto">
|
||||
<button type="button" class="btn btn-warning" id="saveTempBtn">임시저장</button>
|
||||
<button type="button" class="btn btn-primary" id="saveBtn">저장</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</html>
|
||||
|
|
@ -83,18 +83,14 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="modal-footer justify-content-between bg-light">
|
||||
<div class="col-auto">
|
||||
<!--
|
||||
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">닫기</button>
|
||||
-->
|
||||
<th:block th:if="${accessAuth eq 'ACC003'} or ${viewUserSeq eq cia.wrtUserSeq}">
|
||||
<th:block th:if="${accessAuth eq 'ACC003'} or ${viewUserSeq eq cia.wrtUserSeq}">
|
||||
<div class="modal-footer justify-content-between bg-light">
|
||||
<div class="col-auto">
|
||||
<!--<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">닫기</button>-->
|
||||
<button type="button" class="btn btn-danger" id="deleteBtn" th:data-cikey="${cia.ciKey}">삭제</button>
|
||||
</th:block>
|
||||
</div>
|
||||
<div class="col-auto">
|
||||
<th:block th:if="${viewUserSeq eq cia.wrtUserSeq}">
|
||||
</div>
|
||||
<div class="col-auto">
|
||||
<button type="button" class="btn btn-warning" id="editBtn" th:data-cikey="${cia.ciKey}">수정</button>
|
||||
</th:block>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</th:block>
|
||||
|
|
@ -16,62 +16,8 @@
|
|||
<input type="hidden" name="wrtUserGrd" th:value="${cia.wrtUserGrd}">
|
||||
<input type="hidden" name="wrtUserNm" th:value="${cia.wrtUserNm}">
|
||||
<input type="hidden" name="wrtDt" th:value="${#temporals.format(cia.wrtDt, 'yyyy-MM-dd HH:mm')}">
|
||||
<th:block th:if="${cia.ciKey eq null}">
|
||||
<div class="row mb-1">
|
||||
<label for="wrtNm" class="col-sm-1 col-form-label col-form-label-sm text-center">관서</label>
|
||||
<div class="col-sm-2">
|
||||
<select class="form-select" id="mgtOrgan" name="mgtOrgan">
|
||||
<option value="">선택</option>
|
||||
<th:block th:each="commonCode:${session.commonCode.get('OG')}">
|
||||
<th:block th:if="${#lists.contains(mgtOrganList, commonCode.itemCd)}">
|
||||
<option th:value="${commonCode.itemCd}" th:text="${commonCode.itemValue}"></option>
|
||||
</th:block>
|
||||
</th:block>
|
||||
</select>
|
||||
</div>
|
||||
<label for="wrtDt" class="col-sm-1 col-form-label col-form-label-sm text-center">선정일</label>
|
||||
<div class="col-sm-2">
|
||||
<input type="text" class="form-control form-control-sm" id="fixDate" name="fixDate" readonly>
|
||||
</div>
|
||||
<label for="wrtDt" class="col-sm-1 col-form-label col-form-label-sm text-center">담당관</label>
|
||||
<div class="col-sm-2">
|
||||
<input type="text" class="form-control form-control-sm" id="manager" name="manager">
|
||||
</div>
|
||||
<label for="wrtDt" class="col-sm-1 col-form-label col-form-label-sm text-center">작성일</label>
|
||||
<div class="col-sm-2">
|
||||
<input type="text" class="form-control form-control-sm" placeholder="작성일자동입력" readonly>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row mb-1">
|
||||
<label for="wrtNm" class="col-sm-1 col-form-label col-form-label-sm text-center">소재지</label>
|
||||
<div class="col-sm-2">
|
||||
<input type="text" class="form-control form-control-sm" id="commuLocation" name="commuLocation">
|
||||
</div>
|
||||
<label for="wrtDt" class="col-sm-1 col-form-label col-form-label-sm text-center">국적</label>
|
||||
<div class="col-sm-2">
|
||||
<input type="text" class="form-control form-control-sm" id="commuNational" name="commuNational">
|
||||
</div>
|
||||
<label for="wrtDt" class="col-sm-1 col-form-label col-form-label-sm text-center">주소지</label>
|
||||
<div class="col-sm-5">
|
||||
<input type="text" class="form-control form-control-sm" id="commuAddress" name="commuAddress">
|
||||
</div>
|
||||
</div>
|
||||
<div class="row mb-1">
|
||||
<label for="contentInfoDiv" class="col-sm-1 col-form-label col-form-label-sm text-center">선정사유</label>
|
||||
<div class="col-sm-11" id="contentInfoDiv">
|
||||
<textarea class="form-control form-control-sm" rows="5" cols="30" name="selectReason"></textarea>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row mb-1">
|
||||
<label for="content" class="col-sm-1 col-form-label col-form-label-sm text-center">모니터링 사항</label>
|
||||
<div class="col-sm-11">
|
||||
<textarea class="form-control form-control-sm" rows="5" cols="30" name="monitoringInfo"></textarea>
|
||||
</div>
|
||||
</div>
|
||||
</th:block>
|
||||
<th:block th:unless="${cia.ciKey eq null}">
|
||||
<div class="row mb-1">
|
||||
<label for="wrtNm" class="col-sm-1 col-form-label col-form-label-sm text-center">관서</label>
|
||||
<label class="col-sm-1 col-form-label col-form-label-sm text-center">관서</label>
|
||||
<div class="col-sm-2">
|
||||
<select class="form-select" id="mgtOrgan" name="mgtOrgan">
|
||||
<option value="">선택</option>
|
||||
|
|
@ -82,29 +28,29 @@
|
|||
</th:block>
|
||||
</select>
|
||||
</div>
|
||||
<label for="wrtDt" class="col-sm-1 col-form-label col-form-label-sm text-center">선정일</label>
|
||||
<label class="col-sm-1 col-form-label col-form-label-sm text-center">선정일</label>
|
||||
<div class="col-sm-2">
|
||||
<input type="text" class="form-control form-control-sm" id="fixDate" name="fixDate" th:value="${cia.foreignerInfo.fixDate}" readonly>
|
||||
</div>
|
||||
<label for="wrtDt" class="col-sm-1 col-form-label col-form-label-sm text-center">담당관</label>
|
||||
<label class="col-sm-1 col-form-label col-form-label-sm text-center">담당관</label>
|
||||
<div class="col-sm-2">
|
||||
<input type="text" class="form-control form-control-sm" id="manager" name="manager" th:value="${cia.foreignerInfo.manager}">
|
||||
</div>
|
||||
<label for="wrtDt" class="col-sm-1 col-form-label col-form-label-sm text-center">작성일</label>
|
||||
<label class="col-sm-1 col-form-label col-form-label-sm text-center">작성일</label>
|
||||
<div class="col-sm-2">
|
||||
<input type="text" class="form-control form-control-sm" placeholder="작성일자동입력" readonly>
|
||||
<input type="text" class="form-control form-control-sm" placeholder="작성일자동입력" readonly th:value="${#temporals.format(cia.wrtDt, 'yyyy-MM-dd HH:mm')}">
|
||||
</div>
|
||||
</div>
|
||||
<div class="row mb-1">
|
||||
<label for="wrtNm" class="col-sm-1 col-form-label col-form-label-sm text-center">소재지</label>
|
||||
<label class="col-sm-1 col-form-label col-form-label-sm text-center">소재지</label>
|
||||
<div class="col-sm-2">
|
||||
<input type="text" class="form-control form-control-sm" id="commuLocation" name="commuLocation" th:value="${cia.foreignerInfo.commuLocation}">
|
||||
</div>
|
||||
<label for="wrtDt" class="col-sm-1 col-form-label col-form-label-sm text-center">국적</label>
|
||||
<label class="col-sm-1 col-form-label col-form-label-sm text-center">국적</label>
|
||||
<div class="col-sm-2">
|
||||
<input type="text" class="form-control form-control-sm" id="commuNational" name="commuNational" th:value="${cia.foreignerInfo.commuNational}">
|
||||
</div>
|
||||
<label for="wrtDt" class="col-sm-1 col-form-label col-form-label-sm text-center">주소지</label>
|
||||
<label class="col-sm-1 col-form-label col-form-label-sm text-center">주소지</label>
|
||||
<div class="col-sm-5">
|
||||
<input type="text" class="form-control form-control-sm" id="commuAddress" name="commuAddress" th:value="${cia.foreignerInfo.commuAddress}">
|
||||
</div>
|
||||
|
|
@ -116,13 +62,12 @@
|
|||
</div>
|
||||
</div>
|
||||
<div class="row mb-1">
|
||||
<label for="content" class="col-sm-1 col-form-label col-form-label-sm text-center">모니터링 사항</label>
|
||||
<label class="col-sm-1 col-form-label col-form-label-sm text-center">모니터링 사항</label>
|
||||
<div class="col-sm-11">
|
||||
<div id="editor"></div>
|
||||
<textarea class="d-none" id="monitoringInfo" th:utext="${cia.foreignerInfo.monitoringInfo}"></textarea>
|
||||
<textarea class="d-none" id="content" th:utext="${cia.foreignerInfo.monitoringInfo}"></textarea>
|
||||
</div>
|
||||
</div>
|
||||
</th:block>
|
||||
<div class="row mb-1">
|
||||
<label for="fileInputer" class="col-sm-1 col-form-label col-form-label-sm text-center">첨부파일</label>
|
||||
<div class="col-sm-11" style="min-height: 70px;">
|
||||
|
|
@ -143,14 +88,14 @@
|
|||
</form>
|
||||
</div>
|
||||
<div class="modal-footer justify-content-between bg-light">
|
||||
<div class="col-auto">
|
||||
<!--
|
||||
<div class="col-auto">
|
||||
<!--
|
||||
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">닫기</button>
|
||||
-->
|
||||
</div>
|
||||
<div class="col-auto">
|
||||
-->
|
||||
</div>
|
||||
<div class="col-auto">
|
||||
<button type="button" class="btn btn-warning" id="saveTempBtn">임시저장</button>
|
||||
<button type="button" class="btn btn-primary" id="saveBtn">저장</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</html>
|
||||
|
|
@ -100,16 +100,14 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="modal-footer justify-content-between bg-light">
|
||||
<div class="col-auto">
|
||||
<th:block th:if="${accessAuth eq 'ACC003'} or ${viewUserSeq eq cia.wrtUserSeq}">
|
||||
<div class="modal-footer justify-content-between bg-light">
|
||||
<div class="col-auto">
|
||||
<!--<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">닫기</button>-->
|
||||
<th:block th:if="${accessAuth eq 'ACC003'} or ${viewUserSeq eq cia.wrtUserSeq}">
|
||||
<button type="button" class="btn btn-danger" id="deleteBtn" th:data-cikey="${cia.ciKey}">삭제</button>
|
||||
</th:block>
|
||||
</div>
|
||||
<div class="col-auto">
|
||||
<th:block th:if="${viewUserSeq eq cia.wrtUserSeq}">
|
||||
</div>
|
||||
<div class="col-auto">
|
||||
<button type="button" class="btn btn-warning" id="editBtn" th:data-cikey="${cia.ciKey}">수정</button>
|
||||
</th:block>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</th:block>
|
||||
|
|
@ -17,44 +17,43 @@
|
|||
<input type="hidden" name="wrtUserNm" th:value="${cia.wrtUserNm}">
|
||||
<input type="hidden" name="wrtDt" th:value="${#temporals.format(cia.wrtDt, 'yyyy-MM-dd HH:mm')}">
|
||||
<div class="row mb-1">
|
||||
<label for="wrtNm" class="col-sm-1 col-form-label col-form-label-sm text-center">관서</label>
|
||||
<label class="col-sm-1 col-form-label col-form-label-sm text-center">관서</label>
|
||||
<div class="col-sm-2">
|
||||
<select class="form-select" id="mgtOrgan" name="mgtOrgan">
|
||||
<option value="">선택</option>
|
||||
<th:block th:each="commonCode:${session.commonCode.get('OG')}">
|
||||
<th:block th:if="${#lists.contains(mgtOrganList, commonCode.itemCd)}">
|
||||
<option th:value="${commonCode.itemCd}" th:text="${commonCode.itemValue}" th:if="${cia.ciKey eq null}"></option>
|
||||
<option th:value="${commonCode.itemCd}" th:text="${commonCode.itemValue}" th:unless="${cia.ciKey eq null}" th:selected="${commonCode.itemCd eq cia.manageCompanyInfo.mgtOrgan}"></option>
|
||||
<option th:value="${commonCode.itemCd}" th:text="${commonCode.itemValue}" th:selected="${commonCode.itemCd eq cia.manageCompanyInfo.mgtOrgan}"></option>
|
||||
</th:block>
|
||||
</th:block>
|
||||
</select>
|
||||
</div>
|
||||
<label for="wrtDt" class="col-sm-1 col-form-label col-form-label-sm text-center">작성일</label>
|
||||
<label class="col-sm-1 col-form-label col-form-label-sm text-center">작성일</label>
|
||||
<div class="col-sm-2">
|
||||
<input type="text" class="form-control form-control-sm" placeholder="작성일자동입력" readonly>
|
||||
<input type="text" class="form-control form-control-sm" placeholder="작성일자동입력" readonly th:value="${#temporals.format(cia.wrtDt, 'yyyy-MM-dd HH:mm')}">
|
||||
</div>
|
||||
</div>
|
||||
<th:block th:if="${cia.ciKey eq null}">
|
||||
<div class="row mb-1">
|
||||
<label for="wrtNm" class="col-sm-1 col-form-label col-form-label-sm text-center">업체명</label>
|
||||
<label class="col-sm-1 col-form-label col-form-label-sm text-center">업체명</label>
|
||||
<div class="col-sm-2">
|
||||
<input type="text" class="form-control form-control-sm" id="companyNm" name="companyNm">
|
||||
</div>
|
||||
<label for="wrtDt" class="col-sm-1 col-form-label col-form-label-sm text-center">소재지</label>
|
||||
<label class="col-sm-1 col-form-label col-form-label-sm text-center">소재지</label>
|
||||
<div class="col-sm-5">
|
||||
<input type="text" class="form-control form-control-sm" id="companyLocation" name="companyLocation">
|
||||
</div>
|
||||
</div>
|
||||
<div class="row mb-1">
|
||||
<label for="wrtNm" class="col-sm-1 col-form-label col-form-label-sm text-center">연락처</label>
|
||||
<label class="col-sm-1 col-form-label col-form-label-sm text-center">연락처</label>
|
||||
<div class="col-sm-2">
|
||||
<input type="text" class="form-control form-control-sm" id="cellPhone" name="cellPhone">
|
||||
</div>
|
||||
<label for="wrtDt" class="col-sm-1 col-form-label col-form-label-sm text-center">부서</label>
|
||||
<label class="col-sm-1 col-form-label col-form-label-sm text-center">부서</label>
|
||||
<div class="col-sm-2">
|
||||
<input type="text" class="form-control form-control-sm" id="department" name="department">
|
||||
</div>
|
||||
<label for="wrtDt" class="col-sm-1 col-form-label col-form-label-sm text-center">이름</label>
|
||||
<label class="col-sm-1 col-form-label col-form-label-sm text-center">이름</label>
|
||||
<div class="col-sm-2">
|
||||
<input type="text" class="form-control form-control-sm" id="name" name="name">
|
||||
</div>
|
||||
|
|
@ -74,38 +73,38 @@
|
|||
</th:block>
|
||||
<th:block th:unless="${cia.ciKey eq null}">
|
||||
<div class="row mb-1">
|
||||
<label for="wrtNm" class="col-sm-1 col-form-label col-form-label-sm text-center">업체명</label>
|
||||
<label class="col-sm-1 col-form-label col-form-label-sm text-center">업체명</label>
|
||||
<div class="col-sm-2">
|
||||
<input type="text" class="form-control form-control-sm" id="companyNm" name="companyNm" th:value="${cia.manageCompanyInfo.companyNm}">
|
||||
</div>
|
||||
<label for="wrtDt" class="col-sm-1 col-form-label col-form-label-sm text-center">소재지</label>
|
||||
<label class="col-sm-1 col-form-label col-form-label-sm text-center">소재지</label>
|
||||
<div class="col-sm-5">
|
||||
<input type="text" class="form-control form-control-sm" id="companyLocation" name="companyLocation" th:value="${cia.manageCompanyInfo.companyLocation}">
|
||||
</div>
|
||||
</div>
|
||||
<div class="row mb-1">
|
||||
<label for="wrtNm" class="col-sm-1 col-form-label col-form-label-sm text-center">연락처</label>
|
||||
<label class="col-sm-1 col-form-label col-form-label-sm text-center">연락처</label>
|
||||
<div class="col-sm-2">
|
||||
<input type="text" class="form-control form-control-sm" id="cellPhone" name="cellPhone" th:value="${cia.manageCompanyInfo.cellPhone}">
|
||||
</div>
|
||||
<label for="wrtDt" class="col-sm-1 col-form-label col-form-label-sm text-center">부서</label>
|
||||
<label class="col-sm-1 col-form-label col-form-label-sm text-center">부서</label>
|
||||
<div class="col-sm-2">
|
||||
<input type="text" class="form-control form-control-sm" id="department" name="department" th:value="${cia.manageCompanyInfo.department}">
|
||||
</div>
|
||||
<label for="wrtDt" class="col-sm-1 col-form-label col-form-label-sm text-center">이름</label>
|
||||
<label class="col-sm-1 col-form-label col-form-label-sm text-center">이름</label>
|
||||
<div class="col-sm-2">
|
||||
<input type="text" class="form-control form-control-sm" id="name" name="name" th:value="${cia.manageCompanyInfo.name}">
|
||||
</div>
|
||||
</div>
|
||||
<div class="row mb-1">
|
||||
<label for="contentInfoDiv" class="col-sm-1 col-form-label col-form-label-sm text-center">관련분야</label>
|
||||
<div class="col-sm-11" id="contentInfoDiv">
|
||||
<div class="col-sm-11">
|
||||
<textarea class="form-control form-control-sm" rows="5" cols="30" name="relatedField" th:utext="${cia.manageCompanyInfo.relatedField}"></textarea>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row mb-1">
|
||||
<label for="contentInfoDiv" class="col-sm-1 col-form-label col-form-label-sm text-center">특이사항</label>
|
||||
<div class="col-sm-11" id="contentInfoDiv">
|
||||
<div class="col-sm-11">
|
||||
<textarea class="form-control form-control-sm" rows="5" cols="30" name="description" th:utext="${cia.manageCompanyInfo.description}"></textarea>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -92,18 +92,14 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<th:block th:if="${accessAuth eq 'ACC003'} or ${viewUserSeq eq cia.wrtUserSeq}">
|
||||
<div class="modal-footer justify-content-between bg-light">
|
||||
<div class="col-auto">
|
||||
<!--
|
||||
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">닫기</button>
|
||||
-->
|
||||
<th:block th:if="${accessAuth eq 'ACC003'} or ${viewUserSeq eq cia.wrtUserSeq}">
|
||||
<div class="col-auto">
|
||||
<!--<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">닫기</button>-->
|
||||
<button type="button" class="btn btn-danger" id="deleteBtn" th:data-cikey="${cia.ciKey}">삭제</button>
|
||||
</th:block>
|
||||
</div>
|
||||
<div class="col-auto">
|
||||
<th:block th:if="${viewUserSeq eq cia.wrtUserSeq}">
|
||||
</div>
|
||||
<div class="col-auto">
|
||||
<button type="button" class="btn btn-warning" id="editBtn" th:data-cikey="${cia.ciKey}">수정</button>
|
||||
</th:block>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</th:block>
|
||||
|
|
@ -17,27 +17,25 @@
|
|||
<input type="hidden" name="wrtUserNm" th:value="${cia.wrtUserNm}">
|
||||
<input type="hidden" name="wrtDt" th:value="${#temporals.format(cia.wrtDt, 'yyyy-MM-dd HH:mm')}">
|
||||
<div class="row mb-1">
|
||||
<label for="wrtNm" class="col-sm-1 col-form-label col-form-label-sm text-center">작성자</label>
|
||||
<label class="col-sm-1 col-form-label col-form-label-sm text-center">작성자</label>
|
||||
<div class="col-sm-2">
|
||||
<input type="text" class="form-control form-control-sm" placeholder="작성자자동입력" readonly>
|
||||
<input type="text" class="form-control form-control-sm" placeholder="작성자자동입력" readonly th:value="${cia.wrtUserNm}">
|
||||
</div>
|
||||
<label for="wrtDt" class="col-sm-1 col-form-label col-form-label-sm text-center">작성일시</label>
|
||||
<label class="col-sm-1 col-form-label col-form-label-sm text-center">작성일시</label>
|
||||
<div class="col-sm-2">
|
||||
<input type="text" class="form-control form-control-sm" placeholder="작성일자동입력" readonly>
|
||||
<input type="text" class="form-control form-control-sm" placeholder="작성일자동입력" readonly th:value="${#temporals.format(cia.wrtDt, 'yyyy-MM-dd HH:mm')}">
|
||||
</div>
|
||||
</div>
|
||||
<div class="row mb-1">
|
||||
<label for="contentInfoDiv" class="col-sm-1 col-form-label col-form-label-sm text-center">지역특성</label>
|
||||
<div class="col-sm-11" id="contentInfoDiv">
|
||||
<textarea class="form-control form-control-sm" rows="5" cols="30" name="localInfo" th:if="${cia.ciKey eq null}"></textarea>
|
||||
<textarea class="form-control form-control-sm" rows="5" cols="30" name="localInfo" th:unless="${cia.ciKey eq null}" th:utext="${cia.saftyDemandInfo.localInfo}"></textarea>
|
||||
<label class="col-sm-1 col-form-label col-form-label-sm text-center">지역특성</label>
|
||||
<div class="col-sm-11">
|
||||
<textarea class="form-control form-control-sm" rows="5" cols="30" name="localInfo" th:utext="${cia.saftyDemandInfo.localInfo}"></textarea>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row mb-1">
|
||||
<label for="contentInfoDiv" class="col-sm-1 col-form-label col-form-label-sm text-center">예상<br>문제점</label>
|
||||
<div class="col-sm-11" id="contentInfoDiv">
|
||||
<textarea class="form-control form-control-sm" rows="5" cols="30" name="outlookProblem" th:if="${cia.ciKey eq null}"></textarea>
|
||||
<textarea class="form-control form-control-sm" rows="5" cols="30" name="outlookProblem" th:unless="${cia.ciKey eq null}" th:utext="${cia.saftyDemandInfo.outlookProblem}"></textarea>
|
||||
<label class="col-sm-1 col-form-label col-form-label-sm text-center">예상<br>문제점</label>
|
||||
<div class="col-sm-11">
|
||||
<textarea class="form-control form-control-sm" rows="5" cols="30" name="outlookProblem" th:utext="${cia.saftyDemandInfo.outlookProblem}"></textarea>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row mb-1">
|
||||
|
|
|
|||
|
|
@ -73,18 +73,14 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="modal-footer justify-content-between bg-light">
|
||||
<div class="col-auto">
|
||||
<!--
|
||||
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">닫기</button>
|
||||
-->
|
||||
<th:block th:if="${accessAuth eq 'ACC003'} or ${viewUserSeq eq cia.wrtUserSeq}">
|
||||
<th:block th:if="${accessAuth eq 'ACC003'} or ${viewUserSeq eq cia.wrtUserSeq}">
|
||||
<div class="modal-footer justify-content-between bg-light">
|
||||
<div class="col-auto">
|
||||
<!-- <button type="button" class="btn btn-secondary" data-bs-dismiss="modal">닫기</button> -->
|
||||
<button type="button" class="btn btn-danger" id="deleteBtn" th:data-cikey="${cia.ciKey}">삭제</button>
|
||||
</th:block>
|
||||
</div>
|
||||
<div class="col-auto">
|
||||
</div>
|
||||
<th:block th:if="${viewUserSeq eq cia.wrtUserSeq}">
|
||||
</div>
|
||||
<div class="col-auto">
|
||||
<button type="button" class="btn btn-warning" id="editBtn" th:data-cikey="${cia.ciKey}">수정</button>
|
||||
</th:block>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</th:block>
|
||||
Loading…
Reference in New Issue