Files
his/backup/vxetable-migration-20260602/medicationmanagement/statisticalManagement/patientMasterDetails.vue
华佗 1d21661a78 feat: Spring Boot 3.5.14 全量升级 + 组件升级
核心升级:
- Spring Boot 2.7.18 → 3.5.14
- MyBatis Plus 3.5.5 → 3.5.16 (spring-boot3-starter)
- Springdoc 1.8.0 → 2.8.6 (OpenAPI 3)
- Flowable 6.8.0 → 7.1.0
- Druid 1.2.x → 1.2.28 (boot3-starter)
- kotlin-reflect 1.9.10 → 1.9.25

迁移适配:
- javax → jakarta 命名空间 (620+ 文件)
- Swagger 注解迁移到 OpenAPI 3 (@Tag/@Schema/@Operation/@Parameter)
- Spring Security 6.2 适配 (antMatchers→requestMatchers, EnableMethodSecurity)
- Druid 包名迁移 (boot→boot3)
- Redis 配置路径迁移 (spring.redis→spring.data.redis)
- Flyway 适配 (flyway-database-postgresql)
- Flowable 7.x 适配 (MULE_TASK_IMAGE 移除)

修复:
- spring-boot-maven-plugin 2.5.15→3.5.14 (SPI服务发现失效)
- mybatis-plus-boot-starter 3.5.5→3.5.16 (kotlin-reflect+fastjson2冲突)
- Flowable database-schema-update 启用自动建表

验证: 23/23 测试通过, 1374 API端点正常
2026-06-04 22:39:49 +08:00

191 lines
4.4 KiB
Vue
Executable File

<template>
<div class="app-container">
<el-table
v-loading="loading"
:data="patientMasterList"
@selection-change="handleSelectionChange"
>
<el-table-column
type="selection"
width="50"
align="center"
/>
<el-table-column
key="encounterBusNo"
label="门诊住院号"
align="center"
prop="encounterBusNo"
width="200"
:show-overflow-tooltip="true"
/>
<el-table-column
key="patientName"
label="患者姓名"
align="center"
prop="patientName"
width="140"
:show-overflow-tooltip="true"
/>
<el-table-column
key="idCard"
label="身份证号"
align="center"
prop="idCard"
width="200"
:show-overflow-tooltip="true"
/>
<el-table-column
key="psnNo"
label="人员编码"
align="center"
prop="psnNo"
width="200"
:show-overflow-tooltip="true"
/>
<el-table-column
key="insuPlcNo"
label="参保地区"
align="center"
prop="insuPlcNo"
width="140px"
:show-overflow-tooltip="true"
/>
<el-table-column
key="ybType"
label="参保类型"
align="center"
prop="ybType"
width="140"
:show-overflow-tooltip="true"
/>
<el-table-column
key="encounterStartTime"
label="入院时间"
align="center"
prop="encounterStartTime"
width="160"
:show-overflow-tooltip="true"
>
<template #default="scope">
<span>{{ parseTime(scope.row.occurrenceTime) }}</span>
</template>
</el-table-column>
<el-table-column
key="encounterEndTime"
label="出院时间"
align="center"
prop="encounterEndTime"
width="160"
:show-overflow-tooltip="true"
>
<template #default="scope">
<span>{{ parseTime(scope.row.approvalTime) }}</span>
</template>
</el-table-column>
<el-table-column
key="issueTime"
label="处方日期"
align="center"
prop="issueTime"
width="160"
:show-overflow-tooltip="true"
>
<template #default="scope">
<span>{{ parseTime(scope.row.approvalTime) }}</span>
</template>
</el-table-column>
<el-table-column
key="outDiagnoseName"
label="出院诊断"
align="center"
prop="outDiagnoseName"
width="160"
:show-overflow-tooltip="true"
/>
<el-table-column
key="feeAmount"
label="总费用(元)"
align="center"
prop="feeAmount"
width="140"
:show-overflow-tooltip="true"
/>
<el-table-column
key="inscpScpAmt"
label="政策范围内"
align="center"
prop="inscpScpAmt"
width="100"
:show-overflow-tooltip="true"
/>
<el-table-column
key="tcPayAmount"
label="基本医保统筹支付金额(元)"
align="center"
prop="tcPayAmount"
width="200"
:show-overflow-tooltip="true"
/>
</el-table>
<pagination
v-show="total > 0"
v-model:page="queryParams.pageNo"
v-model:limit="queryParams.pageSize"
:total="total"
@pagination="getList"
/>
</div>
</template>
<script setup name="patientMasterDetails">
import {getReportPatientMasterDetail} from './statisticalManagent';
const patientMasterList = ref([]);
const loading = ref(true);
const ids = ref([]);
const total = ref(0);
const queryParams = ref({
pageNo: 1,
pageSize: 10,
searchKey: undefined,
encounterBusNo: undefined,
patientName: undefined,
});
/** 查询调拨管理项目列表 */
function getList() {
loading.value = true;
getReportPatientMasterDetail(queryParams.value).then((res) => {
loading.value = false;
patientMasterList.value = res.data.records;
total.value = res.data.total;
})
}
/** 选择条数 */
function handleSelectionChange(selection) {
ids.value = selection.map((item) => item.id);
single.value = selection.length != 1;
multiple.value = !selection.length;
}
// 页面加载时获取数据
onMounted(() => {
getList();
});
</script>
<style scoped>
.custom-tree-node {
display: flex;
align-items: center;
}
.title {
font-weight: bold;
font-size: large;
margin-bottom: 10px;
}
</style>