메모 호출 수정

This commit is contained in:
USER
2022-09-14 18:34:34 +09:00
parent d5c4b2e113
commit 94c4eeda48

View File

@@ -124,19 +124,19 @@ export default {
mounted() {
// 달력 세팅
let page = 1;
// 페이지 정보 및 검색 조건
const getCondition = this.$store.getters['searchcondition/getSearchCondition'];
// let page = 1;
// // 페이지 정보 및 검색 조건
// const getCondition = this.$store.getters['searchcondition/getSearchCondition'];
// store에 저장된 페이지 정보 및 검색 조건을 불러오기
let isKeep = false;
if (getCondition) {
this.grid.pagePerRows = getCondition.perPage;
this.grid.params = getCondition.params;
page = getCondition.page;
isKeep = true;
}
this.search(isKeep);
// // store에 저장된 페이지 정보 및 검색 조건을 불러오기
// let isKeep = false;
// if (getCondition) {
// this.grid.pagePerRows = getCondition.perPage;
// this.grid.params = getCondition.params;
// page = getCondition.page;
// isKeep = true;
// }
// this.search(isKeep);
},
methods :{
search: function(isKeep) {
@@ -155,11 +155,6 @@ export default {
},
//메모전체 모달 Open
async memoTotalModalOpen(props){
this.grid.params.userId = props.adminId;
this.userId = props.adminId;
// this.grid.params.userId = props.serviceId;
// this.userId = props.serviceId;
// 메모 모달팝업 오픈
var dimmed = document.getElementsByClassName('memoTotal');
for(var i = 0; i < dimmed.length; i++){
@@ -176,8 +171,12 @@ export default {
this.grid.pagePerRows = getCondition.perPage;
this.grid.params = getCondition.params;
page = getCondition.page;
isKeep = true;
isKeep = true;
}
this.grid.params.userId = props.userId;
this.userId = props.userId;
this.search(isKeep);
},