更新vxetable框架并升级前端组件框架
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user