From cde643598216c692aed2235aad04f98abf1fc545 Mon Sep 17 00:00:00 2001 From: wuyy Date: Fri, 14 Aug 2026 17:57:50 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=B4=E5=BA=8A=E5=8F=91=E8=A1=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/blood/index.ts | 18 + src/assets/styles/index.scss | 26 +- src/components/BloodStockNotify/index.vue | 8 +- src/views/blood/clinical/index.vue | 663 ++++++++++++++++++++++ src/views/blood/crossMatching/index.vue | 224 ++++++-- src/views/blood/recheck/index.vue | 5 +- 6 files changed, 870 insertions(+), 74 deletions(-) create mode 100644 src/views/blood/clinical/index.vue diff --git a/src/api/blood/index.ts b/src/api/blood/index.ts index 1fabf00..41bd1a7 100644 --- a/src/api/blood/index.ts +++ b/src/api/blood/index.ts @@ -201,3 +201,21 @@ export function deleteBloodInfoMatch(query?: Object) { }) } +// 查询血液库存 +export function queryBloodStockList(query?: Object) { + return request({ + url: '/bus/bloodbank/matchBlood/queryBloodStock', + method: 'get', + params: query + }) +} + +// 查询检验结果列表 +export function queryListResult(query?: Object) { + return request({ + url: '/bus/bloodbank/matchBlood/queryListResult', + method: 'get', + params: query + }) +} + diff --git a/src/assets/styles/index.scss b/src/assets/styles/index.scss index d411477..ce6d7f7 100644 --- a/src/assets/styles/index.scss +++ b/src/assets/styles/index.scss @@ -537,16 +537,27 @@ aside { } - .el-scrollbar__thumb { - background-color: #d8d8d8 !important; - opacity: 1; + .el-scrollbar__bar.is-vertical { + width: .5rem; + + .el-scrollbar__thumb { + background: #817e7e !important; + border-radius: 4px; + opacity: 0.8; + } } - .el-scrollbar__thumb:hover { - background-color: #d8d8d8 !important; - opacity: 1; + .el-scrollbar__bar.is-horizontal { + height: .5rem; + + .el-scrollbar__thumb { + background: #817e7e !important; + border-radius: 4px; + opacity: 0.8; + } } + .cell.el-tooltip { min-width: 0; } @@ -600,6 +611,7 @@ aside { .el-table__empty-block { width: 100% !important; + height: 100% !important; } --el-table-border-color:#ccc; // 边框颜色 @@ -615,6 +627,8 @@ aside { .el-table__row { border-color: #ccc !important; } + + } diff --git a/src/components/BloodStockNotify/index.vue b/src/components/BloodStockNotify/index.vue index 89760b2..d64f592 100644 --- a/src/components/BloodStockNotify/index.vue +++ b/src/components/BloodStockNotify/index.vue @@ -131,14 +131,9 @@ const setting = reactive({ // 设置弹窗临时缓存选中值 const tempType = ref('1') -const loadConfig = () => { - const cache = localStorage.getItem('bloodStockNotify') - if (cache) Object.assign(setting, JSON.parse(cache)) -} + const saveSetting = () => { - // 点击确定按钮,才覆盖真实类型,页面布局才切换 setting.type = tempType.value - localStorage.setItem('bloodStockNotify', JSON.stringify(setting)) settingVisible.value = false refreshStock() } @@ -199,7 +194,6 @@ onMounted(() => { tempType.value = '2' } - loadConfig() refreshStock() }) diff --git a/src/views/blood/clinical/index.vue b/src/views/blood/clinical/index.vue new file mode 100644 index 0000000..8b3b770 --- /dev/null +++ b/src/views/blood/clinical/index.vue @@ -0,0 +1,663 @@ +/** +* @file index.vue +* @description: 交叉配血 +* @author: w +* @since: 2026-06-18 +*/ + + + + + \ No newline at end of file diff --git a/src/views/blood/crossMatching/index.vue b/src/views/blood/crossMatching/index.vue index 564387a..6668de7 100644 --- a/src/views/blood/crossMatching/index.vue +++ b/src/views/blood/crossMatching/index.vue @@ -11,8 +11,8 @@ 检索 新增单据 作废整单 - 血液库存 - 检验结果 + 血液库存 + 检验结果 保存 打印 @@ -120,28 +120,23 @@ - - - - - - + - + - + - + @@ -170,7 +165,7 @@ - +