Merge branch 'dev' into bo_daily
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -51,12 +51,12 @@ let uiUtil = {
|
||||
<div class="row">
|
||||
<nav class="component-pagination" aria-label="Page navigation example">
|
||||
|
||||
<a href="#" class="page-link pagination-item first ${isFirstPage ? 'disabled' : ''}"
|
||||
<a href="javascript:void(0);" class="page-link pagination-item first ${isFirstPage ? 'disabled' : ''}"
|
||||
aria-label="First" data-target-page="${firstPage}">
|
||||
<span class="hide-txt">첫 페이지로 이동</span>
|
||||
</a>
|
||||
|
||||
<a href="#" class="page-link pagination-item prev ${isFirstPage ? 'disabled' : ''}"
|
||||
<a href="javascript:void(0);" class="page-link pagination-item prev ${isFirstPage ? 'disabled' : ''}"
|
||||
aria-label="Previous" data-target-page="${curPageNo === 0 ? null : curPageNo - 1}">
|
||||
<span class="hide-txt">이전 페이지로 이동</span>
|
||||
</a>
|
||||
@@ -76,7 +76,7 @@ let uiUtil = {
|
||||
`;
|
||||
} else {
|
||||
frag2 += `
|
||||
<a href="#" class="page-link pagination-item" data-target-page="${i}">${i + 1}</a>
|
||||
<a href="javascript:void(0);" class="page-link pagination-item" data-target-page="${i}">${i + 1}</a>
|
||||
`;
|
||||
}
|
||||
}
|
||||
@@ -84,11 +84,11 @@ let uiUtil = {
|
||||
const isLastPage = curPageNo === totalPages - 1 || totalPages === 0;
|
||||
let frag3 =
|
||||
`
|
||||
<a href="#" class="page-link pagination-item next ${isLastPage ? 'disabled' : ''}"
|
||||
<a href="javascript:void(0);" class="page-link pagination-item next ${isLastPage ? 'disabled' : ''}"
|
||||
aria-label="Next" data-target-page="${curPageNo == totalPages - 1 || totalPages == 0 ? null : curPageNo + 1}">
|
||||
<span class="hide-txt">다음 페이지로 이동</span>
|
||||
</a>
|
||||
<a href="#" class="page-link pagination-item last ${isLastPage ? 'disabled' : ''}"
|
||||
<a href="javascript:void(0);" class="page-link pagination-item last ${isLastPage ? 'disabled' : ''}"
|
||||
aria-label="Last" data-target-page="${totalPages - 1}">
|
||||
<span class="hide-txt">마지막 페이지로 이동</span>
|
||||
</a>
|
||||
@@ -470,7 +470,7 @@ const limitMaxLength = (el) => {
|
||||
let $el = $(el);
|
||||
|
||||
if ($el.val().length > maxLength) {
|
||||
$el.val(el.val().slice(0, $el.attr('maxlength')));
|
||||
$el.val($el.val().slice(0, $el.attr('maxlength')));
|
||||
}
|
||||
|
||||
if ($el.attr('inputmode') === 'numeric') {
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
<input name="page" value="0" type="hidden"/>
|
||||
<input name="size" value="10" type="hidden">
|
||||
|
||||
<div class="component-modal mypage-wrap modal01" data-props-dimm-click="true" data-state="close">
|
||||
<div class="component-modal mypage-wrap modal01 modal-researcher-mapping" data-props-dimm-click="true" data-state="close">
|
||||
<div class="modal-dimm"></div>
|
||||
<div class="modal-frame">
|
||||
<div class="modal-container">
|
||||
@@ -116,7 +116,7 @@
|
||||
let researcherList = [];
|
||||
|
||||
const showResearcherModal = () => {
|
||||
document.querySelector(".modal01").ui.open();
|
||||
document.querySelector(".modal-researcher-mapping").ui.open();
|
||||
|
||||
// 실사 공통코드 가져오기
|
||||
ajaxUtil._ajaxMethod(
|
||||
@@ -196,7 +196,7 @@
|
||||
uiUtil.getPagingUI(pageNo, f.size.value, response.totalPages,
|
||||
(movePageNo) => {
|
||||
f.page.value = movePageNo;
|
||||
getResearchers();
|
||||
getResearchers(movePageNo);
|
||||
}));
|
||||
|
||||
},
|
||||
@@ -225,7 +225,7 @@
|
||||
|
||||
// import 해준 html 에서 아래 함수를 선언해주면 selectedResearcher 값을 사용할 수 있음.
|
||||
getSelectedResearcher(selectedResearcher, () => {
|
||||
document.querySelector(".modal01").ui.close();
|
||||
document.querySelector(".modal-researcher-mapping").ui.close();
|
||||
});
|
||||
}
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user