diff --git a/public/index.html b/public/index.html index f449c2f..6f52be6 100644 --- a/public/index.html +++ b/public/index.html @@ -39,8 +39,8 @@ <% if (process.env.VUE_APP_NODE_ENV === 'dev') { %> <% } %> diff --git a/src/page-subspecialty/views/modules/nurseManagement/reservation/schedule/doctor-schedule.vue b/src/page-subspecialty/views/modules/nurseManagement/reservation/schedule/doctor-schedule.vue index 5a81017..79a73b4 100644 --- a/src/page-subspecialty/views/modules/nurseManagement/reservation/schedule/doctor-schedule.vue +++ b/src/page-subspecialty/views/modules/nurseManagement/reservation/schedule/doctor-schedule.vue @@ -72,7 +72,7 @@ >

约满

@@ -114,7 +114,7 @@ >

约满

@@ -234,13 +234,14 @@ export default { this.doctorList = res.data if (typeof this.curIndex === 'number'){ if (this.curTime===1){ - const weekInfoItem = this.doctorList.length && this.doctorList[this.curIndex].weekInfo[this.curWeekInfoIndex] + const item = this.doctorList.length && this.doctorList[this.curIndex] + const weekInfoItem = item.weekInfo[this.curWeekInfoIndex] this.curPatients = weekInfoItem.morning.appointPatients - this.canAdd = weekInfoItem.morning.maxNumber>weekInfoItem.morning.orderNum + this.canAdd = weekInfoItem.morning.maxNumber>weekInfoItem.morning.orderNum || !item.needLimit }else { const weekInfoItem = this.doctorList.length && this.doctorList[this.curIndex].weekInfo[this.curWeekInfoIndex] this.curPatients = weekInfoItem.after.appointPatients - this.canAdd = weekInfoItem.after.maxNumber>weekInfoItem.after.orderNum + this.canAdd = weekInfoItem.after.maxNumber>weekInfoItem.after.orderNum || !item.needLimit } } } else { @@ -375,11 +376,11 @@ export default { if (morOrAft===1){ this.curPatients = weekInfoItem.morning.appointPatients this.$refs.numberManageRef.dateInfo = weekInfoItem.date + '上午' - this.canAdd = weekInfoItem.morning.maxNumber>weekInfoItem.morning.orderNum + this.canAdd = weekInfoItem.morning.maxNumber>weekInfoItem.morning.orderNum || !item.needLimit }else { this.curPatients = weekInfoItem.after.appointPatients this.$refs.numberManageRef.dateInfo = weekInfoItem.date + '下午' - this.canAdd = weekInfoItem.after.maxNumber>weekInfoItem.after.orderNum + this.canAdd = weekInfoItem.after.maxNumber>weekInfoItem.after.orderNum || !item.needLimit } this.$refs.numberManageRef.curProject = item // 当前改约的项目 this.$refs.numberManageRef.projectName = item.itemName