更新vxetable框架并升级前端组件框架

This commit is contained in:
2026-06-03 11:19:52 +08:00
parent 5b6b23331d
commit 5a2050a736
385 changed files with 19691 additions and 21188 deletions

View File

@@ -1,18 +1,18 @@
<template>
<template>
<div>
<div class="business">
<!-- <el-table
<!-- <vxe-table
:data="tableDataSource"
border
stripe
fit
:header-cell-style="{ background: '#f2f2f2', color: 'black' }"
>
<el-table-column prop="content.recordTime" label="记录时间" />
<el-table-column prop="content.totalScore" label="评估分数" />
<el-table-column prop="content.patientCareSessionsTableList" label="护理措施" />
<el-table-column prop="content.nurseSignature" label="责任护士" />
<el-table-column label="操作" align="center">
<vxe-column field="content.recordTime" title="记录时间" />
<vxe-column field="content.totalScore" title="评估分数" />
<vxe-column field="content.patientCareSessionsTableList" title="护理措施" />
<vxe-column field="content.nurseSignature" title="责任护士" />
<vxe-column title="操作" align="center">
<template #default="scope">
<el-button
plain
@@ -33,8 +33,8 @@
删除
</el-button>
</template>
</el-table-column>
</el-table> -->
</vxe-column>
</vxe-table> -->
<div
name="跌倒/坠床评估护理记录单"
@@ -116,23 +116,23 @@
</el-form-item>
<el-form-item style="padding-top: 10px; margin: 0px !important">
<el-table
<vxe-table
:data="dangerData"
border
:span-method="handleSpan"
style="text-align: center"
>
<el-table-column
<vxe-column
v-for="column in dangerColumns"
:key="column.key"
:prop="column.key"
:field="column.key"
:width="column.width"
:label="column.title"
:title="column.title"
align="center"
/>
<el-table-column
prop="id"
label="选择"
<vxe-column
field="id"
title="选择"
width="80"
align="center"
>
@@ -142,8 +142,8 @@
@change="handleDangerChange(row)"
/>
</template>
</el-table-column>
</el-table>
</vxe-column>
</vxe-table>
</el-form-item>
<el-form-item
@@ -159,23 +159,23 @@
</el-form-item>
<el-form-item style="padding-top: 10px">
<el-table
<vxe-table
:data="nursingData"
border
:span-method="arraySpanMethod"
style="width: 100%"
>
<el-table-column
<vxe-column
v-for="column in nursingColumns"
:key="column.key"
:prop="column.key"
:field="column.key"
:width="column.width"
:label="column.title"
:title="column.title"
align="center"
/>
<el-table-column
prop="id"
label="选择"
<vxe-column
field="id"
title="选择"
width="80"
align="center"
>
@@ -185,8 +185,8 @@
@change="handleNursingChange(row)"
/>
</template>
</el-table-column>
</el-table>
</vxe-column>
</vxe-table>
</el-form-item>
<el-form-item

View File

@@ -1,4 +1,4 @@
<template>
<template>
<div class="hospital-record-form">
<el-tabs
v-model="activeName"
@@ -67,7 +67,7 @@ import formDataJs from '../views/doctorstation/components/store/medicalpage';
import medicalRecordPrint from '../views/hospitalRecord/components/medicalRecordPrint.vue';
import {previewPrint} from '../utils/printUtils';
import {getEncounterDiagnosis, getTcmDiagnosis,} from '../views/inpatientDoctor/home/components/api';
import {cloneDeep} from 'lodash';
import {cloneDeep} from 'lodash-es';
const firstRef = ref();
const commpoentType = 'medicalRecord';

View File

@@ -1,4 +1,4 @@
<!--
<!--
* @Author: sjjh
* @Date: 2025-10-08 23:33:29
* @Description: 护理记录单
@@ -92,13 +92,13 @@
<!-- 基本信息记录表格 -->
<div class="vital-signs-table">
<el-table
<vxe-table
:data="state.formData.vitalSigns"
border
style="width: 100%"
>
<el-table-column
label="日期"
<vxe-column
title="日期"
width="100"
>
<template #default="scope">
@@ -111,9 +111,9 @@
style="width: 100%"
/>
</template>
</el-table-column>
<el-table-column
label="时间"
</vxe-column>
<vxe-column
title="时间"
width="100"
>
<template #default="scope">
@@ -125,10 +125,10 @@
style="width: 100%"
/>
</template>
</el-table-column>
<el-table-column label="基本信息">
<el-table-column
label="意识"
</vxe-column>
<vxe-column title="基本信息">
<vxe-column
title="意识"
width="80"
>
<template #default="scope">
@@ -150,9 +150,9 @@
/>
</el-select>
</template>
</el-table-column>
<el-table-column
label="体温℃"
</vxe-column>
<vxe-column
title="体温℃"
width="80"
>
<template #default="scope">
@@ -161,9 +161,9 @@
placeholder="体温"
/>
</template>
</el-table-column>
<el-table-column
label="心率次/分"
</vxe-column>
<vxe-column
title="心率次/分"
width="100"
>
<template #default="scope">
@@ -172,9 +172,9 @@
placeholder="心率"
/>
</template>
</el-table-column>
<el-table-column
label="脉搏次/分"
</vxe-column>
<vxe-column
title="脉搏次/分"
width="100"
>
<template #default="scope">
@@ -183,9 +183,9 @@
placeholder="心率"
/>
</template>
</el-table-column>
<el-table-column
label="呼吸次/分"
</vxe-column>
<vxe-column
title="呼吸次/分"
width="100"
>
<template #default="scope">
@@ -194,9 +194,9 @@
placeholder="呼吸"
/>
</template>
</el-table-column>
<el-table-column
label="血压mmHg"
</vxe-column>
<vxe-column
title="血压mmHg"
width="120"
>
<template #default="scope">
@@ -205,9 +205,9 @@
placeholder="血压"
/>
</template>
</el-table-column>
<el-table-column
label="血氧饱和度"
</vxe-column>
<vxe-column
title="血氧饱和度"
width="120"
>
<template #default="scope">
@@ -216,13 +216,13 @@
placeholder="血压"
/>
</template>
</el-table-column>
</el-table-column>
<el-table-column
label="氧疗L/min"
</vxe-column>
</vxe-column>
<vxe-column
title="氧疗L/min"
width="200"
>
<el-table-column label="方式">
<vxe-column title="方式">
<template #default="scope">
<el-select
v-model="scope.row.intake"
@@ -242,9 +242,9 @@
/>
</el-select>
</template>
</el-table-column>
<el-table-column
label="流量"
</vxe-column>
<vxe-column
title="流量"
width="80"
>
<template #default="scope">
@@ -253,13 +253,13 @@
placeholder="流量"
/>
</template>
</el-table-column>
</el-table-column>
<el-table-column
label="入量"
</vxe-column>
</vxe-column>
<vxe-column
title="入量"
width="200"
>
<el-table-column label="名称">
<vxe-column title="名称">
<template #default="scope">
<el-select
v-model="scope.row.intake"
@@ -279,9 +279,9 @@
/>
</el-select>
</template>
</el-table-column>
<el-table-column
label="ml"
</vxe-column>
<vxe-column
title="ml"
width="80"
>
<template #default="scope">
@@ -290,9 +290,9 @@
placeholder="流量"
/>
</template>
</el-table-column>
<el-table-column
label="途径"
</vxe-column>
<vxe-column
title="途径"
width="80"
>
<template #default="scope">
@@ -301,13 +301,13 @@
placeholder="流量"
/>
</template>
</el-table-column>
</el-table-column>
<el-table-column
label="出量"
</vxe-column>
</vxe-column>
<vxe-column
title="出量"
width="200"
>
<el-table-column label="名称">
<vxe-column title="名称">
<template #default="scope">
<el-select
v-model="scope.row.intake"
@@ -327,9 +327,9 @@
/>
</el-select>
</template>
</el-table-column>
<el-table-column
label="ml"
</vxe-column>
<vxe-column
title="ml"
width="80"
>
<template #default="scope">
@@ -338,10 +338,10 @@
placeholder="流量"
/>
</template>
</el-table-column>
</el-table-column>
<el-table-column
label="皮肤情况"
</vxe-column>
</vxe-column>
<vxe-column
title="皮肤情况"
width="80"
>
<template #default="scope">
@@ -350,9 +350,9 @@
placeholder="流量"
/>
</template>
</el-table-column>
<el-table-column
label="管路护理"
</vxe-column>
<vxe-column
title="管路护理"
width="80"
>
<template #default="scope">
@@ -361,9 +361,9 @@
placeholder="流量"
/>
</template>
</el-table-column>
<el-table-column
label="病情与措施"
</vxe-column>
<vxe-column
title="病情与措施"
width="80"
>
<template #default="scope">
@@ -372,9 +372,9 @@
placeholder="流量"
/>
</template>
</el-table-column>
<el-table-column
label="护士签名"
</vxe-column>
<vxe-column
title="护士签名"
width="100"
>
<template #default="scope">
@@ -383,9 +383,9 @@
placeholder="签名"
/>
</template>
</el-table-column>
<el-table-column
label="操作"
</vxe-column>
<vxe-column
title="操作"
width="120"
fixed="right"
>
@@ -393,13 +393,13 @@
<el-button
type="danger"
size="small"
@click="removeVitalSign(scope.$index)"
@click="removeVitalSign(scope.rowIndex)"
>
删除
</el-button>
</template>
</el-table-column>
</el-table>
</vxe-column>
</vxe-table>
<div class="add-row">
<el-button
type="primary"