|
@@ -32,8 +32,8 @@
|
|
|
<div>
|
|
|
<el-select v-model="dialogData.abnormal">
|
|
|
<el-option label="全部异常情况" :value="''"></el-option>
|
|
|
- <el-option label="指标检查异常" value="指标检查异常"></el-option>
|
|
|
- <el-option label="影像检查异常" value="影像检查异常"></el-option>
|
|
|
+ <el-option label="血检指标异常" value="血检指标异常"></el-option>
|
|
|
+ <el-option label="影像学检查异常" value="影像学检查异常"></el-option>
|
|
|
<el-option label="其他异常" value="其他异常"></el-option>
|
|
|
</el-select>
|
|
|
<el-button type="primary" class="ml-2" @click="dialogPageChange(1)"
|
|
@@ -65,26 +65,28 @@
|
|
|
{{ formatAge(row.archives?.birthday) }}
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column label="指标检查异常">
|
|
|
+ <el-table-column label="血检指标异常">
|
|
|
<template #default="{ row }">
|
|
|
<el-tag
|
|
|
v-for="(item, index) in formatAbnormalIndicatorGroupList(
|
|
|
row,
|
|
|
- '指标检查异常'
|
|
|
+ '血检指标异常'
|
|
|
)"
|
|
|
+ class="mr-1 mb-1"
|
|
|
:key="index"
|
|
|
type="danger"
|
|
|
>{{ item.indicatorName }}</el-tag
|
|
|
>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column label="影像检查异常">
|
|
|
+ <el-table-column label="影像学检查异常">
|
|
|
<template #default="{ row }">
|
|
|
<el-tag
|
|
|
v-for="(item, index) in formatAbnormalIndicatorGroupList(
|
|
|
row,
|
|
|
- '影像检查异常'
|
|
|
+ '影像学检查异常'
|
|
|
)"
|
|
|
+ class="mr-1 mb-1"
|
|
|
:key="index"
|
|
|
type="danger"
|
|
|
>{{ item.indicatorName }}</el-tag
|
|
@@ -98,6 +100,7 @@
|
|
|
row,
|
|
|
'其他异常'
|
|
|
)"
|
|
|
+ class="mr-1 mb-1"
|
|
|
:key="index"
|
|
|
type="danger"
|
|
|
>{{ item.indicatorName }}</el-tag
|
|
@@ -149,7 +152,7 @@ const useLargeScreenHook = useLargeScreenStoreHook();
|
|
|
const largeScreenGlobalData = computed(() => {
|
|
|
return useLargeScreenHook?.largeScreenGlobalData;
|
|
|
});
|
|
|
-import { formatAge, parseJsonData, request } from "@/utils";
|
|
|
+import { formatAge, parseJsonData, request, unique } from "@/utils";
|
|
|
import { ElLoading } from "element-plus";
|
|
|
import { nextTick } from "vue";
|
|
|
const imgs = [
|
|
@@ -265,7 +268,8 @@ const formatAbnormalIndicatorGroupList = (row, groupName) => {
|
|
|
const item = row.abnormalIndicatorGroupList.find(
|
|
|
v => v.groupName == groupName
|
|
|
);
|
|
|
- return item?.list || [];
|
|
|
+
|
|
|
+ return unique(item?.list || [], 'indicatorId');
|
|
|
};
|
|
|
const dialogPageChange = (page = 1) => {
|
|
|
dialogData.page = page;
|