eight
2024-11-25 82fa4ca26cd0791f83d6e44c0c731af53efa1c25
设备小票打印 就诊流水号 条码
已修改2个文件
3 ■■■■ 文件已修改
src/api/ecg/appointment/index.ts 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/ecg/doctor/components/DevReadyPanel.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/api/ecg/appointment/index.ts
@@ -4,6 +4,7 @@
export interface AppointmentVO {
  id: number,
  applyNo: string
  episodeId: number //就诊流水号
  patSrc: number
  patId: string // 患者编号
  patName: string // 患者姓名
src/views/ecg/doctor/components/DevReadyPanel.vue
@@ -382,7 +382,7 @@
  panel.addPrintText({ options: { width: 140, height: 12, top: 58, left: 20, title: curAppointment.patId, textAlign: 'center', fontSize: 10, fontFamily: '微软雅黑',  fontWeight: '700', } });
  panel.addPrintText({ options: { width: 140, height: 12, top: 72, left: 20, title: curAppointment.patMobile, textAlign: 'center', fontSize: 10, fontFamily: '微软雅黑',  fontWeight: '700', } });
//条形码
  panel.addPrintText({ options: { width: 140, height: 22, top: 86, left: 20, title: curAppointment.patId, textType: 'barcode' } });
  panel.addPrintText({ options: { width: 140, height: 22, top: 86, left: 20, title: curAppointment.episodeId, textType: 'barcode' } });
//打印
  if (undefined === printMode)