refactor(ui): 更新组件属性以符合新版本规范
- 将所有组件中的 append-to-body 属性替换为 teleported - 为 el-radio 和 el-checkbox 组件添加正确的 value 属性 - 移除已弃用的 highlight-current-row 属性 - 为 vxe-table 添加 row-config 配置替代旧的高亮设置 - 更新 el-checkbox 的 true-value 属性值 - 修改 el-button 类型从 text 到 link 以匹配设计系统
This commit is contained in:
@@ -29,7 +29,7 @@
|
||||
</div>
|
||||
<!-- 待入科列表 -->
|
||||
<div class="patientList-table">
|
||||
<vxe-table :data="patientListData" :row-config="{ keyField: 'id' }" style="width: 100%; height: 100%" highlight-current-row
|
||||
<vxe-table :data="patientListData" :row-config="{ keyField: 'id' }" style="width: 100%; height: 100%"
|
||||
@checkbox-change="handleSelectionChange" :show-header="false" show-overflow>
|
||||
<!-- <vxe-column type="checkbox" :width="isCollapsed ? 14 : 20" /> -->
|
||||
<vxe-column title="姓名" field="name" min-width="100">
|
||||
|
||||
@@ -139,7 +139,7 @@
|
||||
>
|
||||
<el-checkbox
|
||||
v-model="time.checked"
|
||||
:label="`${time.time + time.nurse}`"
|
||||
:value="`${time.time + time.nurse}`"
|
||||
border
|
||||
/>
|
||||
</span>
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
</div>
|
||||
<!-- 待入科列表 -->
|
||||
<div class="patientList-table">
|
||||
<vxe-table :data="patientListData" :row-config="{ keyField: 'id' }" style="width: 100%; height: 100%" highlight-current-row
|
||||
<vxe-table :data="patientListData" :row-config="{ keyField: 'id' }" style="width: 100%; height: 100%"
|
||||
@checkbox-change="handleSelectionChange" :show-header="false" show-overflow>
|
||||
<!-- <vxe-column type="checkbox" :width="isCollapsed ? 14 : 20" /> -->
|
||||
<vxe-column title="姓名" field="name" min-width="100">
|
||||
|
||||
Reference in New Issue
Block a user