From 0d57e984a644f6b82a93bc7033228fc0079a5604 Mon Sep 17 00:00:00 2001 From: huabuweixin <148689675+huabuweixin@users.noreply.github.com> Date: Thu, 22 Jan 2026 15:09:52 +0800 Subject: [PATCH] =?UTF-8?q?76=20=E9=97=A8=E8=AF=8A=E9=A2=84=E7=BA=A6?= =?UTF-8?q?=E6=8C=82=E5=8F=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../appservice/ITicketAppService.java | 8 - .../appservice/impl/TicketAppServiceImpl.java | 312 ++- .../controller/TicketController.java | 22 - .../DoctorScheduleMapper.xml | 25 +- .../mapper/DoctorScheduleMapper.java | 4 + .../openhis/clinical/mapper/OrderMapper.java | 2 +- .../clinical/service/IOrderService.java | 3 +- .../service/impl/OrderServiceImpl.java | 3 +- .../service/impl/TicketServiceImpl.java | 8 +- .../resources/mapper/clinical/OrderMapper.xml | 2 + .../src/views/appoinmentmanage/index.vue | 1681 ----------------- .../outpatientAppointment/index.vue | 660 ++++--- .../views/appoinmentmanage/ticketManage.vue | 1638 ---------------- 13 files changed, 548 insertions(+), 3820 deletions(-) delete mode 100644 openhis-ui-vue3/src/views/appoinmentmanage/index.vue delete mode 100644 openhis-ui-vue3/src/views/appoinmentmanage/ticketManage.vue diff --git a/openhis-server-new/openhis-application/src/main/java/com/openhis/web/appointmentmanage/appservice/ITicketAppService.java b/openhis-server-new/openhis-application/src/main/java/com/openhis/web/appointmentmanage/appservice/ITicketAppService.java index dab4ddc9..e46c7083 100644 --- a/openhis-server-new/openhis-application/src/main/java/com/openhis/web/appointmentmanage/appservice/ITicketAppService.java +++ b/openhis-server-new/openhis-application/src/main/java/com/openhis/web/appointmentmanage/appservice/ITicketAppService.java @@ -13,14 +13,6 @@ import java.util.Map; */ public interface ITicketAppService { - /** - * 查询号源列表 - * - * @param params 查询参数 - * @return 号源列表 - */ - R listTicket(Map params); - /** * 预约号源 * diff --git a/openhis-server-new/openhis-application/src/main/java/com/openhis/web/appointmentmanage/appservice/impl/TicketAppServiceImpl.java b/openhis-server-new/openhis-application/src/main/java/com/openhis/web/appointmentmanage/appservice/impl/TicketAppServiceImpl.java index 21a8c7cf..2bf09bf7 100644 --- a/openhis-server-new/openhis-application/src/main/java/com/openhis/web/appointmentmanage/appservice/impl/TicketAppServiceImpl.java +++ b/openhis-server-new/openhis-application/src/main/java/com/openhis/web/appointmentmanage/appservice/impl/TicketAppServiceImpl.java @@ -4,20 +4,28 @@ import com.baomidou.mybatisplus.extension.plugins.pagination.Page; import com.core.common.core.domain.R; import com.openhis.administration.domain.Patient; import com.openhis.administration.service.IPatientService; +import com.openhis.appointmentmanage.domain.DoctorSchedule; +import com.openhis.appointmentmanage.mapper.DoctorScheduleMapper; +import com.openhis.appointmentmanage.service.IDoctorScheduleService; +import com.openhis.clinical.domain.Order; import com.openhis.clinical.domain.Ticket; +import com.openhis.clinical.mapper.OrderMapper; import com.openhis.clinical.service.ITicketService; +import com.openhis.web.appointmentmanage.appservice.IDoctorScheduleAppService; import com.openhis.web.appointmentmanage.appservice.ITicketAppService; import com.openhis.web.appointmentmanage.dto.TicketDto; import org.springframework.stereotype.Service; import javax.annotation.Resource; import java.text.SimpleDateFormat; +import java.time.*; import java.util.ArrayList; import java.util.Date; import java.util.HashMap; import java.util.List; import java.util.Map; - +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; /** * 号源管理应用服务实现类 * @@ -31,145 +39,14 @@ public class TicketAppServiceImpl implements ITicketAppService { @Resource private IPatientService patientService; + @Resource + private IDoctorScheduleAppService doctorScheduleAppService; + @Resource + private DoctorScheduleMapper doctorScheduleMapper; + @Resource + private OrderMapper orderMapper; - /** - * 查询号源列表 - * - * @param params 查询参数 - * @return 号源列表 - */ - @Override - public R listTicket(Map params) { - // 调试日志:打印所有参数 - System.out.println("=== listTicket方法收到的所有参数:==="); - for (Map.Entry entry : params.entrySet()) { - System.out.println(entry.getKey() + ": " + entry.getValue()); - } - System.out.println("================================="); - // 构建查询条件 - Ticket ticket = new Ticket(); - // 设置查询参数 - // 处理日期参数 - if (params.containsKey("date")) { - String date = (String) params.get("date"); - try { - // 将日期字符串转换为Date类型,设置到appointmentDate字段 - SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd"); - Date appointmentDate = sdf.parse(date); - ticket.setAppointmentDate(appointmentDate); - System.out.println("设置的appointmentDate:" + appointmentDate); - } catch (Exception e) { - // 日期格式错误,忽略该参数 - System.out.println("日期格式错误,忽略该参数:" + date + ",错误信息:" + e.getMessage()); - } - } - // 处理状态参数 - if (params.containsKey("status")) { - String status = (String) params.get("status"); - System.out.println("接收到的status参数:" + status); - if (!"all".equals(status) && !"全部".equals(status)) { - // 将中文状态转换为英文状态 - if ("未预约".equals(status)) { - ticket.setStatus("unbooked"); - } else if ("已预约".equals(status)) { - ticket.setStatus("booked"); - } else if ("已取号".equals(status)) { - ticket.setStatus("checked"); - } else if ("已取消".equals(status)) { - ticket.setStatus("cancelled"); - } else if ("已锁定".equals(status)) { - ticket.setStatus("locked"); - } else { - ticket.setStatus(status); - } - System.out.println("设置的status:" + ticket.getStatus()); - } - } - if (params.containsKey("name")) { - String name = (String) params.get("name"); - ticket.setPatientName(name); - } - if (params.containsKey("card")) { - String card = (String) params.get("card"); - ticket.setMedicalCard(card); - } - if (params.containsKey("phone")) { - String phone = (String) params.get("phone"); - ticket.setPhone(phone); - } - if (params.containsKey("type")) { - String type = (String) params.get("type"); - System.out.println("前端传递的type参数值:" + type); - if (!"all".equals(type)) { - // 类型映射转换:前端传递英文类型,数据库存储中文类型 - if ("general".equals(type)) { - ticket.setTicketType("普通"); - } else if ("expert".equals(type)) { - ticket.setTicketType("专家"); - } else if ("普通".equals(type)) { - ticket.setTicketType("普通"); - } else if ("专家".equals(type)) { - ticket.setTicketType("专家"); - } else { - ticket.setTicketType(type); - } - System.out.println("转换后的ticketType值:" + ticket.getTicketType()); - } - } - - // 手动实现分页查询,避免MyBatis-Plus自动COUNT查询的问题 - int pageNum = params.get("page") != null ? Integer.valueOf(params.get("page").toString()) : 1; - int pageSize = params.get("limit") != null ? Integer.valueOf(params.get("limit").toString()) : 10; - - // 调试:输出构建的查询条件 - System.out.println("构建的查询条件:ticketType=" + ticket.getTicketType() + ", status=" + ticket.getStatus() + ", appointmentDate=" + ticket.getAppointmentDate()); - - // 1. 获取所有符合条件的记录 - List allTickets = ticketService.selectTicketList(ticket); - - // 调试:输出查询到的所有记录 - System.out.println("查询到的所有记录:" + allTickets); - if (!allTickets.isEmpty()) { - for (Ticket t : allTickets) { - System.out.println("记录详情:id=" + t.getId() + ", ticketType=" + t.getTicketType() + ", status=" + t.getStatus() + ", appointmentDate=" + t.getAppointmentDate() + ", deleteFlag=" + t.getDeleteFlag()); - } - } - - // 2. 计算总记录数 - long total = allTickets.size(); - System.out.println("手动计算的总记录数:" + total); - - // 3. 手动分页 - int start = (pageNum - 1) * pageSize; - int end = Math.min(start + pageSize, allTickets.size()); - List pageTickets; - if (start >= end) { - pageTickets = new ArrayList<>(); - } else { - pageTickets = allTickets.subList(start, end); - } - - // 4. 转换为DTO - List dtoList = pageTickets.stream().map(this::convertToDto).toList(); - - // 5. 构建响应数据,符合前端预期格式 - Map result = new HashMap<>(); - result.put("list", dtoList); - result.put("records", dtoList); // 兼容前端框架(如Element UI)可能使用的records字段 - result.put("total", total); - result.put("page", pageNum); - result.put("current", pageNum); // 兼容前端框架可能使用的current字段 - result.put("limit", pageSize); - result.put("pageSize", pageSize); // 兼容前端框架可能使用的pageSize字段 - result.put("size", pageSize); // 兼容前端框架可能使用的size字段 - result.put("pageNum", pageNum); // 兼容前端框架可能使用的pageNum字段 - result.put("pages", (int) Math.ceil((double) total / pageSize)); // 计算总页数 - - // 调试:输出响应数据 - System.out.println("返回的响应数据:" + result); - - return R.ok(result); - } + private static final Logger log = LoggerFactory.getLogger(TicketAppServiceImpl.class); /** * 预约号源 @@ -179,35 +56,73 @@ public class TicketAppServiceImpl implements ITicketAppService { */ @Override public R bookTicket(Map params) { + // 1. 获取 ticketId 和 slotId Long ticketId = null; + Long slotId = null; if (params.get("ticketId") != null) { ticketId = Long.valueOf(params.get("ticketId").toString()); } - if (ticketId == null) { - return R.fail("参数错误"); + if (params.get("slotId") != null) { + slotId = Long.valueOf(params.get("slotId").toString()); } + // 2. 参数校验 + if (ticketId == null || slotId == null) { + return R.fail("参数错误:ticketId 或 slotId 不能为空"); + } + try { + // 3. 执行原有的预约逻辑 int result = ticketService.bookTicket(params); - return R.ok(result > 0 ? "预约成功" : "预约失败"); + if (result > 0) { + // 4. 预约成功后,更新排班表状态 + DoctorSchedule schedule = new DoctorSchedule(); + schedule.setId(Math.toIntExact(slotId)); // 对应 XML 中的 WHERE id = #{id} + schedule.setIsStopped(true); // 设置为已预约 + schedule.setStopReason("booked"); // 设置停用原因 + + // 执行更新 + int updateCount = doctorScheduleMapper.updateDoctorSchedule(schedule); + + if (updateCount > 0) { + return R.ok("预约成功并已更新排班状态"); + } else { + // 如果更新失败,可能需要根据业务逻辑决定是否回滚预约 + return R.ok("预约成功,但排班状态更新失败"); + } + } else { + return R.fail("预约失败"); + } } catch (Exception e) { - return R.fail(e.getMessage()); + // e.printStackTrace(); + log.error(e.getMessage()); + return R.fail("系统异常:" + e.getMessage()); } } /** * 取消预约 * - * @param ticketId 号源ID + * @param slotId 医生排班ID * @return 结果 */ @Override - public R cancelTicket(Long ticketId) { - if (ticketId == null) { + public R cancelTicket(Long slotId) { + if (slotId == null) { return R.fail("参数错误"); } try { - int result = ticketService.cancelTicket(ticketId); - return R.ok(result > 0 ? "取消成功" : "取消失败"); + ticketService.cancelTicket(slotId); + DoctorSchedule schedule = new DoctorSchedule(); + schedule.setId(Math.toIntExact(slotId)); // 对应 WHERE id = #{id} + schedule.setIsStopped(false); // 设置为 false (数据库对应 0) + schedule.setStopReason(""); // 将原因清空 (设为空字符串) + // 3. 调用自定义更新方法 + int updateCount = doctorScheduleMapper.updateDoctorSchedule(schedule); + if (updateCount > 0) { + return R.ok("取消成功"); + } else { + return R.ok("取消成功"); + } } catch (Exception e) { return R.fail(e.getMessage()); } @@ -253,31 +168,87 @@ public class TicketAppServiceImpl implements ITicketAppService { @Override public R listAllTickets() { - // 创建固定的测试数据,用于验证前端是否能展示数据 - List testTickets = new ArrayList<>(); - - // 创建5条测试数据 - for (int i = 1; i <= 5; i++) { - TicketDto dto = new TicketDto(); - dto.setSlot_id((long) i); - dto.setBusNo("TEST0000" + i); - dto.setDepartment("内科"); - dto.setDoctor("张三"); - dto.setTicketType("expert"); - dto.setDateTime("08:00-08:50"); - dto.setStatus("未预约"); - dto.setFee("150"); - dto.setAppointmentDate(new Date()); - testTickets.add(dto); + // 1. 从 AppService 获取排班数据 + R response = doctorScheduleAppService.getDoctorScheduleList(); + // 获取返回的 List 数据 (假设 R.ok 里的数据是 List) + List scheduleList = (List) response.getData(); + + // 2. 转换数据为 TicketDto + List tickets = new ArrayList<>(); + + if (scheduleList != null) { + for (DoctorSchedule schedule : scheduleList) { + TicketDto dto = new TicketDto(); + + // 基础信息映射 + dto.setSlot_id(Long.valueOf(schedule.getId())); // Integer 转 Long + dto.setBusNo(String.valueOf(schedule.getId())); // 生成一个业务编号 + dto.setDepartment(String.valueOf(schedule.getDeptId())); // 如果有科室名建议关联查询,这里暂填ID + dto.setDoctor(schedule.getDoctor()); + + // 号源类型处理:根据挂号项目判断是普通号还是专家号 + String registerItem = schedule.getRegisterItem(); + if (registerItem != null && registerItem.contains("专家")) { + dto.setTicketType("expert"); + } else { + dto.setTicketType("general"); + } + // 时间处理:格式化为日期+时间范围,如 "2025-12-01 08:00-12:00" + String currentDate = LocalDate.now().toString(); // 或者从schedule中获取具体日期 + String timeRange = schedule.getStartTime() + "-" + schedule.getEndTime(); + dto.setDateTime(currentDate + " " + timeRange); + LocalTime nowTime = LocalTime.now(); + LocalTime endTime = schedule.getEndTime(); + String stopReason1 = schedule.getStopReason(); + if ("cancelled".equals(stopReason1)||(endTime != null && nowTime.isAfter(endTime))) { + dto.setStatus("已停诊"); + }else if (Boolean.TRUE.equals(schedule.getIsStopped())) { + // 获取原因并处理可能的空值 + String stopReason = schedule.getStopReason(); + // 使用 .equals() 比较内容,并将常量放在前面防止空指针 + if ("booked".equals(stopReason)) { + dto.setStatus("已预约"); + // --- 新增:获取患者信息 --- + List Order = orderMapper.selectOrderBySlotId(Long.valueOf(schedule.getId())); + Order latestOrder=Order.get(0); + + if (latestOrder != null) { + dto.setPatientName(latestOrder.getPatientName()); + dto.setPatientId(String.valueOf(latestOrder.getPatientId())); + dto.setPhone(latestOrder.getPhone()); + } + // ----------------------- + } else if ("checked".equals(stopReason)) { + dto.setStatus("已取号"); + } else { + // 兜底逻辑:如果 is_stopped 为 true 但没有匹配到原因 + dto.setStatus("不可预约"); + } + } else { + // is_stopped 为 false 或 null 时 + dto.setStatus("未预约"); + } + + // 费用处理 (挂号费 + 诊疗费) + int totalFee = schedule.getRegisterFee() + schedule.getDiagnosisFee(); + dto.setFee(String.valueOf(totalFee)); + + // 日期处理:LocalDateTime 转 Date + if (schedule.getCreateTime() != null) { + ZonedDateTime zdt = schedule.getCreateTime().atZone(ZoneId.systemDefault()); + dto.setAppointmentDate(Date.from(zdt.toInstant())); + } + + tickets.add(dto); + } } - - // 构建响应数据 + + // 3. 封装分页响应结构 Map result = new HashMap<>(); - result.put("list", testTickets); - result.put("total", testTickets.size()); + result.put("list", tickets); + result.put("total", tickets.size()); result.put("page", 1); result.put("limit", 20); - return R.ok(result); } @@ -322,9 +293,6 @@ public class TicketAppServiceImpl implements ITicketAppService { case "cancelled": dto.setStatus("已取消"); break; - case "locked": - dto.setStatus("已锁定"); - break; default: dto.setStatus(status); } diff --git a/openhis-server-new/openhis-application/src/main/java/com/openhis/web/appointmentmanage/controller/TicketController.java b/openhis-server-new/openhis-application/src/main/java/com/openhis/web/appointmentmanage/controller/TicketController.java index e8baeed0..ae5f5e6c 100644 --- a/openhis-server-new/openhis-application/src/main/java/com/openhis/web/appointmentmanage/controller/TicketController.java +++ b/openhis-server-new/openhis-application/src/main/java/com/openhis/web/appointmentmanage/controller/TicketController.java @@ -21,28 +21,6 @@ public class TicketController { @Resource private ITicketAppService ticketAppService; - - /** - * 查询号源列表 - * - * @param params 查询参数 - * @return 号源列表 - */ - @PostMapping("/list") - public R listTicket(@RequestBody Map params) { - return ticketAppService.listTicket(params); - } - - /** - * 查询号源列表(支持GET请求,兼容旧版本) - * - * @param params 查询参数 - * @return 号源列表 - */ - @GetMapping("/list") - public R listTicketByGet(@RequestParam Map params) { - return ticketAppService.listTicket(params); - } /** * 查询所有号源(用于测试) diff --git a/openhis-server-new/openhis-application/src/main/resources/mapper/appointmentmanage/DoctorScheduleMapper.xml b/openhis-server-new/openhis-application/src/main/resources/mapper/appointmentmanage/DoctorScheduleMapper.xml index f927eefc..c1f0a5f9 100644 --- a/openhis-server-new/openhis-application/src/main/resources/mapper/appointmentmanage/DoctorScheduleMapper.xml +++ b/openhis-server-new/openhis-application/src/main/resources/mapper/appointmentmanage/DoctorScheduleMapper.xml @@ -46,6 +46,29 @@ , #{updateTime} ) - + + + UPDATE adm_doctor_schedule + + weekday = #{weekday}, + time_period = #{timePeriod}, + doctor = #{doctor}, + clinic = #{clinic}, + start_time = #{startTime}, + end_time = #{endTime}, + limit_number = #{limitNumber}, + call_sign_record = #{callSignRecord}, + register_item = #{registerItem}, + register_fee = #{registerFee}, + diagnosis_item = #{diagnosisItem}, + diagnosis_fee = #{diagnosisFee}, + is_online = #{isOnline}, + is_stopped = #{isStopped}, + stop_reason = #{stopReason}, + dept_id = #{deptId}, + update_time = #{updateTime} + + WHERE id = #{id} + diff --git a/openhis-server-new/openhis-domain/src/main/java/com/openhis/appointmentmanage/mapper/DoctorScheduleMapper.java b/openhis-server-new/openhis-domain/src/main/java/com/openhis/appointmentmanage/mapper/DoctorScheduleMapper.java index 8dc18b2e..24bd1b8b 100644 --- a/openhis-server-new/openhis-domain/src/main/java/com/openhis/appointmentmanage/mapper/DoctorScheduleMapper.java +++ b/openhis-server-new/openhis-domain/src/main/java/com/openhis/appointmentmanage/mapper/DoctorScheduleMapper.java @@ -10,4 +10,8 @@ public interface DoctorScheduleMapper extends BaseMapper { * 自定义插入方法,排除id字段(数据库GENERATED ALWAYS) */ int insertWithoutId(DoctorSchedule doctorSchedule); + /** + * 自定义更新方法 + */ + int updateDoctorSchedule(DoctorSchedule doctorSchedule); } diff --git a/openhis-server-new/openhis-domain/src/main/java/com/openhis/clinical/mapper/OrderMapper.java b/openhis-server-new/openhis-domain/src/main/java/com/openhis/clinical/mapper/OrderMapper.java index 28ae0751..8a27dc08 100644 --- a/openhis-server-new/openhis-domain/src/main/java/com/openhis/clinical/mapper/OrderMapper.java +++ b/openhis-server-new/openhis-domain/src/main/java/com/openhis/clinical/mapper/OrderMapper.java @@ -27,7 +27,7 @@ public interface OrderMapper extends BaseMapper { int countOrders(Map params); - Order selectOrderBySlotId(Long slotId); + List selectOrderBySlotId(Long slotId); int updateOrderStatusById(Long id, Integer status); diff --git a/openhis-server-new/openhis-domain/src/main/java/com/openhis/clinical/service/IOrderService.java b/openhis-server-new/openhis-domain/src/main/java/com/openhis/clinical/service/IOrderService.java index dc824952..87c3e66c 100644 --- a/openhis-server-new/openhis-domain/src/main/java/com/openhis/clinical/service/IOrderService.java +++ b/openhis-server-new/openhis-domain/src/main/java/com/openhis/clinical/service/IOrderService.java @@ -25,8 +25,7 @@ public interface IOrderService extends IService { int countOrders(Map params); - Order selectOrderBySlotId(Long slotId); - + List selectOrderBySlotId(Long slotId); int updateOrderStatusById(Long id, Integer status); int updateOrderCancelInfoById(Long id, java.util.Date cancelTime, String cancelReason); diff --git a/openhis-server-new/openhis-domain/src/main/java/com/openhis/clinical/service/impl/OrderServiceImpl.java b/openhis-server-new/openhis-domain/src/main/java/com/openhis/clinical/service/impl/OrderServiceImpl.java index 9eb18eee..d6bc8e43 100644 --- a/openhis-server-new/openhis-domain/src/main/java/com/openhis/clinical/service/impl/OrderServiceImpl.java +++ b/openhis-server-new/openhis-domain/src/main/java/com/openhis/clinical/service/impl/OrderServiceImpl.java @@ -3,7 +3,6 @@ package com.openhis.clinical.service.impl; import com.baomidou.mybatisplus.extension.plugins.pagination.Page; import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; import com.core.common.utils.AssignSeqUtil; -import com.core.common.utils.SecurityUtils; import com.openhis.clinical.domain.Order; import com.openhis.clinical.domain.Ticket; import com.openhis.clinical.mapper.OrderMapper; @@ -71,7 +70,7 @@ public class OrderServiceImpl extends ServiceImpl implements } @Override - public Order selectOrderBySlotId(Long slotId) { + public List selectOrderBySlotId(Long slotId) { return orderMapper.selectOrderBySlotId(slotId); } diff --git a/openhis-server-new/openhis-domain/src/main/java/com/openhis/clinical/service/impl/TicketServiceImpl.java b/openhis-server-new/openhis-domain/src/main/java/com/openhis/clinical/service/impl/TicketServiceImpl.java index 183c27cf..08e456c0 100644 --- a/openhis-server-new/openhis-domain/src/main/java/com/openhis/clinical/service/impl/TicketServiceImpl.java +++ b/openhis-server-new/openhis-domain/src/main/java/com/openhis/clinical/service/impl/TicketServiceImpl.java @@ -197,8 +197,8 @@ public class TicketServiceImpl extends ServiceImpl impleme throw new RuntimeException("号源不可取消预约"); } - Order order = orderService.selectOrderBySlotId(ticketId); - if (order != null) { + List orders = orderService.selectOrderBySlotId(ticketId); + for(Order order:orders){ orderService.cancelAppointmentOrder(order.getId(), "患者取消预约"); } @@ -249,8 +249,8 @@ public class TicketServiceImpl extends ServiceImpl impleme } // 检查是否存在相关订单,如果存在则取消 - Order order = orderService.selectOrderBySlotId(ticketId); - if (order != null) { + List orders = orderService.selectOrderBySlotId(ticketId); + for(Order order:orders){ orderService.cancelAppointmentOrder(order.getId(), "医生停诊"); } diff --git a/openhis-server-new/openhis-domain/src/main/resources/mapper/clinical/OrderMapper.xml b/openhis-server-new/openhis-domain/src/main/resources/mapper/clinical/OrderMapper.xml index c3708321..4ade0b2d 100644 --- a/openhis-server-new/openhis-domain/src/main/resources/mapper/clinical/OrderMapper.xml +++ b/openhis-server-new/openhis-domain/src/main/resources/mapper/clinical/OrderMapper.xml @@ -119,6 +119,8 @@ - - + @@ -105,38 +104,34 @@
-
-
{{ index + 1 }}
-
- {{ item.ticketType === 'general' ? '普通' : '专家' }} -
-
-
{{ item.dateTime }}
-
{{ item.doctor }}
+ +
{{ index + 1 }}
+ +
{{ item.dateTime }}
+
{{ item.status }}
-
挂号费: {{ item.fee }}
- + +
{{ item.doctor }}
+ +
挂号费:{{ item.fee }}元
+ +
{{ item.ticketType === 'general' ? '普通' : '专家' }}
+
-
{{ item.patientName }}
-
{{ item.patientId }}
-
性别:{{ item.patientGender || '-' }}
+ {{ item.patientName }}({{ item.patientId }}) +
+ +
+ 电话号码: {{ item.phone }}
- -
@@ -166,7 +161,7 @@
- +
@@ -192,6 +187,11 @@
序号
+ + +
+ 未找到符合条件的患者,请检查搜索条件 +