|
|
@@ -441,7 +441,7 @@ export default {
|
|
|
self.scheduleInfo = {
|
|
|
startDate: data.startDate,
|
|
|
scheduleShift: config.scheduleShift,
|
|
|
- scheduleStaff: self.userList.filter(u => config.scheduleStaff.includes(u.userId) && u.userId !== this.userId),
|
|
|
+ scheduleStaff: this.params.action === 'view' ? self.userList : self.userList.filter(u => config.scheduleStaff.includes(u.userId) && u.userId !== this.userId),
|
|
|
shiftList: data.staffScheduleDetailPoList,
|
|
|
executor: JSON.stringify(config.approver) || ''
|
|
|
}
|