From 75a6f85292f6ae695e3b5d6534d0fa146d9c3565 Mon Sep 17 00:00:00 2001 From: bianyaqi Date: Mon, 22 May 2023 17:05:14 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8A=A4=E5=A3=AB=E5=B7=A5=E4=BD=9C=E5=8F=B0?= =?UTF-8?q?=E7=9B=B8=E5=85=B3=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/index.html | 4 +- .../reservation/schedule/addPatientOrder.vue | 67 +++++++++------ .../reservation/schedule/doctor-schedule.vue | 2 + .../schedule/number-detail-manage.vue | 2 + .../reservation/subList/index.vue | 81 ++++++++++++++----- 5 files changed, 112 insertions(+), 44 deletions(-) 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/addPatientOrder.vue b/src/page-subspecialty/views/modules/nurseManagement/reservation/schedule/addPatientOrder.vue index e38a63e..dbff5cd 100644 --- a/src/page-subspecialty/views/modules/nurseManagement/reservation/schedule/addPatientOrder.vue +++ b/src/page-subspecialty/views/modules/nurseManagement/reservation/schedule/addPatientOrder.vue @@ -29,48 +29,59 @@ /> - + 已开医嘱:
- 是 +
- 否 +
- + -
- - 眼别: +
+ +
眼别:
- OD + OD
- OS + OS
- OU + OU
- + 散瞳:
- 是 +
- 否 +
- - 缩瞳: +
+
+ +
缩瞳:
- 是 +
- 否 + 否 +
+
+ + 三面镜: +
+ 是 +
+
+
@@ -92,7 +103,7 @@
- +
表单 取 消 @@ -113,6 +124,9 @@ export default { patientDetail: { type: Object }, + orderDate: { + type: String + }, project: { type: Object }, @@ -173,6 +187,11 @@ export default { this.patientInfo = this.patientDetail } }, + mounted() { + if (this.orderDate) { + this.form.date1 = this.orderDate + } + }, methods: { init() { this.visible = true @@ -201,7 +220,6 @@ export default { // 确认提交 handleSave() { if (!this.isEdit) { - console.log('asdfasdf') this.$refs.addPatientForm.validate((valid) => { if (!valid) { return false @@ -227,12 +245,10 @@ export default { } else { const params = { appointDate: `${this.form.date1} ${this.form.date2}`, - doctorId: this.form.doctorId, - doctorName: this.form.doctorName, - patientId: this.form.patientId, patientName: this.patientDetail.patientName, id: this.patientDetail.id, - itemId: this.patientDetail.itemId + itemId: this.patientDetail.itemId, + ...this.form } this.$http.post('/appoint/updateAppointInfo', params).then(() => { this.$message.success('修改成功') @@ -269,6 +285,11 @@ export default { margin:0 8px; display: flex; } +.addLabel{ + width: 80px; + text-align: right; + margin-right: 10px +} input{ -webkit-appearance: checkbox !important; margin-right: 5px !important; 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 aa9e0d5..d24ddce 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 @@ -376,10 +376,12 @@ export default { if (morOrAft===1){ this.curPatients = weekInfoItem.morning.appointPatients this.$refs.numberManageRef.dateInfo = weekInfoItem.date + '上午' + this.$refs.numberManageRef.orderDate = weekInfoItem.date this.canAdd = weekInfoItem.morning.maxNumber>weekInfoItem.morning.orderNum || !item.needLimit }else { this.curPatients = weekInfoItem.after.appointPatients this.$refs.numberManageRef.dateInfo = weekInfoItem.date + '下午' + this.$refs.numberManageRef.orderDate = weekInfoItem.date this.canAdd = weekInfoItem.after.maxNumber>weekInfoItem.after.orderNum || !item.needLimit } this.$refs.numberManageRef.curProject = item // 当前改约的项目 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 43da790..8027203 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 @@ -30,6 +30,7 @@ :project="curProject" :patient-detail="curPatient" :title="addTitle" + :order-date="orderDate" :is-edit="isEdit" @goFormList="goFormList" @closeDialog="closeAddDialog" @@ -58,6 +59,7 @@ export default { return { visible: false, addPatientVisible: false, + orderDate: '', dateInfo: '', isEdit: false, projectName: '', diff --git a/src/page-subspecialty/views/modules/nurseManagement/reservation/subList/index.vue b/src/page-subspecialty/views/modules/nurseManagement/reservation/subList/index.vue index 1fc33b8..d51be86 100644 --- a/src/page-subspecialty/views/modules/nurseManagement/reservation/subList/index.vue +++ b/src/page-subspecialty/views/modules/nurseManagement/reservation/subList/index.vue @@ -3,7 +3,7 @@
-
+
{{ item.label }} +
+ 预约时间: + +
改约 - 打印 + 打印
@@ -58,23 +71,37 @@ :cell-class-name="tableCellClassName" @selection-change="handleSelectionChange" > - - - - - + + + + + - + + + + + + - - - + + +