更新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,4 +1,4 @@
<!--
<!--
* @Author: sjjh
* @Date: 2025-09-05 21:16:06
* @Description: 输血申请详情
@@ -17,7 +17,7 @@
</el-icon>
</div>
<div class="report-table-wrapper">
<el-table
<vxe-table
v-loading="loading"
:data="tableData"
border
@@ -25,39 +25,39 @@
height="100%"
style="width: 100%"
>
<el-table-column
type="index"
label="序号"
<vxe-column
type="seq"
title="序号"
width="60"
align="center"
/>
<el-table-column
prop="patientName"
label="患者姓名"
<vxe-column
field="patientName"
title="患者姓名"
width="120"
/>
<el-table-column
prop="name"
label="申请单名称"
<vxe-column
field="name"
title="申请单名称"
width="140"
/>
<el-table-column
prop="createTime"
label="创建时间"
<vxe-column
field="createTime"
title="创建时间"
width="160"
/>
<el-table-column
prop="prescriptionNo"
label="处方号"
<vxe-column
field="prescriptionNo"
title="处方号"
width="140"
/>
<el-table-column
prop="requesterId_dictText"
label="申请者"
<vxe-column
field="requesterId_dictText"
title="申请者"
width="120"
/>
<el-table-column
label="操作"
<vxe-column
title="操作"
align="center"
fixed="right"
>
@@ -70,8 +70,8 @@
详情
</el-button>
</template>
</el-table-column>
</el-table>
</vxe-column>
</vxe-table>
</div>
</div>
<!-- 详情弹窗 -->
@@ -156,38 +156,38 @@
v-if="currentDetail.requestFormDetailList && currentDetail.requestFormDetailList.length"
class="applicationShow-container-table"
>
<el-table
<vxe-table
:data="currentDetail.requestFormDetailList"
border
>
<el-table-column
type="index"
label="序号"
<vxe-column
type="seq"
title="序号"
width="60"
align="center"
/>
<el-table-column
prop="adviceName"
label="医嘱名称"
<vxe-column
field="adviceName"
title="医嘱名称"
/>
<el-table-column
prop="quantity"
label="数量"
<vxe-column
field="quantity"
title="数量"
width="80"
align="center"
/>
<el-table-column
prop="unitCode_dictText"
label="单位"
<vxe-column
field="unitCode_dictText"
title="单位"
width="100"
/>
<el-table-column
prop="totalPrice"
label="总价"
<vxe-column
field="totalPrice"
title="总价"
width="100"
align="right"
/>
</el-table>
</vxe-table>
</div>
</div>
<template #footer>

View File

@@ -1,4 +1,4 @@
<!--
<!--
* @Author: sjjh
* @Date: 2025-09-05 21:16:06
* @Description: 检查申请
@@ -106,7 +106,7 @@
</el-form>
</div>
<div class="report-table-wrapper">
<el-table
<vxe-table
v-loading="loading"
:data="tableData"
border
@@ -122,37 +122,37 @@
/>
</div>
</template>
<el-table-column
type="index"
label="序号"
<vxe-column
type="seq"
title="序号"
width="60"
align="center"
/>
<el-table-column
prop="patientName"
label="患者姓名"
<vxe-column
field="patientName"
title="患者姓名"
width="120"
/>
<el-table-column
label="申请单名称"
<vxe-column
title="申请单名称"
min-width="140"
>
<template #default="scope">
<span>{{ buildApplicationName(scope.row) }}</span>
</template>
</el-table-column>
<el-table-column
prop="createTime"
label="创建时间"
</vxe-column>
<vxe-column
field="createTime"
title="创建时间"
width="160"
/>
<el-table-column
prop="prescriptionNo"
label="申请单号"
<vxe-column
field="prescriptionNo"
title="申请单号"
width="140"
/>
<el-table-column
label="申请单状态"
<vxe-column
title="申请单状态"
width="120"
align="center"
>
@@ -165,14 +165,14 @@
{{ parseStatus(scope.row.status) }}
</el-tag>
</template>
</el-table-column>
<el-table-column
prop="requesterId_dictText"
label="申请者"
</vxe-column>
<vxe-column
field="requesterId_dictText"
title="申请者"
width="120"
/>
<el-table-column
label="操作"
<vxe-column
title="操作"
width="280"
align="center"
fixed="right"
@@ -255,8 +255,8 @@
<!-- 其他/未知状态仅详情 -->
<template v-else />
</template>
</el-table-column>
</el-table>
</vxe-column>
</vxe-table>
</div>
</div>
<!-- 详情弹窗 -->
@@ -346,38 +346,38 @@
v-if="currentDetail.requestFormDetailList && currentDetail.requestFormDetailList.length"
class="applicationShow-container-table"
>
<el-table
<vxe-table
:data="currentDetail.requestFormDetailList"
border
>
<el-table-column
type="index"
label="序号"
<vxe-column
type="seq"
title="序号"
width="60"
align="center"
/>
<el-table-column
prop="adviceName"
label="医嘱名称"
<vxe-column
field="adviceName"
title="医嘱名称"
/>
<el-table-column
prop="quantity"
label="数量"
<vxe-column
field="quantity"
title="数量"
width="80"
align="center"
/>
<el-table-column
prop="unitCode_dictText"
label="单位"
<vxe-column
field="unitCode_dictText"
title="单位"
width="100"
/>
<el-table-column
prop="totalPrice"
label="总价"
<vxe-column
field="totalPrice"
title="总价"
width="100"
align="right"
/>
</el-table>
</vxe-table>
</div>
</div>
<template #footer>

View File

@@ -1,4 +1,4 @@
<template>
<template>
<div class="nursing-status-container">
<div class="nursing-status-header">
<h3>护理状态</h3>
@@ -20,22 +20,22 @@
<template v-else>
<!-- 护理状态表格 -->
<el-table
<vxe-table
:data="nursingItems"
border
style="width: 100%"
class="nursing-table"
:header-cell-style="{ backgroundColor: '#f5f7fa' }"
>
<el-table-column
prop="item"
label="项目"
<vxe-column
field="item"
title="项目"
width="180"
align="center"
/>
<el-table-column
prop="currentStatus"
label="当前状态"
<vxe-column
field="currentStatus"
title="当前状态"
width="260"
align="center"
>
@@ -49,10 +49,10 @@
{{ scope.row.currentStatus }}
</el-tag>
</template>
</el-table-column>
<el-table-column
prop="operation"
label="操作"
</vxe-column>
<vxe-column
field="operation"
title="操作"
align="center"
>
<template #default="scope">
@@ -181,8 +181,8 @@
</div>
</div>
</template>
</el-table-column>
</el-table>
</vxe-column>
</vxe-table>
<!-- 操作按钮区域 -->
<div class="nursing-status-actions">
<el-button
@@ -997,11 +997,11 @@ const handleConfirm = async () => {
font-size: 14px;
color: #303133;
:deep(.el-table__header) {
:deep(.vxe-table--header) {
font-weight: 600;
}
:deep(.el-table__cell) {
:deep(.vxe-cell) {
padding: 12px 10px; /* 增加左右内边距 */
text-align: left; /* 调整为左对齐 */
border-right: 1px solid #ebeef5;
@@ -1010,16 +1010,16 @@ const handleConfirm = async () => {
min-height: 40px; /* 设置最小高度 */
}
:deep(.el-table__row:hover) {
:deep(.vxe-body--row:hover) {
background-color: #f5f7fa;
}
:deep(.el-table__row:nth-child(odd)) {
:deep(.vxe-body--row:nth-child(odd)) {
background-color: #fafafa;
}
/* 为操作列设置更宽的最小宽度 */
:deep(.el-table__column--operation) {
:deep(.vxe-table--column-operation) {
min-width: 400px !important;
}
}
@@ -1083,11 +1083,11 @@ const handleConfirm = async () => {
/* 响应式调整 */
@media (max-width: 1200px) {
.nursing-table {
:deep(.el-table__cell) {
:deep(.vxe-cell) {
padding: 8px 8px;
}
:deep(.el-table__column--operation) {
:deep(.vxe-table--column-operation) {
min-width: 350px !important;
}
}
@@ -1107,11 +1107,11 @@ const handleConfirm = async () => {
.nursing-table {
font-size: 12px;
:deep(.el-table__cell) {
:deep(.vxe-cell) {
padding: 6px 6px;
}
:deep(.el-table__column--operation) {
:deep(.vxe-table--column-operation) {
min-width: 300px !important;
}
}

View File

@@ -1,4 +1,4 @@
<template>
<template>
<div class="report-container">
<div class="report-section">
<div class="report-title">
@@ -12,7 +12,7 @@
</el-icon>
</div>
<div class="report-table-wrapper">
<el-table
<vxe-table
v-loading="loadingCheck"
:data="checkReportList"
border
@@ -20,24 +20,24 @@
height="100%"
style="width: 100%"
>
<el-table-column
type="index"
label="序号"
<vxe-column
type="seq"
title="序号"
width="60"
align="center"
/>
<el-table-column
prop="adviceName"
label="报告名称"
<vxe-column
field="adviceName"
title="报告名称"
width="140"
/>
<el-table-column
prop="reportNo"
label="报告号"
<vxe-column
field="reportNo"
title="报告号"
width="140"
/>
<el-table-column
label="链接"
<vxe-column
title="链接"
min-width="140"
>
<template #default="scope">
@@ -55,8 +55,8 @@
class="report-link-disabled"
>暂无链接</span>
</template>
</el-table-column>
</el-table>
</vxe-column>
</vxe-table>
</div>
</div>
<div class="report-section">
@@ -71,7 +71,7 @@
</el-icon>
</div>
<div class="report-table-wrapper">
<el-table
<vxe-table
v-loading="loadingInspection"
:data="inspectionReportList"
border
@@ -79,24 +79,24 @@
height="100%"
style="width: 100%"
>
<el-table-column
type="index"
label="序号"
<vxe-column
type="seq"
title="序号"
width="60"
align="center"
/>
<el-table-column
prop="adviceName"
label="报告名称"
<vxe-column
field="adviceName"
title="报告名称"
width="140"
/>
<el-table-column
prop="reportNo"
label="报告号"
<vxe-column
field="reportNo"
title="报告号"
width="140"
/>
<el-table-column
label="链接"
<vxe-column
title="链接"
min-width="140"
>
<template #default="scope">
@@ -114,8 +114,8 @@
class="report-link-disabled"
>暂无链接</span>
</template>
</el-table-column>
</el-table>
</vxe-column>
</vxe-table>
</div>
</div>
</div>

View File

@@ -1,4 +1,4 @@
<!--
<!--
* @Author: sjjh
* @Date: 2025-09-05 21:16:06
* @Description: 手术申请详情
@@ -102,7 +102,7 @@
</el-form>
</div>
<div class="report-table-wrapper">
<el-table
<vxe-table
v-loading="loading"
:data="tableData"
border
@@ -110,14 +110,14 @@
height="100%"
style="width: 100%"
>
<el-table-column
type="index"
label="序号"
<vxe-column
type="seq"
title="序号"
width="60"
align="center"
/>
<el-table-column
label="手术单号"
<vxe-column
title="手术单号"
min-width="160"
align="center"
>
@@ -129,29 +129,29 @@
{{ scope.row.prescriptionNo || '-' }}
</el-link>
</template>
</el-table-column>
<el-table-column
prop="patientName"
label="患者姓名"
</vxe-column>
<vxe-column
field="patientName"
title="患者姓名"
min-width="100"
/>
<el-table-column
prop="name"
label="申请单名称"
<vxe-column
field="name"
title="申请单名称"
min-width="140"
/>
<el-table-column
prop="createTime"
label="创建时间"
<vxe-column
field="createTime"
title="创建时间"
min-width="160"
/>
<el-table-column
prop="requesterId_dictText"
label="申请者"
<vxe-column
field="requesterId_dictText"
title="申请者"
min-width="100"
/>
<el-table-column
label="状态"
<vxe-column
title="状态"
min-width="100"
align="center"
>
@@ -163,9 +163,9 @@
{{ getStatusText(scope.row.status) }}
</el-tag>
</template>
</el-table-column>
<el-table-column
label="操作"
</vxe-column>
<vxe-column
title="操作"
min-width="100"
align="center"
fixed="right"
@@ -180,8 +180,8 @@
详情
</el-button>
</template>
</el-table-column>
</el-table>
</vxe-column>
</vxe-table>
</div>
</div>
<!-- 详情弹窗 -->
@@ -266,38 +266,38 @@
v-if="currentDetail.requestFormDetailList && currentDetail.requestFormDetailList.length"
class="applicationShow-container-table"
>
<el-table
<vxe-table
:data="currentDetail.requestFormDetailList"
border
>
<el-table-column
type="index"
label="序号"
<vxe-column
type="seq"
title="序号"
width="60"
align="center"
/>
<el-table-column
prop="adviceName"
label="医嘱名称"
<vxe-column
field="adviceName"
title="医嘱名称"
/>
<el-table-column
prop="quantity"
label="数量"
<vxe-column
field="quantity"
title="数量"
width="80"
align="center"
/>
<el-table-column
prop="unitCode_dictText"
label="单位"
<vxe-column
field="unitCode_dictText"
title="单位"
width="100"
/>
<el-table-column
prop="totalPrice"
label="总价"
<vxe-column
field="totalPrice"
title="总价"
width="100"
align="right"
/>
</el-table>
</vxe-table>
</div>
</div>
<template #footer>

View File

@@ -1,4 +1,4 @@
<!--
<!--
* @Author: sjjh
* @Date: 2025-09-05 21:16:06
* @Description: 检验申请
@@ -98,7 +98,7 @@
</el-form>
</div>
<div class="report-table-wrapper">
<el-table
<vxe-table
v-loading="loading"
:data="tableData"
border
@@ -114,19 +114,19 @@
/>
</div>
</template>
<el-table-column
type="index"
label="序号"
<vxe-column
type="seq"
title="序号"
width="60"
align="center"
/>
<el-table-column
prop="patientName"
label="患者姓名"
<vxe-column
field="patientName"
title="患者姓名"
width="120"
/>
<el-table-column
label="申请单名称"
<vxe-column
title="申请单名称"
width="140"
>
<template #default="scope">
@@ -138,19 +138,19 @@
<span>{{ buildApplicationName(scope.row) }}</span>
</el-tooltip>
</template>
</el-table-column>
<el-table-column
prop="createTime"
label="创建时间"
</vxe-column>
<vxe-column
field="createTime"
title="创建时间"
width="160"
/>
<el-table-column
prop="prescriptionNo"
label="申请单号"
<vxe-column
field="prescriptionNo"
title="申请单号"
width="140"
/>
<el-table-column
label="单据状态"
<vxe-column
title="单据状态"
width="100"
align="center"
>
@@ -165,32 +165,32 @@
{{ parseBillStatus(getBillStatus(scope.row)) }}
</el-tag>
</template>
</el-table-column>
<el-table-column
label="申请类型"
</vxe-column>
<vxe-column
title="申请类型"
width="100"
align="center"
>
<template #default="scope">
<span>{{ parsePriorityCode(scope.row.descJson) }}</span>
</template>
</el-table-column>
<el-table-column
label="标本类型"
</vxe-column>
<vxe-column
title="标本类型"
width="120"
align="center"
>
<template #default="scope">
<span>{{ parseSpecimenType(scope.row.descJson) }}</span>
</template>
</el-table-column>
<el-table-column
prop="requesterId_dictText"
label="申请者"
</vxe-column>
<vxe-column
field="requesterId_dictText"
title="申请者"
width="120"
/>
<el-table-column
label="操作"
<vxe-column
title="操作"
align="center"
fixed="right"
width="280"
@@ -238,8 +238,8 @@
</el-button>
</template>
</template>
</el-table-column>
</el-table>
</vxe-column>
</vxe-table>
</div>
</div>
<!-- 详情弹窗 -->
@@ -324,38 +324,38 @@
v-if="currentDetail.requestFormDetailList && currentDetail.requestFormDetailList.length"
class="applicationShow-container-table"
>
<el-table
<vxe-table
:data="currentDetail.requestFormDetailList"
border
>
<el-table-column
type="index"
label="序号"
<vxe-column
type="seq"
title="序号"
width="60"
align="center"
/>
<el-table-column
prop="adviceName"
label="医嘱名称"
<vxe-column
field="adviceName"
title="医嘱名称"
/>
<el-table-column
prop="quantity"
label="数量"
<vxe-column
field="quantity"
title="数量"
width="80"
align="center"
/>
<el-table-column
prop="unitCode_dictText"
label="单位"
<vxe-column
field="unitCode_dictText"
title="单位"
width="100"
/>
<el-table-column
prop="totalPrice"
label="总价"
<vxe-column
field="totalPrice"
title="总价"
width="100"
align="right"
/>
</el-table>
</vxe-table>
</div>
</div>
<template #footer>