You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

158 lines
4.5 KiB
Plaintext

<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" isELIgnored="false" session="false"%>
<%@ include file="/WEB-INF/jsp/include/taglib.jsp"%>
<jsp:include page="/WEB-INF/jsp/include/head.jsp" />
<body>
<div class="layout-navbar-full layout-menu-fixed layout-navbar-fixed">
<div class="layout-container">
<div class="layout-page ps-5">
<div class="content-wrapper" style="justify-content:flex-start">
<div class="container-xxl container-p-y ms-1">
<h5>테스트풀</h5>
<button type="button" id="btnMakePersonNamePool" class="btn btn-primary">이름 테스트풀 생성</button>
<button type="button" id="btnMakeCarNoPool" class="btn btn-primary">차량번호 테스트풀 생성</button>
</div>
<div class="container-xxl container-p-y ms-1">
<h5>국민신문고</h5>
<button type="button" id="btnForCivil" class="btn btn-primary disabled">신고자 모의 테스트</button>
<button type="button" id="btnForSinmungoAdmin" class="btn btn-primary">신문고 담당자 모의 테스트</button>
</div>
<div class="container-xxl container-p-y ms-1">
<h5>모바일 메시지 서비스 관련</h5>
<button type="button" id="btnMessageAccountValidation" class="btn btn-primary">SMS 계정 신청 검증</button>
<button type="button" id="btnMakeConfForMessage" class="btn btn-primary">설정 파일 생성</button>
<button type="button" id="btnMakeScriptForMessage" class="btn btn-primary">스크립트 파일 생성</button>
<!-- <button type="button" id="btnSendMobileMessage" class="btn btn-primary">모바일 메시지 API submit(랜덤)</button> -->
</div>
</div>
</div>
</div>
</div>
....
....
..
<jsp:include page="/WEB-INF/jsp/include/tail.jsp" />
<script>
$("#btnMakePersonNamePool").on("click",function(){
$.ajax({
type : "GET",
ContentType : "text/html;charset=UTF-8",
url : "/testpool/makeName.do",
data: {},
success: (resp) => {
}
});
});
$("#btnMakeCarNoPool").on("click",function(){
$.ajax({
type : "GET",
ContentType : "text/html;charset=UTF-8",
url : "/testpool/makeCarNoPool.do",
data: {},
success: (resp) => {
}
});
});
//$("#btnSendMobileMessage").on("click",function(){
//
//});
$("#btnForSinmungoAdmin").on("click", function(){
$.ajax({
type : "GET",
ContentType : "text/html;charset=UTF-8",
url : "/sinmungo/openSinmungoAdmin.do",
data: {},
success: (resp) => {
console.log(resp);
dialog.open({
id: "sinmungoAdminDialog",
title: "접수및배분",
content: resp ,
size: "fullscreen",
init:() => {}
});
},
error : function(xhr, status, error) {
},
complete : function(xhr, status) {
}
});
});
$("#btnMessageAccountValidation").on("click", function(){
window.open("/resources/html/smsAccountValidation.html","sms 계정 신청 검증");
});
$("#btnMakeConfForMessage").on("click", function(){
$.ajax({
type : "GET",
ContentType : "text/html;charset=UTF-8",
url : "/mms/createConfMain.do",
data: {},
success: (resp) => {
console.log(resp);
dialog.open({
id: "makeMessageConfDialog",
title: "nuri모듈 설정파일 작성",
content: resp ,
size: "md",
init:() => {}
});
},
error : function(xhr, status, error) {
},
complete : function(xhr, status) {
}
});
});
$("#btnMakeScriptForMessage").on("click", function(){
$.ajax({
type : "GET",
ContentType : "text/html;charset=UTF-8",
url : "/mms/createScriptMain.do",
data: {},
success: (resp) => {
console.log(resp);
dialog.open({
id: "makeMessageScriptDialog",
title: "nuri모듈 실행파일 작성",
content: resp ,
size: "md",
init:() => {}
});
},
error : function(xhr, status, error) {
},
complete : function(xhr, status) {
}
});
});
$(function(){
});
</script>
</body>
</html>