diff --git a/src/views/modules/base/calendar.vue b/src/views/modules/base/calendar.vue index 760b518..eda1720 100644 --- a/src/views/modules/base/calendar.vue +++ b/src/views/modules/base/calendar.vue @@ -1474,17 +1474,18 @@ export default { }) }, // 编辑班次 - editShiftModal(row) { + async editShiftModal(row) { + await this.getcalendarDatetype() this.workDateDialog = true this.workingCalendar = JSON.parse(JSON.stringify(row)) - this.getcalendarDatetype() + }, // 获取工作类型 - getcalendarDatetype() { + async getcalendarDatetype() { let dto = { site: this.workingCalendar.site } - calendarDatetypeInfo(dto).then(({data}) => { + await calendarDatetypeInfo(dto).then(({data}) => { this.calendarDatetype = data.rows }) }, diff --git a/src/views/modules/common/com_work_calendar_out.vue b/src/views/modules/common/com_work_calendar_out.vue index bbf1b27..fc1396e 100644 --- a/src/views/modules/common/com_work_calendar_out.vue +++ b/src/views/modules/common/com_work_calendar_out.vue @@ -18,15 +18,15 @@ :data="calendarList" border style="width: 765px;"> - + 关闭 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 保存 + 关闭 + +