• Y
  • List All
  • Feedback
    • This Project
    • All Projects
Profile Account settings Log out
  • Favorite
  • Project
  • All
Loading...
  • Log in
  • Sign up
jhpark / cms_frontend star
  • Project homeH
  • CodeC
  • IssueI
  • Pull requestP
  • Review R
  • MilestoneM
  • BoardB 1
  • Files
  • Commit
  • Branches
cms_frontendclientviewspagesadmlogLoginLog.vue
Download as .zip file
File name
Commit message
Commit date
client
1차 커밋
04-01
server/modules
250108 박정하 서브디렉토리 수정
01-08
.gitignore
250108 박정하 서브디렉토리 수정
01-08
Global.js
250108 박정하 서브디렉토리 수정
01-08
package-lock.json
250326 류윤주 1차 커밋
03-26
package.json
250326 류윤주 1차 커밋
03-26
vetur.config.js
250108 박정하 최초 커밋
01-08
webpack.config.js
250326 류윤주 1차 커밋
03-26
File name
Commit message
Commit date
ckeditor
250108 박정하 서브디렉토리 수정
01-08
resources
1차 커밋
04-01
theme
250326 류윤주 1차 커밋
03-26
views
1차 커밋
04-01
favicon.ico
250108 박정하 서브디렉토리 수정
01-08
File name
Commit message
Commit date
common
250108 박정하 서브디렉토리 수정
01-08
component
1차 커밋
04-01
layout
250331 김혜민 세션로그인방식 수정
03-31
pages
1차 커밋
04-01
index.html
250326 류윤주 1차 커밋
03-26
index.js
250331 김혜민 세션로그인방식 수정
03-31
robots.txt
250322 방선주 company, government 를 portal로 변경 및 db에 맞게 메뉴아이디 수정
03-22
File name
Commit message
Commit date
adm
1차 커밋
04-01
login
250331 김혜민 세션로그인방식 수정
03-31
popup
250108 박정하 서브디렉토리 수정
01-08
user
250322 방선주 company, government 를 portal로 변경 및 db에 맞게 메뉴아이디 수정
03-22
App.vue
Merge branch 'master' of http://210.180.118.83/jhpark/cms_frontend
03-31
AppRouter.js
250331 김혜민 세션로그인방식 수정
03-31
AppStore.js
250331 김혜민 세션로그인방식 수정
03-31
File name
Commit message
Commit date
authority
1차 커밋
04-01
boardManagement
1차 커밋
04-01
departmentManagement
1차 커밋
04-01
log
1차 커밋
04-01
main
250326 류윤주 1차 커밋
03-26
member
1차 커밋
04-01
menuManagement
1차 커밋
04-01
popup
1차 커밋
04-01
preferences
1차 커밋
04-01
statistics
1차 커밋
04-01
system
1차 커밋
04-01
File name
Commit message
Commit date
AdminLog.vue
250108 박정하 서브디렉토리 수정
01-08
LoginLog.vue
1차 커밋
04-01
PersonalDataLog.vue
1차 커밋
04-01
yjryu 04-01 7009a41 1차 커밋 UNIX
Raw Open in browser Change history
<template> <div class="content-zone"> <div class="content"> <div class="scroll"> <div class="title-zone"> <div class="page-title"> <p>로그인 이력</p> </div> </div> <div class="search-bar"> <VueDatePicker time-picker-inline placeholder="시작일" locale="ko" v-model="search['startDt']" /> <div class="pd10">-</div> <VueDatePicker time-picker-inline placeholder="종료일" locale="ko" v-model="search['endDt']" /> <select name="selectType" id="selectType" class="form-select sm" v-model="search['searchType']" > <option value="">전체</option> <option v-for="(item, idx) in codeList" :key="idx" :value="item.cd" > {{ item.cdNm }} </option> </select> <input type="text" class="form-control sm" v-model="search['searchText']" v-on:keyup.enter="fnViewList" placeholder="검색명을 입력하세요" /> <button class="btn sm ico-before ico-sch" @click="fnViewList"> 검색 </button> </div> <div class="tbl-wrap"> <ListTable :colgroup="colgroup" :thead="thead" :tbody="tbody" :className="'data'" /> </div> </div> </div> </div> <div class="btn-wrap list"> <div></div> <PaginationButton :className="'admin-pagination'" v-model:currentPage="search['currentPage']" :pagination="search" :click="fnViewList" /> <div></div> </div> </template> <script> import ListTable from "../../../component/table/ListTable.vue"; import PaginationButton from "../../../component/pagination/PaginationButton.vue"; import { defaultSearchParams } from "../../../../resources/js/defaultSearchParams"; // API import { listProc } from "../../../../resources/api/lgnHstry"; export default { components: { ListTable: ListTable, PaginationButton: PaginationButton, }, data() { return { colgroup: ["5%", "25%", "10%", "10%", "25%", "25%"], thead: ["NO", "날짜", "구분", "아이디", "IP", "운영체제"], tbody: [], search: { ...defaultSearchParams }, list: [], pagination: {}, }; }, created() { this.fnViewList(); }, methods: { // 조회(목록) fnViewList() { let data = this.search; if (this.search["startDt"] != null && this.search["startDt"] != "") { this.search["startDt"] = this.dateFormat( new Date(this.search["startDt"]) ); } if (this.search["endDt"] != null && this.search["endDt"] != "") { this.search["endDt"] = this.dateFormat(new Date(this.search["endDt"])); } this.axiosViewList(data); }, // tbody 생성 makeTbody() { this.tbody = []; this.tbody = this.list.map((lgnHstry, idx) => ({ id: this.search.totalRecordCount - idx - (this.search.currentPage - 1) * this.search.recordSize, cntnDt: lgnHstry.cntnDt, lgnType: lgnHstry.lgnType == "0" ? "관리자" : lgnHstry.lgnType == "1" ? "사용자" : null, lgnId: lgnHstry.lgnId, cntnIp: lgnHstry.cntnIp, cntnOperSys: lgnHstry.cntnOperSys, })); }, // 날짜 형식 변경 dateFormat(date) { // console.log(date); return ( date.getFullYear() + "-" + (date.getMonth() + 1 < 9 ? "0" + (date.getMonth() + 1) : date.getMonth() + 1) + "-" + (date.getDate() < 9 ? "0" + date.getDate() : date.getDate()) ); }, //─────axios─────┐ // 목록 조회 async axiosViewList(data) { try { const response = await listProc(data); this.list = response.data.data.list; this.search = response.data.data.pagination; this.codeList = response.data.data.codeList; this.makeTbody(); } catch (error) { alert("에러가 발생했습니다.\n시스템관리자에게 문의하세요."); } }, //─────axios─────┘ }, }; </script>

          
        
    
    
Copyright Yona authors & © NAVER Corp. & NAVER LABS Supported by NAVER CLOUD PLATFORM

or
Sign in with github login with Google Sign in with Google
Reset password | Sign up