From 48859aeb1c800cff990fdc70fb8d3563638c44f6 Mon Sep 17 00:00:00 2001 From: "[li_she]" <[li.she@xujiesoft.com]> Date: Tue, 22 Nov 2022 11:34:07 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8E=92=E4=BA=A7=E6=97=A5=E5=8E=86=E7=BC=96?= =?UTF-8?q?=E8=BE=91=202022=E5=B9=B411=E6=9C=8822=E6=97=A5=20sxm?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/modules/base/calendar.vue | 9 +- .../modules/common/com_work_calendar_out.vue | 175 +++++++++++++++++- 2 files changed, 177 insertions(+), 7 deletions(-) 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;"> - + 关闭 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 保存 + 关闭 + +