|  |  | 
 |  |  |   bookTime: Date // 预约发生时间, 点击预约的时间 | 
 |  |  |   bookCheckType: number // 预约检查类型 | 
 |  |  |   paid: number //已付款 | 
 |  |  |   bookSeqNum: number | 
 |  |  | } | 
 |  |  |  | 
 |  |  | // 预约 API | 
 
 |  |  | 
 |  |  |     bookTimeslot: 9301030, | 
 |  |  |     bookCheckType: checkTypeStore.getCheckTypeName(100), | 
 |  |  |     paid: 0, | 
 |  |  |     bookSeqNum: 0 | 
 |  |  |   } | 
 |  |  |   formRef.value?.resetFields() | 
 |  |  | } | 
 
 |  |  | 
 |  |  |   panel.addPrintText({ options: { width: 140, height: 12, top: 44, left: 20, title: bookTime, textAlign: 'center', fontSize: 8 } }); | 
 |  |  |   //panel.addPrintText({ options: { width: 140, height: 12, top: 58, left: 20, title: props.appointment.patId, textAlign: 'center', fontSize: 8 } }); | 
 |  |  |   //panel.addPrintText({ options: { width: 140, height: 12, top: 72, left: 20, title: props.appointment.patMobile, textAlign: 'center', fontSize: 8, fontFamily: '微软雅黑',  fontWeight: '700', } }); | 
 |  |  |   const _bookSeqNum = bookSeqNum.value + ''  // !!需要字符串 | 
 |  |  |   panel.addPrintText({ options: { width: 140, height: 12, top: 62, left: 20, title: _bookSeqNum, textAlign: 'center', fontSize: 16, fontFamily: '微软雅黑',  fontWeight: '900' } }); | 
 |  |  |   const _bookSeqNum = bookSeqNum.value??props.appointment?.bookSeqNum | 
 |  |  |   panel.addPrintText({ options: { width: 140, height: 12, top: 62, left: 20, title: ''+_bookSeqNum, textAlign: 'center', fontSize: 16, fontFamily: '微软雅黑',  fontWeight: '900' } }); | 
 |  |  |  | 
 |  |  | //打印 | 
 |  |  |   if (undefined === printMode) | 
 |  |  | 
 |  |  |           :disabled="item.queueVipNo === item.queueVipFull" | 
 |  |  |       /> | 
 |  |  |     </el-select> | 
 |  |  |     {{bookSeqNum}} | 
 |  |  |     {{bookSeqNum??appointment.bookSeqNum}} | 
 |  |  |     <el-divider/> | 
 |  |  |     <el-button @click="_confirmAppointment" :type="isCurrentDay(appointment.bookDate)?'primary':'warning'"><Icon icon="ep:list" class="mr-5px" /> 排队 </el-button> | 
 |  |  |     <el-button @click="_printNote(8)"><Icon icon="ep:printer" class="mr-5px" /> 打印号 </el-button> | 
 
 |  |  | 
 |  |  | // 想要实现拖拽设计页面,请往下看 '自定义设计' | 
 |  |  |   var hiprintTemplate = new hiprint.PrintTemplate();  // 可传参数 | 
 |  |  |   //var panel = hiprintTemplate.addPrintPanel({ width: 100, height: 130, paperFooter: 340, paperHeader: 10 }); 导致走三页 | 
 |  |  |   var panel = hiprintTemplate.addPrintPanel({ width: 140, height: 130, paperNumberDisabled:true});  | 
 |  |  |   var panel = hiprintTemplate.addPrintPanel({ width: 140, height: 130, paperNumberDisabled:true}); | 
 |  |  | //文本 | 
 |  |  |   const checkTypeName = checkTypeStore.getCheckTypeName(curAppointment.bookCheckType) | 
 |  |  |   panel.addPrintText({ options: { width: 140, height: 12, top: 2, left: 20, title: checkTypeName, textAlign: 'center', fontSize: 8, fontFamily: '微软雅黑',  fontWeight: '700', } }); |