From 7b8789643b13dba1f2190f3bde92a7e4fa8eaafc Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Tue, 20 Jan 2026 15:24:59 +0800
Subject: [PATCH] feat:场景类型字典值显示调整
---
applications/drone-command/src/views/areaManage/sceneConfig/index.vue | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/applications/drone-command/src/views/areaManage/sceneConfig/index.vue b/applications/drone-command/src/views/areaManage/sceneConfig/index.vue
index 61f0e21..fc69f9f 100644
--- a/applications/drone-command/src/views/areaManage/sceneConfig/index.vue
+++ b/applications/drone-command/src/views/areaManage/sceneConfig/index.vue
@@ -21,7 +21,7 @@
@change="handleSearch"
>
<el-option
- v-for="item in dictObj.sceneType"
+ v-for="item in dictObj.CommandSceneType"
:key="item.dictKey"
:label="item.dictValue"
:value="item.dictKey"
@@ -67,7 +67,7 @@
<el-table-column prop="sceneName" show-overflow-tooltip label="场景名称" />
<el-table-column prop="sceneType" show-overflow-tooltip label="场景类型">
<template v-slot="{ row }">
- {{ getDictLabel(row.sceneType, dictObj.sceneType) }}
+ {{ getDictLabel(row.sceneType, dictObj.CommandSceneType) }}
</template>
</el-table-column>
<el-table-column show-overflow-tooltip label="指挥点位置">
@@ -193,7 +193,7 @@
// 获取字典
function getDictList() {
- getDictionaryByCode('sceneType,deviceMode,areaType,sceneStatus').then(res => {
+ getDictionaryByCode('CommandSceneType,deviceMode,areaType,sceneStatus').then(res => {
dictObj.value = res.data.data
})
}
--
Gitblit v1.9.3