From a5639b87ad18d2032d876be1bcb5c572f5285c44 Mon Sep 17 00:00:00 2001 From: wyuu Date: Mon, 13 Oct 2025 17:28:33 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/assets/styles/ruoyi.scss | 1 + .../DoubleClickInputTable/index.vue | 330 ++++++++++++++++++ src/components/SelectTable/index.vue | 131 +++++-- src/components/projectsjg/index.vue | 101 ++++++ src/components/vxeTable/index.vue | 2 +- src/views/checkCode/report/index.vue | 50 ++- src/views/index.vue | 28 +- .../liswork/work/components/ItemInput.vue | 5 +- src/views/liswork/work/components/labpat.vue | 64 ++-- .../liswork/work/components/labpatlist.vue | 37 +- .../liswork/work/components/labresult.vue | 212 ++++++----- src/views/liswork/work/index.vue | 33 +- 12 files changed, 738 insertions(+), 256 deletions(-) create mode 100644 src/components/DoubleClickInputTable/index.vue create mode 100644 src/components/projectsjg/index.vue diff --git a/src/assets/styles/ruoyi.scss b/src/assets/styles/ruoyi.scss index fff74fd..5439e5e 100644 --- a/src/assets/styles/ruoyi.scss +++ b/src/assets/styles/ruoyi.scss @@ -181,6 +181,7 @@ .vxe-table { border: 1px solid #96B8D9 !important; + border-top: none !important; /* 蓝色外边框 */ border-radius: 8px; /* 可选:添加边框圆角 */ diff --git a/src/components/DoubleClickInputTable/index.vue b/src/components/DoubleClickInputTable/index.vue new file mode 100644 index 0000000..6dfd745 --- /dev/null +++ b/src/components/DoubleClickInputTable/index.vue @@ -0,0 +1,330 @@ + + + + + diff --git a/src/components/SelectTable/index.vue b/src/components/SelectTable/index.vue index 179a9f6..fa0e743 100644 --- a/src/components/SelectTable/index.vue +++ b/src/components/SelectTable/index.vue @@ -10,30 +10,31 @@ * tableData[Required]: 表格数据对象 * value: 双向绑定数据的值(为空时data属性为表格当前行数据对象) * label: 选择框显示的文本内容(为空时分别查看value和objKey是否为空,若value和objKey都有值,则value优先级大于objKey) - * objKey: 对象key(绑定值的唯一标识,绑定值为对象时必填) + * objKey: 对象key(绑定值的唯一标识,绑定值为对象时必填) 数据回显对应值 * placeholder: 选择框占位文本 * size: 组件大小 * border: 表格是否带有边框 -->