From bd3f4b0a9b9207b647de0f0d8c52600a2742fd56 Mon Sep 17 00:00:00 2001
From: yxh <172933527@qq.com>
Date: 星期四, 26 十一月 2026 09:34:58 +0800
Subject: [PATCH] 修改了框架,适用chrome85
---
src/views/ecg/devmanage/DevStatistic.vue | 14 ++++++++++----
1 files changed, 10 insertions(+), 4 deletions(-)
diff --git a/src/views/ecg/devmanage/DevStatistic.vue b/src/views/ecg/devmanage/DevStatistic.vue
index 72ba4e2..d8db732 100644
--- a/src/views/ecg/devmanage/DevStatistic.vue
+++ b/src/views/ecg/devmanage/DevStatistic.vue
@@ -8,10 +8,10 @@
:inline="true"
label-width="68px"
>
- <el-form-item label="鍒嗙被鍚�" prop="category">
+ <el-form-item label="璁惧鍚嶇О" prop="category">
<el-select
v-model="queryParams.category"
- placeholder="璇烽�夋嫨鍒嗙被鍚�"
+ placeholder="璇烽�夋嫨璁惧鍚嶇О"
clearable
class="!w-240px"
@change="categoryChanged"
@@ -68,7 +68,13 @@
<!-- <el-table-column label="id" align="center" prop="id" />-->
<el-table-column label="鍒嗙被鍚�" align="center" prop="category">
<template #default="scope">
- <dict-tag :type="DICT_TYPE.ECG_DEV_CATEGORY" :value="scope.row.category" />
+ <!-- 瀛楀吀鍛戒腑鏃舵樉绀烘爣绛撅紱鏈懡涓殑鍏滃簳鏄剧ず鍘熷鍚嶇О锛岄伩鍏嶆暣鏍肩┖鐧� -->
+ <dict-tag
+ v-if="getDictLabel(DICT_TYPE.ECG_DEV_CATEGORY, scope.row.category)"
+ :type="DICT_TYPE.ECG_DEV_CATEGORY"
+ :value="scope.row.category"
+ />
+ <span v-else>{{ scope.row.category }}</span>
</template>
</el-table-column>
<!--
@@ -91,7 +97,7 @@
</template>
<script setup lang="ts">
-import {getStrDictOptions, DICT_TYPE, DictDataType} from '@/utils/dict'
+import {getStrDictOptions, getDictLabel, DICT_TYPE, DictDataType} from '@/utils/dict'
import download from '@/utils/download'
import {DeviceApi, DeviceStatisticVO, DevModelApi, OptionsVO} from '@/api/ecg/devmanage'
--
Gitblit v1.9.3