Merge branch 'dev' into deploy-dev-front
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
"http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
|
||||
<mapper
|
||||
namespace="app.module.front.usecase.info.userFront.insertTermAgreement.adapters.persistence.InsertTermAgreementMapper">
|
||||
|
||||
<update id="insert">
|
||||
INSERT INTO term_agreement(
|
||||
id,
|
||||
seq,
|
||||
"type",
|
||||
previous_data,
|
||||
created_at,
|
||||
created_by
|
||||
)VALUES(
|
||||
nextval('term_agreement_seq'::regclass),
|
||||
#{seq},
|
||||
#{type},
|
||||
#{previousData},
|
||||
NOW(),
|
||||
#{createdBy}
|
||||
)
|
||||
</update>
|
||||
|
||||
</mapper>
|
||||
@@ -1,19 +0,0 @@
|
||||
[
|
||||
{"no":1, "start":1, "end":2, "children": []},
|
||||
{"no":2, "start":3, "end":4, "children": [{}, {}]},
|
||||
{"no":3, "start":5, "end":6, "children": []},
|
||||
{"no":4, "start":7, "end":7, "children": [{}]},
|
||||
{"no":5, "start":8, "end":9, "children": []},
|
||||
{"no":6, "start":10, "end":11, "children": []},
|
||||
{"no":7, "start":12, "end":13, "children": []},
|
||||
{"no":8, "start":14, "end":14, "children": []},
|
||||
{"no":9, "start":15, "end":16, "children": []},
|
||||
{"no":10, "start":17, "end":18, "children": []},
|
||||
{"no":11, "start":19, "end":20, "children": [{}, {}]},
|
||||
{"no":12, "start":21, "end":21, "children": []},
|
||||
{"no":13, "start":22, "end":23, "children": []},
|
||||
{"no":14, "start":24, "end":25, "children": [{}, {}]},
|
||||
{"no":15, "start":26, "end":27, "children": [{}, {}, {}, {}]},
|
||||
{"no":16, "start":28, "end":29, "children": []},
|
||||
{"no":17, "start":30, "end":31, "children": []}
|
||||
]
|
||||
@@ -1,18 +0,0 @@
|
||||
[
|
||||
{"no":1, "start":1, "end":2, "children": []},
|
||||
{"no":2, "start":3, "end":4, "children": [{}, {}]},
|
||||
{"no":3, "start":5, "end":6, "children": []},
|
||||
{"no":4, "start":7, "end":7, "children": [{}]},
|
||||
{"no":5, "start":8, "end":9, "children": []},
|
||||
{"no":6, "start":10, "end":11, "children": []},
|
||||
{"no":7, "start":12, "end":13, "children": []},
|
||||
{"no":8, "start":14, "end":14, "children": []},
|
||||
{"no":9, "start":15, "end":16, "children": []},
|
||||
{"no":10, "start":17, "end":18, "children": []},
|
||||
{"no":11, "start":19, "end":20, "children": [{}, {}]},
|
||||
{"no":12, "start":21, "end":21, "children": []},
|
||||
{"no":13, "start":22, "end":23, "children": []},
|
||||
{"no":14, "start":24, "end":25, "children": [{}, {}]},
|
||||
{"no":15, "start":26, "end":27, "children": [{}, {}, {}, {}]},
|
||||
{"no":16, "start":28, "end":28, "children": []}
|
||||
]
|
||||
@@ -1,19 +0,0 @@
|
||||
[
|
||||
{"no":1, "start":1, "end":2, "children": []},
|
||||
{"no":2, "start":3, "end":4, "children": [{}, {}]},
|
||||
{"no":3, "start":5, "end":6, "children": []},
|
||||
{"no":4, "start":7, "end":7, "children": [{}]},
|
||||
{"no":5, "start":8, "end":9, "children": []},
|
||||
{"no":6, "start":10, "end":11, "children": []},
|
||||
{"no":7, "start":12, "end":13, "children": []},
|
||||
{"no":8, "start":14, "end":14, "children": []},
|
||||
{"no":9, "start":15, "end":16, "children": []},
|
||||
{"no":10, "start":17, "end":18, "children": []},
|
||||
{"no":11, "start":19, "end":20, "children": [{}, {}]},
|
||||
{"no":12, "start":21, "end":21, "children": []},
|
||||
{"no":13, "start":22, "end":23, "children": []},
|
||||
{"no":14, "start":24, "end":25, "children": [{}, {}]},
|
||||
{"no":15, "start":26, "end":27, "children": [{}, {}, {}, {}]},
|
||||
{"no":16, "start":28, "end":29, "children": []},
|
||||
{"no":17, "start":30, "end":31, "children": []}
|
||||
]
|
||||
@@ -1,19 +0,0 @@
|
||||
[
|
||||
{"no":1, "start":1, "end":2, "children": []},
|
||||
{"no":2, "start":3, "end":4, "children": [{}, {}]},
|
||||
{"no":3, "start":5, "end":6, "children": []},
|
||||
{"no":4, "start":7, "end":7, "children": [{}]},
|
||||
{"no":5, "start":8, "end":9, "children": []},
|
||||
{"no":6, "start":10, "end":11, "children": []},
|
||||
{"no":7, "start":12, "end":13, "children": []},
|
||||
{"no":8, "start":14, "end":14, "children": []},
|
||||
{"no":9, "start":15, "end":16, "children": []},
|
||||
{"no":10, "start":17, "end":18, "children": []},
|
||||
{"no":11, "start":19, "end":20, "children": [{}, {}]},
|
||||
{"no":12, "start":21, "end":21, "children": []},
|
||||
{"no":13, "start":22, "end":23, "children": []},
|
||||
{"no":14, "start":24, "end":25, "children": [{}, {}]},
|
||||
{"no":15, "start":26, "end":27, "children": [{}, {}, {}, {}]},
|
||||
{"no":16, "start":28, "end":29, "children": []},
|
||||
{"no":17, "start":30, "end":30, "children": []}
|
||||
]
|
||||
@@ -1,19 +0,0 @@
|
||||
[
|
||||
{"no":1, "start":1, "end":2, "children": []},
|
||||
{"no":2, "start":3, "end":4, "children": [{}, {}]},
|
||||
{"no":3, "start":5, "end":6, "children": []},
|
||||
{"no":4, "start":7, "end":7, "children": [{}]},
|
||||
{"no":5, "start":8, "end":9, "children": []},
|
||||
{"no":6, "start":10, "end":11, "children": []},
|
||||
{"no":7, "start":12, "end":13, "children": []},
|
||||
{"no":8, "start":14, "end":14, "children": []},
|
||||
{"no":9, "start":15, "end":16, "children": []},
|
||||
{"no":10, "start":17, "end":18, "children": []},
|
||||
{"no":11, "start":19, "end":20, "children": [{}, {}]},
|
||||
{"no":12, "start":21, "end":21, "children": []},
|
||||
{"no":13, "start":22, "end":23, "children": []},
|
||||
{"no":14, "start":24, "end":25, "children": [{}, {}]},
|
||||
{"no":15, "start":26, "end":27, "children": [{}, {}, {}, {}]},
|
||||
{"no":16, "start":28, "end":29, "children": []},
|
||||
{"no":17, "start":30, "end":31, "children": []}
|
||||
]
|
||||
@@ -1,19 +0,0 @@
|
||||
[
|
||||
{"no":1, "start":1, "end":2, "children": []},
|
||||
{"no":2, "start":3, "end":4, "children": [{}, {}]},
|
||||
{"no":3, "start":5, "end":6, "children": []},
|
||||
{"no":4, "start":7, "end":7, "children": [{}]},
|
||||
{"no":5, "start":8, "end":9, "children": []},
|
||||
{"no":6, "start":10, "end":11, "children": []},
|
||||
{"no":7, "start":12, "end":13, "children": []},
|
||||
{"no":8, "start":14, "end":14, "children": []},
|
||||
{"no":9, "start":15, "end":16, "children": []},
|
||||
{"no":10, "start":17, "end":18, "children": []},
|
||||
{"no":11, "start":19, "end":20, "children": []},
|
||||
{"no":12, "start":21, "end":21, "children": []},
|
||||
{"no":13, "start":22, "end":23, "children": []},
|
||||
{"no":14, "start":24, "end":25, "children": []},
|
||||
{"no":15, "start":26, "end":27, "children": []},
|
||||
{"no":16, "start":28, "end":29, "children": []},
|
||||
{"no":17, "start":30, "end":30, "children": []}
|
||||
]
|
||||
@@ -1,15 +0,0 @@
|
||||
{
|
||||
"name": "My App",
|
||||
"short_name": "MyApp",
|
||||
"start_url": "/",
|
||||
"display": "standalone",
|
||||
"background_color": "#ffffff",
|
||||
//"theme_color": "#4BBC43",
|
||||
"icons": [
|
||||
{
|
||||
"src": "kri_appimg.png",
|
||||
"sizes": "512x512",
|
||||
"type": "image/png"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -31,7 +31,7 @@
|
||||
<!-- iOS 홈화면 -->
|
||||
<link rel="apple-touch-icon" th:href="@{/static/assets/images/kri_appimg.png}">
|
||||
<!-- PWA -->
|
||||
<link rel="manifest" th:href="@{/static/assets/json/manifest.json}">
|
||||
<link rel="manifest" th:href="@{/static/manifest.json}">
|
||||
<link rel="icon" type="image/x-icon" th:href="@{/static/assets/images/kri_favicon.ico}" />
|
||||
<link rel="shortcut icon" type="image/x-icon" th:href="@{/static/assets/images/kri_favicon.ico}" />
|
||||
<link th:href="@{/static/assets/styles/style.css}" type="text/css" rel="stylesheet" />
|
||||
|
||||
@@ -12,6 +12,7 @@
|
||||
<section class="form-group">
|
||||
<form method="post" name="reqForm" id="reqForm" onsubmit="formControl.authInfoUser();"
|
||||
th:action="@{/api/front/info/user/update}" th:object="${userInfo}">
|
||||
<input type="hidden" name="termAgreement" value="false" />
|
||||
<!-- 이름 -->
|
||||
<div class="component-input">
|
||||
<div class="input-label">
|
||||
@@ -386,12 +387,11 @@
|
||||
}
|
||||
}
|
||||
if (form.phone1.value || form.phone2.value || form.phone3.value) {
|
||||
if (form.tel2.value.length === 3) errors.push({ field: 'tel1', message: '핸드폰 번호를 입력해 주세요.' });
|
||||
if (form.tel2.value.length < 3 || form.tel2.value.length > 4) errors.push({ field: 'tel2', message: '핸드폰 번호를 입력해 주세요.' });
|
||||
if (form.tel3.value.length !== 4) errors.push({ field: 'tel3', message: '핸드폰 번호를 입력해 주세요.' });
|
||||
if (form.phone1.value.length !== 3) errors.push({ field: 'phone1', message: '핸드폰 번호를 입력해 주세요.' });
|
||||
if (form.phone2.value.length < 3 || form.phone2.value.length > 4) errors.push({ field: 'phone2', message: '핸드폰 번호를 입력해 주세요.' });
|
||||
if (form.phone3.value.length !== 4) errors.push({ field: 'phone3', message: '핸드폰 번호를 입력해 주세요.' });
|
||||
}
|
||||
if (!form.phone1.value ||!form.phone2.value || !form.phone3.value) errors.push({field: 'phone1', message: '휴대폰 번호를 입력해 주세요.'});
|
||||
if (form.phone1.value.length < 2 || form.phone2.value.length < 3 || form.phone2.value.length > 4 || form.phone3.value.length < 3 || form.phone3.value.length > 4) errors.push({field: 'phone1', message: '휴대폰 번호를 입력해 주세요.'});
|
||||
if (!form.regionSubCode.value) errors.push({field: 'regionSubCode', message: '지역을 선택해 주세요.'});
|
||||
if (!form.regionDetailCode.value) errors.push({field: 'regionDetailCode', message: '세부 지역를 선택해 주세요.'});
|
||||
if (!form.address.value) errors.push({field: 'address', message: '전체 주소를 입력해 주세요.'});
|
||||
@@ -410,6 +410,7 @@
|
||||
},
|
||||
confirmPopupOk() {
|
||||
ENV.module.confirmPopup.close();
|
||||
document.querySelector('input[name="termAgreement"]').value = true;
|
||||
formControl.updateUserInfo();
|
||||
},
|
||||
updateUserInfo() {
|
||||
|
||||
Reference in New Issue
Block a user