diff --git a/src/page-subspecialty/views/modules/nurseManagement/UBMOrder.vue b/src/page-subspecialty/views/modules/nurseManagement/UBMOrder.vue
deleted file mode 100644
index 1a46e92..0000000
--- a/src/page-subspecialty/views/modules/nurseManagement/UBMOrder.vue
+++ /dev/null
@@ -1,204 +0,0 @@
-
-
-
-
-
-
-
-
患者信息
-
-
登记号:{{ patientInfo.patientId }}
-
电话:{{ patientInfo.patientPhone }}
-
-
-
姓名:{{ patientInfo.patientName }}
-
性别:{{ patientInfo.patientSex }}
-
生日:{{ patientInfo.patientBirthday }}
-
年龄:{{ patientInfo.patientAge }}
-
来源:门诊/住院
-
-
-
-
-
-
-
-
-
- 已开医嘱:
-
- 是
-
-
- 否
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/page-subspecialty/views/modules/nurseManagement/dialogTest.vue b/src/page-subspecialty/views/modules/nurseManagement/dialogTest.vue
deleted file mode 100644
index 6a5ce61..0000000
--- a/src/page-subspecialty/views/modules/nurseManagement/dialogTest.vue
+++ /dev/null
@@ -1,56 +0,0 @@
-
-
-
点击打开 Dialog
-
UBM预约
-
新增
-
预约患者列表
-
号源管理
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/page-subspecialty/views/modules/nurseManagement/reservation/schedule/addPatientOrder.vue b/src/page-subspecialty/views/modules/nurseManagement/reservation/schedule/addPatientOrder.vue
new file mode 100644
index 0000000..d69d914
--- /dev/null
+++ b/src/page-subspecialty/views/modules/nurseManagement/reservation/schedule/addPatientOrder.vue
@@ -0,0 +1,268 @@
+
+
+
+
+
+
+
+
患者信息
+
+
登记号:{{ patientInfo.patientId }}
+
电话:{{ patientInfo.patientPhone }}
+
+
+
姓名:{{ patientInfo.patientName }}
+
性别:{{ patientInfo.patientSex }}
+
生日:{{ $moment(patientInfo.patientBirthday).format('YYYY-MM-DD') }}
+
年龄:{{ patientInfo.patientAge }}
+
来源:{{ patientInfo.source }}
+
+
+
+
+
+
+
+
+
+ 已开医嘱:
+
+ 是
+
+
+ 否
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
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 4df4c38..9770424 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
@@ -18,7 +18,7 @@
@change="pickDateChange"
/>
- {{ sortName }}
+ {{ sortName }}
@@ -83,16 +83,16 @@
@mouseover.stop="mouseoverHandle(index,weekInfoIndex,weekInfoItem,'morning')"
@mouseout="mouseoutHandle"
>
- 无
+ 无
约满
{{ weekInfoItem.morning.orderNum }} / {{ weekInfoItem.morning.maxNumber }}
已约
@@ -103,8 +103,7 @@
v-show="currentIndex===index && currentWeekIndex===weekInfoIndex && mouseMoveIsShow && showMorningAfterText==='morning' && title !=='plus'"
class="show-plus-one"
>
-
详情
-
+
详情
-
无
+
无
约满
{{ weekInfoItem.after.orderNum }} / {{ weekInfoItem.after.maxNumber }}
已约
@@ -158,8 +157,7 @@
v-show="currentIndex===index && currentWeekIndex===weekInfoIndex && mouseMoveIsShow && showMorningAfterText==='after' && title !=='plus'"
class="show-plus-one"
>
-
详情
-
+
详情
-
{
- 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) {
var pattern = /^[0-9][0-9]*$/
var regex=/^[0]+/
@@ -491,7 +418,7 @@ export default {
this.doctorList[index].weekInfo[weekInfoIndex][morOrAft].maxNumber = 0
}
},
- // 获取手术日程
+ // 获取项目日程
async getScheduleList() {
this.pageLoading = true
const { data: res } = await this.$http.get('/appoint/getAppointCalendarInfo', {
@@ -502,22 +429,20 @@ export default {
if (res.code === 0) {
this.pageLoading = false
this.doctorList = res.data
- this.getProjectSetting()
+ if (this.curTime===1){
+ const weekInfoItem = this.doctorList[this.curIndex].weekInfo[this.curWeekInfoIndex]
+ this.curPatients = weekInfoItem.morning.appointPatients
+ this.canAdd = weekInfoItem.morning.maxNumber>weekInfoItem.morning.orderNum
+ }else {
+ const weekInfoItem = this.doctorList[this.curIndex].weekInfo[this.curWeekInfoIndex]
+ this.curPatients = weekInfoItem.after.appointPatients
+ this.canAdd = weekInfoItem.after.maxNumber>weekInfoItem.after.orderNum
+ }
} else {
this.pageLoading = false
this.$message.error(res.msg)
}
},
- // 预约配置
- allPtClick() {
- // if(this.sortName === '预约配置') {
- // this.sortName = '保存设置'
- // // this.getBatchNumSet()
- // } else {
- // this.sortName = '预约配置'
- // // this.batchNumSave()
- // }
- },
// 选择时间的传参
rowList(rowList) {
this.rowListObj = rowList
@@ -681,25 +606,28 @@ export default {
this.currentRow = val;
},
// 号源管理
- async numberMangeClick(item, weekInfoItem, morOrAft, title) {
- this.numberMangeClickFun(item, weekInfoItem, morOrAft, title)
+ async numberMangeClick(item, weekInfoItem, morOrAft,index,weekInfoIndex) {
+ this.numberMangeClickFun(item, weekInfoItem, morOrAft,index,weekInfoIndex)
},
- numberMangeClickFun(item, weekInfoItem, morOrAft, title) {
+ numberMangeClickFun(item, weekInfoItem, morOrAft,index,weekInfoIndex) {
this.numberManageVisible = true
+ this.curIndex = index
+ this.curWeekInfoIndex = weekInfoIndex
+ this.curTime = morOrAft
this.$nextTick(() => {
- console.log(weekInfoItem);
- console.log(item);
if (morOrAft===1){
- this.$refs.numberManageRef.appointPatients = weekInfoItem.morning.appointPatients
+ this.curPatients = weekInfoItem.morning.appointPatients
this.$refs.numberManageRef.dateInfo = weekInfoItem.date + '上午'
+ this.canAdd = weekInfoItem.morning.maxNumber>weekInfoItem.morning.orderNum
}else {
- this.$refs.numberManageRef.appointPatients = weekInfoItem.after.appointPatients
+ this.curPatients = weekInfoItem.after.appointPatients
this.$refs.numberManageRef.dateInfo = weekInfoItem.date + '下午'
+ this.canAdd = weekInfoItem.after.maxNumber>weekInfoItem.after.orderNum
}
+ this.$refs.numberManageRef.curProject = item // 当前改约的项目
this.$refs.numberManageRef.projectName = item.itemName
this.$refs.numberManageRef.weekName = weekInfoItem.weekName
this.$refs.numberManageRef.morOrAft = morOrAft
- this.$refs.numberManageRef.title = title
this.$refs.numberManageRef.dataForm.doctorCode = item.doctorCode
this.$refs.numberManageRef.dataForm.operaDate = weekInfoItem.date
this.$refs.numberManageRef.init()
diff --git a/src/page-subspecialty/views/modules/nurseManagement/reservation/schedule/number-detail-manage.vue b/src/page-subspecialty/views/modules/nurseManagement/reservation/schedule/number-detail-manage.vue
index f50823d..473c1bb 100644
--- a/src/page-subspecialty/views/modules/nurseManagement/reservation/schedule/number-detail-manage.vue
+++ b/src/page-subspecialty/views/modules/nurseManagement/reservation/schedule/number-detail-manage.vue
@@ -1,5 +1,5 @@
-
+
-
+
新增预约
-
+
{{ item.appointDate }}
{{ item.patientName }}
@@ -19,34 +19,54 @@
{{ item.patientAge }}
+