mirror of
http://git.mhez-qa.uplus.co.kr/hubez/hubez-admin.git
synced 2025-12-06 19:09:49 +09:00
admin_chrg 달력 수정중
This commit is contained in:
@@ -110,6 +110,7 @@ import InsertChrgModal from '../components/InsertChrgModal';
|
|||||||
import chrgDetailPop from '../components/ChrgDetailPop.vue';
|
import chrgDetailPop from '../components/ChrgDetailPop.vue';
|
||||||
import commonModal from "@/components/modal/commonModal";
|
import commonModal from "@/components/modal/commonModal";
|
||||||
import custMgtApi from '../service/custMgtApi';
|
import custMgtApi from '../service/custMgtApi';
|
||||||
|
import { set } from 'vue';
|
||||||
|
|
||||||
class CustomATagRenderer {
|
class CustomATagRenderer {
|
||||||
constructor(props) {
|
constructor(props) {
|
||||||
@@ -252,6 +253,7 @@ export default {
|
|||||||
this.grid.params.searchType1 = this.searchType1;
|
this.grid.params.searchType1 = this.searchType1;
|
||||||
this.$refs.table.search(this.grid.params, isKeep);
|
this.$refs.table.search(this.grid.params, isKeep);
|
||||||
this.sendStoreData();
|
this.sendStoreData();
|
||||||
|
|
||||||
},
|
},
|
||||||
|
|
||||||
changePerPage: function () {
|
changePerPage: function () {
|
||||||
@@ -291,7 +293,13 @@ export default {
|
|||||||
}
|
}
|
||||||
if (this.startDate > this.endDate) {
|
if (this.startDate > this.endDate) {
|
||||||
this.startDate = this.endDate;
|
this.startDate = this.endDate;
|
||||||
}
|
}
|
||||||
|
// else if(this.startDate<this.endDate){
|
||||||
|
// this.row.title = '날짜 선택';
|
||||||
|
// this.row.msg1 = '조회기간 다시 설정해주세요.';
|
||||||
|
// this.$refs.commonModal.alertModalOpen(this.row);
|
||||||
|
|
||||||
|
}
|
||||||
},
|
},
|
||||||
selectedEndDate(day) {
|
selectedEndDate(day) {
|
||||||
if (day != undefined && day != null) {
|
if (day != undefined && day != null) {
|
||||||
@@ -338,12 +346,12 @@ export default {
|
|||||||
},
|
},
|
||||||
initSetStartDate() {
|
initSetStartDate() {
|
||||||
let initStartDate = new Date();
|
let initStartDate = new Date();
|
||||||
initStartDate.setMonth(Number(moment(initStartDate).format('MM')) );
|
initStartDate.setMonth(Number(moment(initStartDate).format('MM')) -1);
|
||||||
this.startDate = initStartDate;
|
this.startDate = initStartDate;
|
||||||
},
|
},
|
||||||
initSetEndDate() {
|
initSetEndDate() {
|
||||||
let initEndDate = new Date();
|
let initEndDate = new Date();
|
||||||
initEndDate.setMonth(Number(moment(initEndDate).format('MM')) +1);
|
initEndDate.setMonth(Number(moment(initEndDate).format('MM')) );
|
||||||
this.endDate = initEndDate;
|
this.endDate = initEndDate;
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user