|
|
@ -54,7 +54,7 @@ |
|
|
|
<!-- <div class="list-img"> |
|
|
|
<img src="@/assets/img/avatar.png" alt=""> |
|
|
|
</div> --> |
|
|
|
<p>{{ item.doctorName }}</p> |
|
|
|
<p>{{ item.itemName }}</p> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</el-col> |
|
|
@ -62,10 +62,10 @@ |
|
|
|
<div class="surplu-num"> |
|
|
|
<div v-show="sortName==='保存设置'" class="surplu-num-morning"> |
|
|
|
<div class="morning"> |
|
|
|
<el-input v-model="weekInfoItem.morning.numSourceTotal" placeholder="" @change="changeInput($event,index,weekInfoIndex,'morning')" /> |
|
|
|
<el-input v-model="weekInfoItem.morning.maxNumber" placeholder="" @change="changeInput($event,index,weekInfoIndex,'morning')" /> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div v-show="sortName==='批量排台'" class="surplu-num-morning"> |
|
|
|
<div v-show="sortName==='预约配置'" class="surplu-num-morning"> |
|
|
|
<!-- 上午预定后 --> |
|
|
|
<div |
|
|
|
v-show="selectedShow && weekInfoItem.date == rowListObj.operaDate && rowListObj.mainDoctorName == item.doctorName && rowListObj.morOrAft===1" |
|
|
@ -83,20 +83,20 @@ |
|
|
|
@mouseover.stop="mouseoverHandle(index,weekInfoIndex,weekInfoItem,'morning')" |
|
|
|
@mouseout="mouseoutHandle" |
|
|
|
> |
|
|
|
<p v-show="weekInfoItem.morning.numSourceTotal<=0" class="none">无</p> |
|
|
|
<p v-show="!weekInfoItem.morning.isAppoint" class="none">无</p> |
|
|
|
<div |
|
|
|
v-show="weekInfoItem.morning.numSourceTotal>0 && (weekInfoItem.morning.numSourceTotal == weekInfoItem.morning.orderNum)" |
|
|
|
v-show="weekInfoItem.morning.isAppoint && (weekInfoItem.morning.maxNumber == weekInfoItem.morning.orderNum)" |
|
|
|
class="yue-man" |
|
|
|
> |
|
|
|
<p>约满</p> |
|
|
|
<p>{{ weekInfoItem.morning.orderNum }} / {{ weekInfoItem.morning.numSourceTotal }}</p> |
|
|
|
<p>{{ weekInfoItem.morning.orderNum }} / {{ weekInfoItem.morning.maxNumber }}</p> |
|
|
|
</div> |
|
|
|
<div |
|
|
|
v-show="weekInfoItem.morning.numSourceTotal>0 && (weekInfoItem.morning.numSourceTotal > weekInfoItem.morning.orderNum) " |
|
|
|
v-show="weekInfoItem.morning.isAppoint && (weekInfoItem.morning.maxNumber > weekInfoItem.morning.orderNum) " |
|
|
|
class="yi-yue" |
|
|
|
> |
|
|
|
<p>已约</p> |
|
|
|
<p>{{ weekInfoItem.morning.orderNum }} / {{ weekInfoItem.morning.numSourceTotal }}</p> |
|
|
|
<p>{{ weekInfoItem.morning.orderNum }} / {{ weekInfoItem.morning.maxNumber }}</p> |
|
|
|
</div> |
|
|
|
<!-- 判断上午号是否有剩余加号显示,暂时不用:v-show="currentIndex===index && currentWeekIndex===weekInfoIndex && mouseMoveIsShow && showMorningAfterText==='morning' && weekInfoItem.morning.surplusNum>0" --> |
|
|
|
<div |
|
|
@ -104,7 +104,7 @@ |
|
|
|
class="show-plus-one" |
|
|
|
> |
|
|
|
<p @click="numberMangeClick(item,weekInfoItem,1,'排台详情')">详情</p> |
|
|
|
<p @click="numberMangeClick(item,weekInfoItem,1,'排台管理')">排台管理</p> |
|
|
|
<!-- <p @click="numberMangeClick(item,weekInfoItem,1,'排台管理')">排台管理</p>--> |
|
|
|
</div> |
|
|
|
<div |
|
|
|
v-show="currentIndex===index && currentWeekIndex===weekInfoIndex && mouseMoveIsShow && showMorningAfterText==='morning'&& title =='plus'" |
|
|
@ -116,10 +116,10 @@ |
|
|
|
</div> |
|
|
|
<div v-show="sortName==='保存设置'" class="surplu-num-after"> |
|
|
|
<div class="after"> |
|
|
|
<el-input v-model="weekInfoItem.after.numSourceTotal" placeholder="" @change="changeInput($event,index,weekInfoIndex,'after')" /> |
|
|
|
<el-input v-model="weekInfoItem.after.maxNumber" placeholder="" @change="changeInput($event,index,weekInfoIndex,'after')" /> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div v-show="sortName==='批量排台'" class="surplu-num-after"> |
|
|
|
<div v-show="sortName==='预约配置'" class="surplu-num-after"> |
|
|
|
<!-- 下午预定后 --> |
|
|
|
<div |
|
|
|
v-show="selectedShow && weekInfoItem.date == rowListObj.operaDate && rowListObj.mainDoctorName == item.doctorName && rowListObj.morOrAft===2" |
|
|
@ -138,20 +138,20 @@ |
|
|
|
@mouseover.stop="mouseoverHandle(index,weekInfoIndex,weekInfoItem,'after')" |
|
|
|
@mouseout="mouseoutHandle" |
|
|
|
> |
|
|
|
<p v-show="weekInfoItem.after.numSourceTotal<=0" class="none">无</p> |
|
|
|
<p v-show="!weekInfoItem.after.isAppoint" class="none">无</p> |
|
|
|
<div |
|
|
|
v-show="weekInfoItem.after.numSourceTotal>0 && (weekInfoItem.after.numSourceTotal == weekInfoItem.after.orderNum)" |
|
|
|
v-show="weekInfoItem.after.isAppoint && (weekInfoItem.after.maxNumber == weekInfoItem.after.orderNum)" |
|
|
|
class="yue-man" |
|
|
|
> |
|
|
|
<p>约满</p> |
|
|
|
<p>{{ weekInfoItem.after.orderNum }} / {{ weekInfoItem.after.numSourceTotal }}</p> |
|
|
|
<p>{{ weekInfoItem.after.orderNum }} / {{ weekInfoItem.after.maxNumber }}</p> |
|
|
|
</div> |
|
|
|
<div |
|
|
|
v-show="weekInfoItem.after.numSourceTotal>0 && (weekInfoItem.after.numSourceTotal > weekInfoItem.after.orderNum) " |
|
|
|
v-show="weekInfoItem.after.isAppoint && (weekInfoItem.after.maxNumber > weekInfoItem.after.orderNum) " |
|
|
|
class="yi-yue" |
|
|
|
> |
|
|
|
<p>已约</p> |
|
|
|
<p>{{ weekInfoItem.after.orderNum }} / {{ weekInfoItem.after.numSourceTotal }}</p> |
|
|
|
<p>{{ weekInfoItem.after.orderNum }} / {{ weekInfoItem.after.maxNumber }}</p> |
|
|
|
</div> |
|
|
|
<!-- 判断下午好是否有剩余加号显示,暂时不用:v-show="currentIndex===index && currentWeekIndex===weekInfoIndex && mouseMoveIsShow && showMorningAfterText==='after' && weekInfoItem.after.surplusNum>0 --> |
|
|
|
<div |
|
|
@ -159,7 +159,7 @@ |
|
|
|
class="show-plus-one" |
|
|
|
> |
|
|
|
<p @click="numberMangeClick(item,weekInfoItem,2,'排台详情')">详情</p> |
|
|
|
<p @click="numberMangeClick(item,weekInfoItem,2,'排台管理')">排台管理</p> |
|
|
|
<!-- <p @click="numberMangeClick(item,weekInfoItem,2,'排台管理')">排台管理</p>--> |
|
|
|
</div> |
|
|
|
<div |
|
|
|
v-show="currentIndex===index && currentWeekIndex===weekInfoIndex && mouseMoveIsShow && showMorningAfterText==='after' && title =='plus'" |
|
|
@ -189,7 +189,7 @@ |
|
|
|
@getScheduleList="getScheduleList" |
|
|
|
@rowList="rowList" |
|
|
|
/> |
|
|
|
<setOperaTime |
|
|
|
<setOperaTime-- |
|
|
|
v-if="setOperaTimeVisible" |
|
|
|
ref="setOperaTimeRef" |
|
|
|
:source-flag="sourceFlag" |
|
|
@ -276,12 +276,12 @@ export default { |
|
|
|
doctorName: "刘灿", |
|
|
|
weekInfo: [{ |
|
|
|
after: { |
|
|
|
numSourceTotal: 0, |
|
|
|
maxNumber: 0, |
|
|
|
orderNum: 10, |
|
|
|
scheduledPatients: [], |
|
|
|
}, |
|
|
|
morning: { |
|
|
|
numSourceTotal: 0, |
|
|
|
maxNumber: 0, |
|
|
|
orderNum: 5, |
|
|
|
scheduledPatients: [], |
|
|
|
}, |
|
|
@ -289,12 +289,12 @@ export default { |
|
|
|
weekName: "周一", |
|
|
|
},{ |
|
|
|
after: { |
|
|
|
numSourceTotal: 0, |
|
|
|
maxNumber: 0, |
|
|
|
orderNum: 0, |
|
|
|
scheduledPatients: [], |
|
|
|
}, |
|
|
|
morning: { |
|
|
|
numSourceTotal: 0, |
|
|
|
maxNumber: 0, |
|
|
|
orderNum: 0, |
|
|
|
scheduledPatients: [], |
|
|
|
}, |
|
|
@ -302,12 +302,12 @@ export default { |
|
|
|
weekName: "周二", |
|
|
|
},{ |
|
|
|
after: { |
|
|
|
numSourceTotal: 0, |
|
|
|
maxNumber: 0, |
|
|
|
orderNum: 0, |
|
|
|
scheduledPatients: [], |
|
|
|
}, |
|
|
|
morning: { |
|
|
|
numSourceTotal: 0, |
|
|
|
maxNumber: 0, |
|
|
|
orderNum: 0, |
|
|
|
scheduledPatients: [], |
|
|
|
}, |
|
|
@ -315,12 +315,12 @@ export default { |
|
|
|
weekName: "周三", |
|
|
|
},{ |
|
|
|
after: { |
|
|
|
numSourceTotal: 0, |
|
|
|
maxNumber: 0, |
|
|
|
orderNum: 0, |
|
|
|
scheduledPatients: [], |
|
|
|
}, |
|
|
|
morning: { |
|
|
|
numSourceTotal: 0, |
|
|
|
maxNumber: 0, |
|
|
|
orderNum: 0, |
|
|
|
scheduledPatients: [], |
|
|
|
}, |
|
|
@ -328,12 +328,12 @@ export default { |
|
|
|
weekName: "周四", |
|
|
|
},{ |
|
|
|
after: { |
|
|
|
numSourceTotal: 10, |
|
|
|
maxNumber: 10, |
|
|
|
orderNum: 0, |
|
|
|
scheduledPatients: [], |
|
|
|
}, |
|
|
|
morning: { |
|
|
|
numSourceTotal: 10, |
|
|
|
maxNumber: 10, |
|
|
|
orderNum: 0, |
|
|
|
scheduledPatients: [], |
|
|
|
}, |
|
|
@ -341,12 +341,12 @@ export default { |
|
|
|
weekName: "周五", |
|
|
|
},{ |
|
|
|
after: { |
|
|
|
numSourceTotal: 0, |
|
|
|
maxNumber: 0, |
|
|
|
orderNum: 0, |
|
|
|
scheduledPatients: [], |
|
|
|
}, |
|
|
|
morning: { |
|
|
|
numSourceTotal: 0, |
|
|
|
maxNumber: 0, |
|
|
|
orderNum: 0, |
|
|
|
scheduledPatients: [], |
|
|
|
}, |
|
|
@ -354,12 +354,12 @@ export default { |
|
|
|
weekName: "周六", |
|
|
|
},{ |
|
|
|
after: { |
|
|
|
numSourceTotal: 0, |
|
|
|
maxNumber: 0, |
|
|
|
orderNum: 0, |
|
|
|
scheduledPatients: [], |
|
|
|
}, |
|
|
|
morning: { |
|
|
|
numSourceTotal: 0, |
|
|
|
maxNumber: 0, |
|
|
|
orderNum: 0, |
|
|
|
scheduledPatients: [], |
|
|
|
}, |
|
|
@ -370,7 +370,8 @@ export default { |
|
|
|
patientList: [], |
|
|
|
rowListObj: {}, |
|
|
|
operaTypeList: [], |
|
|
|
sortName:'预约配置' |
|
|
|
sortName:'预约配置', |
|
|
|
projectList:[] |
|
|
|
}; |
|
|
|
}, |
|
|
|
filters: { |
|
|
@ -407,26 +408,93 @@ export default { |
|
|
|
this.initData(null); |
|
|
|
this.getScheduleList() |
|
|
|
}, |
|
|
|
|
|
|
|
methods: { |
|
|
|
getProjectSetting(){ |
|
|
|
this.$http.get('/appoint/itemList',{ |
|
|
|
params:{ |
|
|
|
limit:10, |
|
|
|
page:1 |
|
|
|
} |
|
|
|
}).then( data =>{ |
|
|
|
this.projectList = data.data.data.list |
|
|
|
this.handleIsAppiont() |
|
|
|
}) |
|
|
|
}, |
|
|
|
// 根据配置列表判断是否展示预约信息 |
|
|
|
handleIsAppiont(){ |
|
|
|
this.doctorList.forEach(item=>{ |
|
|
|
const weekInfo = this.projectList.find(pro=>pro.itemId===item.itemId) |
|
|
|
item.weekInfo.forEach(week=>{ |
|
|
|
weekInfo.openVoList.forEach(open=>{ |
|
|
|
if (open.time==='上午'){ |
|
|
|
switch (week.weekName){ |
|
|
|
case '周一': |
|
|
|
this.$set(week.morning,'isAppoint',open.monTime) |
|
|
|
break |
|
|
|
case '周二': |
|
|
|
this.$set(week.morning,'isAppoint',open.tuesTime) |
|
|
|
break |
|
|
|
case '周三': |
|
|
|
this.$set(week.morning,'isAppoint',open.wedTime) |
|
|
|
break |
|
|
|
case '周四': |
|
|
|
this.$set(week.morning,'isAppoint',open.thurTime) |
|
|
|
break |
|
|
|
case '周五': |
|
|
|
this.$set(week.morning,'isAppoint',open.friTime) |
|
|
|
break |
|
|
|
case '周六': |
|
|
|
this.$set(week.morning,'isAppoint',open.satTime) |
|
|
|
break |
|
|
|
case '周日': |
|
|
|
this.$set(week.morning,'isAppoint',open.sunTime) |
|
|
|
break |
|
|
|
} |
|
|
|
}else{ |
|
|
|
switch (week.weekName){ |
|
|
|
case '周一': |
|
|
|
this.$set(week.after,'isAppoint',open.monTime) |
|
|
|
break |
|
|
|
case '周二': |
|
|
|
this.$set(week.after,'isAppoint',open.tuesTime) |
|
|
|
break |
|
|
|
case '周三': |
|
|
|
this.$set(week.after,'isAppoint',open.wedTime) |
|
|
|
break |
|
|
|
case '周四': |
|
|
|
this.$set(week.after,'isAppoint',open.thurTime) |
|
|
|
break |
|
|
|
case '周五': |
|
|
|
this.$set(week.after,'isAppoint',open.friTime) |
|
|
|
break |
|
|
|
case '周六': |
|
|
|
this.$set(week.after,'isAppoint',open.satTime) |
|
|
|
break |
|
|
|
case '周日': |
|
|
|
this.$set(week.after,'isAppoint',open.sunTime) |
|
|
|
break |
|
|
|
} |
|
|
|
} |
|
|
|
}) |
|
|
|
}) |
|
|
|
}) |
|
|
|
}, |
|
|
|
changeInput(e,index,weekInfoIndex,morOrAft) { |
|
|
|
// console.log(typeof Number(e)); |
|
|
|
// console.log(e); |
|
|
|
var pattern = /^[0-9][0-9]*$/ |
|
|
|
var regex=/^[0]+/ |
|
|
|
this.doctorList[index].weekInfo[weekInfoIndex][morOrAft].numSourceTotal = e.replace(regex,""); |
|
|
|
this.doctorList[index].weekInfo[weekInfoIndex][morOrAft].maxNumber = e.replace(regex,""); |
|
|
|
if (!pattern.test(e)) { |
|
|
|
this.$message({ |
|
|
|
message: '只能输入正整数哦', |
|
|
|
type: 'warning' |
|
|
|
}) |
|
|
|
this.doctorList[index].weekInfo[weekInfoIndex][morOrAft].numSourceTotal = 0 |
|
|
|
this.doctorList[index].weekInfo[weekInfoIndex][morOrAft].maxNumber = 0 |
|
|
|
} |
|
|
|
}, |
|
|
|
// 获取手术日程 |
|
|
|
async getScheduleList() { |
|
|
|
this.pageLoading = true |
|
|
|
const { data: res } = await this.$http.get('/opera/schedule', { |
|
|
|
const { data: res } = await this.$http.get('/appoint/getAppointCalendarInfo', { |
|
|
|
params: { |
|
|
|
searchDate: this.newDate, |
|
|
|
} |
|
|
@ -434,68 +502,24 @@ export default { |
|
|
|
if (res.code === 0) { |
|
|
|
this.pageLoading = false |
|
|
|
this.doctorList = res.data |
|
|
|
this.getProjectSetting() |
|
|
|
} else { |
|
|
|
this.pageLoading = false |
|
|
|
this.$message.error(res.msg) |
|
|
|
} |
|
|
|
}, |
|
|
|
// 批量排台 |
|
|
|
// 预约配置 |
|
|
|
allPtClick() { |
|
|
|
if(this.sortName === '批量排台') { |
|
|
|
this.sortName = '保存设置' |
|
|
|
// this.getBatchNumSet() |
|
|
|
} else { |
|
|
|
this.sortName = '批量排台' |
|
|
|
// this.batchNumSave() |
|
|
|
} |
|
|
|
}, |
|
|
|
// 批量排台获取 |
|
|
|
async getBatchNumSet() { |
|
|
|
const loading = this.$loading({ |
|
|
|
lock: true, |
|
|
|
text: '加载中请稍等...', |
|
|
|
spinner: 'el-icon-loading', |
|
|
|
background: 'rgba(255, 255, 255, 0.7)' |
|
|
|
}) |
|
|
|
const { data: res } = await this.$http.get('/num/source/set/getBatchNumSet', { |
|
|
|
params: { |
|
|
|
searchDate: this.newDate, |
|
|
|
} |
|
|
|
}) |
|
|
|
if (res.code === 0) { |
|
|
|
loading.close() |
|
|
|
this.doctorList = res.data |
|
|
|
} else { |
|
|
|
loading.close() |
|
|
|
this.$message.error(res.msg) |
|
|
|
} |
|
|
|
}, |
|
|
|
// 批量保存 |
|
|
|
async batchNumSave() { |
|
|
|
const loading = this.$loading({ |
|
|
|
lock: true, |
|
|
|
text: '保存中请稍等...', |
|
|
|
spinner: 'el-icon-loading', |
|
|
|
background: 'rgba(255, 255, 255, 0.7)' |
|
|
|
}) |
|
|
|
const {data:res} = await this.$http.post('num/source/set/batchNumSet',{ |
|
|
|
dtoList:this.doctorList, |
|
|
|
searchDate:this.newDate |
|
|
|
}) |
|
|
|
if(res.code===0) { |
|
|
|
loading.close() |
|
|
|
this.$message({ |
|
|
|
message: '保存成功', |
|
|
|
type: 'success' |
|
|
|
}); |
|
|
|
} else { |
|
|
|
loading.close() |
|
|
|
this.$message.error(res.msg) |
|
|
|
} |
|
|
|
// if(this.sortName === '预约配置') { |
|
|
|
// this.sortName = '保存设置' |
|
|
|
// // this.getBatchNumSet() |
|
|
|
// } else { |
|
|
|
// this.sortName = '预约配置' |
|
|
|
// // this.batchNumSave() |
|
|
|
// } |
|
|
|
}, |
|
|
|
// 选择时间的传参 |
|
|
|
rowList(rowList) { |
|
|
|
console.log(rowList); |
|
|
|
this.rowListObj = rowList |
|
|
|
this.$emit('rowList', rowList) |
|
|
|
this.selectedShow = true |
|
|
@ -518,7 +542,7 @@ export default { |
|
|
|
const index = _.findIndex(that.days, function (o) { |
|
|
|
return o.getDate() === new Date(that.newDate).getDate(); |
|
|
|
}); |
|
|
|
this.sortName === '批量排台' ? this.getScheduleList() : this.getBatchNumSet() |
|
|
|
this.sortName === '预约配置' ? this.getScheduleList() : this.getBatchNumSet() |
|
|
|
// console.log("index: ", index); |
|
|
|
this.tabIndex = index; |
|
|
|
}, |
|
|
@ -568,7 +592,7 @@ export default { |
|
|
|
d.setDate(d.getDate() - 7); |
|
|
|
this.initData(d); |
|
|
|
this.newDate = dateFilterTwo(this.days[0]) |
|
|
|
this.sortName === '批量排台' ? this.getScheduleList() : this.getBatchNumSet() |
|
|
|
this.sortName === '预约配置' ? this.getScheduleList() : this.getBatchNumSet() |
|
|
|
}, |
|
|
|
|
|
|
|
// 下个星期 |
|
|
@ -577,7 +601,7 @@ export default { |
|
|
|
d.setDate(d.getDate() + 7); |
|
|
|
this.initData(d); |
|
|
|
this.newDate = dateFilterTwo(this.days[0]) |
|
|
|
this.sortName === '批量排台' ? this.getScheduleList() : this.getBatchNumSet() |
|
|
|
this.sortName === '预约配置' ? this.getScheduleList() : this.getBatchNumSet() |
|
|
|
}, |
|
|
|
// 上一個月 传入当前年份和月份 |
|
|
|
pickPre(year, month) { |
|
|
@ -618,13 +642,13 @@ export default { |
|
|
|
// 鼠标移入 |
|
|
|
mouseoverHandle(index, weekInfoIndex, weekInfoItem, showMorningAfterText) { |
|
|
|
// console.log(weekInfoItem[showMorningAfterText]); |
|
|
|
let numSourceTotal = weekInfoItem[showMorningAfterText].numSourceTotal |
|
|
|
let maxNumber = weekInfoItem[showMorningAfterText].maxNumber |
|
|
|
let orderNum = weekInfoItem[showMorningAfterText].orderNum |
|
|
|
this.currentIndex = index |
|
|
|
this.currentWeekIndex = weekInfoIndex |
|
|
|
this.showMorningAfterText = showMorningAfterText |
|
|
|
|
|
|
|
this.mouseMoveIsShow = this.title == 'plus' ? (numSourceTotal > 0 && numSourceTotal !== orderNum ? true : false) : true |
|
|
|
this.mouseMoveIsShow = this.title == 'plus' ? (maxNumber > 0 && maxNumber !== orderNum ? true : false) : true |
|
|
|
}, |
|
|
|
// 鼠标移出 |
|
|
|
mouseoutHandle() { |
|
|
@ -659,27 +683,20 @@ export default { |
|
|
|
// 号源管理 |
|
|
|
async numberMangeClick(item, weekInfoItem, morOrAft, title) { |
|
|
|
this.numberMangeClickFun(item, weekInfoItem, morOrAft, title) |
|
|
|
// if (this.title === 'plus' && this.titleButton !== '选择核查日期') { |
|
|
|
// // 选择医生时判断医生有没有手术权限 |
|
|
|
// const { data: res } = await this.$http.post('/num/source/authorDoctor', { |
|
|
|
// doctorCode: item.doctorCode, |
|
|
|
// operaVOList: this.operaTypeList |
|
|
|
// }) |
|
|
|
// if (res.code === 0) { |
|
|
|
// this.numberMangeClickFun(item, weekInfoItem, morOrAft, title) |
|
|
|
// } else { |
|
|
|
// this.$message.error(res.msg) |
|
|
|
// } |
|
|
|
// } else { |
|
|
|
// this.numberMangeClickFun(item, weekInfoItem, morOrAft, title) |
|
|
|
// } |
|
|
|
|
|
|
|
}, |
|
|
|
numberMangeClickFun(item, weekInfoItem, morOrAft, title) { |
|
|
|
this.numberManageVisible = true |
|
|
|
this.$nextTick(() => { |
|
|
|
console.log(weekInfoItem.date); |
|
|
|
this.$refs.numberManageRef.mainDoctorName = item.doctorName |
|
|
|
console.log(weekInfoItem); |
|
|
|
console.log(item); |
|
|
|
if (morOrAft===1){ |
|
|
|
this.$refs.numberManageRef.appointPatients = weekInfoItem.morning.appointPatients |
|
|
|
this.$refs.numberManageRef.dateInfo = weekInfoItem.date + '上午' |
|
|
|
}else { |
|
|
|
this.$refs.numberManageRef.appointPatients = weekInfoItem.after.appointPatients |
|
|
|
this.$refs.numberManageRef.dateInfo = weekInfoItem.date + '下午' |
|
|
|
} |
|
|
|
this.$refs.numberManageRef.projectName = item.itemName |
|
|
|
this.$refs.numberManageRef.weekName = weekInfoItem.weekName |
|
|
|
this.$refs.numberManageRef.morOrAft = morOrAft |
|
|
|
this.$refs.numberManageRef.title = title |
|
|
|