From 22a9a5fe525fb893ecaa8d4a8bfb65169ce02fc4 Mon Sep 17 00:00:00 2001
From: eight <641137800@qq.com>
Date: 星期五, 11 四月 2025 14:52:27 +0800
Subject: [PATCH] update & refactor
---
src/views/ecg/callingscreen/roomscreen.vue | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/src/views/ecg/callingscreen/roomscreen.vue b/src/views/ecg/callingscreen/roomscreen.vue
index aa10eac..0a47d5c 100644
--- a/src/views/ecg/callingscreen/roomscreen.vue
+++ b/src/views/ecg/callingscreen/roomscreen.vue
@@ -6,6 +6,7 @@
import {CallApi, CallVO} from "@/api/ecg/call";
import {queueStatusConvert} from "../../../utils/statusFormatter";
import {useCheckTypeStore} from "@/store/modules/checkType";
+import {getCheckTypeSeqPrefix} from "../../../utils/checkTypeFormatter";
defineOptions({ name: 'roomscreen' })
let roomId = ref<number>(0)
@@ -123,7 +124,7 @@
label="棰勭害搴忓彿"
width="60px">
<template #default="scope">
- <span style="display:inline-block; width:60px;">{{checkTypeStore.getCheckTypeSeqPrefix(scope.row.bookCheckType)}}{{scope.row.bookSeqNum}} </span>
+ <span style="display:inline-block; width:60px;">{{getCheckTypeSeqPrefix(scope.row.bookCheckType)}}{{scope.row.bookSeqNum}} </span>
</template>
</el-table-column>
<el-table-column
@@ -139,7 +140,7 @@
label="妫�鏌ラ」鐩�"
width="80px">
<template #default="scope">
- <span style="display:inline-block; width:80px;">{{scope.row.bookCheckType && checkTypeStore.getCheckTypeName(scope.row.bookCheckType)}} </span>
+ <span style="display:inline-block; width:80px;">{{scope.row.bookCheckType && getCheckTypeName(scope.row.bookCheckType)}} </span>
</template>
</el-table-column>
<el-table-column label="鐘舵��" align="center" width="200px">
@@ -162,7 +163,7 @@
label="棰勭害搴忓彿"
width="60px">
<template #default="scope">
- <span style="display:inline-block; width:60px;">{{checkTypeStore.getCheckTypeSeqPrefix(scope.row.bookCheckType)}}{{scope.row.bookSeqNum}} </span>
+ <span style="display:inline-block; width:60px;">{{getCheckTypeSeqPrefix(scope.row.bookCheckType)}}{{scope.row.bookSeqNum}} </span>
</template>
</el-table-column>
<el-table-column
@@ -178,7 +179,7 @@
label="妫�鏌ラ」鐩�"
width="80px">
<template #default="scope">
- <span style="display:inline-block; width:80px;">{{scope.row.bookCheckType && checkTypeStore.getCheckTypeName(scope.row.bookCheckType)}} </span>
+ <span style="display:inline-block; width:80px;">{{scope.row.bookCheckType && getCheckTypeName(scope.row.bookCheckType)}} </span>
</template>
</el-table-column>
<el-table-column label="鐘舵��" align="center" width="200px">
--
Gitblit v1.9.3