一、整体架构设计
采用分层架构模式:
前端:Uniapp (Vue3 + Vite)
后端:Spring Boot 2.7 + MyBatis Plus
通信:RESTful API + WebSocket
数据库:MySQL 8.0
二、患者信息管理模块
1. 核心功能实现
- 患者档案管理(CRUD操作)
- 身份证OCR识别(集成百度AI)
- 就诊记录时间轴展示
2. 跨端关键代码
<template>
<scroll-view :scroll-y="true">
<uni-card v-for="item in patientList" :key="item.id">
<uni-section title="基本信息">
<uni-list>
<uni-list-item :title="`姓名:${item.name}`" />
<uni-list-item :title="`性别:${item.gender | genderFilter}`" />
</uni-list>
</uni-section>
</uni-card>
</scroll-view>
</template>
<script setup>
import { ref } from 'vue'
const patientList = ref([])
// 获取患者数据
const fetchPatients = async () => {
const res = await uni.request({
url: '

最低0.47元/天 解锁文章
1263

被折叠的 条评论
为什么被折叠?



