mirror of
http://git.mhez-qa.uplus.co.kr/hubez/hubez-admin.git
synced 2025-12-07 04:11:27 +09:00
admin_chrg 유저ID 조회 수정
This commit is contained in:
@@ -302,8 +302,8 @@ export default {
|
||||
if (type != undefined && type != null) {
|
||||
let initStartDate = new Date();
|
||||
let initEndDate = new Date();
|
||||
initStartDate.setMonth(Number(moment(initStartDate).format('MM')) - 4)
|
||||
initEndDate.setMonth(Number(moment(initEndDate).format('MM')) - 2)
|
||||
initStartDate.setMonth(Number(moment(initStartDate).format('MM')) -100)
|
||||
initEndDate.setMonth(Number(moment(initEndDate).format('MM')) + 100)
|
||||
|
||||
|
||||
if (type == 'start') {
|
||||
@@ -327,7 +327,7 @@ export default {
|
||||
} else if (this.sDateDiv == 'year') {
|
||||
return moment(date).format('YYYY');
|
||||
} else {
|
||||
return moment(date).format('YYYY-MM-DD');
|
||||
return moment(date).format('YYYY-MM');
|
||||
}
|
||||
},
|
||||
gridParamSet() {
|
||||
@@ -338,12 +338,12 @@ export default {
|
||||
},
|
||||
initSetStartDate() {
|
||||
let initStartDate = new Date();
|
||||
initStartDate.setMonth(Number(moment(initStartDate).format('MM')) - 4);
|
||||
initStartDate.setMonth(Number(moment(initStartDate).format('MM')) );
|
||||
this.startDate = initStartDate;
|
||||
},
|
||||
initSetEndDate() {
|
||||
let initEndDate = new Date();
|
||||
initEndDate.setMonth(Number(moment(initEndDate).format('MM')) - 2);
|
||||
initEndDate.setMonth(Number(moment(initEndDate).format('MM')) +1);
|
||||
this.endDate = initEndDate;
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user