|
|
|
@ -965,7 +965,7 @@ export default { |
|
|
|
calendarList1: [], |
|
|
|
calendarList: {}, // 用于存储格式化后的排班数据 |
|
|
|
rawScheduleData: null, // 存储原始排班数据 |
|
|
|
is_allow_coincide: 0,//是否允许时段重合 |
|
|
|
is_allow_coincide: 0,//是否允许时段重合 0不允许 1允许 |
|
|
|
conflictDates: [], // 存储有冲突的日期 |
|
|
|
conflictCount: 0, // 冲突天数统计 |
|
|
|
tempAdjustments: {}, // 存储临时调诊数据 {日期: {医院ID: {原班次, 新班次, 状态}}} |
|
|
|
@ -2324,6 +2324,7 @@ export default { |
|
|
|
this.countMonthlyConflicts(); // 添加统计 |
|
|
|
}, |
|
|
|
async setDepartWorkTime() { |
|
|
|
console.log('=====执行了'); |
|
|
|
this.$refs.conflictDialog.setDepartWorkTime() |
|
|
|
}, |
|
|
|
formatMonth(date, dayFlag) { |
|
|
|
@ -2681,7 +2682,7 @@ export default { |
|
|
|
} |
|
|
|
this.houseCallSettingForm.worktimes = JSON.parse(JSON.stringify(this.form.worktimes)); |
|
|
|
// ---------还没有数据 |
|
|
|
const {display_work_days,worktime_no_fixed} = response.data; |
|
|
|
const {display_work_days,worktime_no_fixed,is_allow_coincide} = response.data; |
|
|
|
if(display_work_days > 0){ |
|
|
|
this.houseCallSettingForm.planDays = display_work_days; |
|
|
|
}else{ |
|
|
|
@ -2690,7 +2691,7 @@ export default { |
|
|
|
this.houseCallSettingForm.worktime_no_fixed = worktime_no_fixed |
|
|
|
|
|
|
|
// ---------还没有数据 |
|
|
|
|
|
|
|
this.is_allow_coincide=is_allow_coincide |
|
|
|
|
|
|
|
this.departType = (response.data.type || response.data.type === 0 || response.data.type === "0") ? [Number(response.data.type)] : [] |
|
|
|
this.departIsFixed = response.data.is_fixed == "1" ? true : false |
|
|
|
|