From 0425f0a90023e9a297520c30f7bbd24e8adc38f9 Mon Sep 17 00:00:00 2001
From: MrShi <1878285526@qq.com>
Date: 星期五, 28 十一月 2025 13:38:59 +0800
Subject: [PATCH] 改bug
---
admin/src/components/business/cabinetDetails.vue | 12 +++++++++++-
1 files changed, 11 insertions(+), 1 deletions(-)
diff --git a/admin/src/components/business/cabinetDetails.vue b/admin/src/components/business/cabinetDetails.vue
index f1bb5d4..bac93a7 100644
--- a/admin/src/components/business/cabinetDetails.vue
+++ b/admin/src/components/business/cabinetDetails.vue
@@ -55,6 +55,15 @@
</el-select>
</template>
</el-table-column>
+ <el-table-column label="褰撳墠鐘舵��" min-width="100px">
+ <template slot-scope="{row}">
+ <span v-if="row.keyStatus === 0">鏈粦瀹�</span>
+ <span v-if="row.keyStatus === 1">鍦ㄤ綅</span>
+ <span v-if="row.keyStatus === 2">鍊熷嚭</span>
+ <span v-if="row.keyStatus === 3">缁翠慨淇濆吇</span>
+ <span style="color: red;" v-if="row.keyStatus === 4">{{row.errInfo}}</span>
+ </template>
+ </el-table-column>
<el-table-column label="鏉垮彿" min-width="100px">
<template slot-scope="{row}">
<el-input v-model="row.boardCode" @blur="blurFunc($event, row, 2)" placeholder="璇疯緭鍏ユ澘鍙�"></el-input>
@@ -179,6 +188,7 @@
unBindKeys(this.ids)
.then(res => {
this.getList()
+ this.getKeysAll()
})
}).catch(() => {
@@ -207,7 +217,7 @@
page: 1,
model: {
cabinetId: this.id,
- keyId: this.searchForm.keyId,
+ keyCode: this.searchForm.keyCode,
status: this.searchForm.status,
bindStatus: this.searchForm.bindStatus,
workingStatus: this.searchForm.workingStatus
--
Gitblit v1.9.3