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:
2026-06-04 16:04:17 +08:00
parent 03d03649df
commit dc67c00d20
196 changed files with 416 additions and 520 deletions

View File

@@ -1,5 +1,5 @@
<template>
<el-dialog :title="title" v-model="visible" :width="width" append-to-body @close="handleClose">
<el-dialog :title="title" v-model="visible" :width="width" teleported @close="handleClose">
<el-upload ref="uploadRef" :limit="1" accept=".xlsx, .xls" :headers="headers" :action="uploadUrl" :disabled="isUploading" :on-progress="handleProgress" :on-change="handleFileChange" :on-remove="handleFileRemove" :on-success="handleSuccess" :auto-upload="false" drag>
<el-icon class="el-icon--upload"><upload-filled /></el-icon>
<div class="el-upload__text">将文件拖到此处<em>点击上传</em></div>

View File

@@ -40,7 +40,7 @@
v-model="dialogVisible"
title="预览"
width="800px"
append-to-body
teleported
>
<img
:src="dialogImageUrl"

View File

@@ -59,7 +59,7 @@
v-model="detailVisible"
:title="currentNotice.noticeTitle"
width="800px"
append-to-body
teleported
>
<div class="notice-detail">
<div class="detail-header">

View File

@@ -3,7 +3,7 @@
v-model="props.openDialog"
title="药品追溯码"
width="842"
append-to-body
teleported
destroy-on-close
:draggable="true"
@close="cancel"

View File

@@ -61,7 +61,7 @@
<el-dropdown-item>
<el-checkbox
:checked="item.visible"
:label="item.label"
:value="item.label"
@change="checkboxChange($event, item.label)"
/>
</el-dropdown-item>
@@ -74,7 +74,7 @@
<el-dialog
v-model="open"
:title="title"
append-to-body
teleported
>
<el-transfer
v-model="value"