From 03badc23e1793a3f94b24b5fcd8b66a612a78b3a Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Tue, 20 Jan 2026 15:58:37 +0800
Subject: [PATCH] feat:场景配置管理去除场景状态及其相关
---
applications/drone-command/src/views/areaManage/sceneConfig/index.vue | 22 +---------------------
1 files changed, 1 insertions(+), 21 deletions(-)
diff --git a/applications/drone-command/src/views/areaManage/sceneConfig/index.vue b/applications/drone-command/src/views/areaManage/sceneConfig/index.vue
index fc69f9f..e0b2919 100644
--- a/applications/drone-command/src/views/areaManage/sceneConfig/index.vue
+++ b/applications/drone-command/src/views/areaManage/sceneConfig/index.vue
@@ -29,24 +29,6 @@
</el-select>
</el-form-item>
- <el-form-item label="场景状态" prop="status">
- <el-select
- class="command-select"
- popper-class="command-select-popper"
- v-model="searchParams.status"
- placeholder="请选择"
- clearable
- @change="handleSearch"
- >
- <el-option
- v-for="item in dictObj.sceneStatus"
- :key="item.dictKey"
- :label="item.dictValue"
- :value="item.dictKey"
- />
- </el-select>
- </el-form-item>
-
<el-form-item class="history-search-actions">
<el-button :icon="RefreshRight" @click="resetForm"></el-button>
<el-button class="search-btn" :icon="Search" @click="handleSearch"></el-button>
@@ -118,7 +100,6 @@
const initSearchParams = () => ({
sceneName: '', // 场景名称
sceneType: '', // 场景类型
- status: '', // 场景状态
current: 1, // 当前页
size: 10, // 每页大小
})
@@ -187,13 +168,12 @@
sceneType: [], // 场景类型
deviceMode: [], // 设备模式
areaType: [], // 区域类型
- sceneStatus: [], // 场景状态
})
provide('dictObj', dictObj)
// 获取字典
function getDictList() {
- getDictionaryByCode('CommandSceneType,deviceMode,areaType,sceneStatus').then(res => {
+ getDictionaryByCode('CommandSceneType,deviceMode,areaType').then(res => {
dictObj.value = res.data.data
})
}
--
Gitblit v1.9.3