Skip to content

Commit

Permalink
fix(frontend): 轮值起止时间问题修复 #9088
Browse files Browse the repository at this point in the history
  • Loading branch information
jinquantianxia committed Jan 16, 2025
1 parent 892bef9 commit 5b6c95d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@
};
return {
effective_time: dayjs(formModel.dateTimeRange![0]).startOf('day').format('YYYY-MM-DD HH:mm:ss'),
end_time: dayjs(formModel.dateTimeRange![1]).startOf('day').format('YYYY-MM-DD HH:mm:ss'),
end_time: dayjs(formModel.dateTimeRange![1]).endOf('day').format('YYYY-MM-DD HH:mm:ss'),
duty_arranges: formModel.tableData.map(item => ({
date: item.dateTime,
work_times: item.timeRange.map(data => data.value.map(str => splitTimeToMinute(str)).join('--')),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -409,7 +409,7 @@
};
return {
effective_time: dayjs(dateTimeRange.value![0]).startOf('day').format('YYYY-MM-DD HH:mm:ss'),
end_time: dayjs(dateTimeRange.value![1]).startOf('day').format('YYYY-MM-DD HH:mm:ss'),
end_time: dayjs(dateTimeRange.value![1]).endOf('day').format('YYYY-MM-DD HH:mm:ss'),
duty_arranges: tableData.value.map(item => ({
duty_number: formModel.singleDutyPeoples,
duty_day: formModel.sinlgeDutyDays,
Expand Down

0 comments on commit 5b6c95d

Please sign in to comment.